Daily bump.
[official-gcc.git] / Makefile.in
blob36e369df6e7e2fb01e3e2adcf863faa08cc15ce4
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
157 GOC="$(GOC_FOR_BUILD)"; export GOC; \
158 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
159 GDC="$(GDC_FOR_BUILD)"; export GDC; \
160 GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
161 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
162 LD="$(LD_FOR_BUILD)"; export LD; \
163 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
164 NM="$(NM_FOR_BUILD)"; export NM; \
165 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
166 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
167 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
169 # These variables must be set on the make command line for directories
170 # built for the build system to override those in BASE_FLAGS_TO_PASS.
171 EXTRA_BUILD_FLAGS = \
172 CFLAGS="$(CFLAGS_FOR_BUILD)" \
173 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
175 # This is the list of directories to built for the host system.
176 SUBDIRS = @configdirs@
177 TARGET_CONFIGDIRS = @target_configdirs@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the host system.
180 HOST_CONFIGARGS = @host_configargs@
181 # Host programs are put under this directory, which is . except if building
182 # with srcdir=..
183 HOST_SUBDIR = @host_subdir@
184 # This is the list of variables to export in the environment when
185 # configuring subdirectories for the host system. We need to pass
186 # some to the GCC configure because of its hybrid host/target nature.
187 HOST_EXPORTS = \
188 $(BASE_EXPORTS) \
189 CC="$(CC)"; export CC; \
190 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
191 CFLAGS="$(CFLAGS)"; export CFLAGS; \
192 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
193 CXX="$(CXX)"; export CXX; \
194 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 GDC="$(GDC)"; export GDC; \
198 AR="$(AR)"; export AR; \
199 AS="$(AS)"; export AS; \
200 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
201 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
202 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
203 LD="$(LD)"; export LD; \
204 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
205 NM="$(NM)"; export NM; \
206 RANLIB="$(RANLIB)"; export RANLIB; \
207 WINDRES="$(WINDRES)"; export WINDRES; \
208 WINDMC="$(WINDMC)"; export WINDMC; \
209 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
210 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
211 OTOOL="$(OTOOL)"; export OTOOL; \
212 READELF="$(READELF)"; export READELF; \
213 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
214 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
215 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
216 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
217 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
218 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
219 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
220 OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_FOR_TARGET; \
221 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
222 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
223 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
224 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
225 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
226 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
227 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
228 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
229 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
230 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
231 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
232 @if gcc-bootstrap
233 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
234 @endif gcc-bootstrap
235 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX='$(CXX)'; export CXX; \
239 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
240 @if target-libstdc++-v3-bootstrap
241 # Override the above if we're bootstrapping C++.
242 POSTSTAGE1_CXX_EXPORT = \
243 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
244 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
245 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
246 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
247 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
248 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
249 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
250 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
251 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
252 export CXX; \
253 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
254 @endif target-libstdc++-v3-bootstrap
256 # Similar, for later GCC stages.
257 POSTSTAGE1_HOST_EXPORTS = \
258 $(HOST_EXPORTS) \
259 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
260 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
261 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
262 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
263 $(POSTSTAGE1_CXX_EXPORT) \
264 $(LTO_EXPORTS) \
265 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
266 -B$(build_tooldir)/bin/ $(GDC_FLAGS_FOR_TARGET) \
267 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
268 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
269 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
270 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/.libs"; \
271 export GDC; \
272 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
273 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
274 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
275 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
277 # Target libraries are put under this directory:
278 TARGET_SUBDIR = @target_subdir@
279 # This is set by the configure script to the arguments to use when configuring
280 # directories built for the target.
281 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
282 # This is the list of variables to export in the environment when
283 # configuring subdirectories for the target system.
284 BASE_TARGET_EXPORTS = \
285 $(BASE_EXPORTS) \
286 AR="$(AR_FOR_TARGET)"; export AR; \
287 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
288 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
289 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
290 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
291 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
292 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
293 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
294 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
295 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
296 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
297 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
298 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
299 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
300 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
301 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
302 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
303 OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
304 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
305 READELF="$(READELF_FOR_TARGET)"; export READELF; \
306 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
307 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
308 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
309 @if gcc-bootstrap
310 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
311 @endif gcc-bootstrap
312 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
313 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
315 RAW_CXX_TARGET_EXPORTS = \
316 $(BASE_TARGET_EXPORTS) \
317 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
318 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
320 NORMAL_TARGET_EXPORTS = \
321 $(BASE_TARGET_EXPORTS) \
322 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
324 # Where to find GMP
325 HOST_GMPLIBS = @gmplibs@
326 HOST_GMPINC = @gmpinc@
328 # Where to find isl
329 HOST_ISLLIBS = @isllibs@
330 HOST_ISLINC = @islinc@
332 # Where to find libelf
333 HOST_LIBELFLIBS = @libelflibs@
334 HOST_LIBELFINC = @libelfinc@
336 # ----------------------------------------------
337 # Programs producing files for the BUILD machine
338 # ----------------------------------------------
340 SHELL = @SHELL@
342 # pwd command to use. Allow user to override default by setting PWDCMD in
343 # the environment to account for automounters. The make variable must not
344 # be called PWDCMD, otherwise the value set here is passed to make
345 # subprocesses and overrides the setting from the user's environment.
346 # Don't use PWD since it is a common shell environment variable and we
347 # don't want to corrupt it.
348 PWD_COMMAND = $${PWDCMD-pwd}
350 # compilers to use to create programs which must be run in the build
351 # environment.
352 AR_FOR_BUILD = @AR_FOR_BUILD@
353 AS_FOR_BUILD = @AS_FOR_BUILD@
354 CC_FOR_BUILD = @CC_FOR_BUILD@
355 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
356 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
357 CXX_FOR_BUILD = @CXX_FOR_BUILD@
358 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
359 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
360 GOC_FOR_BUILD = @GOC_FOR_BUILD@
361 GDC_FOR_BUILD = @GDC_FOR_BUILD@
362 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
363 LD_FOR_BUILD = @LD_FOR_BUILD@
364 NM_FOR_BUILD = @NM_FOR_BUILD@
365 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
366 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
367 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
369 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
370 # here so that they can be overridden by Makefile fragments.
371 BUILD_PREFIX = @BUILD_PREFIX@
372 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
374 # Flags to pass to stage2 and later makes. They are defined
375 # here so that they can be overridden by Makefile fragments.
376 BOOT_CFLAGS= -g -O2
377 BOOT_LDFLAGS=
378 BOOT_ADAFLAGS= -gnatpg
380 AWK = @AWK@
381 SED = @SED@
382 BISON = @BISON@
383 YACC = @YACC@
384 FLEX = @FLEX@
385 LEX = @LEX@
386 M4 = @M4@
387 MAKEINFO = @MAKEINFO@
388 EXPECT = @EXPECT@
389 RUNTEST = @RUNTEST@
391 AUTO_PROFILE = gcc-auto-profile -c 10000000
393 # This just becomes part of the MAKEINFO definition passed down to
394 # sub-makes. It lets flags be given on the command line while still
395 # using the makeinfo from the object tree.
396 # (Default to avoid splitting info files by setting the threshold high.)
397 MAKEINFOFLAGS = --split-size=5000000
399 # ---------------------------------------------
400 # Programs producing files for the HOST machine
401 # ---------------------------------------------
403 AS = @AS@
404 AR = @AR@
405 AR_FLAGS = rc
406 CC = @CC@
407 CXX = @CXX@
408 DLLTOOL = @DLLTOOL@
409 LD = @LD@
410 LIPO = @LIPO@
411 NM = @NM@
412 OBJDUMP = @OBJDUMP@
413 OTOOL = @OTOOL@
414 RANLIB = @RANLIB@
415 READELF = @READELF@
416 STRIP = @STRIP@
417 WINDRES = @WINDRES@
418 WINDMC = @WINDMC@
420 GDC = @GDC@
421 GNATBIND = @GNATBIND@
422 GNATMAKE = @GNATMAKE@
424 CFLAGS = @CFLAGS@
425 LDFLAGS = @LDFLAGS@
426 LIBCFLAGS = $(CFLAGS)
427 CXXFLAGS = @CXXFLAGS@
428 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
429 GOCFLAGS = $(CFLAGS)
430 GDCFLAGS = $(CFLAGS)
432 CREATE_GCOV = create_gcov
434 TFLAGS =
436 # Defaults for all stages; some are overridden below.
438 STAGE_CFLAGS = $(BOOT_CFLAGS)
439 STAGE_TFLAGS = $(TFLAGS)
440 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
443 # Defaults for stage 1; some are overridden below.
444 STAGE1_CFLAGS = $(STAGE_CFLAGS)
445 STAGE1_CXXFLAGS = $(CXXFLAGS)
446 @if target-libstdc++-v3-bootstrap
447 # Override the above if we're bootstrapping C++.
448 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
449 @endif target-libstdc++-v3-bootstrap
450 STAGE1_TFLAGS = $(STAGE_TFLAGS)
451 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
453 # Defaults for stage 2; some are overridden below.
454 STAGE2_CFLAGS = $(STAGE_CFLAGS)
455 STAGE2_CXXFLAGS = $(CXXFLAGS)
456 @if target-libstdc++-v3-bootstrap
457 # Override the above if we're bootstrapping C++.
458 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
459 @endif target-libstdc++-v3-bootstrap
460 STAGE2_TFLAGS = $(STAGE_TFLAGS)
461 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
463 # Defaults for stage 3; some are overridden below.
464 STAGE3_CFLAGS = $(STAGE_CFLAGS)
465 STAGE3_CXXFLAGS = $(CXXFLAGS)
466 @if target-libstdc++-v3-bootstrap
467 # Override the above if we're bootstrapping C++.
468 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
469 @endif target-libstdc++-v3-bootstrap
470 STAGE3_TFLAGS = $(STAGE_TFLAGS)
471 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
473 # Defaults for stage 4; some are overridden below.
474 STAGE4_CFLAGS = $(STAGE_CFLAGS)
475 STAGE4_CXXFLAGS = $(CXXFLAGS)
476 @if target-libstdc++-v3-bootstrap
477 # Override the above if we're bootstrapping C++.
478 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
479 @endif target-libstdc++-v3-bootstrap
480 STAGE4_TFLAGS = $(STAGE_TFLAGS)
481 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
483 # Defaults for stage profile; some are overridden below.
484 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
485 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
486 @if target-libstdc++-v3-bootstrap
487 # Override the above if we're bootstrapping C++.
488 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
489 @endif target-libstdc++-v3-bootstrap
490 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
491 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
493 # Defaults for stage train; some are overridden below.
494 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
495 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
496 @if target-libstdc++-v3-bootstrap
497 # Override the above if we're bootstrapping C++.
498 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
499 @endif target-libstdc++-v3-bootstrap
500 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
501 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
503 # Defaults for stage feedback; some are overridden below.
504 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
505 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
506 @if target-libstdc++-v3-bootstrap
507 # Override the above if we're bootstrapping C++.
508 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
509 @endif target-libstdc++-v3-bootstrap
510 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
511 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
513 # Defaults for stage autoprofile; some are overridden below.
514 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
515 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
516 @if target-libstdc++-v3-bootstrap
517 # Override the above if we're bootstrapping C++.
518 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
519 @endif target-libstdc++-v3-bootstrap
520 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
521 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
523 # Defaults for stage autofeedback; some are overridden below.
524 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
525 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
526 @if target-libstdc++-v3-bootstrap
527 # Override the above if we're bootstrapping C++.
528 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
529 @endif target-libstdc++-v3-bootstrap
530 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
531 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
534 # By default, C and C++ are the only stage1 languages, because they are the
535 # only ones we require to build with the bootstrap compiler, and also the
536 # only ones useful for building stage2.
538 STAGE1_CFLAGS = @stage1_cflags@
539 STAGE1_CHECKING = @stage1_checking@
540 STAGE1_LANGUAGES = @stage1_languages@
541 # * We force-disable intermodule optimizations, even if
542 # --enable-intermodule was passed, since the installed compiler
543 # probably can't handle them. Luckily, autoconf always respects
544 # the last argument when conflicting --enable arguments are passed.
545 # * Likewise, we force-disable coverage flags, since the installed
546 # compiler probably has never heard of them.
547 # * We also disable -Wformat, since older GCCs don't understand newer %s.
548 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
549 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
550 --disable-build-format-warnings
552 # When using the slow stage1 compiler disable IL verification and forcefully
553 # enable it when using the stage2 compiler instead. As we later compare
554 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
555 # checking when building all target libraries for release builds.
556 STAGE1_TFLAGS += -fno-checking
557 STAGE2_CFLAGS += -fno-checking
558 STAGE2_TFLAGS += -fno-checking
559 STAGE3_CFLAGS += -fchecking=1
560 STAGE3_TFLAGS += -fchecking=1
562 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
563 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
565 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
566 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
568 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
569 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
571 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
572 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
574 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
575 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
577 do-compare = @do_compare@
578 do-compare3 = $(do-compare)
580 # -----------------------------------------------
581 # Programs producing files for the TARGET machine
582 # -----------------------------------------------
584 AR_FOR_TARGET=@AR_FOR_TARGET@
585 AS_FOR_TARGET=@AS_FOR_TARGET@
586 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
588 # If GCC_FOR_TARGET is not overriden on the command line, then this
589 # variable is passed down to the gcc Makefile, where it is used to
590 # build libgcc2.a. We define it here so that it can itself be
591 # overridden on the command line.
592 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
593 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
594 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
595 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
596 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
597 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
598 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
599 LD_FOR_TARGET=@LD_FOR_TARGET@
601 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
602 NM_FOR_TARGET=@NM_FOR_TARGET@
603 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
604 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
605 OTOOL_FOR_TARGET=@OTOOL_FOR_TARGET@
606 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
607 READELF_FOR_TARGET=@READELF_FOR_TARGET@
608 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
609 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
610 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
612 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
613 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
614 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
616 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
617 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
619 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
620 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
621 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
622 GOCFLAGS_FOR_TARGET = -O2 -g
623 GDCFLAGS_FOR_TARGET = -O2 -g
625 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
626 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
627 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
629 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
631 # ------------------------------------
632 # Miscellaneous targets and flag lists
633 # ------------------------------------
635 # The first rule in the file had better be this one. Don't put any above it.
636 # This lives here to allow makefile fragments to contain dependencies.
637 all:
639 #### host and target specific makefile fragments come in here.
640 @target_makefile_frag@
641 @alphaieee_frag@
642 @ospace_frag@
643 @host_makefile_frag@
646 # This is the list of directories that may be needed in RPATH_ENVVAR
647 # so that programs built for the target machine work.
648 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)
650 @if target-libstdc++-v3
651 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
652 @endif target-libstdc++-v3
654 @if target-libsanitizer
655 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
656 @endif target-libsanitizer
658 @if target-libvtv
659 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
660 @endif target-libvtv
662 @if target-liboffloadmic
663 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
664 @endif target-liboffloadmic
666 @if target-libssp
667 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
668 @endif target-libssp
670 @if target-libphobos
671 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
672 @endif target-libphobos
674 @if target-libgomp
675 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
676 @endif target-libgomp
678 @if target-libitm
679 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
680 @endif target-libitm
682 @if target-libatomic
683 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
684 @endif target-libatomic
688 # This is the list of directories that may be needed in RPATH_ENVVAR
689 # so that programs built for the host machine work.
690 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
692 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
693 @if gcc
694 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
695 @endif gcc
698 @if gmp
699 HOST_LIB_PATH_gmp = \
700 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
701 @endif gmp
703 @if mpfr
704 HOST_LIB_PATH_mpfr = \
705 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
706 @endif mpfr
708 @if mpc
709 HOST_LIB_PATH_mpc = \
710 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
711 @endif mpc
713 @if isl
714 HOST_LIB_PATH_isl = \
715 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
716 @endif isl
718 @if libelf
719 HOST_LIB_PATH_libelf = \
720 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
721 @endif libelf
724 CXX_FOR_TARGET_FLAG_TO_PASS = \
725 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
726 @if target-libstdc++-v3
727 # CXX_FOR_TARGET is tricky to get right for target libs that require a
728 # functional C++ compiler. When we recurse, if we expand
729 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
730 # libstdc++ include flags from the script. Instead, we get an
731 # -funconfigured-* word, so that we'll get errors if this invalid C++
732 # command line is used for anything, but also so that we can use the
733 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
734 # don't pass it on, sub-make will use the default definition, that
735 # re-expands it at the time of use, so we'll get it right when we need
736 # it. One potential exception is the expansion of CXX_FOR_TARGET
737 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
738 # really work, for C++ host programs can't depend on the current-stage
739 # C++ target library.
740 CXX_FOR_TARGET_FLAG_TO_PASS = \
741 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
742 @endif target-libstdc++-v3
744 # Flags to pass down to all sub-makes. STAGE*FLAGS,
745 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
746 # overrideable (for a bootstrap build stage1 also builds gcc.info).
747 BASE_FLAGS_TO_PASS = \
748 "DESTDIR=$(DESTDIR)" \
749 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
750 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
751 "bindir=$(bindir)" \
752 "datadir=$(datadir)" \
753 "exec_prefix=$(exec_prefix)" \
754 "includedir=$(includedir)" \
755 "datarootdir=$(datarootdir)" \
756 "docdir=$(docdir)" \
757 "infodir=$(infodir)" \
758 "pdfdir=$(pdfdir)" \
759 "htmldir=$(htmldir)" \
760 "libdir=$(libdir)" \
761 "libexecdir=$(libexecdir)" \
762 "lispdir=$(lispdir)" \
763 "localstatedir=$(localstatedir)" \
764 "mandir=$(mandir)" \
765 "oldincludedir=$(oldincludedir)" \
766 "prefix=$(prefix)" \
767 "sbindir=$(sbindir)" \
768 "sharedstatedir=$(sharedstatedir)" \
769 "sysconfdir=$(sysconfdir)" \
770 "tooldir=$(tooldir)" \
771 "build_tooldir=$(build_tooldir)" \
772 "target_alias=$(target_alias)" \
773 "AWK=$(AWK)" \
774 "BISON=$(BISON)" \
775 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
776 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
777 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
778 "EXPECT=$(EXPECT)" \
779 "FLEX=$(FLEX)" \
780 "INSTALL=$(INSTALL)" \
781 "INSTALL_DATA=$(INSTALL_DATA)" \
782 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
783 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
784 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
785 "LEX=$(LEX)" \
786 "M4=$(M4)" \
787 "MAKE=$(MAKE)" \
788 "RUNTEST=$(RUNTEST)" \
789 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
790 "SED=$(SED)" \
791 "SHELL=$(SHELL)" \
792 "YACC=$(YACC)" \
793 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
794 "ADA_CFLAGS=$(ADA_CFLAGS)" \
795 "AR_FLAGS=$(AR_FLAGS)" \
796 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
797 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
798 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
799 "CFLAGS=$(CFLAGS)" \
800 "CXXFLAGS=$(CXXFLAGS)" \
801 "LDFLAGS=$(LDFLAGS)" \
802 "LIBCFLAGS=$(LIBCFLAGS)" \
803 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
804 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
805 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
806 "GNATBIND=$(GNATBIND)" \
807 "GNATMAKE=$(GNATMAKE)" \
808 "GDC=$(GDC)" \
809 "GDCFLAGS=$(GDCFLAGS)" \
810 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
811 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
812 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
813 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
814 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
815 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
816 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
817 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
818 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
819 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
820 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
821 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
822 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
823 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
824 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
825 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
826 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
827 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
828 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
829 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
830 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
831 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
832 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
833 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
834 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
835 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
836 "BUILD_CONFIG=$(BUILD_CONFIG)" \
837 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
838 "LEAN=$(LEAN)" \
839 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
840 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
841 "STAGE1_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
842 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
843 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
844 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
845 "STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
846 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
847 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
848 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
849 "STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
850 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
851 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
852 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
853 "STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
854 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
855 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
856 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
857 "STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
858 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
859 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
860 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
861 "STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
862 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
863 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
864 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
865 "STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
866 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
867 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
868 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
869 "STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
870 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
871 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
872 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
873 "STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
874 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
875 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
876 "TFLAGS=$(TFLAGS)" \
877 "CONFIG_SHELL=$(SHELL)" \
878 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
879 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
881 # We leave this in just in case, but it is not needed anymore.
882 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
884 # Flags to pass down to most sub-makes, in which we're building with
885 # the host environment.
886 EXTRA_HOST_FLAGS = \
887 'AR=$(AR)' \
888 'AS=$(AS)' \
889 'CC=$(CC)' \
890 'CXX=$(CXX)' \
891 'DLLTOOL=$(DLLTOOL)' \
892 'GFORTRAN=$(GFORTRAN)' \
893 'GOC=$(GOC)' \
894 'GDC=$(GDC)' \
895 'LD=$(LD)' \
896 'LIPO=$(LIPO)' \
897 'NM=$(NM)' \
898 'OBJDUMP=$(OBJDUMP)' \
899 'OTOOL=$(OTOOL)' \
900 'RANLIB=$(RANLIB)' \
901 'READELF=$(READELF)' \
902 'STRIP=$(STRIP)' \
903 'WINDRES=$(WINDRES)' \
904 'WINDMC=$(WINDMC)' \
905 'CREATE_GCOV=$(CREATE_GCOV)'
907 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
909 # Flags to pass to stage1 or when not bootstrapping.
911 STAGE1_FLAGS_TO_PASS = \
912 LDFLAGS="$${LDFLAGS}" \
913 HOST_LIBS="$${HOST_LIBS}"
915 # Flags to pass to stage2 and later makes.
917 POSTSTAGE1_FLAGS_TO_PASS = \
918 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
919 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
920 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
921 GNATBIND="$${GNATBIND}" \
922 LDFLAGS="$${LDFLAGS}" \
923 HOST_LIBS="$${HOST_LIBS}" \
924 $(LTO_FLAGS_TO_PASS) \
925 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
927 @if gcc-bootstrap
928 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
929 $(POSTSTAGE1_HOST_EXPORTS) \
932 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
933 @endif gcc-bootstrap
935 # Flags to pass down to makes which are built with the target environment.
936 # The double $ decreases the length of the command line; those variables
937 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
938 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
939 # so we expand them here.
940 EXTRA_TARGET_FLAGS = \
941 'AR=$$(AR_FOR_TARGET)' \
942 'AS=$(COMPILER_AS_FOR_TARGET)' \
943 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
944 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
945 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
946 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
947 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
948 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
949 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
950 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
951 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
952 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
953 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
954 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
955 'LD=$(COMPILER_LD_FOR_TARGET)' \
956 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
957 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
958 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
959 'NM=$(COMPILER_NM_FOR_TARGET)' \
960 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
961 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
962 'RANLIB=$$(RANLIB_FOR_TARGET)' \
963 'READELF=$$(READELF_FOR_TARGET)' \
964 'WINDRES=$$(WINDRES_FOR_TARGET)' \
965 'WINDMC=$$(WINDMC_FOR_TARGET)' \
966 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
967 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
968 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
969 "TFLAGS=$$TFLAGS"
971 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
973 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
974 # unfortunately needs the native compiler and the target ar and
975 # ranlib.
976 # If any variables are added here, they must be added to do-*, below.
977 # The BUILD_* variables are a special case, which are used for the gcc
978 # cross-building scheme.
979 EXTRA_GCC_FLAGS = \
980 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
981 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
982 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
984 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
986 @if gcc
987 BUILD_CONFIG = @BUILD_CONFIG@
988 ifneq ($(BUILD_CONFIG),)
989 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
990 endif
991 @endif gcc
993 .PHONY: configure-host
994 configure-host: \
995 maybe-configure-bfd \
996 maybe-configure-opcodes \
997 maybe-configure-binutils \
998 maybe-configure-bison \
999 maybe-configure-cgen \
1000 maybe-configure-dejagnu \
1001 maybe-configure-etc \
1002 maybe-configure-fastjar \
1003 maybe-configure-fixincludes \
1004 maybe-configure-flex \
1005 maybe-configure-gas \
1006 maybe-configure-gcc \
1007 maybe-configure-gmp \
1008 maybe-configure-mpfr \
1009 maybe-configure-mpc \
1010 maybe-configure-isl \
1011 maybe-configure-libelf \
1012 maybe-configure-gold \
1013 maybe-configure-gprof \
1014 maybe-configure-intl \
1015 maybe-configure-tcl \
1016 maybe-configure-itcl \
1017 maybe-configure-ld \
1018 maybe-configure-libbacktrace \
1019 maybe-configure-libcpp \
1020 maybe-configure-libdecnumber \
1021 maybe-configure-libgui \
1022 maybe-configure-libiberty \
1023 maybe-configure-libiberty-linker-plugin \
1024 maybe-configure-libiconv \
1025 maybe-configure-m4 \
1026 maybe-configure-readline \
1027 maybe-configure-sid \
1028 maybe-configure-sim \
1029 maybe-configure-texinfo \
1030 maybe-configure-zlib \
1031 maybe-configure-gnulib \
1032 maybe-configure-gdbsupport \
1033 maybe-configure-gdbserver \
1034 maybe-configure-gdb \
1035 maybe-configure-expect \
1036 maybe-configure-guile \
1037 maybe-configure-tk \
1038 maybe-configure-libtermcap \
1039 maybe-configure-utils \
1040 maybe-configure-gnattools \
1041 maybe-configure-lto-plugin \
1042 maybe-configure-libcc1 \
1043 maybe-configure-gotools \
1044 maybe-configure-libctf
1045 .PHONY: configure-target
1046 configure-target: \
1047 maybe-configure-target-libstdc++-v3 \
1048 maybe-configure-target-libsanitizer \
1049 maybe-configure-target-libvtv \
1050 maybe-configure-target-liboffloadmic \
1051 maybe-configure-target-libssp \
1052 maybe-configure-target-newlib \
1053 maybe-configure-target-libgcc \
1054 maybe-configure-target-libbacktrace \
1055 maybe-configure-target-libquadmath \
1056 maybe-configure-target-libgfortran \
1057 maybe-configure-target-libobjc \
1058 maybe-configure-target-libgo \
1059 maybe-configure-target-libhsail-rt \
1060 maybe-configure-target-libphobos \
1061 maybe-configure-target-libtermcap \
1062 maybe-configure-target-winsup \
1063 maybe-configure-target-libgloss \
1064 maybe-configure-target-libffi \
1065 maybe-configure-target-zlib \
1066 maybe-configure-target-rda \
1067 maybe-configure-target-libada \
1068 maybe-configure-target-libgomp \
1069 maybe-configure-target-libitm \
1070 maybe-configure-target-libatomic
1072 # The target built for a native non-bootstrap build.
1073 .PHONY: all
1074 all:
1075 @if gcc-bootstrap
1076 [ -f stage_final ] || echo stage3 > stage_final
1077 @r=`${PWD_COMMAND}`; export r; \
1078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1079 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1080 @endif gcc-bootstrap
1081 @: $(MAKE); $(unstage)
1082 @r=`${PWD_COMMAND}`; export r; \
1083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1084 @if gcc-bootstrap
1085 if [ -f stage_last ]; then \
1086 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1087 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1088 else \
1089 @endif gcc-bootstrap
1090 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1091 @if gcc-bootstrap
1093 fi \
1094 @endif gcc-bootstrap
1095 && :
1097 .PHONY: all-build
1099 all-build: maybe-all-build-libiberty
1100 all-build: maybe-all-build-bison
1101 all-build: maybe-all-build-flex
1102 all-build: maybe-all-build-m4
1103 all-build: maybe-all-build-texinfo
1104 all-build: maybe-all-build-fixincludes
1105 all-build: maybe-all-build-libcpp
1107 .PHONY: all-host
1109 @if bfd-no-bootstrap
1110 all-host: maybe-all-bfd
1111 @endif bfd-no-bootstrap
1112 @if opcodes-no-bootstrap
1113 all-host: maybe-all-opcodes
1114 @endif opcodes-no-bootstrap
1115 @if binutils-no-bootstrap
1116 all-host: maybe-all-binutils
1117 @endif binutils-no-bootstrap
1118 all-host: maybe-all-bison
1119 all-host: maybe-all-cgen
1120 all-host: maybe-all-dejagnu
1121 all-host: maybe-all-etc
1122 all-host: maybe-all-fastjar
1123 @if fixincludes-no-bootstrap
1124 all-host: maybe-all-fixincludes
1125 @endif fixincludes-no-bootstrap
1126 all-host: maybe-all-flex
1127 @if gas-no-bootstrap
1128 all-host: maybe-all-gas
1129 @endif gas-no-bootstrap
1130 @if gcc-no-bootstrap
1131 all-host: maybe-all-gcc
1132 @endif gcc-no-bootstrap
1133 @if gmp-no-bootstrap
1134 all-host: maybe-all-gmp
1135 @endif gmp-no-bootstrap
1136 @if mpfr-no-bootstrap
1137 all-host: maybe-all-mpfr
1138 @endif mpfr-no-bootstrap
1139 @if mpc-no-bootstrap
1140 all-host: maybe-all-mpc
1141 @endif mpc-no-bootstrap
1142 @if isl-no-bootstrap
1143 all-host: maybe-all-isl
1144 @endif isl-no-bootstrap
1145 @if libelf-no-bootstrap
1146 all-host: maybe-all-libelf
1147 @endif libelf-no-bootstrap
1148 @if gold-no-bootstrap
1149 all-host: maybe-all-gold
1150 @endif gold-no-bootstrap
1151 all-host: maybe-all-gprof
1152 @if intl-no-bootstrap
1153 all-host: maybe-all-intl
1154 @endif intl-no-bootstrap
1155 all-host: maybe-all-tcl
1156 all-host: maybe-all-itcl
1157 @if ld-no-bootstrap
1158 all-host: maybe-all-ld
1159 @endif ld-no-bootstrap
1160 @if libbacktrace-no-bootstrap
1161 all-host: maybe-all-libbacktrace
1162 @endif libbacktrace-no-bootstrap
1163 @if libcpp-no-bootstrap
1164 all-host: maybe-all-libcpp
1165 @endif libcpp-no-bootstrap
1166 @if libdecnumber-no-bootstrap
1167 all-host: maybe-all-libdecnumber
1168 @endif libdecnumber-no-bootstrap
1169 all-host: maybe-all-libgui
1170 @if libiberty-no-bootstrap
1171 all-host: maybe-all-libiberty
1172 @endif libiberty-no-bootstrap
1173 @if libiberty-linker-plugin-no-bootstrap
1174 all-host: maybe-all-libiberty-linker-plugin
1175 @endif libiberty-linker-plugin-no-bootstrap
1176 @if libiconv-no-bootstrap
1177 all-host: maybe-all-libiconv
1178 @endif libiconv-no-bootstrap
1179 all-host: maybe-all-m4
1180 all-host: maybe-all-readline
1181 all-host: maybe-all-sid
1182 all-host: maybe-all-sim
1183 all-host: maybe-all-texinfo
1184 @if zlib-no-bootstrap
1185 all-host: maybe-all-zlib
1186 @endif zlib-no-bootstrap
1187 all-host: maybe-all-gnulib
1188 all-host: maybe-all-gdbsupport
1189 all-host: maybe-all-gdbserver
1190 all-host: maybe-all-gdb
1191 all-host: maybe-all-expect
1192 all-host: maybe-all-guile
1193 all-host: maybe-all-tk
1194 all-host: maybe-all-libtermcap
1195 all-host: maybe-all-utils
1196 all-host: maybe-all-gnattools
1197 @if lto-plugin-no-bootstrap
1198 all-host: maybe-all-lto-plugin
1199 @endif lto-plugin-no-bootstrap
1200 all-host: maybe-all-libcc1
1201 all-host: maybe-all-gotools
1202 @if libctf-no-bootstrap
1203 all-host: maybe-all-libctf
1204 @endif libctf-no-bootstrap
1206 .PHONY: all-target
1208 @if target-libstdc++-v3-no-bootstrap
1209 all-target: maybe-all-target-libstdc++-v3
1210 @endif target-libstdc++-v3-no-bootstrap
1211 @if target-libsanitizer-no-bootstrap
1212 all-target: maybe-all-target-libsanitizer
1213 @endif target-libsanitizer-no-bootstrap
1214 @if target-libvtv-no-bootstrap
1215 all-target: maybe-all-target-libvtv
1216 @endif target-libvtv-no-bootstrap
1217 all-target: maybe-all-target-liboffloadmic
1218 all-target: maybe-all-target-libssp
1219 all-target: maybe-all-target-newlib
1220 @if target-libgcc-no-bootstrap
1221 all-target: maybe-all-target-libgcc
1222 @endif target-libgcc-no-bootstrap
1223 all-target: maybe-all-target-libbacktrace
1224 all-target: maybe-all-target-libquadmath
1225 all-target: maybe-all-target-libgfortran
1226 all-target: maybe-all-target-libobjc
1227 all-target: maybe-all-target-libgo
1228 all-target: maybe-all-target-libhsail-rt
1229 all-target: maybe-all-target-libphobos
1230 all-target: maybe-all-target-libtermcap
1231 all-target: maybe-all-target-winsup
1232 all-target: maybe-all-target-libgloss
1233 all-target: maybe-all-target-libffi
1234 all-target: maybe-all-target-zlib
1235 all-target: maybe-all-target-rda
1236 all-target: maybe-all-target-libada
1237 @if target-libgomp-no-bootstrap
1238 all-target: maybe-all-target-libgomp
1239 @endif target-libgomp-no-bootstrap
1240 all-target: maybe-all-target-libitm
1241 all-target: maybe-all-target-libatomic
1243 # Do a target for all the subdirectories. A ``make do-X'' will do a
1244 # ``make X'' in all subdirectories (because, in general, there is a
1245 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1246 # but it may do additional work as well).
1248 .PHONY: do-info
1249 do-info:
1250 @: $(MAKE); $(unstage)
1251 @r=`${PWD_COMMAND}`; export r; \
1252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1253 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1254 info-target
1257 .PHONY: info-host
1259 info-host: maybe-info-bfd
1260 info-host: maybe-info-opcodes
1261 info-host: maybe-info-binutils
1262 info-host: maybe-info-bison
1263 info-host: maybe-info-cgen
1264 info-host: maybe-info-dejagnu
1265 info-host: maybe-info-etc
1266 info-host: maybe-info-fastjar
1267 info-host: maybe-info-fixincludes
1268 info-host: maybe-info-flex
1269 info-host: maybe-info-gas
1270 info-host: maybe-info-gcc
1271 info-host: maybe-info-gmp
1272 info-host: maybe-info-mpfr
1273 info-host: maybe-info-mpc
1274 info-host: maybe-info-isl
1275 info-host: maybe-info-libelf
1276 info-host: maybe-info-gold
1277 info-host: maybe-info-gprof
1278 info-host: maybe-info-intl
1279 info-host: maybe-info-tcl
1280 info-host: maybe-info-itcl
1281 info-host: maybe-info-ld
1282 info-host: maybe-info-libbacktrace
1283 info-host: maybe-info-libcpp
1284 info-host: maybe-info-libdecnumber
1285 info-host: maybe-info-libgui
1286 info-host: maybe-info-libiberty
1287 info-host: maybe-info-libiberty-linker-plugin
1288 info-host: maybe-info-libiconv
1289 info-host: maybe-info-m4
1290 info-host: maybe-info-readline
1291 info-host: maybe-info-sid
1292 info-host: maybe-info-sim
1293 info-host: maybe-info-texinfo
1294 info-host: maybe-info-zlib
1295 info-host: maybe-info-gnulib
1296 info-host: maybe-info-gdbsupport
1297 info-host: maybe-info-gdbserver
1298 info-host: maybe-info-gdb
1299 info-host: maybe-info-expect
1300 info-host: maybe-info-guile
1301 info-host: maybe-info-tk
1302 info-host: maybe-info-libtermcap
1303 info-host: maybe-info-utils
1304 info-host: maybe-info-gnattools
1305 info-host: maybe-info-lto-plugin
1306 info-host: maybe-info-libcc1
1307 info-host: maybe-info-gotools
1308 info-host: maybe-info-libctf
1310 .PHONY: info-target
1312 info-target: maybe-info-target-libstdc++-v3
1313 info-target: maybe-info-target-libsanitizer
1314 info-target: maybe-info-target-libvtv
1315 info-target: maybe-info-target-liboffloadmic
1316 info-target: maybe-info-target-libssp
1317 info-target: maybe-info-target-newlib
1318 info-target: maybe-info-target-libgcc
1319 info-target: maybe-info-target-libbacktrace
1320 info-target: maybe-info-target-libquadmath
1321 info-target: maybe-info-target-libgfortran
1322 info-target: maybe-info-target-libobjc
1323 info-target: maybe-info-target-libgo
1324 info-target: maybe-info-target-libhsail-rt
1325 info-target: maybe-info-target-libphobos
1326 info-target: maybe-info-target-libtermcap
1327 info-target: maybe-info-target-winsup
1328 info-target: maybe-info-target-libgloss
1329 info-target: maybe-info-target-libffi
1330 info-target: maybe-info-target-zlib
1331 info-target: maybe-info-target-rda
1332 info-target: maybe-info-target-libada
1333 info-target: maybe-info-target-libgomp
1334 info-target: maybe-info-target-libitm
1335 info-target: maybe-info-target-libatomic
1337 .PHONY: do-dvi
1338 do-dvi:
1339 @: $(MAKE); $(unstage)
1340 @r=`${PWD_COMMAND}`; export r; \
1341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1343 dvi-target
1346 .PHONY: dvi-host
1348 dvi-host: maybe-dvi-bfd
1349 dvi-host: maybe-dvi-opcodes
1350 dvi-host: maybe-dvi-binutils
1351 dvi-host: maybe-dvi-bison
1352 dvi-host: maybe-dvi-cgen
1353 dvi-host: maybe-dvi-dejagnu
1354 dvi-host: maybe-dvi-etc
1355 dvi-host: maybe-dvi-fastjar
1356 dvi-host: maybe-dvi-fixincludes
1357 dvi-host: maybe-dvi-flex
1358 dvi-host: maybe-dvi-gas
1359 dvi-host: maybe-dvi-gcc
1360 dvi-host: maybe-dvi-gmp
1361 dvi-host: maybe-dvi-mpfr
1362 dvi-host: maybe-dvi-mpc
1363 dvi-host: maybe-dvi-isl
1364 dvi-host: maybe-dvi-libelf
1365 dvi-host: maybe-dvi-gold
1366 dvi-host: maybe-dvi-gprof
1367 dvi-host: maybe-dvi-intl
1368 dvi-host: maybe-dvi-tcl
1369 dvi-host: maybe-dvi-itcl
1370 dvi-host: maybe-dvi-ld
1371 dvi-host: maybe-dvi-libbacktrace
1372 dvi-host: maybe-dvi-libcpp
1373 dvi-host: maybe-dvi-libdecnumber
1374 dvi-host: maybe-dvi-libgui
1375 dvi-host: maybe-dvi-libiberty
1376 dvi-host: maybe-dvi-libiberty-linker-plugin
1377 dvi-host: maybe-dvi-libiconv
1378 dvi-host: maybe-dvi-m4
1379 dvi-host: maybe-dvi-readline
1380 dvi-host: maybe-dvi-sid
1381 dvi-host: maybe-dvi-sim
1382 dvi-host: maybe-dvi-texinfo
1383 dvi-host: maybe-dvi-zlib
1384 dvi-host: maybe-dvi-gnulib
1385 dvi-host: maybe-dvi-gdbsupport
1386 dvi-host: maybe-dvi-gdbserver
1387 dvi-host: maybe-dvi-gdb
1388 dvi-host: maybe-dvi-expect
1389 dvi-host: maybe-dvi-guile
1390 dvi-host: maybe-dvi-tk
1391 dvi-host: maybe-dvi-libtermcap
1392 dvi-host: maybe-dvi-utils
1393 dvi-host: maybe-dvi-gnattools
1394 dvi-host: maybe-dvi-lto-plugin
1395 dvi-host: maybe-dvi-libcc1
1396 dvi-host: maybe-dvi-gotools
1397 dvi-host: maybe-dvi-libctf
1399 .PHONY: dvi-target
1401 dvi-target: maybe-dvi-target-libstdc++-v3
1402 dvi-target: maybe-dvi-target-libsanitizer
1403 dvi-target: maybe-dvi-target-libvtv
1404 dvi-target: maybe-dvi-target-liboffloadmic
1405 dvi-target: maybe-dvi-target-libssp
1406 dvi-target: maybe-dvi-target-newlib
1407 dvi-target: maybe-dvi-target-libgcc
1408 dvi-target: maybe-dvi-target-libbacktrace
1409 dvi-target: maybe-dvi-target-libquadmath
1410 dvi-target: maybe-dvi-target-libgfortran
1411 dvi-target: maybe-dvi-target-libobjc
1412 dvi-target: maybe-dvi-target-libgo
1413 dvi-target: maybe-dvi-target-libhsail-rt
1414 dvi-target: maybe-dvi-target-libphobos
1415 dvi-target: maybe-dvi-target-libtermcap
1416 dvi-target: maybe-dvi-target-winsup
1417 dvi-target: maybe-dvi-target-libgloss
1418 dvi-target: maybe-dvi-target-libffi
1419 dvi-target: maybe-dvi-target-zlib
1420 dvi-target: maybe-dvi-target-rda
1421 dvi-target: maybe-dvi-target-libada
1422 dvi-target: maybe-dvi-target-libgomp
1423 dvi-target: maybe-dvi-target-libitm
1424 dvi-target: maybe-dvi-target-libatomic
1426 .PHONY: do-pdf
1427 do-pdf:
1428 @: $(MAKE); $(unstage)
1429 @r=`${PWD_COMMAND}`; export r; \
1430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1431 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1432 pdf-target
1435 .PHONY: pdf-host
1437 pdf-host: maybe-pdf-bfd
1438 pdf-host: maybe-pdf-opcodes
1439 pdf-host: maybe-pdf-binutils
1440 pdf-host: maybe-pdf-bison
1441 pdf-host: maybe-pdf-cgen
1442 pdf-host: maybe-pdf-dejagnu
1443 pdf-host: maybe-pdf-etc
1444 pdf-host: maybe-pdf-fastjar
1445 pdf-host: maybe-pdf-fixincludes
1446 pdf-host: maybe-pdf-flex
1447 pdf-host: maybe-pdf-gas
1448 pdf-host: maybe-pdf-gcc
1449 pdf-host: maybe-pdf-gmp
1450 pdf-host: maybe-pdf-mpfr
1451 pdf-host: maybe-pdf-mpc
1452 pdf-host: maybe-pdf-isl
1453 pdf-host: maybe-pdf-libelf
1454 pdf-host: maybe-pdf-gold
1455 pdf-host: maybe-pdf-gprof
1456 pdf-host: maybe-pdf-intl
1457 pdf-host: maybe-pdf-tcl
1458 pdf-host: maybe-pdf-itcl
1459 pdf-host: maybe-pdf-ld
1460 pdf-host: maybe-pdf-libbacktrace
1461 pdf-host: maybe-pdf-libcpp
1462 pdf-host: maybe-pdf-libdecnumber
1463 pdf-host: maybe-pdf-libgui
1464 pdf-host: maybe-pdf-libiberty
1465 pdf-host: maybe-pdf-libiberty-linker-plugin
1466 pdf-host: maybe-pdf-libiconv
1467 pdf-host: maybe-pdf-m4
1468 pdf-host: maybe-pdf-readline
1469 pdf-host: maybe-pdf-sid
1470 pdf-host: maybe-pdf-sim
1471 pdf-host: maybe-pdf-texinfo
1472 pdf-host: maybe-pdf-zlib
1473 pdf-host: maybe-pdf-gnulib
1474 pdf-host: maybe-pdf-gdbsupport
1475 pdf-host: maybe-pdf-gdbserver
1476 pdf-host: maybe-pdf-gdb
1477 pdf-host: maybe-pdf-expect
1478 pdf-host: maybe-pdf-guile
1479 pdf-host: maybe-pdf-tk
1480 pdf-host: maybe-pdf-libtermcap
1481 pdf-host: maybe-pdf-utils
1482 pdf-host: maybe-pdf-gnattools
1483 pdf-host: maybe-pdf-lto-plugin
1484 pdf-host: maybe-pdf-libcc1
1485 pdf-host: maybe-pdf-gotools
1486 pdf-host: maybe-pdf-libctf
1488 .PHONY: pdf-target
1490 pdf-target: maybe-pdf-target-libstdc++-v3
1491 pdf-target: maybe-pdf-target-libsanitizer
1492 pdf-target: maybe-pdf-target-libvtv
1493 pdf-target: maybe-pdf-target-liboffloadmic
1494 pdf-target: maybe-pdf-target-libssp
1495 pdf-target: maybe-pdf-target-newlib
1496 pdf-target: maybe-pdf-target-libgcc
1497 pdf-target: maybe-pdf-target-libbacktrace
1498 pdf-target: maybe-pdf-target-libquadmath
1499 pdf-target: maybe-pdf-target-libgfortran
1500 pdf-target: maybe-pdf-target-libobjc
1501 pdf-target: maybe-pdf-target-libgo
1502 pdf-target: maybe-pdf-target-libhsail-rt
1503 pdf-target: maybe-pdf-target-libphobos
1504 pdf-target: maybe-pdf-target-libtermcap
1505 pdf-target: maybe-pdf-target-winsup
1506 pdf-target: maybe-pdf-target-libgloss
1507 pdf-target: maybe-pdf-target-libffi
1508 pdf-target: maybe-pdf-target-zlib
1509 pdf-target: maybe-pdf-target-rda
1510 pdf-target: maybe-pdf-target-libada
1511 pdf-target: maybe-pdf-target-libgomp
1512 pdf-target: maybe-pdf-target-libitm
1513 pdf-target: maybe-pdf-target-libatomic
1515 .PHONY: do-html
1516 do-html:
1517 @: $(MAKE); $(unstage)
1518 @r=`${PWD_COMMAND}`; export r; \
1519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1520 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1521 html-target
1524 .PHONY: html-host
1526 html-host: maybe-html-bfd
1527 html-host: maybe-html-opcodes
1528 html-host: maybe-html-binutils
1529 html-host: maybe-html-bison
1530 html-host: maybe-html-cgen
1531 html-host: maybe-html-dejagnu
1532 html-host: maybe-html-etc
1533 html-host: maybe-html-fastjar
1534 html-host: maybe-html-fixincludes
1535 html-host: maybe-html-flex
1536 html-host: maybe-html-gas
1537 html-host: maybe-html-gcc
1538 html-host: maybe-html-gmp
1539 html-host: maybe-html-mpfr
1540 html-host: maybe-html-mpc
1541 html-host: maybe-html-isl
1542 html-host: maybe-html-libelf
1543 html-host: maybe-html-gold
1544 html-host: maybe-html-gprof
1545 html-host: maybe-html-intl
1546 html-host: maybe-html-tcl
1547 html-host: maybe-html-itcl
1548 html-host: maybe-html-ld
1549 html-host: maybe-html-libbacktrace
1550 html-host: maybe-html-libcpp
1551 html-host: maybe-html-libdecnumber
1552 html-host: maybe-html-libgui
1553 html-host: maybe-html-libiberty
1554 html-host: maybe-html-libiberty-linker-plugin
1555 html-host: maybe-html-libiconv
1556 html-host: maybe-html-m4
1557 html-host: maybe-html-readline
1558 html-host: maybe-html-sid
1559 html-host: maybe-html-sim
1560 html-host: maybe-html-texinfo
1561 html-host: maybe-html-zlib
1562 html-host: maybe-html-gnulib
1563 html-host: maybe-html-gdbsupport
1564 html-host: maybe-html-gdbserver
1565 html-host: maybe-html-gdb
1566 html-host: maybe-html-expect
1567 html-host: maybe-html-guile
1568 html-host: maybe-html-tk
1569 html-host: maybe-html-libtermcap
1570 html-host: maybe-html-utils
1571 html-host: maybe-html-gnattools
1572 html-host: maybe-html-lto-plugin
1573 html-host: maybe-html-libcc1
1574 html-host: maybe-html-gotools
1575 html-host: maybe-html-libctf
1577 .PHONY: html-target
1579 html-target: maybe-html-target-libstdc++-v3
1580 html-target: maybe-html-target-libsanitizer
1581 html-target: maybe-html-target-libvtv
1582 html-target: maybe-html-target-liboffloadmic
1583 html-target: maybe-html-target-libssp
1584 html-target: maybe-html-target-newlib
1585 html-target: maybe-html-target-libgcc
1586 html-target: maybe-html-target-libbacktrace
1587 html-target: maybe-html-target-libquadmath
1588 html-target: maybe-html-target-libgfortran
1589 html-target: maybe-html-target-libobjc
1590 html-target: maybe-html-target-libgo
1591 html-target: maybe-html-target-libhsail-rt
1592 html-target: maybe-html-target-libphobos
1593 html-target: maybe-html-target-libtermcap
1594 html-target: maybe-html-target-winsup
1595 html-target: maybe-html-target-libgloss
1596 html-target: maybe-html-target-libffi
1597 html-target: maybe-html-target-zlib
1598 html-target: maybe-html-target-rda
1599 html-target: maybe-html-target-libada
1600 html-target: maybe-html-target-libgomp
1601 html-target: maybe-html-target-libitm
1602 html-target: maybe-html-target-libatomic
1604 .PHONY: do-TAGS
1605 do-TAGS:
1606 @: $(MAKE); $(unstage)
1607 @r=`${PWD_COMMAND}`; export r; \
1608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1609 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1610 TAGS-target
1613 .PHONY: TAGS-host
1615 TAGS-host: maybe-TAGS-bfd
1616 TAGS-host: maybe-TAGS-opcodes
1617 TAGS-host: maybe-TAGS-binutils
1618 TAGS-host: maybe-TAGS-bison
1619 TAGS-host: maybe-TAGS-cgen
1620 TAGS-host: maybe-TAGS-dejagnu
1621 TAGS-host: maybe-TAGS-etc
1622 TAGS-host: maybe-TAGS-fastjar
1623 TAGS-host: maybe-TAGS-fixincludes
1624 TAGS-host: maybe-TAGS-flex
1625 TAGS-host: maybe-TAGS-gas
1626 TAGS-host: maybe-TAGS-gcc
1627 TAGS-host: maybe-TAGS-gmp
1628 TAGS-host: maybe-TAGS-mpfr
1629 TAGS-host: maybe-TAGS-mpc
1630 TAGS-host: maybe-TAGS-isl
1631 TAGS-host: maybe-TAGS-libelf
1632 TAGS-host: maybe-TAGS-gold
1633 TAGS-host: maybe-TAGS-gprof
1634 TAGS-host: maybe-TAGS-intl
1635 TAGS-host: maybe-TAGS-tcl
1636 TAGS-host: maybe-TAGS-itcl
1637 TAGS-host: maybe-TAGS-ld
1638 TAGS-host: maybe-TAGS-libbacktrace
1639 TAGS-host: maybe-TAGS-libcpp
1640 TAGS-host: maybe-TAGS-libdecnumber
1641 TAGS-host: maybe-TAGS-libgui
1642 TAGS-host: maybe-TAGS-libiberty
1643 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1644 TAGS-host: maybe-TAGS-libiconv
1645 TAGS-host: maybe-TAGS-m4
1646 TAGS-host: maybe-TAGS-readline
1647 TAGS-host: maybe-TAGS-sid
1648 TAGS-host: maybe-TAGS-sim
1649 TAGS-host: maybe-TAGS-texinfo
1650 TAGS-host: maybe-TAGS-zlib
1651 TAGS-host: maybe-TAGS-gnulib
1652 TAGS-host: maybe-TAGS-gdbsupport
1653 TAGS-host: maybe-TAGS-gdbserver
1654 TAGS-host: maybe-TAGS-gdb
1655 TAGS-host: maybe-TAGS-expect
1656 TAGS-host: maybe-TAGS-guile
1657 TAGS-host: maybe-TAGS-tk
1658 TAGS-host: maybe-TAGS-libtermcap
1659 TAGS-host: maybe-TAGS-utils
1660 TAGS-host: maybe-TAGS-gnattools
1661 TAGS-host: maybe-TAGS-lto-plugin
1662 TAGS-host: maybe-TAGS-libcc1
1663 TAGS-host: maybe-TAGS-gotools
1664 TAGS-host: maybe-TAGS-libctf
1666 .PHONY: TAGS-target
1668 TAGS-target: maybe-TAGS-target-libstdc++-v3
1669 TAGS-target: maybe-TAGS-target-libsanitizer
1670 TAGS-target: maybe-TAGS-target-libvtv
1671 TAGS-target: maybe-TAGS-target-liboffloadmic
1672 TAGS-target: maybe-TAGS-target-libssp
1673 TAGS-target: maybe-TAGS-target-newlib
1674 TAGS-target: maybe-TAGS-target-libgcc
1675 TAGS-target: maybe-TAGS-target-libbacktrace
1676 TAGS-target: maybe-TAGS-target-libquadmath
1677 TAGS-target: maybe-TAGS-target-libgfortran
1678 TAGS-target: maybe-TAGS-target-libobjc
1679 TAGS-target: maybe-TAGS-target-libgo
1680 TAGS-target: maybe-TAGS-target-libhsail-rt
1681 TAGS-target: maybe-TAGS-target-libphobos
1682 TAGS-target: maybe-TAGS-target-libtermcap
1683 TAGS-target: maybe-TAGS-target-winsup
1684 TAGS-target: maybe-TAGS-target-libgloss
1685 TAGS-target: maybe-TAGS-target-libffi
1686 TAGS-target: maybe-TAGS-target-zlib
1687 TAGS-target: maybe-TAGS-target-rda
1688 TAGS-target: maybe-TAGS-target-libada
1689 TAGS-target: maybe-TAGS-target-libgomp
1690 TAGS-target: maybe-TAGS-target-libitm
1691 TAGS-target: maybe-TAGS-target-libatomic
1693 .PHONY: do-install-info
1694 do-install-info:
1695 @: $(MAKE); $(unstage)
1696 @r=`${PWD_COMMAND}`; export r; \
1697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1698 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1699 install-info-target
1702 .PHONY: install-info-host
1704 install-info-host: maybe-install-info-bfd
1705 install-info-host: maybe-install-info-opcodes
1706 install-info-host: maybe-install-info-binutils
1707 install-info-host: maybe-install-info-bison
1708 install-info-host: maybe-install-info-cgen
1709 install-info-host: maybe-install-info-dejagnu
1710 install-info-host: maybe-install-info-etc
1711 install-info-host: maybe-install-info-fastjar
1712 install-info-host: maybe-install-info-fixincludes
1713 install-info-host: maybe-install-info-flex
1714 install-info-host: maybe-install-info-gas
1715 install-info-host: maybe-install-info-gcc
1716 install-info-host: maybe-install-info-gmp
1717 install-info-host: maybe-install-info-mpfr
1718 install-info-host: maybe-install-info-mpc
1719 install-info-host: maybe-install-info-isl
1720 install-info-host: maybe-install-info-libelf
1721 install-info-host: maybe-install-info-gold
1722 install-info-host: maybe-install-info-gprof
1723 install-info-host: maybe-install-info-intl
1724 install-info-host: maybe-install-info-tcl
1725 install-info-host: maybe-install-info-itcl
1726 install-info-host: maybe-install-info-ld
1727 install-info-host: maybe-install-info-libbacktrace
1728 install-info-host: maybe-install-info-libcpp
1729 install-info-host: maybe-install-info-libdecnumber
1730 install-info-host: maybe-install-info-libgui
1731 install-info-host: maybe-install-info-libiberty
1732 install-info-host: maybe-install-info-libiberty-linker-plugin
1733 install-info-host: maybe-install-info-libiconv
1734 install-info-host: maybe-install-info-m4
1735 install-info-host: maybe-install-info-readline
1736 install-info-host: maybe-install-info-sid
1737 install-info-host: maybe-install-info-sim
1738 install-info-host: maybe-install-info-texinfo
1739 install-info-host: maybe-install-info-zlib
1740 install-info-host: maybe-install-info-gnulib
1741 install-info-host: maybe-install-info-gdbsupport
1742 install-info-host: maybe-install-info-gdbserver
1743 install-info-host: maybe-install-info-gdb
1744 install-info-host: maybe-install-info-expect
1745 install-info-host: maybe-install-info-guile
1746 install-info-host: maybe-install-info-tk
1747 install-info-host: maybe-install-info-libtermcap
1748 install-info-host: maybe-install-info-utils
1749 install-info-host: maybe-install-info-gnattools
1750 install-info-host: maybe-install-info-lto-plugin
1751 install-info-host: maybe-install-info-libcc1
1752 install-info-host: maybe-install-info-gotools
1753 install-info-host: maybe-install-info-libctf
1755 .PHONY: install-info-target
1757 install-info-target: maybe-install-info-target-libstdc++-v3
1758 install-info-target: maybe-install-info-target-libsanitizer
1759 install-info-target: maybe-install-info-target-libvtv
1760 install-info-target: maybe-install-info-target-liboffloadmic
1761 install-info-target: maybe-install-info-target-libssp
1762 install-info-target: maybe-install-info-target-newlib
1763 install-info-target: maybe-install-info-target-libgcc
1764 install-info-target: maybe-install-info-target-libbacktrace
1765 install-info-target: maybe-install-info-target-libquadmath
1766 install-info-target: maybe-install-info-target-libgfortran
1767 install-info-target: maybe-install-info-target-libobjc
1768 install-info-target: maybe-install-info-target-libgo
1769 install-info-target: maybe-install-info-target-libhsail-rt
1770 install-info-target: maybe-install-info-target-libphobos
1771 install-info-target: maybe-install-info-target-libtermcap
1772 install-info-target: maybe-install-info-target-winsup
1773 install-info-target: maybe-install-info-target-libgloss
1774 install-info-target: maybe-install-info-target-libffi
1775 install-info-target: maybe-install-info-target-zlib
1776 install-info-target: maybe-install-info-target-rda
1777 install-info-target: maybe-install-info-target-libada
1778 install-info-target: maybe-install-info-target-libgomp
1779 install-info-target: maybe-install-info-target-libitm
1780 install-info-target: maybe-install-info-target-libatomic
1782 .PHONY: do-install-pdf
1783 do-install-pdf:
1784 @: $(MAKE); $(unstage)
1785 @r=`${PWD_COMMAND}`; export r; \
1786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1787 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1788 install-pdf-target
1791 .PHONY: install-pdf-host
1793 install-pdf-host: maybe-install-pdf-bfd
1794 install-pdf-host: maybe-install-pdf-opcodes
1795 install-pdf-host: maybe-install-pdf-binutils
1796 install-pdf-host: maybe-install-pdf-bison
1797 install-pdf-host: maybe-install-pdf-cgen
1798 install-pdf-host: maybe-install-pdf-dejagnu
1799 install-pdf-host: maybe-install-pdf-etc
1800 install-pdf-host: maybe-install-pdf-fastjar
1801 install-pdf-host: maybe-install-pdf-fixincludes
1802 install-pdf-host: maybe-install-pdf-flex
1803 install-pdf-host: maybe-install-pdf-gas
1804 install-pdf-host: maybe-install-pdf-gcc
1805 install-pdf-host: maybe-install-pdf-gmp
1806 install-pdf-host: maybe-install-pdf-mpfr
1807 install-pdf-host: maybe-install-pdf-mpc
1808 install-pdf-host: maybe-install-pdf-isl
1809 install-pdf-host: maybe-install-pdf-libelf
1810 install-pdf-host: maybe-install-pdf-gold
1811 install-pdf-host: maybe-install-pdf-gprof
1812 install-pdf-host: maybe-install-pdf-intl
1813 install-pdf-host: maybe-install-pdf-tcl
1814 install-pdf-host: maybe-install-pdf-itcl
1815 install-pdf-host: maybe-install-pdf-ld
1816 install-pdf-host: maybe-install-pdf-libbacktrace
1817 install-pdf-host: maybe-install-pdf-libcpp
1818 install-pdf-host: maybe-install-pdf-libdecnumber
1819 install-pdf-host: maybe-install-pdf-libgui
1820 install-pdf-host: maybe-install-pdf-libiberty
1821 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1822 install-pdf-host: maybe-install-pdf-libiconv
1823 install-pdf-host: maybe-install-pdf-m4
1824 install-pdf-host: maybe-install-pdf-readline
1825 install-pdf-host: maybe-install-pdf-sid
1826 install-pdf-host: maybe-install-pdf-sim
1827 install-pdf-host: maybe-install-pdf-texinfo
1828 install-pdf-host: maybe-install-pdf-zlib
1829 install-pdf-host: maybe-install-pdf-gnulib
1830 install-pdf-host: maybe-install-pdf-gdbsupport
1831 install-pdf-host: maybe-install-pdf-gdbserver
1832 install-pdf-host: maybe-install-pdf-gdb
1833 install-pdf-host: maybe-install-pdf-expect
1834 install-pdf-host: maybe-install-pdf-guile
1835 install-pdf-host: maybe-install-pdf-tk
1836 install-pdf-host: maybe-install-pdf-libtermcap
1837 install-pdf-host: maybe-install-pdf-utils
1838 install-pdf-host: maybe-install-pdf-gnattools
1839 install-pdf-host: maybe-install-pdf-lto-plugin
1840 install-pdf-host: maybe-install-pdf-libcc1
1841 install-pdf-host: maybe-install-pdf-gotools
1842 install-pdf-host: maybe-install-pdf-libctf
1844 .PHONY: install-pdf-target
1846 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1847 install-pdf-target: maybe-install-pdf-target-libsanitizer
1848 install-pdf-target: maybe-install-pdf-target-libvtv
1849 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1850 install-pdf-target: maybe-install-pdf-target-libssp
1851 install-pdf-target: maybe-install-pdf-target-newlib
1852 install-pdf-target: maybe-install-pdf-target-libgcc
1853 install-pdf-target: maybe-install-pdf-target-libbacktrace
1854 install-pdf-target: maybe-install-pdf-target-libquadmath
1855 install-pdf-target: maybe-install-pdf-target-libgfortran
1856 install-pdf-target: maybe-install-pdf-target-libobjc
1857 install-pdf-target: maybe-install-pdf-target-libgo
1858 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1859 install-pdf-target: maybe-install-pdf-target-libphobos
1860 install-pdf-target: maybe-install-pdf-target-libtermcap
1861 install-pdf-target: maybe-install-pdf-target-winsup
1862 install-pdf-target: maybe-install-pdf-target-libgloss
1863 install-pdf-target: maybe-install-pdf-target-libffi
1864 install-pdf-target: maybe-install-pdf-target-zlib
1865 install-pdf-target: maybe-install-pdf-target-rda
1866 install-pdf-target: maybe-install-pdf-target-libada
1867 install-pdf-target: maybe-install-pdf-target-libgomp
1868 install-pdf-target: maybe-install-pdf-target-libitm
1869 install-pdf-target: maybe-install-pdf-target-libatomic
1871 .PHONY: do-install-html
1872 do-install-html:
1873 @: $(MAKE); $(unstage)
1874 @r=`${PWD_COMMAND}`; export r; \
1875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1876 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1877 install-html-target
1880 .PHONY: install-html-host
1882 install-html-host: maybe-install-html-bfd
1883 install-html-host: maybe-install-html-opcodes
1884 install-html-host: maybe-install-html-binutils
1885 install-html-host: maybe-install-html-bison
1886 install-html-host: maybe-install-html-cgen
1887 install-html-host: maybe-install-html-dejagnu
1888 install-html-host: maybe-install-html-etc
1889 install-html-host: maybe-install-html-fastjar
1890 install-html-host: maybe-install-html-fixincludes
1891 install-html-host: maybe-install-html-flex
1892 install-html-host: maybe-install-html-gas
1893 install-html-host: maybe-install-html-gcc
1894 install-html-host: maybe-install-html-gmp
1895 install-html-host: maybe-install-html-mpfr
1896 install-html-host: maybe-install-html-mpc
1897 install-html-host: maybe-install-html-isl
1898 install-html-host: maybe-install-html-libelf
1899 install-html-host: maybe-install-html-gold
1900 install-html-host: maybe-install-html-gprof
1901 install-html-host: maybe-install-html-intl
1902 install-html-host: maybe-install-html-tcl
1903 install-html-host: maybe-install-html-itcl
1904 install-html-host: maybe-install-html-ld
1905 install-html-host: maybe-install-html-libbacktrace
1906 install-html-host: maybe-install-html-libcpp
1907 install-html-host: maybe-install-html-libdecnumber
1908 install-html-host: maybe-install-html-libgui
1909 install-html-host: maybe-install-html-libiberty
1910 install-html-host: maybe-install-html-libiberty-linker-plugin
1911 install-html-host: maybe-install-html-libiconv
1912 install-html-host: maybe-install-html-m4
1913 install-html-host: maybe-install-html-readline
1914 install-html-host: maybe-install-html-sid
1915 install-html-host: maybe-install-html-sim
1916 install-html-host: maybe-install-html-texinfo
1917 install-html-host: maybe-install-html-zlib
1918 install-html-host: maybe-install-html-gnulib
1919 install-html-host: maybe-install-html-gdbsupport
1920 install-html-host: maybe-install-html-gdbserver
1921 install-html-host: maybe-install-html-gdb
1922 install-html-host: maybe-install-html-expect
1923 install-html-host: maybe-install-html-guile
1924 install-html-host: maybe-install-html-tk
1925 install-html-host: maybe-install-html-libtermcap
1926 install-html-host: maybe-install-html-utils
1927 install-html-host: maybe-install-html-gnattools
1928 install-html-host: maybe-install-html-lto-plugin
1929 install-html-host: maybe-install-html-libcc1
1930 install-html-host: maybe-install-html-gotools
1931 install-html-host: maybe-install-html-libctf
1933 .PHONY: install-html-target
1935 install-html-target: maybe-install-html-target-libstdc++-v3
1936 install-html-target: maybe-install-html-target-libsanitizer
1937 install-html-target: maybe-install-html-target-libvtv
1938 install-html-target: maybe-install-html-target-liboffloadmic
1939 install-html-target: maybe-install-html-target-libssp
1940 install-html-target: maybe-install-html-target-newlib
1941 install-html-target: maybe-install-html-target-libgcc
1942 install-html-target: maybe-install-html-target-libbacktrace
1943 install-html-target: maybe-install-html-target-libquadmath
1944 install-html-target: maybe-install-html-target-libgfortran
1945 install-html-target: maybe-install-html-target-libobjc
1946 install-html-target: maybe-install-html-target-libgo
1947 install-html-target: maybe-install-html-target-libhsail-rt
1948 install-html-target: maybe-install-html-target-libphobos
1949 install-html-target: maybe-install-html-target-libtermcap
1950 install-html-target: maybe-install-html-target-winsup
1951 install-html-target: maybe-install-html-target-libgloss
1952 install-html-target: maybe-install-html-target-libffi
1953 install-html-target: maybe-install-html-target-zlib
1954 install-html-target: maybe-install-html-target-rda
1955 install-html-target: maybe-install-html-target-libada
1956 install-html-target: maybe-install-html-target-libgomp
1957 install-html-target: maybe-install-html-target-libitm
1958 install-html-target: maybe-install-html-target-libatomic
1960 .PHONY: do-installcheck
1961 do-installcheck:
1962 @: $(MAKE); $(unstage)
1963 @r=`${PWD_COMMAND}`; export r; \
1964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1965 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1966 installcheck-target
1969 .PHONY: installcheck-host
1971 installcheck-host: maybe-installcheck-bfd
1972 installcheck-host: maybe-installcheck-opcodes
1973 installcheck-host: maybe-installcheck-binutils
1974 installcheck-host: maybe-installcheck-bison
1975 installcheck-host: maybe-installcheck-cgen
1976 installcheck-host: maybe-installcheck-dejagnu
1977 installcheck-host: maybe-installcheck-etc
1978 installcheck-host: maybe-installcheck-fastjar
1979 installcheck-host: maybe-installcheck-fixincludes
1980 installcheck-host: maybe-installcheck-flex
1981 installcheck-host: maybe-installcheck-gas
1982 installcheck-host: maybe-installcheck-gcc
1983 installcheck-host: maybe-installcheck-gmp
1984 installcheck-host: maybe-installcheck-mpfr
1985 installcheck-host: maybe-installcheck-mpc
1986 installcheck-host: maybe-installcheck-isl
1987 installcheck-host: maybe-installcheck-libelf
1988 installcheck-host: maybe-installcheck-gold
1989 installcheck-host: maybe-installcheck-gprof
1990 installcheck-host: maybe-installcheck-intl
1991 installcheck-host: maybe-installcheck-tcl
1992 installcheck-host: maybe-installcheck-itcl
1993 installcheck-host: maybe-installcheck-ld
1994 installcheck-host: maybe-installcheck-libbacktrace
1995 installcheck-host: maybe-installcheck-libcpp
1996 installcheck-host: maybe-installcheck-libdecnumber
1997 installcheck-host: maybe-installcheck-libgui
1998 installcheck-host: maybe-installcheck-libiberty
1999 installcheck-host: maybe-installcheck-libiberty-linker-plugin
2000 installcheck-host: maybe-installcheck-libiconv
2001 installcheck-host: maybe-installcheck-m4
2002 installcheck-host: maybe-installcheck-readline
2003 installcheck-host: maybe-installcheck-sid
2004 installcheck-host: maybe-installcheck-sim
2005 installcheck-host: maybe-installcheck-texinfo
2006 installcheck-host: maybe-installcheck-zlib
2007 installcheck-host: maybe-installcheck-gnulib
2008 installcheck-host: maybe-installcheck-gdbsupport
2009 installcheck-host: maybe-installcheck-gdbserver
2010 installcheck-host: maybe-installcheck-gdb
2011 installcheck-host: maybe-installcheck-expect
2012 installcheck-host: maybe-installcheck-guile
2013 installcheck-host: maybe-installcheck-tk
2014 installcheck-host: maybe-installcheck-libtermcap
2015 installcheck-host: maybe-installcheck-utils
2016 installcheck-host: maybe-installcheck-gnattools
2017 installcheck-host: maybe-installcheck-lto-plugin
2018 installcheck-host: maybe-installcheck-libcc1
2019 installcheck-host: maybe-installcheck-gotools
2020 installcheck-host: maybe-installcheck-libctf
2022 .PHONY: installcheck-target
2024 installcheck-target: maybe-installcheck-target-libstdc++-v3
2025 installcheck-target: maybe-installcheck-target-libsanitizer
2026 installcheck-target: maybe-installcheck-target-libvtv
2027 installcheck-target: maybe-installcheck-target-liboffloadmic
2028 installcheck-target: maybe-installcheck-target-libssp
2029 installcheck-target: maybe-installcheck-target-newlib
2030 installcheck-target: maybe-installcheck-target-libgcc
2031 installcheck-target: maybe-installcheck-target-libbacktrace
2032 installcheck-target: maybe-installcheck-target-libquadmath
2033 installcheck-target: maybe-installcheck-target-libgfortran
2034 installcheck-target: maybe-installcheck-target-libobjc
2035 installcheck-target: maybe-installcheck-target-libgo
2036 installcheck-target: maybe-installcheck-target-libhsail-rt
2037 installcheck-target: maybe-installcheck-target-libphobos
2038 installcheck-target: maybe-installcheck-target-libtermcap
2039 installcheck-target: maybe-installcheck-target-winsup
2040 installcheck-target: maybe-installcheck-target-libgloss
2041 installcheck-target: maybe-installcheck-target-libffi
2042 installcheck-target: maybe-installcheck-target-zlib
2043 installcheck-target: maybe-installcheck-target-rda
2044 installcheck-target: maybe-installcheck-target-libada
2045 installcheck-target: maybe-installcheck-target-libgomp
2046 installcheck-target: maybe-installcheck-target-libitm
2047 installcheck-target: maybe-installcheck-target-libatomic
2049 .PHONY: do-mostlyclean
2050 do-mostlyclean:
2051 @: $(MAKE); $(unstage)
2052 @r=`${PWD_COMMAND}`; export r; \
2053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2054 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2055 mostlyclean-target
2058 .PHONY: mostlyclean-host
2060 mostlyclean-host: maybe-mostlyclean-bfd
2061 mostlyclean-host: maybe-mostlyclean-opcodes
2062 mostlyclean-host: maybe-mostlyclean-binutils
2063 mostlyclean-host: maybe-mostlyclean-bison
2064 mostlyclean-host: maybe-mostlyclean-cgen
2065 mostlyclean-host: maybe-mostlyclean-dejagnu
2066 mostlyclean-host: maybe-mostlyclean-etc
2067 mostlyclean-host: maybe-mostlyclean-fastjar
2068 mostlyclean-host: maybe-mostlyclean-fixincludes
2069 mostlyclean-host: maybe-mostlyclean-flex
2070 mostlyclean-host: maybe-mostlyclean-gas
2071 mostlyclean-host: maybe-mostlyclean-gcc
2072 mostlyclean-host: maybe-mostlyclean-gmp
2073 mostlyclean-host: maybe-mostlyclean-mpfr
2074 mostlyclean-host: maybe-mostlyclean-mpc
2075 mostlyclean-host: maybe-mostlyclean-isl
2076 mostlyclean-host: maybe-mostlyclean-libelf
2077 mostlyclean-host: maybe-mostlyclean-gold
2078 mostlyclean-host: maybe-mostlyclean-gprof
2079 mostlyclean-host: maybe-mostlyclean-intl
2080 mostlyclean-host: maybe-mostlyclean-tcl
2081 mostlyclean-host: maybe-mostlyclean-itcl
2082 mostlyclean-host: maybe-mostlyclean-ld
2083 mostlyclean-host: maybe-mostlyclean-libbacktrace
2084 mostlyclean-host: maybe-mostlyclean-libcpp
2085 mostlyclean-host: maybe-mostlyclean-libdecnumber
2086 mostlyclean-host: maybe-mostlyclean-libgui
2087 mostlyclean-host: maybe-mostlyclean-libiberty
2088 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2089 mostlyclean-host: maybe-mostlyclean-libiconv
2090 mostlyclean-host: maybe-mostlyclean-m4
2091 mostlyclean-host: maybe-mostlyclean-readline
2092 mostlyclean-host: maybe-mostlyclean-sid
2093 mostlyclean-host: maybe-mostlyclean-sim
2094 mostlyclean-host: maybe-mostlyclean-texinfo
2095 mostlyclean-host: maybe-mostlyclean-zlib
2096 mostlyclean-host: maybe-mostlyclean-gnulib
2097 mostlyclean-host: maybe-mostlyclean-gdbsupport
2098 mostlyclean-host: maybe-mostlyclean-gdbserver
2099 mostlyclean-host: maybe-mostlyclean-gdb
2100 mostlyclean-host: maybe-mostlyclean-expect
2101 mostlyclean-host: maybe-mostlyclean-guile
2102 mostlyclean-host: maybe-mostlyclean-tk
2103 mostlyclean-host: maybe-mostlyclean-libtermcap
2104 mostlyclean-host: maybe-mostlyclean-utils
2105 mostlyclean-host: maybe-mostlyclean-gnattools
2106 mostlyclean-host: maybe-mostlyclean-lto-plugin
2107 mostlyclean-host: maybe-mostlyclean-libcc1
2108 mostlyclean-host: maybe-mostlyclean-gotools
2109 mostlyclean-host: maybe-mostlyclean-libctf
2111 .PHONY: mostlyclean-target
2113 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2114 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2115 mostlyclean-target: maybe-mostlyclean-target-libvtv
2116 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2117 mostlyclean-target: maybe-mostlyclean-target-libssp
2118 mostlyclean-target: maybe-mostlyclean-target-newlib
2119 mostlyclean-target: maybe-mostlyclean-target-libgcc
2120 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2121 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2122 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2123 mostlyclean-target: maybe-mostlyclean-target-libobjc
2124 mostlyclean-target: maybe-mostlyclean-target-libgo
2125 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2126 mostlyclean-target: maybe-mostlyclean-target-libphobos
2127 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2128 mostlyclean-target: maybe-mostlyclean-target-winsup
2129 mostlyclean-target: maybe-mostlyclean-target-libgloss
2130 mostlyclean-target: maybe-mostlyclean-target-libffi
2131 mostlyclean-target: maybe-mostlyclean-target-zlib
2132 mostlyclean-target: maybe-mostlyclean-target-rda
2133 mostlyclean-target: maybe-mostlyclean-target-libada
2134 mostlyclean-target: maybe-mostlyclean-target-libgomp
2135 mostlyclean-target: maybe-mostlyclean-target-libitm
2136 mostlyclean-target: maybe-mostlyclean-target-libatomic
2138 .PHONY: do-clean
2139 do-clean:
2140 @: $(MAKE); $(unstage)
2141 @r=`${PWD_COMMAND}`; export r; \
2142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2143 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2144 clean-target
2147 .PHONY: clean-host
2149 clean-host: maybe-clean-bfd
2150 clean-host: maybe-clean-opcodes
2151 clean-host: maybe-clean-binutils
2152 clean-host: maybe-clean-bison
2153 clean-host: maybe-clean-cgen
2154 clean-host: maybe-clean-dejagnu
2155 clean-host: maybe-clean-etc
2156 clean-host: maybe-clean-fastjar
2157 clean-host: maybe-clean-fixincludes
2158 clean-host: maybe-clean-flex
2159 clean-host: maybe-clean-gas
2160 clean-host: maybe-clean-gcc
2161 clean-host: maybe-clean-gmp
2162 clean-host: maybe-clean-mpfr
2163 clean-host: maybe-clean-mpc
2164 clean-host: maybe-clean-isl
2165 clean-host: maybe-clean-libelf
2166 clean-host: maybe-clean-gold
2167 clean-host: maybe-clean-gprof
2168 clean-host: maybe-clean-intl
2169 clean-host: maybe-clean-tcl
2170 clean-host: maybe-clean-itcl
2171 clean-host: maybe-clean-ld
2172 clean-host: maybe-clean-libbacktrace
2173 clean-host: maybe-clean-libcpp
2174 clean-host: maybe-clean-libdecnumber
2175 clean-host: maybe-clean-libgui
2176 clean-host: maybe-clean-libiberty
2177 clean-host: maybe-clean-libiberty-linker-plugin
2178 clean-host: maybe-clean-libiconv
2179 clean-host: maybe-clean-m4
2180 clean-host: maybe-clean-readline
2181 clean-host: maybe-clean-sid
2182 clean-host: maybe-clean-sim
2183 clean-host: maybe-clean-texinfo
2184 clean-host: maybe-clean-zlib
2185 clean-host: maybe-clean-gnulib
2186 clean-host: maybe-clean-gdbsupport
2187 clean-host: maybe-clean-gdbserver
2188 clean-host: maybe-clean-gdb
2189 clean-host: maybe-clean-expect
2190 clean-host: maybe-clean-guile
2191 clean-host: maybe-clean-tk
2192 clean-host: maybe-clean-libtermcap
2193 clean-host: maybe-clean-utils
2194 clean-host: maybe-clean-gnattools
2195 clean-host: maybe-clean-lto-plugin
2196 clean-host: maybe-clean-libcc1
2197 clean-host: maybe-clean-gotools
2198 clean-host: maybe-clean-libctf
2200 .PHONY: clean-target
2202 clean-target: maybe-clean-target-libstdc++-v3
2203 clean-target: maybe-clean-target-libsanitizer
2204 clean-target: maybe-clean-target-libvtv
2205 clean-target: maybe-clean-target-liboffloadmic
2206 clean-target: maybe-clean-target-libssp
2207 clean-target: maybe-clean-target-newlib
2208 clean-target: maybe-clean-target-libgcc
2209 clean-target: maybe-clean-target-libbacktrace
2210 clean-target: maybe-clean-target-libquadmath
2211 clean-target: maybe-clean-target-libgfortran
2212 clean-target: maybe-clean-target-libobjc
2213 clean-target: maybe-clean-target-libgo
2214 clean-target: maybe-clean-target-libhsail-rt
2215 clean-target: maybe-clean-target-libphobos
2216 clean-target: maybe-clean-target-libtermcap
2217 clean-target: maybe-clean-target-winsup
2218 clean-target: maybe-clean-target-libgloss
2219 clean-target: maybe-clean-target-libffi
2220 clean-target: maybe-clean-target-zlib
2221 clean-target: maybe-clean-target-rda
2222 clean-target: maybe-clean-target-libada
2223 clean-target: maybe-clean-target-libgomp
2224 clean-target: maybe-clean-target-libitm
2225 clean-target: maybe-clean-target-libatomic
2227 .PHONY: do-distclean
2228 do-distclean:
2229 @: $(MAKE); $(unstage)
2230 @r=`${PWD_COMMAND}`; export r; \
2231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2232 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2233 distclean-target
2236 .PHONY: distclean-host
2238 distclean-host: maybe-distclean-bfd
2239 distclean-host: maybe-distclean-opcodes
2240 distclean-host: maybe-distclean-binutils
2241 distclean-host: maybe-distclean-bison
2242 distclean-host: maybe-distclean-cgen
2243 distclean-host: maybe-distclean-dejagnu
2244 distclean-host: maybe-distclean-etc
2245 distclean-host: maybe-distclean-fastjar
2246 distclean-host: maybe-distclean-fixincludes
2247 distclean-host: maybe-distclean-flex
2248 distclean-host: maybe-distclean-gas
2249 distclean-host: maybe-distclean-gcc
2250 distclean-host: maybe-distclean-gmp
2251 distclean-host: maybe-distclean-mpfr
2252 distclean-host: maybe-distclean-mpc
2253 distclean-host: maybe-distclean-isl
2254 distclean-host: maybe-distclean-libelf
2255 distclean-host: maybe-distclean-gold
2256 distclean-host: maybe-distclean-gprof
2257 distclean-host: maybe-distclean-intl
2258 distclean-host: maybe-distclean-tcl
2259 distclean-host: maybe-distclean-itcl
2260 distclean-host: maybe-distclean-ld
2261 distclean-host: maybe-distclean-libbacktrace
2262 distclean-host: maybe-distclean-libcpp
2263 distclean-host: maybe-distclean-libdecnumber
2264 distclean-host: maybe-distclean-libgui
2265 distclean-host: maybe-distclean-libiberty
2266 distclean-host: maybe-distclean-libiberty-linker-plugin
2267 distclean-host: maybe-distclean-libiconv
2268 distclean-host: maybe-distclean-m4
2269 distclean-host: maybe-distclean-readline
2270 distclean-host: maybe-distclean-sid
2271 distclean-host: maybe-distclean-sim
2272 distclean-host: maybe-distclean-texinfo
2273 distclean-host: maybe-distclean-zlib
2274 distclean-host: maybe-distclean-gnulib
2275 distclean-host: maybe-distclean-gdbsupport
2276 distclean-host: maybe-distclean-gdbserver
2277 distclean-host: maybe-distclean-gdb
2278 distclean-host: maybe-distclean-expect
2279 distclean-host: maybe-distclean-guile
2280 distclean-host: maybe-distclean-tk
2281 distclean-host: maybe-distclean-libtermcap
2282 distclean-host: maybe-distclean-utils
2283 distclean-host: maybe-distclean-gnattools
2284 distclean-host: maybe-distclean-lto-plugin
2285 distclean-host: maybe-distclean-libcc1
2286 distclean-host: maybe-distclean-gotools
2287 distclean-host: maybe-distclean-libctf
2289 .PHONY: distclean-target
2291 distclean-target: maybe-distclean-target-libstdc++-v3
2292 distclean-target: maybe-distclean-target-libsanitizer
2293 distclean-target: maybe-distclean-target-libvtv
2294 distclean-target: maybe-distclean-target-liboffloadmic
2295 distclean-target: maybe-distclean-target-libssp
2296 distclean-target: maybe-distclean-target-newlib
2297 distclean-target: maybe-distclean-target-libgcc
2298 distclean-target: maybe-distclean-target-libbacktrace
2299 distclean-target: maybe-distclean-target-libquadmath
2300 distclean-target: maybe-distclean-target-libgfortran
2301 distclean-target: maybe-distclean-target-libobjc
2302 distclean-target: maybe-distclean-target-libgo
2303 distclean-target: maybe-distclean-target-libhsail-rt
2304 distclean-target: maybe-distclean-target-libphobos
2305 distclean-target: maybe-distclean-target-libtermcap
2306 distclean-target: maybe-distclean-target-winsup
2307 distclean-target: maybe-distclean-target-libgloss
2308 distclean-target: maybe-distclean-target-libffi
2309 distclean-target: maybe-distclean-target-zlib
2310 distclean-target: maybe-distclean-target-rda
2311 distclean-target: maybe-distclean-target-libada
2312 distclean-target: maybe-distclean-target-libgomp
2313 distclean-target: maybe-distclean-target-libitm
2314 distclean-target: maybe-distclean-target-libatomic
2316 .PHONY: do-maintainer-clean
2317 do-maintainer-clean:
2318 @: $(MAKE); $(unstage)
2319 @r=`${PWD_COMMAND}`; export r; \
2320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2321 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2322 maintainer-clean-target
2325 .PHONY: maintainer-clean-host
2327 maintainer-clean-host: maybe-maintainer-clean-bfd
2328 maintainer-clean-host: maybe-maintainer-clean-opcodes
2329 maintainer-clean-host: maybe-maintainer-clean-binutils
2330 maintainer-clean-host: maybe-maintainer-clean-bison
2331 maintainer-clean-host: maybe-maintainer-clean-cgen
2332 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2333 maintainer-clean-host: maybe-maintainer-clean-etc
2334 maintainer-clean-host: maybe-maintainer-clean-fastjar
2335 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2336 maintainer-clean-host: maybe-maintainer-clean-flex
2337 maintainer-clean-host: maybe-maintainer-clean-gas
2338 maintainer-clean-host: maybe-maintainer-clean-gcc
2339 maintainer-clean-host: maybe-maintainer-clean-gmp
2340 maintainer-clean-host: maybe-maintainer-clean-mpfr
2341 maintainer-clean-host: maybe-maintainer-clean-mpc
2342 maintainer-clean-host: maybe-maintainer-clean-isl
2343 maintainer-clean-host: maybe-maintainer-clean-libelf
2344 maintainer-clean-host: maybe-maintainer-clean-gold
2345 maintainer-clean-host: maybe-maintainer-clean-gprof
2346 maintainer-clean-host: maybe-maintainer-clean-intl
2347 maintainer-clean-host: maybe-maintainer-clean-tcl
2348 maintainer-clean-host: maybe-maintainer-clean-itcl
2349 maintainer-clean-host: maybe-maintainer-clean-ld
2350 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2351 maintainer-clean-host: maybe-maintainer-clean-libcpp
2352 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2353 maintainer-clean-host: maybe-maintainer-clean-libgui
2354 maintainer-clean-host: maybe-maintainer-clean-libiberty
2355 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2356 maintainer-clean-host: maybe-maintainer-clean-libiconv
2357 maintainer-clean-host: maybe-maintainer-clean-m4
2358 maintainer-clean-host: maybe-maintainer-clean-readline
2359 maintainer-clean-host: maybe-maintainer-clean-sid
2360 maintainer-clean-host: maybe-maintainer-clean-sim
2361 maintainer-clean-host: maybe-maintainer-clean-texinfo
2362 maintainer-clean-host: maybe-maintainer-clean-zlib
2363 maintainer-clean-host: maybe-maintainer-clean-gnulib
2364 maintainer-clean-host: maybe-maintainer-clean-gdbsupport
2365 maintainer-clean-host: maybe-maintainer-clean-gdbserver
2366 maintainer-clean-host: maybe-maintainer-clean-gdb
2367 maintainer-clean-host: maybe-maintainer-clean-expect
2368 maintainer-clean-host: maybe-maintainer-clean-guile
2369 maintainer-clean-host: maybe-maintainer-clean-tk
2370 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2371 maintainer-clean-host: maybe-maintainer-clean-utils
2372 maintainer-clean-host: maybe-maintainer-clean-gnattools
2373 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2374 maintainer-clean-host: maybe-maintainer-clean-libcc1
2375 maintainer-clean-host: maybe-maintainer-clean-gotools
2376 maintainer-clean-host: maybe-maintainer-clean-libctf
2378 .PHONY: maintainer-clean-target
2380 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2381 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2382 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2383 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2384 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2385 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2386 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2387 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2388 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2389 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2390 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2391 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2392 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2393 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2394 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2395 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2396 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2397 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2398 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2399 maintainer-clean-target: maybe-maintainer-clean-target-rda
2400 maintainer-clean-target: maybe-maintainer-clean-target-libada
2401 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2402 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2403 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2406 # Here are the targets which correspond to the do-X targets.
2408 .PHONY: info installcheck dvi pdf html
2409 .PHONY: install-info install-pdf install-html
2410 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2411 .PHONY: local-clean local-distclean local-maintainer-clean
2412 info: do-info
2413 installcheck: do-installcheck
2414 dvi: do-dvi
2415 pdf: do-pdf
2416 html: do-html
2418 # Make sure makeinfo is built before we do a `make info', if we're
2419 # in fact building texinfo.
2420 do-info: maybe-all-texinfo
2422 install-info: do-install-info dir.info
2423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2424 if [ -f dir.info ]; then \
2425 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2426 else true; fi
2428 install-pdf: do-install-pdf
2430 install-html: do-install-html
2432 local-clean:
2433 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2435 local-distclean:
2436 -rm -f Makefile config.status config.cache mh-frag mt-frag
2437 -rm -f maybedep.tmp serdep.tmp stage_final
2438 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2439 rm -rf $(TARGET_SUBDIR); \
2440 else true; fi
2441 -rm -rf $(BUILD_SUBDIR)
2442 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2443 rm -rf $(HOST_SUBDIR); \
2444 else true; fi
2445 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2446 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2447 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2448 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2449 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2450 -rmdir texinfo zlib 2>/dev/null
2451 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2453 local-maintainer-clean:
2454 @echo "This command is intended for maintainers to use;"
2455 @echo "it deletes files that may require special tools to rebuild."
2457 clean: do-clean local-clean
2458 mostlyclean: do-mostlyclean local-clean
2459 distclean: do-distclean local-clean local-distclean
2460 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2461 maintainer-clean: local-distclean
2462 realclean: maintainer-clean
2464 # Check target.
2466 .PHONY: check do-check
2467 check: do-check
2469 # Only include modules actually being configured and built.
2470 .PHONY: check-host
2471 check-host: \
2472 maybe-check-bfd \
2473 maybe-check-opcodes \
2474 maybe-check-binutils \
2475 maybe-check-bison \
2476 maybe-check-cgen \
2477 maybe-check-dejagnu \
2478 maybe-check-etc \
2479 maybe-check-fastjar \
2480 maybe-check-fixincludes \
2481 maybe-check-flex \
2482 maybe-check-gas \
2483 maybe-check-gcc \
2484 maybe-check-gmp \
2485 maybe-check-mpfr \
2486 maybe-check-mpc \
2487 maybe-check-isl \
2488 maybe-check-libelf \
2489 maybe-check-gold \
2490 maybe-check-gprof \
2491 maybe-check-intl \
2492 maybe-check-tcl \
2493 maybe-check-itcl \
2494 maybe-check-ld \
2495 maybe-check-libbacktrace \
2496 maybe-check-libcpp \
2497 maybe-check-libdecnumber \
2498 maybe-check-libgui \
2499 maybe-check-libiberty \
2500 maybe-check-libiberty-linker-plugin \
2501 maybe-check-libiconv \
2502 maybe-check-m4 \
2503 maybe-check-readline \
2504 maybe-check-sid \
2505 maybe-check-sim \
2506 maybe-check-texinfo \
2507 maybe-check-zlib \
2508 maybe-check-gnulib \
2509 maybe-check-gdbsupport \
2510 maybe-check-gdbserver \
2511 maybe-check-gdb \
2512 maybe-check-expect \
2513 maybe-check-guile \
2514 maybe-check-tk \
2515 maybe-check-libtermcap \
2516 maybe-check-utils \
2517 maybe-check-gnattools \
2518 maybe-check-lto-plugin \
2519 maybe-check-libcc1 \
2520 maybe-check-gotools \
2521 maybe-check-libctf
2523 .PHONY: check-target
2524 check-target: \
2525 maybe-check-target-libstdc++-v3 \
2526 maybe-check-target-libsanitizer \
2527 maybe-check-target-libvtv \
2528 maybe-check-target-liboffloadmic \
2529 maybe-check-target-libssp \
2530 maybe-check-target-newlib \
2531 maybe-check-target-libgcc \
2532 maybe-check-target-libbacktrace \
2533 maybe-check-target-libquadmath \
2534 maybe-check-target-libgfortran \
2535 maybe-check-target-libobjc \
2536 maybe-check-target-libgo \
2537 maybe-check-target-libhsail-rt \
2538 maybe-check-target-libphobos \
2539 maybe-check-target-libtermcap \
2540 maybe-check-target-winsup \
2541 maybe-check-target-libgloss \
2542 maybe-check-target-libffi \
2543 maybe-check-target-zlib \
2544 maybe-check-target-rda \
2545 maybe-check-target-libada \
2546 maybe-check-target-libgomp \
2547 maybe-check-target-libitm \
2548 maybe-check-target-libatomic
2550 do-check:
2551 @: $(MAKE); $(unstage)
2552 @r=`${PWD_COMMAND}`; export r; \
2553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2554 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2556 # Automated reporting of test results.
2558 warning.log: build.log
2559 $(srcdir)/contrib/warn_summary build.log > $@
2561 mail-report.log:
2562 if test x'$(BOOT_CFLAGS)' != x''; then \
2563 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2564 fi; \
2565 $(srcdir)/contrib/test_summary -t >$@
2566 chmod +x $@
2567 echo If you really want to send e-mail, run ./$@ now
2569 mail-report-with-warnings.log: warning.log
2570 if test x'$(BOOT_CFLAGS)' != x''; then \
2571 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2572 fi; \
2573 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2574 chmod +x $@
2575 echo If you really want to send e-mail, run ./$@ now
2577 # Local Vim config
2579 $(srcdir)/.local.vimrc:
2580 $(LN_S) contrib/vimrc $@
2582 $(srcdir)/.lvimrc:
2583 $(LN_S) contrib/vimrc $@
2585 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2587 .PHONY: vimrc
2589 # clang-format config
2591 $(srcdir)/.clang-format:
2592 $(LN_S) contrib/clang-format $@
2594 clang-format: $(srcdir)/.clang-format
2596 .PHONY: clang-format
2598 # Installation targets.
2600 .PHONY: install uninstall
2601 install:
2602 @: $(MAKE); $(unstage)
2603 @r=`${PWD_COMMAND}`; export r; \
2604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2605 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2607 .PHONY: install-host-nogcc
2608 install-host-nogcc: \
2609 maybe-install-bfd \
2610 maybe-install-opcodes \
2611 maybe-install-binutils \
2612 maybe-install-bison \
2613 maybe-install-cgen \
2614 maybe-install-dejagnu \
2615 maybe-install-etc \
2616 maybe-install-fastjar \
2617 maybe-install-fixincludes \
2618 maybe-install-flex \
2619 maybe-install-gas \
2620 maybe-install-gmp \
2621 maybe-install-mpfr \
2622 maybe-install-mpc \
2623 maybe-install-isl \
2624 maybe-install-libelf \
2625 maybe-install-gold \
2626 maybe-install-gprof \
2627 maybe-install-intl \
2628 maybe-install-tcl \
2629 maybe-install-itcl \
2630 maybe-install-ld \
2631 maybe-install-libbacktrace \
2632 maybe-install-libcpp \
2633 maybe-install-libdecnumber \
2634 maybe-install-libgui \
2635 maybe-install-libiberty \
2636 maybe-install-libiberty-linker-plugin \
2637 maybe-install-libiconv \
2638 maybe-install-m4 \
2639 maybe-install-readline \
2640 maybe-install-sid \
2641 maybe-install-sim \
2642 maybe-install-texinfo \
2643 maybe-install-zlib \
2644 maybe-install-gnulib \
2645 maybe-install-gdbsupport \
2646 maybe-install-gdbserver \
2647 maybe-install-gdb \
2648 maybe-install-expect \
2649 maybe-install-guile \
2650 maybe-install-tk \
2651 maybe-install-libtermcap \
2652 maybe-install-utils \
2653 maybe-install-gnattools \
2654 maybe-install-lto-plugin \
2655 maybe-install-libcc1 \
2656 maybe-install-gotools \
2657 maybe-install-libctf
2659 .PHONY: install-host
2660 install-host: \
2661 maybe-install-bfd \
2662 maybe-install-opcodes \
2663 maybe-install-binutils \
2664 maybe-install-bison \
2665 maybe-install-cgen \
2666 maybe-install-dejagnu \
2667 maybe-install-etc \
2668 maybe-install-fastjar \
2669 maybe-install-fixincludes \
2670 maybe-install-flex \
2671 maybe-install-gas \
2672 maybe-install-gcc \
2673 maybe-install-gmp \
2674 maybe-install-mpfr \
2675 maybe-install-mpc \
2676 maybe-install-isl \
2677 maybe-install-libelf \
2678 maybe-install-gold \
2679 maybe-install-gprof \
2680 maybe-install-intl \
2681 maybe-install-tcl \
2682 maybe-install-itcl \
2683 maybe-install-ld \
2684 maybe-install-libbacktrace \
2685 maybe-install-libcpp \
2686 maybe-install-libdecnumber \
2687 maybe-install-libgui \
2688 maybe-install-libiberty \
2689 maybe-install-libiberty-linker-plugin \
2690 maybe-install-libiconv \
2691 maybe-install-m4 \
2692 maybe-install-readline \
2693 maybe-install-sid \
2694 maybe-install-sim \
2695 maybe-install-texinfo \
2696 maybe-install-zlib \
2697 maybe-install-gnulib \
2698 maybe-install-gdbsupport \
2699 maybe-install-gdbserver \
2700 maybe-install-gdb \
2701 maybe-install-expect \
2702 maybe-install-guile \
2703 maybe-install-tk \
2704 maybe-install-libtermcap \
2705 maybe-install-utils \
2706 maybe-install-gnattools \
2707 maybe-install-lto-plugin \
2708 maybe-install-libcc1 \
2709 maybe-install-gotools \
2710 maybe-install-libctf
2712 .PHONY: install-target
2713 install-target: \
2714 maybe-install-target-libstdc++-v3 \
2715 maybe-install-target-libsanitizer \
2716 maybe-install-target-libvtv \
2717 maybe-install-target-liboffloadmic \
2718 maybe-install-target-libssp \
2719 maybe-install-target-newlib \
2720 maybe-install-target-libgcc \
2721 maybe-install-target-libbacktrace \
2722 maybe-install-target-libquadmath \
2723 maybe-install-target-libgfortran \
2724 maybe-install-target-libobjc \
2725 maybe-install-target-libgo \
2726 maybe-install-target-libhsail-rt \
2727 maybe-install-target-libphobos \
2728 maybe-install-target-libtermcap \
2729 maybe-install-target-winsup \
2730 maybe-install-target-libgloss \
2731 maybe-install-target-libffi \
2732 maybe-install-target-zlib \
2733 maybe-install-target-rda \
2734 maybe-install-target-libada \
2735 maybe-install-target-libgomp \
2736 maybe-install-target-libitm \
2737 maybe-install-target-libatomic
2739 uninstall:
2740 @echo "the uninstall target is not supported in this tree"
2742 .PHONY: install.all
2743 install.all: install-no-fixedincludes
2744 @if [ -f ./gcc/Makefile ]; then \
2745 r=`${PWD_COMMAND}`; export r; \
2746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2747 $(HOST_EXPORTS) \
2748 (cd ./gcc && \
2749 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2750 else \
2751 true; \
2754 # install-no-fixedincludes is used to allow the elaboration of binary packages
2755 # suitable for distribution, where we cannot include the fixed system header
2756 # files.
2757 .PHONY: install-no-fixedincludes
2758 install-no-fixedincludes: installdirs install-host-nogcc \
2759 install-target gcc-install-no-fixedincludes
2761 .PHONY: install-strip
2762 install-strip:
2763 @: $(MAKE); $(unstage)
2764 @r=`${PWD_COMMAND}`; export r; \
2765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2766 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2768 .PHONY: install-strip-host
2769 install-strip-host: \
2770 maybe-install-strip-bfd \
2771 maybe-install-strip-opcodes \
2772 maybe-install-strip-binutils \
2773 maybe-install-strip-bison \
2774 maybe-install-strip-cgen \
2775 maybe-install-strip-dejagnu \
2776 maybe-install-strip-etc \
2777 maybe-install-strip-fastjar \
2778 maybe-install-strip-fixincludes \
2779 maybe-install-strip-flex \
2780 maybe-install-strip-gas \
2781 maybe-install-strip-gcc \
2782 maybe-install-strip-gmp \
2783 maybe-install-strip-mpfr \
2784 maybe-install-strip-mpc \
2785 maybe-install-strip-isl \
2786 maybe-install-strip-libelf \
2787 maybe-install-strip-gold \
2788 maybe-install-strip-gprof \
2789 maybe-install-strip-intl \
2790 maybe-install-strip-tcl \
2791 maybe-install-strip-itcl \
2792 maybe-install-strip-ld \
2793 maybe-install-strip-libbacktrace \
2794 maybe-install-strip-libcpp \
2795 maybe-install-strip-libdecnumber \
2796 maybe-install-strip-libgui \
2797 maybe-install-strip-libiberty \
2798 maybe-install-strip-libiberty-linker-plugin \
2799 maybe-install-strip-libiconv \
2800 maybe-install-strip-m4 \
2801 maybe-install-strip-readline \
2802 maybe-install-strip-sid \
2803 maybe-install-strip-sim \
2804 maybe-install-strip-texinfo \
2805 maybe-install-strip-zlib \
2806 maybe-install-strip-gnulib \
2807 maybe-install-strip-gdbsupport \
2808 maybe-install-strip-gdbserver \
2809 maybe-install-strip-gdb \
2810 maybe-install-strip-expect \
2811 maybe-install-strip-guile \
2812 maybe-install-strip-tk \
2813 maybe-install-strip-libtermcap \
2814 maybe-install-strip-utils \
2815 maybe-install-strip-gnattools \
2816 maybe-install-strip-lto-plugin \
2817 maybe-install-strip-libcc1 \
2818 maybe-install-strip-gotools \
2819 maybe-install-strip-libctf
2821 .PHONY: install-strip-target
2822 install-strip-target: \
2823 maybe-install-strip-target-libstdc++-v3 \
2824 maybe-install-strip-target-libsanitizer \
2825 maybe-install-strip-target-libvtv \
2826 maybe-install-strip-target-liboffloadmic \
2827 maybe-install-strip-target-libssp \
2828 maybe-install-strip-target-newlib \
2829 maybe-install-strip-target-libgcc \
2830 maybe-install-strip-target-libbacktrace \
2831 maybe-install-strip-target-libquadmath \
2832 maybe-install-strip-target-libgfortran \
2833 maybe-install-strip-target-libobjc \
2834 maybe-install-strip-target-libgo \
2835 maybe-install-strip-target-libhsail-rt \
2836 maybe-install-strip-target-libphobos \
2837 maybe-install-strip-target-libtermcap \
2838 maybe-install-strip-target-winsup \
2839 maybe-install-strip-target-libgloss \
2840 maybe-install-strip-target-libffi \
2841 maybe-install-strip-target-zlib \
2842 maybe-install-strip-target-rda \
2843 maybe-install-strip-target-libada \
2844 maybe-install-strip-target-libgomp \
2845 maybe-install-strip-target-libitm \
2846 maybe-install-strip-target-libatomic
2849 ### other supporting targets
2851 MAKEDIRS= \
2852 $(DESTDIR)$(prefix) \
2853 $(DESTDIR)$(exec_prefix)
2854 .PHONY: installdirs
2855 installdirs: mkinstalldirs
2856 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2858 dir.info: do-install-info
2859 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2860 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2861 mv -f dir.info.new dir.info; \
2862 else true; \
2865 dist:
2866 @echo "Building a full distribution of this tree isn't done"
2867 @echo "via 'make dist'. Check out the etc/ subdirectory"
2869 etags tags: TAGS
2871 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2872 # ability to use several tags files at once, so there is probably no need
2873 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2874 # (if we felt like it) have this Makefile write a piece of elisp which
2875 # the user could load to tell emacs19 where all the TAGS files we just
2876 # built are.
2877 TAGS: do-TAGS
2879 # ------------------------------------
2880 # Macros for configure and all targets
2881 # ------------------------------------
2887 # --------------------------------------
2888 # Modules which run on the build machine
2889 # --------------------------------------
2892 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2893 maybe-configure-build-libiberty:
2894 @if gcc-bootstrap
2895 configure-build-libiberty: stage_current
2896 @endif gcc-bootstrap
2897 @if build-libiberty
2898 maybe-configure-build-libiberty: configure-build-libiberty
2899 configure-build-libiberty:
2900 @: $(MAKE); $(unstage)
2901 @r=`${PWD_COMMAND}`; export r; \
2902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2903 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2904 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2905 $(BUILD_EXPORTS) \
2906 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2907 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2908 case $(srcdir) in \
2909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2910 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2912 esac; \
2913 module_srcdir=libiberty; \
2914 rm -f no-such-file || : ; \
2915 CONFIG_SITE=no-such-file $(SHELL) \
2916 $$s/$$module_srcdir/configure \
2917 --srcdir=$${topdir}/$$module_srcdir \
2918 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2919 --target=${target_alias} \
2920 || exit 1
2921 @endif build-libiberty
2927 .PHONY: all-build-libiberty maybe-all-build-libiberty
2928 maybe-all-build-libiberty:
2929 @if gcc-bootstrap
2930 all-build-libiberty: stage_current
2931 @endif gcc-bootstrap
2932 @if build-libiberty
2933 TARGET-build-libiberty=all
2934 maybe-all-build-libiberty: all-build-libiberty
2935 all-build-libiberty: configure-build-libiberty
2936 @: $(MAKE); $(unstage)
2937 @r=`${PWD_COMMAND}`; export r; \
2938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2939 $(BUILD_EXPORTS) \
2940 (cd $(BUILD_SUBDIR)/libiberty && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2942 $(TARGET-build-libiberty))
2943 @endif build-libiberty
2949 .PHONY: configure-build-bison maybe-configure-build-bison
2950 maybe-configure-build-bison:
2951 @if gcc-bootstrap
2952 configure-build-bison: stage_current
2953 @endif gcc-bootstrap
2954 @if build-bison
2955 maybe-configure-build-bison: configure-build-bison
2956 configure-build-bison:
2957 @: $(MAKE); $(unstage)
2958 @r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2961 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2962 $(BUILD_EXPORTS) \
2963 echo Configuring in $(BUILD_SUBDIR)/bison; \
2964 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2965 case $(srcdir) in \
2966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2967 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2969 esac; \
2970 module_srcdir=bison; \
2971 rm -f no-such-file || : ; \
2972 CONFIG_SITE=no-such-file $(SHELL) \
2973 $$s/$$module_srcdir/configure \
2974 --srcdir=$${topdir}/$$module_srcdir \
2975 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2976 --target=${target_alias} \
2977 || exit 1
2978 @endif build-bison
2984 .PHONY: all-build-bison maybe-all-build-bison
2985 maybe-all-build-bison:
2986 @if gcc-bootstrap
2987 all-build-bison: stage_current
2988 @endif gcc-bootstrap
2989 @if build-bison
2990 TARGET-build-bison=all
2991 maybe-all-build-bison: all-build-bison
2992 all-build-bison: configure-build-bison
2993 @: $(MAKE); $(unstage)
2994 @r=`${PWD_COMMAND}`; export r; \
2995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2996 $(BUILD_EXPORTS) \
2997 (cd $(BUILD_SUBDIR)/bison && \
2998 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2999 $(TARGET-build-bison))
3000 @endif build-bison
3006 .PHONY: configure-build-flex maybe-configure-build-flex
3007 maybe-configure-build-flex:
3008 @if gcc-bootstrap
3009 configure-build-flex: stage_current
3010 @endif gcc-bootstrap
3011 @if build-flex
3012 maybe-configure-build-flex: configure-build-flex
3013 configure-build-flex:
3014 @: $(MAKE); $(unstage)
3015 @r=`${PWD_COMMAND}`; export r; \
3016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3017 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3018 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
3019 $(BUILD_EXPORTS) \
3020 echo Configuring in $(BUILD_SUBDIR)/flex; \
3021 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3022 case $(srcdir) in \
3023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3024 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3026 esac; \
3027 module_srcdir=flex; \
3028 rm -f no-such-file || : ; \
3029 CONFIG_SITE=no-such-file $(SHELL) \
3030 $$s/$$module_srcdir/configure \
3031 --srcdir=$${topdir}/$$module_srcdir \
3032 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3033 --target=${target_alias} \
3034 || exit 1
3035 @endif build-flex
3041 .PHONY: all-build-flex maybe-all-build-flex
3042 maybe-all-build-flex:
3043 @if gcc-bootstrap
3044 all-build-flex: stage_current
3045 @endif gcc-bootstrap
3046 @if build-flex
3047 TARGET-build-flex=all
3048 maybe-all-build-flex: all-build-flex
3049 all-build-flex: configure-build-flex
3050 @: $(MAKE); $(unstage)
3051 @r=`${PWD_COMMAND}`; export r; \
3052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3053 $(BUILD_EXPORTS) \
3054 (cd $(BUILD_SUBDIR)/flex && \
3055 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3056 $(TARGET-build-flex))
3057 @endif build-flex
3063 .PHONY: configure-build-m4 maybe-configure-build-m4
3064 maybe-configure-build-m4:
3065 @if gcc-bootstrap
3066 configure-build-m4: stage_current
3067 @endif gcc-bootstrap
3068 @if build-m4
3069 maybe-configure-build-m4: configure-build-m4
3070 configure-build-m4:
3071 @: $(MAKE); $(unstage)
3072 @r=`${PWD_COMMAND}`; export r; \
3073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3074 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3075 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
3076 $(BUILD_EXPORTS) \
3077 echo Configuring in $(BUILD_SUBDIR)/m4; \
3078 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3079 case $(srcdir) in \
3080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3081 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3083 esac; \
3084 module_srcdir=m4; \
3085 rm -f no-such-file || : ; \
3086 CONFIG_SITE=no-such-file $(SHELL) \
3087 $$s/$$module_srcdir/configure \
3088 --srcdir=$${topdir}/$$module_srcdir \
3089 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3090 --target=${target_alias} \
3091 || exit 1
3092 @endif build-m4
3098 .PHONY: all-build-m4 maybe-all-build-m4
3099 maybe-all-build-m4:
3100 @if gcc-bootstrap
3101 all-build-m4: stage_current
3102 @endif gcc-bootstrap
3103 @if build-m4
3104 TARGET-build-m4=all
3105 maybe-all-build-m4: all-build-m4
3106 all-build-m4: configure-build-m4
3107 @: $(MAKE); $(unstage)
3108 @r=`${PWD_COMMAND}`; export r; \
3109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3110 $(BUILD_EXPORTS) \
3111 (cd $(BUILD_SUBDIR)/m4 && \
3112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3113 $(TARGET-build-m4))
3114 @endif build-m4
3120 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3121 maybe-configure-build-texinfo:
3122 @if gcc-bootstrap
3123 configure-build-texinfo: stage_current
3124 @endif gcc-bootstrap
3125 @if build-texinfo
3126 maybe-configure-build-texinfo: configure-build-texinfo
3127 configure-build-texinfo:
3128 @: $(MAKE); $(unstage)
3129 @r=`${PWD_COMMAND}`; export r; \
3130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3131 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3132 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3133 $(BUILD_EXPORTS) \
3134 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3135 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3136 case $(srcdir) in \
3137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3138 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3140 esac; \
3141 module_srcdir=texinfo; \
3142 rm -f no-such-file || : ; \
3143 CONFIG_SITE=no-such-file $(SHELL) \
3144 $$s/$$module_srcdir/configure \
3145 --srcdir=$${topdir}/$$module_srcdir \
3146 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3147 --target=${target_alias} \
3148 || exit 1
3149 @endif build-texinfo
3155 .PHONY: all-build-texinfo maybe-all-build-texinfo
3156 maybe-all-build-texinfo:
3157 @if gcc-bootstrap
3158 all-build-texinfo: stage_current
3159 @endif gcc-bootstrap
3160 @if build-texinfo
3161 TARGET-build-texinfo=all
3162 maybe-all-build-texinfo: all-build-texinfo
3163 all-build-texinfo: configure-build-texinfo
3164 @: $(MAKE); $(unstage)
3165 @r=`${PWD_COMMAND}`; export r; \
3166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3167 $(BUILD_EXPORTS) \
3168 (cd $(BUILD_SUBDIR)/texinfo && \
3169 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3170 $(TARGET-build-texinfo))
3171 @endif build-texinfo
3177 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3178 maybe-configure-build-fixincludes:
3179 @if gcc-bootstrap
3180 configure-build-fixincludes: stage_current
3181 @endif gcc-bootstrap
3182 @if build-fixincludes
3183 maybe-configure-build-fixincludes: configure-build-fixincludes
3184 configure-build-fixincludes:
3185 @: $(MAKE); $(unstage)
3186 @r=`${PWD_COMMAND}`; export r; \
3187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3188 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3189 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3190 $(BUILD_EXPORTS) \
3191 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3192 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3193 case $(srcdir) in \
3194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3195 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3197 esac; \
3198 module_srcdir=fixincludes; \
3199 rm -f no-such-file || : ; \
3200 CONFIG_SITE=no-such-file $(SHELL) \
3201 $$s/$$module_srcdir/configure \
3202 --srcdir=$${topdir}/$$module_srcdir \
3203 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3204 --target=${target_alias} \
3205 || exit 1
3206 @endif build-fixincludes
3212 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3213 maybe-all-build-fixincludes:
3214 @if gcc-bootstrap
3215 all-build-fixincludes: stage_current
3216 @endif gcc-bootstrap
3217 @if build-fixincludes
3218 TARGET-build-fixincludes=all
3219 maybe-all-build-fixincludes: all-build-fixincludes
3220 all-build-fixincludes: configure-build-fixincludes
3221 @: $(MAKE); $(unstage)
3222 @r=`${PWD_COMMAND}`; export r; \
3223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3224 $(BUILD_EXPORTS) \
3225 (cd $(BUILD_SUBDIR)/fixincludes && \
3226 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3227 $(TARGET-build-fixincludes))
3228 @endif build-fixincludes
3234 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3235 maybe-configure-build-libcpp:
3236 @if gcc-bootstrap
3237 configure-build-libcpp: stage_current
3238 @endif gcc-bootstrap
3239 @if build-libcpp
3240 maybe-configure-build-libcpp: configure-build-libcpp
3241 configure-build-libcpp:
3242 @: $(MAKE); $(unstage)
3243 @r=`${PWD_COMMAND}`; export r; \
3244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3246 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3247 $(BUILD_EXPORTS) \
3248 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3249 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3250 case $(srcdir) in \
3251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3252 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3254 esac; \
3255 module_srcdir=libcpp; \
3256 rm -f no-such-file || : ; \
3257 CONFIG_SITE=no-such-file $(SHELL) \
3258 $$s/$$module_srcdir/configure \
3259 --srcdir=$${topdir}/$$module_srcdir \
3260 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3261 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3262 || exit 1
3263 @endif build-libcpp
3269 .PHONY: all-build-libcpp maybe-all-build-libcpp
3270 maybe-all-build-libcpp:
3271 @if gcc-bootstrap
3272 all-build-libcpp: stage_current
3273 @endif gcc-bootstrap
3274 @if build-libcpp
3275 TARGET-build-libcpp=all
3276 maybe-all-build-libcpp: all-build-libcpp
3277 all-build-libcpp: configure-build-libcpp
3278 @: $(MAKE); $(unstage)
3279 @r=`${PWD_COMMAND}`; export r; \
3280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3281 $(BUILD_EXPORTS) \
3282 (cd $(BUILD_SUBDIR)/libcpp && \
3283 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3284 $(TARGET-build-libcpp))
3285 @endif build-libcpp
3291 # --------------------------------------
3292 # Modules which run on the host machine
3293 # --------------------------------------
3296 .PHONY: configure-bfd maybe-configure-bfd
3297 maybe-configure-bfd:
3298 @if gcc-bootstrap
3299 configure-bfd: stage_current
3300 @endif gcc-bootstrap
3301 @if bfd
3302 maybe-configure-bfd: configure-bfd
3303 configure-bfd:
3304 @r=`${PWD_COMMAND}`; export r; \
3305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3306 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3308 $(HOST_EXPORTS) \
3309 echo Configuring in $(HOST_SUBDIR)/bfd; \
3310 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3311 case $(srcdir) in \
3312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3313 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3315 esac; \
3316 module_srcdir=bfd; \
3317 $(SHELL) \
3318 $$s/$$module_srcdir/configure \
3319 --srcdir=$${topdir}/$$module_srcdir \
3320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3321 --target=${target_alias} \
3322 || exit 1
3323 @endif bfd
3327 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3328 maybe-configure-stage1-bfd:
3329 @if bfd-bootstrap
3330 maybe-configure-stage1-bfd: configure-stage1-bfd
3331 configure-stage1-bfd:
3332 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3334 @r=`${PWD_COMMAND}`; export r; \
3335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3336 TFLAGS="$(STAGE1_TFLAGS)"; \
3337 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3338 $(HOST_EXPORTS) \
3339 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3340 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3341 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3342 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3344 cd $(HOST_SUBDIR)/bfd || exit 1; \
3345 case $(srcdir) in \
3346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3347 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3349 esac; \
3350 module_srcdir=bfd; \
3351 $(SHELL) $$s/$$module_srcdir/configure \
3352 --srcdir=$${topdir}/$$module_srcdir \
3353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3354 --target=${target_alias} \
3356 $(STAGE1_CONFIGURE_FLAGS)
3357 @endif bfd-bootstrap
3359 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3360 maybe-configure-stage2-bfd:
3361 @if bfd-bootstrap
3362 maybe-configure-stage2-bfd: configure-stage2-bfd
3363 configure-stage2-bfd:
3364 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3366 @r=`${PWD_COMMAND}`; export r; \
3367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3368 TFLAGS="$(STAGE2_TFLAGS)"; \
3369 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3370 $(HOST_EXPORTS) \
3371 $(POSTSTAGE1_HOST_EXPORTS) \
3372 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3373 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3374 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3375 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3377 cd $(HOST_SUBDIR)/bfd || exit 1; \
3378 case $(srcdir) in \
3379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3380 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3382 esac; \
3383 module_srcdir=bfd; \
3384 $(SHELL) $$s/$$module_srcdir/configure \
3385 --srcdir=$${topdir}/$$module_srcdir \
3386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3387 --target=${target_alias} \
3388 --with-build-libsubdir=$(HOST_SUBDIR) \
3389 $(STAGE2_CONFIGURE_FLAGS)
3390 @endif bfd-bootstrap
3392 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3393 maybe-configure-stage3-bfd:
3394 @if bfd-bootstrap
3395 maybe-configure-stage3-bfd: configure-stage3-bfd
3396 configure-stage3-bfd:
3397 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3398 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3399 @r=`${PWD_COMMAND}`; export r; \
3400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3401 TFLAGS="$(STAGE3_TFLAGS)"; \
3402 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3403 $(HOST_EXPORTS) \
3404 $(POSTSTAGE1_HOST_EXPORTS) \
3405 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3406 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3407 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3408 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3410 cd $(HOST_SUBDIR)/bfd || exit 1; \
3411 case $(srcdir) in \
3412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3413 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3415 esac; \
3416 module_srcdir=bfd; \
3417 $(SHELL) $$s/$$module_srcdir/configure \
3418 --srcdir=$${topdir}/$$module_srcdir \
3419 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3420 --target=${target_alias} \
3421 --with-build-libsubdir=$(HOST_SUBDIR) \
3422 $(STAGE3_CONFIGURE_FLAGS)
3423 @endif bfd-bootstrap
3425 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3426 maybe-configure-stage4-bfd:
3427 @if bfd-bootstrap
3428 maybe-configure-stage4-bfd: configure-stage4-bfd
3429 configure-stage4-bfd:
3430 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3432 @r=`${PWD_COMMAND}`; export r; \
3433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3434 TFLAGS="$(STAGE4_TFLAGS)"; \
3435 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3436 $(HOST_EXPORTS) \
3437 $(POSTSTAGE1_HOST_EXPORTS) \
3438 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3439 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3440 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3441 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3443 cd $(HOST_SUBDIR)/bfd || exit 1; \
3444 case $(srcdir) in \
3445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3446 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3448 esac; \
3449 module_srcdir=bfd; \
3450 $(SHELL) $$s/$$module_srcdir/configure \
3451 --srcdir=$${topdir}/$$module_srcdir \
3452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3453 --target=${target_alias} \
3454 --with-build-libsubdir=$(HOST_SUBDIR) \
3455 $(STAGE4_CONFIGURE_FLAGS)
3456 @endif bfd-bootstrap
3458 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3459 maybe-configure-stageprofile-bfd:
3460 @if bfd-bootstrap
3461 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3462 configure-stageprofile-bfd:
3463 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3464 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3465 @r=`${PWD_COMMAND}`; export r; \
3466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3468 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3469 $(HOST_EXPORTS) \
3470 $(POSTSTAGE1_HOST_EXPORTS) \
3471 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3472 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3473 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3474 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3476 cd $(HOST_SUBDIR)/bfd || exit 1; \
3477 case $(srcdir) in \
3478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3479 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3481 esac; \
3482 module_srcdir=bfd; \
3483 $(SHELL) $$s/$$module_srcdir/configure \
3484 --srcdir=$${topdir}/$$module_srcdir \
3485 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3486 --target=${target_alias} \
3487 --with-build-libsubdir=$(HOST_SUBDIR) \
3488 $(STAGEprofile_CONFIGURE_FLAGS)
3489 @endif bfd-bootstrap
3491 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3492 maybe-configure-stagetrain-bfd:
3493 @if bfd-bootstrap
3494 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3495 configure-stagetrain-bfd:
3496 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3497 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3498 @r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3501 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3502 $(HOST_EXPORTS) \
3503 $(POSTSTAGE1_HOST_EXPORTS) \
3504 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3505 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3506 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3507 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3509 cd $(HOST_SUBDIR)/bfd || exit 1; \
3510 case $(srcdir) in \
3511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3512 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3514 esac; \
3515 module_srcdir=bfd; \
3516 $(SHELL) $$s/$$module_srcdir/configure \
3517 --srcdir=$${topdir}/$$module_srcdir \
3518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3519 --target=${target_alias} \
3520 --with-build-libsubdir=$(HOST_SUBDIR) \
3521 $(STAGEtrain_CONFIGURE_FLAGS)
3522 @endif bfd-bootstrap
3524 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3525 maybe-configure-stagefeedback-bfd:
3526 @if bfd-bootstrap
3527 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3528 configure-stagefeedback-bfd:
3529 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3530 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3531 @r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3534 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3535 $(HOST_EXPORTS) \
3536 $(POSTSTAGE1_HOST_EXPORTS) \
3537 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3538 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3539 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3540 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3542 cd $(HOST_SUBDIR)/bfd || exit 1; \
3543 case $(srcdir) in \
3544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3545 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3547 esac; \
3548 module_srcdir=bfd; \
3549 $(SHELL) $$s/$$module_srcdir/configure \
3550 --srcdir=$${topdir}/$$module_srcdir \
3551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3552 --target=${target_alias} \
3553 --with-build-libsubdir=$(HOST_SUBDIR) \
3554 $(STAGEfeedback_CONFIGURE_FLAGS)
3555 @endif bfd-bootstrap
3557 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3558 maybe-configure-stageautoprofile-bfd:
3559 @if bfd-bootstrap
3560 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3561 configure-stageautoprofile-bfd:
3562 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3563 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3564 @r=`${PWD_COMMAND}`; export r; \
3565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3566 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3567 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3568 $(HOST_EXPORTS) \
3569 $(POSTSTAGE1_HOST_EXPORTS) \
3570 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3571 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3572 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3573 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3575 cd $(HOST_SUBDIR)/bfd || exit 1; \
3576 case $(srcdir) in \
3577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3578 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3580 esac; \
3581 module_srcdir=bfd; \
3582 $(SHELL) $$s/$$module_srcdir/configure \
3583 --srcdir=$${topdir}/$$module_srcdir \
3584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3585 --target=${target_alias} \
3586 --with-build-libsubdir=$(HOST_SUBDIR) \
3587 $(STAGEautoprofile_CONFIGURE_FLAGS)
3588 @endif bfd-bootstrap
3590 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3591 maybe-configure-stageautofeedback-bfd:
3592 @if bfd-bootstrap
3593 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3594 configure-stageautofeedback-bfd:
3595 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3596 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3597 @r=`${PWD_COMMAND}`; export r; \
3598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3599 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3600 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3601 $(HOST_EXPORTS) \
3602 $(POSTSTAGE1_HOST_EXPORTS) \
3603 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3604 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3605 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3606 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3608 cd $(HOST_SUBDIR)/bfd || exit 1; \
3609 case $(srcdir) in \
3610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3611 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3613 esac; \
3614 module_srcdir=bfd; \
3615 $(SHELL) $$s/$$module_srcdir/configure \
3616 --srcdir=$${topdir}/$$module_srcdir \
3617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3618 --target=${target_alias} \
3619 --with-build-libsubdir=$(HOST_SUBDIR) \
3620 $(STAGEautofeedback_CONFIGURE_FLAGS)
3621 @endif bfd-bootstrap
3627 .PHONY: all-bfd maybe-all-bfd
3628 maybe-all-bfd:
3629 @if gcc-bootstrap
3630 all-bfd: stage_current
3631 @endif gcc-bootstrap
3632 @if bfd
3633 TARGET-bfd=all
3634 maybe-all-bfd: all-bfd
3635 all-bfd: configure-bfd
3636 @r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3638 $(HOST_EXPORTS) \
3639 (cd $(HOST_SUBDIR)/bfd && \
3640 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3641 $(TARGET-bfd))
3642 @endif bfd
3646 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3647 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3648 maybe-all-stage1-bfd:
3649 maybe-clean-stage1-bfd:
3650 @if bfd-bootstrap
3651 maybe-all-stage1-bfd: all-stage1-bfd
3652 all-stage1: all-stage1-bfd
3653 TARGET-stage1-bfd = $(TARGET-bfd)
3654 all-stage1-bfd: configure-stage1-bfd
3655 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3656 @r=`${PWD_COMMAND}`; export r; \
3657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3658 TFLAGS="$(STAGE1_TFLAGS)"; \
3659 $(HOST_EXPORTS) \
3660 cd $(HOST_SUBDIR)/bfd && \
3662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3663 CFLAGS="$(STAGE1_CFLAGS)" \
3664 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
3665 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3666 LIBCFLAGS="$(LIBCFLAGS)" \
3667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3670 $(EXTRA_HOST_FLAGS) \
3671 $(STAGE1_FLAGS_TO_PASS) \
3672 TFLAGS="$(STAGE1_TFLAGS)" \
3673 $(TARGET-stage1-bfd)
3675 maybe-clean-stage1-bfd: clean-stage1-bfd
3676 clean-stage1: clean-stage1-bfd
3677 clean-stage1-bfd:
3678 @if [ $(current_stage) = stage1 ]; then \
3679 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3680 else \
3681 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3682 $(MAKE) stage1-start; \
3683 fi; \
3684 cd $(HOST_SUBDIR)/bfd && \
3685 $(MAKE) $(EXTRA_HOST_FLAGS) \
3686 $(STAGE1_FLAGS_TO_PASS) clean
3687 @endif bfd-bootstrap
3690 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3691 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3692 maybe-all-stage2-bfd:
3693 maybe-clean-stage2-bfd:
3694 @if bfd-bootstrap
3695 maybe-all-stage2-bfd: all-stage2-bfd
3696 all-stage2: all-stage2-bfd
3697 TARGET-stage2-bfd = $(TARGET-bfd)
3698 all-stage2-bfd: configure-stage2-bfd
3699 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3700 @r=`${PWD_COMMAND}`; export r; \
3701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3702 TFLAGS="$(STAGE2_TFLAGS)"; \
3703 $(HOST_EXPORTS) \
3704 $(POSTSTAGE1_HOST_EXPORTS) \
3705 cd $(HOST_SUBDIR)/bfd && \
3707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3708 CFLAGS="$(STAGE2_CFLAGS)" \
3709 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
3710 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3711 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3712 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3715 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3716 TFLAGS="$(STAGE2_TFLAGS)" \
3717 $(TARGET-stage2-bfd)
3719 maybe-clean-stage2-bfd: clean-stage2-bfd
3720 clean-stage2: clean-stage2-bfd
3721 clean-stage2-bfd:
3722 @if [ $(current_stage) = stage2 ]; then \
3723 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3724 else \
3725 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3726 $(MAKE) stage2-start; \
3727 fi; \
3728 cd $(HOST_SUBDIR)/bfd && \
3729 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3730 @endif bfd-bootstrap
3733 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3734 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3735 maybe-all-stage3-bfd:
3736 maybe-clean-stage3-bfd:
3737 @if bfd-bootstrap
3738 maybe-all-stage3-bfd: all-stage3-bfd
3739 all-stage3: all-stage3-bfd
3740 TARGET-stage3-bfd = $(TARGET-bfd)
3741 all-stage3-bfd: configure-stage3-bfd
3742 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3743 @r=`${PWD_COMMAND}`; export r; \
3744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3745 TFLAGS="$(STAGE3_TFLAGS)"; \
3746 $(HOST_EXPORTS) \
3747 $(POSTSTAGE1_HOST_EXPORTS) \
3748 cd $(HOST_SUBDIR)/bfd && \
3750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3751 CFLAGS="$(STAGE3_CFLAGS)" \
3752 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
3753 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3754 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3755 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3756 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3757 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3758 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3759 TFLAGS="$(STAGE3_TFLAGS)" \
3760 $(TARGET-stage3-bfd)
3762 maybe-clean-stage3-bfd: clean-stage3-bfd
3763 clean-stage3: clean-stage3-bfd
3764 clean-stage3-bfd:
3765 @if [ $(current_stage) = stage3 ]; then \
3766 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3767 else \
3768 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3769 $(MAKE) stage3-start; \
3770 fi; \
3771 cd $(HOST_SUBDIR)/bfd && \
3772 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3773 @endif bfd-bootstrap
3776 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3777 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3778 maybe-all-stage4-bfd:
3779 maybe-clean-stage4-bfd:
3780 @if bfd-bootstrap
3781 maybe-all-stage4-bfd: all-stage4-bfd
3782 all-stage4: all-stage4-bfd
3783 TARGET-stage4-bfd = $(TARGET-bfd)
3784 all-stage4-bfd: configure-stage4-bfd
3785 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3786 @r=`${PWD_COMMAND}`; export r; \
3787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3788 TFLAGS="$(STAGE4_TFLAGS)"; \
3789 $(HOST_EXPORTS) \
3790 $(POSTSTAGE1_HOST_EXPORTS) \
3791 cd $(HOST_SUBDIR)/bfd && \
3793 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3794 CFLAGS="$(STAGE4_CFLAGS)" \
3795 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
3796 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3797 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3798 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3799 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3800 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3801 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3802 TFLAGS="$(STAGE4_TFLAGS)" \
3803 $(TARGET-stage4-bfd)
3805 maybe-clean-stage4-bfd: clean-stage4-bfd
3806 clean-stage4: clean-stage4-bfd
3807 clean-stage4-bfd:
3808 @if [ $(current_stage) = stage4 ]; then \
3809 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3810 else \
3811 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3812 $(MAKE) stage4-start; \
3813 fi; \
3814 cd $(HOST_SUBDIR)/bfd && \
3815 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3816 @endif bfd-bootstrap
3819 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3820 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3821 maybe-all-stageprofile-bfd:
3822 maybe-clean-stageprofile-bfd:
3823 @if bfd-bootstrap
3824 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3825 all-stageprofile: all-stageprofile-bfd
3826 TARGET-stageprofile-bfd = $(TARGET-bfd)
3827 all-stageprofile-bfd: configure-stageprofile-bfd
3828 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3829 @r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3832 $(HOST_EXPORTS) \
3833 $(POSTSTAGE1_HOST_EXPORTS) \
3834 cd $(HOST_SUBDIR)/bfd && \
3836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3837 CFLAGS="$(STAGEprofile_CFLAGS)" \
3838 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
3839 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3840 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3841 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3842 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3843 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3844 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3845 TFLAGS="$(STAGEprofile_TFLAGS)" \
3846 $(TARGET-stageprofile-bfd)
3848 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3849 clean-stageprofile: clean-stageprofile-bfd
3850 clean-stageprofile-bfd:
3851 @if [ $(current_stage) = stageprofile ]; then \
3852 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3853 else \
3854 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3855 $(MAKE) stageprofile-start; \
3856 fi; \
3857 cd $(HOST_SUBDIR)/bfd && \
3858 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3859 @endif bfd-bootstrap
3862 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3863 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3864 maybe-all-stagetrain-bfd:
3865 maybe-clean-stagetrain-bfd:
3866 @if bfd-bootstrap
3867 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3868 all-stagetrain: all-stagetrain-bfd
3869 TARGET-stagetrain-bfd = $(TARGET-bfd)
3870 all-stagetrain-bfd: configure-stagetrain-bfd
3871 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3872 @r=`${PWD_COMMAND}`; export r; \
3873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3874 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3875 $(HOST_EXPORTS) \
3876 $(POSTSTAGE1_HOST_EXPORTS) \
3877 cd $(HOST_SUBDIR)/bfd && \
3879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3880 CFLAGS="$(STAGEtrain_CFLAGS)" \
3881 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
3882 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3883 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3888 TFLAGS="$(STAGEtrain_TFLAGS)" \
3889 $(TARGET-stagetrain-bfd)
3891 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3892 clean-stagetrain: clean-stagetrain-bfd
3893 clean-stagetrain-bfd:
3894 @if [ $(current_stage) = stagetrain ]; then \
3895 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3896 else \
3897 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3898 $(MAKE) stagetrain-start; \
3899 fi; \
3900 cd $(HOST_SUBDIR)/bfd && \
3901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3902 @endif bfd-bootstrap
3905 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3906 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3907 maybe-all-stagefeedback-bfd:
3908 maybe-clean-stagefeedback-bfd:
3909 @if bfd-bootstrap
3910 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3911 all-stagefeedback: all-stagefeedback-bfd
3912 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3913 all-stagefeedback-bfd: configure-stagefeedback-bfd
3914 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3915 @r=`${PWD_COMMAND}`; export r; \
3916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3917 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3918 $(HOST_EXPORTS) \
3919 $(POSTSTAGE1_HOST_EXPORTS) \
3920 cd $(HOST_SUBDIR)/bfd && \
3922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3923 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3924 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
3925 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3926 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3930 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3931 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3932 $(TARGET-stagefeedback-bfd)
3934 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3935 clean-stagefeedback: clean-stagefeedback-bfd
3936 clean-stagefeedback-bfd:
3937 @if [ $(current_stage) = stagefeedback ]; then \
3938 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3939 else \
3940 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3941 $(MAKE) stagefeedback-start; \
3942 fi; \
3943 cd $(HOST_SUBDIR)/bfd && \
3944 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3945 @endif bfd-bootstrap
3948 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3949 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3950 maybe-all-stageautoprofile-bfd:
3951 maybe-clean-stageautoprofile-bfd:
3952 @if bfd-bootstrap
3953 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3954 all-stageautoprofile: all-stageautoprofile-bfd
3955 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3956 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3957 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3958 @r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3961 $(HOST_EXPORTS) \
3962 $(POSTSTAGE1_HOST_EXPORTS) \
3963 cd $(HOST_SUBDIR)/bfd && \
3964 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3966 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3967 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
3968 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3969 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3973 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3974 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3975 $(TARGET-stageautoprofile-bfd)
3977 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3978 clean-stageautoprofile: clean-stageautoprofile-bfd
3979 clean-stageautoprofile-bfd:
3980 @if [ $(current_stage) = stageautoprofile ]; then \
3981 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3982 else \
3983 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3984 $(MAKE) stageautoprofile-start; \
3985 fi; \
3986 cd $(HOST_SUBDIR)/bfd && \
3987 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3988 @endif bfd-bootstrap
3991 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3992 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3993 maybe-all-stageautofeedback-bfd:
3994 maybe-clean-stageautofeedback-bfd:
3995 @if bfd-bootstrap
3996 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3997 all-stageautofeedback: all-stageautofeedback-bfd
3998 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3999 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
4000 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4001 @r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4004 $(HOST_EXPORTS) \
4005 $(POSTSTAGE1_HOST_EXPORTS) \
4006 cd $(HOST_SUBDIR)/bfd && \
4008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4009 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4010 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
4011 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4012 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4017 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4018 $(TARGET-stageautofeedback-bfd)
4020 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
4021 clean-stageautofeedback: clean-stageautofeedback-bfd
4022 clean-stageautofeedback-bfd:
4023 @if [ $(current_stage) = stageautofeedback ]; then \
4024 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4025 else \
4026 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
4027 $(MAKE) stageautofeedback-start; \
4028 fi; \
4029 cd $(HOST_SUBDIR)/bfd && \
4030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4031 @endif bfd-bootstrap
4037 .PHONY: check-bfd maybe-check-bfd
4038 maybe-check-bfd:
4039 @if bfd
4040 maybe-check-bfd: check-bfd
4042 check-bfd:
4043 @: $(MAKE); $(unstage)
4044 @r=`${PWD_COMMAND}`; export r; \
4045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4046 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4047 (cd $(HOST_SUBDIR)/bfd && \
4048 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4050 @endif bfd
4052 .PHONY: install-bfd maybe-install-bfd
4053 maybe-install-bfd:
4054 @if bfd
4055 maybe-install-bfd: install-bfd
4057 install-bfd: installdirs
4058 @: $(MAKE); $(unstage)
4059 @r=`${PWD_COMMAND}`; export r; \
4060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061 $(HOST_EXPORTS) \
4062 (cd $(HOST_SUBDIR)/bfd && \
4063 $(MAKE) $(FLAGS_TO_PASS) install)
4065 @endif bfd
4067 .PHONY: install-strip-bfd maybe-install-strip-bfd
4068 maybe-install-strip-bfd:
4069 @if bfd
4070 maybe-install-strip-bfd: install-strip-bfd
4072 install-strip-bfd: installdirs
4073 @: $(MAKE); $(unstage)
4074 @r=`${PWD_COMMAND}`; export r; \
4075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4076 $(HOST_EXPORTS) \
4077 (cd $(HOST_SUBDIR)/bfd && \
4078 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4080 @endif bfd
4082 # Other targets (info, dvi, pdf, etc.)
4084 .PHONY: maybe-info-bfd info-bfd
4085 maybe-info-bfd:
4086 @if bfd
4087 maybe-info-bfd: info-bfd
4089 info-bfd: \
4090 configure-bfd
4091 @[ -f ./bfd/Makefile ] || exit 0; \
4092 r=`${PWD_COMMAND}`; export r; \
4093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4094 $(HOST_EXPORTS) \
4095 for flag in $(EXTRA_HOST_FLAGS) ; do \
4096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4097 done; \
4098 echo "Doing info in bfd"; \
4099 (cd $(HOST_SUBDIR)/bfd && \
4100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4102 "RANLIB=$${RANLIB}" \
4103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4104 info) \
4105 || exit 1
4107 @endif bfd
4109 .PHONY: maybe-dvi-bfd dvi-bfd
4110 maybe-dvi-bfd:
4111 @if bfd
4112 maybe-dvi-bfd: dvi-bfd
4114 dvi-bfd: \
4115 configure-bfd
4116 @[ -f ./bfd/Makefile ] || exit 0; \
4117 r=`${PWD_COMMAND}`; export r; \
4118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4119 $(HOST_EXPORTS) \
4120 for flag in $(EXTRA_HOST_FLAGS) ; do \
4121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4122 done; \
4123 echo "Doing dvi in bfd"; \
4124 (cd $(HOST_SUBDIR)/bfd && \
4125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4127 "RANLIB=$${RANLIB}" \
4128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4129 dvi) \
4130 || exit 1
4132 @endif bfd
4134 .PHONY: maybe-pdf-bfd pdf-bfd
4135 maybe-pdf-bfd:
4136 @if bfd
4137 maybe-pdf-bfd: pdf-bfd
4139 pdf-bfd: \
4140 configure-bfd
4141 @[ -f ./bfd/Makefile ] || exit 0; \
4142 r=`${PWD_COMMAND}`; export r; \
4143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4144 $(HOST_EXPORTS) \
4145 for flag in $(EXTRA_HOST_FLAGS) ; do \
4146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4147 done; \
4148 echo "Doing pdf in bfd"; \
4149 (cd $(HOST_SUBDIR)/bfd && \
4150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4152 "RANLIB=$${RANLIB}" \
4153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4154 pdf) \
4155 || exit 1
4157 @endif bfd
4159 .PHONY: maybe-html-bfd html-bfd
4160 maybe-html-bfd:
4161 @if bfd
4162 maybe-html-bfd: html-bfd
4164 html-bfd: \
4165 configure-bfd
4166 @[ -f ./bfd/Makefile ] || exit 0; \
4167 r=`${PWD_COMMAND}`; export r; \
4168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4169 $(HOST_EXPORTS) \
4170 for flag in $(EXTRA_HOST_FLAGS) ; do \
4171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4172 done; \
4173 echo "Doing html in bfd"; \
4174 (cd $(HOST_SUBDIR)/bfd && \
4175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4177 "RANLIB=$${RANLIB}" \
4178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4179 html) \
4180 || exit 1
4182 @endif bfd
4184 .PHONY: maybe-TAGS-bfd TAGS-bfd
4185 maybe-TAGS-bfd:
4186 @if bfd
4187 maybe-TAGS-bfd: TAGS-bfd
4189 TAGS-bfd: \
4190 configure-bfd
4191 @[ -f ./bfd/Makefile ] || exit 0; \
4192 r=`${PWD_COMMAND}`; export r; \
4193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4194 $(HOST_EXPORTS) \
4195 for flag in $(EXTRA_HOST_FLAGS) ; do \
4196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4197 done; \
4198 echo "Doing TAGS in bfd"; \
4199 (cd $(HOST_SUBDIR)/bfd && \
4200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4202 "RANLIB=$${RANLIB}" \
4203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4204 TAGS) \
4205 || exit 1
4207 @endif bfd
4209 .PHONY: maybe-install-info-bfd install-info-bfd
4210 maybe-install-info-bfd:
4211 @if bfd
4212 maybe-install-info-bfd: install-info-bfd
4214 install-info-bfd: \
4215 configure-bfd \
4216 info-bfd
4217 @[ -f ./bfd/Makefile ] || exit 0; \
4218 r=`${PWD_COMMAND}`; export r; \
4219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4220 $(HOST_EXPORTS) \
4221 for flag in $(EXTRA_HOST_FLAGS) ; do \
4222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4223 done; \
4224 echo "Doing install-info in bfd"; \
4225 (cd $(HOST_SUBDIR)/bfd && \
4226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4228 "RANLIB=$${RANLIB}" \
4229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4230 install-info) \
4231 || exit 1
4233 @endif bfd
4235 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4236 maybe-install-pdf-bfd:
4237 @if bfd
4238 maybe-install-pdf-bfd: install-pdf-bfd
4240 install-pdf-bfd: \
4241 configure-bfd \
4242 pdf-bfd
4243 @[ -f ./bfd/Makefile ] || exit 0; \
4244 r=`${PWD_COMMAND}`; export r; \
4245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4246 $(HOST_EXPORTS) \
4247 for flag in $(EXTRA_HOST_FLAGS) ; do \
4248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4249 done; \
4250 echo "Doing install-pdf in bfd"; \
4251 (cd $(HOST_SUBDIR)/bfd && \
4252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4254 "RANLIB=$${RANLIB}" \
4255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4256 install-pdf) \
4257 || exit 1
4259 @endif bfd
4261 .PHONY: maybe-install-html-bfd install-html-bfd
4262 maybe-install-html-bfd:
4263 @if bfd
4264 maybe-install-html-bfd: install-html-bfd
4266 install-html-bfd: \
4267 configure-bfd \
4268 html-bfd
4269 @[ -f ./bfd/Makefile ] || exit 0; \
4270 r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 $(HOST_EXPORTS) \
4273 for flag in $(EXTRA_HOST_FLAGS) ; do \
4274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4275 done; \
4276 echo "Doing install-html in bfd"; \
4277 (cd $(HOST_SUBDIR)/bfd && \
4278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4280 "RANLIB=$${RANLIB}" \
4281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4282 install-html) \
4283 || exit 1
4285 @endif bfd
4287 .PHONY: maybe-installcheck-bfd installcheck-bfd
4288 maybe-installcheck-bfd:
4289 @if bfd
4290 maybe-installcheck-bfd: installcheck-bfd
4292 installcheck-bfd: \
4293 configure-bfd
4294 @[ -f ./bfd/Makefile ] || exit 0; \
4295 r=`${PWD_COMMAND}`; export r; \
4296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4297 $(HOST_EXPORTS) \
4298 for flag in $(EXTRA_HOST_FLAGS) ; do \
4299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4300 done; \
4301 echo "Doing installcheck in bfd"; \
4302 (cd $(HOST_SUBDIR)/bfd && \
4303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4305 "RANLIB=$${RANLIB}" \
4306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4307 installcheck) \
4308 || exit 1
4310 @endif bfd
4312 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4313 maybe-mostlyclean-bfd:
4314 @if bfd
4315 maybe-mostlyclean-bfd: mostlyclean-bfd
4317 mostlyclean-bfd:
4318 @[ -f ./bfd/Makefile ] || exit 0; \
4319 r=`${PWD_COMMAND}`; export r; \
4320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4321 $(HOST_EXPORTS) \
4322 for flag in $(EXTRA_HOST_FLAGS) ; do \
4323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4324 done; \
4325 echo "Doing mostlyclean in bfd"; \
4326 (cd $(HOST_SUBDIR)/bfd && \
4327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4329 "RANLIB=$${RANLIB}" \
4330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4331 mostlyclean) \
4332 || exit 1
4334 @endif bfd
4336 .PHONY: maybe-clean-bfd clean-bfd
4337 maybe-clean-bfd:
4338 @if bfd
4339 maybe-clean-bfd: clean-bfd
4341 clean-bfd:
4342 @[ -f ./bfd/Makefile ] || exit 0; \
4343 r=`${PWD_COMMAND}`; export r; \
4344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4345 $(HOST_EXPORTS) \
4346 for flag in $(EXTRA_HOST_FLAGS) ; do \
4347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4348 done; \
4349 echo "Doing clean in bfd"; \
4350 (cd $(HOST_SUBDIR)/bfd && \
4351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4353 "RANLIB=$${RANLIB}" \
4354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4355 clean) \
4356 || exit 1
4358 @endif bfd
4360 .PHONY: maybe-distclean-bfd distclean-bfd
4361 maybe-distclean-bfd:
4362 @if bfd
4363 maybe-distclean-bfd: distclean-bfd
4365 distclean-bfd:
4366 @[ -f ./bfd/Makefile ] || exit 0; \
4367 r=`${PWD_COMMAND}`; export r; \
4368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4369 $(HOST_EXPORTS) \
4370 for flag in $(EXTRA_HOST_FLAGS) ; do \
4371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4372 done; \
4373 echo "Doing distclean in bfd"; \
4374 (cd $(HOST_SUBDIR)/bfd && \
4375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4377 "RANLIB=$${RANLIB}" \
4378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4379 distclean) \
4380 || exit 1
4382 @endif bfd
4384 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4385 maybe-maintainer-clean-bfd:
4386 @if bfd
4387 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4389 maintainer-clean-bfd:
4390 @[ -f ./bfd/Makefile ] || exit 0; \
4391 r=`${PWD_COMMAND}`; export r; \
4392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4393 $(HOST_EXPORTS) \
4394 for flag in $(EXTRA_HOST_FLAGS) ; do \
4395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4396 done; \
4397 echo "Doing maintainer-clean in bfd"; \
4398 (cd $(HOST_SUBDIR)/bfd && \
4399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4401 "RANLIB=$${RANLIB}" \
4402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4403 maintainer-clean) \
4404 || exit 1
4406 @endif bfd
4410 .PHONY: configure-opcodes maybe-configure-opcodes
4411 maybe-configure-opcodes:
4412 @if gcc-bootstrap
4413 configure-opcodes: stage_current
4414 @endif gcc-bootstrap
4415 @if opcodes
4416 maybe-configure-opcodes: configure-opcodes
4417 configure-opcodes:
4418 @r=`${PWD_COMMAND}`; export r; \
4419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4420 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4422 $(HOST_EXPORTS) \
4423 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4424 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4425 case $(srcdir) in \
4426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4427 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4429 esac; \
4430 module_srcdir=opcodes; \
4431 $(SHELL) \
4432 $$s/$$module_srcdir/configure \
4433 --srcdir=$${topdir}/$$module_srcdir \
4434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4435 --target=${target_alias} \
4436 || exit 1
4437 @endif opcodes
4441 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4442 maybe-configure-stage1-opcodes:
4443 @if opcodes-bootstrap
4444 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4445 configure-stage1-opcodes:
4446 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4448 @r=`${PWD_COMMAND}`; export r; \
4449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4450 TFLAGS="$(STAGE1_TFLAGS)"; \
4451 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4452 $(HOST_EXPORTS) \
4453 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4454 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4455 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4456 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4458 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4459 case $(srcdir) in \
4460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4461 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4463 esac; \
4464 module_srcdir=opcodes; \
4465 $(SHELL) $$s/$$module_srcdir/configure \
4466 --srcdir=$${topdir}/$$module_srcdir \
4467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4468 --target=${target_alias} \
4470 $(STAGE1_CONFIGURE_FLAGS)
4471 @endif opcodes-bootstrap
4473 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4474 maybe-configure-stage2-opcodes:
4475 @if opcodes-bootstrap
4476 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4477 configure-stage2-opcodes:
4478 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4480 @r=`${PWD_COMMAND}`; export r; \
4481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4482 TFLAGS="$(STAGE2_TFLAGS)"; \
4483 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4484 $(HOST_EXPORTS) \
4485 $(POSTSTAGE1_HOST_EXPORTS) \
4486 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4487 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4488 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4489 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4491 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4492 case $(srcdir) in \
4493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4494 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4496 esac; \
4497 module_srcdir=opcodes; \
4498 $(SHELL) $$s/$$module_srcdir/configure \
4499 --srcdir=$${topdir}/$$module_srcdir \
4500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4501 --target=${target_alias} \
4502 --with-build-libsubdir=$(HOST_SUBDIR) \
4503 $(STAGE2_CONFIGURE_FLAGS)
4504 @endif opcodes-bootstrap
4506 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4507 maybe-configure-stage3-opcodes:
4508 @if opcodes-bootstrap
4509 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4510 configure-stage3-opcodes:
4511 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4512 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4513 @r=`${PWD_COMMAND}`; export r; \
4514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4515 TFLAGS="$(STAGE3_TFLAGS)"; \
4516 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4517 $(HOST_EXPORTS) \
4518 $(POSTSTAGE1_HOST_EXPORTS) \
4519 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4520 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4521 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4522 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4523 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4524 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4525 case $(srcdir) in \
4526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4527 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4529 esac; \
4530 module_srcdir=opcodes; \
4531 $(SHELL) $$s/$$module_srcdir/configure \
4532 --srcdir=$${topdir}/$$module_srcdir \
4533 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4534 --target=${target_alias} \
4535 --with-build-libsubdir=$(HOST_SUBDIR) \
4536 $(STAGE3_CONFIGURE_FLAGS)
4537 @endif opcodes-bootstrap
4539 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4540 maybe-configure-stage4-opcodes:
4541 @if opcodes-bootstrap
4542 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4543 configure-stage4-opcodes:
4544 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4546 @r=`${PWD_COMMAND}`; export r; \
4547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 TFLAGS="$(STAGE4_TFLAGS)"; \
4549 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4550 $(HOST_EXPORTS) \
4551 $(POSTSTAGE1_HOST_EXPORTS) \
4552 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4553 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4554 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4555 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4557 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4558 case $(srcdir) in \
4559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4560 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4562 esac; \
4563 module_srcdir=opcodes; \
4564 $(SHELL) $$s/$$module_srcdir/configure \
4565 --srcdir=$${topdir}/$$module_srcdir \
4566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4567 --target=${target_alias} \
4568 --with-build-libsubdir=$(HOST_SUBDIR) \
4569 $(STAGE4_CONFIGURE_FLAGS)
4570 @endif opcodes-bootstrap
4572 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4573 maybe-configure-stageprofile-opcodes:
4574 @if opcodes-bootstrap
4575 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4576 configure-stageprofile-opcodes:
4577 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4579 @r=`${PWD_COMMAND}`; export r; \
4580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4581 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4582 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4583 $(HOST_EXPORTS) \
4584 $(POSTSTAGE1_HOST_EXPORTS) \
4585 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4586 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4587 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4588 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4590 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4591 case $(srcdir) in \
4592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4593 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4595 esac; \
4596 module_srcdir=opcodes; \
4597 $(SHELL) $$s/$$module_srcdir/configure \
4598 --srcdir=$${topdir}/$$module_srcdir \
4599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4600 --target=${target_alias} \
4601 --with-build-libsubdir=$(HOST_SUBDIR) \
4602 $(STAGEprofile_CONFIGURE_FLAGS)
4603 @endif opcodes-bootstrap
4605 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4606 maybe-configure-stagetrain-opcodes:
4607 @if opcodes-bootstrap
4608 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4609 configure-stagetrain-opcodes:
4610 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4612 @r=`${PWD_COMMAND}`; export r; \
4613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4614 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4615 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4616 $(HOST_EXPORTS) \
4617 $(POSTSTAGE1_HOST_EXPORTS) \
4618 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4619 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4620 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4621 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4623 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4624 case $(srcdir) in \
4625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4626 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4628 esac; \
4629 module_srcdir=opcodes; \
4630 $(SHELL) $$s/$$module_srcdir/configure \
4631 --srcdir=$${topdir}/$$module_srcdir \
4632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4633 --target=${target_alias} \
4634 --with-build-libsubdir=$(HOST_SUBDIR) \
4635 $(STAGEtrain_CONFIGURE_FLAGS)
4636 @endif opcodes-bootstrap
4638 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4639 maybe-configure-stagefeedback-opcodes:
4640 @if opcodes-bootstrap
4641 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4642 configure-stagefeedback-opcodes:
4643 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4645 @r=`${PWD_COMMAND}`; export r; \
4646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4647 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4648 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4649 $(HOST_EXPORTS) \
4650 $(POSTSTAGE1_HOST_EXPORTS) \
4651 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4652 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4653 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4654 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4656 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4657 case $(srcdir) in \
4658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4659 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4661 esac; \
4662 module_srcdir=opcodes; \
4663 $(SHELL) $$s/$$module_srcdir/configure \
4664 --srcdir=$${topdir}/$$module_srcdir \
4665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4666 --target=${target_alias} \
4667 --with-build-libsubdir=$(HOST_SUBDIR) \
4668 $(STAGEfeedback_CONFIGURE_FLAGS)
4669 @endif opcodes-bootstrap
4671 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4672 maybe-configure-stageautoprofile-opcodes:
4673 @if opcodes-bootstrap
4674 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4675 configure-stageautoprofile-opcodes:
4676 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4677 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4678 @r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4680 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4681 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4682 $(HOST_EXPORTS) \
4683 $(POSTSTAGE1_HOST_EXPORTS) \
4684 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4685 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4686 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4687 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4689 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4690 case $(srcdir) in \
4691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4692 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4694 esac; \
4695 module_srcdir=opcodes; \
4696 $(SHELL) $$s/$$module_srcdir/configure \
4697 --srcdir=$${topdir}/$$module_srcdir \
4698 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4699 --target=${target_alias} \
4700 --with-build-libsubdir=$(HOST_SUBDIR) \
4701 $(STAGEautoprofile_CONFIGURE_FLAGS)
4702 @endif opcodes-bootstrap
4704 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4705 maybe-configure-stageautofeedback-opcodes:
4706 @if opcodes-bootstrap
4707 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4708 configure-stageautofeedback-opcodes:
4709 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4711 @r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4714 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4715 $(HOST_EXPORTS) \
4716 $(POSTSTAGE1_HOST_EXPORTS) \
4717 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4718 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4719 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4720 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4722 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4723 case $(srcdir) in \
4724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4725 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4727 esac; \
4728 module_srcdir=opcodes; \
4729 $(SHELL) $$s/$$module_srcdir/configure \
4730 --srcdir=$${topdir}/$$module_srcdir \
4731 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4732 --target=${target_alias} \
4733 --with-build-libsubdir=$(HOST_SUBDIR) \
4734 $(STAGEautofeedback_CONFIGURE_FLAGS)
4735 @endif opcodes-bootstrap
4741 .PHONY: all-opcodes maybe-all-opcodes
4742 maybe-all-opcodes:
4743 @if gcc-bootstrap
4744 all-opcodes: stage_current
4745 @endif gcc-bootstrap
4746 @if opcodes
4747 TARGET-opcodes=all
4748 maybe-all-opcodes: all-opcodes
4749 all-opcodes: configure-opcodes
4750 @r=`${PWD_COMMAND}`; export r; \
4751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4752 $(HOST_EXPORTS) \
4753 (cd $(HOST_SUBDIR)/opcodes && \
4754 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4755 $(TARGET-opcodes))
4756 @endif opcodes
4760 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4761 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4762 maybe-all-stage1-opcodes:
4763 maybe-clean-stage1-opcodes:
4764 @if opcodes-bootstrap
4765 maybe-all-stage1-opcodes: all-stage1-opcodes
4766 all-stage1: all-stage1-opcodes
4767 TARGET-stage1-opcodes = $(TARGET-opcodes)
4768 all-stage1-opcodes: configure-stage1-opcodes
4769 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4770 @r=`${PWD_COMMAND}`; export r; \
4771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4772 TFLAGS="$(STAGE1_TFLAGS)"; \
4773 $(HOST_EXPORTS) \
4774 cd $(HOST_SUBDIR)/opcodes && \
4776 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4777 CFLAGS="$(STAGE1_CFLAGS)" \
4778 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
4779 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4780 LIBCFLAGS="$(LIBCFLAGS)" \
4781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4784 $(EXTRA_HOST_FLAGS) \
4785 $(STAGE1_FLAGS_TO_PASS) \
4786 TFLAGS="$(STAGE1_TFLAGS)" \
4787 $(TARGET-stage1-opcodes)
4789 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4790 clean-stage1: clean-stage1-opcodes
4791 clean-stage1-opcodes:
4792 @if [ $(current_stage) = stage1 ]; then \
4793 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4794 else \
4795 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4796 $(MAKE) stage1-start; \
4797 fi; \
4798 cd $(HOST_SUBDIR)/opcodes && \
4799 $(MAKE) $(EXTRA_HOST_FLAGS) \
4800 $(STAGE1_FLAGS_TO_PASS) clean
4801 @endif opcodes-bootstrap
4804 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4805 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4806 maybe-all-stage2-opcodes:
4807 maybe-clean-stage2-opcodes:
4808 @if opcodes-bootstrap
4809 maybe-all-stage2-opcodes: all-stage2-opcodes
4810 all-stage2: all-stage2-opcodes
4811 TARGET-stage2-opcodes = $(TARGET-opcodes)
4812 all-stage2-opcodes: configure-stage2-opcodes
4813 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4814 @r=`${PWD_COMMAND}`; export r; \
4815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4816 TFLAGS="$(STAGE2_TFLAGS)"; \
4817 $(HOST_EXPORTS) \
4818 $(POSTSTAGE1_HOST_EXPORTS) \
4819 cd $(HOST_SUBDIR)/opcodes && \
4821 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4822 CFLAGS="$(STAGE2_CFLAGS)" \
4823 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
4824 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4825 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4830 TFLAGS="$(STAGE2_TFLAGS)" \
4831 $(TARGET-stage2-opcodes)
4833 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4834 clean-stage2: clean-stage2-opcodes
4835 clean-stage2-opcodes:
4836 @if [ $(current_stage) = stage2 ]; then \
4837 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4838 else \
4839 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4840 $(MAKE) stage2-start; \
4841 fi; \
4842 cd $(HOST_SUBDIR)/opcodes && \
4843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4844 @endif opcodes-bootstrap
4847 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4848 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4849 maybe-all-stage3-opcodes:
4850 maybe-clean-stage3-opcodes:
4851 @if opcodes-bootstrap
4852 maybe-all-stage3-opcodes: all-stage3-opcodes
4853 all-stage3: all-stage3-opcodes
4854 TARGET-stage3-opcodes = $(TARGET-opcodes)
4855 all-stage3-opcodes: configure-stage3-opcodes
4856 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4857 @r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 TFLAGS="$(STAGE3_TFLAGS)"; \
4860 $(HOST_EXPORTS) \
4861 $(POSTSTAGE1_HOST_EXPORTS) \
4862 cd $(HOST_SUBDIR)/opcodes && \
4864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4865 CFLAGS="$(STAGE3_CFLAGS)" \
4866 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
4867 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4868 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4872 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4873 TFLAGS="$(STAGE3_TFLAGS)" \
4874 $(TARGET-stage3-opcodes)
4876 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4877 clean-stage3: clean-stage3-opcodes
4878 clean-stage3-opcodes:
4879 @if [ $(current_stage) = stage3 ]; then \
4880 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4881 else \
4882 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4883 $(MAKE) stage3-start; \
4884 fi; \
4885 cd $(HOST_SUBDIR)/opcodes && \
4886 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4887 @endif opcodes-bootstrap
4890 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4891 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4892 maybe-all-stage4-opcodes:
4893 maybe-clean-stage4-opcodes:
4894 @if opcodes-bootstrap
4895 maybe-all-stage4-opcodes: all-stage4-opcodes
4896 all-stage4: all-stage4-opcodes
4897 TARGET-stage4-opcodes = $(TARGET-opcodes)
4898 all-stage4-opcodes: configure-stage4-opcodes
4899 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4900 @r=`${PWD_COMMAND}`; export r; \
4901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4902 TFLAGS="$(STAGE4_TFLAGS)"; \
4903 $(HOST_EXPORTS) \
4904 $(POSTSTAGE1_HOST_EXPORTS) \
4905 cd $(HOST_SUBDIR)/opcodes && \
4907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4908 CFLAGS="$(STAGE4_CFLAGS)" \
4909 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
4910 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4911 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4915 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4916 TFLAGS="$(STAGE4_TFLAGS)" \
4917 $(TARGET-stage4-opcodes)
4919 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4920 clean-stage4: clean-stage4-opcodes
4921 clean-stage4-opcodes:
4922 @if [ $(current_stage) = stage4 ]; then \
4923 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4924 else \
4925 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4926 $(MAKE) stage4-start; \
4927 fi; \
4928 cd $(HOST_SUBDIR)/opcodes && \
4929 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4930 @endif opcodes-bootstrap
4933 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4934 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4935 maybe-all-stageprofile-opcodes:
4936 maybe-clean-stageprofile-opcodes:
4937 @if opcodes-bootstrap
4938 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4939 all-stageprofile: all-stageprofile-opcodes
4940 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4941 all-stageprofile-opcodes: configure-stageprofile-opcodes
4942 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4943 @r=`${PWD_COMMAND}`; export r; \
4944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4945 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4946 $(HOST_EXPORTS) \
4947 $(POSTSTAGE1_HOST_EXPORTS) \
4948 cd $(HOST_SUBDIR)/opcodes && \
4950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4951 CFLAGS="$(STAGEprofile_CFLAGS)" \
4952 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
4953 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4954 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4958 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4959 TFLAGS="$(STAGEprofile_TFLAGS)" \
4960 $(TARGET-stageprofile-opcodes)
4962 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4963 clean-stageprofile: clean-stageprofile-opcodes
4964 clean-stageprofile-opcodes:
4965 @if [ $(current_stage) = stageprofile ]; then \
4966 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4967 else \
4968 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4969 $(MAKE) stageprofile-start; \
4970 fi; \
4971 cd $(HOST_SUBDIR)/opcodes && \
4972 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4973 @endif opcodes-bootstrap
4976 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4977 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4978 maybe-all-stagetrain-opcodes:
4979 maybe-clean-stagetrain-opcodes:
4980 @if opcodes-bootstrap
4981 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4982 all-stagetrain: all-stagetrain-opcodes
4983 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4984 all-stagetrain-opcodes: configure-stagetrain-opcodes
4985 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4986 @r=`${PWD_COMMAND}`; export r; \
4987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4988 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4989 $(HOST_EXPORTS) \
4990 $(POSTSTAGE1_HOST_EXPORTS) \
4991 cd $(HOST_SUBDIR)/opcodes && \
4993 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4994 CFLAGS="$(STAGEtrain_CFLAGS)" \
4995 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
4996 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4997 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5002 TFLAGS="$(STAGEtrain_TFLAGS)" \
5003 $(TARGET-stagetrain-opcodes)
5005 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
5006 clean-stagetrain: clean-stagetrain-opcodes
5007 clean-stagetrain-opcodes:
5008 @if [ $(current_stage) = stagetrain ]; then \
5009 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5010 else \
5011 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
5012 $(MAKE) stagetrain-start; \
5013 fi; \
5014 cd $(HOST_SUBDIR)/opcodes && \
5015 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5016 @endif opcodes-bootstrap
5019 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5020 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5021 maybe-all-stagefeedback-opcodes:
5022 maybe-clean-stagefeedback-opcodes:
5023 @if opcodes-bootstrap
5024 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5025 all-stagefeedback: all-stagefeedback-opcodes
5026 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5027 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5028 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5029 @r=`${PWD_COMMAND}`; export r; \
5030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5031 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5032 $(HOST_EXPORTS) \
5033 $(POSTSTAGE1_HOST_EXPORTS) \
5034 cd $(HOST_SUBDIR)/opcodes && \
5036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5037 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5038 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
5039 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5040 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5044 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5045 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5046 $(TARGET-stagefeedback-opcodes)
5048 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5049 clean-stagefeedback: clean-stagefeedback-opcodes
5050 clean-stagefeedback-opcodes:
5051 @if [ $(current_stage) = stagefeedback ]; then \
5052 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5053 else \
5054 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5055 $(MAKE) stagefeedback-start; \
5056 fi; \
5057 cd $(HOST_SUBDIR)/opcodes && \
5058 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5059 @endif opcodes-bootstrap
5062 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
5063 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
5064 maybe-all-stageautoprofile-opcodes:
5065 maybe-clean-stageautoprofile-opcodes:
5066 @if opcodes-bootstrap
5067 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
5068 all-stageautoprofile: all-stageautoprofile-opcodes
5069 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
5070 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
5071 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5072 @r=`${PWD_COMMAND}`; export r; \
5073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5074 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5075 $(HOST_EXPORTS) \
5076 $(POSTSTAGE1_HOST_EXPORTS) \
5077 cd $(HOST_SUBDIR)/opcodes && \
5078 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5079 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5080 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5081 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
5082 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5083 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5088 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5089 $(TARGET-stageautoprofile-opcodes)
5091 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
5092 clean-stageautoprofile: clean-stageautoprofile-opcodes
5093 clean-stageautoprofile-opcodes:
5094 @if [ $(current_stage) = stageautoprofile ]; then \
5095 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5096 else \
5097 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
5098 $(MAKE) stageautoprofile-start; \
5099 fi; \
5100 cd $(HOST_SUBDIR)/opcodes && \
5101 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5102 @endif opcodes-bootstrap
5105 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5106 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5107 maybe-all-stageautofeedback-opcodes:
5108 maybe-clean-stageautofeedback-opcodes:
5109 @if opcodes-bootstrap
5110 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5111 all-stageautofeedback: all-stageautofeedback-opcodes
5112 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5113 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5114 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5115 @r=`${PWD_COMMAND}`; export r; \
5116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5117 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5118 $(HOST_EXPORTS) \
5119 $(POSTSTAGE1_HOST_EXPORTS) \
5120 cd $(HOST_SUBDIR)/opcodes && \
5122 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5123 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5124 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
5125 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5126 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5127 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5128 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5129 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5130 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5131 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5132 $(TARGET-stageautofeedback-opcodes)
5134 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5135 clean-stageautofeedback: clean-stageautofeedback-opcodes
5136 clean-stageautofeedback-opcodes:
5137 @if [ $(current_stage) = stageautofeedback ]; then \
5138 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5139 else \
5140 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5141 $(MAKE) stageautofeedback-start; \
5142 fi; \
5143 cd $(HOST_SUBDIR)/opcodes && \
5144 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5145 @endif opcodes-bootstrap
5151 .PHONY: check-opcodes maybe-check-opcodes
5152 maybe-check-opcodes:
5153 @if opcodes
5154 maybe-check-opcodes: check-opcodes
5156 check-opcodes:
5157 @: $(MAKE); $(unstage)
5158 @r=`${PWD_COMMAND}`; export r; \
5159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5160 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5161 (cd $(HOST_SUBDIR)/opcodes && \
5162 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5164 @endif opcodes
5166 .PHONY: install-opcodes maybe-install-opcodes
5167 maybe-install-opcodes:
5168 @if opcodes
5169 maybe-install-opcodes: install-opcodes
5171 install-opcodes: installdirs
5172 @: $(MAKE); $(unstage)
5173 @r=`${PWD_COMMAND}`; export r; \
5174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5175 $(HOST_EXPORTS) \
5176 (cd $(HOST_SUBDIR)/opcodes && \
5177 $(MAKE) $(FLAGS_TO_PASS) install)
5179 @endif opcodes
5181 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5182 maybe-install-strip-opcodes:
5183 @if opcodes
5184 maybe-install-strip-opcodes: install-strip-opcodes
5186 install-strip-opcodes: installdirs
5187 @: $(MAKE); $(unstage)
5188 @r=`${PWD_COMMAND}`; export r; \
5189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5190 $(HOST_EXPORTS) \
5191 (cd $(HOST_SUBDIR)/opcodes && \
5192 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5194 @endif opcodes
5196 # Other targets (info, dvi, pdf, etc.)
5198 .PHONY: maybe-info-opcodes info-opcodes
5199 maybe-info-opcodes:
5200 @if opcodes
5201 maybe-info-opcodes: info-opcodes
5203 info-opcodes: \
5204 configure-opcodes
5205 @[ -f ./opcodes/Makefile ] || exit 0; \
5206 r=`${PWD_COMMAND}`; export r; \
5207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5208 $(HOST_EXPORTS) \
5209 for flag in $(EXTRA_HOST_FLAGS) ; do \
5210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5211 done; \
5212 echo "Doing info in opcodes"; \
5213 (cd $(HOST_SUBDIR)/opcodes && \
5214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5216 "RANLIB=$${RANLIB}" \
5217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5218 info) \
5219 || exit 1
5221 @endif opcodes
5223 .PHONY: maybe-dvi-opcodes dvi-opcodes
5224 maybe-dvi-opcodes:
5225 @if opcodes
5226 maybe-dvi-opcodes: dvi-opcodes
5228 dvi-opcodes: \
5229 configure-opcodes
5230 @[ -f ./opcodes/Makefile ] || exit 0; \
5231 r=`${PWD_COMMAND}`; export r; \
5232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5233 $(HOST_EXPORTS) \
5234 for flag in $(EXTRA_HOST_FLAGS) ; do \
5235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5236 done; \
5237 echo "Doing dvi in opcodes"; \
5238 (cd $(HOST_SUBDIR)/opcodes && \
5239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5241 "RANLIB=$${RANLIB}" \
5242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5243 dvi) \
5244 || exit 1
5246 @endif opcodes
5248 .PHONY: maybe-pdf-opcodes pdf-opcodes
5249 maybe-pdf-opcodes:
5250 @if opcodes
5251 maybe-pdf-opcodes: pdf-opcodes
5253 pdf-opcodes: \
5254 configure-opcodes
5255 @[ -f ./opcodes/Makefile ] || exit 0; \
5256 r=`${PWD_COMMAND}`; export r; \
5257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5258 $(HOST_EXPORTS) \
5259 for flag in $(EXTRA_HOST_FLAGS) ; do \
5260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5261 done; \
5262 echo "Doing pdf in opcodes"; \
5263 (cd $(HOST_SUBDIR)/opcodes && \
5264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5266 "RANLIB=$${RANLIB}" \
5267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5268 pdf) \
5269 || exit 1
5271 @endif opcodes
5273 .PHONY: maybe-html-opcodes html-opcodes
5274 maybe-html-opcodes:
5275 @if opcodes
5276 maybe-html-opcodes: html-opcodes
5278 html-opcodes: \
5279 configure-opcodes
5280 @[ -f ./opcodes/Makefile ] || exit 0; \
5281 r=`${PWD_COMMAND}`; export r; \
5282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5283 $(HOST_EXPORTS) \
5284 for flag in $(EXTRA_HOST_FLAGS) ; do \
5285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5286 done; \
5287 echo "Doing html in opcodes"; \
5288 (cd $(HOST_SUBDIR)/opcodes && \
5289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5291 "RANLIB=$${RANLIB}" \
5292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5293 html) \
5294 || exit 1
5296 @endif opcodes
5298 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5299 maybe-TAGS-opcodes:
5300 @if opcodes
5301 maybe-TAGS-opcodes: TAGS-opcodes
5303 TAGS-opcodes: \
5304 configure-opcodes
5305 @[ -f ./opcodes/Makefile ] || exit 0; \
5306 r=`${PWD_COMMAND}`; export r; \
5307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5308 $(HOST_EXPORTS) \
5309 for flag in $(EXTRA_HOST_FLAGS) ; do \
5310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5311 done; \
5312 echo "Doing TAGS in opcodes"; \
5313 (cd $(HOST_SUBDIR)/opcodes && \
5314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5316 "RANLIB=$${RANLIB}" \
5317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5318 TAGS) \
5319 || exit 1
5321 @endif opcodes
5323 .PHONY: maybe-install-info-opcodes install-info-opcodes
5324 maybe-install-info-opcodes:
5325 @if opcodes
5326 maybe-install-info-opcodes: install-info-opcodes
5328 install-info-opcodes: \
5329 configure-opcodes \
5330 info-opcodes
5331 @[ -f ./opcodes/Makefile ] || exit 0; \
5332 r=`${PWD_COMMAND}`; export r; \
5333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5334 $(HOST_EXPORTS) \
5335 for flag in $(EXTRA_HOST_FLAGS) ; do \
5336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5337 done; \
5338 echo "Doing install-info in opcodes"; \
5339 (cd $(HOST_SUBDIR)/opcodes && \
5340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5342 "RANLIB=$${RANLIB}" \
5343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5344 install-info) \
5345 || exit 1
5347 @endif opcodes
5349 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5350 maybe-install-pdf-opcodes:
5351 @if opcodes
5352 maybe-install-pdf-opcodes: install-pdf-opcodes
5354 install-pdf-opcodes: \
5355 configure-opcodes \
5356 pdf-opcodes
5357 @[ -f ./opcodes/Makefile ] || exit 0; \
5358 r=`${PWD_COMMAND}`; export r; \
5359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5360 $(HOST_EXPORTS) \
5361 for flag in $(EXTRA_HOST_FLAGS) ; do \
5362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5363 done; \
5364 echo "Doing install-pdf in opcodes"; \
5365 (cd $(HOST_SUBDIR)/opcodes && \
5366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5368 "RANLIB=$${RANLIB}" \
5369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5370 install-pdf) \
5371 || exit 1
5373 @endif opcodes
5375 .PHONY: maybe-install-html-opcodes install-html-opcodes
5376 maybe-install-html-opcodes:
5377 @if opcodes
5378 maybe-install-html-opcodes: install-html-opcodes
5380 install-html-opcodes: \
5381 configure-opcodes \
5382 html-opcodes
5383 @[ -f ./opcodes/Makefile ] || exit 0; \
5384 r=`${PWD_COMMAND}`; export r; \
5385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5386 $(HOST_EXPORTS) \
5387 for flag in $(EXTRA_HOST_FLAGS) ; do \
5388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5389 done; \
5390 echo "Doing install-html in opcodes"; \
5391 (cd $(HOST_SUBDIR)/opcodes && \
5392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5394 "RANLIB=$${RANLIB}" \
5395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5396 install-html) \
5397 || exit 1
5399 @endif opcodes
5401 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5402 maybe-installcheck-opcodes:
5403 @if opcodes
5404 maybe-installcheck-opcodes: installcheck-opcodes
5406 installcheck-opcodes: \
5407 configure-opcodes
5408 @[ -f ./opcodes/Makefile ] || exit 0; \
5409 r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5411 $(HOST_EXPORTS) \
5412 for flag in $(EXTRA_HOST_FLAGS) ; do \
5413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5414 done; \
5415 echo "Doing installcheck in opcodes"; \
5416 (cd $(HOST_SUBDIR)/opcodes && \
5417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5419 "RANLIB=$${RANLIB}" \
5420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5421 installcheck) \
5422 || exit 1
5424 @endif opcodes
5426 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5427 maybe-mostlyclean-opcodes:
5428 @if opcodes
5429 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5431 mostlyclean-opcodes:
5432 @[ -f ./opcodes/Makefile ] || exit 0; \
5433 r=`${PWD_COMMAND}`; export r; \
5434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5435 $(HOST_EXPORTS) \
5436 for flag in $(EXTRA_HOST_FLAGS) ; do \
5437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5438 done; \
5439 echo "Doing mostlyclean in opcodes"; \
5440 (cd $(HOST_SUBDIR)/opcodes && \
5441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5443 "RANLIB=$${RANLIB}" \
5444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5445 mostlyclean) \
5446 || exit 1
5448 @endif opcodes
5450 .PHONY: maybe-clean-opcodes clean-opcodes
5451 maybe-clean-opcodes:
5452 @if opcodes
5453 maybe-clean-opcodes: clean-opcodes
5455 clean-opcodes:
5456 @[ -f ./opcodes/Makefile ] || exit 0; \
5457 r=`${PWD_COMMAND}`; export r; \
5458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5459 $(HOST_EXPORTS) \
5460 for flag in $(EXTRA_HOST_FLAGS) ; do \
5461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5462 done; \
5463 echo "Doing clean in opcodes"; \
5464 (cd $(HOST_SUBDIR)/opcodes && \
5465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5467 "RANLIB=$${RANLIB}" \
5468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5469 clean) \
5470 || exit 1
5472 @endif opcodes
5474 .PHONY: maybe-distclean-opcodes distclean-opcodes
5475 maybe-distclean-opcodes:
5476 @if opcodes
5477 maybe-distclean-opcodes: distclean-opcodes
5479 distclean-opcodes:
5480 @[ -f ./opcodes/Makefile ] || exit 0; \
5481 r=`${PWD_COMMAND}`; export r; \
5482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5483 $(HOST_EXPORTS) \
5484 for flag in $(EXTRA_HOST_FLAGS) ; do \
5485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5486 done; \
5487 echo "Doing distclean in opcodes"; \
5488 (cd $(HOST_SUBDIR)/opcodes && \
5489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5491 "RANLIB=$${RANLIB}" \
5492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5493 distclean) \
5494 || exit 1
5496 @endif opcodes
5498 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5499 maybe-maintainer-clean-opcodes:
5500 @if opcodes
5501 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5503 maintainer-clean-opcodes:
5504 @[ -f ./opcodes/Makefile ] || exit 0; \
5505 r=`${PWD_COMMAND}`; export r; \
5506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5507 $(HOST_EXPORTS) \
5508 for flag in $(EXTRA_HOST_FLAGS) ; do \
5509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5510 done; \
5511 echo "Doing maintainer-clean in opcodes"; \
5512 (cd $(HOST_SUBDIR)/opcodes && \
5513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5515 "RANLIB=$${RANLIB}" \
5516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5517 maintainer-clean) \
5518 || exit 1
5520 @endif opcodes
5524 .PHONY: configure-binutils maybe-configure-binutils
5525 maybe-configure-binutils:
5526 @if gcc-bootstrap
5527 configure-binutils: stage_current
5528 @endif gcc-bootstrap
5529 @if binutils
5530 maybe-configure-binutils: configure-binutils
5531 configure-binutils:
5532 @r=`${PWD_COMMAND}`; export r; \
5533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5534 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5536 $(HOST_EXPORTS) \
5537 echo Configuring in $(HOST_SUBDIR)/binutils; \
5538 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5539 case $(srcdir) in \
5540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5541 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5543 esac; \
5544 module_srcdir=binutils; \
5545 $(SHELL) \
5546 $$s/$$module_srcdir/configure \
5547 --srcdir=$${topdir}/$$module_srcdir \
5548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5549 --target=${target_alias} \
5550 || exit 1
5551 @endif binutils
5555 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5556 maybe-configure-stage1-binutils:
5557 @if binutils-bootstrap
5558 maybe-configure-stage1-binutils: configure-stage1-binutils
5559 configure-stage1-binutils:
5560 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5561 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5562 @r=`${PWD_COMMAND}`; export r; \
5563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5564 TFLAGS="$(STAGE1_TFLAGS)"; \
5565 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5566 $(HOST_EXPORTS) \
5567 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5568 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5569 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5570 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5572 cd $(HOST_SUBDIR)/binutils || exit 1; \
5573 case $(srcdir) in \
5574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5575 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5577 esac; \
5578 module_srcdir=binutils; \
5579 $(SHELL) $$s/$$module_srcdir/configure \
5580 --srcdir=$${topdir}/$$module_srcdir \
5581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5582 --target=${target_alias} \
5584 $(STAGE1_CONFIGURE_FLAGS)
5585 @endif binutils-bootstrap
5587 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5588 maybe-configure-stage2-binutils:
5589 @if binutils-bootstrap
5590 maybe-configure-stage2-binutils: configure-stage2-binutils
5591 configure-stage2-binutils:
5592 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5593 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5594 @r=`${PWD_COMMAND}`; export r; \
5595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5596 TFLAGS="$(STAGE2_TFLAGS)"; \
5597 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5598 $(HOST_EXPORTS) \
5599 $(POSTSTAGE1_HOST_EXPORTS) \
5600 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5601 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5602 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5603 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5605 cd $(HOST_SUBDIR)/binutils || exit 1; \
5606 case $(srcdir) in \
5607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5608 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5610 esac; \
5611 module_srcdir=binutils; \
5612 $(SHELL) $$s/$$module_srcdir/configure \
5613 --srcdir=$${topdir}/$$module_srcdir \
5614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5615 --target=${target_alias} \
5616 --with-build-libsubdir=$(HOST_SUBDIR) \
5617 $(STAGE2_CONFIGURE_FLAGS)
5618 @endif binutils-bootstrap
5620 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5621 maybe-configure-stage3-binutils:
5622 @if binutils-bootstrap
5623 maybe-configure-stage3-binutils: configure-stage3-binutils
5624 configure-stage3-binutils:
5625 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5627 @r=`${PWD_COMMAND}`; export r; \
5628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5629 TFLAGS="$(STAGE3_TFLAGS)"; \
5630 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5631 $(HOST_EXPORTS) \
5632 $(POSTSTAGE1_HOST_EXPORTS) \
5633 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5634 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5635 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5636 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5638 cd $(HOST_SUBDIR)/binutils || exit 1; \
5639 case $(srcdir) in \
5640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5641 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5643 esac; \
5644 module_srcdir=binutils; \
5645 $(SHELL) $$s/$$module_srcdir/configure \
5646 --srcdir=$${topdir}/$$module_srcdir \
5647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5648 --target=${target_alias} \
5649 --with-build-libsubdir=$(HOST_SUBDIR) \
5650 $(STAGE3_CONFIGURE_FLAGS)
5651 @endif binutils-bootstrap
5653 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5654 maybe-configure-stage4-binutils:
5655 @if binutils-bootstrap
5656 maybe-configure-stage4-binutils: configure-stage4-binutils
5657 configure-stage4-binutils:
5658 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5659 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5660 @r=`${PWD_COMMAND}`; export r; \
5661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5662 TFLAGS="$(STAGE4_TFLAGS)"; \
5663 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5664 $(HOST_EXPORTS) \
5665 $(POSTSTAGE1_HOST_EXPORTS) \
5666 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5667 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5668 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5669 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5671 cd $(HOST_SUBDIR)/binutils || exit 1; \
5672 case $(srcdir) in \
5673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5674 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5676 esac; \
5677 module_srcdir=binutils; \
5678 $(SHELL) $$s/$$module_srcdir/configure \
5679 --srcdir=$${topdir}/$$module_srcdir \
5680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5681 --target=${target_alias} \
5682 --with-build-libsubdir=$(HOST_SUBDIR) \
5683 $(STAGE4_CONFIGURE_FLAGS)
5684 @endif binutils-bootstrap
5686 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5687 maybe-configure-stageprofile-binutils:
5688 @if binutils-bootstrap
5689 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5690 configure-stageprofile-binutils:
5691 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5693 @r=`${PWD_COMMAND}`; export r; \
5694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5695 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5696 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5697 $(HOST_EXPORTS) \
5698 $(POSTSTAGE1_HOST_EXPORTS) \
5699 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5700 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5701 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5702 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5704 cd $(HOST_SUBDIR)/binutils || exit 1; \
5705 case $(srcdir) in \
5706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5707 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5709 esac; \
5710 module_srcdir=binutils; \
5711 $(SHELL) $$s/$$module_srcdir/configure \
5712 --srcdir=$${topdir}/$$module_srcdir \
5713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5714 --target=${target_alias} \
5715 --with-build-libsubdir=$(HOST_SUBDIR) \
5716 $(STAGEprofile_CONFIGURE_FLAGS)
5717 @endif binutils-bootstrap
5719 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5720 maybe-configure-stagetrain-binutils:
5721 @if binutils-bootstrap
5722 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5723 configure-stagetrain-binutils:
5724 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5725 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5726 @r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5729 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5730 $(HOST_EXPORTS) \
5731 $(POSTSTAGE1_HOST_EXPORTS) \
5732 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5733 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5734 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5735 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5737 cd $(HOST_SUBDIR)/binutils || exit 1; \
5738 case $(srcdir) in \
5739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5740 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5742 esac; \
5743 module_srcdir=binutils; \
5744 $(SHELL) $$s/$$module_srcdir/configure \
5745 --srcdir=$${topdir}/$$module_srcdir \
5746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5747 --target=${target_alias} \
5748 --with-build-libsubdir=$(HOST_SUBDIR) \
5749 $(STAGEtrain_CONFIGURE_FLAGS)
5750 @endif binutils-bootstrap
5752 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5753 maybe-configure-stagefeedback-binutils:
5754 @if binutils-bootstrap
5755 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5756 configure-stagefeedback-binutils:
5757 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5759 @r=`${PWD_COMMAND}`; export r; \
5760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5761 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5762 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5763 $(HOST_EXPORTS) \
5764 $(POSTSTAGE1_HOST_EXPORTS) \
5765 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5766 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5767 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5768 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5770 cd $(HOST_SUBDIR)/binutils || exit 1; \
5771 case $(srcdir) in \
5772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5773 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5775 esac; \
5776 module_srcdir=binutils; \
5777 $(SHELL) $$s/$$module_srcdir/configure \
5778 --srcdir=$${topdir}/$$module_srcdir \
5779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5780 --target=${target_alias} \
5781 --with-build-libsubdir=$(HOST_SUBDIR) \
5782 $(STAGEfeedback_CONFIGURE_FLAGS)
5783 @endif binutils-bootstrap
5785 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5786 maybe-configure-stageautoprofile-binutils:
5787 @if binutils-bootstrap
5788 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5789 configure-stageautoprofile-binutils:
5790 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5792 @r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5794 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5795 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5796 $(HOST_EXPORTS) \
5797 $(POSTSTAGE1_HOST_EXPORTS) \
5798 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5799 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5800 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5801 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5803 cd $(HOST_SUBDIR)/binutils || exit 1; \
5804 case $(srcdir) in \
5805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5806 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5808 esac; \
5809 module_srcdir=binutils; \
5810 $(SHELL) $$s/$$module_srcdir/configure \
5811 --srcdir=$${topdir}/$$module_srcdir \
5812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5813 --target=${target_alias} \
5814 --with-build-libsubdir=$(HOST_SUBDIR) \
5815 $(STAGEautoprofile_CONFIGURE_FLAGS)
5816 @endif binutils-bootstrap
5818 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5819 maybe-configure-stageautofeedback-binutils:
5820 @if binutils-bootstrap
5821 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5822 configure-stageautofeedback-binutils:
5823 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5825 @r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5828 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5829 $(HOST_EXPORTS) \
5830 $(POSTSTAGE1_HOST_EXPORTS) \
5831 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5832 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5833 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5834 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5836 cd $(HOST_SUBDIR)/binutils || exit 1; \
5837 case $(srcdir) in \
5838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5839 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5841 esac; \
5842 module_srcdir=binutils; \
5843 $(SHELL) $$s/$$module_srcdir/configure \
5844 --srcdir=$${topdir}/$$module_srcdir \
5845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5846 --target=${target_alias} \
5847 --with-build-libsubdir=$(HOST_SUBDIR) \
5848 $(STAGEautofeedback_CONFIGURE_FLAGS)
5849 @endif binutils-bootstrap
5855 .PHONY: all-binutils maybe-all-binutils
5856 maybe-all-binutils:
5857 @if gcc-bootstrap
5858 all-binutils: stage_current
5859 @endif gcc-bootstrap
5860 @if binutils
5861 TARGET-binutils=all
5862 maybe-all-binutils: all-binutils
5863 all-binutils: configure-binutils
5864 @r=`${PWD_COMMAND}`; export r; \
5865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5866 $(HOST_EXPORTS) \
5867 (cd $(HOST_SUBDIR)/binutils && \
5868 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5869 $(TARGET-binutils))
5870 @endif binutils
5874 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5875 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5876 maybe-all-stage1-binutils:
5877 maybe-clean-stage1-binutils:
5878 @if binutils-bootstrap
5879 maybe-all-stage1-binutils: all-stage1-binutils
5880 all-stage1: all-stage1-binutils
5881 TARGET-stage1-binutils = $(TARGET-binutils)
5882 all-stage1-binutils: configure-stage1-binutils
5883 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5884 @r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 TFLAGS="$(STAGE1_TFLAGS)"; \
5887 $(HOST_EXPORTS) \
5888 cd $(HOST_SUBDIR)/binutils && \
5890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5891 CFLAGS="$(STAGE1_CFLAGS)" \
5892 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
5893 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5894 LIBCFLAGS="$(LIBCFLAGS)" \
5895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5898 $(EXTRA_HOST_FLAGS) \
5899 $(STAGE1_FLAGS_TO_PASS) \
5900 TFLAGS="$(STAGE1_TFLAGS)" \
5901 $(TARGET-stage1-binutils)
5903 maybe-clean-stage1-binutils: clean-stage1-binutils
5904 clean-stage1: clean-stage1-binutils
5905 clean-stage1-binutils:
5906 @if [ $(current_stage) = stage1 ]; then \
5907 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5908 else \
5909 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5910 $(MAKE) stage1-start; \
5911 fi; \
5912 cd $(HOST_SUBDIR)/binutils && \
5913 $(MAKE) $(EXTRA_HOST_FLAGS) \
5914 $(STAGE1_FLAGS_TO_PASS) clean
5915 @endif binutils-bootstrap
5918 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5919 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5920 maybe-all-stage2-binutils:
5921 maybe-clean-stage2-binutils:
5922 @if binutils-bootstrap
5923 maybe-all-stage2-binutils: all-stage2-binutils
5924 all-stage2: all-stage2-binutils
5925 TARGET-stage2-binutils = $(TARGET-binutils)
5926 all-stage2-binutils: configure-stage2-binutils
5927 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5928 @r=`${PWD_COMMAND}`; export r; \
5929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5930 TFLAGS="$(STAGE2_TFLAGS)"; \
5931 $(HOST_EXPORTS) \
5932 $(POSTSTAGE1_HOST_EXPORTS) \
5933 cd $(HOST_SUBDIR)/binutils && \
5935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5936 CFLAGS="$(STAGE2_CFLAGS)" \
5937 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
5938 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5939 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5940 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5941 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5942 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5943 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5944 TFLAGS="$(STAGE2_TFLAGS)" \
5945 $(TARGET-stage2-binutils)
5947 maybe-clean-stage2-binutils: clean-stage2-binutils
5948 clean-stage2: clean-stage2-binutils
5949 clean-stage2-binutils:
5950 @if [ $(current_stage) = stage2 ]; then \
5951 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5952 else \
5953 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5954 $(MAKE) stage2-start; \
5955 fi; \
5956 cd $(HOST_SUBDIR)/binutils && \
5957 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5958 @endif binutils-bootstrap
5961 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5962 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5963 maybe-all-stage3-binutils:
5964 maybe-clean-stage3-binutils:
5965 @if binutils-bootstrap
5966 maybe-all-stage3-binutils: all-stage3-binutils
5967 all-stage3: all-stage3-binutils
5968 TARGET-stage3-binutils = $(TARGET-binutils)
5969 all-stage3-binutils: configure-stage3-binutils
5970 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5971 @r=`${PWD_COMMAND}`; export r; \
5972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5973 TFLAGS="$(STAGE3_TFLAGS)"; \
5974 $(HOST_EXPORTS) \
5975 $(POSTSTAGE1_HOST_EXPORTS) \
5976 cd $(HOST_SUBDIR)/binutils && \
5978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5979 CFLAGS="$(STAGE3_CFLAGS)" \
5980 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
5981 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5982 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5986 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5987 TFLAGS="$(STAGE3_TFLAGS)" \
5988 $(TARGET-stage3-binutils)
5990 maybe-clean-stage3-binutils: clean-stage3-binutils
5991 clean-stage3: clean-stage3-binutils
5992 clean-stage3-binutils:
5993 @if [ $(current_stage) = stage3 ]; then \
5994 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5995 else \
5996 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5997 $(MAKE) stage3-start; \
5998 fi; \
5999 cd $(HOST_SUBDIR)/binutils && \
6000 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6001 @endif binutils-bootstrap
6004 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6005 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6006 maybe-all-stage4-binutils:
6007 maybe-clean-stage4-binutils:
6008 @if binutils-bootstrap
6009 maybe-all-stage4-binutils: all-stage4-binutils
6010 all-stage4: all-stage4-binutils
6011 TARGET-stage4-binutils = $(TARGET-binutils)
6012 all-stage4-binutils: configure-stage4-binutils
6013 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6014 @r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 TFLAGS="$(STAGE4_TFLAGS)"; \
6017 $(HOST_EXPORTS) \
6018 $(POSTSTAGE1_HOST_EXPORTS) \
6019 cd $(HOST_SUBDIR)/binutils && \
6021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6022 CFLAGS="$(STAGE4_CFLAGS)" \
6023 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
6024 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
6025 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6030 TFLAGS="$(STAGE4_TFLAGS)" \
6031 $(TARGET-stage4-binutils)
6033 maybe-clean-stage4-binutils: clean-stage4-binutils
6034 clean-stage4: clean-stage4-binutils
6035 clean-stage4-binutils:
6036 @if [ $(current_stage) = stage4 ]; then \
6037 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6038 else \
6039 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6040 $(MAKE) stage4-start; \
6041 fi; \
6042 cd $(HOST_SUBDIR)/binutils && \
6043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6044 @endif binutils-bootstrap
6047 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6048 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6049 maybe-all-stageprofile-binutils:
6050 maybe-clean-stageprofile-binutils:
6051 @if binutils-bootstrap
6052 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6053 all-stageprofile: all-stageprofile-binutils
6054 TARGET-stageprofile-binutils = $(TARGET-binutils)
6055 all-stageprofile-binutils: configure-stageprofile-binutils
6056 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6057 @r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6059 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6060 $(HOST_EXPORTS) \
6061 $(POSTSTAGE1_HOST_EXPORTS) \
6062 cd $(HOST_SUBDIR)/binutils && \
6064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6065 CFLAGS="$(STAGEprofile_CFLAGS)" \
6066 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
6067 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6068 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6069 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6070 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6071 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6072 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6073 TFLAGS="$(STAGEprofile_TFLAGS)" \
6074 $(TARGET-stageprofile-binutils)
6076 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6077 clean-stageprofile: clean-stageprofile-binutils
6078 clean-stageprofile-binutils:
6079 @if [ $(current_stage) = stageprofile ]; then \
6080 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6081 else \
6082 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6083 $(MAKE) stageprofile-start; \
6084 fi; \
6085 cd $(HOST_SUBDIR)/binutils && \
6086 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6087 @endif binutils-bootstrap
6090 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
6091 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
6092 maybe-all-stagetrain-binutils:
6093 maybe-clean-stagetrain-binutils:
6094 @if binutils-bootstrap
6095 maybe-all-stagetrain-binutils: all-stagetrain-binutils
6096 all-stagetrain: all-stagetrain-binutils
6097 TARGET-stagetrain-binutils = $(TARGET-binutils)
6098 all-stagetrain-binutils: configure-stagetrain-binutils
6099 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6100 @r=`${PWD_COMMAND}`; export r; \
6101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6102 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6103 $(HOST_EXPORTS) \
6104 $(POSTSTAGE1_HOST_EXPORTS) \
6105 cd $(HOST_SUBDIR)/binutils && \
6107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6108 CFLAGS="$(STAGEtrain_CFLAGS)" \
6109 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
6110 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
6111 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6115 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6116 TFLAGS="$(STAGEtrain_TFLAGS)" \
6117 $(TARGET-stagetrain-binutils)
6119 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6120 clean-stagetrain: clean-stagetrain-binutils
6121 clean-stagetrain-binutils:
6122 @if [ $(current_stage) = stagetrain ]; then \
6123 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6124 else \
6125 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6126 $(MAKE) stagetrain-start; \
6127 fi; \
6128 cd $(HOST_SUBDIR)/binutils && \
6129 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6130 @endif binutils-bootstrap
6133 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6134 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6135 maybe-all-stagefeedback-binutils:
6136 maybe-clean-stagefeedback-binutils:
6137 @if binutils-bootstrap
6138 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6139 all-stagefeedback: all-stagefeedback-binutils
6140 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6141 all-stagefeedback-binutils: configure-stagefeedback-binutils
6142 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6143 @r=`${PWD_COMMAND}`; export r; \
6144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6145 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6146 $(HOST_EXPORTS) \
6147 $(POSTSTAGE1_HOST_EXPORTS) \
6148 cd $(HOST_SUBDIR)/binutils && \
6150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6151 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6152 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
6153 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6154 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
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) $(POSTSTAGE1_FLAGS_TO_PASS) \
6159 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6160 $(TARGET-stagefeedback-binutils)
6162 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6163 clean-stagefeedback: clean-stagefeedback-binutils
6164 clean-stagefeedback-binutils:
6165 @if [ $(current_stage) = stagefeedback ]; then \
6166 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6167 else \
6168 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6169 $(MAKE) stagefeedback-start; \
6170 fi; \
6171 cd $(HOST_SUBDIR)/binutils && \
6172 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6173 @endif binutils-bootstrap
6176 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6177 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6178 maybe-all-stageautoprofile-binutils:
6179 maybe-clean-stageautoprofile-binutils:
6180 @if binutils-bootstrap
6181 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6182 all-stageautoprofile: all-stageautoprofile-binutils
6183 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6184 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6185 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6186 @r=`${PWD_COMMAND}`; export r; \
6187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6188 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6189 $(HOST_EXPORTS) \
6190 $(POSTSTAGE1_HOST_EXPORTS) \
6191 cd $(HOST_SUBDIR)/binutils && \
6192 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6194 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6195 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
6196 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6197 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6202 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6203 $(TARGET-stageautoprofile-binutils)
6205 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6206 clean-stageautoprofile: clean-stageautoprofile-binutils
6207 clean-stageautoprofile-binutils:
6208 @if [ $(current_stage) = stageautoprofile ]; then \
6209 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6210 else \
6211 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6212 $(MAKE) stageautoprofile-start; \
6213 fi; \
6214 cd $(HOST_SUBDIR)/binutils && \
6215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6216 @endif binutils-bootstrap
6219 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6220 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6221 maybe-all-stageautofeedback-binutils:
6222 maybe-clean-stageautofeedback-binutils:
6223 @if binutils-bootstrap
6224 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6225 all-stageautofeedback: all-stageautofeedback-binutils
6226 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6227 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6228 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6229 @r=`${PWD_COMMAND}`; export r; \
6230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6231 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6232 $(HOST_EXPORTS) \
6233 $(POSTSTAGE1_HOST_EXPORTS) \
6234 cd $(HOST_SUBDIR)/binutils && \
6236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6237 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6238 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
6239 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6240 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6245 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6246 $(TARGET-stageautofeedback-binutils)
6248 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6249 clean-stageautofeedback: clean-stageautofeedback-binutils
6250 clean-stageautofeedback-binutils:
6251 @if [ $(current_stage) = stageautofeedback ]; then \
6252 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6253 else \
6254 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6255 $(MAKE) stageautofeedback-start; \
6256 fi; \
6257 cd $(HOST_SUBDIR)/binutils && \
6258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6259 @endif binutils-bootstrap
6265 .PHONY: check-binutils maybe-check-binutils
6266 maybe-check-binutils:
6267 @if binutils
6268 maybe-check-binutils: check-binutils
6270 check-binutils:
6271 @: $(MAKE); $(unstage)
6272 @r=`${PWD_COMMAND}`; export r; \
6273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6274 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6275 (cd $(HOST_SUBDIR)/binutils && \
6276 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6278 @endif binutils
6280 .PHONY: install-binutils maybe-install-binutils
6281 maybe-install-binutils:
6282 @if binutils
6283 maybe-install-binutils: install-binutils
6285 install-binutils: installdirs
6286 @: $(MAKE); $(unstage)
6287 @r=`${PWD_COMMAND}`; export r; \
6288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6289 $(HOST_EXPORTS) \
6290 (cd $(HOST_SUBDIR)/binutils && \
6291 $(MAKE) $(FLAGS_TO_PASS) install)
6293 @endif binutils
6295 .PHONY: install-strip-binutils maybe-install-strip-binutils
6296 maybe-install-strip-binutils:
6297 @if binutils
6298 maybe-install-strip-binutils: install-strip-binutils
6300 install-strip-binutils: installdirs
6301 @: $(MAKE); $(unstage)
6302 @r=`${PWD_COMMAND}`; export r; \
6303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6304 $(HOST_EXPORTS) \
6305 (cd $(HOST_SUBDIR)/binutils && \
6306 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6308 @endif binutils
6310 # Other targets (info, dvi, pdf, etc.)
6312 .PHONY: maybe-info-binutils info-binutils
6313 maybe-info-binutils:
6314 @if binutils
6315 maybe-info-binutils: info-binutils
6317 info-binutils: \
6318 configure-binutils
6319 @[ -f ./binutils/Makefile ] || exit 0; \
6320 r=`${PWD_COMMAND}`; export r; \
6321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6322 $(HOST_EXPORTS) \
6323 for flag in $(EXTRA_HOST_FLAGS) ; do \
6324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6325 done; \
6326 echo "Doing info in binutils"; \
6327 (cd $(HOST_SUBDIR)/binutils && \
6328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6330 "RANLIB=$${RANLIB}" \
6331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6332 info) \
6333 || exit 1
6335 @endif binutils
6337 .PHONY: maybe-dvi-binutils dvi-binutils
6338 maybe-dvi-binutils:
6339 @if binutils
6340 maybe-dvi-binutils: dvi-binutils
6342 dvi-binutils: \
6343 configure-binutils
6344 @[ -f ./binutils/Makefile ] || exit 0; \
6345 r=`${PWD_COMMAND}`; export r; \
6346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 $(HOST_EXPORTS) \
6348 for flag in $(EXTRA_HOST_FLAGS) ; do \
6349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6350 done; \
6351 echo "Doing dvi in binutils"; \
6352 (cd $(HOST_SUBDIR)/binutils && \
6353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6355 "RANLIB=$${RANLIB}" \
6356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6357 dvi) \
6358 || exit 1
6360 @endif binutils
6362 .PHONY: maybe-pdf-binutils pdf-binutils
6363 maybe-pdf-binutils:
6364 @if binutils
6365 maybe-pdf-binutils: pdf-binutils
6367 pdf-binutils: \
6368 configure-binutils
6369 @[ -f ./binutils/Makefile ] || exit 0; \
6370 r=`${PWD_COMMAND}`; export r; \
6371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6372 $(HOST_EXPORTS) \
6373 for flag in $(EXTRA_HOST_FLAGS) ; do \
6374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6375 done; \
6376 echo "Doing pdf in binutils"; \
6377 (cd $(HOST_SUBDIR)/binutils && \
6378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6380 "RANLIB=$${RANLIB}" \
6381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6382 pdf) \
6383 || exit 1
6385 @endif binutils
6387 .PHONY: maybe-html-binutils html-binutils
6388 maybe-html-binutils:
6389 @if binutils
6390 maybe-html-binutils: html-binutils
6392 html-binutils: \
6393 configure-binutils
6394 @[ -f ./binutils/Makefile ] || exit 0; \
6395 r=`${PWD_COMMAND}`; export r; \
6396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6397 $(HOST_EXPORTS) \
6398 for flag in $(EXTRA_HOST_FLAGS) ; do \
6399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6400 done; \
6401 echo "Doing html in binutils"; \
6402 (cd $(HOST_SUBDIR)/binutils && \
6403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6405 "RANLIB=$${RANLIB}" \
6406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6407 html) \
6408 || exit 1
6410 @endif binutils
6412 .PHONY: maybe-TAGS-binutils TAGS-binutils
6413 maybe-TAGS-binutils:
6414 @if binutils
6415 maybe-TAGS-binutils: TAGS-binutils
6417 TAGS-binutils: \
6418 configure-binutils
6419 @[ -f ./binutils/Makefile ] || exit 0; \
6420 r=`${PWD_COMMAND}`; export r; \
6421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6422 $(HOST_EXPORTS) \
6423 for flag in $(EXTRA_HOST_FLAGS) ; do \
6424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6425 done; \
6426 echo "Doing TAGS in binutils"; \
6427 (cd $(HOST_SUBDIR)/binutils && \
6428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6430 "RANLIB=$${RANLIB}" \
6431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6432 TAGS) \
6433 || exit 1
6435 @endif binutils
6437 .PHONY: maybe-install-info-binutils install-info-binutils
6438 maybe-install-info-binutils:
6439 @if binutils
6440 maybe-install-info-binutils: install-info-binutils
6442 install-info-binutils: \
6443 configure-binutils \
6444 info-binutils
6445 @[ -f ./binutils/Makefile ] || exit 0; \
6446 r=`${PWD_COMMAND}`; export r; \
6447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6448 $(HOST_EXPORTS) \
6449 for flag in $(EXTRA_HOST_FLAGS) ; do \
6450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6451 done; \
6452 echo "Doing install-info in binutils"; \
6453 (cd $(HOST_SUBDIR)/binutils && \
6454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6456 "RANLIB=$${RANLIB}" \
6457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6458 install-info) \
6459 || exit 1
6461 @endif binutils
6463 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6464 maybe-install-pdf-binutils:
6465 @if binutils
6466 maybe-install-pdf-binutils: install-pdf-binutils
6468 install-pdf-binutils: \
6469 configure-binutils \
6470 pdf-binutils
6471 @[ -f ./binutils/Makefile ] || exit 0; \
6472 r=`${PWD_COMMAND}`; export r; \
6473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6474 $(HOST_EXPORTS) \
6475 for flag in $(EXTRA_HOST_FLAGS) ; do \
6476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6477 done; \
6478 echo "Doing install-pdf in binutils"; \
6479 (cd $(HOST_SUBDIR)/binutils && \
6480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6482 "RANLIB=$${RANLIB}" \
6483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6484 install-pdf) \
6485 || exit 1
6487 @endif binutils
6489 .PHONY: maybe-install-html-binutils install-html-binutils
6490 maybe-install-html-binutils:
6491 @if binutils
6492 maybe-install-html-binutils: install-html-binutils
6494 install-html-binutils: \
6495 configure-binutils \
6496 html-binutils
6497 @[ -f ./binutils/Makefile ] || exit 0; \
6498 r=`${PWD_COMMAND}`; export r; \
6499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6500 $(HOST_EXPORTS) \
6501 for flag in $(EXTRA_HOST_FLAGS) ; do \
6502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6503 done; \
6504 echo "Doing install-html in binutils"; \
6505 (cd $(HOST_SUBDIR)/binutils && \
6506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6508 "RANLIB=$${RANLIB}" \
6509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6510 install-html) \
6511 || exit 1
6513 @endif binutils
6515 .PHONY: maybe-installcheck-binutils installcheck-binutils
6516 maybe-installcheck-binutils:
6517 @if binutils
6518 maybe-installcheck-binutils: installcheck-binutils
6520 installcheck-binutils: \
6521 configure-binutils
6522 @[ -f ./binutils/Makefile ] || exit 0; \
6523 r=`${PWD_COMMAND}`; export r; \
6524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6525 $(HOST_EXPORTS) \
6526 for flag in $(EXTRA_HOST_FLAGS) ; do \
6527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6528 done; \
6529 echo "Doing installcheck in binutils"; \
6530 (cd $(HOST_SUBDIR)/binutils && \
6531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6533 "RANLIB=$${RANLIB}" \
6534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6535 installcheck) \
6536 || exit 1
6538 @endif binutils
6540 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6541 maybe-mostlyclean-binutils:
6542 @if binutils
6543 maybe-mostlyclean-binutils: mostlyclean-binutils
6545 mostlyclean-binutils:
6546 @[ -f ./binutils/Makefile ] || exit 0; \
6547 r=`${PWD_COMMAND}`; export r; \
6548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6549 $(HOST_EXPORTS) \
6550 for flag in $(EXTRA_HOST_FLAGS) ; do \
6551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6552 done; \
6553 echo "Doing mostlyclean in binutils"; \
6554 (cd $(HOST_SUBDIR)/binutils && \
6555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6557 "RANLIB=$${RANLIB}" \
6558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6559 mostlyclean) \
6560 || exit 1
6562 @endif binutils
6564 .PHONY: maybe-clean-binutils clean-binutils
6565 maybe-clean-binutils:
6566 @if binutils
6567 maybe-clean-binutils: clean-binutils
6569 clean-binutils:
6570 @[ -f ./binutils/Makefile ] || exit 0; \
6571 r=`${PWD_COMMAND}`; export r; \
6572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6573 $(HOST_EXPORTS) \
6574 for flag in $(EXTRA_HOST_FLAGS) ; do \
6575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6576 done; \
6577 echo "Doing clean in binutils"; \
6578 (cd $(HOST_SUBDIR)/binutils && \
6579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6581 "RANLIB=$${RANLIB}" \
6582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6583 clean) \
6584 || exit 1
6586 @endif binutils
6588 .PHONY: maybe-distclean-binutils distclean-binutils
6589 maybe-distclean-binutils:
6590 @if binutils
6591 maybe-distclean-binutils: distclean-binutils
6593 distclean-binutils:
6594 @[ -f ./binutils/Makefile ] || exit 0; \
6595 r=`${PWD_COMMAND}`; export r; \
6596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6597 $(HOST_EXPORTS) \
6598 for flag in $(EXTRA_HOST_FLAGS) ; do \
6599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6600 done; \
6601 echo "Doing distclean in binutils"; \
6602 (cd $(HOST_SUBDIR)/binutils && \
6603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6605 "RANLIB=$${RANLIB}" \
6606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6607 distclean) \
6608 || exit 1
6610 @endif binutils
6612 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6613 maybe-maintainer-clean-binutils:
6614 @if binutils
6615 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6617 maintainer-clean-binutils:
6618 @[ -f ./binutils/Makefile ] || exit 0; \
6619 r=`${PWD_COMMAND}`; export r; \
6620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6621 $(HOST_EXPORTS) \
6622 for flag in $(EXTRA_HOST_FLAGS) ; do \
6623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6624 done; \
6625 echo "Doing maintainer-clean in binutils"; \
6626 (cd $(HOST_SUBDIR)/binutils && \
6627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6629 "RANLIB=$${RANLIB}" \
6630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6631 maintainer-clean) \
6632 || exit 1
6634 @endif binutils
6638 .PHONY: configure-bison maybe-configure-bison
6639 maybe-configure-bison:
6640 @if gcc-bootstrap
6641 configure-bison: stage_current
6642 @endif gcc-bootstrap
6643 @if bison
6644 maybe-configure-bison: configure-bison
6645 configure-bison:
6646 @: $(MAKE); $(unstage)
6647 @r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6651 $(HOST_EXPORTS) \
6652 echo Configuring in $(HOST_SUBDIR)/bison; \
6653 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6654 case $(srcdir) in \
6655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6656 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6658 esac; \
6659 module_srcdir=bison; \
6660 $(SHELL) \
6661 $$s/$$module_srcdir/configure \
6662 --srcdir=$${topdir}/$$module_srcdir \
6663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6664 --target=${target_alias} \
6665 || exit 1
6666 @endif bison
6672 .PHONY: all-bison maybe-all-bison
6673 maybe-all-bison:
6674 @if gcc-bootstrap
6675 all-bison: stage_current
6676 @endif gcc-bootstrap
6677 @if bison
6678 TARGET-bison=all
6679 maybe-all-bison: all-bison
6680 all-bison: configure-bison
6681 @: $(MAKE); $(unstage)
6682 @r=`${PWD_COMMAND}`; export r; \
6683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6684 $(HOST_EXPORTS) \
6685 (cd $(HOST_SUBDIR)/bison && \
6686 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6687 $(TARGET-bison))
6688 @endif bison
6693 .PHONY: check-bison maybe-check-bison
6694 maybe-check-bison:
6695 @if bison
6696 maybe-check-bison: check-bison
6698 # This module is only tested in a native toolchain.
6699 check-bison:
6700 @: $(MAKE); $(unstage)
6701 @if [ '$(host)' = '$(target)' ]; then \
6702 r=`${PWD_COMMAND}`; export r; \
6703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6704 $(HOST_EXPORTS) \
6705 (cd $(HOST_SUBDIR)/bison && \
6706 $(MAKE) $(FLAGS_TO_PASS) check)
6709 @endif bison
6711 .PHONY: install-bison maybe-install-bison
6712 maybe-install-bison:
6713 @if bison
6714 maybe-install-bison: install-bison
6716 install-bison: installdirs
6717 @: $(MAKE); $(unstage)
6718 @r=`${PWD_COMMAND}`; export r; \
6719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6720 $(HOST_EXPORTS) \
6721 (cd $(HOST_SUBDIR)/bison && \
6722 $(MAKE) $(FLAGS_TO_PASS) install)
6724 @endif bison
6726 .PHONY: install-strip-bison maybe-install-strip-bison
6727 maybe-install-strip-bison:
6728 @if bison
6729 maybe-install-strip-bison: install-strip-bison
6731 install-strip-bison: installdirs
6732 @: $(MAKE); $(unstage)
6733 @r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 (cd $(HOST_SUBDIR)/bison && \
6737 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6739 @endif bison
6741 # Other targets (info, dvi, pdf, etc.)
6743 .PHONY: maybe-info-bison info-bison
6744 maybe-info-bison:
6745 @if bison
6746 maybe-info-bison: info-bison
6748 info-bison: \
6749 configure-bison
6750 @: $(MAKE); $(unstage)
6751 @[ -f ./bison/Makefile ] || exit 0; \
6752 r=`${PWD_COMMAND}`; export r; \
6753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6754 $(HOST_EXPORTS) \
6755 for flag in $(EXTRA_HOST_FLAGS) ; do \
6756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6757 done; \
6758 echo "Doing info in bison"; \
6759 (cd $(HOST_SUBDIR)/bison && \
6760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6762 "RANLIB=$${RANLIB}" \
6763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6764 info) \
6765 || exit 1
6767 @endif bison
6769 .PHONY: maybe-dvi-bison dvi-bison
6770 maybe-dvi-bison:
6771 @if bison
6772 maybe-dvi-bison: dvi-bison
6774 dvi-bison: \
6775 configure-bison
6776 @: $(MAKE); $(unstage)
6777 @[ -f ./bison/Makefile ] || exit 0; \
6778 r=`${PWD_COMMAND}`; export r; \
6779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780 $(HOST_EXPORTS) \
6781 for flag in $(EXTRA_HOST_FLAGS) ; do \
6782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6783 done; \
6784 echo "Doing dvi in bison"; \
6785 (cd $(HOST_SUBDIR)/bison && \
6786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6788 "RANLIB=$${RANLIB}" \
6789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6790 dvi) \
6791 || exit 1
6793 @endif bison
6795 .PHONY: maybe-pdf-bison pdf-bison
6796 maybe-pdf-bison:
6797 @if bison
6798 maybe-pdf-bison: pdf-bison
6800 pdf-bison: \
6801 configure-bison
6802 @: $(MAKE); $(unstage)
6803 @[ -f ./bison/Makefile ] || exit 0; \
6804 r=`${PWD_COMMAND}`; export r; \
6805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6806 $(HOST_EXPORTS) \
6807 for flag in $(EXTRA_HOST_FLAGS) ; do \
6808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6809 done; \
6810 echo "Doing pdf in bison"; \
6811 (cd $(HOST_SUBDIR)/bison && \
6812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6814 "RANLIB=$${RANLIB}" \
6815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6816 pdf) \
6817 || exit 1
6819 @endif bison
6821 .PHONY: maybe-html-bison html-bison
6822 maybe-html-bison:
6823 @if bison
6824 maybe-html-bison: html-bison
6826 html-bison: \
6827 configure-bison
6828 @: $(MAKE); $(unstage)
6829 @[ -f ./bison/Makefile ] || exit 0; \
6830 r=`${PWD_COMMAND}`; export r; \
6831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 $(HOST_EXPORTS) \
6833 for flag in $(EXTRA_HOST_FLAGS) ; do \
6834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6835 done; \
6836 echo "Doing html in bison"; \
6837 (cd $(HOST_SUBDIR)/bison && \
6838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6840 "RANLIB=$${RANLIB}" \
6841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6842 html) \
6843 || exit 1
6845 @endif bison
6847 .PHONY: maybe-TAGS-bison TAGS-bison
6848 maybe-TAGS-bison:
6849 @if bison
6850 maybe-TAGS-bison: TAGS-bison
6852 TAGS-bison: \
6853 configure-bison
6854 @: $(MAKE); $(unstage)
6855 @[ -f ./bison/Makefile ] || exit 0; \
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 $(HOST_EXPORTS) \
6859 for flag in $(EXTRA_HOST_FLAGS) ; do \
6860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 done; \
6862 echo "Doing TAGS in bison"; \
6863 (cd $(HOST_SUBDIR)/bison && \
6864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6866 "RANLIB=$${RANLIB}" \
6867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6868 TAGS) \
6869 || exit 1
6871 @endif bison
6873 .PHONY: maybe-install-info-bison install-info-bison
6874 maybe-install-info-bison:
6875 @if bison
6876 maybe-install-info-bison: install-info-bison
6878 install-info-bison: \
6879 configure-bison \
6880 info-bison
6881 @: $(MAKE); $(unstage)
6882 @[ -f ./bison/Makefile ] || exit 0; \
6883 r=`${PWD_COMMAND}`; export r; \
6884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6885 $(HOST_EXPORTS) \
6886 for flag in $(EXTRA_HOST_FLAGS) ; do \
6887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6888 done; \
6889 echo "Doing install-info in bison"; \
6890 (cd $(HOST_SUBDIR)/bison && \
6891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6893 "RANLIB=$${RANLIB}" \
6894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6895 install-info) \
6896 || exit 1
6898 @endif bison
6900 .PHONY: maybe-install-pdf-bison install-pdf-bison
6901 maybe-install-pdf-bison:
6902 @if bison
6903 maybe-install-pdf-bison: install-pdf-bison
6905 install-pdf-bison: \
6906 configure-bison \
6907 pdf-bison
6908 @: $(MAKE); $(unstage)
6909 @[ -f ./bison/Makefile ] || exit 0; \
6910 r=`${PWD_COMMAND}`; export r; \
6911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6912 $(HOST_EXPORTS) \
6913 for flag in $(EXTRA_HOST_FLAGS) ; do \
6914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6915 done; \
6916 echo "Doing install-pdf in bison"; \
6917 (cd $(HOST_SUBDIR)/bison && \
6918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6920 "RANLIB=$${RANLIB}" \
6921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6922 install-pdf) \
6923 || exit 1
6925 @endif bison
6927 .PHONY: maybe-install-html-bison install-html-bison
6928 maybe-install-html-bison:
6929 @if bison
6930 maybe-install-html-bison: install-html-bison
6932 install-html-bison: \
6933 configure-bison \
6934 html-bison
6935 @: $(MAKE); $(unstage)
6936 @[ -f ./bison/Makefile ] || exit 0; \
6937 r=`${PWD_COMMAND}`; export r; \
6938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6939 $(HOST_EXPORTS) \
6940 for flag in $(EXTRA_HOST_FLAGS) ; do \
6941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6942 done; \
6943 echo "Doing install-html in bison"; \
6944 (cd $(HOST_SUBDIR)/bison && \
6945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6947 "RANLIB=$${RANLIB}" \
6948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6949 install-html) \
6950 || exit 1
6952 @endif bison
6954 .PHONY: maybe-installcheck-bison installcheck-bison
6955 maybe-installcheck-bison:
6956 @if bison
6957 maybe-installcheck-bison: installcheck-bison
6959 installcheck-bison: \
6960 configure-bison
6961 @: $(MAKE); $(unstage)
6962 @[ -f ./bison/Makefile ] || exit 0; \
6963 r=`${PWD_COMMAND}`; export r; \
6964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6965 $(HOST_EXPORTS) \
6966 for flag in $(EXTRA_HOST_FLAGS) ; do \
6967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6968 done; \
6969 echo "Doing installcheck in bison"; \
6970 (cd $(HOST_SUBDIR)/bison && \
6971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6973 "RANLIB=$${RANLIB}" \
6974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6975 installcheck) \
6976 || exit 1
6978 @endif bison
6980 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6981 maybe-mostlyclean-bison:
6982 @if bison
6983 maybe-mostlyclean-bison: mostlyclean-bison
6985 mostlyclean-bison:
6986 @: $(MAKE); $(unstage)
6987 @[ -f ./bison/Makefile ] || exit 0; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(HOST_EXPORTS) \
6991 for flag in $(EXTRA_HOST_FLAGS) ; do \
6992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6993 done; \
6994 echo "Doing mostlyclean in bison"; \
6995 (cd $(HOST_SUBDIR)/bison && \
6996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6998 "RANLIB=$${RANLIB}" \
6999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7000 mostlyclean) \
7001 || exit 1
7003 @endif bison
7005 .PHONY: maybe-clean-bison clean-bison
7006 maybe-clean-bison:
7007 @if bison
7008 maybe-clean-bison: clean-bison
7010 clean-bison:
7011 @: $(MAKE); $(unstage)
7012 @[ -f ./bison/Makefile ] || exit 0; \
7013 r=`${PWD_COMMAND}`; export r; \
7014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7015 $(HOST_EXPORTS) \
7016 for flag in $(EXTRA_HOST_FLAGS) ; do \
7017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7018 done; \
7019 echo "Doing clean in bison"; \
7020 (cd $(HOST_SUBDIR)/bison && \
7021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7023 "RANLIB=$${RANLIB}" \
7024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7025 clean) \
7026 || exit 1
7028 @endif bison
7030 .PHONY: maybe-distclean-bison distclean-bison
7031 maybe-distclean-bison:
7032 @if bison
7033 maybe-distclean-bison: distclean-bison
7035 distclean-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 distclean 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 distclean) \
7051 || exit 1
7053 @endif bison
7055 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7056 maybe-maintainer-clean-bison:
7057 @if bison
7058 maybe-maintainer-clean-bison: maintainer-clean-bison
7060 maintainer-clean-bison:
7061 @: $(MAKE); $(unstage)
7062 @[ -f ./bison/Makefile ] || exit 0; \
7063 r=`${PWD_COMMAND}`; export r; \
7064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7065 $(HOST_EXPORTS) \
7066 for flag in $(EXTRA_HOST_FLAGS) ; do \
7067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7068 done; \
7069 echo "Doing maintainer-clean in bison"; \
7070 (cd $(HOST_SUBDIR)/bison && \
7071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7073 "RANLIB=$${RANLIB}" \
7074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7075 maintainer-clean) \
7076 || exit 1
7078 @endif bison
7082 .PHONY: configure-cgen maybe-configure-cgen
7083 maybe-configure-cgen:
7084 @if gcc-bootstrap
7085 configure-cgen: stage_current
7086 @endif gcc-bootstrap
7087 @if cgen
7088 maybe-configure-cgen: configure-cgen
7089 configure-cgen:
7090 @: $(MAKE); $(unstage)
7091 @r=`${PWD_COMMAND}`; export r; \
7092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7093 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
7094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
7095 $(HOST_EXPORTS) \
7096 echo Configuring in $(HOST_SUBDIR)/cgen; \
7097 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
7098 case $(srcdir) in \
7099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7100 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
7101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7102 esac; \
7103 module_srcdir=cgen; \
7104 $(SHELL) \
7105 $$s/$$module_srcdir/configure \
7106 --srcdir=$${topdir}/$$module_srcdir \
7107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7108 --target=${target_alias} \
7109 || exit 1
7110 @endif cgen
7116 .PHONY: all-cgen maybe-all-cgen
7117 maybe-all-cgen:
7118 @if gcc-bootstrap
7119 all-cgen: stage_current
7120 @endif gcc-bootstrap
7121 @if cgen
7122 TARGET-cgen=all
7123 maybe-all-cgen: all-cgen
7124 all-cgen: configure-cgen
7125 @: $(MAKE); $(unstage)
7126 @r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7128 $(HOST_EXPORTS) \
7129 (cd $(HOST_SUBDIR)/cgen && \
7130 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7131 $(TARGET-cgen))
7132 @endif cgen
7137 .PHONY: check-cgen maybe-check-cgen
7138 maybe-check-cgen:
7139 @if cgen
7140 maybe-check-cgen: check-cgen
7142 check-cgen:
7143 @: $(MAKE); $(unstage)
7144 @r=`${PWD_COMMAND}`; export r; \
7145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7146 $(HOST_EXPORTS) \
7147 (cd $(HOST_SUBDIR)/cgen && \
7148 $(MAKE) $(FLAGS_TO_PASS) check)
7150 @endif cgen
7152 .PHONY: install-cgen maybe-install-cgen
7153 maybe-install-cgen:
7154 @if cgen
7155 maybe-install-cgen: install-cgen
7157 install-cgen: installdirs
7158 @: $(MAKE); $(unstage)
7159 @r=`${PWD_COMMAND}`; export r; \
7160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 $(HOST_EXPORTS) \
7162 (cd $(HOST_SUBDIR)/cgen && \
7163 $(MAKE) $(FLAGS_TO_PASS) install)
7165 @endif cgen
7167 .PHONY: install-strip-cgen maybe-install-strip-cgen
7168 maybe-install-strip-cgen:
7169 @if cgen
7170 maybe-install-strip-cgen: install-strip-cgen
7172 install-strip-cgen: installdirs
7173 @: $(MAKE); $(unstage)
7174 @r=`${PWD_COMMAND}`; export r; \
7175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7176 $(HOST_EXPORTS) \
7177 (cd $(HOST_SUBDIR)/cgen && \
7178 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7180 @endif cgen
7182 # Other targets (info, dvi, pdf, etc.)
7184 .PHONY: maybe-info-cgen info-cgen
7185 maybe-info-cgen:
7186 @if cgen
7187 maybe-info-cgen: info-cgen
7189 info-cgen: \
7190 configure-cgen
7191 @: $(MAKE); $(unstage)
7192 @[ -f ./cgen/Makefile ] || exit 0; \
7193 r=`${PWD_COMMAND}`; export r; \
7194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7195 $(HOST_EXPORTS) \
7196 for flag in $(EXTRA_HOST_FLAGS) ; do \
7197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7198 done; \
7199 echo "Doing info in cgen"; \
7200 (cd $(HOST_SUBDIR)/cgen && \
7201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7203 "RANLIB=$${RANLIB}" \
7204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7205 info) \
7206 || exit 1
7208 @endif cgen
7210 .PHONY: maybe-dvi-cgen dvi-cgen
7211 maybe-dvi-cgen:
7212 @if cgen
7213 maybe-dvi-cgen: dvi-cgen
7215 dvi-cgen: \
7216 configure-cgen
7217 @: $(MAKE); $(unstage)
7218 @[ -f ./cgen/Makefile ] || exit 0; \
7219 r=`${PWD_COMMAND}`; export r; \
7220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7221 $(HOST_EXPORTS) \
7222 for flag in $(EXTRA_HOST_FLAGS) ; do \
7223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7224 done; \
7225 echo "Doing dvi in cgen"; \
7226 (cd $(HOST_SUBDIR)/cgen && \
7227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7229 "RANLIB=$${RANLIB}" \
7230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7231 dvi) \
7232 || exit 1
7234 @endif cgen
7236 .PHONY: maybe-pdf-cgen pdf-cgen
7237 maybe-pdf-cgen:
7238 @if cgen
7239 maybe-pdf-cgen: pdf-cgen
7241 pdf-cgen: \
7242 configure-cgen
7243 @: $(MAKE); $(unstage)
7244 @[ -f ./cgen/Makefile ] || exit 0; \
7245 r=`${PWD_COMMAND}`; export r; \
7246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7247 $(HOST_EXPORTS) \
7248 for flag in $(EXTRA_HOST_FLAGS) ; do \
7249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7250 done; \
7251 echo "Doing pdf in cgen"; \
7252 (cd $(HOST_SUBDIR)/cgen && \
7253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7255 "RANLIB=$${RANLIB}" \
7256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7257 pdf) \
7258 || exit 1
7260 @endif cgen
7262 .PHONY: maybe-html-cgen html-cgen
7263 maybe-html-cgen:
7264 @if cgen
7265 maybe-html-cgen: html-cgen
7267 html-cgen: \
7268 configure-cgen
7269 @: $(MAKE); $(unstage)
7270 @[ -f ./cgen/Makefile ] || exit 0; \
7271 r=`${PWD_COMMAND}`; export r; \
7272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7273 $(HOST_EXPORTS) \
7274 for flag in $(EXTRA_HOST_FLAGS) ; do \
7275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7276 done; \
7277 echo "Doing html in cgen"; \
7278 (cd $(HOST_SUBDIR)/cgen && \
7279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7281 "RANLIB=$${RANLIB}" \
7282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7283 html) \
7284 || exit 1
7286 @endif cgen
7288 .PHONY: maybe-TAGS-cgen TAGS-cgen
7289 maybe-TAGS-cgen:
7290 @if cgen
7291 maybe-TAGS-cgen: TAGS-cgen
7293 TAGS-cgen: \
7294 configure-cgen
7295 @: $(MAKE); $(unstage)
7296 @[ -f ./cgen/Makefile ] || exit 0; \
7297 r=`${PWD_COMMAND}`; export r; \
7298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 $(HOST_EXPORTS) \
7300 for flag in $(EXTRA_HOST_FLAGS) ; do \
7301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7302 done; \
7303 echo "Doing TAGS in cgen"; \
7304 (cd $(HOST_SUBDIR)/cgen && \
7305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7307 "RANLIB=$${RANLIB}" \
7308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7309 TAGS) \
7310 || exit 1
7312 @endif cgen
7314 .PHONY: maybe-install-info-cgen install-info-cgen
7315 maybe-install-info-cgen:
7316 @if cgen
7317 maybe-install-info-cgen: install-info-cgen
7319 install-info-cgen: \
7320 configure-cgen \
7321 info-cgen
7322 @: $(MAKE); $(unstage)
7323 @[ -f ./cgen/Makefile ] || exit 0; \
7324 r=`${PWD_COMMAND}`; export r; \
7325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7326 $(HOST_EXPORTS) \
7327 for flag in $(EXTRA_HOST_FLAGS) ; do \
7328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7329 done; \
7330 echo "Doing install-info in cgen"; \
7331 (cd $(HOST_SUBDIR)/cgen && \
7332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7334 "RANLIB=$${RANLIB}" \
7335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7336 install-info) \
7337 || exit 1
7339 @endif cgen
7341 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7342 maybe-install-pdf-cgen:
7343 @if cgen
7344 maybe-install-pdf-cgen: install-pdf-cgen
7346 install-pdf-cgen: \
7347 configure-cgen \
7348 pdf-cgen
7349 @: $(MAKE); $(unstage)
7350 @[ -f ./cgen/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 install-pdf in cgen"; \
7358 (cd $(HOST_SUBDIR)/cgen && \
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 install-pdf) \
7364 || exit 1
7366 @endif cgen
7368 .PHONY: maybe-install-html-cgen install-html-cgen
7369 maybe-install-html-cgen:
7370 @if cgen
7371 maybe-install-html-cgen: install-html-cgen
7373 install-html-cgen: \
7374 configure-cgen \
7375 html-cgen
7376 @: $(MAKE); $(unstage)
7377 @[ -f ./cgen/Makefile ] || exit 0; \
7378 r=`${PWD_COMMAND}`; export r; \
7379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7380 $(HOST_EXPORTS) \
7381 for flag in $(EXTRA_HOST_FLAGS) ; do \
7382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7383 done; \
7384 echo "Doing install-html in cgen"; \
7385 (cd $(HOST_SUBDIR)/cgen && \
7386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7388 "RANLIB=$${RANLIB}" \
7389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7390 install-html) \
7391 || exit 1
7393 @endif cgen
7395 .PHONY: maybe-installcheck-cgen installcheck-cgen
7396 maybe-installcheck-cgen:
7397 @if cgen
7398 maybe-installcheck-cgen: installcheck-cgen
7400 installcheck-cgen: \
7401 configure-cgen
7402 @: $(MAKE); $(unstage)
7403 @[ -f ./cgen/Makefile ] || exit 0; \
7404 r=`${PWD_COMMAND}`; export r; \
7405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7406 $(HOST_EXPORTS) \
7407 for flag in $(EXTRA_HOST_FLAGS) ; do \
7408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7409 done; \
7410 echo "Doing installcheck in cgen"; \
7411 (cd $(HOST_SUBDIR)/cgen && \
7412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7414 "RANLIB=$${RANLIB}" \
7415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7416 installcheck) \
7417 || exit 1
7419 @endif cgen
7421 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7422 maybe-mostlyclean-cgen:
7423 @if cgen
7424 maybe-mostlyclean-cgen: mostlyclean-cgen
7426 mostlyclean-cgen:
7427 @: $(MAKE); $(unstage)
7428 @[ -f ./cgen/Makefile ] || exit 0; \
7429 r=`${PWD_COMMAND}`; export r; \
7430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7431 $(HOST_EXPORTS) \
7432 for flag in $(EXTRA_HOST_FLAGS) ; do \
7433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7434 done; \
7435 echo "Doing mostlyclean in cgen"; \
7436 (cd $(HOST_SUBDIR)/cgen && \
7437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7439 "RANLIB=$${RANLIB}" \
7440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7441 mostlyclean) \
7442 || exit 1
7444 @endif cgen
7446 .PHONY: maybe-clean-cgen clean-cgen
7447 maybe-clean-cgen:
7448 @if cgen
7449 maybe-clean-cgen: clean-cgen
7451 clean-cgen:
7452 @: $(MAKE); $(unstage)
7453 @[ -f ./cgen/Makefile ] || exit 0; \
7454 r=`${PWD_COMMAND}`; export r; \
7455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7456 $(HOST_EXPORTS) \
7457 for flag in $(EXTRA_HOST_FLAGS) ; do \
7458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7459 done; \
7460 echo "Doing clean in cgen"; \
7461 (cd $(HOST_SUBDIR)/cgen && \
7462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7464 "RANLIB=$${RANLIB}" \
7465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7466 clean) \
7467 || exit 1
7469 @endif cgen
7471 .PHONY: maybe-distclean-cgen distclean-cgen
7472 maybe-distclean-cgen:
7473 @if cgen
7474 maybe-distclean-cgen: distclean-cgen
7476 distclean-cgen:
7477 @: $(MAKE); $(unstage)
7478 @[ -f ./cgen/Makefile ] || exit 0; \
7479 r=`${PWD_COMMAND}`; export r; \
7480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7481 $(HOST_EXPORTS) \
7482 for flag in $(EXTRA_HOST_FLAGS) ; do \
7483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7484 done; \
7485 echo "Doing distclean in cgen"; \
7486 (cd $(HOST_SUBDIR)/cgen && \
7487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7489 "RANLIB=$${RANLIB}" \
7490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7491 distclean) \
7492 || exit 1
7494 @endif cgen
7496 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7497 maybe-maintainer-clean-cgen:
7498 @if cgen
7499 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7501 maintainer-clean-cgen:
7502 @: $(MAKE); $(unstage)
7503 @[ -f ./cgen/Makefile ] || exit 0; \
7504 r=`${PWD_COMMAND}`; export r; \
7505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7506 $(HOST_EXPORTS) \
7507 for flag in $(EXTRA_HOST_FLAGS) ; do \
7508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7509 done; \
7510 echo "Doing maintainer-clean in cgen"; \
7511 (cd $(HOST_SUBDIR)/cgen && \
7512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7514 "RANLIB=$${RANLIB}" \
7515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7516 maintainer-clean) \
7517 || exit 1
7519 @endif cgen
7523 .PHONY: configure-dejagnu maybe-configure-dejagnu
7524 maybe-configure-dejagnu:
7525 @if gcc-bootstrap
7526 configure-dejagnu: stage_current
7527 @endif gcc-bootstrap
7528 @if dejagnu
7529 maybe-configure-dejagnu: configure-dejagnu
7530 configure-dejagnu:
7531 @: $(MAKE); $(unstage)
7532 @r=`${PWD_COMMAND}`; export r; \
7533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7534 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7536 $(HOST_EXPORTS) \
7537 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7538 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7539 case $(srcdir) in \
7540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7541 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7543 esac; \
7544 module_srcdir=dejagnu; \
7545 $(SHELL) \
7546 $$s/$$module_srcdir/configure \
7547 --srcdir=$${topdir}/$$module_srcdir \
7548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7549 --target=${target_alias} \
7550 || exit 1
7551 @endif dejagnu
7557 .PHONY: all-dejagnu maybe-all-dejagnu
7558 maybe-all-dejagnu:
7559 @if gcc-bootstrap
7560 all-dejagnu: stage_current
7561 @endif gcc-bootstrap
7562 @if dejagnu
7563 TARGET-dejagnu=all
7564 maybe-all-dejagnu: all-dejagnu
7565 all-dejagnu: configure-dejagnu
7566 @: $(MAKE); $(unstage)
7567 @r=`${PWD_COMMAND}`; export r; \
7568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 $(HOST_EXPORTS) \
7570 (cd $(HOST_SUBDIR)/dejagnu && \
7571 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7572 $(TARGET-dejagnu))
7573 @endif dejagnu
7578 .PHONY: check-dejagnu maybe-check-dejagnu
7579 maybe-check-dejagnu:
7580 @if dejagnu
7581 maybe-check-dejagnu: check-dejagnu
7583 check-dejagnu:
7584 @: $(MAKE); $(unstage)
7585 @r=`${PWD_COMMAND}`; export r; \
7586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7587 $(HOST_EXPORTS) \
7588 (cd $(HOST_SUBDIR)/dejagnu && \
7589 $(MAKE) $(FLAGS_TO_PASS) check)
7591 @endif dejagnu
7593 .PHONY: install-dejagnu maybe-install-dejagnu
7594 maybe-install-dejagnu:
7595 @if dejagnu
7596 maybe-install-dejagnu: install-dejagnu
7598 install-dejagnu: installdirs
7599 @: $(MAKE); $(unstage)
7600 @r=`${PWD_COMMAND}`; export r; \
7601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7602 $(HOST_EXPORTS) \
7603 (cd $(HOST_SUBDIR)/dejagnu && \
7604 $(MAKE) $(FLAGS_TO_PASS) install)
7606 @endif dejagnu
7608 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7609 maybe-install-strip-dejagnu:
7610 @if dejagnu
7611 maybe-install-strip-dejagnu: install-strip-dejagnu
7613 install-strip-dejagnu: installdirs
7614 @: $(MAKE); $(unstage)
7615 @r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 (cd $(HOST_SUBDIR)/dejagnu && \
7619 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7621 @endif dejagnu
7623 # Other targets (info, dvi, pdf, etc.)
7625 .PHONY: maybe-info-dejagnu info-dejagnu
7626 maybe-info-dejagnu:
7627 @if dejagnu
7628 maybe-info-dejagnu: info-dejagnu
7630 info-dejagnu: \
7631 configure-dejagnu
7632 @: $(MAKE); $(unstage)
7633 @[ -f ./dejagnu/Makefile ] || exit 0; \
7634 r=`${PWD_COMMAND}`; export r; \
7635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7636 $(HOST_EXPORTS) \
7637 for flag in $(EXTRA_HOST_FLAGS) ; do \
7638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7639 done; \
7640 echo "Doing info in dejagnu"; \
7641 (cd $(HOST_SUBDIR)/dejagnu && \
7642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7644 "RANLIB=$${RANLIB}" \
7645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7646 info) \
7647 || exit 1
7649 @endif dejagnu
7651 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7652 maybe-dvi-dejagnu:
7653 @if dejagnu
7654 maybe-dvi-dejagnu: dvi-dejagnu
7656 dvi-dejagnu: \
7657 configure-dejagnu
7658 @: $(MAKE); $(unstage)
7659 @[ -f ./dejagnu/Makefile ] || exit 0; \
7660 r=`${PWD_COMMAND}`; export r; \
7661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7662 $(HOST_EXPORTS) \
7663 for flag in $(EXTRA_HOST_FLAGS) ; do \
7664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7665 done; \
7666 echo "Doing dvi in dejagnu"; \
7667 (cd $(HOST_SUBDIR)/dejagnu && \
7668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7670 "RANLIB=$${RANLIB}" \
7671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7672 dvi) \
7673 || exit 1
7675 @endif dejagnu
7677 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7678 maybe-pdf-dejagnu:
7679 @if dejagnu
7680 maybe-pdf-dejagnu: pdf-dejagnu
7682 pdf-dejagnu: \
7683 configure-dejagnu
7684 @: $(MAKE); $(unstage)
7685 @[ -f ./dejagnu/Makefile ] || exit 0; \
7686 r=`${PWD_COMMAND}`; export r; \
7687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7688 $(HOST_EXPORTS) \
7689 for flag in $(EXTRA_HOST_FLAGS) ; do \
7690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7691 done; \
7692 echo "Doing pdf in dejagnu"; \
7693 (cd $(HOST_SUBDIR)/dejagnu && \
7694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7696 "RANLIB=$${RANLIB}" \
7697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7698 pdf) \
7699 || exit 1
7701 @endif dejagnu
7703 .PHONY: maybe-html-dejagnu html-dejagnu
7704 maybe-html-dejagnu:
7705 @if dejagnu
7706 maybe-html-dejagnu: html-dejagnu
7708 html-dejagnu: \
7709 configure-dejagnu
7710 @: $(MAKE); $(unstage)
7711 @[ -f ./dejagnu/Makefile ] || exit 0; \
7712 r=`${PWD_COMMAND}`; export r; \
7713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7714 $(HOST_EXPORTS) \
7715 for flag in $(EXTRA_HOST_FLAGS) ; do \
7716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7717 done; \
7718 echo "Doing html in dejagnu"; \
7719 (cd $(HOST_SUBDIR)/dejagnu && \
7720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7722 "RANLIB=$${RANLIB}" \
7723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7724 html) \
7725 || exit 1
7727 @endif dejagnu
7729 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7730 maybe-TAGS-dejagnu:
7731 @if dejagnu
7732 maybe-TAGS-dejagnu: TAGS-dejagnu
7734 TAGS-dejagnu: \
7735 configure-dejagnu
7736 @: $(MAKE); $(unstage)
7737 @[ -f ./dejagnu/Makefile ] || exit 0; \
7738 r=`${PWD_COMMAND}`; export r; \
7739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7740 $(HOST_EXPORTS) \
7741 for flag in $(EXTRA_HOST_FLAGS) ; do \
7742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7743 done; \
7744 echo "Doing TAGS in dejagnu"; \
7745 (cd $(HOST_SUBDIR)/dejagnu && \
7746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7748 "RANLIB=$${RANLIB}" \
7749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7750 TAGS) \
7751 || exit 1
7753 @endif dejagnu
7755 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7756 maybe-install-info-dejagnu:
7757 @if dejagnu
7758 maybe-install-info-dejagnu: install-info-dejagnu
7760 install-info-dejagnu: \
7761 configure-dejagnu \
7762 info-dejagnu
7763 @: $(MAKE); $(unstage)
7764 @[ -f ./dejagnu/Makefile ] || exit 0; \
7765 r=`${PWD_COMMAND}`; export r; \
7766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7767 $(HOST_EXPORTS) \
7768 for flag in $(EXTRA_HOST_FLAGS) ; do \
7769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7770 done; \
7771 echo "Doing install-info in dejagnu"; \
7772 (cd $(HOST_SUBDIR)/dejagnu && \
7773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7775 "RANLIB=$${RANLIB}" \
7776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7777 install-info) \
7778 || exit 1
7780 @endif dejagnu
7782 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7783 maybe-install-pdf-dejagnu:
7784 @if dejagnu
7785 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7787 install-pdf-dejagnu: \
7788 configure-dejagnu \
7789 pdf-dejagnu
7790 @: $(MAKE); $(unstage)
7791 @[ -f ./dejagnu/Makefile ] || exit 0; \
7792 r=`${PWD_COMMAND}`; export r; \
7793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7794 $(HOST_EXPORTS) \
7795 for flag in $(EXTRA_HOST_FLAGS) ; do \
7796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7797 done; \
7798 echo "Doing install-pdf in dejagnu"; \
7799 (cd $(HOST_SUBDIR)/dejagnu && \
7800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7802 "RANLIB=$${RANLIB}" \
7803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7804 install-pdf) \
7805 || exit 1
7807 @endif dejagnu
7809 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7810 maybe-install-html-dejagnu:
7811 @if dejagnu
7812 maybe-install-html-dejagnu: install-html-dejagnu
7814 install-html-dejagnu: \
7815 configure-dejagnu \
7816 html-dejagnu
7817 @: $(MAKE); $(unstage)
7818 @[ -f ./dejagnu/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 install-html in dejagnu"; \
7826 (cd $(HOST_SUBDIR)/dejagnu && \
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 install-html) \
7832 || exit 1
7834 @endif dejagnu
7836 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7837 maybe-installcheck-dejagnu:
7838 @if dejagnu
7839 maybe-installcheck-dejagnu: installcheck-dejagnu
7841 installcheck-dejagnu: \
7842 configure-dejagnu
7843 @: $(MAKE); $(unstage)
7844 @[ -f ./dejagnu/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing installcheck in dejagnu"; \
7852 (cd $(HOST_SUBDIR)/dejagnu && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7857 installcheck) \
7858 || exit 1
7860 @endif dejagnu
7862 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7863 maybe-mostlyclean-dejagnu:
7864 @if dejagnu
7865 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7867 mostlyclean-dejagnu:
7868 @: $(MAKE); $(unstage)
7869 @[ -f ./dejagnu/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing mostlyclean in dejagnu"; \
7877 (cd $(HOST_SUBDIR)/dejagnu && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7882 mostlyclean) \
7883 || exit 1
7885 @endif dejagnu
7887 .PHONY: maybe-clean-dejagnu clean-dejagnu
7888 maybe-clean-dejagnu:
7889 @if dejagnu
7890 maybe-clean-dejagnu: clean-dejagnu
7892 clean-dejagnu:
7893 @: $(MAKE); $(unstage)
7894 @[ -f ./dejagnu/Makefile ] || exit 0; \
7895 r=`${PWD_COMMAND}`; export r; \
7896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7897 $(HOST_EXPORTS) \
7898 for flag in $(EXTRA_HOST_FLAGS) ; do \
7899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7900 done; \
7901 echo "Doing clean in dejagnu"; \
7902 (cd $(HOST_SUBDIR)/dejagnu && \
7903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7905 "RANLIB=$${RANLIB}" \
7906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7907 clean) \
7908 || exit 1
7910 @endif dejagnu
7912 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7913 maybe-distclean-dejagnu:
7914 @if dejagnu
7915 maybe-distclean-dejagnu: distclean-dejagnu
7917 distclean-dejagnu:
7918 @: $(MAKE); $(unstage)
7919 @[ -f ./dejagnu/Makefile ] || exit 0; \
7920 r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 $(HOST_EXPORTS) \
7923 for flag in $(EXTRA_HOST_FLAGS) ; do \
7924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7925 done; \
7926 echo "Doing distclean in dejagnu"; \
7927 (cd $(HOST_SUBDIR)/dejagnu && \
7928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7930 "RANLIB=$${RANLIB}" \
7931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7932 distclean) \
7933 || exit 1
7935 @endif dejagnu
7937 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7938 maybe-maintainer-clean-dejagnu:
7939 @if dejagnu
7940 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7942 maintainer-clean-dejagnu:
7943 @: $(MAKE); $(unstage)
7944 @[ -f ./dejagnu/Makefile ] || exit 0; \
7945 r=`${PWD_COMMAND}`; export r; \
7946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7947 $(HOST_EXPORTS) \
7948 for flag in $(EXTRA_HOST_FLAGS) ; do \
7949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7950 done; \
7951 echo "Doing maintainer-clean in dejagnu"; \
7952 (cd $(HOST_SUBDIR)/dejagnu && \
7953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7955 "RANLIB=$${RANLIB}" \
7956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7957 maintainer-clean) \
7958 || exit 1
7960 @endif dejagnu
7964 .PHONY: configure-etc maybe-configure-etc
7965 maybe-configure-etc:
7966 @if gcc-bootstrap
7967 configure-etc: stage_current
7968 @endif gcc-bootstrap
7969 @if etc
7970 maybe-configure-etc: configure-etc
7971 configure-etc:
7972 @: $(MAKE); $(unstage)
7973 @r=`${PWD_COMMAND}`; export r; \
7974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7975 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7977 $(HOST_EXPORTS) \
7978 echo Configuring in $(HOST_SUBDIR)/etc; \
7979 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7980 case $(srcdir) in \
7981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7982 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7984 esac; \
7985 module_srcdir=etc; \
7986 $(SHELL) \
7987 $$s/$$module_srcdir/configure \
7988 --srcdir=$${topdir}/$$module_srcdir \
7989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7990 --target=${target_alias} \
7991 || exit 1
7992 @endif etc
7998 .PHONY: all-etc maybe-all-etc
7999 maybe-all-etc:
8000 @if gcc-bootstrap
8001 all-etc: stage_current
8002 @endif gcc-bootstrap
8003 @if etc
8004 TARGET-etc=all
8005 maybe-all-etc: all-etc
8006 all-etc: configure-etc
8007 @: $(MAKE); $(unstage)
8008 @r=`${PWD_COMMAND}`; export r; \
8009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8010 $(HOST_EXPORTS) \
8011 (cd $(HOST_SUBDIR)/etc && \
8012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8013 $(TARGET-etc))
8014 @endif etc
8019 .PHONY: check-etc maybe-check-etc
8020 maybe-check-etc:
8021 @if etc
8022 maybe-check-etc: check-etc
8024 check-etc:
8025 @: $(MAKE); $(unstage)
8026 @r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8028 $(HOST_EXPORTS) \
8029 (cd $(HOST_SUBDIR)/etc && \
8030 $(MAKE) $(FLAGS_TO_PASS) check)
8032 @endif etc
8034 .PHONY: install-etc maybe-install-etc
8035 maybe-install-etc:
8036 @if etc
8037 maybe-install-etc: install-etc
8039 install-etc: installdirs
8040 @: $(MAKE); $(unstage)
8041 @r=`${PWD_COMMAND}`; export r; \
8042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8043 $(HOST_EXPORTS) \
8044 (cd $(HOST_SUBDIR)/etc && \
8045 $(MAKE) $(FLAGS_TO_PASS) install)
8047 @endif etc
8049 .PHONY: install-strip-etc maybe-install-strip-etc
8050 maybe-install-strip-etc:
8051 @if etc
8052 maybe-install-strip-etc: install-strip-etc
8054 install-strip-etc: installdirs
8055 @: $(MAKE); $(unstage)
8056 @r=`${PWD_COMMAND}`; export r; \
8057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8058 $(HOST_EXPORTS) \
8059 (cd $(HOST_SUBDIR)/etc && \
8060 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8062 @endif etc
8064 # Other targets (info, dvi, pdf, etc.)
8066 .PHONY: maybe-info-etc info-etc
8067 maybe-info-etc:
8068 @if etc
8069 maybe-info-etc: info-etc
8071 info-etc: \
8072 configure-etc
8073 @: $(MAKE); $(unstage)
8074 @[ -f ./etc/Makefile ] || exit 0; \
8075 r=`${PWD_COMMAND}`; export r; \
8076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 $(HOST_EXPORTS) \
8078 for flag in $(EXTRA_HOST_FLAGS) ; do \
8079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8080 done; \
8081 echo "Doing info in etc"; \
8082 (cd $(HOST_SUBDIR)/etc && \
8083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8085 "RANLIB=$${RANLIB}" \
8086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8087 info) \
8088 || exit 1
8090 @endif etc
8092 .PHONY: maybe-dvi-etc dvi-etc
8093 maybe-dvi-etc:
8094 @if etc
8095 maybe-dvi-etc: dvi-etc
8097 dvi-etc: \
8098 configure-etc
8099 @: $(MAKE); $(unstage)
8100 @[ -f ./etc/Makefile ] || exit 0; \
8101 r=`${PWD_COMMAND}`; export r; \
8102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8103 $(HOST_EXPORTS) \
8104 for flag in $(EXTRA_HOST_FLAGS) ; do \
8105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8106 done; \
8107 echo "Doing dvi in etc"; \
8108 (cd $(HOST_SUBDIR)/etc && \
8109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8111 "RANLIB=$${RANLIB}" \
8112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8113 dvi) \
8114 || exit 1
8116 @endif etc
8118 .PHONY: maybe-pdf-etc pdf-etc
8119 maybe-pdf-etc:
8120 @if etc
8121 maybe-pdf-etc: pdf-etc
8123 pdf-etc: \
8124 configure-etc
8125 @: $(MAKE); $(unstage)
8126 @[ -f ./etc/Makefile ] || exit 0; \
8127 r=`${PWD_COMMAND}`; export r; \
8128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8129 $(HOST_EXPORTS) \
8130 for flag in $(EXTRA_HOST_FLAGS) ; do \
8131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8132 done; \
8133 echo "Doing pdf in etc"; \
8134 (cd $(HOST_SUBDIR)/etc && \
8135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8137 "RANLIB=$${RANLIB}" \
8138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8139 pdf) \
8140 || exit 1
8142 @endif etc
8144 .PHONY: maybe-html-etc html-etc
8145 maybe-html-etc:
8146 @if etc
8147 maybe-html-etc: html-etc
8149 html-etc: \
8150 configure-etc
8151 @: $(MAKE); $(unstage)
8152 @[ -f ./etc/Makefile ] || exit 0; \
8153 r=`${PWD_COMMAND}`; export r; \
8154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8155 $(HOST_EXPORTS) \
8156 for flag in $(EXTRA_HOST_FLAGS) ; do \
8157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8158 done; \
8159 echo "Doing html in etc"; \
8160 (cd $(HOST_SUBDIR)/etc && \
8161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8163 "RANLIB=$${RANLIB}" \
8164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8165 html) \
8166 || exit 1
8168 @endif etc
8170 .PHONY: maybe-TAGS-etc TAGS-etc
8171 maybe-TAGS-etc:
8172 @if etc
8173 maybe-TAGS-etc: TAGS-etc
8175 TAGS-etc: \
8176 configure-etc
8177 @: $(MAKE); $(unstage)
8178 @[ -f ./etc/Makefile ] || exit 0; \
8179 r=`${PWD_COMMAND}`; export r; \
8180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8181 $(HOST_EXPORTS) \
8182 for flag in $(EXTRA_HOST_FLAGS) ; do \
8183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8184 done; \
8185 echo "Doing TAGS in etc"; \
8186 (cd $(HOST_SUBDIR)/etc && \
8187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8189 "RANLIB=$${RANLIB}" \
8190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8191 TAGS) \
8192 || exit 1
8194 @endif etc
8196 .PHONY: maybe-install-info-etc install-info-etc
8197 maybe-install-info-etc:
8198 @if etc
8199 maybe-install-info-etc: install-info-etc
8201 install-info-etc: \
8202 configure-etc \
8203 info-etc
8204 @: $(MAKE); $(unstage)
8205 @[ -f ./etc/Makefile ] || exit 0; \
8206 r=`${PWD_COMMAND}`; export r; \
8207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8208 $(HOST_EXPORTS) \
8209 for flag in $(EXTRA_HOST_FLAGS) ; do \
8210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8211 done; \
8212 echo "Doing install-info in etc"; \
8213 (cd $(HOST_SUBDIR)/etc && \
8214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8216 "RANLIB=$${RANLIB}" \
8217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8218 install-info) \
8219 || exit 1
8221 @endif etc
8223 .PHONY: maybe-install-pdf-etc install-pdf-etc
8224 maybe-install-pdf-etc:
8225 @if etc
8226 maybe-install-pdf-etc: install-pdf-etc
8228 install-pdf-etc: \
8229 configure-etc \
8230 pdf-etc
8231 @: $(MAKE); $(unstage)
8232 @[ -f ./etc/Makefile ] || exit 0; \
8233 r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 $(HOST_EXPORTS) \
8236 for flag in $(EXTRA_HOST_FLAGS) ; do \
8237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8238 done; \
8239 echo "Doing install-pdf in etc"; \
8240 (cd $(HOST_SUBDIR)/etc && \
8241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8243 "RANLIB=$${RANLIB}" \
8244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8245 install-pdf) \
8246 || exit 1
8248 @endif etc
8250 .PHONY: maybe-install-html-etc install-html-etc
8251 maybe-install-html-etc:
8252 @if etc
8253 maybe-install-html-etc: install-html-etc
8255 install-html-etc: \
8256 configure-etc \
8257 html-etc
8258 @: $(MAKE); $(unstage)
8259 @[ -f ./etc/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(HOST_EXPORTS) \
8263 for flag in $(EXTRA_HOST_FLAGS) ; do \
8264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8265 done; \
8266 echo "Doing install-html in etc"; \
8267 (cd $(HOST_SUBDIR)/etc && \
8268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8270 "RANLIB=$${RANLIB}" \
8271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8272 install-html) \
8273 || exit 1
8275 @endif etc
8277 .PHONY: maybe-installcheck-etc installcheck-etc
8278 maybe-installcheck-etc:
8279 @if etc
8280 maybe-installcheck-etc: installcheck-etc
8282 installcheck-etc: \
8283 configure-etc
8284 @: $(MAKE); $(unstage)
8285 @[ -f ./etc/Makefile ] || exit 0; \
8286 r=`${PWD_COMMAND}`; export r; \
8287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8288 $(HOST_EXPORTS) \
8289 for flag in $(EXTRA_HOST_FLAGS) ; do \
8290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8291 done; \
8292 echo "Doing installcheck in etc"; \
8293 (cd $(HOST_SUBDIR)/etc && \
8294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8296 "RANLIB=$${RANLIB}" \
8297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8298 installcheck) \
8299 || exit 1
8301 @endif etc
8303 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8304 maybe-mostlyclean-etc:
8305 @if etc
8306 maybe-mostlyclean-etc: mostlyclean-etc
8308 mostlyclean-etc:
8309 @: $(MAKE); $(unstage)
8310 @[ -f ./etc/Makefile ] || exit 0; \
8311 r=`${PWD_COMMAND}`; export r; \
8312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8313 $(HOST_EXPORTS) \
8314 for flag in $(EXTRA_HOST_FLAGS) ; do \
8315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8316 done; \
8317 echo "Doing mostlyclean in etc"; \
8318 (cd $(HOST_SUBDIR)/etc && \
8319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8321 "RANLIB=$${RANLIB}" \
8322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8323 mostlyclean) \
8324 || exit 1
8326 @endif etc
8328 .PHONY: maybe-clean-etc clean-etc
8329 maybe-clean-etc:
8330 @if etc
8331 maybe-clean-etc: clean-etc
8333 clean-etc:
8334 @: $(MAKE); $(unstage)
8335 @[ -f ./etc/Makefile ] || exit 0; \
8336 r=`${PWD_COMMAND}`; export r; \
8337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8338 $(HOST_EXPORTS) \
8339 for flag in $(EXTRA_HOST_FLAGS) ; do \
8340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8341 done; \
8342 echo "Doing clean in etc"; \
8343 (cd $(HOST_SUBDIR)/etc && \
8344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8346 "RANLIB=$${RANLIB}" \
8347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8348 clean) \
8349 || exit 1
8351 @endif etc
8353 .PHONY: maybe-distclean-etc distclean-etc
8354 maybe-distclean-etc:
8355 @if etc
8356 maybe-distclean-etc: distclean-etc
8358 distclean-etc:
8359 @: $(MAKE); $(unstage)
8360 @[ -f ./etc/Makefile ] || exit 0; \
8361 r=`${PWD_COMMAND}`; export r; \
8362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8363 $(HOST_EXPORTS) \
8364 for flag in $(EXTRA_HOST_FLAGS) ; do \
8365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8366 done; \
8367 echo "Doing distclean in etc"; \
8368 (cd $(HOST_SUBDIR)/etc && \
8369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8371 "RANLIB=$${RANLIB}" \
8372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8373 distclean) \
8374 || exit 1
8376 @endif etc
8378 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8379 maybe-maintainer-clean-etc:
8380 @if etc
8381 maybe-maintainer-clean-etc: maintainer-clean-etc
8383 maintainer-clean-etc:
8384 @: $(MAKE); $(unstage)
8385 @[ -f ./etc/Makefile ] || exit 0; \
8386 r=`${PWD_COMMAND}`; export r; \
8387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8388 $(HOST_EXPORTS) \
8389 for flag in $(EXTRA_HOST_FLAGS) ; do \
8390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8391 done; \
8392 echo "Doing maintainer-clean in etc"; \
8393 (cd $(HOST_SUBDIR)/etc && \
8394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8396 "RANLIB=$${RANLIB}" \
8397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8398 maintainer-clean) \
8399 || exit 1
8401 @endif etc
8405 .PHONY: configure-fastjar maybe-configure-fastjar
8406 maybe-configure-fastjar:
8407 @if gcc-bootstrap
8408 configure-fastjar: stage_current
8409 @endif gcc-bootstrap
8410 @if fastjar
8411 maybe-configure-fastjar: configure-fastjar
8412 configure-fastjar:
8413 @: $(MAKE); $(unstage)
8414 @r=`${PWD_COMMAND}`; export r; \
8415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8416 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8418 $(HOST_EXPORTS) \
8419 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8420 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8421 case $(srcdir) in \
8422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8423 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8425 esac; \
8426 module_srcdir=fastjar; \
8427 $(SHELL) \
8428 $$s/$$module_srcdir/configure \
8429 --srcdir=$${topdir}/$$module_srcdir \
8430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8431 --target=${target_alias} \
8432 || exit 1
8433 @endif fastjar
8439 .PHONY: all-fastjar maybe-all-fastjar
8440 maybe-all-fastjar:
8441 @if gcc-bootstrap
8442 all-fastjar: stage_current
8443 @endif gcc-bootstrap
8444 @if fastjar
8445 TARGET-fastjar=all
8446 maybe-all-fastjar: all-fastjar
8447 all-fastjar: configure-fastjar
8448 @: $(MAKE); $(unstage)
8449 @r=`${PWD_COMMAND}`; export r; \
8450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451 $(HOST_EXPORTS) \
8452 (cd $(HOST_SUBDIR)/fastjar && \
8453 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8454 $(TARGET-fastjar))
8455 @endif fastjar
8460 .PHONY: check-fastjar maybe-check-fastjar
8461 maybe-check-fastjar:
8462 @if fastjar
8463 maybe-check-fastjar: check-fastjar
8465 # This module is only tested in a native toolchain.
8466 check-fastjar:
8467 @: $(MAKE); $(unstage)
8468 @if [ '$(host)' = '$(target)' ]; then \
8469 r=`${PWD_COMMAND}`; export r; \
8470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8471 $(HOST_EXPORTS) \
8472 (cd $(HOST_SUBDIR)/fastjar && \
8473 $(MAKE) $(FLAGS_TO_PASS) check)
8476 @endif fastjar
8478 .PHONY: install-fastjar maybe-install-fastjar
8479 maybe-install-fastjar:
8480 @if fastjar
8481 maybe-install-fastjar: install-fastjar
8483 install-fastjar: installdirs
8484 @: $(MAKE); $(unstage)
8485 @r=`${PWD_COMMAND}`; export r; \
8486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8487 $(HOST_EXPORTS) \
8488 (cd $(HOST_SUBDIR)/fastjar && \
8489 $(MAKE) $(FLAGS_TO_PASS) install)
8491 @endif fastjar
8493 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8494 maybe-install-strip-fastjar:
8495 @if fastjar
8496 maybe-install-strip-fastjar: install-strip-fastjar
8498 install-strip-fastjar: installdirs
8499 @: $(MAKE); $(unstage)
8500 @r=`${PWD_COMMAND}`; export r; \
8501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8502 $(HOST_EXPORTS) \
8503 (cd $(HOST_SUBDIR)/fastjar && \
8504 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8506 @endif fastjar
8508 # Other targets (info, dvi, pdf, etc.)
8510 .PHONY: maybe-info-fastjar info-fastjar
8511 maybe-info-fastjar:
8512 @if fastjar
8513 maybe-info-fastjar: info-fastjar
8515 info-fastjar: \
8516 configure-fastjar
8517 @: $(MAKE); $(unstage)
8518 @[ -f ./fastjar/Makefile ] || exit 0; \
8519 r=`${PWD_COMMAND}`; export r; \
8520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8521 $(HOST_EXPORTS) \
8522 for flag in $(EXTRA_HOST_FLAGS) ; do \
8523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8524 done; \
8525 echo "Doing info in fastjar"; \
8526 (cd $(HOST_SUBDIR)/fastjar && \
8527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8529 "RANLIB=$${RANLIB}" \
8530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8531 info) \
8532 || exit 1
8534 @endif fastjar
8536 .PHONY: maybe-dvi-fastjar dvi-fastjar
8537 maybe-dvi-fastjar:
8538 @if fastjar
8539 maybe-dvi-fastjar: dvi-fastjar
8541 dvi-fastjar: \
8542 configure-fastjar
8543 @: $(MAKE); $(unstage)
8544 @[ -f ./fastjar/Makefile ] || exit 0; \
8545 r=`${PWD_COMMAND}`; export r; \
8546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8547 $(HOST_EXPORTS) \
8548 for flag in $(EXTRA_HOST_FLAGS) ; do \
8549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8550 done; \
8551 echo "Doing dvi in fastjar"; \
8552 (cd $(HOST_SUBDIR)/fastjar && \
8553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8555 "RANLIB=$${RANLIB}" \
8556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8557 dvi) \
8558 || exit 1
8560 @endif fastjar
8562 .PHONY: maybe-pdf-fastjar pdf-fastjar
8563 maybe-pdf-fastjar:
8564 @if fastjar
8565 maybe-pdf-fastjar: pdf-fastjar
8567 pdf-fastjar: \
8568 configure-fastjar
8569 @: $(MAKE); $(unstage)
8570 @[ -f ./fastjar/Makefile ] || exit 0; \
8571 r=`${PWD_COMMAND}`; export r; \
8572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8573 $(HOST_EXPORTS) \
8574 for flag in $(EXTRA_HOST_FLAGS) ; do \
8575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8576 done; \
8577 echo "Doing pdf in fastjar"; \
8578 (cd $(HOST_SUBDIR)/fastjar && \
8579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8581 "RANLIB=$${RANLIB}" \
8582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8583 pdf) \
8584 || exit 1
8586 @endif fastjar
8588 .PHONY: maybe-html-fastjar html-fastjar
8589 maybe-html-fastjar:
8590 @if fastjar
8591 maybe-html-fastjar: html-fastjar
8593 html-fastjar: \
8594 configure-fastjar
8595 @: $(MAKE); $(unstage)
8596 @[ -f ./fastjar/Makefile ] || exit 0; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(HOST_EXPORTS) \
8600 for flag in $(EXTRA_HOST_FLAGS) ; do \
8601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8602 done; \
8603 echo "Doing html in fastjar"; \
8604 (cd $(HOST_SUBDIR)/fastjar && \
8605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8607 "RANLIB=$${RANLIB}" \
8608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8609 html) \
8610 || exit 1
8612 @endif fastjar
8614 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8615 maybe-TAGS-fastjar:
8616 @if fastjar
8617 maybe-TAGS-fastjar: TAGS-fastjar
8619 TAGS-fastjar: \
8620 configure-fastjar
8621 @: $(MAKE); $(unstage)
8622 @[ -f ./fastjar/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 for flag in $(EXTRA_HOST_FLAGS) ; do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing TAGS in fastjar"; \
8630 (cd $(HOST_SUBDIR)/fastjar && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8635 TAGS) \
8636 || exit 1
8638 @endif fastjar
8640 .PHONY: maybe-install-info-fastjar install-info-fastjar
8641 maybe-install-info-fastjar:
8642 @if fastjar
8643 maybe-install-info-fastjar: install-info-fastjar
8645 install-info-fastjar: \
8646 configure-fastjar \
8647 info-fastjar
8648 @: $(MAKE); $(unstage)
8649 @[ -f ./fastjar/Makefile ] || exit 0; \
8650 r=`${PWD_COMMAND}`; export r; \
8651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8652 $(HOST_EXPORTS) \
8653 for flag in $(EXTRA_HOST_FLAGS) ; do \
8654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8655 done; \
8656 echo "Doing install-info in fastjar"; \
8657 (cd $(HOST_SUBDIR)/fastjar && \
8658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8660 "RANLIB=$${RANLIB}" \
8661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8662 install-info) \
8663 || exit 1
8665 @endif fastjar
8667 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8668 maybe-install-pdf-fastjar:
8669 @if fastjar
8670 maybe-install-pdf-fastjar: install-pdf-fastjar
8672 install-pdf-fastjar: \
8673 configure-fastjar \
8674 pdf-fastjar
8675 @: $(MAKE); $(unstage)
8676 @[ -f ./fastjar/Makefile ] || exit 0; \
8677 r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 $(HOST_EXPORTS) \
8680 for flag in $(EXTRA_HOST_FLAGS) ; do \
8681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8682 done; \
8683 echo "Doing install-pdf in fastjar"; \
8684 (cd $(HOST_SUBDIR)/fastjar && \
8685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8687 "RANLIB=$${RANLIB}" \
8688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8689 install-pdf) \
8690 || exit 1
8692 @endif fastjar
8694 .PHONY: maybe-install-html-fastjar install-html-fastjar
8695 maybe-install-html-fastjar:
8696 @if fastjar
8697 maybe-install-html-fastjar: install-html-fastjar
8699 install-html-fastjar: \
8700 configure-fastjar \
8701 html-fastjar
8702 @: $(MAKE); $(unstage)
8703 @[ -f ./fastjar/Makefile ] || exit 0; \
8704 r=`${PWD_COMMAND}`; export r; \
8705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8706 $(HOST_EXPORTS) \
8707 for flag in $(EXTRA_HOST_FLAGS) ; do \
8708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8709 done; \
8710 echo "Doing install-html in fastjar"; \
8711 (cd $(HOST_SUBDIR)/fastjar && \
8712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8714 "RANLIB=$${RANLIB}" \
8715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8716 install-html) \
8717 || exit 1
8719 @endif fastjar
8721 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8722 maybe-installcheck-fastjar:
8723 @if fastjar
8724 maybe-installcheck-fastjar: installcheck-fastjar
8726 installcheck-fastjar: \
8727 configure-fastjar
8728 @: $(MAKE); $(unstage)
8729 @[ -f ./fastjar/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 installcheck in fastjar"; \
8737 (cd $(HOST_SUBDIR)/fastjar && \
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 installcheck) \
8743 || exit 1
8745 @endif fastjar
8747 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8748 maybe-mostlyclean-fastjar:
8749 @if fastjar
8750 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8752 mostlyclean-fastjar:
8753 @: $(MAKE); $(unstage)
8754 @[ -f ./fastjar/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 mostlyclean in fastjar"; \
8762 (cd $(HOST_SUBDIR)/fastjar && \
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 mostlyclean) \
8768 || exit 1
8770 @endif fastjar
8772 .PHONY: maybe-clean-fastjar clean-fastjar
8773 maybe-clean-fastjar:
8774 @if fastjar
8775 maybe-clean-fastjar: clean-fastjar
8777 clean-fastjar:
8778 @: $(MAKE); $(unstage)
8779 @[ -f ./fastjar/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 clean in fastjar"; \
8787 (cd $(HOST_SUBDIR)/fastjar && \
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 clean) \
8793 || exit 1
8795 @endif fastjar
8797 .PHONY: maybe-distclean-fastjar distclean-fastjar
8798 maybe-distclean-fastjar:
8799 @if fastjar
8800 maybe-distclean-fastjar: distclean-fastjar
8802 distclean-fastjar:
8803 @: $(MAKE); $(unstage)
8804 @[ -f ./fastjar/Makefile ] || exit 0; \
8805 r=`${PWD_COMMAND}`; export r; \
8806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8807 $(HOST_EXPORTS) \
8808 for flag in $(EXTRA_HOST_FLAGS) ; do \
8809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8810 done; \
8811 echo "Doing distclean in fastjar"; \
8812 (cd $(HOST_SUBDIR)/fastjar && \
8813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8815 "RANLIB=$${RANLIB}" \
8816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8817 distclean) \
8818 || exit 1
8820 @endif fastjar
8822 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8823 maybe-maintainer-clean-fastjar:
8824 @if fastjar
8825 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8827 maintainer-clean-fastjar:
8828 @: $(MAKE); $(unstage)
8829 @[ -f ./fastjar/Makefile ] || exit 0; \
8830 r=`${PWD_COMMAND}`; export r; \
8831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8832 $(HOST_EXPORTS) \
8833 for flag in $(EXTRA_HOST_FLAGS) ; do \
8834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8835 done; \
8836 echo "Doing maintainer-clean in fastjar"; \
8837 (cd $(HOST_SUBDIR)/fastjar && \
8838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8840 "RANLIB=$${RANLIB}" \
8841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8842 maintainer-clean) \
8843 || exit 1
8845 @endif fastjar
8849 .PHONY: configure-fixincludes maybe-configure-fixincludes
8850 maybe-configure-fixincludes:
8851 @if gcc-bootstrap
8852 configure-fixincludes: stage_current
8853 @endif gcc-bootstrap
8854 @if fixincludes
8855 maybe-configure-fixincludes: configure-fixincludes
8856 configure-fixincludes:
8857 @r=`${PWD_COMMAND}`; export r; \
8858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8859 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8861 $(HOST_EXPORTS) \
8862 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8863 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8864 case $(srcdir) in \
8865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8866 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8868 esac; \
8869 module_srcdir=fixincludes; \
8870 $(SHELL) \
8871 $$s/$$module_srcdir/configure \
8872 --srcdir=$${topdir}/$$module_srcdir \
8873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8874 --target=${target_alias} \
8875 || exit 1
8876 @endif fixincludes
8880 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8881 maybe-configure-stage1-fixincludes:
8882 @if fixincludes-bootstrap
8883 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8884 configure-stage1-fixincludes:
8885 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8887 @r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889 TFLAGS="$(STAGE1_TFLAGS)"; \
8890 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8891 $(HOST_EXPORTS) \
8892 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8893 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8894 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8895 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8897 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8898 case $(srcdir) in \
8899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8900 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8902 esac; \
8903 module_srcdir=fixincludes; \
8904 $(SHELL) $$s/$$module_srcdir/configure \
8905 --srcdir=$${topdir}/$$module_srcdir \
8906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8907 --target=${target_alias} \
8909 $(STAGE1_CONFIGURE_FLAGS)
8910 @endif fixincludes-bootstrap
8912 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8913 maybe-configure-stage2-fixincludes:
8914 @if fixincludes-bootstrap
8915 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8916 configure-stage2-fixincludes:
8917 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8919 @r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 TFLAGS="$(STAGE2_TFLAGS)"; \
8922 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8923 $(HOST_EXPORTS) \
8924 $(POSTSTAGE1_HOST_EXPORTS) \
8925 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8926 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8927 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8928 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8930 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8931 case $(srcdir) in \
8932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8933 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8935 esac; \
8936 module_srcdir=fixincludes; \
8937 $(SHELL) $$s/$$module_srcdir/configure \
8938 --srcdir=$${topdir}/$$module_srcdir \
8939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8940 --target=${target_alias} \
8941 --with-build-libsubdir=$(HOST_SUBDIR) \
8942 $(STAGE2_CONFIGURE_FLAGS)
8943 @endif fixincludes-bootstrap
8945 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8946 maybe-configure-stage3-fixincludes:
8947 @if fixincludes-bootstrap
8948 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8949 configure-stage3-fixincludes:
8950 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8952 @r=`${PWD_COMMAND}`; export r; \
8953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8954 TFLAGS="$(STAGE3_TFLAGS)"; \
8955 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8956 $(HOST_EXPORTS) \
8957 $(POSTSTAGE1_HOST_EXPORTS) \
8958 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8959 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8960 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8961 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8963 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8964 case $(srcdir) in \
8965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8966 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8968 esac; \
8969 module_srcdir=fixincludes; \
8970 $(SHELL) $$s/$$module_srcdir/configure \
8971 --srcdir=$${topdir}/$$module_srcdir \
8972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8973 --target=${target_alias} \
8974 --with-build-libsubdir=$(HOST_SUBDIR) \
8975 $(STAGE3_CONFIGURE_FLAGS)
8976 @endif fixincludes-bootstrap
8978 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8979 maybe-configure-stage4-fixincludes:
8980 @if fixincludes-bootstrap
8981 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8982 configure-stage4-fixincludes:
8983 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8985 @r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 TFLAGS="$(STAGE4_TFLAGS)"; \
8988 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8989 $(HOST_EXPORTS) \
8990 $(POSTSTAGE1_HOST_EXPORTS) \
8991 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8992 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8993 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8994 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8996 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8997 case $(srcdir) in \
8998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8999 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9001 esac; \
9002 module_srcdir=fixincludes; \
9003 $(SHELL) $$s/$$module_srcdir/configure \
9004 --srcdir=$${topdir}/$$module_srcdir \
9005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9006 --target=${target_alias} \
9007 --with-build-libsubdir=$(HOST_SUBDIR) \
9008 $(STAGE4_CONFIGURE_FLAGS)
9009 @endif fixincludes-bootstrap
9011 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
9012 maybe-configure-stageprofile-fixincludes:
9013 @if fixincludes-bootstrap
9014 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
9015 configure-stageprofile-fixincludes:
9016 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9018 @r=`${PWD_COMMAND}`; export r; \
9019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9020 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9021 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9022 $(HOST_EXPORTS) \
9023 $(POSTSTAGE1_HOST_EXPORTS) \
9024 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9025 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9026 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9027 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
9028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9029 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9030 case $(srcdir) in \
9031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9032 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9034 esac; \
9035 module_srcdir=fixincludes; \
9036 $(SHELL) $$s/$$module_srcdir/configure \
9037 --srcdir=$${topdir}/$$module_srcdir \
9038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9039 --target=${target_alias} \
9040 --with-build-libsubdir=$(HOST_SUBDIR) \
9041 $(STAGEprofile_CONFIGURE_FLAGS)
9042 @endif fixincludes-bootstrap
9044 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
9045 maybe-configure-stagetrain-fixincludes:
9046 @if fixincludes-bootstrap
9047 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
9048 configure-stagetrain-fixincludes:
9049 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9051 @r=`${PWD_COMMAND}`; export r; \
9052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9053 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9054 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9055 $(HOST_EXPORTS) \
9056 $(POSTSTAGE1_HOST_EXPORTS) \
9057 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
9058 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
9059 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
9060 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
9061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9062 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9063 case $(srcdir) in \
9064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9065 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9067 esac; \
9068 module_srcdir=fixincludes; \
9069 $(SHELL) $$s/$$module_srcdir/configure \
9070 --srcdir=$${topdir}/$$module_srcdir \
9071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9072 --target=${target_alias} \
9073 --with-build-libsubdir=$(HOST_SUBDIR) \
9074 $(STAGEtrain_CONFIGURE_FLAGS)
9075 @endif fixincludes-bootstrap
9077 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
9078 maybe-configure-stagefeedback-fixincludes:
9079 @if fixincludes-bootstrap
9080 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9081 configure-stagefeedback-fixincludes:
9082 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9083 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9084 @r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9087 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9088 $(HOST_EXPORTS) \
9089 $(POSTSTAGE1_HOST_EXPORTS) \
9090 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9091 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9092 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9093 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
9094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9095 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9096 case $(srcdir) in \
9097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9098 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9100 esac; \
9101 module_srcdir=fixincludes; \
9102 $(SHELL) $$s/$$module_srcdir/configure \
9103 --srcdir=$${topdir}/$$module_srcdir \
9104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9105 --target=${target_alias} \
9106 --with-build-libsubdir=$(HOST_SUBDIR) \
9107 $(STAGEfeedback_CONFIGURE_FLAGS)
9108 @endif fixincludes-bootstrap
9110 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
9111 maybe-configure-stageautoprofile-fixincludes:
9112 @if fixincludes-bootstrap
9113 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9114 configure-stageautoprofile-fixincludes:
9115 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9117 @r=`${PWD_COMMAND}`; export r; \
9118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9119 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9120 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9121 $(HOST_EXPORTS) \
9122 $(POSTSTAGE1_HOST_EXPORTS) \
9123 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9124 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9125 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9126 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9128 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9129 case $(srcdir) in \
9130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9131 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9133 esac; \
9134 module_srcdir=fixincludes; \
9135 $(SHELL) $$s/$$module_srcdir/configure \
9136 --srcdir=$${topdir}/$$module_srcdir \
9137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9138 --target=${target_alias} \
9139 --with-build-libsubdir=$(HOST_SUBDIR) \
9140 $(STAGEautoprofile_CONFIGURE_FLAGS)
9141 @endif fixincludes-bootstrap
9143 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9144 maybe-configure-stageautofeedback-fixincludes:
9145 @if fixincludes-bootstrap
9146 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9147 configure-stageautofeedback-fixincludes:
9148 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9150 @r=`${PWD_COMMAND}`; export r; \
9151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9153 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9154 $(HOST_EXPORTS) \
9155 $(POSTSTAGE1_HOST_EXPORTS) \
9156 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9157 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9158 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9159 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9161 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9162 case $(srcdir) in \
9163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9164 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9166 esac; \
9167 module_srcdir=fixincludes; \
9168 $(SHELL) $$s/$$module_srcdir/configure \
9169 --srcdir=$${topdir}/$$module_srcdir \
9170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9171 --target=${target_alias} \
9172 --with-build-libsubdir=$(HOST_SUBDIR) \
9173 $(STAGEautofeedback_CONFIGURE_FLAGS)
9174 @endif fixincludes-bootstrap
9180 .PHONY: all-fixincludes maybe-all-fixincludes
9181 maybe-all-fixincludes:
9182 @if gcc-bootstrap
9183 all-fixincludes: stage_current
9184 @endif gcc-bootstrap
9185 @if fixincludes
9186 TARGET-fixincludes=all
9187 maybe-all-fixincludes: all-fixincludes
9188 all-fixincludes: configure-fixincludes
9189 @r=`${PWD_COMMAND}`; export r; \
9190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9191 $(HOST_EXPORTS) \
9192 (cd $(HOST_SUBDIR)/fixincludes && \
9193 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9194 $(TARGET-fixincludes))
9195 @endif fixincludes
9199 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9200 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9201 maybe-all-stage1-fixincludes:
9202 maybe-clean-stage1-fixincludes:
9203 @if fixincludes-bootstrap
9204 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9205 all-stage1: all-stage1-fixincludes
9206 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9207 all-stage1-fixincludes: configure-stage1-fixincludes
9208 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9209 @r=`${PWD_COMMAND}`; export r; \
9210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9211 TFLAGS="$(STAGE1_TFLAGS)"; \
9212 $(HOST_EXPORTS) \
9213 cd $(HOST_SUBDIR)/fixincludes && \
9215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9216 CFLAGS="$(STAGE1_CFLAGS)" \
9217 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
9218 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9219 LIBCFLAGS="$(LIBCFLAGS)" \
9220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9223 $(EXTRA_HOST_FLAGS) \
9224 $(STAGE1_FLAGS_TO_PASS) \
9225 TFLAGS="$(STAGE1_TFLAGS)" \
9226 $(TARGET-stage1-fixincludes)
9228 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9229 clean-stage1: clean-stage1-fixincludes
9230 clean-stage1-fixincludes:
9231 @if [ $(current_stage) = stage1 ]; then \
9232 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9233 else \
9234 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9235 $(MAKE) stage1-start; \
9236 fi; \
9237 cd $(HOST_SUBDIR)/fixincludes && \
9238 $(MAKE) $(EXTRA_HOST_FLAGS) \
9239 $(STAGE1_FLAGS_TO_PASS) clean
9240 @endif fixincludes-bootstrap
9243 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9244 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9245 maybe-all-stage2-fixincludes:
9246 maybe-clean-stage2-fixincludes:
9247 @if fixincludes-bootstrap
9248 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9249 all-stage2: all-stage2-fixincludes
9250 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9251 all-stage2-fixincludes: configure-stage2-fixincludes
9252 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9253 @r=`${PWD_COMMAND}`; export r; \
9254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9255 TFLAGS="$(STAGE2_TFLAGS)"; \
9256 $(HOST_EXPORTS) \
9257 $(POSTSTAGE1_HOST_EXPORTS) \
9258 cd $(HOST_SUBDIR)/fixincludes && \
9260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9261 CFLAGS="$(STAGE2_CFLAGS)" \
9262 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
9263 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9264 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9269 TFLAGS="$(STAGE2_TFLAGS)" \
9270 $(TARGET-stage2-fixincludes)
9272 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9273 clean-stage2: clean-stage2-fixincludes
9274 clean-stage2-fixincludes:
9275 @if [ $(current_stage) = stage2 ]; then \
9276 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9277 else \
9278 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9279 $(MAKE) stage2-start; \
9280 fi; \
9281 cd $(HOST_SUBDIR)/fixincludes && \
9282 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9283 @endif fixincludes-bootstrap
9286 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9287 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9288 maybe-all-stage3-fixincludes:
9289 maybe-clean-stage3-fixincludes:
9290 @if fixincludes-bootstrap
9291 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9292 all-stage3: all-stage3-fixincludes
9293 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9294 all-stage3-fixincludes: configure-stage3-fixincludes
9295 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9296 @r=`${PWD_COMMAND}`; export r; \
9297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9298 TFLAGS="$(STAGE3_TFLAGS)"; \
9299 $(HOST_EXPORTS) \
9300 $(POSTSTAGE1_HOST_EXPORTS) \
9301 cd $(HOST_SUBDIR)/fixincludes && \
9303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9304 CFLAGS="$(STAGE3_CFLAGS)" \
9305 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
9306 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9307 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9312 TFLAGS="$(STAGE3_TFLAGS)" \
9313 $(TARGET-stage3-fixincludes)
9315 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9316 clean-stage3: clean-stage3-fixincludes
9317 clean-stage3-fixincludes:
9318 @if [ $(current_stage) = stage3 ]; then \
9319 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9320 else \
9321 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9322 $(MAKE) stage3-start; \
9323 fi; \
9324 cd $(HOST_SUBDIR)/fixincludes && \
9325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9326 @endif fixincludes-bootstrap
9329 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9330 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9331 maybe-all-stage4-fixincludes:
9332 maybe-clean-stage4-fixincludes:
9333 @if fixincludes-bootstrap
9334 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9335 all-stage4: all-stage4-fixincludes
9336 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9337 all-stage4-fixincludes: configure-stage4-fixincludes
9338 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9339 @r=`${PWD_COMMAND}`; export r; \
9340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9341 TFLAGS="$(STAGE4_TFLAGS)"; \
9342 $(HOST_EXPORTS) \
9343 $(POSTSTAGE1_HOST_EXPORTS) \
9344 cd $(HOST_SUBDIR)/fixincludes && \
9346 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9347 CFLAGS="$(STAGE4_CFLAGS)" \
9348 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
9349 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9350 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9354 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9355 TFLAGS="$(STAGE4_TFLAGS)" \
9356 $(TARGET-stage4-fixincludes)
9358 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9359 clean-stage4: clean-stage4-fixincludes
9360 clean-stage4-fixincludes:
9361 @if [ $(current_stage) = stage4 ]; then \
9362 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9363 else \
9364 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9365 $(MAKE) stage4-start; \
9366 fi; \
9367 cd $(HOST_SUBDIR)/fixincludes && \
9368 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9369 @endif fixincludes-bootstrap
9372 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9373 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9374 maybe-all-stageprofile-fixincludes:
9375 maybe-clean-stageprofile-fixincludes:
9376 @if fixincludes-bootstrap
9377 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9378 all-stageprofile: all-stageprofile-fixincludes
9379 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9380 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9381 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9382 @r=`${PWD_COMMAND}`; export r; \
9383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9384 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9385 $(HOST_EXPORTS) \
9386 $(POSTSTAGE1_HOST_EXPORTS) \
9387 cd $(HOST_SUBDIR)/fixincludes && \
9389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9390 CFLAGS="$(STAGEprofile_CFLAGS)" \
9391 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
9392 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9393 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9398 TFLAGS="$(STAGEprofile_TFLAGS)" \
9399 $(TARGET-stageprofile-fixincludes)
9401 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9402 clean-stageprofile: clean-stageprofile-fixincludes
9403 clean-stageprofile-fixincludes:
9404 @if [ $(current_stage) = stageprofile ]; then \
9405 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9406 else \
9407 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9408 $(MAKE) stageprofile-start; \
9409 fi; \
9410 cd $(HOST_SUBDIR)/fixincludes && \
9411 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9412 @endif fixincludes-bootstrap
9415 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9416 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9417 maybe-all-stagetrain-fixincludes:
9418 maybe-clean-stagetrain-fixincludes:
9419 @if fixincludes-bootstrap
9420 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9421 all-stagetrain: all-stagetrain-fixincludes
9422 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9423 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9424 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9425 @r=`${PWD_COMMAND}`; export r; \
9426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9427 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9428 $(HOST_EXPORTS) \
9429 $(POSTSTAGE1_HOST_EXPORTS) \
9430 cd $(HOST_SUBDIR)/fixincludes && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9433 CFLAGS="$(STAGEtrain_CFLAGS)" \
9434 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
9435 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9436 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9441 TFLAGS="$(STAGEtrain_TFLAGS)" \
9442 $(TARGET-stagetrain-fixincludes)
9444 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9445 clean-stagetrain: clean-stagetrain-fixincludes
9446 clean-stagetrain-fixincludes:
9447 @if [ $(current_stage) = stagetrain ]; then \
9448 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9449 else \
9450 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9451 $(MAKE) stagetrain-start; \
9452 fi; \
9453 cd $(HOST_SUBDIR)/fixincludes && \
9454 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9455 @endif fixincludes-bootstrap
9458 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9459 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9460 maybe-all-stagefeedback-fixincludes:
9461 maybe-clean-stagefeedback-fixincludes:
9462 @if fixincludes-bootstrap
9463 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9464 all-stagefeedback: all-stagefeedback-fixincludes
9465 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9466 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9467 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9468 @r=`${PWD_COMMAND}`; export r; \
9469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9470 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9471 $(HOST_EXPORTS) \
9472 $(POSTSTAGE1_HOST_EXPORTS) \
9473 cd $(HOST_SUBDIR)/fixincludes && \
9475 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9476 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9477 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
9478 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9479 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9480 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9481 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9482 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9483 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9484 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9485 $(TARGET-stagefeedback-fixincludes)
9487 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9488 clean-stagefeedback: clean-stagefeedback-fixincludes
9489 clean-stagefeedback-fixincludes:
9490 @if [ $(current_stage) = stagefeedback ]; then \
9491 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9492 else \
9493 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9494 $(MAKE) stagefeedback-start; \
9495 fi; \
9496 cd $(HOST_SUBDIR)/fixincludes && \
9497 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9498 @endif fixincludes-bootstrap
9501 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9502 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9503 maybe-all-stageautoprofile-fixincludes:
9504 maybe-clean-stageautoprofile-fixincludes:
9505 @if fixincludes-bootstrap
9506 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9507 all-stageautoprofile: all-stageautoprofile-fixincludes
9508 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9509 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9510 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9511 @r=`${PWD_COMMAND}`; export r; \
9512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9513 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9514 $(HOST_EXPORTS) \
9515 $(POSTSTAGE1_HOST_EXPORTS) \
9516 cd $(HOST_SUBDIR)/fixincludes && \
9517 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9518 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9519 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9520 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
9521 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9522 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9523 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9524 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9525 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9526 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9527 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9528 $(TARGET-stageautoprofile-fixincludes)
9530 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9531 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9532 clean-stageautoprofile-fixincludes:
9533 @if [ $(current_stage) = stageautoprofile ]; then \
9534 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9535 else \
9536 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9537 $(MAKE) stageautoprofile-start; \
9538 fi; \
9539 cd $(HOST_SUBDIR)/fixincludes && \
9540 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9541 @endif fixincludes-bootstrap
9544 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9545 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9546 maybe-all-stageautofeedback-fixincludes:
9547 maybe-clean-stageautofeedback-fixincludes:
9548 @if fixincludes-bootstrap
9549 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9550 all-stageautofeedback: all-stageautofeedback-fixincludes
9551 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9552 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9553 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9554 @r=`${PWD_COMMAND}`; export r; \
9555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9556 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9557 $(HOST_EXPORTS) \
9558 $(POSTSTAGE1_HOST_EXPORTS) \
9559 cd $(HOST_SUBDIR)/fixincludes && \
9561 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9562 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9563 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
9564 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9565 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9566 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9570 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9571 $(TARGET-stageautofeedback-fixincludes)
9573 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9574 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9575 clean-stageautofeedback-fixincludes:
9576 @if [ $(current_stage) = stageautofeedback ]; then \
9577 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9578 else \
9579 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9580 $(MAKE) stageautofeedback-start; \
9581 fi; \
9582 cd $(HOST_SUBDIR)/fixincludes && \
9583 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9584 @endif fixincludes-bootstrap
9590 .PHONY: check-fixincludes maybe-check-fixincludes
9591 maybe-check-fixincludes:
9592 @if fixincludes
9593 maybe-check-fixincludes: check-fixincludes
9595 check-fixincludes:
9596 @: $(MAKE); $(unstage)
9597 @r=`${PWD_COMMAND}`; export r; \
9598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9599 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9600 (cd $(HOST_SUBDIR)/fixincludes && \
9601 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9603 @endif fixincludes
9605 .PHONY: install-fixincludes maybe-install-fixincludes
9606 maybe-install-fixincludes:
9607 @if fixincludes
9608 maybe-install-fixincludes: install-fixincludes
9610 install-fixincludes: installdirs
9611 @: $(MAKE); $(unstage)
9612 @r=`${PWD_COMMAND}`; export r; \
9613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9614 $(HOST_EXPORTS) \
9615 (cd $(HOST_SUBDIR)/fixincludes && \
9616 $(MAKE) $(FLAGS_TO_PASS) install)
9618 @endif fixincludes
9620 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9621 maybe-install-strip-fixincludes:
9622 @if fixincludes
9623 maybe-install-strip-fixincludes: install-strip-fixincludes
9625 install-strip-fixincludes: installdirs
9626 @: $(MAKE); $(unstage)
9627 @r=`${PWD_COMMAND}`; export r; \
9628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9629 $(HOST_EXPORTS) \
9630 (cd $(HOST_SUBDIR)/fixincludes && \
9631 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9633 @endif fixincludes
9635 # Other targets (info, dvi, pdf, etc.)
9637 .PHONY: maybe-info-fixincludes info-fixincludes
9638 maybe-info-fixincludes:
9639 @if fixincludes
9640 maybe-info-fixincludes: info-fixincludes
9642 info-fixincludes: \
9643 configure-fixincludes
9644 @[ -f ./fixincludes/Makefile ] || exit 0; \
9645 r=`${PWD_COMMAND}`; export r; \
9646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9647 $(HOST_EXPORTS) \
9648 for flag in $(EXTRA_HOST_FLAGS) ; do \
9649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9650 done; \
9651 echo "Doing info in fixincludes"; \
9652 (cd $(HOST_SUBDIR)/fixincludes && \
9653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9655 "RANLIB=$${RANLIB}" \
9656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9657 info) \
9658 || exit 1
9660 @endif fixincludes
9662 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9663 maybe-dvi-fixincludes:
9664 @if fixincludes
9665 maybe-dvi-fixincludes: dvi-fixincludes
9667 dvi-fixincludes: \
9668 configure-fixincludes
9669 @[ -f ./fixincludes/Makefile ] || exit 0; \
9670 r=`${PWD_COMMAND}`; export r; \
9671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9672 $(HOST_EXPORTS) \
9673 for flag in $(EXTRA_HOST_FLAGS) ; do \
9674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9675 done; \
9676 echo "Doing dvi in fixincludes"; \
9677 (cd $(HOST_SUBDIR)/fixincludes && \
9678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9680 "RANLIB=$${RANLIB}" \
9681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9682 dvi) \
9683 || exit 1
9685 @endif fixincludes
9687 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9688 maybe-pdf-fixincludes:
9689 @if fixincludes
9690 maybe-pdf-fixincludes: pdf-fixincludes
9692 pdf-fixincludes: \
9693 configure-fixincludes
9694 @[ -f ./fixincludes/Makefile ] || exit 0; \
9695 r=`${PWD_COMMAND}`; export r; \
9696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9697 $(HOST_EXPORTS) \
9698 for flag in $(EXTRA_HOST_FLAGS) ; do \
9699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9700 done; \
9701 echo "Doing pdf in fixincludes"; \
9702 (cd $(HOST_SUBDIR)/fixincludes && \
9703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9705 "RANLIB=$${RANLIB}" \
9706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9707 pdf) \
9708 || exit 1
9710 @endif fixincludes
9712 .PHONY: maybe-html-fixincludes html-fixincludes
9713 maybe-html-fixincludes:
9714 @if fixincludes
9715 maybe-html-fixincludes: html-fixincludes
9717 html-fixincludes: \
9718 configure-fixincludes
9719 @[ -f ./fixincludes/Makefile ] || exit 0; \
9720 r=`${PWD_COMMAND}`; export r; \
9721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9722 $(HOST_EXPORTS) \
9723 for flag in $(EXTRA_HOST_FLAGS) ; do \
9724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9725 done; \
9726 echo "Doing html in fixincludes"; \
9727 (cd $(HOST_SUBDIR)/fixincludes && \
9728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9730 "RANLIB=$${RANLIB}" \
9731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9732 html) \
9733 || exit 1
9735 @endif fixincludes
9737 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9738 maybe-TAGS-fixincludes:
9739 @if fixincludes
9740 maybe-TAGS-fixincludes: TAGS-fixincludes
9742 # fixincludes doesn't support TAGS.
9743 TAGS-fixincludes:
9745 @endif fixincludes
9747 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9748 maybe-install-info-fixincludes:
9749 @if fixincludes
9750 maybe-install-info-fixincludes: install-info-fixincludes
9752 install-info-fixincludes: \
9753 configure-fixincludes \
9754 info-fixincludes
9755 @[ -f ./fixincludes/Makefile ] || exit 0; \
9756 r=`${PWD_COMMAND}`; export r; \
9757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9758 $(HOST_EXPORTS) \
9759 for flag in $(EXTRA_HOST_FLAGS) ; do \
9760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9761 done; \
9762 echo "Doing install-info in fixincludes"; \
9763 (cd $(HOST_SUBDIR)/fixincludes && \
9764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9766 "RANLIB=$${RANLIB}" \
9767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9768 install-info) \
9769 || exit 1
9771 @endif fixincludes
9773 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9774 maybe-install-pdf-fixincludes:
9775 @if fixincludes
9776 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9778 install-pdf-fixincludes: \
9779 configure-fixincludes \
9780 pdf-fixincludes
9781 @[ -f ./fixincludes/Makefile ] || exit 0; \
9782 r=`${PWD_COMMAND}`; export r; \
9783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9784 $(HOST_EXPORTS) \
9785 for flag in $(EXTRA_HOST_FLAGS) ; do \
9786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9787 done; \
9788 echo "Doing install-pdf in fixincludes"; \
9789 (cd $(HOST_SUBDIR)/fixincludes && \
9790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9792 "RANLIB=$${RANLIB}" \
9793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9794 install-pdf) \
9795 || exit 1
9797 @endif fixincludes
9799 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9800 maybe-install-html-fixincludes:
9801 @if fixincludes
9802 maybe-install-html-fixincludes: install-html-fixincludes
9804 install-html-fixincludes: \
9805 configure-fixincludes \
9806 html-fixincludes
9807 @[ -f ./fixincludes/Makefile ] || exit 0; \
9808 r=`${PWD_COMMAND}`; export r; \
9809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9810 $(HOST_EXPORTS) \
9811 for flag in $(EXTRA_HOST_FLAGS) ; do \
9812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9813 done; \
9814 echo "Doing install-html in fixincludes"; \
9815 (cd $(HOST_SUBDIR)/fixincludes && \
9816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818 "RANLIB=$${RANLIB}" \
9819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9820 install-html) \
9821 || exit 1
9823 @endif fixincludes
9825 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9826 maybe-installcheck-fixincludes:
9827 @if fixincludes
9828 maybe-installcheck-fixincludes: installcheck-fixincludes
9830 installcheck-fixincludes: \
9831 configure-fixincludes
9832 @[ -f ./fixincludes/Makefile ] || exit 0; \
9833 r=`${PWD_COMMAND}`; export r; \
9834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 $(HOST_EXPORTS) \
9836 for flag in $(EXTRA_HOST_FLAGS) ; do \
9837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9838 done; \
9839 echo "Doing installcheck in fixincludes"; \
9840 (cd $(HOST_SUBDIR)/fixincludes && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9843 "RANLIB=$${RANLIB}" \
9844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9845 installcheck) \
9846 || exit 1
9848 @endif fixincludes
9850 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9851 maybe-mostlyclean-fixincludes:
9852 @if fixincludes
9853 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9855 mostlyclean-fixincludes:
9856 @[ -f ./fixincludes/Makefile ] || exit 0; \
9857 r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 $(HOST_EXPORTS) \
9860 for flag in $(EXTRA_HOST_FLAGS) ; do \
9861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9862 done; \
9863 echo "Doing mostlyclean in fixincludes"; \
9864 (cd $(HOST_SUBDIR)/fixincludes && \
9865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9867 "RANLIB=$${RANLIB}" \
9868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9869 mostlyclean) \
9870 || exit 1
9872 @endif fixincludes
9874 .PHONY: maybe-clean-fixincludes clean-fixincludes
9875 maybe-clean-fixincludes:
9876 @if fixincludes
9877 maybe-clean-fixincludes: clean-fixincludes
9879 clean-fixincludes:
9880 @[ -f ./fixincludes/Makefile ] || exit 0; \
9881 r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9883 $(HOST_EXPORTS) \
9884 for flag in $(EXTRA_HOST_FLAGS) ; do \
9885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9886 done; \
9887 echo "Doing clean in fixincludes"; \
9888 (cd $(HOST_SUBDIR)/fixincludes && \
9889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891 "RANLIB=$${RANLIB}" \
9892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9893 clean) \
9894 || exit 1
9896 @endif fixincludes
9898 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9899 maybe-distclean-fixincludes:
9900 @if fixincludes
9901 maybe-distclean-fixincludes: distclean-fixincludes
9903 distclean-fixincludes:
9904 @[ -f ./fixincludes/Makefile ] || exit 0; \
9905 r=`${PWD_COMMAND}`; export r; \
9906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9907 $(HOST_EXPORTS) \
9908 for flag in $(EXTRA_HOST_FLAGS) ; do \
9909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9910 done; \
9911 echo "Doing distclean in fixincludes"; \
9912 (cd $(HOST_SUBDIR)/fixincludes && \
9913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9915 "RANLIB=$${RANLIB}" \
9916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9917 distclean) \
9918 || exit 1
9920 @endif fixincludes
9922 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9923 maybe-maintainer-clean-fixincludes:
9924 @if fixincludes
9925 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9927 maintainer-clean-fixincludes:
9928 @[ -f ./fixincludes/Makefile ] || exit 0; \
9929 r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 $(HOST_EXPORTS) \
9932 for flag in $(EXTRA_HOST_FLAGS) ; do \
9933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9934 done; \
9935 echo "Doing maintainer-clean in fixincludes"; \
9936 (cd $(HOST_SUBDIR)/fixincludes && \
9937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9939 "RANLIB=$${RANLIB}" \
9940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9941 maintainer-clean) \
9942 || exit 1
9944 @endif fixincludes
9948 .PHONY: configure-flex maybe-configure-flex
9949 maybe-configure-flex:
9950 @if gcc-bootstrap
9951 configure-flex: stage_current
9952 @endif gcc-bootstrap
9953 @if flex
9954 maybe-configure-flex: configure-flex
9955 configure-flex:
9956 @: $(MAKE); $(unstage)
9957 @r=`${PWD_COMMAND}`; export r; \
9958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9959 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9961 $(HOST_EXPORTS) \
9962 echo Configuring in $(HOST_SUBDIR)/flex; \
9963 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9964 case $(srcdir) in \
9965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9966 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9968 esac; \
9969 module_srcdir=flex; \
9970 $(SHELL) \
9971 $$s/$$module_srcdir/configure \
9972 --srcdir=$${topdir}/$$module_srcdir \
9973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9974 --target=${target_alias} \
9975 || exit 1
9976 @endif flex
9982 .PHONY: all-flex maybe-all-flex
9983 maybe-all-flex:
9984 @if gcc-bootstrap
9985 all-flex: stage_current
9986 @endif gcc-bootstrap
9987 @if flex
9988 TARGET-flex=all
9989 maybe-all-flex: all-flex
9990 all-flex: configure-flex
9991 @: $(MAKE); $(unstage)
9992 @r=`${PWD_COMMAND}`; export r; \
9993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9994 $(HOST_EXPORTS) \
9995 (cd $(HOST_SUBDIR)/flex && \
9996 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9997 $(TARGET-flex))
9998 @endif flex
10003 .PHONY: check-flex maybe-check-flex
10004 maybe-check-flex:
10005 @if flex
10006 maybe-check-flex: check-flex
10008 # This module is only tested in a native toolchain.
10009 check-flex:
10010 @: $(MAKE); $(unstage)
10011 @if [ '$(host)' = '$(target)' ]; then \
10012 r=`${PWD_COMMAND}`; export r; \
10013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10014 $(HOST_EXPORTS) \
10015 (cd $(HOST_SUBDIR)/flex && \
10016 $(MAKE) $(FLAGS_TO_PASS) check)
10019 @endif flex
10021 .PHONY: install-flex maybe-install-flex
10022 maybe-install-flex:
10023 @if flex
10024 maybe-install-flex: install-flex
10026 install-flex: installdirs
10027 @: $(MAKE); $(unstage)
10028 @r=`${PWD_COMMAND}`; export r; \
10029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10030 $(HOST_EXPORTS) \
10031 (cd $(HOST_SUBDIR)/flex && \
10032 $(MAKE) $(FLAGS_TO_PASS) install)
10034 @endif flex
10036 .PHONY: install-strip-flex maybe-install-strip-flex
10037 maybe-install-strip-flex:
10038 @if flex
10039 maybe-install-strip-flex: install-strip-flex
10041 install-strip-flex: installdirs
10042 @: $(MAKE); $(unstage)
10043 @r=`${PWD_COMMAND}`; export r; \
10044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10045 $(HOST_EXPORTS) \
10046 (cd $(HOST_SUBDIR)/flex && \
10047 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10049 @endif flex
10051 # Other targets (info, dvi, pdf, etc.)
10053 .PHONY: maybe-info-flex info-flex
10054 maybe-info-flex:
10055 @if flex
10056 maybe-info-flex: info-flex
10058 info-flex: \
10059 configure-flex
10060 @: $(MAKE); $(unstage)
10061 @[ -f ./flex/Makefile ] || exit 0; \
10062 r=`${PWD_COMMAND}`; export r; \
10063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10064 $(HOST_EXPORTS) \
10065 for flag in $(EXTRA_HOST_FLAGS) ; do \
10066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10067 done; \
10068 echo "Doing info in flex"; \
10069 (cd $(HOST_SUBDIR)/flex && \
10070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10072 "RANLIB=$${RANLIB}" \
10073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10074 info) \
10075 || exit 1
10077 @endif flex
10079 .PHONY: maybe-dvi-flex dvi-flex
10080 maybe-dvi-flex:
10081 @if flex
10082 maybe-dvi-flex: dvi-flex
10084 dvi-flex: \
10085 configure-flex
10086 @: $(MAKE); $(unstage)
10087 @[ -f ./flex/Makefile ] || exit 0; \
10088 r=`${PWD_COMMAND}`; export r; \
10089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10090 $(HOST_EXPORTS) \
10091 for flag in $(EXTRA_HOST_FLAGS) ; do \
10092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10093 done; \
10094 echo "Doing dvi in flex"; \
10095 (cd $(HOST_SUBDIR)/flex && \
10096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10098 "RANLIB=$${RANLIB}" \
10099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10100 dvi) \
10101 || exit 1
10103 @endif flex
10105 .PHONY: maybe-pdf-flex pdf-flex
10106 maybe-pdf-flex:
10107 @if flex
10108 maybe-pdf-flex: pdf-flex
10110 pdf-flex: \
10111 configure-flex
10112 @: $(MAKE); $(unstage)
10113 @[ -f ./flex/Makefile ] || exit 0; \
10114 r=`${PWD_COMMAND}`; export r; \
10115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10116 $(HOST_EXPORTS) \
10117 for flag in $(EXTRA_HOST_FLAGS) ; do \
10118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10119 done; \
10120 echo "Doing pdf in flex"; \
10121 (cd $(HOST_SUBDIR)/flex && \
10122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10124 "RANLIB=$${RANLIB}" \
10125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10126 pdf) \
10127 || exit 1
10129 @endif flex
10131 .PHONY: maybe-html-flex html-flex
10132 maybe-html-flex:
10133 @if flex
10134 maybe-html-flex: html-flex
10136 html-flex: \
10137 configure-flex
10138 @: $(MAKE); $(unstage)
10139 @[ -f ./flex/Makefile ] || exit 0; \
10140 r=`${PWD_COMMAND}`; export r; \
10141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 $(HOST_EXPORTS) \
10143 for flag in $(EXTRA_HOST_FLAGS) ; do \
10144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10145 done; \
10146 echo "Doing html in flex"; \
10147 (cd $(HOST_SUBDIR)/flex && \
10148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10150 "RANLIB=$${RANLIB}" \
10151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10152 html) \
10153 || exit 1
10155 @endif flex
10157 .PHONY: maybe-TAGS-flex TAGS-flex
10158 maybe-TAGS-flex:
10159 @if flex
10160 maybe-TAGS-flex: TAGS-flex
10162 TAGS-flex: \
10163 configure-flex
10164 @: $(MAKE); $(unstage)
10165 @[ -f ./flex/Makefile ] || exit 0; \
10166 r=`${PWD_COMMAND}`; export r; \
10167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10168 $(HOST_EXPORTS) \
10169 for flag in $(EXTRA_HOST_FLAGS) ; do \
10170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10171 done; \
10172 echo "Doing TAGS in flex"; \
10173 (cd $(HOST_SUBDIR)/flex && \
10174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10176 "RANLIB=$${RANLIB}" \
10177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10178 TAGS) \
10179 || exit 1
10181 @endif flex
10183 .PHONY: maybe-install-info-flex install-info-flex
10184 maybe-install-info-flex:
10185 @if flex
10186 maybe-install-info-flex: install-info-flex
10188 install-info-flex: \
10189 configure-flex \
10190 info-flex
10191 @: $(MAKE); $(unstage)
10192 @[ -f ./flex/Makefile ] || exit 0; \
10193 r=`${PWD_COMMAND}`; export r; \
10194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10195 $(HOST_EXPORTS) \
10196 for flag in $(EXTRA_HOST_FLAGS) ; do \
10197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10198 done; \
10199 echo "Doing install-info in flex"; \
10200 (cd $(HOST_SUBDIR)/flex && \
10201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10203 "RANLIB=$${RANLIB}" \
10204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10205 install-info) \
10206 || exit 1
10208 @endif flex
10210 .PHONY: maybe-install-pdf-flex install-pdf-flex
10211 maybe-install-pdf-flex:
10212 @if flex
10213 maybe-install-pdf-flex: install-pdf-flex
10215 install-pdf-flex: \
10216 configure-flex \
10217 pdf-flex
10218 @: $(MAKE); $(unstage)
10219 @[ -f ./flex/Makefile ] || exit 0; \
10220 r=`${PWD_COMMAND}`; export r; \
10221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10222 $(HOST_EXPORTS) \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10225 done; \
10226 echo "Doing install-pdf in flex"; \
10227 (cd $(HOST_SUBDIR)/flex && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10232 install-pdf) \
10233 || exit 1
10235 @endif flex
10237 .PHONY: maybe-install-html-flex install-html-flex
10238 maybe-install-html-flex:
10239 @if flex
10240 maybe-install-html-flex: install-html-flex
10242 install-html-flex: \
10243 configure-flex \
10244 html-flex
10245 @: $(MAKE); $(unstage)
10246 @[ -f ./flex/Makefile ] || exit 0; \
10247 r=`${PWD_COMMAND}`; export r; \
10248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10249 $(HOST_EXPORTS) \
10250 for flag in $(EXTRA_HOST_FLAGS) ; do \
10251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10252 done; \
10253 echo "Doing install-html in flex"; \
10254 (cd $(HOST_SUBDIR)/flex && \
10255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10257 "RANLIB=$${RANLIB}" \
10258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10259 install-html) \
10260 || exit 1
10262 @endif flex
10264 .PHONY: maybe-installcheck-flex installcheck-flex
10265 maybe-installcheck-flex:
10266 @if flex
10267 maybe-installcheck-flex: installcheck-flex
10269 installcheck-flex: \
10270 configure-flex
10271 @: $(MAKE); $(unstage)
10272 @[ -f ./flex/Makefile ] || exit 0; \
10273 r=`${PWD_COMMAND}`; export r; \
10274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10275 $(HOST_EXPORTS) \
10276 for flag in $(EXTRA_HOST_FLAGS) ; do \
10277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10278 done; \
10279 echo "Doing installcheck in flex"; \
10280 (cd $(HOST_SUBDIR)/flex && \
10281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10283 "RANLIB=$${RANLIB}" \
10284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10285 installcheck) \
10286 || exit 1
10288 @endif flex
10290 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10291 maybe-mostlyclean-flex:
10292 @if flex
10293 maybe-mostlyclean-flex: mostlyclean-flex
10295 mostlyclean-flex:
10296 @: $(MAKE); $(unstage)
10297 @[ -f ./flex/Makefile ] || exit 0; \
10298 r=`${PWD_COMMAND}`; export r; \
10299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 $(HOST_EXPORTS) \
10301 for flag in $(EXTRA_HOST_FLAGS) ; do \
10302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10303 done; \
10304 echo "Doing mostlyclean in flex"; \
10305 (cd $(HOST_SUBDIR)/flex && \
10306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10308 "RANLIB=$${RANLIB}" \
10309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10310 mostlyclean) \
10311 || exit 1
10313 @endif flex
10315 .PHONY: maybe-clean-flex clean-flex
10316 maybe-clean-flex:
10317 @if flex
10318 maybe-clean-flex: clean-flex
10320 clean-flex:
10321 @: $(MAKE); $(unstage)
10322 @[ -f ./flex/Makefile ] || exit 0; \
10323 r=`${PWD_COMMAND}`; export r; \
10324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10325 $(HOST_EXPORTS) \
10326 for flag in $(EXTRA_HOST_FLAGS) ; do \
10327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10328 done; \
10329 echo "Doing clean in flex"; \
10330 (cd $(HOST_SUBDIR)/flex && \
10331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10333 "RANLIB=$${RANLIB}" \
10334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10335 clean) \
10336 || exit 1
10338 @endif flex
10340 .PHONY: maybe-distclean-flex distclean-flex
10341 maybe-distclean-flex:
10342 @if flex
10343 maybe-distclean-flex: distclean-flex
10345 distclean-flex:
10346 @: $(MAKE); $(unstage)
10347 @[ -f ./flex/Makefile ] || exit 0; \
10348 r=`${PWD_COMMAND}`; export r; \
10349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10350 $(HOST_EXPORTS) \
10351 for flag in $(EXTRA_HOST_FLAGS) ; do \
10352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10353 done; \
10354 echo "Doing distclean in flex"; \
10355 (cd $(HOST_SUBDIR)/flex && \
10356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10358 "RANLIB=$${RANLIB}" \
10359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10360 distclean) \
10361 || exit 1
10363 @endif flex
10365 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10366 maybe-maintainer-clean-flex:
10367 @if flex
10368 maybe-maintainer-clean-flex: maintainer-clean-flex
10370 maintainer-clean-flex:
10371 @: $(MAKE); $(unstage)
10372 @[ -f ./flex/Makefile ] || exit 0; \
10373 r=`${PWD_COMMAND}`; export r; \
10374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10375 $(HOST_EXPORTS) \
10376 for flag in $(EXTRA_HOST_FLAGS) ; do \
10377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10378 done; \
10379 echo "Doing maintainer-clean in flex"; \
10380 (cd $(HOST_SUBDIR)/flex && \
10381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10383 "RANLIB=$${RANLIB}" \
10384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10385 maintainer-clean) \
10386 || exit 1
10388 @endif flex
10392 .PHONY: configure-gas maybe-configure-gas
10393 maybe-configure-gas:
10394 @if gcc-bootstrap
10395 configure-gas: stage_current
10396 @endif gcc-bootstrap
10397 @if gas
10398 maybe-configure-gas: configure-gas
10399 configure-gas:
10400 @r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10404 $(HOST_EXPORTS) \
10405 echo Configuring in $(HOST_SUBDIR)/gas; \
10406 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10407 case $(srcdir) in \
10408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10409 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10411 esac; \
10412 module_srcdir=gas; \
10413 $(SHELL) \
10414 $$s/$$module_srcdir/configure \
10415 --srcdir=$${topdir}/$$module_srcdir \
10416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10417 --target=${target_alias} \
10418 || exit 1
10419 @endif gas
10423 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10424 maybe-configure-stage1-gas:
10425 @if gas-bootstrap
10426 maybe-configure-stage1-gas: configure-stage1-gas
10427 configure-stage1-gas:
10428 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10430 @r=`${PWD_COMMAND}`; export r; \
10431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10432 TFLAGS="$(STAGE1_TFLAGS)"; \
10433 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10434 $(HOST_EXPORTS) \
10435 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10436 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10437 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10438 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10440 cd $(HOST_SUBDIR)/gas || exit 1; \
10441 case $(srcdir) in \
10442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10443 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10445 esac; \
10446 module_srcdir=gas; \
10447 $(SHELL) $$s/$$module_srcdir/configure \
10448 --srcdir=$${topdir}/$$module_srcdir \
10449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10450 --target=${target_alias} \
10452 $(STAGE1_CONFIGURE_FLAGS)
10453 @endif gas-bootstrap
10455 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10456 maybe-configure-stage2-gas:
10457 @if gas-bootstrap
10458 maybe-configure-stage2-gas: configure-stage2-gas
10459 configure-stage2-gas:
10460 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10461 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10462 @r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 TFLAGS="$(STAGE2_TFLAGS)"; \
10465 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10466 $(HOST_EXPORTS) \
10467 $(POSTSTAGE1_HOST_EXPORTS) \
10468 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10469 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10470 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10471 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10473 cd $(HOST_SUBDIR)/gas || exit 1; \
10474 case $(srcdir) in \
10475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10476 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10478 esac; \
10479 module_srcdir=gas; \
10480 $(SHELL) $$s/$$module_srcdir/configure \
10481 --srcdir=$${topdir}/$$module_srcdir \
10482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10483 --target=${target_alias} \
10484 --with-build-libsubdir=$(HOST_SUBDIR) \
10485 $(STAGE2_CONFIGURE_FLAGS)
10486 @endif gas-bootstrap
10488 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10489 maybe-configure-stage3-gas:
10490 @if gas-bootstrap
10491 maybe-configure-stage3-gas: configure-stage3-gas
10492 configure-stage3-gas:
10493 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10494 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10495 @r=`${PWD_COMMAND}`; export r; \
10496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10497 TFLAGS="$(STAGE3_TFLAGS)"; \
10498 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10499 $(HOST_EXPORTS) \
10500 $(POSTSTAGE1_HOST_EXPORTS) \
10501 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10502 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10503 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10504 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10506 cd $(HOST_SUBDIR)/gas || exit 1; \
10507 case $(srcdir) in \
10508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10509 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10511 esac; \
10512 module_srcdir=gas; \
10513 $(SHELL) $$s/$$module_srcdir/configure \
10514 --srcdir=$${topdir}/$$module_srcdir \
10515 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10516 --target=${target_alias} \
10517 --with-build-libsubdir=$(HOST_SUBDIR) \
10518 $(STAGE3_CONFIGURE_FLAGS)
10519 @endif gas-bootstrap
10521 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10522 maybe-configure-stage4-gas:
10523 @if gas-bootstrap
10524 maybe-configure-stage4-gas: configure-stage4-gas
10525 configure-stage4-gas:
10526 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10527 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10528 @r=`${PWD_COMMAND}`; export r; \
10529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10530 TFLAGS="$(STAGE4_TFLAGS)"; \
10531 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10532 $(HOST_EXPORTS) \
10533 $(POSTSTAGE1_HOST_EXPORTS) \
10534 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10535 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10536 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10537 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10539 cd $(HOST_SUBDIR)/gas || exit 1; \
10540 case $(srcdir) in \
10541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10542 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10544 esac; \
10545 module_srcdir=gas; \
10546 $(SHELL) $$s/$$module_srcdir/configure \
10547 --srcdir=$${topdir}/$$module_srcdir \
10548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10549 --target=${target_alias} \
10550 --with-build-libsubdir=$(HOST_SUBDIR) \
10551 $(STAGE4_CONFIGURE_FLAGS)
10552 @endif gas-bootstrap
10554 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10555 maybe-configure-stageprofile-gas:
10556 @if gas-bootstrap
10557 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10558 configure-stageprofile-gas:
10559 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10561 @r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10564 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10565 $(HOST_EXPORTS) \
10566 $(POSTSTAGE1_HOST_EXPORTS) \
10567 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10568 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10569 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10570 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10572 cd $(HOST_SUBDIR)/gas || exit 1; \
10573 case $(srcdir) in \
10574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10575 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10577 esac; \
10578 module_srcdir=gas; \
10579 $(SHELL) $$s/$$module_srcdir/configure \
10580 --srcdir=$${topdir}/$$module_srcdir \
10581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10582 --target=${target_alias} \
10583 --with-build-libsubdir=$(HOST_SUBDIR) \
10584 $(STAGEprofile_CONFIGURE_FLAGS)
10585 @endif gas-bootstrap
10587 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10588 maybe-configure-stagetrain-gas:
10589 @if gas-bootstrap
10590 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10591 configure-stagetrain-gas:
10592 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10593 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10594 @r=`${PWD_COMMAND}`; export r; \
10595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10596 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10597 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10598 $(HOST_EXPORTS) \
10599 $(POSTSTAGE1_HOST_EXPORTS) \
10600 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10601 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10602 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10603 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10605 cd $(HOST_SUBDIR)/gas || exit 1; \
10606 case $(srcdir) in \
10607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10608 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10610 esac; \
10611 module_srcdir=gas; \
10612 $(SHELL) $$s/$$module_srcdir/configure \
10613 --srcdir=$${topdir}/$$module_srcdir \
10614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10615 --target=${target_alias} \
10616 --with-build-libsubdir=$(HOST_SUBDIR) \
10617 $(STAGEtrain_CONFIGURE_FLAGS)
10618 @endif gas-bootstrap
10620 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10621 maybe-configure-stagefeedback-gas:
10622 @if gas-bootstrap
10623 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10624 configure-stagefeedback-gas:
10625 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10627 @r=`${PWD_COMMAND}`; export r; \
10628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10629 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10630 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10631 $(HOST_EXPORTS) \
10632 $(POSTSTAGE1_HOST_EXPORTS) \
10633 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10634 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10635 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10636 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10638 cd $(HOST_SUBDIR)/gas || exit 1; \
10639 case $(srcdir) in \
10640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10641 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10643 esac; \
10644 module_srcdir=gas; \
10645 $(SHELL) $$s/$$module_srcdir/configure \
10646 --srcdir=$${topdir}/$$module_srcdir \
10647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10648 --target=${target_alias} \
10649 --with-build-libsubdir=$(HOST_SUBDIR) \
10650 $(STAGEfeedback_CONFIGURE_FLAGS)
10651 @endif gas-bootstrap
10653 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10654 maybe-configure-stageautoprofile-gas:
10655 @if gas-bootstrap
10656 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10657 configure-stageautoprofile-gas:
10658 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10659 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10660 @r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10662 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10663 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10664 $(HOST_EXPORTS) \
10665 $(POSTSTAGE1_HOST_EXPORTS) \
10666 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10667 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10668 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10669 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10671 cd $(HOST_SUBDIR)/gas || exit 1; \
10672 case $(srcdir) in \
10673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10674 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10676 esac; \
10677 module_srcdir=gas; \
10678 $(SHELL) $$s/$$module_srcdir/configure \
10679 --srcdir=$${topdir}/$$module_srcdir \
10680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10681 --target=${target_alias} \
10682 --with-build-libsubdir=$(HOST_SUBDIR) \
10683 $(STAGEautoprofile_CONFIGURE_FLAGS)
10684 @endif gas-bootstrap
10686 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10687 maybe-configure-stageautofeedback-gas:
10688 @if gas-bootstrap
10689 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10690 configure-stageautofeedback-gas:
10691 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10693 @r=`${PWD_COMMAND}`; export r; \
10694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10695 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10696 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10697 $(HOST_EXPORTS) \
10698 $(POSTSTAGE1_HOST_EXPORTS) \
10699 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10700 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10701 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10702 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10704 cd $(HOST_SUBDIR)/gas || exit 1; \
10705 case $(srcdir) in \
10706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10707 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10709 esac; \
10710 module_srcdir=gas; \
10711 $(SHELL) $$s/$$module_srcdir/configure \
10712 --srcdir=$${topdir}/$$module_srcdir \
10713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10714 --target=${target_alias} \
10715 --with-build-libsubdir=$(HOST_SUBDIR) \
10716 $(STAGEautofeedback_CONFIGURE_FLAGS)
10717 @endif gas-bootstrap
10723 .PHONY: all-gas maybe-all-gas
10724 maybe-all-gas:
10725 @if gcc-bootstrap
10726 all-gas: stage_current
10727 @endif gcc-bootstrap
10728 @if gas
10729 TARGET-gas=all
10730 maybe-all-gas: all-gas
10731 all-gas: configure-gas
10732 @r=`${PWD_COMMAND}`; export r; \
10733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10734 $(HOST_EXPORTS) \
10735 (cd $(HOST_SUBDIR)/gas && \
10736 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10737 $(TARGET-gas))
10738 @endif gas
10742 .PHONY: all-stage1-gas maybe-all-stage1-gas
10743 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10744 maybe-all-stage1-gas:
10745 maybe-clean-stage1-gas:
10746 @if gas-bootstrap
10747 maybe-all-stage1-gas: all-stage1-gas
10748 all-stage1: all-stage1-gas
10749 TARGET-stage1-gas = $(TARGET-gas)
10750 all-stage1-gas: configure-stage1-gas
10751 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10752 @r=`${PWD_COMMAND}`; export r; \
10753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10754 TFLAGS="$(STAGE1_TFLAGS)"; \
10755 $(HOST_EXPORTS) \
10756 cd $(HOST_SUBDIR)/gas && \
10758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10759 CFLAGS="$(STAGE1_CFLAGS)" \
10760 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
10761 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10762 LIBCFLAGS="$(LIBCFLAGS)" \
10763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10766 $(EXTRA_HOST_FLAGS) \
10767 $(STAGE1_FLAGS_TO_PASS) \
10768 TFLAGS="$(STAGE1_TFLAGS)" \
10769 $(TARGET-stage1-gas)
10771 maybe-clean-stage1-gas: clean-stage1-gas
10772 clean-stage1: clean-stage1-gas
10773 clean-stage1-gas:
10774 @if [ $(current_stage) = stage1 ]; then \
10775 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10776 else \
10777 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10778 $(MAKE) stage1-start; \
10779 fi; \
10780 cd $(HOST_SUBDIR)/gas && \
10781 $(MAKE) $(EXTRA_HOST_FLAGS) \
10782 $(STAGE1_FLAGS_TO_PASS) clean
10783 @endif gas-bootstrap
10786 .PHONY: all-stage2-gas maybe-all-stage2-gas
10787 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10788 maybe-all-stage2-gas:
10789 maybe-clean-stage2-gas:
10790 @if gas-bootstrap
10791 maybe-all-stage2-gas: all-stage2-gas
10792 all-stage2: all-stage2-gas
10793 TARGET-stage2-gas = $(TARGET-gas)
10794 all-stage2-gas: configure-stage2-gas
10795 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10796 @r=`${PWD_COMMAND}`; export r; \
10797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10798 TFLAGS="$(STAGE2_TFLAGS)"; \
10799 $(HOST_EXPORTS) \
10800 $(POSTSTAGE1_HOST_EXPORTS) \
10801 cd $(HOST_SUBDIR)/gas && \
10803 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10804 CFLAGS="$(STAGE2_CFLAGS)" \
10805 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
10806 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10807 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10812 TFLAGS="$(STAGE2_TFLAGS)" \
10813 $(TARGET-stage2-gas)
10815 maybe-clean-stage2-gas: clean-stage2-gas
10816 clean-stage2: clean-stage2-gas
10817 clean-stage2-gas:
10818 @if [ $(current_stage) = stage2 ]; then \
10819 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10820 else \
10821 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10822 $(MAKE) stage2-start; \
10823 fi; \
10824 cd $(HOST_SUBDIR)/gas && \
10825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10826 @endif gas-bootstrap
10829 .PHONY: all-stage3-gas maybe-all-stage3-gas
10830 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10831 maybe-all-stage3-gas:
10832 maybe-clean-stage3-gas:
10833 @if gas-bootstrap
10834 maybe-all-stage3-gas: all-stage3-gas
10835 all-stage3: all-stage3-gas
10836 TARGET-stage3-gas = $(TARGET-gas)
10837 all-stage3-gas: configure-stage3-gas
10838 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10839 @r=`${PWD_COMMAND}`; export r; \
10840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10841 TFLAGS="$(STAGE3_TFLAGS)"; \
10842 $(HOST_EXPORTS) \
10843 $(POSTSTAGE1_HOST_EXPORTS) \
10844 cd $(HOST_SUBDIR)/gas && \
10846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10847 CFLAGS="$(STAGE3_CFLAGS)" \
10848 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
10849 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10850 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10854 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10855 TFLAGS="$(STAGE3_TFLAGS)" \
10856 $(TARGET-stage3-gas)
10858 maybe-clean-stage3-gas: clean-stage3-gas
10859 clean-stage3: clean-stage3-gas
10860 clean-stage3-gas:
10861 @if [ $(current_stage) = stage3 ]; then \
10862 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10863 else \
10864 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10865 $(MAKE) stage3-start; \
10866 fi; \
10867 cd $(HOST_SUBDIR)/gas && \
10868 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10869 @endif gas-bootstrap
10872 .PHONY: all-stage4-gas maybe-all-stage4-gas
10873 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10874 maybe-all-stage4-gas:
10875 maybe-clean-stage4-gas:
10876 @if gas-bootstrap
10877 maybe-all-stage4-gas: all-stage4-gas
10878 all-stage4: all-stage4-gas
10879 TARGET-stage4-gas = $(TARGET-gas)
10880 all-stage4-gas: configure-stage4-gas
10881 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10882 @r=`${PWD_COMMAND}`; export r; \
10883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10884 TFLAGS="$(STAGE4_TFLAGS)"; \
10885 $(HOST_EXPORTS) \
10886 $(POSTSTAGE1_HOST_EXPORTS) \
10887 cd $(HOST_SUBDIR)/gas && \
10889 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10890 CFLAGS="$(STAGE4_CFLAGS)" \
10891 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
10892 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10893 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10897 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10898 TFLAGS="$(STAGE4_TFLAGS)" \
10899 $(TARGET-stage4-gas)
10901 maybe-clean-stage4-gas: clean-stage4-gas
10902 clean-stage4: clean-stage4-gas
10903 clean-stage4-gas:
10904 @if [ $(current_stage) = stage4 ]; then \
10905 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10906 else \
10907 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10908 $(MAKE) stage4-start; \
10909 fi; \
10910 cd $(HOST_SUBDIR)/gas && \
10911 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10912 @endif gas-bootstrap
10915 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10916 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10917 maybe-all-stageprofile-gas:
10918 maybe-clean-stageprofile-gas:
10919 @if gas-bootstrap
10920 maybe-all-stageprofile-gas: all-stageprofile-gas
10921 all-stageprofile: all-stageprofile-gas
10922 TARGET-stageprofile-gas = $(TARGET-gas)
10923 all-stageprofile-gas: configure-stageprofile-gas
10924 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10925 @r=`${PWD_COMMAND}`; export r; \
10926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10927 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10928 $(HOST_EXPORTS) \
10929 $(POSTSTAGE1_HOST_EXPORTS) \
10930 cd $(HOST_SUBDIR)/gas && \
10932 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10933 CFLAGS="$(STAGEprofile_CFLAGS)" \
10934 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
10935 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10936 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10937 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10938 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10939 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10940 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10941 TFLAGS="$(STAGEprofile_TFLAGS)" \
10942 $(TARGET-stageprofile-gas)
10944 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10945 clean-stageprofile: clean-stageprofile-gas
10946 clean-stageprofile-gas:
10947 @if [ $(current_stage) = stageprofile ]; then \
10948 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10949 else \
10950 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10951 $(MAKE) stageprofile-start; \
10952 fi; \
10953 cd $(HOST_SUBDIR)/gas && \
10954 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10955 @endif gas-bootstrap
10958 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10959 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10960 maybe-all-stagetrain-gas:
10961 maybe-clean-stagetrain-gas:
10962 @if gas-bootstrap
10963 maybe-all-stagetrain-gas: all-stagetrain-gas
10964 all-stagetrain: all-stagetrain-gas
10965 TARGET-stagetrain-gas = $(TARGET-gas)
10966 all-stagetrain-gas: configure-stagetrain-gas
10967 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10968 @r=`${PWD_COMMAND}`; export r; \
10969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10970 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10971 $(HOST_EXPORTS) \
10972 $(POSTSTAGE1_HOST_EXPORTS) \
10973 cd $(HOST_SUBDIR)/gas && \
10975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10976 CFLAGS="$(STAGEtrain_CFLAGS)" \
10977 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
10978 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10979 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10980 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10981 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10982 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10983 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10984 TFLAGS="$(STAGEtrain_TFLAGS)" \
10985 $(TARGET-stagetrain-gas)
10987 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10988 clean-stagetrain: clean-stagetrain-gas
10989 clean-stagetrain-gas:
10990 @if [ $(current_stage) = stagetrain ]; then \
10991 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10992 else \
10993 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10994 $(MAKE) stagetrain-start; \
10995 fi; \
10996 cd $(HOST_SUBDIR)/gas && \
10997 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10998 @endif gas-bootstrap
11001 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11002 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11003 maybe-all-stagefeedback-gas:
11004 maybe-clean-stagefeedback-gas:
11005 @if gas-bootstrap
11006 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11007 all-stagefeedback: all-stagefeedback-gas
11008 TARGET-stagefeedback-gas = $(TARGET-gas)
11009 all-stagefeedback-gas: configure-stagefeedback-gas
11010 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11011 @r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11014 $(HOST_EXPORTS) \
11015 $(POSTSTAGE1_HOST_EXPORTS) \
11016 cd $(HOST_SUBDIR)/gas && \
11018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11019 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11020 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
11021 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11022 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11026 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11027 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11028 $(TARGET-stagefeedback-gas)
11030 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11031 clean-stagefeedback: clean-stagefeedback-gas
11032 clean-stagefeedback-gas:
11033 @if [ $(current_stage) = stagefeedback ]; then \
11034 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11035 else \
11036 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
11037 $(MAKE) stagefeedback-start; \
11038 fi; \
11039 cd $(HOST_SUBDIR)/gas && \
11040 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11041 @endif gas-bootstrap
11044 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
11045 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
11046 maybe-all-stageautoprofile-gas:
11047 maybe-clean-stageautoprofile-gas:
11048 @if gas-bootstrap
11049 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
11050 all-stageautoprofile: all-stageautoprofile-gas
11051 TARGET-stageautoprofile-gas = $(TARGET-gas)
11052 all-stageautoprofile-gas: configure-stageautoprofile-gas
11053 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11054 @r=`${PWD_COMMAND}`; export r; \
11055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11056 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11057 $(HOST_EXPORTS) \
11058 $(POSTSTAGE1_HOST_EXPORTS) \
11059 cd $(HOST_SUBDIR)/gas && \
11060 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11062 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11063 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
11064 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11065 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11066 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11067 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11068 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11069 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11070 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11071 $(TARGET-stageautoprofile-gas)
11073 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
11074 clean-stageautoprofile: clean-stageautoprofile-gas
11075 clean-stageautoprofile-gas:
11076 @if [ $(current_stage) = stageautoprofile ]; then \
11077 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11078 else \
11079 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
11080 $(MAKE) stageautoprofile-start; \
11081 fi; \
11082 cd $(HOST_SUBDIR)/gas && \
11083 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11084 @endif gas-bootstrap
11087 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
11088 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
11089 maybe-all-stageautofeedback-gas:
11090 maybe-clean-stageautofeedback-gas:
11091 @if gas-bootstrap
11092 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
11093 all-stageautofeedback: all-stageautofeedback-gas
11094 TARGET-stageautofeedback-gas = $(TARGET-gas)
11095 all-stageautofeedback-gas: configure-stageautofeedback-gas
11096 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11097 @r=`${PWD_COMMAND}`; export r; \
11098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11099 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11100 $(HOST_EXPORTS) \
11101 $(POSTSTAGE1_HOST_EXPORTS) \
11102 cd $(HOST_SUBDIR)/gas && \
11104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11105 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11106 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
11107 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11108 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11109 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11110 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11111 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11112 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11113 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11114 $(TARGET-stageautofeedback-gas)
11116 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
11117 clean-stageautofeedback: clean-stageautofeedback-gas
11118 clean-stageautofeedback-gas:
11119 @if [ $(current_stage) = stageautofeedback ]; then \
11120 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11121 else \
11122 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
11123 $(MAKE) stageautofeedback-start; \
11124 fi; \
11125 cd $(HOST_SUBDIR)/gas && \
11126 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11127 @endif gas-bootstrap
11133 .PHONY: check-gas maybe-check-gas
11134 maybe-check-gas:
11135 @if gas
11136 maybe-check-gas: check-gas
11138 check-gas:
11139 @: $(MAKE); $(unstage)
11140 @r=`${PWD_COMMAND}`; export r; \
11141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11142 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11143 (cd $(HOST_SUBDIR)/gas && \
11144 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11146 @endif gas
11148 .PHONY: install-gas maybe-install-gas
11149 maybe-install-gas:
11150 @if gas
11151 maybe-install-gas: install-gas
11153 install-gas: installdirs
11154 @: $(MAKE); $(unstage)
11155 @r=`${PWD_COMMAND}`; export r; \
11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 $(HOST_EXPORTS) \
11158 (cd $(HOST_SUBDIR)/gas && \
11159 $(MAKE) $(FLAGS_TO_PASS) install)
11161 @endif gas
11163 .PHONY: install-strip-gas maybe-install-strip-gas
11164 maybe-install-strip-gas:
11165 @if gas
11166 maybe-install-strip-gas: install-strip-gas
11168 install-strip-gas: installdirs
11169 @: $(MAKE); $(unstage)
11170 @r=`${PWD_COMMAND}`; export r; \
11171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11172 $(HOST_EXPORTS) \
11173 (cd $(HOST_SUBDIR)/gas && \
11174 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11176 @endif gas
11178 # Other targets (info, dvi, pdf, etc.)
11180 .PHONY: maybe-info-gas info-gas
11181 maybe-info-gas:
11182 @if gas
11183 maybe-info-gas: info-gas
11185 info-gas: \
11186 configure-gas
11187 @[ -f ./gas/Makefile ] || exit 0; \
11188 r=`${PWD_COMMAND}`; export r; \
11189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11190 $(HOST_EXPORTS) \
11191 for flag in $(EXTRA_HOST_FLAGS) ; do \
11192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11193 done; \
11194 echo "Doing info in gas"; \
11195 (cd $(HOST_SUBDIR)/gas && \
11196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11198 "RANLIB=$${RANLIB}" \
11199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11200 info) \
11201 || exit 1
11203 @endif gas
11205 .PHONY: maybe-dvi-gas dvi-gas
11206 maybe-dvi-gas:
11207 @if gas
11208 maybe-dvi-gas: dvi-gas
11210 dvi-gas: \
11211 configure-gas
11212 @[ -f ./gas/Makefile ] || exit 0; \
11213 r=`${PWD_COMMAND}`; export r; \
11214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11215 $(HOST_EXPORTS) \
11216 for flag in $(EXTRA_HOST_FLAGS) ; do \
11217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11218 done; \
11219 echo "Doing dvi in gas"; \
11220 (cd $(HOST_SUBDIR)/gas && \
11221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11223 "RANLIB=$${RANLIB}" \
11224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11225 dvi) \
11226 || exit 1
11228 @endif gas
11230 .PHONY: maybe-pdf-gas pdf-gas
11231 maybe-pdf-gas:
11232 @if gas
11233 maybe-pdf-gas: pdf-gas
11235 pdf-gas: \
11236 configure-gas
11237 @[ -f ./gas/Makefile ] || exit 0; \
11238 r=`${PWD_COMMAND}`; export r; \
11239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11240 $(HOST_EXPORTS) \
11241 for flag in $(EXTRA_HOST_FLAGS) ; do \
11242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11243 done; \
11244 echo "Doing pdf in gas"; \
11245 (cd $(HOST_SUBDIR)/gas && \
11246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11248 "RANLIB=$${RANLIB}" \
11249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11250 pdf) \
11251 || exit 1
11253 @endif gas
11255 .PHONY: maybe-html-gas html-gas
11256 maybe-html-gas:
11257 @if gas
11258 maybe-html-gas: html-gas
11260 html-gas: \
11261 configure-gas
11262 @[ -f ./gas/Makefile ] || exit 0; \
11263 r=`${PWD_COMMAND}`; export r; \
11264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11265 $(HOST_EXPORTS) \
11266 for flag in $(EXTRA_HOST_FLAGS) ; do \
11267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11268 done; \
11269 echo "Doing html in gas"; \
11270 (cd $(HOST_SUBDIR)/gas && \
11271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11273 "RANLIB=$${RANLIB}" \
11274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11275 html) \
11276 || exit 1
11278 @endif gas
11280 .PHONY: maybe-TAGS-gas TAGS-gas
11281 maybe-TAGS-gas:
11282 @if gas
11283 maybe-TAGS-gas: TAGS-gas
11285 TAGS-gas: \
11286 configure-gas
11287 @[ -f ./gas/Makefile ] || exit 0; \
11288 r=`${PWD_COMMAND}`; export r; \
11289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11290 $(HOST_EXPORTS) \
11291 for flag in $(EXTRA_HOST_FLAGS) ; do \
11292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11293 done; \
11294 echo "Doing TAGS in gas"; \
11295 (cd $(HOST_SUBDIR)/gas && \
11296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11298 "RANLIB=$${RANLIB}" \
11299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11300 TAGS) \
11301 || exit 1
11303 @endif gas
11305 .PHONY: maybe-install-info-gas install-info-gas
11306 maybe-install-info-gas:
11307 @if gas
11308 maybe-install-info-gas: install-info-gas
11310 install-info-gas: \
11311 configure-gas \
11312 info-gas
11313 @[ -f ./gas/Makefile ] || exit 0; \
11314 r=`${PWD_COMMAND}`; export r; \
11315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11316 $(HOST_EXPORTS) \
11317 for flag in $(EXTRA_HOST_FLAGS) ; do \
11318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11319 done; \
11320 echo "Doing install-info in gas"; \
11321 (cd $(HOST_SUBDIR)/gas && \
11322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11324 "RANLIB=$${RANLIB}" \
11325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11326 install-info) \
11327 || exit 1
11329 @endif gas
11331 .PHONY: maybe-install-pdf-gas install-pdf-gas
11332 maybe-install-pdf-gas:
11333 @if gas
11334 maybe-install-pdf-gas: install-pdf-gas
11336 install-pdf-gas: \
11337 configure-gas \
11338 pdf-gas
11339 @[ -f ./gas/Makefile ] || exit 0; \
11340 r=`${PWD_COMMAND}`; export r; \
11341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11342 $(HOST_EXPORTS) \
11343 for flag in $(EXTRA_HOST_FLAGS) ; do \
11344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11345 done; \
11346 echo "Doing install-pdf in gas"; \
11347 (cd $(HOST_SUBDIR)/gas && \
11348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11350 "RANLIB=$${RANLIB}" \
11351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11352 install-pdf) \
11353 || exit 1
11355 @endif gas
11357 .PHONY: maybe-install-html-gas install-html-gas
11358 maybe-install-html-gas:
11359 @if gas
11360 maybe-install-html-gas: install-html-gas
11362 install-html-gas: \
11363 configure-gas \
11364 html-gas
11365 @[ -f ./gas/Makefile ] || exit 0; \
11366 r=`${PWD_COMMAND}`; export r; \
11367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11368 $(HOST_EXPORTS) \
11369 for flag in $(EXTRA_HOST_FLAGS) ; do \
11370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11371 done; \
11372 echo "Doing install-html in gas"; \
11373 (cd $(HOST_SUBDIR)/gas && \
11374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11376 "RANLIB=$${RANLIB}" \
11377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11378 install-html) \
11379 || exit 1
11381 @endif gas
11383 .PHONY: maybe-installcheck-gas installcheck-gas
11384 maybe-installcheck-gas:
11385 @if gas
11386 maybe-installcheck-gas: installcheck-gas
11388 installcheck-gas: \
11389 configure-gas
11390 @[ -f ./gas/Makefile ] || exit 0; \
11391 r=`${PWD_COMMAND}`; export r; \
11392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11393 $(HOST_EXPORTS) \
11394 for flag in $(EXTRA_HOST_FLAGS) ; do \
11395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11396 done; \
11397 echo "Doing installcheck in gas"; \
11398 (cd $(HOST_SUBDIR)/gas && \
11399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11401 "RANLIB=$${RANLIB}" \
11402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11403 installcheck) \
11404 || exit 1
11406 @endif gas
11408 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11409 maybe-mostlyclean-gas:
11410 @if gas
11411 maybe-mostlyclean-gas: mostlyclean-gas
11413 mostlyclean-gas:
11414 @[ -f ./gas/Makefile ] || exit 0; \
11415 r=`${PWD_COMMAND}`; export r; \
11416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11417 $(HOST_EXPORTS) \
11418 for flag in $(EXTRA_HOST_FLAGS) ; do \
11419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11420 done; \
11421 echo "Doing mostlyclean in gas"; \
11422 (cd $(HOST_SUBDIR)/gas && \
11423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11425 "RANLIB=$${RANLIB}" \
11426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11427 mostlyclean) \
11428 || exit 1
11430 @endif gas
11432 .PHONY: maybe-clean-gas clean-gas
11433 maybe-clean-gas:
11434 @if gas
11435 maybe-clean-gas: clean-gas
11437 clean-gas:
11438 @[ -f ./gas/Makefile ] || exit 0; \
11439 r=`${PWD_COMMAND}`; export r; \
11440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11441 $(HOST_EXPORTS) \
11442 for flag in $(EXTRA_HOST_FLAGS) ; do \
11443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11444 done; \
11445 echo "Doing clean in gas"; \
11446 (cd $(HOST_SUBDIR)/gas && \
11447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11449 "RANLIB=$${RANLIB}" \
11450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11451 clean) \
11452 || exit 1
11454 @endif gas
11456 .PHONY: maybe-distclean-gas distclean-gas
11457 maybe-distclean-gas:
11458 @if gas
11459 maybe-distclean-gas: distclean-gas
11461 distclean-gas:
11462 @[ -f ./gas/Makefile ] || exit 0; \
11463 r=`${PWD_COMMAND}`; export r; \
11464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11465 $(HOST_EXPORTS) \
11466 for flag in $(EXTRA_HOST_FLAGS) ; do \
11467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11468 done; \
11469 echo "Doing distclean in gas"; \
11470 (cd $(HOST_SUBDIR)/gas && \
11471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11473 "RANLIB=$${RANLIB}" \
11474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11475 distclean) \
11476 || exit 1
11478 @endif gas
11480 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11481 maybe-maintainer-clean-gas:
11482 @if gas
11483 maybe-maintainer-clean-gas: maintainer-clean-gas
11485 maintainer-clean-gas:
11486 @[ -f ./gas/Makefile ] || exit 0; \
11487 r=`${PWD_COMMAND}`; export r; \
11488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11489 $(HOST_EXPORTS) \
11490 for flag in $(EXTRA_HOST_FLAGS) ; do \
11491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11492 done; \
11493 echo "Doing maintainer-clean in gas"; \
11494 (cd $(HOST_SUBDIR)/gas && \
11495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11497 "RANLIB=$${RANLIB}" \
11498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11499 maintainer-clean) \
11500 || exit 1
11502 @endif gas
11506 .PHONY: configure-gcc maybe-configure-gcc
11507 maybe-configure-gcc:
11508 @if gcc-bootstrap
11509 configure-gcc: stage_current
11510 @endif gcc-bootstrap
11511 @if gcc
11512 maybe-configure-gcc: configure-gcc
11513 configure-gcc:
11514 @r=`${PWD_COMMAND}`; export r; \
11515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11516 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11518 $(HOST_EXPORTS) \
11519 echo Configuring in $(HOST_SUBDIR)/gcc; \
11520 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11521 case $(srcdir) in \
11522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11523 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11525 esac; \
11526 module_srcdir=gcc; \
11527 $(SHELL) \
11528 $$s/$$module_srcdir/configure \
11529 --srcdir=$${topdir}/$$module_srcdir \
11530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11531 --target=${target_alias} \
11532 || exit 1
11533 @endif gcc
11537 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11538 maybe-configure-stage1-gcc:
11539 @if gcc-bootstrap
11540 maybe-configure-stage1-gcc: configure-stage1-gcc
11541 configure-stage1-gcc:
11542 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11544 @r=`${PWD_COMMAND}`; export r; \
11545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11546 TFLAGS="$(STAGE1_TFLAGS)"; \
11547 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11548 $(HOST_EXPORTS) \
11549 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11550 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11551 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11552 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11554 cd $(HOST_SUBDIR)/gcc || exit 1; \
11555 case $(srcdir) in \
11556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11557 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11559 esac; \
11560 module_srcdir=gcc; \
11561 $(SHELL) $$s/$$module_srcdir/configure \
11562 --srcdir=$${topdir}/$$module_srcdir \
11563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11564 --target=${target_alias} \
11566 $(STAGE1_CONFIGURE_FLAGS)
11567 @endif gcc-bootstrap
11569 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11570 maybe-configure-stage2-gcc:
11571 @if gcc-bootstrap
11572 maybe-configure-stage2-gcc: configure-stage2-gcc
11573 configure-stage2-gcc:
11574 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11576 @r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 TFLAGS="$(STAGE2_TFLAGS)"; \
11579 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11580 $(HOST_EXPORTS) \
11581 $(POSTSTAGE1_HOST_EXPORTS) \
11582 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11583 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11584 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11585 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11587 cd $(HOST_SUBDIR)/gcc || exit 1; \
11588 case $(srcdir) in \
11589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11590 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11592 esac; \
11593 module_srcdir=gcc; \
11594 $(SHELL) $$s/$$module_srcdir/configure \
11595 --srcdir=$${topdir}/$$module_srcdir \
11596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11597 --target=${target_alias} \
11598 --with-build-libsubdir=$(HOST_SUBDIR) \
11599 $(STAGE2_CONFIGURE_FLAGS)
11600 @endif gcc-bootstrap
11602 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11603 maybe-configure-stage3-gcc:
11604 @if gcc-bootstrap
11605 maybe-configure-stage3-gcc: configure-stage3-gcc
11606 configure-stage3-gcc:
11607 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11609 @r=`${PWD_COMMAND}`; export r; \
11610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11611 TFLAGS="$(STAGE3_TFLAGS)"; \
11612 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11613 $(HOST_EXPORTS) \
11614 $(POSTSTAGE1_HOST_EXPORTS) \
11615 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11616 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11617 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11618 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11620 cd $(HOST_SUBDIR)/gcc || exit 1; \
11621 case $(srcdir) in \
11622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11623 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11625 esac; \
11626 module_srcdir=gcc; \
11627 $(SHELL) $$s/$$module_srcdir/configure \
11628 --srcdir=$${topdir}/$$module_srcdir \
11629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11630 --target=${target_alias} \
11631 --with-build-libsubdir=$(HOST_SUBDIR) \
11632 $(STAGE3_CONFIGURE_FLAGS)
11633 @endif gcc-bootstrap
11635 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11636 maybe-configure-stage4-gcc:
11637 @if gcc-bootstrap
11638 maybe-configure-stage4-gcc: configure-stage4-gcc
11639 configure-stage4-gcc:
11640 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11641 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11642 @r=`${PWD_COMMAND}`; export r; \
11643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11644 TFLAGS="$(STAGE4_TFLAGS)"; \
11645 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11646 $(HOST_EXPORTS) \
11647 $(POSTSTAGE1_HOST_EXPORTS) \
11648 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11649 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11650 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11651 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11653 cd $(HOST_SUBDIR)/gcc || exit 1; \
11654 case $(srcdir) in \
11655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11656 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11658 esac; \
11659 module_srcdir=gcc; \
11660 $(SHELL) $$s/$$module_srcdir/configure \
11661 --srcdir=$${topdir}/$$module_srcdir \
11662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11663 --target=${target_alias} \
11664 --with-build-libsubdir=$(HOST_SUBDIR) \
11665 $(STAGE4_CONFIGURE_FLAGS)
11666 @endif gcc-bootstrap
11668 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11669 maybe-configure-stageprofile-gcc:
11670 @if gcc-bootstrap
11671 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11672 configure-stageprofile-gcc:
11673 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11675 @r=`${PWD_COMMAND}`; export r; \
11676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11677 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11678 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11679 $(HOST_EXPORTS) \
11680 $(POSTSTAGE1_HOST_EXPORTS) \
11681 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11682 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11683 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11684 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11686 cd $(HOST_SUBDIR)/gcc || exit 1; \
11687 case $(srcdir) in \
11688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11689 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11691 esac; \
11692 module_srcdir=gcc; \
11693 $(SHELL) $$s/$$module_srcdir/configure \
11694 --srcdir=$${topdir}/$$module_srcdir \
11695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11696 --target=${target_alias} \
11697 --with-build-libsubdir=$(HOST_SUBDIR) \
11698 $(STAGEprofile_CONFIGURE_FLAGS)
11699 @endif gcc-bootstrap
11701 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11702 maybe-configure-stagetrain-gcc:
11703 @if gcc-bootstrap
11704 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11705 configure-stagetrain-gcc:
11706 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11708 @r=`${PWD_COMMAND}`; export r; \
11709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11710 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11711 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11712 $(HOST_EXPORTS) \
11713 $(POSTSTAGE1_HOST_EXPORTS) \
11714 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11715 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11716 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11717 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11719 cd $(HOST_SUBDIR)/gcc || exit 1; \
11720 case $(srcdir) in \
11721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11722 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11724 esac; \
11725 module_srcdir=gcc; \
11726 $(SHELL) $$s/$$module_srcdir/configure \
11727 --srcdir=$${topdir}/$$module_srcdir \
11728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11729 --target=${target_alias} \
11730 --with-build-libsubdir=$(HOST_SUBDIR) \
11731 $(STAGEtrain_CONFIGURE_FLAGS)
11732 @endif gcc-bootstrap
11734 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11735 maybe-configure-stagefeedback-gcc:
11736 @if gcc-bootstrap
11737 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11738 configure-stagefeedback-gcc:
11739 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11741 @r=`${PWD_COMMAND}`; export r; \
11742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11743 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11744 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11745 $(HOST_EXPORTS) \
11746 $(POSTSTAGE1_HOST_EXPORTS) \
11747 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11748 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11749 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11750 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11752 cd $(HOST_SUBDIR)/gcc || exit 1; \
11753 case $(srcdir) in \
11754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11755 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11757 esac; \
11758 module_srcdir=gcc; \
11759 $(SHELL) $$s/$$module_srcdir/configure \
11760 --srcdir=$${topdir}/$$module_srcdir \
11761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11762 --target=${target_alias} \
11763 --with-build-libsubdir=$(HOST_SUBDIR) \
11764 $(STAGEfeedback_CONFIGURE_FLAGS)
11765 @endif gcc-bootstrap
11767 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11768 maybe-configure-stageautoprofile-gcc:
11769 @if gcc-bootstrap
11770 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11771 configure-stageautoprofile-gcc:
11772 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11774 @r=`${PWD_COMMAND}`; export r; \
11775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11776 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11777 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11778 $(HOST_EXPORTS) \
11779 $(POSTSTAGE1_HOST_EXPORTS) \
11780 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11781 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11782 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11783 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11785 cd $(HOST_SUBDIR)/gcc || exit 1; \
11786 case $(srcdir) in \
11787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11788 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11790 esac; \
11791 module_srcdir=gcc; \
11792 $(SHELL) $$s/$$module_srcdir/configure \
11793 --srcdir=$${topdir}/$$module_srcdir \
11794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11795 --target=${target_alias} \
11796 --with-build-libsubdir=$(HOST_SUBDIR) \
11797 $(STAGEautoprofile_CONFIGURE_FLAGS)
11798 @endif gcc-bootstrap
11800 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11801 maybe-configure-stageautofeedback-gcc:
11802 @if gcc-bootstrap
11803 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11804 configure-stageautofeedback-gcc:
11805 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11807 @r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11810 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11811 $(HOST_EXPORTS) \
11812 $(POSTSTAGE1_HOST_EXPORTS) \
11813 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11814 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11815 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11816 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11818 cd $(HOST_SUBDIR)/gcc || exit 1; \
11819 case $(srcdir) in \
11820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11821 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11823 esac; \
11824 module_srcdir=gcc; \
11825 $(SHELL) $$s/$$module_srcdir/configure \
11826 --srcdir=$${topdir}/$$module_srcdir \
11827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11828 --target=${target_alias} \
11829 --with-build-libsubdir=$(HOST_SUBDIR) \
11830 $(STAGEautofeedback_CONFIGURE_FLAGS)
11831 @endif gcc-bootstrap
11837 .PHONY: all-gcc maybe-all-gcc
11838 maybe-all-gcc:
11839 @if gcc-bootstrap
11840 all-gcc: stage_current
11841 @endif gcc-bootstrap
11842 @if gcc
11843 TARGET-gcc=all
11844 maybe-all-gcc: all-gcc
11845 all-gcc: configure-gcc
11846 @r=`${PWD_COMMAND}`; export r; \
11847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11848 $(HOST_EXPORTS) \
11849 (cd $(HOST_SUBDIR)/gcc && \
11850 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11851 $(TARGET-gcc))
11852 @endif gcc
11856 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11857 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11858 maybe-all-stage1-gcc:
11859 maybe-clean-stage1-gcc:
11860 @if gcc-bootstrap
11861 maybe-all-stage1-gcc: all-stage1-gcc
11862 all-stage1: all-stage1-gcc
11863 TARGET-stage1-gcc = $(TARGET-gcc)
11864 all-stage1-gcc: configure-stage1-gcc
11865 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11866 @r=`${PWD_COMMAND}`; export r; \
11867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11868 TFLAGS="$(STAGE1_TFLAGS)"; \
11869 $(HOST_EXPORTS) \
11870 cd $(HOST_SUBDIR)/gcc && \
11872 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11873 CFLAGS="$(STAGE1_CFLAGS)" \
11874 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
11875 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11876 LIBCFLAGS="$(LIBCFLAGS)" \
11877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11880 $(EXTRA_HOST_FLAGS) \
11881 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11882 TFLAGS="$(STAGE1_TFLAGS)" \
11883 $(TARGET-stage1-gcc)
11885 maybe-clean-stage1-gcc: clean-stage1-gcc
11886 clean-stage1: clean-stage1-gcc
11887 clean-stage1-gcc:
11888 @if [ $(current_stage) = stage1 ]; then \
11889 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11890 else \
11891 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11892 $(MAKE) stage1-start; \
11893 fi; \
11894 cd $(HOST_SUBDIR)/gcc && \
11895 $(MAKE) $(EXTRA_HOST_FLAGS) \
11896 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11897 @endif gcc-bootstrap
11900 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11901 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11902 maybe-all-stage2-gcc:
11903 maybe-clean-stage2-gcc:
11904 @if gcc-bootstrap
11905 maybe-all-stage2-gcc: all-stage2-gcc
11906 all-stage2: all-stage2-gcc
11907 TARGET-stage2-gcc = $(TARGET-gcc)
11908 all-stage2-gcc: configure-stage2-gcc
11909 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 TFLAGS="$(STAGE2_TFLAGS)"; \
11913 $(HOST_EXPORTS) \
11914 $(POSTSTAGE1_HOST_EXPORTS) \
11915 cd $(HOST_SUBDIR)/gcc && \
11917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11918 CFLAGS="$(STAGE2_CFLAGS)" \
11919 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
11920 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11921 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11922 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11923 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11924 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11925 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11926 TFLAGS="$(STAGE2_TFLAGS)" \
11927 $(TARGET-stage2-gcc)
11929 maybe-clean-stage2-gcc: clean-stage2-gcc
11930 clean-stage2: clean-stage2-gcc
11931 clean-stage2-gcc:
11932 @if [ $(current_stage) = stage2 ]; then \
11933 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11934 else \
11935 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11936 $(MAKE) stage2-start; \
11937 fi; \
11938 cd $(HOST_SUBDIR)/gcc && \
11939 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11940 @endif gcc-bootstrap
11943 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11944 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11945 maybe-all-stage3-gcc:
11946 maybe-clean-stage3-gcc:
11947 @if gcc-bootstrap
11948 maybe-all-stage3-gcc: all-stage3-gcc
11949 all-stage3: all-stage3-gcc
11950 TARGET-stage3-gcc = $(TARGET-gcc)
11951 all-stage3-gcc: configure-stage3-gcc
11952 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11953 @r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 TFLAGS="$(STAGE3_TFLAGS)"; \
11956 $(HOST_EXPORTS) \
11957 $(POSTSTAGE1_HOST_EXPORTS) \
11958 cd $(HOST_SUBDIR)/gcc && \
11960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11961 CFLAGS="$(STAGE3_CFLAGS)" \
11962 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
11963 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11964 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11968 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11969 TFLAGS="$(STAGE3_TFLAGS)" \
11970 $(TARGET-stage3-gcc)
11972 maybe-clean-stage3-gcc: clean-stage3-gcc
11973 clean-stage3: clean-stage3-gcc
11974 clean-stage3-gcc:
11975 @if [ $(current_stage) = stage3 ]; then \
11976 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11977 else \
11978 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11979 $(MAKE) stage3-start; \
11980 fi; \
11981 cd $(HOST_SUBDIR)/gcc && \
11982 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11983 @endif gcc-bootstrap
11986 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11987 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11988 maybe-all-stage4-gcc:
11989 maybe-clean-stage4-gcc:
11990 @if gcc-bootstrap
11991 maybe-all-stage4-gcc: all-stage4-gcc
11992 all-stage4: all-stage4-gcc
11993 TARGET-stage4-gcc = $(TARGET-gcc)
11994 all-stage4-gcc: configure-stage4-gcc
11995 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11996 @r=`${PWD_COMMAND}`; export r; \
11997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11998 TFLAGS="$(STAGE4_TFLAGS)"; \
11999 $(HOST_EXPORTS) \
12000 $(POSTSTAGE1_HOST_EXPORTS) \
12001 cd $(HOST_SUBDIR)/gcc && \
12003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12004 CFLAGS="$(STAGE4_CFLAGS)" \
12005 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
12006 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12007 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12012 TFLAGS="$(STAGE4_TFLAGS)" \
12013 $(TARGET-stage4-gcc)
12015 maybe-clean-stage4-gcc: clean-stage4-gcc
12016 clean-stage4: clean-stage4-gcc
12017 clean-stage4-gcc:
12018 @if [ $(current_stage) = stage4 ]; then \
12019 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12020 else \
12021 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12022 $(MAKE) stage4-start; \
12023 fi; \
12024 cd $(HOST_SUBDIR)/gcc && \
12025 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12026 @endif gcc-bootstrap
12029 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12030 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12031 maybe-all-stageprofile-gcc:
12032 maybe-clean-stageprofile-gcc:
12033 @if gcc-bootstrap
12034 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12035 all-stageprofile: all-stageprofile-gcc
12036 TARGET-stageprofile-gcc = $(TARGET-gcc)
12037 all-stageprofile-gcc: configure-stageprofile-gcc
12038 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12039 @r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12042 $(HOST_EXPORTS) \
12043 $(POSTSTAGE1_HOST_EXPORTS) \
12044 cd $(HOST_SUBDIR)/gcc && \
12046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12047 CFLAGS="$(STAGEprofile_CFLAGS)" \
12048 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
12049 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12050 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12055 TFLAGS="$(STAGEprofile_TFLAGS)" \
12056 $(TARGET-stageprofile-gcc)
12058 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12059 clean-stageprofile: clean-stageprofile-gcc
12060 clean-stageprofile-gcc:
12061 @if [ $(current_stage) = stageprofile ]; then \
12062 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12063 else \
12064 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12065 $(MAKE) stageprofile-start; \
12066 fi; \
12067 cd $(HOST_SUBDIR)/gcc && \
12068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12069 @endif gcc-bootstrap
12072 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
12073 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
12074 maybe-all-stagetrain-gcc:
12075 maybe-clean-stagetrain-gcc:
12076 @if gcc-bootstrap
12077 maybe-all-stagetrain-gcc: all-stagetrain-gcc
12078 all-stagetrain: all-stagetrain-gcc
12079 TARGET-stagetrain-gcc = $(TARGET-gcc)
12080 all-stagetrain-gcc: configure-stagetrain-gcc
12081 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12082 @r=`${PWD_COMMAND}`; export r; \
12083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12084 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12085 $(HOST_EXPORTS) \
12086 $(POSTSTAGE1_HOST_EXPORTS) \
12087 cd $(HOST_SUBDIR)/gcc && \
12089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12090 CFLAGS="$(STAGEtrain_CFLAGS)" \
12091 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
12092 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
12093 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
12094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12098 TFLAGS="$(STAGEtrain_TFLAGS)" \
12099 $(TARGET-stagetrain-gcc)
12101 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
12102 clean-stagetrain: clean-stagetrain-gcc
12103 clean-stagetrain-gcc:
12104 @if [ $(current_stage) = stagetrain ]; then \
12105 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12106 else \
12107 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
12108 $(MAKE) stagetrain-start; \
12109 fi; \
12110 cd $(HOST_SUBDIR)/gcc && \
12111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12112 @endif gcc-bootstrap
12115 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12116 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12117 maybe-all-stagefeedback-gcc:
12118 maybe-clean-stagefeedback-gcc:
12119 @if gcc-bootstrap
12120 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12121 all-stagefeedback: all-stagefeedback-gcc
12122 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12123 all-stagefeedback-gcc: configure-stagefeedback-gcc
12124 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12125 @r=`${PWD_COMMAND}`; export r; \
12126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12127 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12128 $(HOST_EXPORTS) \
12129 $(POSTSTAGE1_HOST_EXPORTS) \
12130 cd $(HOST_SUBDIR)/gcc && \
12132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12133 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12134 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
12135 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12136 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12141 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12142 $(TARGET-stagefeedback-gcc)
12144 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12145 clean-stagefeedback: clean-stagefeedback-gcc
12146 clean-stagefeedback-gcc:
12147 @if [ $(current_stage) = stagefeedback ]; then \
12148 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12149 else \
12150 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12151 $(MAKE) stagefeedback-start; \
12152 fi; \
12153 cd $(HOST_SUBDIR)/gcc && \
12154 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12155 @endif gcc-bootstrap
12158 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12159 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12160 maybe-all-stageautoprofile-gcc:
12161 maybe-clean-stageautoprofile-gcc:
12162 @if gcc-bootstrap
12163 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12164 all-stageautoprofile: all-stageautoprofile-gcc
12165 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12166 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12167 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12168 @r=`${PWD_COMMAND}`; export r; \
12169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12170 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12171 $(HOST_EXPORTS) \
12172 $(POSTSTAGE1_HOST_EXPORTS) \
12173 cd $(HOST_SUBDIR)/gcc && \
12174 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12176 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12177 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
12178 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12179 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12184 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12185 $(TARGET-stageautoprofile-gcc)
12187 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12188 clean-stageautoprofile: clean-stageautoprofile-gcc
12189 clean-stageautoprofile-gcc:
12190 @if [ $(current_stage) = stageautoprofile ]; then \
12191 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12192 else \
12193 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12194 $(MAKE) stageautoprofile-start; \
12195 fi; \
12196 cd $(HOST_SUBDIR)/gcc && \
12197 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12198 @endif gcc-bootstrap
12201 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12202 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12203 maybe-all-stageautofeedback-gcc:
12204 maybe-clean-stageautofeedback-gcc:
12205 @if gcc-bootstrap
12206 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12207 all-stageautofeedback: all-stageautofeedback-gcc
12208 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12209 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12210 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12211 @r=`${PWD_COMMAND}`; export r; \
12212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12213 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12214 $(HOST_EXPORTS) \
12215 $(POSTSTAGE1_HOST_EXPORTS) \
12216 cd $(HOST_SUBDIR)/gcc && \
12218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12219 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12220 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
12221 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12222 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12227 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12228 $(TARGET-stageautofeedback-gcc)
12230 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12231 clean-stageautofeedback: clean-stageautofeedback-gcc
12232 clean-stageautofeedback-gcc:
12233 @if [ $(current_stage) = stageautofeedback ]; then \
12234 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12235 else \
12236 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12237 $(MAKE) stageautofeedback-start; \
12238 fi; \
12239 cd $(HOST_SUBDIR)/gcc && \
12240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12241 @endif gcc-bootstrap
12247 .PHONY: check-gcc maybe-check-gcc
12248 maybe-check-gcc:
12249 @if gcc
12250 maybe-check-gcc: check-gcc
12252 check-gcc:
12253 @: $(MAKE); $(unstage)
12254 @r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12257 (cd $(HOST_SUBDIR)/gcc && \
12258 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12260 @endif gcc
12262 .PHONY: install-gcc maybe-install-gcc
12263 maybe-install-gcc:
12264 @if gcc
12265 maybe-install-gcc: install-gcc
12267 install-gcc: installdirs
12268 @: $(MAKE); $(unstage)
12269 @r=`${PWD_COMMAND}`; export r; \
12270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12271 $(HOST_EXPORTS) \
12272 (cd $(HOST_SUBDIR)/gcc && \
12273 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12275 @endif gcc
12277 .PHONY: install-strip-gcc maybe-install-strip-gcc
12278 maybe-install-strip-gcc:
12279 @if gcc
12280 maybe-install-strip-gcc: install-strip-gcc
12282 install-strip-gcc: installdirs
12283 @: $(MAKE); $(unstage)
12284 @r=`${PWD_COMMAND}`; export r; \
12285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12286 $(HOST_EXPORTS) \
12287 (cd $(HOST_SUBDIR)/gcc && \
12288 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12290 @endif gcc
12292 # Other targets (info, dvi, pdf, etc.)
12294 .PHONY: maybe-info-gcc info-gcc
12295 maybe-info-gcc:
12296 @if gcc
12297 maybe-info-gcc: info-gcc
12299 info-gcc: \
12300 configure-gcc
12301 @[ -f ./gcc/Makefile ] || exit 0; \
12302 r=`${PWD_COMMAND}`; export r; \
12303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12304 $(HOST_EXPORTS) \
12305 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12307 done; \
12308 echo "Doing info in gcc"; \
12309 (cd $(HOST_SUBDIR)/gcc && \
12310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12312 "RANLIB=$${RANLIB}" \
12313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12314 info) \
12315 || exit 1
12317 @endif gcc
12319 .PHONY: maybe-dvi-gcc dvi-gcc
12320 maybe-dvi-gcc:
12321 @if gcc
12322 maybe-dvi-gcc: dvi-gcc
12324 dvi-gcc: \
12325 configure-gcc
12326 @[ -f ./gcc/Makefile ] || exit 0; \
12327 r=`${PWD_COMMAND}`; export r; \
12328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329 $(HOST_EXPORTS) \
12330 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12332 done; \
12333 echo "Doing dvi in gcc"; \
12334 (cd $(HOST_SUBDIR)/gcc && \
12335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12337 "RANLIB=$${RANLIB}" \
12338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12339 dvi) \
12340 || exit 1
12342 @endif gcc
12344 .PHONY: maybe-pdf-gcc pdf-gcc
12345 maybe-pdf-gcc:
12346 @if gcc
12347 maybe-pdf-gcc: pdf-gcc
12349 pdf-gcc: \
12350 configure-gcc
12351 @[ -f ./gcc/Makefile ] || exit 0; \
12352 r=`${PWD_COMMAND}`; export r; \
12353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12354 $(HOST_EXPORTS) \
12355 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12357 done; \
12358 echo "Doing pdf in gcc"; \
12359 (cd $(HOST_SUBDIR)/gcc && \
12360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12362 "RANLIB=$${RANLIB}" \
12363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12364 pdf) \
12365 || exit 1
12367 @endif gcc
12369 .PHONY: maybe-html-gcc html-gcc
12370 maybe-html-gcc:
12371 @if gcc
12372 maybe-html-gcc: html-gcc
12374 html-gcc: \
12375 configure-gcc
12376 @[ -f ./gcc/Makefile ] || exit 0; \
12377 r=`${PWD_COMMAND}`; export r; \
12378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12379 $(HOST_EXPORTS) \
12380 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12382 done; \
12383 echo "Doing html in gcc"; \
12384 (cd $(HOST_SUBDIR)/gcc && \
12385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12387 "RANLIB=$${RANLIB}" \
12388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12389 html) \
12390 || exit 1
12392 @endif gcc
12394 .PHONY: maybe-TAGS-gcc TAGS-gcc
12395 maybe-TAGS-gcc:
12396 @if gcc
12397 maybe-TAGS-gcc: TAGS-gcc
12399 TAGS-gcc: \
12400 configure-gcc
12401 @[ -f ./gcc/Makefile ] || exit 0; \
12402 r=`${PWD_COMMAND}`; export r; \
12403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12404 $(HOST_EXPORTS) \
12405 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12407 done; \
12408 echo "Doing TAGS in gcc"; \
12409 (cd $(HOST_SUBDIR)/gcc && \
12410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12412 "RANLIB=$${RANLIB}" \
12413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12414 TAGS) \
12415 || exit 1
12417 @endif gcc
12419 .PHONY: maybe-install-info-gcc install-info-gcc
12420 maybe-install-info-gcc:
12421 @if gcc
12422 maybe-install-info-gcc: install-info-gcc
12424 install-info-gcc: \
12425 configure-gcc \
12426 info-gcc
12427 @[ -f ./gcc/Makefile ] || exit 0; \
12428 r=`${PWD_COMMAND}`; export r; \
12429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12430 $(HOST_EXPORTS) \
12431 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12433 done; \
12434 echo "Doing install-info in gcc"; \
12435 (cd $(HOST_SUBDIR)/gcc && \
12436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12438 "RANLIB=$${RANLIB}" \
12439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12440 install-info) \
12441 || exit 1
12443 @endif gcc
12445 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12446 maybe-install-pdf-gcc:
12447 @if gcc
12448 maybe-install-pdf-gcc: install-pdf-gcc
12450 install-pdf-gcc: \
12451 configure-gcc \
12452 pdf-gcc
12453 @[ -f ./gcc/Makefile ] || exit 0; \
12454 r=`${PWD_COMMAND}`; export r; \
12455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12456 $(HOST_EXPORTS) \
12457 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12459 done; \
12460 echo "Doing install-pdf in gcc"; \
12461 (cd $(HOST_SUBDIR)/gcc && \
12462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12464 "RANLIB=$${RANLIB}" \
12465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12466 install-pdf) \
12467 || exit 1
12469 @endif gcc
12471 .PHONY: maybe-install-html-gcc install-html-gcc
12472 maybe-install-html-gcc:
12473 @if gcc
12474 maybe-install-html-gcc: install-html-gcc
12476 install-html-gcc: \
12477 configure-gcc \
12478 html-gcc
12479 @[ -f ./gcc/Makefile ] || exit 0; \
12480 r=`${PWD_COMMAND}`; export r; \
12481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12482 $(HOST_EXPORTS) \
12483 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12485 done; \
12486 echo "Doing install-html in gcc"; \
12487 (cd $(HOST_SUBDIR)/gcc && \
12488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12490 "RANLIB=$${RANLIB}" \
12491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12492 install-html) \
12493 || exit 1
12495 @endif gcc
12497 .PHONY: maybe-installcheck-gcc installcheck-gcc
12498 maybe-installcheck-gcc:
12499 @if gcc
12500 maybe-installcheck-gcc: installcheck-gcc
12502 installcheck-gcc: \
12503 configure-gcc
12504 @[ -f ./gcc/Makefile ] || exit 0; \
12505 r=`${PWD_COMMAND}`; export r; \
12506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12507 $(HOST_EXPORTS) \
12508 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12510 done; \
12511 echo "Doing installcheck in gcc"; \
12512 (cd $(HOST_SUBDIR)/gcc && \
12513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12515 "RANLIB=$${RANLIB}" \
12516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12517 installcheck) \
12518 || exit 1
12520 @endif gcc
12522 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12523 maybe-mostlyclean-gcc:
12524 @if gcc
12525 maybe-mostlyclean-gcc: mostlyclean-gcc
12527 mostlyclean-gcc:
12528 @[ -f ./gcc/Makefile ] || exit 0; \
12529 r=`${PWD_COMMAND}`; export r; \
12530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12531 $(HOST_EXPORTS) \
12532 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12534 done; \
12535 echo "Doing mostlyclean in gcc"; \
12536 (cd $(HOST_SUBDIR)/gcc && \
12537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12539 "RANLIB=$${RANLIB}" \
12540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12541 mostlyclean) \
12542 || exit 1
12544 @endif gcc
12546 .PHONY: maybe-clean-gcc clean-gcc
12547 maybe-clean-gcc:
12548 @if gcc
12549 maybe-clean-gcc: clean-gcc
12551 clean-gcc:
12552 @[ -f ./gcc/Makefile ] || exit 0; \
12553 r=`${PWD_COMMAND}`; export r; \
12554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12555 $(HOST_EXPORTS) \
12556 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12558 done; \
12559 echo "Doing clean in gcc"; \
12560 (cd $(HOST_SUBDIR)/gcc && \
12561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12563 "RANLIB=$${RANLIB}" \
12564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12565 clean) \
12566 || exit 1
12568 @endif gcc
12570 .PHONY: maybe-distclean-gcc distclean-gcc
12571 maybe-distclean-gcc:
12572 @if gcc
12573 maybe-distclean-gcc: distclean-gcc
12575 distclean-gcc:
12576 @[ -f ./gcc/Makefile ] || exit 0; \
12577 r=`${PWD_COMMAND}`; export r; \
12578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12579 $(HOST_EXPORTS) \
12580 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12582 done; \
12583 echo "Doing distclean in gcc"; \
12584 (cd $(HOST_SUBDIR)/gcc && \
12585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12587 "RANLIB=$${RANLIB}" \
12588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12589 distclean) \
12590 || exit 1
12592 @endif gcc
12594 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12595 maybe-maintainer-clean-gcc:
12596 @if gcc
12597 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12599 maintainer-clean-gcc:
12600 @[ -f ./gcc/Makefile ] || exit 0; \
12601 r=`${PWD_COMMAND}`; export r; \
12602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12603 $(HOST_EXPORTS) \
12604 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12606 done; \
12607 echo "Doing maintainer-clean in gcc"; \
12608 (cd $(HOST_SUBDIR)/gcc && \
12609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12611 "RANLIB=$${RANLIB}" \
12612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12613 maintainer-clean) \
12614 || exit 1
12616 @endif gcc
12620 .PHONY: configure-gmp maybe-configure-gmp
12621 maybe-configure-gmp:
12622 @if gcc-bootstrap
12623 configure-gmp: stage_current
12624 @endif gcc-bootstrap
12625 @if gmp
12626 maybe-configure-gmp: configure-gmp
12627 configure-gmp:
12628 @r=`${PWD_COMMAND}`; export r; \
12629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12630 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12632 $(HOST_EXPORTS) \
12633 echo Configuring in $(HOST_SUBDIR)/gmp; \
12634 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12635 case $(srcdir) in \
12636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12637 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12639 esac; \
12640 module_srcdir=gmp; \
12641 $(SHELL) \
12642 $$s/$$module_srcdir/configure \
12643 --srcdir=$${topdir}/$$module_srcdir \
12644 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12645 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12646 || exit 1
12647 @endif gmp
12651 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12652 maybe-configure-stage1-gmp:
12653 @if gmp-bootstrap
12654 maybe-configure-stage1-gmp: configure-stage1-gmp
12655 configure-stage1-gmp:
12656 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12658 @r=`${PWD_COMMAND}`; export r; \
12659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12660 TFLAGS="$(STAGE1_TFLAGS)"; \
12661 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12662 $(HOST_EXPORTS) \
12663 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12664 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12665 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12666 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12668 cd $(HOST_SUBDIR)/gmp || exit 1; \
12669 case $(srcdir) in \
12670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12671 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12673 esac; \
12674 module_srcdir=gmp; \
12675 $(SHELL) $$s/$$module_srcdir/configure \
12676 --srcdir=$${topdir}/$$module_srcdir \
12677 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12678 --target=none-${host_vendor}-${host_os} \
12680 $(STAGE1_CONFIGURE_FLAGS) \
12681 --disable-shared LEX="touch lex.yy.c"
12682 @endif gmp-bootstrap
12684 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12685 maybe-configure-stage2-gmp:
12686 @if gmp-bootstrap
12687 maybe-configure-stage2-gmp: configure-stage2-gmp
12688 configure-stage2-gmp:
12689 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12691 @r=`${PWD_COMMAND}`; export r; \
12692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12693 TFLAGS="$(STAGE2_TFLAGS)"; \
12694 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12695 $(HOST_EXPORTS) \
12696 $(POSTSTAGE1_HOST_EXPORTS) \
12697 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12698 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12699 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12700 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12702 cd $(HOST_SUBDIR)/gmp || exit 1; \
12703 case $(srcdir) in \
12704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12705 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12707 esac; \
12708 module_srcdir=gmp; \
12709 $(SHELL) $$s/$$module_srcdir/configure \
12710 --srcdir=$${topdir}/$$module_srcdir \
12711 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12712 --target=none-${host_vendor}-${host_os} \
12713 --with-build-libsubdir=$(HOST_SUBDIR) \
12714 $(STAGE2_CONFIGURE_FLAGS) \
12715 --disable-shared LEX="touch lex.yy.c"
12716 @endif gmp-bootstrap
12718 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12719 maybe-configure-stage3-gmp:
12720 @if gmp-bootstrap
12721 maybe-configure-stage3-gmp: configure-stage3-gmp
12722 configure-stage3-gmp:
12723 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12725 @r=`${PWD_COMMAND}`; export r; \
12726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12727 TFLAGS="$(STAGE3_TFLAGS)"; \
12728 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12729 $(HOST_EXPORTS) \
12730 $(POSTSTAGE1_HOST_EXPORTS) \
12731 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12732 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12733 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12734 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12736 cd $(HOST_SUBDIR)/gmp || exit 1; \
12737 case $(srcdir) in \
12738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12739 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12741 esac; \
12742 module_srcdir=gmp; \
12743 $(SHELL) $$s/$$module_srcdir/configure \
12744 --srcdir=$${topdir}/$$module_srcdir \
12745 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12746 --target=none-${host_vendor}-${host_os} \
12747 --with-build-libsubdir=$(HOST_SUBDIR) \
12748 $(STAGE3_CONFIGURE_FLAGS) \
12749 --disable-shared LEX="touch lex.yy.c"
12750 @endif gmp-bootstrap
12752 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12753 maybe-configure-stage4-gmp:
12754 @if gmp-bootstrap
12755 maybe-configure-stage4-gmp: configure-stage4-gmp
12756 configure-stage4-gmp:
12757 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12759 @r=`${PWD_COMMAND}`; export r; \
12760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12761 TFLAGS="$(STAGE4_TFLAGS)"; \
12762 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12763 $(HOST_EXPORTS) \
12764 $(POSTSTAGE1_HOST_EXPORTS) \
12765 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12766 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12767 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12768 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12770 cd $(HOST_SUBDIR)/gmp || exit 1; \
12771 case $(srcdir) in \
12772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12773 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12775 esac; \
12776 module_srcdir=gmp; \
12777 $(SHELL) $$s/$$module_srcdir/configure \
12778 --srcdir=$${topdir}/$$module_srcdir \
12779 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12780 --target=none-${host_vendor}-${host_os} \
12781 --with-build-libsubdir=$(HOST_SUBDIR) \
12782 $(STAGE4_CONFIGURE_FLAGS) \
12783 --disable-shared LEX="touch lex.yy.c"
12784 @endif gmp-bootstrap
12786 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12787 maybe-configure-stageprofile-gmp:
12788 @if gmp-bootstrap
12789 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12790 configure-stageprofile-gmp:
12791 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12792 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12793 @r=`${PWD_COMMAND}`; export r; \
12794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12795 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12796 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12797 $(HOST_EXPORTS) \
12798 $(POSTSTAGE1_HOST_EXPORTS) \
12799 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12800 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12801 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12802 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12804 cd $(HOST_SUBDIR)/gmp || exit 1; \
12805 case $(srcdir) in \
12806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12807 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12809 esac; \
12810 module_srcdir=gmp; \
12811 $(SHELL) $$s/$$module_srcdir/configure \
12812 --srcdir=$${topdir}/$$module_srcdir \
12813 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12814 --target=none-${host_vendor}-${host_os} \
12815 --with-build-libsubdir=$(HOST_SUBDIR) \
12816 $(STAGEprofile_CONFIGURE_FLAGS) \
12817 --disable-shared LEX="touch lex.yy.c"
12818 @endif gmp-bootstrap
12820 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12821 maybe-configure-stagetrain-gmp:
12822 @if gmp-bootstrap
12823 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12824 configure-stagetrain-gmp:
12825 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12827 @r=`${PWD_COMMAND}`; export r; \
12828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12830 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12831 $(HOST_EXPORTS) \
12832 $(POSTSTAGE1_HOST_EXPORTS) \
12833 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12834 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12835 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12836 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12838 cd $(HOST_SUBDIR)/gmp || exit 1; \
12839 case $(srcdir) in \
12840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12841 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12843 esac; \
12844 module_srcdir=gmp; \
12845 $(SHELL) $$s/$$module_srcdir/configure \
12846 --srcdir=$${topdir}/$$module_srcdir \
12847 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12848 --target=none-${host_vendor}-${host_os} \
12849 --with-build-libsubdir=$(HOST_SUBDIR) \
12850 $(STAGEtrain_CONFIGURE_FLAGS) \
12851 --disable-shared LEX="touch lex.yy.c"
12852 @endif gmp-bootstrap
12854 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12855 maybe-configure-stagefeedback-gmp:
12856 @if gmp-bootstrap
12857 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12858 configure-stagefeedback-gmp:
12859 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12861 @r=`${PWD_COMMAND}`; export r; \
12862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12863 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12864 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12865 $(HOST_EXPORTS) \
12866 $(POSTSTAGE1_HOST_EXPORTS) \
12867 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12868 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12869 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12870 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12872 cd $(HOST_SUBDIR)/gmp || exit 1; \
12873 case $(srcdir) in \
12874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12875 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12877 esac; \
12878 module_srcdir=gmp; \
12879 $(SHELL) $$s/$$module_srcdir/configure \
12880 --srcdir=$${topdir}/$$module_srcdir \
12881 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12882 --target=none-${host_vendor}-${host_os} \
12883 --with-build-libsubdir=$(HOST_SUBDIR) \
12884 $(STAGEfeedback_CONFIGURE_FLAGS) \
12885 --disable-shared LEX="touch lex.yy.c"
12886 @endif gmp-bootstrap
12888 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12889 maybe-configure-stageautoprofile-gmp:
12890 @if gmp-bootstrap
12891 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12892 configure-stageautoprofile-gmp:
12893 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12895 @r=`${PWD_COMMAND}`; export r; \
12896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12897 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12898 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12899 $(HOST_EXPORTS) \
12900 $(POSTSTAGE1_HOST_EXPORTS) \
12901 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12902 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12903 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12904 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12906 cd $(HOST_SUBDIR)/gmp || exit 1; \
12907 case $(srcdir) in \
12908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12909 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12911 esac; \
12912 module_srcdir=gmp; \
12913 $(SHELL) $$s/$$module_srcdir/configure \
12914 --srcdir=$${topdir}/$$module_srcdir \
12915 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12916 --target=none-${host_vendor}-${host_os} \
12917 --with-build-libsubdir=$(HOST_SUBDIR) \
12918 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12919 --disable-shared LEX="touch lex.yy.c"
12920 @endif gmp-bootstrap
12922 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12923 maybe-configure-stageautofeedback-gmp:
12924 @if gmp-bootstrap
12925 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12926 configure-stageautofeedback-gmp:
12927 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12928 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12929 @r=`${PWD_COMMAND}`; export r; \
12930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12931 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12932 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12933 $(HOST_EXPORTS) \
12934 $(POSTSTAGE1_HOST_EXPORTS) \
12935 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12936 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12937 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12938 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12940 cd $(HOST_SUBDIR)/gmp || exit 1; \
12941 case $(srcdir) in \
12942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12943 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12945 esac; \
12946 module_srcdir=gmp; \
12947 $(SHELL) $$s/$$module_srcdir/configure \
12948 --srcdir=$${topdir}/$$module_srcdir \
12949 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12950 --target=none-${host_vendor}-${host_os} \
12951 --with-build-libsubdir=$(HOST_SUBDIR) \
12952 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12953 --disable-shared LEX="touch lex.yy.c"
12954 @endif gmp-bootstrap
12960 .PHONY: all-gmp maybe-all-gmp
12961 maybe-all-gmp:
12962 @if gcc-bootstrap
12963 all-gmp: stage_current
12964 @endif gcc-bootstrap
12965 @if gmp
12966 TARGET-gmp=all
12967 maybe-all-gmp: all-gmp
12968 all-gmp: configure-gmp
12969 @r=`${PWD_COMMAND}`; export r; \
12970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12971 $(HOST_EXPORTS) \
12972 (cd $(HOST_SUBDIR)/gmp && \
12973 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12974 $(TARGET-gmp))
12975 @endif gmp
12979 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12980 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12981 maybe-all-stage1-gmp:
12982 maybe-clean-stage1-gmp:
12983 @if gmp-bootstrap
12984 maybe-all-stage1-gmp: all-stage1-gmp
12985 all-stage1: all-stage1-gmp
12986 TARGET-stage1-gmp = $(TARGET-gmp)
12987 all-stage1-gmp: configure-stage1-gmp
12988 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12989 @r=`${PWD_COMMAND}`; export r; \
12990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12991 TFLAGS="$(STAGE1_TFLAGS)"; \
12992 $(HOST_EXPORTS) \
12993 cd $(HOST_SUBDIR)/gmp && \
12995 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12996 CFLAGS="$(STAGE1_CFLAGS)" \
12997 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
12998 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12999 LIBCFLAGS="$(LIBCFLAGS)" \
13000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13003 $(EXTRA_HOST_FLAGS) \
13004 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13005 TFLAGS="$(STAGE1_TFLAGS)" \
13006 $(TARGET-stage1-gmp)
13008 maybe-clean-stage1-gmp: clean-stage1-gmp
13009 clean-stage1: clean-stage1-gmp
13010 clean-stage1-gmp:
13011 @if [ $(current_stage) = stage1 ]; then \
13012 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13013 else \
13014 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
13015 $(MAKE) stage1-start; \
13016 fi; \
13017 cd $(HOST_SUBDIR)/gmp && \
13018 $(MAKE) $(EXTRA_HOST_FLAGS) \
13019 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13020 @endif gmp-bootstrap
13023 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
13024 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
13025 maybe-all-stage2-gmp:
13026 maybe-clean-stage2-gmp:
13027 @if gmp-bootstrap
13028 maybe-all-stage2-gmp: all-stage2-gmp
13029 all-stage2: all-stage2-gmp
13030 TARGET-stage2-gmp = $(TARGET-gmp)
13031 all-stage2-gmp: configure-stage2-gmp
13032 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13033 @r=`${PWD_COMMAND}`; export r; \
13034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13035 TFLAGS="$(STAGE2_TFLAGS)"; \
13036 $(HOST_EXPORTS) \
13037 $(POSTSTAGE1_HOST_EXPORTS) \
13038 cd $(HOST_SUBDIR)/gmp && \
13040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13041 CFLAGS="$(STAGE2_CFLAGS)" \
13042 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
13043 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13044 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13045 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13046 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13047 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13048 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13049 TFLAGS="$(STAGE2_TFLAGS)" \
13050 $(TARGET-stage2-gmp)
13052 maybe-clean-stage2-gmp: clean-stage2-gmp
13053 clean-stage2: clean-stage2-gmp
13054 clean-stage2-gmp:
13055 @if [ $(current_stage) = stage2 ]; then \
13056 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13057 else \
13058 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
13059 $(MAKE) stage2-start; \
13060 fi; \
13061 cd $(HOST_SUBDIR)/gmp && \
13062 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13063 @endif gmp-bootstrap
13066 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
13067 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
13068 maybe-all-stage3-gmp:
13069 maybe-clean-stage3-gmp:
13070 @if gmp-bootstrap
13071 maybe-all-stage3-gmp: all-stage3-gmp
13072 all-stage3: all-stage3-gmp
13073 TARGET-stage3-gmp = $(TARGET-gmp)
13074 all-stage3-gmp: configure-stage3-gmp
13075 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13076 @r=`${PWD_COMMAND}`; export r; \
13077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13078 TFLAGS="$(STAGE3_TFLAGS)"; \
13079 $(HOST_EXPORTS) \
13080 $(POSTSTAGE1_HOST_EXPORTS) \
13081 cd $(HOST_SUBDIR)/gmp && \
13083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13084 CFLAGS="$(STAGE3_CFLAGS)" \
13085 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
13086 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13087 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13092 TFLAGS="$(STAGE3_TFLAGS)" \
13093 $(TARGET-stage3-gmp)
13095 maybe-clean-stage3-gmp: clean-stage3-gmp
13096 clean-stage3: clean-stage3-gmp
13097 clean-stage3-gmp:
13098 @if [ $(current_stage) = stage3 ]; then \
13099 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13100 else \
13101 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
13102 $(MAKE) stage3-start; \
13103 fi; \
13104 cd $(HOST_SUBDIR)/gmp && \
13105 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13106 @endif gmp-bootstrap
13109 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
13110 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
13111 maybe-all-stage4-gmp:
13112 maybe-clean-stage4-gmp:
13113 @if gmp-bootstrap
13114 maybe-all-stage4-gmp: all-stage4-gmp
13115 all-stage4: all-stage4-gmp
13116 TARGET-stage4-gmp = $(TARGET-gmp)
13117 all-stage4-gmp: configure-stage4-gmp
13118 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13119 @r=`${PWD_COMMAND}`; export r; \
13120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13121 TFLAGS="$(STAGE4_TFLAGS)"; \
13122 $(HOST_EXPORTS) \
13123 $(POSTSTAGE1_HOST_EXPORTS) \
13124 cd $(HOST_SUBDIR)/gmp && \
13126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13127 CFLAGS="$(STAGE4_CFLAGS)" \
13128 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
13129 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13130 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13135 TFLAGS="$(STAGE4_TFLAGS)" \
13136 $(TARGET-stage4-gmp)
13138 maybe-clean-stage4-gmp: clean-stage4-gmp
13139 clean-stage4: clean-stage4-gmp
13140 clean-stage4-gmp:
13141 @if [ $(current_stage) = stage4 ]; then \
13142 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13143 else \
13144 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
13145 $(MAKE) stage4-start; \
13146 fi; \
13147 cd $(HOST_SUBDIR)/gmp && \
13148 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13149 @endif gmp-bootstrap
13152 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13153 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13154 maybe-all-stageprofile-gmp:
13155 maybe-clean-stageprofile-gmp:
13156 @if gmp-bootstrap
13157 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13158 all-stageprofile: all-stageprofile-gmp
13159 TARGET-stageprofile-gmp = $(TARGET-gmp)
13160 all-stageprofile-gmp: configure-stageprofile-gmp
13161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13162 @r=`${PWD_COMMAND}`; export r; \
13163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13164 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13165 $(HOST_EXPORTS) \
13166 $(POSTSTAGE1_HOST_EXPORTS) \
13167 cd $(HOST_SUBDIR)/gmp && \
13169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13170 CFLAGS="$(STAGEprofile_CFLAGS)" \
13171 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
13172 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13173 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13178 TFLAGS="$(STAGEprofile_TFLAGS)" \
13179 $(TARGET-stageprofile-gmp)
13181 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13182 clean-stageprofile: clean-stageprofile-gmp
13183 clean-stageprofile-gmp:
13184 @if [ $(current_stage) = stageprofile ]; then \
13185 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13186 else \
13187 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13188 $(MAKE) stageprofile-start; \
13189 fi; \
13190 cd $(HOST_SUBDIR)/gmp && \
13191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13192 @endif gmp-bootstrap
13195 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13196 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13197 maybe-all-stagetrain-gmp:
13198 maybe-clean-stagetrain-gmp:
13199 @if gmp-bootstrap
13200 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13201 all-stagetrain: all-stagetrain-gmp
13202 TARGET-stagetrain-gmp = $(TARGET-gmp)
13203 all-stagetrain-gmp: configure-stagetrain-gmp
13204 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13205 @r=`${PWD_COMMAND}`; export r; \
13206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13207 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13208 $(HOST_EXPORTS) \
13209 $(POSTSTAGE1_HOST_EXPORTS) \
13210 cd $(HOST_SUBDIR)/gmp && \
13212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13213 CFLAGS="$(STAGEtrain_CFLAGS)" \
13214 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
13215 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13216 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13221 TFLAGS="$(STAGEtrain_TFLAGS)" \
13222 $(TARGET-stagetrain-gmp)
13224 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13225 clean-stagetrain: clean-stagetrain-gmp
13226 clean-stagetrain-gmp:
13227 @if [ $(current_stage) = stagetrain ]; then \
13228 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13229 else \
13230 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13231 $(MAKE) stagetrain-start; \
13232 fi; \
13233 cd $(HOST_SUBDIR)/gmp && \
13234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13235 @endif gmp-bootstrap
13238 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13239 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13240 maybe-all-stagefeedback-gmp:
13241 maybe-clean-stagefeedback-gmp:
13242 @if gmp-bootstrap
13243 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13244 all-stagefeedback: all-stagefeedback-gmp
13245 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13246 all-stagefeedback-gmp: configure-stagefeedback-gmp
13247 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13248 @r=`${PWD_COMMAND}`; export r; \
13249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13250 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13251 $(HOST_EXPORTS) \
13252 $(POSTSTAGE1_HOST_EXPORTS) \
13253 cd $(HOST_SUBDIR)/gmp && \
13255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13256 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13257 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
13258 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13259 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13264 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13265 $(TARGET-stagefeedback-gmp)
13267 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13268 clean-stagefeedback: clean-stagefeedback-gmp
13269 clean-stagefeedback-gmp:
13270 @if [ $(current_stage) = stagefeedback ]; then \
13271 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13272 else \
13273 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13274 $(MAKE) stagefeedback-start; \
13275 fi; \
13276 cd $(HOST_SUBDIR)/gmp && \
13277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13278 @endif gmp-bootstrap
13281 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13282 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13283 maybe-all-stageautoprofile-gmp:
13284 maybe-clean-stageautoprofile-gmp:
13285 @if gmp-bootstrap
13286 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13287 all-stageautoprofile: all-stageautoprofile-gmp
13288 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13289 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13290 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13291 @r=`${PWD_COMMAND}`; export r; \
13292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13293 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13294 $(HOST_EXPORTS) \
13295 $(POSTSTAGE1_HOST_EXPORTS) \
13296 cd $(HOST_SUBDIR)/gmp && \
13297 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13299 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13300 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
13301 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13302 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13307 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13308 $(TARGET-stageautoprofile-gmp)
13310 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13311 clean-stageautoprofile: clean-stageautoprofile-gmp
13312 clean-stageautoprofile-gmp:
13313 @if [ $(current_stage) = stageautoprofile ]; then \
13314 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13315 else \
13316 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13317 $(MAKE) stageautoprofile-start; \
13318 fi; \
13319 cd $(HOST_SUBDIR)/gmp && \
13320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13321 @endif gmp-bootstrap
13324 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13325 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13326 maybe-all-stageautofeedback-gmp:
13327 maybe-clean-stageautofeedback-gmp:
13328 @if gmp-bootstrap
13329 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13330 all-stageautofeedback: all-stageautofeedback-gmp
13331 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13332 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13333 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13334 @r=`${PWD_COMMAND}`; export r; \
13335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13336 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13337 $(HOST_EXPORTS) \
13338 $(POSTSTAGE1_HOST_EXPORTS) \
13339 cd $(HOST_SUBDIR)/gmp && \
13341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13342 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13343 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
13344 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13345 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13350 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13351 $(TARGET-stageautofeedback-gmp)
13353 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13354 clean-stageautofeedback: clean-stageautofeedback-gmp
13355 clean-stageautofeedback-gmp:
13356 @if [ $(current_stage) = stageautofeedback ]; then \
13357 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13358 else \
13359 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13360 $(MAKE) stageautofeedback-start; \
13361 fi; \
13362 cd $(HOST_SUBDIR)/gmp && \
13363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13364 @endif gmp-bootstrap
13370 .PHONY: check-gmp maybe-check-gmp
13371 maybe-check-gmp:
13372 @if gmp
13373 maybe-check-gmp: check-gmp
13375 check-gmp:
13376 @: $(MAKE); $(unstage)
13377 @r=`${PWD_COMMAND}`; export r; \
13378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13379 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13380 (cd $(HOST_SUBDIR)/gmp && \
13381 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13383 @endif gmp
13385 .PHONY: install-gmp maybe-install-gmp
13386 maybe-install-gmp:
13387 @if gmp
13388 maybe-install-gmp: install-gmp
13390 install-gmp:
13392 @endif gmp
13394 .PHONY: install-strip-gmp maybe-install-strip-gmp
13395 maybe-install-strip-gmp:
13396 @if gmp
13397 maybe-install-strip-gmp: install-strip-gmp
13399 install-strip-gmp:
13401 @endif gmp
13403 # Other targets (info, dvi, pdf, etc.)
13405 .PHONY: maybe-info-gmp info-gmp
13406 maybe-info-gmp:
13407 @if gmp
13408 maybe-info-gmp: info-gmp
13410 info-gmp: \
13411 configure-gmp
13412 @[ -f ./gmp/Makefile ] || exit 0; \
13413 r=`${PWD_COMMAND}`; export r; \
13414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13415 $(HOST_EXPORTS) \
13416 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13418 done; \
13419 echo "Doing info in gmp"; \
13420 (cd $(HOST_SUBDIR)/gmp && \
13421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13423 "RANLIB=$${RANLIB}" \
13424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13425 info) \
13426 || exit 1
13428 @endif gmp
13430 .PHONY: maybe-dvi-gmp dvi-gmp
13431 maybe-dvi-gmp:
13432 @if gmp
13433 maybe-dvi-gmp: dvi-gmp
13435 dvi-gmp: \
13436 configure-gmp
13437 @[ -f ./gmp/Makefile ] || exit 0; \
13438 r=`${PWD_COMMAND}`; export r; \
13439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13440 $(HOST_EXPORTS) \
13441 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13443 done; \
13444 echo "Doing dvi in gmp"; \
13445 (cd $(HOST_SUBDIR)/gmp && \
13446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13448 "RANLIB=$${RANLIB}" \
13449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13450 dvi) \
13451 || exit 1
13453 @endif gmp
13455 .PHONY: maybe-pdf-gmp pdf-gmp
13456 maybe-pdf-gmp:
13457 @if gmp
13458 maybe-pdf-gmp: pdf-gmp
13460 pdf-gmp: \
13461 configure-gmp
13462 @[ -f ./gmp/Makefile ] || exit 0; \
13463 r=`${PWD_COMMAND}`; export r; \
13464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13465 $(HOST_EXPORTS) \
13466 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13468 done; \
13469 echo "Doing pdf in gmp"; \
13470 (cd $(HOST_SUBDIR)/gmp && \
13471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13473 "RANLIB=$${RANLIB}" \
13474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13475 pdf) \
13476 || exit 1
13478 @endif gmp
13480 .PHONY: maybe-html-gmp html-gmp
13481 maybe-html-gmp:
13482 @if gmp
13483 maybe-html-gmp: html-gmp
13485 html-gmp: \
13486 configure-gmp
13487 @[ -f ./gmp/Makefile ] || exit 0; \
13488 r=`${PWD_COMMAND}`; export r; \
13489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13490 $(HOST_EXPORTS) \
13491 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13493 done; \
13494 echo "Doing html in gmp"; \
13495 (cd $(HOST_SUBDIR)/gmp && \
13496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13498 "RANLIB=$${RANLIB}" \
13499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13500 html) \
13501 || exit 1
13503 @endif gmp
13505 .PHONY: maybe-TAGS-gmp TAGS-gmp
13506 maybe-TAGS-gmp:
13507 @if gmp
13508 maybe-TAGS-gmp: TAGS-gmp
13510 TAGS-gmp: \
13511 configure-gmp
13512 @[ -f ./gmp/Makefile ] || exit 0; \
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 $(HOST_EXPORTS) \
13516 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13518 done; \
13519 echo "Doing TAGS in gmp"; \
13520 (cd $(HOST_SUBDIR)/gmp && \
13521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13523 "RANLIB=$${RANLIB}" \
13524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13525 TAGS) \
13526 || exit 1
13528 @endif gmp
13530 .PHONY: maybe-install-info-gmp install-info-gmp
13531 maybe-install-info-gmp:
13532 @if gmp
13533 maybe-install-info-gmp: install-info-gmp
13535 install-info-gmp: \
13536 configure-gmp \
13537 info-gmp
13538 @[ -f ./gmp/Makefile ] || exit 0; \
13539 r=`${PWD_COMMAND}`; export r; \
13540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13541 $(HOST_EXPORTS) \
13542 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13544 done; \
13545 echo "Doing install-info in gmp"; \
13546 (cd $(HOST_SUBDIR)/gmp && \
13547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13549 "RANLIB=$${RANLIB}" \
13550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13551 install-info) \
13552 || exit 1
13554 @endif gmp
13556 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13557 maybe-install-pdf-gmp:
13558 @if gmp
13559 maybe-install-pdf-gmp: install-pdf-gmp
13561 install-pdf-gmp: \
13562 configure-gmp \
13563 pdf-gmp
13564 @[ -f ./gmp/Makefile ] || exit 0; \
13565 r=`${PWD_COMMAND}`; export r; \
13566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567 $(HOST_EXPORTS) \
13568 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13570 done; \
13571 echo "Doing install-pdf in gmp"; \
13572 (cd $(HOST_SUBDIR)/gmp && \
13573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13575 "RANLIB=$${RANLIB}" \
13576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13577 install-pdf) \
13578 || exit 1
13580 @endif gmp
13582 .PHONY: maybe-install-html-gmp install-html-gmp
13583 maybe-install-html-gmp:
13584 @if gmp
13585 maybe-install-html-gmp: install-html-gmp
13587 install-html-gmp: \
13588 configure-gmp \
13589 html-gmp
13590 @[ -f ./gmp/Makefile ] || exit 0; \
13591 r=`${PWD_COMMAND}`; export r; \
13592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13593 $(HOST_EXPORTS) \
13594 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13596 done; \
13597 echo "Doing install-html in gmp"; \
13598 (cd $(HOST_SUBDIR)/gmp && \
13599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13601 "RANLIB=$${RANLIB}" \
13602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13603 install-html) \
13604 || exit 1
13606 @endif gmp
13608 .PHONY: maybe-installcheck-gmp installcheck-gmp
13609 maybe-installcheck-gmp:
13610 @if gmp
13611 maybe-installcheck-gmp: installcheck-gmp
13613 installcheck-gmp: \
13614 configure-gmp
13615 @[ -f ./gmp/Makefile ] || exit 0; \
13616 r=`${PWD_COMMAND}`; export r; \
13617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13618 $(HOST_EXPORTS) \
13619 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13621 done; \
13622 echo "Doing installcheck in gmp"; \
13623 (cd $(HOST_SUBDIR)/gmp && \
13624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13626 "RANLIB=$${RANLIB}" \
13627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13628 installcheck) \
13629 || exit 1
13631 @endif gmp
13633 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13634 maybe-mostlyclean-gmp:
13635 @if gmp
13636 maybe-mostlyclean-gmp: mostlyclean-gmp
13638 mostlyclean-gmp:
13639 @[ -f ./gmp/Makefile ] || exit 0; \
13640 r=`${PWD_COMMAND}`; export r; \
13641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13642 $(HOST_EXPORTS) \
13643 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13645 done; \
13646 echo "Doing mostlyclean in gmp"; \
13647 (cd $(HOST_SUBDIR)/gmp && \
13648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13650 "RANLIB=$${RANLIB}" \
13651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13652 mostlyclean) \
13653 || exit 1
13655 @endif gmp
13657 .PHONY: maybe-clean-gmp clean-gmp
13658 maybe-clean-gmp:
13659 @if gmp
13660 maybe-clean-gmp: clean-gmp
13662 clean-gmp:
13663 @[ -f ./gmp/Makefile ] || exit 0; \
13664 r=`${PWD_COMMAND}`; export r; \
13665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13666 $(HOST_EXPORTS) \
13667 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13669 done; \
13670 echo "Doing clean in gmp"; \
13671 (cd $(HOST_SUBDIR)/gmp && \
13672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13674 "RANLIB=$${RANLIB}" \
13675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13676 clean) \
13677 || exit 1
13679 @endif gmp
13681 .PHONY: maybe-distclean-gmp distclean-gmp
13682 maybe-distclean-gmp:
13683 @if gmp
13684 maybe-distclean-gmp: distclean-gmp
13686 distclean-gmp:
13687 @[ -f ./gmp/Makefile ] || exit 0; \
13688 r=`${PWD_COMMAND}`; export r; \
13689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13690 $(HOST_EXPORTS) \
13691 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13693 done; \
13694 echo "Doing distclean in gmp"; \
13695 (cd $(HOST_SUBDIR)/gmp && \
13696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13698 "RANLIB=$${RANLIB}" \
13699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13700 distclean) \
13701 || exit 1
13703 @endif gmp
13705 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13706 maybe-maintainer-clean-gmp:
13707 @if gmp
13708 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13710 maintainer-clean-gmp:
13711 @[ -f ./gmp/Makefile ] || exit 0; \
13712 r=`${PWD_COMMAND}`; export r; \
13713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13714 $(HOST_EXPORTS) \
13715 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13717 done; \
13718 echo "Doing maintainer-clean in gmp"; \
13719 (cd $(HOST_SUBDIR)/gmp && \
13720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13722 "RANLIB=$${RANLIB}" \
13723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13724 maintainer-clean) \
13725 || exit 1
13727 @endif gmp
13731 .PHONY: configure-mpfr maybe-configure-mpfr
13732 maybe-configure-mpfr:
13733 @if gcc-bootstrap
13734 configure-mpfr: stage_current
13735 @endif gcc-bootstrap
13736 @if mpfr
13737 maybe-configure-mpfr: configure-mpfr
13738 configure-mpfr:
13739 @r=`${PWD_COMMAND}`; export r; \
13740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13741 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13743 $(HOST_EXPORTS) \
13744 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13745 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13746 case $(srcdir) in \
13747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13748 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13750 esac; \
13751 module_srcdir=mpfr; \
13752 $(SHELL) \
13753 $$s/$$module_srcdir/configure \
13754 --srcdir=$${topdir}/$$module_srcdir \
13755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13756 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13757 || exit 1
13758 @endif mpfr
13762 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13763 maybe-configure-stage1-mpfr:
13764 @if mpfr-bootstrap
13765 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13766 configure-stage1-mpfr:
13767 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13769 @r=`${PWD_COMMAND}`; export r; \
13770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13771 TFLAGS="$(STAGE1_TFLAGS)"; \
13772 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13773 $(HOST_EXPORTS) \
13774 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13775 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13776 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13777 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13779 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13780 case $(srcdir) in \
13781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13782 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13784 esac; \
13785 module_srcdir=mpfr; \
13786 $(SHELL) $$s/$$module_srcdir/configure \
13787 --srcdir=$${topdir}/$$module_srcdir \
13788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13789 --target=${target_alias} \
13791 $(STAGE1_CONFIGURE_FLAGS) \
13792 --disable-shared @extra_mpfr_configure_flags@
13793 @endif mpfr-bootstrap
13795 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13796 maybe-configure-stage2-mpfr:
13797 @if mpfr-bootstrap
13798 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13799 configure-stage2-mpfr:
13800 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13802 @r=`${PWD_COMMAND}`; export r; \
13803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13804 TFLAGS="$(STAGE2_TFLAGS)"; \
13805 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13806 $(HOST_EXPORTS) \
13807 $(POSTSTAGE1_HOST_EXPORTS) \
13808 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13809 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13810 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13811 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13813 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13814 case $(srcdir) in \
13815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13816 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13818 esac; \
13819 module_srcdir=mpfr; \
13820 $(SHELL) $$s/$$module_srcdir/configure \
13821 --srcdir=$${topdir}/$$module_srcdir \
13822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13823 --target=${target_alias} \
13824 --with-build-libsubdir=$(HOST_SUBDIR) \
13825 $(STAGE2_CONFIGURE_FLAGS) \
13826 --disable-shared @extra_mpfr_configure_flags@
13827 @endif mpfr-bootstrap
13829 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13830 maybe-configure-stage3-mpfr:
13831 @if mpfr-bootstrap
13832 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13833 configure-stage3-mpfr:
13834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13836 @r=`${PWD_COMMAND}`; export r; \
13837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13838 TFLAGS="$(STAGE3_TFLAGS)"; \
13839 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13840 $(HOST_EXPORTS) \
13841 $(POSTSTAGE1_HOST_EXPORTS) \
13842 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13843 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13844 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13845 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13847 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13848 case $(srcdir) in \
13849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13850 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13852 esac; \
13853 module_srcdir=mpfr; \
13854 $(SHELL) $$s/$$module_srcdir/configure \
13855 --srcdir=$${topdir}/$$module_srcdir \
13856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13857 --target=${target_alias} \
13858 --with-build-libsubdir=$(HOST_SUBDIR) \
13859 $(STAGE3_CONFIGURE_FLAGS) \
13860 --disable-shared @extra_mpfr_configure_flags@
13861 @endif mpfr-bootstrap
13863 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13864 maybe-configure-stage4-mpfr:
13865 @if mpfr-bootstrap
13866 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13867 configure-stage4-mpfr:
13868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13870 @r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13872 TFLAGS="$(STAGE4_TFLAGS)"; \
13873 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13874 $(HOST_EXPORTS) \
13875 $(POSTSTAGE1_HOST_EXPORTS) \
13876 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13877 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13878 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13879 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13881 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13882 case $(srcdir) in \
13883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13884 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13886 esac; \
13887 module_srcdir=mpfr; \
13888 $(SHELL) $$s/$$module_srcdir/configure \
13889 --srcdir=$${topdir}/$$module_srcdir \
13890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13891 --target=${target_alias} \
13892 --with-build-libsubdir=$(HOST_SUBDIR) \
13893 $(STAGE4_CONFIGURE_FLAGS) \
13894 --disable-shared @extra_mpfr_configure_flags@
13895 @endif mpfr-bootstrap
13897 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13898 maybe-configure-stageprofile-mpfr:
13899 @if mpfr-bootstrap
13900 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13901 configure-stageprofile-mpfr:
13902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13904 @r=`${PWD_COMMAND}`; export r; \
13905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13907 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13908 $(HOST_EXPORTS) \
13909 $(POSTSTAGE1_HOST_EXPORTS) \
13910 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13912 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13913 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13915 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13916 case $(srcdir) in \
13917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13918 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13920 esac; \
13921 module_srcdir=mpfr; \
13922 $(SHELL) $$s/$$module_srcdir/configure \
13923 --srcdir=$${topdir}/$$module_srcdir \
13924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13925 --target=${target_alias} \
13926 --with-build-libsubdir=$(HOST_SUBDIR) \
13927 $(STAGEprofile_CONFIGURE_FLAGS) \
13928 --disable-shared @extra_mpfr_configure_flags@
13929 @endif mpfr-bootstrap
13931 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13932 maybe-configure-stagetrain-mpfr:
13933 @if mpfr-bootstrap
13934 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13935 configure-stagetrain-mpfr:
13936 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13938 @r=`${PWD_COMMAND}`; export r; \
13939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13940 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13941 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13942 $(HOST_EXPORTS) \
13943 $(POSTSTAGE1_HOST_EXPORTS) \
13944 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13945 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13946 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13947 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13949 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13950 case $(srcdir) in \
13951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13952 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13954 esac; \
13955 module_srcdir=mpfr; \
13956 $(SHELL) $$s/$$module_srcdir/configure \
13957 --srcdir=$${topdir}/$$module_srcdir \
13958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13959 --target=${target_alias} \
13960 --with-build-libsubdir=$(HOST_SUBDIR) \
13961 $(STAGEtrain_CONFIGURE_FLAGS) \
13962 --disable-shared @extra_mpfr_configure_flags@
13963 @endif mpfr-bootstrap
13965 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13966 maybe-configure-stagefeedback-mpfr:
13967 @if mpfr-bootstrap
13968 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13969 configure-stagefeedback-mpfr:
13970 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13972 @r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13975 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13976 $(HOST_EXPORTS) \
13977 $(POSTSTAGE1_HOST_EXPORTS) \
13978 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13979 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13980 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13981 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13983 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13984 case $(srcdir) in \
13985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13986 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13988 esac; \
13989 module_srcdir=mpfr; \
13990 $(SHELL) $$s/$$module_srcdir/configure \
13991 --srcdir=$${topdir}/$$module_srcdir \
13992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13993 --target=${target_alias} \
13994 --with-build-libsubdir=$(HOST_SUBDIR) \
13995 $(STAGEfeedback_CONFIGURE_FLAGS) \
13996 --disable-shared @extra_mpfr_configure_flags@
13997 @endif mpfr-bootstrap
13999 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
14000 maybe-configure-stageautoprofile-mpfr:
14001 @if mpfr-bootstrap
14002 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14003 configure-stageautoprofile-mpfr:
14004 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14006 @r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14008 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14009 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14010 $(HOST_EXPORTS) \
14011 $(POSTSTAGE1_HOST_EXPORTS) \
14012 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14013 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14014 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14015 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
14016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14017 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14018 case $(srcdir) in \
14019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14020 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14022 esac; \
14023 module_srcdir=mpfr; \
14024 $(SHELL) $$s/$$module_srcdir/configure \
14025 --srcdir=$${topdir}/$$module_srcdir \
14026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14027 --target=${target_alias} \
14028 --with-build-libsubdir=$(HOST_SUBDIR) \
14029 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14030 --disable-shared @extra_mpfr_configure_flags@
14031 @endif mpfr-bootstrap
14033 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
14034 maybe-configure-stageautofeedback-mpfr:
14035 @if mpfr-bootstrap
14036 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14037 configure-stageautofeedback-mpfr:
14038 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14040 @r=`${PWD_COMMAND}`; export r; \
14041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14042 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14043 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14044 $(HOST_EXPORTS) \
14045 $(POSTSTAGE1_HOST_EXPORTS) \
14046 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14047 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14048 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14049 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
14050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14051 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14052 case $(srcdir) in \
14053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14054 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14056 esac; \
14057 module_srcdir=mpfr; \
14058 $(SHELL) $$s/$$module_srcdir/configure \
14059 --srcdir=$${topdir}/$$module_srcdir \
14060 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14061 --target=${target_alias} \
14062 --with-build-libsubdir=$(HOST_SUBDIR) \
14063 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14064 --disable-shared @extra_mpfr_configure_flags@
14065 @endif mpfr-bootstrap
14071 .PHONY: all-mpfr maybe-all-mpfr
14072 maybe-all-mpfr:
14073 @if gcc-bootstrap
14074 all-mpfr: stage_current
14075 @endif gcc-bootstrap
14076 @if mpfr
14077 TARGET-mpfr=all
14078 maybe-all-mpfr: all-mpfr
14079 all-mpfr: configure-mpfr
14080 @r=`${PWD_COMMAND}`; export r; \
14081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14082 $(HOST_EXPORTS) \
14083 (cd $(HOST_SUBDIR)/mpfr && \
14084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14085 $(TARGET-mpfr))
14086 @endif mpfr
14090 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
14091 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
14092 maybe-all-stage1-mpfr:
14093 maybe-clean-stage1-mpfr:
14094 @if mpfr-bootstrap
14095 maybe-all-stage1-mpfr: all-stage1-mpfr
14096 all-stage1: all-stage1-mpfr
14097 TARGET-stage1-mpfr = $(TARGET-mpfr)
14098 all-stage1-mpfr: configure-stage1-mpfr
14099 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14100 @r=`${PWD_COMMAND}`; export r; \
14101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14102 TFLAGS="$(STAGE1_TFLAGS)"; \
14103 $(HOST_EXPORTS) \
14104 cd $(HOST_SUBDIR)/mpfr && \
14106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14107 CFLAGS="$(STAGE1_CFLAGS)" \
14108 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
14109 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14110 LIBCFLAGS="$(LIBCFLAGS)" \
14111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14114 $(EXTRA_HOST_FLAGS) \
14115 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14116 TFLAGS="$(STAGE1_TFLAGS)" \
14117 $(TARGET-stage1-mpfr)
14119 maybe-clean-stage1-mpfr: clean-stage1-mpfr
14120 clean-stage1: clean-stage1-mpfr
14121 clean-stage1-mpfr:
14122 @if [ $(current_stage) = stage1 ]; then \
14123 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14124 else \
14125 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
14126 $(MAKE) stage1-start; \
14127 fi; \
14128 cd $(HOST_SUBDIR)/mpfr && \
14129 $(MAKE) $(EXTRA_HOST_FLAGS) \
14130 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14131 @endif mpfr-bootstrap
14134 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
14135 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
14136 maybe-all-stage2-mpfr:
14137 maybe-clean-stage2-mpfr:
14138 @if mpfr-bootstrap
14139 maybe-all-stage2-mpfr: all-stage2-mpfr
14140 all-stage2: all-stage2-mpfr
14141 TARGET-stage2-mpfr = $(TARGET-mpfr)
14142 all-stage2-mpfr: configure-stage2-mpfr
14143 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14144 @r=`${PWD_COMMAND}`; export r; \
14145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14146 TFLAGS="$(STAGE2_TFLAGS)"; \
14147 $(HOST_EXPORTS) \
14148 $(POSTSTAGE1_HOST_EXPORTS) \
14149 cd $(HOST_SUBDIR)/mpfr && \
14151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14152 CFLAGS="$(STAGE2_CFLAGS)" \
14153 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
14154 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14155 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14160 TFLAGS="$(STAGE2_TFLAGS)" \
14161 $(TARGET-stage2-mpfr)
14163 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14164 clean-stage2: clean-stage2-mpfr
14165 clean-stage2-mpfr:
14166 @if [ $(current_stage) = stage2 ]; then \
14167 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14168 else \
14169 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14170 $(MAKE) stage2-start; \
14171 fi; \
14172 cd $(HOST_SUBDIR)/mpfr && \
14173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14174 @endif mpfr-bootstrap
14177 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14178 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14179 maybe-all-stage3-mpfr:
14180 maybe-clean-stage3-mpfr:
14181 @if mpfr-bootstrap
14182 maybe-all-stage3-mpfr: all-stage3-mpfr
14183 all-stage3: all-stage3-mpfr
14184 TARGET-stage3-mpfr = $(TARGET-mpfr)
14185 all-stage3-mpfr: configure-stage3-mpfr
14186 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14187 @r=`${PWD_COMMAND}`; export r; \
14188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14189 TFLAGS="$(STAGE3_TFLAGS)"; \
14190 $(HOST_EXPORTS) \
14191 $(POSTSTAGE1_HOST_EXPORTS) \
14192 cd $(HOST_SUBDIR)/mpfr && \
14194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14195 CFLAGS="$(STAGE3_CFLAGS)" \
14196 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
14197 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14198 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14203 TFLAGS="$(STAGE3_TFLAGS)" \
14204 $(TARGET-stage3-mpfr)
14206 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14207 clean-stage3: clean-stage3-mpfr
14208 clean-stage3-mpfr:
14209 @if [ $(current_stage) = stage3 ]; then \
14210 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14211 else \
14212 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14213 $(MAKE) stage3-start; \
14214 fi; \
14215 cd $(HOST_SUBDIR)/mpfr && \
14216 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14217 @endif mpfr-bootstrap
14220 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14221 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14222 maybe-all-stage4-mpfr:
14223 maybe-clean-stage4-mpfr:
14224 @if mpfr-bootstrap
14225 maybe-all-stage4-mpfr: all-stage4-mpfr
14226 all-stage4: all-stage4-mpfr
14227 TARGET-stage4-mpfr = $(TARGET-mpfr)
14228 all-stage4-mpfr: configure-stage4-mpfr
14229 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14230 @r=`${PWD_COMMAND}`; export r; \
14231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14232 TFLAGS="$(STAGE4_TFLAGS)"; \
14233 $(HOST_EXPORTS) \
14234 $(POSTSTAGE1_HOST_EXPORTS) \
14235 cd $(HOST_SUBDIR)/mpfr && \
14237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14238 CFLAGS="$(STAGE4_CFLAGS)" \
14239 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
14240 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14241 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14242 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14243 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14244 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14245 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14246 TFLAGS="$(STAGE4_TFLAGS)" \
14247 $(TARGET-stage4-mpfr)
14249 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14250 clean-stage4: clean-stage4-mpfr
14251 clean-stage4-mpfr:
14252 @if [ $(current_stage) = stage4 ]; then \
14253 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14254 else \
14255 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14256 $(MAKE) stage4-start; \
14257 fi; \
14258 cd $(HOST_SUBDIR)/mpfr && \
14259 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14260 @endif mpfr-bootstrap
14263 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14264 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14265 maybe-all-stageprofile-mpfr:
14266 maybe-clean-stageprofile-mpfr:
14267 @if mpfr-bootstrap
14268 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14269 all-stageprofile: all-stageprofile-mpfr
14270 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14271 all-stageprofile-mpfr: configure-stageprofile-mpfr
14272 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14273 @r=`${PWD_COMMAND}`; export r; \
14274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14275 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14276 $(HOST_EXPORTS) \
14277 $(POSTSTAGE1_HOST_EXPORTS) \
14278 cd $(HOST_SUBDIR)/mpfr && \
14280 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14281 CFLAGS="$(STAGEprofile_CFLAGS)" \
14282 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
14283 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14284 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14288 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14289 TFLAGS="$(STAGEprofile_TFLAGS)" \
14290 $(TARGET-stageprofile-mpfr)
14292 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14293 clean-stageprofile: clean-stageprofile-mpfr
14294 clean-stageprofile-mpfr:
14295 @if [ $(current_stage) = stageprofile ]; then \
14296 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14297 else \
14298 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14299 $(MAKE) stageprofile-start; \
14300 fi; \
14301 cd $(HOST_SUBDIR)/mpfr && \
14302 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14303 @endif mpfr-bootstrap
14306 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14307 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14308 maybe-all-stagetrain-mpfr:
14309 maybe-clean-stagetrain-mpfr:
14310 @if mpfr-bootstrap
14311 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14312 all-stagetrain: all-stagetrain-mpfr
14313 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14314 all-stagetrain-mpfr: configure-stagetrain-mpfr
14315 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14316 @r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14319 $(HOST_EXPORTS) \
14320 $(POSTSTAGE1_HOST_EXPORTS) \
14321 cd $(HOST_SUBDIR)/mpfr && \
14323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14324 CFLAGS="$(STAGEtrain_CFLAGS)" \
14325 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
14326 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14327 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14328 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14329 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14330 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14331 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14332 TFLAGS="$(STAGEtrain_TFLAGS)" \
14333 $(TARGET-stagetrain-mpfr)
14335 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14336 clean-stagetrain: clean-stagetrain-mpfr
14337 clean-stagetrain-mpfr:
14338 @if [ $(current_stage) = stagetrain ]; then \
14339 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14340 else \
14341 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14342 $(MAKE) stagetrain-start; \
14343 fi; \
14344 cd $(HOST_SUBDIR)/mpfr && \
14345 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14346 @endif mpfr-bootstrap
14349 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14350 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14351 maybe-all-stagefeedback-mpfr:
14352 maybe-clean-stagefeedback-mpfr:
14353 @if mpfr-bootstrap
14354 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14355 all-stagefeedback: all-stagefeedback-mpfr
14356 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14357 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14358 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14359 @r=`${PWD_COMMAND}`; export r; \
14360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14361 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14362 $(HOST_EXPORTS) \
14363 $(POSTSTAGE1_HOST_EXPORTS) \
14364 cd $(HOST_SUBDIR)/mpfr && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14367 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14368 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
14369 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14370 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14375 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14376 $(TARGET-stagefeedback-mpfr)
14378 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14379 clean-stagefeedback: clean-stagefeedback-mpfr
14380 clean-stagefeedback-mpfr:
14381 @if [ $(current_stage) = stagefeedback ]; then \
14382 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14383 else \
14384 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14385 $(MAKE) stagefeedback-start; \
14386 fi; \
14387 cd $(HOST_SUBDIR)/mpfr && \
14388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14389 @endif mpfr-bootstrap
14392 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14393 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14394 maybe-all-stageautoprofile-mpfr:
14395 maybe-clean-stageautoprofile-mpfr:
14396 @if mpfr-bootstrap
14397 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14398 all-stageautoprofile: all-stageautoprofile-mpfr
14399 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14400 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14401 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14402 @r=`${PWD_COMMAND}`; export r; \
14403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14404 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14405 $(HOST_EXPORTS) \
14406 $(POSTSTAGE1_HOST_EXPORTS) \
14407 cd $(HOST_SUBDIR)/mpfr && \
14408 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14410 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14411 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
14412 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14413 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14418 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14419 $(TARGET-stageautoprofile-mpfr)
14421 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14422 clean-stageautoprofile: clean-stageautoprofile-mpfr
14423 clean-stageautoprofile-mpfr:
14424 @if [ $(current_stage) = stageautoprofile ]; then \
14425 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14426 else \
14427 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14428 $(MAKE) stageautoprofile-start; \
14429 fi; \
14430 cd $(HOST_SUBDIR)/mpfr && \
14431 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14432 @endif mpfr-bootstrap
14435 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14436 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14437 maybe-all-stageautofeedback-mpfr:
14438 maybe-clean-stageautofeedback-mpfr:
14439 @if mpfr-bootstrap
14440 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14441 all-stageautofeedback: all-stageautofeedback-mpfr
14442 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14443 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14444 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14445 @r=`${PWD_COMMAND}`; export r; \
14446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14447 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14448 $(HOST_EXPORTS) \
14449 $(POSTSTAGE1_HOST_EXPORTS) \
14450 cd $(HOST_SUBDIR)/mpfr && \
14452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14453 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14454 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
14455 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14456 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14461 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14462 $(TARGET-stageautofeedback-mpfr)
14464 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14465 clean-stageautofeedback: clean-stageautofeedback-mpfr
14466 clean-stageautofeedback-mpfr:
14467 @if [ $(current_stage) = stageautofeedback ]; then \
14468 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14469 else \
14470 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14471 $(MAKE) stageautofeedback-start; \
14472 fi; \
14473 cd $(HOST_SUBDIR)/mpfr && \
14474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14475 @endif mpfr-bootstrap
14481 .PHONY: check-mpfr maybe-check-mpfr
14482 maybe-check-mpfr:
14483 @if mpfr
14484 maybe-check-mpfr: check-mpfr
14486 check-mpfr:
14487 @: $(MAKE); $(unstage)
14488 @r=`${PWD_COMMAND}`; export r; \
14489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14490 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14491 (cd $(HOST_SUBDIR)/mpfr && \
14492 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14494 @endif mpfr
14496 .PHONY: install-mpfr maybe-install-mpfr
14497 maybe-install-mpfr:
14498 @if mpfr
14499 maybe-install-mpfr: install-mpfr
14501 install-mpfr:
14503 @endif mpfr
14505 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14506 maybe-install-strip-mpfr:
14507 @if mpfr
14508 maybe-install-strip-mpfr: install-strip-mpfr
14510 install-strip-mpfr:
14512 @endif mpfr
14514 # Other targets (info, dvi, pdf, etc.)
14516 .PHONY: maybe-info-mpfr info-mpfr
14517 maybe-info-mpfr:
14518 @if mpfr
14519 maybe-info-mpfr: info-mpfr
14521 info-mpfr: \
14522 configure-mpfr
14523 @[ -f ./mpfr/Makefile ] || exit 0; \
14524 r=`${PWD_COMMAND}`; export r; \
14525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14526 $(HOST_EXPORTS) \
14527 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14529 done; \
14530 echo "Doing info in mpfr"; \
14531 (cd $(HOST_SUBDIR)/mpfr && \
14532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14534 "RANLIB=$${RANLIB}" \
14535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14536 info) \
14537 || exit 1
14539 @endif mpfr
14541 .PHONY: maybe-dvi-mpfr dvi-mpfr
14542 maybe-dvi-mpfr:
14543 @if mpfr
14544 maybe-dvi-mpfr: dvi-mpfr
14546 dvi-mpfr: \
14547 configure-mpfr
14548 @[ -f ./mpfr/Makefile ] || exit 0; \
14549 r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14551 $(HOST_EXPORTS) \
14552 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14554 done; \
14555 echo "Doing dvi in mpfr"; \
14556 (cd $(HOST_SUBDIR)/mpfr && \
14557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14559 "RANLIB=$${RANLIB}" \
14560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14561 dvi) \
14562 || exit 1
14564 @endif mpfr
14566 .PHONY: maybe-pdf-mpfr pdf-mpfr
14567 maybe-pdf-mpfr:
14568 @if mpfr
14569 maybe-pdf-mpfr: pdf-mpfr
14571 pdf-mpfr: \
14572 configure-mpfr
14573 @[ -f ./mpfr/Makefile ] || exit 0; \
14574 r=`${PWD_COMMAND}`; export r; \
14575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14576 $(HOST_EXPORTS) \
14577 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14579 done; \
14580 echo "Doing pdf in mpfr"; \
14581 (cd $(HOST_SUBDIR)/mpfr && \
14582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14584 "RANLIB=$${RANLIB}" \
14585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14586 pdf) \
14587 || exit 1
14589 @endif mpfr
14591 .PHONY: maybe-html-mpfr html-mpfr
14592 maybe-html-mpfr:
14593 @if mpfr
14594 maybe-html-mpfr: html-mpfr
14596 html-mpfr: \
14597 configure-mpfr
14598 @[ -f ./mpfr/Makefile ] || exit 0; \
14599 r=`${PWD_COMMAND}`; export r; \
14600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14601 $(HOST_EXPORTS) \
14602 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14604 done; \
14605 echo "Doing html in mpfr"; \
14606 (cd $(HOST_SUBDIR)/mpfr && \
14607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14609 "RANLIB=$${RANLIB}" \
14610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14611 html) \
14612 || exit 1
14614 @endif mpfr
14616 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14617 maybe-TAGS-mpfr:
14618 @if mpfr
14619 maybe-TAGS-mpfr: TAGS-mpfr
14621 TAGS-mpfr: \
14622 configure-mpfr
14623 @[ -f ./mpfr/Makefile ] || exit 0; \
14624 r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14626 $(HOST_EXPORTS) \
14627 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14629 done; \
14630 echo "Doing TAGS in mpfr"; \
14631 (cd $(HOST_SUBDIR)/mpfr && \
14632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14634 "RANLIB=$${RANLIB}" \
14635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14636 TAGS) \
14637 || exit 1
14639 @endif mpfr
14641 .PHONY: maybe-install-info-mpfr install-info-mpfr
14642 maybe-install-info-mpfr:
14643 @if mpfr
14644 maybe-install-info-mpfr: install-info-mpfr
14646 install-info-mpfr: \
14647 configure-mpfr \
14648 info-mpfr
14649 @[ -f ./mpfr/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652 $(HOST_EXPORTS) \
14653 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14655 done; \
14656 echo "Doing install-info in mpfr"; \
14657 (cd $(HOST_SUBDIR)/mpfr && \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14662 install-info) \
14663 || exit 1
14665 @endif mpfr
14667 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14668 maybe-install-pdf-mpfr:
14669 @if mpfr
14670 maybe-install-pdf-mpfr: install-pdf-mpfr
14672 install-pdf-mpfr: \
14673 configure-mpfr \
14674 pdf-mpfr
14675 @[ -f ./mpfr/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 $(HOST_EXPORTS) \
14679 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14681 done; \
14682 echo "Doing install-pdf in mpfr"; \
14683 (cd $(HOST_SUBDIR)/mpfr && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14686 "RANLIB=$${RANLIB}" \
14687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14688 install-pdf) \
14689 || exit 1
14691 @endif mpfr
14693 .PHONY: maybe-install-html-mpfr install-html-mpfr
14694 maybe-install-html-mpfr:
14695 @if mpfr
14696 maybe-install-html-mpfr: install-html-mpfr
14698 install-html-mpfr: \
14699 configure-mpfr \
14700 html-mpfr
14701 @[ -f ./mpfr/Makefile ] || exit 0; \
14702 r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 $(HOST_EXPORTS) \
14705 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14707 done; \
14708 echo "Doing install-html in mpfr"; \
14709 (cd $(HOST_SUBDIR)/mpfr && \
14710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14712 "RANLIB=$${RANLIB}" \
14713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14714 install-html) \
14715 || exit 1
14717 @endif mpfr
14719 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14720 maybe-installcheck-mpfr:
14721 @if mpfr
14722 maybe-installcheck-mpfr: installcheck-mpfr
14724 installcheck-mpfr: \
14725 configure-mpfr
14726 @[ -f ./mpfr/Makefile ] || exit 0; \
14727 r=`${PWD_COMMAND}`; export r; \
14728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14729 $(HOST_EXPORTS) \
14730 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14732 done; \
14733 echo "Doing installcheck in mpfr"; \
14734 (cd $(HOST_SUBDIR)/mpfr && \
14735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737 "RANLIB=$${RANLIB}" \
14738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14739 installcheck) \
14740 || exit 1
14742 @endif mpfr
14744 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14745 maybe-mostlyclean-mpfr:
14746 @if mpfr
14747 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14749 mostlyclean-mpfr:
14750 @[ -f ./mpfr/Makefile ] || exit 0; \
14751 r=`${PWD_COMMAND}`; export r; \
14752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14753 $(HOST_EXPORTS) \
14754 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14756 done; \
14757 echo "Doing mostlyclean in mpfr"; \
14758 (cd $(HOST_SUBDIR)/mpfr && \
14759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14761 "RANLIB=$${RANLIB}" \
14762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14763 mostlyclean) \
14764 || exit 1
14766 @endif mpfr
14768 .PHONY: maybe-clean-mpfr clean-mpfr
14769 maybe-clean-mpfr:
14770 @if mpfr
14771 maybe-clean-mpfr: clean-mpfr
14773 clean-mpfr:
14774 @[ -f ./mpfr/Makefile ] || exit 0; \
14775 r=`${PWD_COMMAND}`; export r; \
14776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14777 $(HOST_EXPORTS) \
14778 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14780 done; \
14781 echo "Doing clean in mpfr"; \
14782 (cd $(HOST_SUBDIR)/mpfr && \
14783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14785 "RANLIB=$${RANLIB}" \
14786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14787 clean) \
14788 || exit 1
14790 @endif mpfr
14792 .PHONY: maybe-distclean-mpfr distclean-mpfr
14793 maybe-distclean-mpfr:
14794 @if mpfr
14795 maybe-distclean-mpfr: distclean-mpfr
14797 distclean-mpfr:
14798 @[ -f ./mpfr/Makefile ] || exit 0; \
14799 r=`${PWD_COMMAND}`; export r; \
14800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14801 $(HOST_EXPORTS) \
14802 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14804 done; \
14805 echo "Doing distclean in mpfr"; \
14806 (cd $(HOST_SUBDIR)/mpfr && \
14807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14809 "RANLIB=$${RANLIB}" \
14810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14811 distclean) \
14812 || exit 1
14814 @endif mpfr
14816 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14817 maybe-maintainer-clean-mpfr:
14818 @if mpfr
14819 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14821 maintainer-clean-mpfr:
14822 @[ -f ./mpfr/Makefile ] || exit 0; \
14823 r=`${PWD_COMMAND}`; export r; \
14824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14825 $(HOST_EXPORTS) \
14826 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14828 done; \
14829 echo "Doing maintainer-clean in mpfr"; \
14830 (cd $(HOST_SUBDIR)/mpfr && \
14831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14833 "RANLIB=$${RANLIB}" \
14834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14835 maintainer-clean) \
14836 || exit 1
14838 @endif mpfr
14842 .PHONY: configure-mpc maybe-configure-mpc
14843 maybe-configure-mpc:
14844 @if gcc-bootstrap
14845 configure-mpc: stage_current
14846 @endif gcc-bootstrap
14847 @if mpc
14848 maybe-configure-mpc: configure-mpc
14849 configure-mpc:
14850 @r=`${PWD_COMMAND}`; export r; \
14851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14852 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14854 $(HOST_EXPORTS) \
14855 echo Configuring in $(HOST_SUBDIR)/mpc; \
14856 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14857 case $(srcdir) in \
14858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14859 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14861 esac; \
14862 module_srcdir=mpc; \
14863 $(SHELL) \
14864 $$s/$$module_srcdir/configure \
14865 --srcdir=$${topdir}/$$module_srcdir \
14866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14867 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14868 || exit 1
14869 @endif mpc
14873 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14874 maybe-configure-stage1-mpc:
14875 @if mpc-bootstrap
14876 maybe-configure-stage1-mpc: configure-stage1-mpc
14877 configure-stage1-mpc:
14878 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14880 @r=`${PWD_COMMAND}`; export r; \
14881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14882 TFLAGS="$(STAGE1_TFLAGS)"; \
14883 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14884 $(HOST_EXPORTS) \
14885 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14886 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14887 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14888 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14890 cd $(HOST_SUBDIR)/mpc || exit 1; \
14891 case $(srcdir) in \
14892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14893 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14895 esac; \
14896 module_srcdir=mpc; \
14897 $(SHELL) $$s/$$module_srcdir/configure \
14898 --srcdir=$${topdir}/$$module_srcdir \
14899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14900 --target=${target_alias} \
14902 $(STAGE1_CONFIGURE_FLAGS) \
14903 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14904 @endif mpc-bootstrap
14906 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14907 maybe-configure-stage2-mpc:
14908 @if mpc-bootstrap
14909 maybe-configure-stage2-mpc: configure-stage2-mpc
14910 configure-stage2-mpc:
14911 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14913 @r=`${PWD_COMMAND}`; export r; \
14914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14915 TFLAGS="$(STAGE2_TFLAGS)"; \
14916 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14917 $(HOST_EXPORTS) \
14918 $(POSTSTAGE1_HOST_EXPORTS) \
14919 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14920 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14921 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14922 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14924 cd $(HOST_SUBDIR)/mpc || exit 1; \
14925 case $(srcdir) in \
14926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14927 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14929 esac; \
14930 module_srcdir=mpc; \
14931 $(SHELL) $$s/$$module_srcdir/configure \
14932 --srcdir=$${topdir}/$$module_srcdir \
14933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14934 --target=${target_alias} \
14935 --with-build-libsubdir=$(HOST_SUBDIR) \
14936 $(STAGE2_CONFIGURE_FLAGS) \
14937 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14938 @endif mpc-bootstrap
14940 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14941 maybe-configure-stage3-mpc:
14942 @if mpc-bootstrap
14943 maybe-configure-stage3-mpc: configure-stage3-mpc
14944 configure-stage3-mpc:
14945 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14947 @r=`${PWD_COMMAND}`; export r; \
14948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14949 TFLAGS="$(STAGE3_TFLAGS)"; \
14950 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14951 $(HOST_EXPORTS) \
14952 $(POSTSTAGE1_HOST_EXPORTS) \
14953 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14954 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14955 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14956 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14958 cd $(HOST_SUBDIR)/mpc || exit 1; \
14959 case $(srcdir) in \
14960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14961 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14963 esac; \
14964 module_srcdir=mpc; \
14965 $(SHELL) $$s/$$module_srcdir/configure \
14966 --srcdir=$${topdir}/$$module_srcdir \
14967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14968 --target=${target_alias} \
14969 --with-build-libsubdir=$(HOST_SUBDIR) \
14970 $(STAGE3_CONFIGURE_FLAGS) \
14971 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14972 @endif mpc-bootstrap
14974 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14975 maybe-configure-stage4-mpc:
14976 @if mpc-bootstrap
14977 maybe-configure-stage4-mpc: configure-stage4-mpc
14978 configure-stage4-mpc:
14979 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14980 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14981 @r=`${PWD_COMMAND}`; export r; \
14982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14983 TFLAGS="$(STAGE4_TFLAGS)"; \
14984 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14985 $(HOST_EXPORTS) \
14986 $(POSTSTAGE1_HOST_EXPORTS) \
14987 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14988 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14989 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14990 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14992 cd $(HOST_SUBDIR)/mpc || exit 1; \
14993 case $(srcdir) in \
14994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14995 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14997 esac; \
14998 module_srcdir=mpc; \
14999 $(SHELL) $$s/$$module_srcdir/configure \
15000 --srcdir=$${topdir}/$$module_srcdir \
15001 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15002 --target=${target_alias} \
15003 --with-build-libsubdir=$(HOST_SUBDIR) \
15004 $(STAGE4_CONFIGURE_FLAGS) \
15005 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15006 @endif mpc-bootstrap
15008 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
15009 maybe-configure-stageprofile-mpc:
15010 @if mpc-bootstrap
15011 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
15012 configure-stageprofile-mpc:
15013 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15015 @r=`${PWD_COMMAND}`; export r; \
15016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15017 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15018 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15019 $(HOST_EXPORTS) \
15020 $(POSTSTAGE1_HOST_EXPORTS) \
15021 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15022 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15023 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15024 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
15025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15026 cd $(HOST_SUBDIR)/mpc || exit 1; \
15027 case $(srcdir) in \
15028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15029 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15031 esac; \
15032 module_srcdir=mpc; \
15033 $(SHELL) $$s/$$module_srcdir/configure \
15034 --srcdir=$${topdir}/$$module_srcdir \
15035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15036 --target=${target_alias} \
15037 --with-build-libsubdir=$(HOST_SUBDIR) \
15038 $(STAGEprofile_CONFIGURE_FLAGS) \
15039 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15040 @endif mpc-bootstrap
15042 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
15043 maybe-configure-stagetrain-mpc:
15044 @if mpc-bootstrap
15045 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
15046 configure-stagetrain-mpc:
15047 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15049 @r=`${PWD_COMMAND}`; export r; \
15050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15051 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15052 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15053 $(HOST_EXPORTS) \
15054 $(POSTSTAGE1_HOST_EXPORTS) \
15055 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15056 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15057 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15058 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
15059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15060 cd $(HOST_SUBDIR)/mpc || exit 1; \
15061 case $(srcdir) in \
15062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15063 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15065 esac; \
15066 module_srcdir=mpc; \
15067 $(SHELL) $$s/$$module_srcdir/configure \
15068 --srcdir=$${topdir}/$$module_srcdir \
15069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15070 --target=${target_alias} \
15071 --with-build-libsubdir=$(HOST_SUBDIR) \
15072 $(STAGEtrain_CONFIGURE_FLAGS) \
15073 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15074 @endif mpc-bootstrap
15076 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
15077 maybe-configure-stagefeedback-mpc:
15078 @if mpc-bootstrap
15079 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
15080 configure-stagefeedback-mpc:
15081 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15083 @r=`${PWD_COMMAND}`; export r; \
15084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15086 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15087 $(HOST_EXPORTS) \
15088 $(POSTSTAGE1_HOST_EXPORTS) \
15089 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15090 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15091 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15092 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
15093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15094 cd $(HOST_SUBDIR)/mpc || exit 1; \
15095 case $(srcdir) in \
15096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15097 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15099 esac; \
15100 module_srcdir=mpc; \
15101 $(SHELL) $$s/$$module_srcdir/configure \
15102 --srcdir=$${topdir}/$$module_srcdir \
15103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15104 --target=${target_alias} \
15105 --with-build-libsubdir=$(HOST_SUBDIR) \
15106 $(STAGEfeedback_CONFIGURE_FLAGS) \
15107 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15108 @endif mpc-bootstrap
15110 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
15111 maybe-configure-stageautoprofile-mpc:
15112 @if mpc-bootstrap
15113 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
15114 configure-stageautoprofile-mpc:
15115 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15117 @r=`${PWD_COMMAND}`; export r; \
15118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15119 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15120 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15121 $(HOST_EXPORTS) \
15122 $(POSTSTAGE1_HOST_EXPORTS) \
15123 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15124 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15125 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15126 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
15127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15128 cd $(HOST_SUBDIR)/mpc || exit 1; \
15129 case $(srcdir) in \
15130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15131 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15133 esac; \
15134 module_srcdir=mpc; \
15135 $(SHELL) $$s/$$module_srcdir/configure \
15136 --srcdir=$${topdir}/$$module_srcdir \
15137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15138 --target=${target_alias} \
15139 --with-build-libsubdir=$(HOST_SUBDIR) \
15140 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15141 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15142 @endif mpc-bootstrap
15144 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
15145 maybe-configure-stageautofeedback-mpc:
15146 @if mpc-bootstrap
15147 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
15148 configure-stageautofeedback-mpc:
15149 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15151 @r=`${PWD_COMMAND}`; export r; \
15152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15153 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15154 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15155 $(HOST_EXPORTS) \
15156 $(POSTSTAGE1_HOST_EXPORTS) \
15157 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15158 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15159 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15160 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15162 cd $(HOST_SUBDIR)/mpc || exit 1; \
15163 case $(srcdir) in \
15164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15165 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15167 esac; \
15168 module_srcdir=mpc; \
15169 $(SHELL) $$s/$$module_srcdir/configure \
15170 --srcdir=$${topdir}/$$module_srcdir \
15171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15172 --target=${target_alias} \
15173 --with-build-libsubdir=$(HOST_SUBDIR) \
15174 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15175 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15176 @endif mpc-bootstrap
15182 .PHONY: all-mpc maybe-all-mpc
15183 maybe-all-mpc:
15184 @if gcc-bootstrap
15185 all-mpc: stage_current
15186 @endif gcc-bootstrap
15187 @if mpc
15188 TARGET-mpc=all
15189 maybe-all-mpc: all-mpc
15190 all-mpc: configure-mpc
15191 @r=`${PWD_COMMAND}`; export r; \
15192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15193 $(HOST_EXPORTS) \
15194 (cd $(HOST_SUBDIR)/mpc && \
15195 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15196 $(TARGET-mpc))
15197 @endif mpc
15201 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15202 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15203 maybe-all-stage1-mpc:
15204 maybe-clean-stage1-mpc:
15205 @if mpc-bootstrap
15206 maybe-all-stage1-mpc: all-stage1-mpc
15207 all-stage1: all-stage1-mpc
15208 TARGET-stage1-mpc = $(TARGET-mpc)
15209 all-stage1-mpc: configure-stage1-mpc
15210 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15211 @r=`${PWD_COMMAND}`; export r; \
15212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15213 TFLAGS="$(STAGE1_TFLAGS)"; \
15214 $(HOST_EXPORTS) \
15215 cd $(HOST_SUBDIR)/mpc && \
15217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15218 CFLAGS="$(STAGE1_CFLAGS)" \
15219 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
15220 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15221 LIBCFLAGS="$(LIBCFLAGS)" \
15222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15225 $(EXTRA_HOST_FLAGS) \
15226 $(STAGE1_FLAGS_TO_PASS) \
15227 TFLAGS="$(STAGE1_TFLAGS)" \
15228 $(TARGET-stage1-mpc)
15230 maybe-clean-stage1-mpc: clean-stage1-mpc
15231 clean-stage1: clean-stage1-mpc
15232 clean-stage1-mpc:
15233 @if [ $(current_stage) = stage1 ]; then \
15234 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15235 else \
15236 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15237 $(MAKE) stage1-start; \
15238 fi; \
15239 cd $(HOST_SUBDIR)/mpc && \
15240 $(MAKE) $(EXTRA_HOST_FLAGS) \
15241 $(STAGE1_FLAGS_TO_PASS) clean
15242 @endif mpc-bootstrap
15245 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15246 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15247 maybe-all-stage2-mpc:
15248 maybe-clean-stage2-mpc:
15249 @if mpc-bootstrap
15250 maybe-all-stage2-mpc: all-stage2-mpc
15251 all-stage2: all-stage2-mpc
15252 TARGET-stage2-mpc = $(TARGET-mpc)
15253 all-stage2-mpc: configure-stage2-mpc
15254 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15255 @r=`${PWD_COMMAND}`; export r; \
15256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15257 TFLAGS="$(STAGE2_TFLAGS)"; \
15258 $(HOST_EXPORTS) \
15259 $(POSTSTAGE1_HOST_EXPORTS) \
15260 cd $(HOST_SUBDIR)/mpc && \
15262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15263 CFLAGS="$(STAGE2_CFLAGS)" \
15264 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
15265 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15266 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15271 TFLAGS="$(STAGE2_TFLAGS)" \
15272 $(TARGET-stage2-mpc)
15274 maybe-clean-stage2-mpc: clean-stage2-mpc
15275 clean-stage2: clean-stage2-mpc
15276 clean-stage2-mpc:
15277 @if [ $(current_stage) = stage2 ]; then \
15278 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15279 else \
15280 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15281 $(MAKE) stage2-start; \
15282 fi; \
15283 cd $(HOST_SUBDIR)/mpc && \
15284 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15285 @endif mpc-bootstrap
15288 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15289 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15290 maybe-all-stage3-mpc:
15291 maybe-clean-stage3-mpc:
15292 @if mpc-bootstrap
15293 maybe-all-stage3-mpc: all-stage3-mpc
15294 all-stage3: all-stage3-mpc
15295 TARGET-stage3-mpc = $(TARGET-mpc)
15296 all-stage3-mpc: configure-stage3-mpc
15297 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15298 @r=`${PWD_COMMAND}`; export r; \
15299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15300 TFLAGS="$(STAGE3_TFLAGS)"; \
15301 $(HOST_EXPORTS) \
15302 $(POSTSTAGE1_HOST_EXPORTS) \
15303 cd $(HOST_SUBDIR)/mpc && \
15305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15306 CFLAGS="$(STAGE3_CFLAGS)" \
15307 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
15308 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15309 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15310 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15311 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15312 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15313 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15314 TFLAGS="$(STAGE3_TFLAGS)" \
15315 $(TARGET-stage3-mpc)
15317 maybe-clean-stage3-mpc: clean-stage3-mpc
15318 clean-stage3: clean-stage3-mpc
15319 clean-stage3-mpc:
15320 @if [ $(current_stage) = stage3 ]; then \
15321 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15322 else \
15323 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15324 $(MAKE) stage3-start; \
15325 fi; \
15326 cd $(HOST_SUBDIR)/mpc && \
15327 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15328 @endif mpc-bootstrap
15331 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15332 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15333 maybe-all-stage4-mpc:
15334 maybe-clean-stage4-mpc:
15335 @if mpc-bootstrap
15336 maybe-all-stage4-mpc: all-stage4-mpc
15337 all-stage4: all-stage4-mpc
15338 TARGET-stage4-mpc = $(TARGET-mpc)
15339 all-stage4-mpc: configure-stage4-mpc
15340 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15341 @r=`${PWD_COMMAND}`; export r; \
15342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15343 TFLAGS="$(STAGE4_TFLAGS)"; \
15344 $(HOST_EXPORTS) \
15345 $(POSTSTAGE1_HOST_EXPORTS) \
15346 cd $(HOST_SUBDIR)/mpc && \
15348 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15349 CFLAGS="$(STAGE4_CFLAGS)" \
15350 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
15351 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15352 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15353 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15354 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15355 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15356 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15357 TFLAGS="$(STAGE4_TFLAGS)" \
15358 $(TARGET-stage4-mpc)
15360 maybe-clean-stage4-mpc: clean-stage4-mpc
15361 clean-stage4: clean-stage4-mpc
15362 clean-stage4-mpc:
15363 @if [ $(current_stage) = stage4 ]; then \
15364 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15365 else \
15366 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15367 $(MAKE) stage4-start; \
15368 fi; \
15369 cd $(HOST_SUBDIR)/mpc && \
15370 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15371 @endif mpc-bootstrap
15374 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15375 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15376 maybe-all-stageprofile-mpc:
15377 maybe-clean-stageprofile-mpc:
15378 @if mpc-bootstrap
15379 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15380 all-stageprofile: all-stageprofile-mpc
15381 TARGET-stageprofile-mpc = $(TARGET-mpc)
15382 all-stageprofile-mpc: configure-stageprofile-mpc
15383 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15384 @r=`${PWD_COMMAND}`; export r; \
15385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15386 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15387 $(HOST_EXPORTS) \
15388 $(POSTSTAGE1_HOST_EXPORTS) \
15389 cd $(HOST_SUBDIR)/mpc && \
15391 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15392 CFLAGS="$(STAGEprofile_CFLAGS)" \
15393 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
15394 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15395 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15400 TFLAGS="$(STAGEprofile_TFLAGS)" \
15401 $(TARGET-stageprofile-mpc)
15403 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15404 clean-stageprofile: clean-stageprofile-mpc
15405 clean-stageprofile-mpc:
15406 @if [ $(current_stage) = stageprofile ]; then \
15407 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15408 else \
15409 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15410 $(MAKE) stageprofile-start; \
15411 fi; \
15412 cd $(HOST_SUBDIR)/mpc && \
15413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15414 @endif mpc-bootstrap
15417 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15418 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15419 maybe-all-stagetrain-mpc:
15420 maybe-clean-stagetrain-mpc:
15421 @if mpc-bootstrap
15422 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15423 all-stagetrain: all-stagetrain-mpc
15424 TARGET-stagetrain-mpc = $(TARGET-mpc)
15425 all-stagetrain-mpc: configure-stagetrain-mpc
15426 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15427 @r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15429 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15430 $(HOST_EXPORTS) \
15431 $(POSTSTAGE1_HOST_EXPORTS) \
15432 cd $(HOST_SUBDIR)/mpc && \
15434 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15435 CFLAGS="$(STAGEtrain_CFLAGS)" \
15436 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
15437 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15438 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15439 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15440 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15441 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15442 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15443 TFLAGS="$(STAGEtrain_TFLAGS)" \
15444 $(TARGET-stagetrain-mpc)
15446 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15447 clean-stagetrain: clean-stagetrain-mpc
15448 clean-stagetrain-mpc:
15449 @if [ $(current_stage) = stagetrain ]; then \
15450 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15451 else \
15452 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15453 $(MAKE) stagetrain-start; \
15454 fi; \
15455 cd $(HOST_SUBDIR)/mpc && \
15456 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15457 @endif mpc-bootstrap
15460 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15461 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15462 maybe-all-stagefeedback-mpc:
15463 maybe-clean-stagefeedback-mpc:
15464 @if mpc-bootstrap
15465 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15466 all-stagefeedback: all-stagefeedback-mpc
15467 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15468 all-stagefeedback-mpc: configure-stagefeedback-mpc
15469 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15470 @r=`${PWD_COMMAND}`; export r; \
15471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15472 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15473 $(HOST_EXPORTS) \
15474 $(POSTSTAGE1_HOST_EXPORTS) \
15475 cd $(HOST_SUBDIR)/mpc && \
15477 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15478 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15479 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
15480 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15481 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15486 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15487 $(TARGET-stagefeedback-mpc)
15489 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15490 clean-stagefeedback: clean-stagefeedback-mpc
15491 clean-stagefeedback-mpc:
15492 @if [ $(current_stage) = stagefeedback ]; then \
15493 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15494 else \
15495 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15496 $(MAKE) stagefeedback-start; \
15497 fi; \
15498 cd $(HOST_SUBDIR)/mpc && \
15499 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15500 @endif mpc-bootstrap
15503 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15504 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15505 maybe-all-stageautoprofile-mpc:
15506 maybe-clean-stageautoprofile-mpc:
15507 @if mpc-bootstrap
15508 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15509 all-stageautoprofile: all-stageautoprofile-mpc
15510 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15511 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15512 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15513 @r=`${PWD_COMMAND}`; export r; \
15514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15515 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15516 $(HOST_EXPORTS) \
15517 $(POSTSTAGE1_HOST_EXPORTS) \
15518 cd $(HOST_SUBDIR)/mpc && \
15519 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15520 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15521 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15522 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
15523 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15524 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15528 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15529 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15530 $(TARGET-stageautoprofile-mpc)
15532 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15533 clean-stageautoprofile: clean-stageautoprofile-mpc
15534 clean-stageautoprofile-mpc:
15535 @if [ $(current_stage) = stageautoprofile ]; then \
15536 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15537 else \
15538 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15539 $(MAKE) stageautoprofile-start; \
15540 fi; \
15541 cd $(HOST_SUBDIR)/mpc && \
15542 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15543 @endif mpc-bootstrap
15546 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15547 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15548 maybe-all-stageautofeedback-mpc:
15549 maybe-clean-stageautofeedback-mpc:
15550 @if mpc-bootstrap
15551 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15552 all-stageautofeedback: all-stageautofeedback-mpc
15553 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15554 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15555 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15556 @r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15559 $(HOST_EXPORTS) \
15560 $(POSTSTAGE1_HOST_EXPORTS) \
15561 cd $(HOST_SUBDIR)/mpc && \
15563 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15564 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15565 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
15566 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15567 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15572 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15573 $(TARGET-stageautofeedback-mpc)
15575 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15576 clean-stageautofeedback: clean-stageautofeedback-mpc
15577 clean-stageautofeedback-mpc:
15578 @if [ $(current_stage) = stageautofeedback ]; then \
15579 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15580 else \
15581 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15582 $(MAKE) stageautofeedback-start; \
15583 fi; \
15584 cd $(HOST_SUBDIR)/mpc && \
15585 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15586 @endif mpc-bootstrap
15592 .PHONY: check-mpc maybe-check-mpc
15593 maybe-check-mpc:
15594 @if mpc
15595 maybe-check-mpc: check-mpc
15597 check-mpc:
15598 @: $(MAKE); $(unstage)
15599 @r=`${PWD_COMMAND}`; export r; \
15600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15601 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15602 (cd $(HOST_SUBDIR)/mpc && \
15603 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15605 @endif mpc
15607 .PHONY: install-mpc maybe-install-mpc
15608 maybe-install-mpc:
15609 @if mpc
15610 maybe-install-mpc: install-mpc
15612 install-mpc:
15614 @endif mpc
15616 .PHONY: install-strip-mpc maybe-install-strip-mpc
15617 maybe-install-strip-mpc:
15618 @if mpc
15619 maybe-install-strip-mpc: install-strip-mpc
15621 install-strip-mpc:
15623 @endif mpc
15625 # Other targets (info, dvi, pdf, etc.)
15627 .PHONY: maybe-info-mpc info-mpc
15628 maybe-info-mpc:
15629 @if mpc
15630 maybe-info-mpc: info-mpc
15632 info-mpc: \
15633 configure-mpc
15634 @[ -f ./mpc/Makefile ] || exit 0; \
15635 r=`${PWD_COMMAND}`; export r; \
15636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15637 $(HOST_EXPORTS) \
15638 for flag in $(EXTRA_HOST_FLAGS) ; do \
15639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15640 done; \
15641 echo "Doing info in mpc"; \
15642 (cd $(HOST_SUBDIR)/mpc && \
15643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15645 "RANLIB=$${RANLIB}" \
15646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15647 info) \
15648 || exit 1
15650 @endif mpc
15652 .PHONY: maybe-dvi-mpc dvi-mpc
15653 maybe-dvi-mpc:
15654 @if mpc
15655 maybe-dvi-mpc: dvi-mpc
15657 dvi-mpc: \
15658 configure-mpc
15659 @[ -f ./mpc/Makefile ] || exit 0; \
15660 r=`${PWD_COMMAND}`; export r; \
15661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15662 $(HOST_EXPORTS) \
15663 for flag in $(EXTRA_HOST_FLAGS) ; do \
15664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15665 done; \
15666 echo "Doing dvi in mpc"; \
15667 (cd $(HOST_SUBDIR)/mpc && \
15668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15670 "RANLIB=$${RANLIB}" \
15671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15672 dvi) \
15673 || exit 1
15675 @endif mpc
15677 .PHONY: maybe-pdf-mpc pdf-mpc
15678 maybe-pdf-mpc:
15679 @if mpc
15680 maybe-pdf-mpc: pdf-mpc
15682 pdf-mpc: \
15683 configure-mpc
15684 @[ -f ./mpc/Makefile ] || exit 0; \
15685 r=`${PWD_COMMAND}`; export r; \
15686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15687 $(HOST_EXPORTS) \
15688 for flag in $(EXTRA_HOST_FLAGS) ; do \
15689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15690 done; \
15691 echo "Doing pdf in mpc"; \
15692 (cd $(HOST_SUBDIR)/mpc && \
15693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15695 "RANLIB=$${RANLIB}" \
15696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15697 pdf) \
15698 || exit 1
15700 @endif mpc
15702 .PHONY: maybe-html-mpc html-mpc
15703 maybe-html-mpc:
15704 @if mpc
15705 maybe-html-mpc: html-mpc
15707 html-mpc: \
15708 configure-mpc
15709 @[ -f ./mpc/Makefile ] || exit 0; \
15710 r=`${PWD_COMMAND}`; export r; \
15711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712 $(HOST_EXPORTS) \
15713 for flag in $(EXTRA_HOST_FLAGS) ; do \
15714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15715 done; \
15716 echo "Doing html in mpc"; \
15717 (cd $(HOST_SUBDIR)/mpc && \
15718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15720 "RANLIB=$${RANLIB}" \
15721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15722 html) \
15723 || exit 1
15725 @endif mpc
15727 .PHONY: maybe-TAGS-mpc TAGS-mpc
15728 maybe-TAGS-mpc:
15729 @if mpc
15730 maybe-TAGS-mpc: TAGS-mpc
15732 TAGS-mpc: \
15733 configure-mpc
15734 @[ -f ./mpc/Makefile ] || exit 0; \
15735 r=`${PWD_COMMAND}`; export r; \
15736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15737 $(HOST_EXPORTS) \
15738 for flag in $(EXTRA_HOST_FLAGS) ; do \
15739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15740 done; \
15741 echo "Doing TAGS in mpc"; \
15742 (cd $(HOST_SUBDIR)/mpc && \
15743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15745 "RANLIB=$${RANLIB}" \
15746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15747 TAGS) \
15748 || exit 1
15750 @endif mpc
15752 .PHONY: maybe-install-info-mpc install-info-mpc
15753 maybe-install-info-mpc:
15754 @if mpc
15755 maybe-install-info-mpc: install-info-mpc
15757 install-info-mpc: \
15758 configure-mpc \
15759 info-mpc
15760 @[ -f ./mpc/Makefile ] || exit 0; \
15761 r=`${PWD_COMMAND}`; export r; \
15762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15763 $(HOST_EXPORTS) \
15764 for flag in $(EXTRA_HOST_FLAGS) ; do \
15765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15766 done; \
15767 echo "Doing install-info in mpc"; \
15768 (cd $(HOST_SUBDIR)/mpc && \
15769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15771 "RANLIB=$${RANLIB}" \
15772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15773 install-info) \
15774 || exit 1
15776 @endif mpc
15778 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15779 maybe-install-pdf-mpc:
15780 @if mpc
15781 maybe-install-pdf-mpc: install-pdf-mpc
15783 install-pdf-mpc: \
15784 configure-mpc \
15785 pdf-mpc
15786 @[ -f ./mpc/Makefile ] || exit 0; \
15787 r=`${PWD_COMMAND}`; export r; \
15788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15789 $(HOST_EXPORTS) \
15790 for flag in $(EXTRA_HOST_FLAGS) ; do \
15791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15792 done; \
15793 echo "Doing install-pdf in mpc"; \
15794 (cd $(HOST_SUBDIR)/mpc && \
15795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15797 "RANLIB=$${RANLIB}" \
15798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15799 install-pdf) \
15800 || exit 1
15802 @endif mpc
15804 .PHONY: maybe-install-html-mpc install-html-mpc
15805 maybe-install-html-mpc:
15806 @if mpc
15807 maybe-install-html-mpc: install-html-mpc
15809 install-html-mpc: \
15810 configure-mpc \
15811 html-mpc
15812 @[ -f ./mpc/Makefile ] || exit 0; \
15813 r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 $(HOST_EXPORTS) \
15816 for flag in $(EXTRA_HOST_FLAGS) ; do \
15817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15818 done; \
15819 echo "Doing install-html in mpc"; \
15820 (cd $(HOST_SUBDIR)/mpc && \
15821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15823 "RANLIB=$${RANLIB}" \
15824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15825 install-html) \
15826 || exit 1
15828 @endif mpc
15830 .PHONY: maybe-installcheck-mpc installcheck-mpc
15831 maybe-installcheck-mpc:
15832 @if mpc
15833 maybe-installcheck-mpc: installcheck-mpc
15835 installcheck-mpc: \
15836 configure-mpc
15837 @[ -f ./mpc/Makefile ] || exit 0; \
15838 r=`${PWD_COMMAND}`; export r; \
15839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15840 $(HOST_EXPORTS) \
15841 for flag in $(EXTRA_HOST_FLAGS) ; do \
15842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15843 done; \
15844 echo "Doing installcheck in mpc"; \
15845 (cd $(HOST_SUBDIR)/mpc && \
15846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15848 "RANLIB=$${RANLIB}" \
15849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15850 installcheck) \
15851 || exit 1
15853 @endif mpc
15855 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15856 maybe-mostlyclean-mpc:
15857 @if mpc
15858 maybe-mostlyclean-mpc: mostlyclean-mpc
15860 mostlyclean-mpc:
15861 @[ -f ./mpc/Makefile ] || exit 0; \
15862 r=`${PWD_COMMAND}`; export r; \
15863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15864 $(HOST_EXPORTS) \
15865 for flag in $(EXTRA_HOST_FLAGS) ; do \
15866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15867 done; \
15868 echo "Doing mostlyclean in mpc"; \
15869 (cd $(HOST_SUBDIR)/mpc && \
15870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15872 "RANLIB=$${RANLIB}" \
15873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15874 mostlyclean) \
15875 || exit 1
15877 @endif mpc
15879 .PHONY: maybe-clean-mpc clean-mpc
15880 maybe-clean-mpc:
15881 @if mpc
15882 maybe-clean-mpc: clean-mpc
15884 clean-mpc:
15885 @[ -f ./mpc/Makefile ] || exit 0; \
15886 r=`${PWD_COMMAND}`; export r; \
15887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15888 $(HOST_EXPORTS) \
15889 for flag in $(EXTRA_HOST_FLAGS) ; do \
15890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15891 done; \
15892 echo "Doing clean in mpc"; \
15893 (cd $(HOST_SUBDIR)/mpc && \
15894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15896 "RANLIB=$${RANLIB}" \
15897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15898 clean) \
15899 || exit 1
15901 @endif mpc
15903 .PHONY: maybe-distclean-mpc distclean-mpc
15904 maybe-distclean-mpc:
15905 @if mpc
15906 maybe-distclean-mpc: distclean-mpc
15908 distclean-mpc:
15909 @[ -f ./mpc/Makefile ] || exit 0; \
15910 r=`${PWD_COMMAND}`; export r; \
15911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15912 $(HOST_EXPORTS) \
15913 for flag in $(EXTRA_HOST_FLAGS) ; do \
15914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15915 done; \
15916 echo "Doing distclean in mpc"; \
15917 (cd $(HOST_SUBDIR)/mpc && \
15918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920 "RANLIB=$${RANLIB}" \
15921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15922 distclean) \
15923 || exit 1
15925 @endif mpc
15927 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15928 maybe-maintainer-clean-mpc:
15929 @if mpc
15930 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15932 maintainer-clean-mpc:
15933 @[ -f ./mpc/Makefile ] || exit 0; \
15934 r=`${PWD_COMMAND}`; export r; \
15935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15936 $(HOST_EXPORTS) \
15937 for flag in $(EXTRA_HOST_FLAGS) ; do \
15938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15939 done; \
15940 echo "Doing maintainer-clean in mpc"; \
15941 (cd $(HOST_SUBDIR)/mpc && \
15942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15944 "RANLIB=$${RANLIB}" \
15945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15946 maintainer-clean) \
15947 || exit 1
15949 @endif mpc
15953 .PHONY: configure-isl maybe-configure-isl
15954 maybe-configure-isl:
15955 @if gcc-bootstrap
15956 configure-isl: stage_current
15957 @endif gcc-bootstrap
15958 @if isl
15959 maybe-configure-isl: configure-isl
15960 configure-isl:
15961 @r=`${PWD_COMMAND}`; export r; \
15962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15963 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15965 $(HOST_EXPORTS) \
15966 echo Configuring in $(HOST_SUBDIR)/isl; \
15967 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15968 case $(srcdir) in \
15969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15970 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15972 esac; \
15973 module_srcdir=isl; \
15974 $(SHELL) \
15975 $$s/$$module_srcdir/configure \
15976 --srcdir=$${topdir}/$$module_srcdir \
15977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15978 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15979 || exit 1
15980 @endif isl
15984 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15985 maybe-configure-stage1-isl:
15986 @if isl-bootstrap
15987 maybe-configure-stage1-isl: configure-stage1-isl
15988 configure-stage1-isl:
15989 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15991 @r=`${PWD_COMMAND}`; export r; \
15992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15993 TFLAGS="$(STAGE1_TFLAGS)"; \
15994 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15995 $(HOST_EXPORTS) \
15996 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15997 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15998 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15999 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
16000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16001 cd $(HOST_SUBDIR)/isl || exit 1; \
16002 case $(srcdir) in \
16003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16004 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16006 esac; \
16007 module_srcdir=isl; \
16008 $(SHELL) $$s/$$module_srcdir/configure \
16009 --srcdir=$${topdir}/$$module_srcdir \
16010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16011 --target=${target_alias} \
16013 $(STAGE1_CONFIGURE_FLAGS) \
16014 --disable-shared @extra_isl_gmp_configure_flags@
16015 @endif isl-bootstrap
16017 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
16018 maybe-configure-stage2-isl:
16019 @if isl-bootstrap
16020 maybe-configure-stage2-isl: configure-stage2-isl
16021 configure-stage2-isl:
16022 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16023 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16024 @r=`${PWD_COMMAND}`; export r; \
16025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16026 TFLAGS="$(STAGE2_TFLAGS)"; \
16027 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16028 $(HOST_EXPORTS) \
16029 $(POSTSTAGE1_HOST_EXPORTS) \
16030 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16031 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16032 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16033 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
16034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16035 cd $(HOST_SUBDIR)/isl || exit 1; \
16036 case $(srcdir) in \
16037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16038 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16040 esac; \
16041 module_srcdir=isl; \
16042 $(SHELL) $$s/$$module_srcdir/configure \
16043 --srcdir=$${topdir}/$$module_srcdir \
16044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16045 --target=${target_alias} \
16046 --with-build-libsubdir=$(HOST_SUBDIR) \
16047 $(STAGE2_CONFIGURE_FLAGS) \
16048 --disable-shared @extra_isl_gmp_configure_flags@
16049 @endif isl-bootstrap
16051 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
16052 maybe-configure-stage3-isl:
16053 @if isl-bootstrap
16054 maybe-configure-stage3-isl: configure-stage3-isl
16055 configure-stage3-isl:
16056 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16057 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16058 @r=`${PWD_COMMAND}`; export r; \
16059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16060 TFLAGS="$(STAGE3_TFLAGS)"; \
16061 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16062 $(HOST_EXPORTS) \
16063 $(POSTSTAGE1_HOST_EXPORTS) \
16064 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16065 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16066 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16067 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
16068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16069 cd $(HOST_SUBDIR)/isl || exit 1; \
16070 case $(srcdir) in \
16071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16072 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16074 esac; \
16075 module_srcdir=isl; \
16076 $(SHELL) $$s/$$module_srcdir/configure \
16077 --srcdir=$${topdir}/$$module_srcdir \
16078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16079 --target=${target_alias} \
16080 --with-build-libsubdir=$(HOST_SUBDIR) \
16081 $(STAGE3_CONFIGURE_FLAGS) \
16082 --disable-shared @extra_isl_gmp_configure_flags@
16083 @endif isl-bootstrap
16085 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
16086 maybe-configure-stage4-isl:
16087 @if isl-bootstrap
16088 maybe-configure-stage4-isl: configure-stage4-isl
16089 configure-stage4-isl:
16090 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16092 @r=`${PWD_COMMAND}`; export r; \
16093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16094 TFLAGS="$(STAGE4_TFLAGS)"; \
16095 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16096 $(HOST_EXPORTS) \
16097 $(POSTSTAGE1_HOST_EXPORTS) \
16098 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16099 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16100 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16101 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
16102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16103 cd $(HOST_SUBDIR)/isl || exit 1; \
16104 case $(srcdir) in \
16105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16106 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16108 esac; \
16109 module_srcdir=isl; \
16110 $(SHELL) $$s/$$module_srcdir/configure \
16111 --srcdir=$${topdir}/$$module_srcdir \
16112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16113 --target=${target_alias} \
16114 --with-build-libsubdir=$(HOST_SUBDIR) \
16115 $(STAGE4_CONFIGURE_FLAGS) \
16116 --disable-shared @extra_isl_gmp_configure_flags@
16117 @endif isl-bootstrap
16119 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
16120 maybe-configure-stageprofile-isl:
16121 @if isl-bootstrap
16122 maybe-configure-stageprofile-isl: configure-stageprofile-isl
16123 configure-stageprofile-isl:
16124 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16126 @r=`${PWD_COMMAND}`; export r; \
16127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16128 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16129 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16130 $(HOST_EXPORTS) \
16131 $(POSTSTAGE1_HOST_EXPORTS) \
16132 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16133 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16134 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16135 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
16136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16137 cd $(HOST_SUBDIR)/isl || exit 1; \
16138 case $(srcdir) in \
16139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16140 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16142 esac; \
16143 module_srcdir=isl; \
16144 $(SHELL) $$s/$$module_srcdir/configure \
16145 --srcdir=$${topdir}/$$module_srcdir \
16146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16147 --target=${target_alias} \
16148 --with-build-libsubdir=$(HOST_SUBDIR) \
16149 $(STAGEprofile_CONFIGURE_FLAGS) \
16150 --disable-shared @extra_isl_gmp_configure_flags@
16151 @endif isl-bootstrap
16153 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
16154 maybe-configure-stagetrain-isl:
16155 @if isl-bootstrap
16156 maybe-configure-stagetrain-isl: configure-stagetrain-isl
16157 configure-stagetrain-isl:
16158 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16160 @r=`${PWD_COMMAND}`; export r; \
16161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16162 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16163 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16164 $(HOST_EXPORTS) \
16165 $(POSTSTAGE1_HOST_EXPORTS) \
16166 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
16167 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
16168 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16169 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
16170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16171 cd $(HOST_SUBDIR)/isl || exit 1; \
16172 case $(srcdir) in \
16173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16174 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16176 esac; \
16177 module_srcdir=isl; \
16178 $(SHELL) $$s/$$module_srcdir/configure \
16179 --srcdir=$${topdir}/$$module_srcdir \
16180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16181 --target=${target_alias} \
16182 --with-build-libsubdir=$(HOST_SUBDIR) \
16183 $(STAGEtrain_CONFIGURE_FLAGS) \
16184 --disable-shared @extra_isl_gmp_configure_flags@
16185 @endif isl-bootstrap
16187 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16188 maybe-configure-stagefeedback-isl:
16189 @if isl-bootstrap
16190 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16191 configure-stagefeedback-isl:
16192 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16194 @r=`${PWD_COMMAND}`; export r; \
16195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16196 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16197 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16198 $(HOST_EXPORTS) \
16199 $(POSTSTAGE1_HOST_EXPORTS) \
16200 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16201 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16202 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16203 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16205 cd $(HOST_SUBDIR)/isl || exit 1; \
16206 case $(srcdir) in \
16207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16208 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16210 esac; \
16211 module_srcdir=isl; \
16212 $(SHELL) $$s/$$module_srcdir/configure \
16213 --srcdir=$${topdir}/$$module_srcdir \
16214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16215 --target=${target_alias} \
16216 --with-build-libsubdir=$(HOST_SUBDIR) \
16217 $(STAGEfeedback_CONFIGURE_FLAGS) \
16218 --disable-shared @extra_isl_gmp_configure_flags@
16219 @endif isl-bootstrap
16221 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16222 maybe-configure-stageautoprofile-isl:
16223 @if isl-bootstrap
16224 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16225 configure-stageautoprofile-isl:
16226 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16228 @r=`${PWD_COMMAND}`; export r; \
16229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16230 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16231 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16232 $(HOST_EXPORTS) \
16233 $(POSTSTAGE1_HOST_EXPORTS) \
16234 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16235 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16236 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16237 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16239 cd $(HOST_SUBDIR)/isl || exit 1; \
16240 case $(srcdir) in \
16241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16242 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16244 esac; \
16245 module_srcdir=isl; \
16246 $(SHELL) $$s/$$module_srcdir/configure \
16247 --srcdir=$${topdir}/$$module_srcdir \
16248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16249 --target=${target_alias} \
16250 --with-build-libsubdir=$(HOST_SUBDIR) \
16251 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16252 --disable-shared @extra_isl_gmp_configure_flags@
16253 @endif isl-bootstrap
16255 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16256 maybe-configure-stageautofeedback-isl:
16257 @if isl-bootstrap
16258 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16259 configure-stageautofeedback-isl:
16260 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16262 @r=`${PWD_COMMAND}`; export r; \
16263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16264 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16265 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16266 $(HOST_EXPORTS) \
16267 $(POSTSTAGE1_HOST_EXPORTS) \
16268 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16269 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16270 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16271 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16273 cd $(HOST_SUBDIR)/isl || exit 1; \
16274 case $(srcdir) in \
16275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16276 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16278 esac; \
16279 module_srcdir=isl; \
16280 $(SHELL) $$s/$$module_srcdir/configure \
16281 --srcdir=$${topdir}/$$module_srcdir \
16282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16283 --target=${target_alias} \
16284 --with-build-libsubdir=$(HOST_SUBDIR) \
16285 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16286 --disable-shared @extra_isl_gmp_configure_flags@
16287 @endif isl-bootstrap
16293 .PHONY: all-isl maybe-all-isl
16294 maybe-all-isl:
16295 @if gcc-bootstrap
16296 all-isl: stage_current
16297 @endif gcc-bootstrap
16298 @if isl
16299 TARGET-isl=all
16300 maybe-all-isl: all-isl
16301 all-isl: configure-isl
16302 @r=`${PWD_COMMAND}`; export r; \
16303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16304 $(HOST_EXPORTS) \
16305 (cd $(HOST_SUBDIR)/isl && \
16306 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16307 $(TARGET-isl))
16308 @endif isl
16312 .PHONY: all-stage1-isl maybe-all-stage1-isl
16313 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16314 maybe-all-stage1-isl:
16315 maybe-clean-stage1-isl:
16316 @if isl-bootstrap
16317 maybe-all-stage1-isl: all-stage1-isl
16318 all-stage1: all-stage1-isl
16319 TARGET-stage1-isl = $(TARGET-isl)
16320 all-stage1-isl: configure-stage1-isl
16321 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16322 @r=`${PWD_COMMAND}`; export r; \
16323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16324 TFLAGS="$(STAGE1_TFLAGS)"; \
16325 $(HOST_EXPORTS) \
16326 cd $(HOST_SUBDIR)/isl && \
16328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16329 CFLAGS="$(STAGE1_CFLAGS)" \
16330 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
16331 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16332 LIBCFLAGS="$(LIBCFLAGS)" \
16333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16336 $(EXTRA_HOST_FLAGS) \
16337 $(STAGE1_FLAGS_TO_PASS) V=1 \
16338 TFLAGS="$(STAGE1_TFLAGS)" \
16339 $(TARGET-stage1-isl)
16341 maybe-clean-stage1-isl: clean-stage1-isl
16342 clean-stage1: clean-stage1-isl
16343 clean-stage1-isl:
16344 @if [ $(current_stage) = stage1 ]; then \
16345 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16346 else \
16347 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16348 $(MAKE) stage1-start; \
16349 fi; \
16350 cd $(HOST_SUBDIR)/isl && \
16351 $(MAKE) $(EXTRA_HOST_FLAGS) \
16352 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16353 @endif isl-bootstrap
16356 .PHONY: all-stage2-isl maybe-all-stage2-isl
16357 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16358 maybe-all-stage2-isl:
16359 maybe-clean-stage2-isl:
16360 @if isl-bootstrap
16361 maybe-all-stage2-isl: all-stage2-isl
16362 all-stage2: all-stage2-isl
16363 TARGET-stage2-isl = $(TARGET-isl)
16364 all-stage2-isl: configure-stage2-isl
16365 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16366 @r=`${PWD_COMMAND}`; export r; \
16367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 TFLAGS="$(STAGE2_TFLAGS)"; \
16369 $(HOST_EXPORTS) \
16370 $(POSTSTAGE1_HOST_EXPORTS) \
16371 cd $(HOST_SUBDIR)/isl && \
16373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16374 CFLAGS="$(STAGE2_CFLAGS)" \
16375 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
16376 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16377 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16378 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16379 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16380 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16381 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16382 TFLAGS="$(STAGE2_TFLAGS)" \
16383 $(TARGET-stage2-isl)
16385 maybe-clean-stage2-isl: clean-stage2-isl
16386 clean-stage2: clean-stage2-isl
16387 clean-stage2-isl:
16388 @if [ $(current_stage) = stage2 ]; then \
16389 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16390 else \
16391 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16392 $(MAKE) stage2-start; \
16393 fi; \
16394 cd $(HOST_SUBDIR)/isl && \
16395 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16396 @endif isl-bootstrap
16399 .PHONY: all-stage3-isl maybe-all-stage3-isl
16400 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16401 maybe-all-stage3-isl:
16402 maybe-clean-stage3-isl:
16403 @if isl-bootstrap
16404 maybe-all-stage3-isl: all-stage3-isl
16405 all-stage3: all-stage3-isl
16406 TARGET-stage3-isl = $(TARGET-isl)
16407 all-stage3-isl: configure-stage3-isl
16408 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16409 @r=`${PWD_COMMAND}`; export r; \
16410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16411 TFLAGS="$(STAGE3_TFLAGS)"; \
16412 $(HOST_EXPORTS) \
16413 $(POSTSTAGE1_HOST_EXPORTS) \
16414 cd $(HOST_SUBDIR)/isl && \
16416 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16417 CFLAGS="$(STAGE3_CFLAGS)" \
16418 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
16419 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16420 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16421 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16422 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16423 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16424 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16425 TFLAGS="$(STAGE3_TFLAGS)" \
16426 $(TARGET-stage3-isl)
16428 maybe-clean-stage3-isl: clean-stage3-isl
16429 clean-stage3: clean-stage3-isl
16430 clean-stage3-isl:
16431 @if [ $(current_stage) = stage3 ]; then \
16432 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16433 else \
16434 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16435 $(MAKE) stage3-start; \
16436 fi; \
16437 cd $(HOST_SUBDIR)/isl && \
16438 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16439 @endif isl-bootstrap
16442 .PHONY: all-stage4-isl maybe-all-stage4-isl
16443 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16444 maybe-all-stage4-isl:
16445 maybe-clean-stage4-isl:
16446 @if isl-bootstrap
16447 maybe-all-stage4-isl: all-stage4-isl
16448 all-stage4: all-stage4-isl
16449 TARGET-stage4-isl = $(TARGET-isl)
16450 all-stage4-isl: configure-stage4-isl
16451 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16452 @r=`${PWD_COMMAND}`; export r; \
16453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16454 TFLAGS="$(STAGE4_TFLAGS)"; \
16455 $(HOST_EXPORTS) \
16456 $(POSTSTAGE1_HOST_EXPORTS) \
16457 cd $(HOST_SUBDIR)/isl && \
16459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16460 CFLAGS="$(STAGE4_CFLAGS)" \
16461 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
16462 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16463 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16467 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16468 TFLAGS="$(STAGE4_TFLAGS)" \
16469 $(TARGET-stage4-isl)
16471 maybe-clean-stage4-isl: clean-stage4-isl
16472 clean-stage4: clean-stage4-isl
16473 clean-stage4-isl:
16474 @if [ $(current_stage) = stage4 ]; then \
16475 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16476 else \
16477 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16478 $(MAKE) stage4-start; \
16479 fi; \
16480 cd $(HOST_SUBDIR)/isl && \
16481 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16482 @endif isl-bootstrap
16485 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16486 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16487 maybe-all-stageprofile-isl:
16488 maybe-clean-stageprofile-isl:
16489 @if isl-bootstrap
16490 maybe-all-stageprofile-isl: all-stageprofile-isl
16491 all-stageprofile: all-stageprofile-isl
16492 TARGET-stageprofile-isl = $(TARGET-isl)
16493 all-stageprofile-isl: configure-stageprofile-isl
16494 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16495 @r=`${PWD_COMMAND}`; export r; \
16496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16497 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16498 $(HOST_EXPORTS) \
16499 $(POSTSTAGE1_HOST_EXPORTS) \
16500 cd $(HOST_SUBDIR)/isl && \
16502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16503 CFLAGS="$(STAGEprofile_CFLAGS)" \
16504 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
16505 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16506 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16510 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16511 TFLAGS="$(STAGEprofile_TFLAGS)" \
16512 $(TARGET-stageprofile-isl)
16514 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16515 clean-stageprofile: clean-stageprofile-isl
16516 clean-stageprofile-isl:
16517 @if [ $(current_stage) = stageprofile ]; then \
16518 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16519 else \
16520 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16521 $(MAKE) stageprofile-start; \
16522 fi; \
16523 cd $(HOST_SUBDIR)/isl && \
16524 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16525 @endif isl-bootstrap
16528 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16529 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16530 maybe-all-stagetrain-isl:
16531 maybe-clean-stagetrain-isl:
16532 @if isl-bootstrap
16533 maybe-all-stagetrain-isl: all-stagetrain-isl
16534 all-stagetrain: all-stagetrain-isl
16535 TARGET-stagetrain-isl = $(TARGET-isl)
16536 all-stagetrain-isl: configure-stagetrain-isl
16537 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16538 @r=`${PWD_COMMAND}`; export r; \
16539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16540 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16541 $(HOST_EXPORTS) \
16542 $(POSTSTAGE1_HOST_EXPORTS) \
16543 cd $(HOST_SUBDIR)/isl && \
16545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16546 CFLAGS="$(STAGEtrain_CFLAGS)" \
16547 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
16548 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16549 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16550 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16553 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16554 TFLAGS="$(STAGEtrain_TFLAGS)" \
16555 $(TARGET-stagetrain-isl)
16557 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16558 clean-stagetrain: clean-stagetrain-isl
16559 clean-stagetrain-isl:
16560 @if [ $(current_stage) = stagetrain ]; then \
16561 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16562 else \
16563 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16564 $(MAKE) stagetrain-start; \
16565 fi; \
16566 cd $(HOST_SUBDIR)/isl && \
16567 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16568 @endif isl-bootstrap
16571 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16572 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16573 maybe-all-stagefeedback-isl:
16574 maybe-clean-stagefeedback-isl:
16575 @if isl-bootstrap
16576 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16577 all-stagefeedback: all-stagefeedback-isl
16578 TARGET-stagefeedback-isl = $(TARGET-isl)
16579 all-stagefeedback-isl: configure-stagefeedback-isl
16580 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16581 @r=`${PWD_COMMAND}`; export r; \
16582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16583 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16584 $(HOST_EXPORTS) \
16585 $(POSTSTAGE1_HOST_EXPORTS) \
16586 cd $(HOST_SUBDIR)/isl && \
16588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16589 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16590 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
16591 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16592 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16593 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16594 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16595 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16596 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16597 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16598 $(TARGET-stagefeedback-isl)
16600 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16601 clean-stagefeedback: clean-stagefeedback-isl
16602 clean-stagefeedback-isl:
16603 @if [ $(current_stage) = stagefeedback ]; then \
16604 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16605 else \
16606 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16607 $(MAKE) stagefeedback-start; \
16608 fi; \
16609 cd $(HOST_SUBDIR)/isl && \
16610 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16611 @endif isl-bootstrap
16614 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16615 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16616 maybe-all-stageautoprofile-isl:
16617 maybe-clean-stageautoprofile-isl:
16618 @if isl-bootstrap
16619 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16620 all-stageautoprofile: all-stageautoprofile-isl
16621 TARGET-stageautoprofile-isl = $(TARGET-isl)
16622 all-stageautoprofile-isl: configure-stageautoprofile-isl
16623 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16624 @r=`${PWD_COMMAND}`; export r; \
16625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16626 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16627 $(HOST_EXPORTS) \
16628 $(POSTSTAGE1_HOST_EXPORTS) \
16629 cd $(HOST_SUBDIR)/isl && \
16630 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16631 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16632 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16633 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
16634 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16635 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16636 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16637 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16638 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16639 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16640 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16641 $(TARGET-stageautoprofile-isl)
16643 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16644 clean-stageautoprofile: clean-stageautoprofile-isl
16645 clean-stageautoprofile-isl:
16646 @if [ $(current_stage) = stageautoprofile ]; then \
16647 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16648 else \
16649 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16650 $(MAKE) stageautoprofile-start; \
16651 fi; \
16652 cd $(HOST_SUBDIR)/isl && \
16653 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16654 @endif isl-bootstrap
16657 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16658 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16659 maybe-all-stageautofeedback-isl:
16660 maybe-clean-stageautofeedback-isl:
16661 @if isl-bootstrap
16662 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16663 all-stageautofeedback: all-stageautofeedback-isl
16664 TARGET-stageautofeedback-isl = $(TARGET-isl)
16665 all-stageautofeedback-isl: configure-stageautofeedback-isl
16666 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16667 @r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16670 $(HOST_EXPORTS) \
16671 $(POSTSTAGE1_HOST_EXPORTS) \
16672 cd $(HOST_SUBDIR)/isl && \
16674 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16675 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16676 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
16677 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16678 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16682 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16683 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16684 $(TARGET-stageautofeedback-isl)
16686 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16687 clean-stageautofeedback: clean-stageautofeedback-isl
16688 clean-stageautofeedback-isl:
16689 @if [ $(current_stage) = stageautofeedback ]; then \
16690 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16691 else \
16692 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16693 $(MAKE) stageautofeedback-start; \
16694 fi; \
16695 cd $(HOST_SUBDIR)/isl && \
16696 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16697 @endif isl-bootstrap
16703 .PHONY: check-isl maybe-check-isl
16704 maybe-check-isl:
16705 @if isl
16706 maybe-check-isl: check-isl
16708 check-isl:
16709 @: $(MAKE); $(unstage)
16710 @r=`${PWD_COMMAND}`; export r; \
16711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16712 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16713 (cd $(HOST_SUBDIR)/isl && \
16714 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16716 @endif isl
16718 .PHONY: install-isl maybe-install-isl
16719 maybe-install-isl:
16720 @if isl
16721 maybe-install-isl: install-isl
16723 install-isl:
16725 @endif isl
16727 .PHONY: install-strip-isl maybe-install-strip-isl
16728 maybe-install-strip-isl:
16729 @if isl
16730 maybe-install-strip-isl: install-strip-isl
16732 install-strip-isl:
16734 @endif isl
16736 # Other targets (info, dvi, pdf, etc.)
16738 .PHONY: maybe-info-isl info-isl
16739 maybe-info-isl:
16740 @if isl
16741 maybe-info-isl: info-isl
16743 info-isl: \
16744 configure-isl
16745 @[ -f ./isl/Makefile ] || exit 0; \
16746 r=`${PWD_COMMAND}`; export r; \
16747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16748 $(HOST_EXPORTS) \
16749 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16751 done; \
16752 echo "Doing info in isl"; \
16753 (cd $(HOST_SUBDIR)/isl && \
16754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16756 "RANLIB=$${RANLIB}" \
16757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16758 info) \
16759 || exit 1
16761 @endif isl
16763 .PHONY: maybe-dvi-isl dvi-isl
16764 maybe-dvi-isl:
16765 @if isl
16766 maybe-dvi-isl: dvi-isl
16768 dvi-isl: \
16769 configure-isl
16770 @[ -f ./isl/Makefile ] || exit 0; \
16771 r=`${PWD_COMMAND}`; export r; \
16772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16773 $(HOST_EXPORTS) \
16774 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16776 done; \
16777 echo "Doing dvi in isl"; \
16778 (cd $(HOST_SUBDIR)/isl && \
16779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16781 "RANLIB=$${RANLIB}" \
16782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16783 dvi) \
16784 || exit 1
16786 @endif isl
16788 .PHONY: maybe-pdf-isl pdf-isl
16789 maybe-pdf-isl:
16790 @if isl
16791 maybe-pdf-isl: pdf-isl
16793 pdf-isl: \
16794 configure-isl
16795 @[ -f ./isl/Makefile ] || exit 0; \
16796 r=`${PWD_COMMAND}`; export r; \
16797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16798 $(HOST_EXPORTS) \
16799 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16801 done; \
16802 echo "Doing pdf in isl"; \
16803 (cd $(HOST_SUBDIR)/isl && \
16804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16806 "RANLIB=$${RANLIB}" \
16807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16808 pdf) \
16809 || exit 1
16811 @endif isl
16813 .PHONY: maybe-html-isl html-isl
16814 maybe-html-isl:
16815 @if isl
16816 maybe-html-isl: html-isl
16818 html-isl: \
16819 configure-isl
16820 @[ -f ./isl/Makefile ] || exit 0; \
16821 r=`${PWD_COMMAND}`; export r; \
16822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16823 $(HOST_EXPORTS) \
16824 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16826 done; \
16827 echo "Doing html in isl"; \
16828 (cd $(HOST_SUBDIR)/isl && \
16829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16831 "RANLIB=$${RANLIB}" \
16832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16833 html) \
16834 || exit 1
16836 @endif isl
16838 .PHONY: maybe-TAGS-isl TAGS-isl
16839 maybe-TAGS-isl:
16840 @if isl
16841 maybe-TAGS-isl: TAGS-isl
16843 TAGS-isl: \
16844 configure-isl
16845 @[ -f ./isl/Makefile ] || exit 0; \
16846 r=`${PWD_COMMAND}`; export r; \
16847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16848 $(HOST_EXPORTS) \
16849 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16851 done; \
16852 echo "Doing TAGS in isl"; \
16853 (cd $(HOST_SUBDIR)/isl && \
16854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16856 "RANLIB=$${RANLIB}" \
16857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16858 TAGS) \
16859 || exit 1
16861 @endif isl
16863 .PHONY: maybe-install-info-isl install-info-isl
16864 maybe-install-info-isl:
16865 @if isl
16866 maybe-install-info-isl: install-info-isl
16868 install-info-isl: \
16869 configure-isl \
16870 info-isl
16871 @[ -f ./isl/Makefile ] || exit 0; \
16872 r=`${PWD_COMMAND}`; export r; \
16873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16874 $(HOST_EXPORTS) \
16875 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16877 done; \
16878 echo "Doing install-info in isl"; \
16879 (cd $(HOST_SUBDIR)/isl && \
16880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16882 "RANLIB=$${RANLIB}" \
16883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16884 install-info) \
16885 || exit 1
16887 @endif isl
16889 .PHONY: maybe-install-pdf-isl install-pdf-isl
16890 maybe-install-pdf-isl:
16891 @if isl
16892 maybe-install-pdf-isl: install-pdf-isl
16894 install-pdf-isl: \
16895 configure-isl \
16896 pdf-isl
16897 @[ -f ./isl/Makefile ] || exit 0; \
16898 r=`${PWD_COMMAND}`; export r; \
16899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16900 $(HOST_EXPORTS) \
16901 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16903 done; \
16904 echo "Doing install-pdf in isl"; \
16905 (cd $(HOST_SUBDIR)/isl && \
16906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16908 "RANLIB=$${RANLIB}" \
16909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16910 install-pdf) \
16911 || exit 1
16913 @endif isl
16915 .PHONY: maybe-install-html-isl install-html-isl
16916 maybe-install-html-isl:
16917 @if isl
16918 maybe-install-html-isl: install-html-isl
16920 install-html-isl: \
16921 configure-isl \
16922 html-isl
16923 @[ -f ./isl/Makefile ] || exit 0; \
16924 r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 $(HOST_EXPORTS) \
16927 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16929 done; \
16930 echo "Doing install-html in isl"; \
16931 (cd $(HOST_SUBDIR)/isl && \
16932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16934 "RANLIB=$${RANLIB}" \
16935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16936 install-html) \
16937 || exit 1
16939 @endif isl
16941 .PHONY: maybe-installcheck-isl installcheck-isl
16942 maybe-installcheck-isl:
16943 @if isl
16944 maybe-installcheck-isl: installcheck-isl
16946 installcheck-isl: \
16947 configure-isl
16948 @[ -f ./isl/Makefile ] || exit 0; \
16949 r=`${PWD_COMMAND}`; export r; \
16950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16951 $(HOST_EXPORTS) \
16952 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16954 done; \
16955 echo "Doing installcheck in isl"; \
16956 (cd $(HOST_SUBDIR)/isl && \
16957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16959 "RANLIB=$${RANLIB}" \
16960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16961 installcheck) \
16962 || exit 1
16964 @endif isl
16966 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16967 maybe-mostlyclean-isl:
16968 @if isl
16969 maybe-mostlyclean-isl: mostlyclean-isl
16971 mostlyclean-isl:
16972 @[ -f ./isl/Makefile ] || exit 0; \
16973 r=`${PWD_COMMAND}`; export r; \
16974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16975 $(HOST_EXPORTS) \
16976 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16978 done; \
16979 echo "Doing mostlyclean in isl"; \
16980 (cd $(HOST_SUBDIR)/isl && \
16981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16983 "RANLIB=$${RANLIB}" \
16984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16985 mostlyclean) \
16986 || exit 1
16988 @endif isl
16990 .PHONY: maybe-clean-isl clean-isl
16991 maybe-clean-isl:
16992 @if isl
16993 maybe-clean-isl: clean-isl
16995 clean-isl:
16996 @[ -f ./isl/Makefile ] || exit 0; \
16997 r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16999 $(HOST_EXPORTS) \
17000 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17002 done; \
17003 echo "Doing clean in isl"; \
17004 (cd $(HOST_SUBDIR)/isl && \
17005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17007 "RANLIB=$${RANLIB}" \
17008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17009 clean) \
17010 || exit 1
17012 @endif isl
17014 .PHONY: maybe-distclean-isl distclean-isl
17015 maybe-distclean-isl:
17016 @if isl
17017 maybe-distclean-isl: distclean-isl
17019 distclean-isl:
17020 @[ -f ./isl/Makefile ] || exit 0; \
17021 r=`${PWD_COMMAND}`; export r; \
17022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17023 $(HOST_EXPORTS) \
17024 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17026 done; \
17027 echo "Doing distclean in isl"; \
17028 (cd $(HOST_SUBDIR)/isl && \
17029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17031 "RANLIB=$${RANLIB}" \
17032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17033 distclean) \
17034 || exit 1
17036 @endif isl
17038 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
17039 maybe-maintainer-clean-isl:
17040 @if isl
17041 maybe-maintainer-clean-isl: maintainer-clean-isl
17043 maintainer-clean-isl:
17044 @[ -f ./isl/Makefile ] || exit 0; \
17045 r=`${PWD_COMMAND}`; export r; \
17046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17047 $(HOST_EXPORTS) \
17048 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17050 done; \
17051 echo "Doing maintainer-clean in isl"; \
17052 (cd $(HOST_SUBDIR)/isl && \
17053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17055 "RANLIB=$${RANLIB}" \
17056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17057 maintainer-clean) \
17058 || exit 1
17060 @endif isl
17064 .PHONY: configure-libelf maybe-configure-libelf
17065 maybe-configure-libelf:
17066 @if gcc-bootstrap
17067 configure-libelf: stage_current
17068 @endif gcc-bootstrap
17069 @if libelf
17070 maybe-configure-libelf: configure-libelf
17071 configure-libelf:
17072 @r=`${PWD_COMMAND}`; export r; \
17073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17074 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17076 $(HOST_EXPORTS) \
17077 echo Configuring in $(HOST_SUBDIR)/libelf; \
17078 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
17079 case $(srcdir) in \
17080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17081 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17083 esac; \
17084 module_srcdir=libelf; \
17085 $(SHELL) \
17086 $$s/$$module_srcdir/configure \
17087 --srcdir=$${topdir}/$$module_srcdir \
17088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17089 --target=${target_alias} --disable-shared \
17090 || exit 1
17091 @endif libelf
17095 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
17096 maybe-configure-stage1-libelf:
17097 @if libelf-bootstrap
17098 maybe-configure-stage1-libelf: configure-stage1-libelf
17099 configure-stage1-libelf:
17100 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17102 @r=`${PWD_COMMAND}`; export r; \
17103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17104 TFLAGS="$(STAGE1_TFLAGS)"; \
17105 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17106 $(HOST_EXPORTS) \
17107 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17108 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17109 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17110 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
17111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17112 cd $(HOST_SUBDIR)/libelf || exit 1; \
17113 case $(srcdir) in \
17114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17115 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17117 esac; \
17118 module_srcdir=libelf; \
17119 $(SHELL) $$s/$$module_srcdir/configure \
17120 --srcdir=$${topdir}/$$module_srcdir \
17121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17122 --target=${target_alias} \
17124 $(STAGE1_CONFIGURE_FLAGS) \
17125 --disable-shared
17126 @endif libelf-bootstrap
17128 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
17129 maybe-configure-stage2-libelf:
17130 @if libelf-bootstrap
17131 maybe-configure-stage2-libelf: configure-stage2-libelf
17132 configure-stage2-libelf:
17133 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17135 @r=`${PWD_COMMAND}`; export r; \
17136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17137 TFLAGS="$(STAGE2_TFLAGS)"; \
17138 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17139 $(HOST_EXPORTS) \
17140 $(POSTSTAGE1_HOST_EXPORTS) \
17141 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17142 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17143 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17144 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
17145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17146 cd $(HOST_SUBDIR)/libelf || exit 1; \
17147 case $(srcdir) in \
17148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17149 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17151 esac; \
17152 module_srcdir=libelf; \
17153 $(SHELL) $$s/$$module_srcdir/configure \
17154 --srcdir=$${topdir}/$$module_srcdir \
17155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17156 --target=${target_alias} \
17157 --with-build-libsubdir=$(HOST_SUBDIR) \
17158 $(STAGE2_CONFIGURE_FLAGS) \
17159 --disable-shared
17160 @endif libelf-bootstrap
17162 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
17163 maybe-configure-stage3-libelf:
17164 @if libelf-bootstrap
17165 maybe-configure-stage3-libelf: configure-stage3-libelf
17166 configure-stage3-libelf:
17167 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17169 @r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 TFLAGS="$(STAGE3_TFLAGS)"; \
17172 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17173 $(HOST_EXPORTS) \
17174 $(POSTSTAGE1_HOST_EXPORTS) \
17175 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17176 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17177 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17178 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
17179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17180 cd $(HOST_SUBDIR)/libelf || exit 1; \
17181 case $(srcdir) in \
17182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17183 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17185 esac; \
17186 module_srcdir=libelf; \
17187 $(SHELL) $$s/$$module_srcdir/configure \
17188 --srcdir=$${topdir}/$$module_srcdir \
17189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17190 --target=${target_alias} \
17191 --with-build-libsubdir=$(HOST_SUBDIR) \
17192 $(STAGE3_CONFIGURE_FLAGS) \
17193 --disable-shared
17194 @endif libelf-bootstrap
17196 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17197 maybe-configure-stage4-libelf:
17198 @if libelf-bootstrap
17199 maybe-configure-stage4-libelf: configure-stage4-libelf
17200 configure-stage4-libelf:
17201 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17203 @r=`${PWD_COMMAND}`; export r; \
17204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17205 TFLAGS="$(STAGE4_TFLAGS)"; \
17206 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17207 $(HOST_EXPORTS) \
17208 $(POSTSTAGE1_HOST_EXPORTS) \
17209 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17210 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17211 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17212 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17214 cd $(HOST_SUBDIR)/libelf || exit 1; \
17215 case $(srcdir) in \
17216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17217 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17219 esac; \
17220 module_srcdir=libelf; \
17221 $(SHELL) $$s/$$module_srcdir/configure \
17222 --srcdir=$${topdir}/$$module_srcdir \
17223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17224 --target=${target_alias} \
17225 --with-build-libsubdir=$(HOST_SUBDIR) \
17226 $(STAGE4_CONFIGURE_FLAGS) \
17227 --disable-shared
17228 @endif libelf-bootstrap
17230 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17231 maybe-configure-stageprofile-libelf:
17232 @if libelf-bootstrap
17233 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17234 configure-stageprofile-libelf:
17235 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17237 @r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17240 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17241 $(HOST_EXPORTS) \
17242 $(POSTSTAGE1_HOST_EXPORTS) \
17243 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17244 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17245 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17246 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17248 cd $(HOST_SUBDIR)/libelf || exit 1; \
17249 case $(srcdir) in \
17250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17251 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17253 esac; \
17254 module_srcdir=libelf; \
17255 $(SHELL) $$s/$$module_srcdir/configure \
17256 --srcdir=$${topdir}/$$module_srcdir \
17257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17258 --target=${target_alias} \
17259 --with-build-libsubdir=$(HOST_SUBDIR) \
17260 $(STAGEprofile_CONFIGURE_FLAGS) \
17261 --disable-shared
17262 @endif libelf-bootstrap
17264 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17265 maybe-configure-stagetrain-libelf:
17266 @if libelf-bootstrap
17267 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17268 configure-stagetrain-libelf:
17269 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17271 @r=`${PWD_COMMAND}`; export r; \
17272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17273 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17274 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17275 $(HOST_EXPORTS) \
17276 $(POSTSTAGE1_HOST_EXPORTS) \
17277 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17278 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17279 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17280 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17282 cd $(HOST_SUBDIR)/libelf || exit 1; \
17283 case $(srcdir) in \
17284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17285 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17287 esac; \
17288 module_srcdir=libelf; \
17289 $(SHELL) $$s/$$module_srcdir/configure \
17290 --srcdir=$${topdir}/$$module_srcdir \
17291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17292 --target=${target_alias} \
17293 --with-build-libsubdir=$(HOST_SUBDIR) \
17294 $(STAGEtrain_CONFIGURE_FLAGS) \
17295 --disable-shared
17296 @endif libelf-bootstrap
17298 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17299 maybe-configure-stagefeedback-libelf:
17300 @if libelf-bootstrap
17301 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17302 configure-stagefeedback-libelf:
17303 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17305 @r=`${PWD_COMMAND}`; export r; \
17306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17307 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17308 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17309 $(HOST_EXPORTS) \
17310 $(POSTSTAGE1_HOST_EXPORTS) \
17311 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17312 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17313 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17314 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17316 cd $(HOST_SUBDIR)/libelf || exit 1; \
17317 case $(srcdir) in \
17318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17319 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17321 esac; \
17322 module_srcdir=libelf; \
17323 $(SHELL) $$s/$$module_srcdir/configure \
17324 --srcdir=$${topdir}/$$module_srcdir \
17325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17326 --target=${target_alias} \
17327 --with-build-libsubdir=$(HOST_SUBDIR) \
17328 $(STAGEfeedback_CONFIGURE_FLAGS) \
17329 --disable-shared
17330 @endif libelf-bootstrap
17332 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17333 maybe-configure-stageautoprofile-libelf:
17334 @if libelf-bootstrap
17335 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17336 configure-stageautoprofile-libelf:
17337 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17339 @r=`${PWD_COMMAND}`; export r; \
17340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17341 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17342 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17343 $(HOST_EXPORTS) \
17344 $(POSTSTAGE1_HOST_EXPORTS) \
17345 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17346 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17347 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17348 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17350 cd $(HOST_SUBDIR)/libelf || exit 1; \
17351 case $(srcdir) in \
17352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17353 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17355 esac; \
17356 module_srcdir=libelf; \
17357 $(SHELL) $$s/$$module_srcdir/configure \
17358 --srcdir=$${topdir}/$$module_srcdir \
17359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17360 --target=${target_alias} \
17361 --with-build-libsubdir=$(HOST_SUBDIR) \
17362 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17363 --disable-shared
17364 @endif libelf-bootstrap
17366 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17367 maybe-configure-stageautofeedback-libelf:
17368 @if libelf-bootstrap
17369 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17370 configure-stageautofeedback-libelf:
17371 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17372 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17373 @r=`${PWD_COMMAND}`; export r; \
17374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17375 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17376 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17377 $(HOST_EXPORTS) \
17378 $(POSTSTAGE1_HOST_EXPORTS) \
17379 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17380 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17381 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17382 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17384 cd $(HOST_SUBDIR)/libelf || exit 1; \
17385 case $(srcdir) in \
17386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17387 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17389 esac; \
17390 module_srcdir=libelf; \
17391 $(SHELL) $$s/$$module_srcdir/configure \
17392 --srcdir=$${topdir}/$$module_srcdir \
17393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17394 --target=${target_alias} \
17395 --with-build-libsubdir=$(HOST_SUBDIR) \
17396 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17397 --disable-shared
17398 @endif libelf-bootstrap
17404 .PHONY: all-libelf maybe-all-libelf
17405 maybe-all-libelf:
17406 @if gcc-bootstrap
17407 all-libelf: stage_current
17408 @endif gcc-bootstrap
17409 @if libelf
17410 TARGET-libelf=all
17411 maybe-all-libelf: all-libelf
17412 all-libelf: configure-libelf
17413 @r=`${PWD_COMMAND}`; export r; \
17414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17415 $(HOST_EXPORTS) \
17416 (cd $(HOST_SUBDIR)/libelf && \
17417 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17418 $(TARGET-libelf))
17419 @endif libelf
17423 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17424 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17425 maybe-all-stage1-libelf:
17426 maybe-clean-stage1-libelf:
17427 @if libelf-bootstrap
17428 maybe-all-stage1-libelf: all-stage1-libelf
17429 all-stage1: all-stage1-libelf
17430 TARGET-stage1-libelf = $(TARGET-libelf)
17431 all-stage1-libelf: configure-stage1-libelf
17432 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17433 @r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17435 TFLAGS="$(STAGE1_TFLAGS)"; \
17436 $(HOST_EXPORTS) \
17437 cd $(HOST_SUBDIR)/libelf && \
17439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17440 CFLAGS="$(STAGE1_CFLAGS)" \
17441 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
17442 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17443 LIBCFLAGS="$(LIBCFLAGS)" \
17444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17447 $(EXTRA_HOST_FLAGS) \
17448 $(STAGE1_FLAGS_TO_PASS) \
17449 TFLAGS="$(STAGE1_TFLAGS)" \
17450 $(TARGET-stage1-libelf)
17452 maybe-clean-stage1-libelf: clean-stage1-libelf
17453 clean-stage1: clean-stage1-libelf
17454 clean-stage1-libelf:
17455 @if [ $(current_stage) = stage1 ]; then \
17456 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17457 else \
17458 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17459 $(MAKE) stage1-start; \
17460 fi; \
17461 cd $(HOST_SUBDIR)/libelf && \
17462 $(MAKE) $(EXTRA_HOST_FLAGS) \
17463 $(STAGE1_FLAGS_TO_PASS) clean
17464 @endif libelf-bootstrap
17467 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17468 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17469 maybe-all-stage2-libelf:
17470 maybe-clean-stage2-libelf:
17471 @if libelf-bootstrap
17472 maybe-all-stage2-libelf: all-stage2-libelf
17473 all-stage2: all-stage2-libelf
17474 TARGET-stage2-libelf = $(TARGET-libelf)
17475 all-stage2-libelf: configure-stage2-libelf
17476 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17477 @r=`${PWD_COMMAND}`; export r; \
17478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17479 TFLAGS="$(STAGE2_TFLAGS)"; \
17480 $(HOST_EXPORTS) \
17481 $(POSTSTAGE1_HOST_EXPORTS) \
17482 cd $(HOST_SUBDIR)/libelf && \
17484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17485 CFLAGS="$(STAGE2_CFLAGS)" \
17486 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
17487 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17488 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17489 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17490 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17491 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17492 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17493 TFLAGS="$(STAGE2_TFLAGS)" \
17494 $(TARGET-stage2-libelf)
17496 maybe-clean-stage2-libelf: clean-stage2-libelf
17497 clean-stage2: clean-stage2-libelf
17498 clean-stage2-libelf:
17499 @if [ $(current_stage) = stage2 ]; then \
17500 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17501 else \
17502 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17503 $(MAKE) stage2-start; \
17504 fi; \
17505 cd $(HOST_SUBDIR)/libelf && \
17506 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17507 @endif libelf-bootstrap
17510 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17511 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17512 maybe-all-stage3-libelf:
17513 maybe-clean-stage3-libelf:
17514 @if libelf-bootstrap
17515 maybe-all-stage3-libelf: all-stage3-libelf
17516 all-stage3: all-stage3-libelf
17517 TARGET-stage3-libelf = $(TARGET-libelf)
17518 all-stage3-libelf: configure-stage3-libelf
17519 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17520 @r=`${PWD_COMMAND}`; export r; \
17521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17522 TFLAGS="$(STAGE3_TFLAGS)"; \
17523 $(HOST_EXPORTS) \
17524 $(POSTSTAGE1_HOST_EXPORTS) \
17525 cd $(HOST_SUBDIR)/libelf && \
17527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17528 CFLAGS="$(STAGE3_CFLAGS)" \
17529 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
17530 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17531 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17536 TFLAGS="$(STAGE3_TFLAGS)" \
17537 $(TARGET-stage3-libelf)
17539 maybe-clean-stage3-libelf: clean-stage3-libelf
17540 clean-stage3: clean-stage3-libelf
17541 clean-stage3-libelf:
17542 @if [ $(current_stage) = stage3 ]; then \
17543 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17544 else \
17545 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17546 $(MAKE) stage3-start; \
17547 fi; \
17548 cd $(HOST_SUBDIR)/libelf && \
17549 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17550 @endif libelf-bootstrap
17553 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17554 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17555 maybe-all-stage4-libelf:
17556 maybe-clean-stage4-libelf:
17557 @if libelf-bootstrap
17558 maybe-all-stage4-libelf: all-stage4-libelf
17559 all-stage4: all-stage4-libelf
17560 TARGET-stage4-libelf = $(TARGET-libelf)
17561 all-stage4-libelf: configure-stage4-libelf
17562 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17563 @r=`${PWD_COMMAND}`; export r; \
17564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17565 TFLAGS="$(STAGE4_TFLAGS)"; \
17566 $(HOST_EXPORTS) \
17567 $(POSTSTAGE1_HOST_EXPORTS) \
17568 cd $(HOST_SUBDIR)/libelf && \
17570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17571 CFLAGS="$(STAGE4_CFLAGS)" \
17572 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
17573 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17574 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17575 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17576 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17577 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17578 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17579 TFLAGS="$(STAGE4_TFLAGS)" \
17580 $(TARGET-stage4-libelf)
17582 maybe-clean-stage4-libelf: clean-stage4-libelf
17583 clean-stage4: clean-stage4-libelf
17584 clean-stage4-libelf:
17585 @if [ $(current_stage) = stage4 ]; then \
17586 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17587 else \
17588 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17589 $(MAKE) stage4-start; \
17590 fi; \
17591 cd $(HOST_SUBDIR)/libelf && \
17592 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17593 @endif libelf-bootstrap
17596 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17597 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17598 maybe-all-stageprofile-libelf:
17599 maybe-clean-stageprofile-libelf:
17600 @if libelf-bootstrap
17601 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17602 all-stageprofile: all-stageprofile-libelf
17603 TARGET-stageprofile-libelf = $(TARGET-libelf)
17604 all-stageprofile-libelf: configure-stageprofile-libelf
17605 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17606 @r=`${PWD_COMMAND}`; export r; \
17607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17608 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17609 $(HOST_EXPORTS) \
17610 $(POSTSTAGE1_HOST_EXPORTS) \
17611 cd $(HOST_SUBDIR)/libelf && \
17613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17614 CFLAGS="$(STAGEprofile_CFLAGS)" \
17615 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
17616 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17617 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17622 TFLAGS="$(STAGEprofile_TFLAGS)" \
17623 $(TARGET-stageprofile-libelf)
17625 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17626 clean-stageprofile: clean-stageprofile-libelf
17627 clean-stageprofile-libelf:
17628 @if [ $(current_stage) = stageprofile ]; then \
17629 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17630 else \
17631 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17632 $(MAKE) stageprofile-start; \
17633 fi; \
17634 cd $(HOST_SUBDIR)/libelf && \
17635 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17636 @endif libelf-bootstrap
17639 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17640 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17641 maybe-all-stagetrain-libelf:
17642 maybe-clean-stagetrain-libelf:
17643 @if libelf-bootstrap
17644 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17645 all-stagetrain: all-stagetrain-libelf
17646 TARGET-stagetrain-libelf = $(TARGET-libelf)
17647 all-stagetrain-libelf: configure-stagetrain-libelf
17648 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17649 @r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17651 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17652 $(HOST_EXPORTS) \
17653 $(POSTSTAGE1_HOST_EXPORTS) \
17654 cd $(HOST_SUBDIR)/libelf && \
17656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17657 CFLAGS="$(STAGEtrain_CFLAGS)" \
17658 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
17659 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17660 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17661 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17662 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17663 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17664 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17665 TFLAGS="$(STAGEtrain_TFLAGS)" \
17666 $(TARGET-stagetrain-libelf)
17668 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17669 clean-stagetrain: clean-stagetrain-libelf
17670 clean-stagetrain-libelf:
17671 @if [ $(current_stage) = stagetrain ]; then \
17672 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17673 else \
17674 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17675 $(MAKE) stagetrain-start; \
17676 fi; \
17677 cd $(HOST_SUBDIR)/libelf && \
17678 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17679 @endif libelf-bootstrap
17682 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17683 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17684 maybe-all-stagefeedback-libelf:
17685 maybe-clean-stagefeedback-libelf:
17686 @if libelf-bootstrap
17687 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17688 all-stagefeedback: all-stagefeedback-libelf
17689 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17690 all-stagefeedback-libelf: configure-stagefeedback-libelf
17691 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17692 @r=`${PWD_COMMAND}`; export r; \
17693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17694 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17695 $(HOST_EXPORTS) \
17696 $(POSTSTAGE1_HOST_EXPORTS) \
17697 cd $(HOST_SUBDIR)/libelf && \
17699 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17700 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17701 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
17702 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17703 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17708 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17709 $(TARGET-stagefeedback-libelf)
17711 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17712 clean-stagefeedback: clean-stagefeedback-libelf
17713 clean-stagefeedback-libelf:
17714 @if [ $(current_stage) = stagefeedback ]; then \
17715 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17716 else \
17717 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17718 $(MAKE) stagefeedback-start; \
17719 fi; \
17720 cd $(HOST_SUBDIR)/libelf && \
17721 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17722 @endif libelf-bootstrap
17725 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17726 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17727 maybe-all-stageautoprofile-libelf:
17728 maybe-clean-stageautoprofile-libelf:
17729 @if libelf-bootstrap
17730 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17731 all-stageautoprofile: all-stageautoprofile-libelf
17732 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17733 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17734 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17735 @r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17738 $(HOST_EXPORTS) \
17739 $(POSTSTAGE1_HOST_EXPORTS) \
17740 cd $(HOST_SUBDIR)/libelf && \
17741 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17742 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17743 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17744 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
17745 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17746 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17747 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17748 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17749 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17750 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17751 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17752 $(TARGET-stageautoprofile-libelf)
17754 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17755 clean-stageautoprofile: clean-stageautoprofile-libelf
17756 clean-stageautoprofile-libelf:
17757 @if [ $(current_stage) = stageautoprofile ]; then \
17758 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17759 else \
17760 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17761 $(MAKE) stageautoprofile-start; \
17762 fi; \
17763 cd $(HOST_SUBDIR)/libelf && \
17764 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17765 @endif libelf-bootstrap
17768 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17769 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17770 maybe-all-stageautofeedback-libelf:
17771 maybe-clean-stageautofeedback-libelf:
17772 @if libelf-bootstrap
17773 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17774 all-stageautofeedback: all-stageautofeedback-libelf
17775 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17776 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17777 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17778 @r=`${PWD_COMMAND}`; export r; \
17779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17780 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17781 $(HOST_EXPORTS) \
17782 $(POSTSTAGE1_HOST_EXPORTS) \
17783 cd $(HOST_SUBDIR)/libelf && \
17785 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17786 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17787 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
17788 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17789 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17790 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17791 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17792 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17793 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17794 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17795 $(TARGET-stageautofeedback-libelf)
17797 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17798 clean-stageautofeedback: clean-stageautofeedback-libelf
17799 clean-stageautofeedback-libelf:
17800 @if [ $(current_stage) = stageautofeedback ]; then \
17801 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17802 else \
17803 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17804 $(MAKE) stageautofeedback-start; \
17805 fi; \
17806 cd $(HOST_SUBDIR)/libelf && \
17807 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17808 @endif libelf-bootstrap
17814 .PHONY: check-libelf maybe-check-libelf
17815 maybe-check-libelf:
17816 @if libelf
17817 maybe-check-libelf: check-libelf
17819 check-libelf:
17820 @: $(MAKE); $(unstage)
17821 @r=`${PWD_COMMAND}`; export r; \
17822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17823 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17824 (cd $(HOST_SUBDIR)/libelf && \
17825 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17827 @endif libelf
17829 .PHONY: install-libelf maybe-install-libelf
17830 maybe-install-libelf:
17831 @if libelf
17832 maybe-install-libelf: install-libelf
17834 install-libelf:
17836 @endif libelf
17838 .PHONY: install-strip-libelf maybe-install-strip-libelf
17839 maybe-install-strip-libelf:
17840 @if libelf
17841 maybe-install-strip-libelf: install-strip-libelf
17843 install-strip-libelf:
17845 @endif libelf
17847 # Other targets (info, dvi, pdf, etc.)
17849 .PHONY: maybe-info-libelf info-libelf
17850 maybe-info-libelf:
17851 @if libelf
17852 maybe-info-libelf: info-libelf
17854 info-libelf: \
17855 configure-libelf
17856 @[ -f ./libelf/Makefile ] || exit 0; \
17857 r=`${PWD_COMMAND}`; export r; \
17858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17859 $(HOST_EXPORTS) \
17860 for flag in $(EXTRA_HOST_FLAGS) ; do \
17861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17862 done; \
17863 echo "Doing info in libelf"; \
17864 (cd $(HOST_SUBDIR)/libelf && \
17865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17867 "RANLIB=$${RANLIB}" \
17868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17869 info) \
17870 || exit 1
17872 @endif libelf
17874 .PHONY: maybe-dvi-libelf dvi-libelf
17875 maybe-dvi-libelf:
17876 @if libelf
17877 maybe-dvi-libelf: dvi-libelf
17879 dvi-libelf: \
17880 configure-libelf
17881 @[ -f ./libelf/Makefile ] || exit 0; \
17882 r=`${PWD_COMMAND}`; export r; \
17883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17884 $(HOST_EXPORTS) \
17885 for flag in $(EXTRA_HOST_FLAGS) ; do \
17886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17887 done; \
17888 echo "Doing dvi in libelf"; \
17889 (cd $(HOST_SUBDIR)/libelf && \
17890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17892 "RANLIB=$${RANLIB}" \
17893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17894 dvi) \
17895 || exit 1
17897 @endif libelf
17899 .PHONY: maybe-pdf-libelf pdf-libelf
17900 maybe-pdf-libelf:
17901 @if libelf
17902 maybe-pdf-libelf: pdf-libelf
17904 pdf-libelf: \
17905 configure-libelf
17906 @[ -f ./libelf/Makefile ] || exit 0; \
17907 r=`${PWD_COMMAND}`; export r; \
17908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17909 $(HOST_EXPORTS) \
17910 for flag in $(EXTRA_HOST_FLAGS) ; do \
17911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17912 done; \
17913 echo "Doing pdf in libelf"; \
17914 (cd $(HOST_SUBDIR)/libelf && \
17915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17917 "RANLIB=$${RANLIB}" \
17918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17919 pdf) \
17920 || exit 1
17922 @endif libelf
17924 .PHONY: maybe-html-libelf html-libelf
17925 maybe-html-libelf:
17926 @if libelf
17927 maybe-html-libelf: html-libelf
17929 html-libelf: \
17930 configure-libelf
17931 @[ -f ./libelf/Makefile ] || exit 0; \
17932 r=`${PWD_COMMAND}`; export r; \
17933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17934 $(HOST_EXPORTS) \
17935 for flag in $(EXTRA_HOST_FLAGS) ; do \
17936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17937 done; \
17938 echo "Doing html in libelf"; \
17939 (cd $(HOST_SUBDIR)/libelf && \
17940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17942 "RANLIB=$${RANLIB}" \
17943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17944 html) \
17945 || exit 1
17947 @endif libelf
17949 .PHONY: maybe-TAGS-libelf TAGS-libelf
17950 maybe-TAGS-libelf:
17951 @if libelf
17952 maybe-TAGS-libelf: TAGS-libelf
17954 TAGS-libelf: \
17955 configure-libelf
17956 @[ -f ./libelf/Makefile ] || exit 0; \
17957 r=`${PWD_COMMAND}`; export r; \
17958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17959 $(HOST_EXPORTS) \
17960 for flag in $(EXTRA_HOST_FLAGS) ; do \
17961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17962 done; \
17963 echo "Doing TAGS in libelf"; \
17964 (cd $(HOST_SUBDIR)/libelf && \
17965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17967 "RANLIB=$${RANLIB}" \
17968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17969 TAGS) \
17970 || exit 1
17972 @endif libelf
17974 .PHONY: maybe-install-info-libelf install-info-libelf
17975 maybe-install-info-libelf:
17976 @if libelf
17977 maybe-install-info-libelf: install-info-libelf
17979 install-info-libelf: \
17980 configure-libelf \
17981 info-libelf
17982 @[ -f ./libelf/Makefile ] || exit 0; \
17983 r=`${PWD_COMMAND}`; export r; \
17984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17985 $(HOST_EXPORTS) \
17986 for flag in $(EXTRA_HOST_FLAGS) ; do \
17987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17988 done; \
17989 echo "Doing install-info in libelf"; \
17990 (cd $(HOST_SUBDIR)/libelf && \
17991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17993 "RANLIB=$${RANLIB}" \
17994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17995 install-info) \
17996 || exit 1
17998 @endif libelf
18000 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
18001 maybe-install-pdf-libelf:
18002 @if libelf
18003 maybe-install-pdf-libelf: install-pdf-libelf
18005 install-pdf-libelf: \
18006 configure-libelf \
18007 pdf-libelf
18008 @[ -f ./libelf/Makefile ] || exit 0; \
18009 r=`${PWD_COMMAND}`; export r; \
18010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18011 $(HOST_EXPORTS) \
18012 for flag in $(EXTRA_HOST_FLAGS) ; do \
18013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18014 done; \
18015 echo "Doing install-pdf in libelf"; \
18016 (cd $(HOST_SUBDIR)/libelf && \
18017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18019 "RANLIB=$${RANLIB}" \
18020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18021 install-pdf) \
18022 || exit 1
18024 @endif libelf
18026 .PHONY: maybe-install-html-libelf install-html-libelf
18027 maybe-install-html-libelf:
18028 @if libelf
18029 maybe-install-html-libelf: install-html-libelf
18031 install-html-libelf: \
18032 configure-libelf \
18033 html-libelf
18034 @[ -f ./libelf/Makefile ] || exit 0; \
18035 r=`${PWD_COMMAND}`; export r; \
18036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18037 $(HOST_EXPORTS) \
18038 for flag in $(EXTRA_HOST_FLAGS) ; do \
18039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18040 done; \
18041 echo "Doing install-html in libelf"; \
18042 (cd $(HOST_SUBDIR)/libelf && \
18043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18045 "RANLIB=$${RANLIB}" \
18046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18047 install-html) \
18048 || exit 1
18050 @endif libelf
18052 .PHONY: maybe-installcheck-libelf installcheck-libelf
18053 maybe-installcheck-libelf:
18054 @if libelf
18055 maybe-installcheck-libelf: installcheck-libelf
18057 installcheck-libelf: \
18058 configure-libelf
18059 @[ -f ./libelf/Makefile ] || exit 0; \
18060 r=`${PWD_COMMAND}`; export r; \
18061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18062 $(HOST_EXPORTS) \
18063 for flag in $(EXTRA_HOST_FLAGS) ; do \
18064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18065 done; \
18066 echo "Doing installcheck in libelf"; \
18067 (cd $(HOST_SUBDIR)/libelf && \
18068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18070 "RANLIB=$${RANLIB}" \
18071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18072 installcheck) \
18073 || exit 1
18075 @endif libelf
18077 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
18078 maybe-mostlyclean-libelf:
18079 @if libelf
18080 maybe-mostlyclean-libelf: mostlyclean-libelf
18082 mostlyclean-libelf:
18083 @[ -f ./libelf/Makefile ] || exit 0; \
18084 r=`${PWD_COMMAND}`; export r; \
18085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18086 $(HOST_EXPORTS) \
18087 for flag in $(EXTRA_HOST_FLAGS) ; do \
18088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18089 done; \
18090 echo "Doing mostlyclean in libelf"; \
18091 (cd $(HOST_SUBDIR)/libelf && \
18092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18094 "RANLIB=$${RANLIB}" \
18095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18096 mostlyclean) \
18097 || exit 1
18099 @endif libelf
18101 .PHONY: maybe-clean-libelf clean-libelf
18102 maybe-clean-libelf:
18103 @if libelf
18104 maybe-clean-libelf: clean-libelf
18106 clean-libelf:
18107 @[ -f ./libelf/Makefile ] || exit 0; \
18108 r=`${PWD_COMMAND}`; export r; \
18109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18110 $(HOST_EXPORTS) \
18111 for flag in $(EXTRA_HOST_FLAGS) ; do \
18112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18113 done; \
18114 echo "Doing clean in libelf"; \
18115 (cd $(HOST_SUBDIR)/libelf && \
18116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18118 "RANLIB=$${RANLIB}" \
18119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18120 clean) \
18121 || exit 1
18123 @endif libelf
18125 .PHONY: maybe-distclean-libelf distclean-libelf
18126 maybe-distclean-libelf:
18127 @if libelf
18128 maybe-distclean-libelf: distclean-libelf
18130 distclean-libelf:
18131 @[ -f ./libelf/Makefile ] || exit 0; \
18132 r=`${PWD_COMMAND}`; export r; \
18133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18134 $(HOST_EXPORTS) \
18135 for flag in $(EXTRA_HOST_FLAGS) ; do \
18136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18137 done; \
18138 echo "Doing distclean in libelf"; \
18139 (cd $(HOST_SUBDIR)/libelf && \
18140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18142 "RANLIB=$${RANLIB}" \
18143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18144 distclean) \
18145 || exit 1
18147 @endif libelf
18149 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
18150 maybe-maintainer-clean-libelf:
18151 @if libelf
18152 maybe-maintainer-clean-libelf: maintainer-clean-libelf
18154 maintainer-clean-libelf:
18155 @[ -f ./libelf/Makefile ] || exit 0; \
18156 r=`${PWD_COMMAND}`; export r; \
18157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18158 $(HOST_EXPORTS) \
18159 for flag in $(EXTRA_HOST_FLAGS) ; do \
18160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18161 done; \
18162 echo "Doing maintainer-clean in libelf"; \
18163 (cd $(HOST_SUBDIR)/libelf && \
18164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18166 "RANLIB=$${RANLIB}" \
18167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18168 maintainer-clean) \
18169 || exit 1
18171 @endif libelf
18175 .PHONY: configure-gold maybe-configure-gold
18176 maybe-configure-gold:
18177 @if gcc-bootstrap
18178 configure-gold: stage_current
18179 @endif gcc-bootstrap
18180 @if gold
18181 maybe-configure-gold: configure-gold
18182 configure-gold:
18183 @r=`${PWD_COMMAND}`; export r; \
18184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18185 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18187 $(HOST_EXPORTS) \
18188 echo Configuring in $(HOST_SUBDIR)/gold; \
18189 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18190 case $(srcdir) in \
18191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18192 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18194 esac; \
18195 module_srcdir=gold; \
18196 $(SHELL) \
18197 $$s/$$module_srcdir/configure \
18198 --srcdir=$${topdir}/$$module_srcdir \
18199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18200 --target=${target_alias} \
18201 || exit 1
18202 @endif gold
18206 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18207 maybe-configure-stage1-gold:
18208 @if gold-bootstrap
18209 maybe-configure-stage1-gold: configure-stage1-gold
18210 configure-stage1-gold:
18211 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18213 @r=`${PWD_COMMAND}`; export r; \
18214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18215 TFLAGS="$(STAGE1_TFLAGS)"; \
18216 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18217 $(HOST_EXPORTS) \
18218 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18219 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18220 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18221 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18223 cd $(HOST_SUBDIR)/gold || exit 1; \
18224 case $(srcdir) in \
18225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18226 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18228 esac; \
18229 module_srcdir=gold; \
18230 $(SHELL) $$s/$$module_srcdir/configure \
18231 --srcdir=$${topdir}/$$module_srcdir \
18232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18233 --target=${target_alias} \
18235 $(STAGE1_CONFIGURE_FLAGS)
18236 @endif gold-bootstrap
18238 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18239 maybe-configure-stage2-gold:
18240 @if gold-bootstrap
18241 maybe-configure-stage2-gold: configure-stage2-gold
18242 configure-stage2-gold:
18243 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18244 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18245 @r=`${PWD_COMMAND}`; export r; \
18246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18247 TFLAGS="$(STAGE2_TFLAGS)"; \
18248 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18249 $(HOST_EXPORTS) \
18250 $(POSTSTAGE1_HOST_EXPORTS) \
18251 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18252 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18253 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18254 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18256 cd $(HOST_SUBDIR)/gold || exit 1; \
18257 case $(srcdir) in \
18258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18259 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18261 esac; \
18262 module_srcdir=gold; \
18263 $(SHELL) $$s/$$module_srcdir/configure \
18264 --srcdir=$${topdir}/$$module_srcdir \
18265 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18266 --target=${target_alias} \
18267 --with-build-libsubdir=$(HOST_SUBDIR) \
18268 $(STAGE2_CONFIGURE_FLAGS)
18269 @endif gold-bootstrap
18271 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18272 maybe-configure-stage3-gold:
18273 @if gold-bootstrap
18274 maybe-configure-stage3-gold: configure-stage3-gold
18275 configure-stage3-gold:
18276 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18277 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18278 @r=`${PWD_COMMAND}`; export r; \
18279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18280 TFLAGS="$(STAGE3_TFLAGS)"; \
18281 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18282 $(HOST_EXPORTS) \
18283 $(POSTSTAGE1_HOST_EXPORTS) \
18284 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18285 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18286 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18287 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18289 cd $(HOST_SUBDIR)/gold || exit 1; \
18290 case $(srcdir) in \
18291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18292 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18294 esac; \
18295 module_srcdir=gold; \
18296 $(SHELL) $$s/$$module_srcdir/configure \
18297 --srcdir=$${topdir}/$$module_srcdir \
18298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18299 --target=${target_alias} \
18300 --with-build-libsubdir=$(HOST_SUBDIR) \
18301 $(STAGE3_CONFIGURE_FLAGS)
18302 @endif gold-bootstrap
18304 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18305 maybe-configure-stage4-gold:
18306 @if gold-bootstrap
18307 maybe-configure-stage4-gold: configure-stage4-gold
18308 configure-stage4-gold:
18309 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18311 @r=`${PWD_COMMAND}`; export r; \
18312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18313 TFLAGS="$(STAGE4_TFLAGS)"; \
18314 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18315 $(HOST_EXPORTS) \
18316 $(POSTSTAGE1_HOST_EXPORTS) \
18317 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18318 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18319 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18320 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18322 cd $(HOST_SUBDIR)/gold || exit 1; \
18323 case $(srcdir) in \
18324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18325 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18327 esac; \
18328 module_srcdir=gold; \
18329 $(SHELL) $$s/$$module_srcdir/configure \
18330 --srcdir=$${topdir}/$$module_srcdir \
18331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18332 --target=${target_alias} \
18333 --with-build-libsubdir=$(HOST_SUBDIR) \
18334 $(STAGE4_CONFIGURE_FLAGS)
18335 @endif gold-bootstrap
18337 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18338 maybe-configure-stageprofile-gold:
18339 @if gold-bootstrap
18340 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18341 configure-stageprofile-gold:
18342 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18344 @r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18346 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18347 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18348 $(HOST_EXPORTS) \
18349 $(POSTSTAGE1_HOST_EXPORTS) \
18350 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18351 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18352 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18353 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18355 cd $(HOST_SUBDIR)/gold || exit 1; \
18356 case $(srcdir) in \
18357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18358 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18360 esac; \
18361 module_srcdir=gold; \
18362 $(SHELL) $$s/$$module_srcdir/configure \
18363 --srcdir=$${topdir}/$$module_srcdir \
18364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18365 --target=${target_alias} \
18366 --with-build-libsubdir=$(HOST_SUBDIR) \
18367 $(STAGEprofile_CONFIGURE_FLAGS)
18368 @endif gold-bootstrap
18370 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18371 maybe-configure-stagetrain-gold:
18372 @if gold-bootstrap
18373 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18374 configure-stagetrain-gold:
18375 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18377 @r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18380 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18381 $(HOST_EXPORTS) \
18382 $(POSTSTAGE1_HOST_EXPORTS) \
18383 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18384 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18385 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18386 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18388 cd $(HOST_SUBDIR)/gold || exit 1; \
18389 case $(srcdir) in \
18390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18391 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18393 esac; \
18394 module_srcdir=gold; \
18395 $(SHELL) $$s/$$module_srcdir/configure \
18396 --srcdir=$${topdir}/$$module_srcdir \
18397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18398 --target=${target_alias} \
18399 --with-build-libsubdir=$(HOST_SUBDIR) \
18400 $(STAGEtrain_CONFIGURE_FLAGS)
18401 @endif gold-bootstrap
18403 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18404 maybe-configure-stagefeedback-gold:
18405 @if gold-bootstrap
18406 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18407 configure-stagefeedback-gold:
18408 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18410 @r=`${PWD_COMMAND}`; export r; \
18411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18412 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18413 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18414 $(HOST_EXPORTS) \
18415 $(POSTSTAGE1_HOST_EXPORTS) \
18416 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18417 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18418 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18419 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18421 cd $(HOST_SUBDIR)/gold || exit 1; \
18422 case $(srcdir) in \
18423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18424 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18426 esac; \
18427 module_srcdir=gold; \
18428 $(SHELL) $$s/$$module_srcdir/configure \
18429 --srcdir=$${topdir}/$$module_srcdir \
18430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18431 --target=${target_alias} \
18432 --with-build-libsubdir=$(HOST_SUBDIR) \
18433 $(STAGEfeedback_CONFIGURE_FLAGS)
18434 @endif gold-bootstrap
18436 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18437 maybe-configure-stageautoprofile-gold:
18438 @if gold-bootstrap
18439 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18440 configure-stageautoprofile-gold:
18441 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18443 @r=`${PWD_COMMAND}`; export r; \
18444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18445 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18446 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18447 $(HOST_EXPORTS) \
18448 $(POSTSTAGE1_HOST_EXPORTS) \
18449 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18450 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18451 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18452 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18454 cd $(HOST_SUBDIR)/gold || exit 1; \
18455 case $(srcdir) in \
18456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18457 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18459 esac; \
18460 module_srcdir=gold; \
18461 $(SHELL) $$s/$$module_srcdir/configure \
18462 --srcdir=$${topdir}/$$module_srcdir \
18463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18464 --target=${target_alias} \
18465 --with-build-libsubdir=$(HOST_SUBDIR) \
18466 $(STAGEautoprofile_CONFIGURE_FLAGS)
18467 @endif gold-bootstrap
18469 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18470 maybe-configure-stageautofeedback-gold:
18471 @if gold-bootstrap
18472 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18473 configure-stageautofeedback-gold:
18474 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18476 @r=`${PWD_COMMAND}`; export r; \
18477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18478 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18479 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18480 $(HOST_EXPORTS) \
18481 $(POSTSTAGE1_HOST_EXPORTS) \
18482 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18483 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18484 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18485 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18487 cd $(HOST_SUBDIR)/gold || exit 1; \
18488 case $(srcdir) in \
18489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18490 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18492 esac; \
18493 module_srcdir=gold; \
18494 $(SHELL) $$s/$$module_srcdir/configure \
18495 --srcdir=$${topdir}/$$module_srcdir \
18496 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18497 --target=${target_alias} \
18498 --with-build-libsubdir=$(HOST_SUBDIR) \
18499 $(STAGEautofeedback_CONFIGURE_FLAGS)
18500 @endif gold-bootstrap
18506 .PHONY: all-gold maybe-all-gold
18507 maybe-all-gold:
18508 @if gcc-bootstrap
18509 all-gold: stage_current
18510 @endif gcc-bootstrap
18511 @if gold
18512 TARGET-gold=all
18513 maybe-all-gold: all-gold
18514 all-gold: configure-gold
18515 @r=`${PWD_COMMAND}`; export r; \
18516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18517 $(HOST_EXPORTS) \
18518 (cd $(HOST_SUBDIR)/gold && \
18519 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18520 $(TARGET-gold))
18521 @endif gold
18525 .PHONY: all-stage1-gold maybe-all-stage1-gold
18526 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18527 maybe-all-stage1-gold:
18528 maybe-clean-stage1-gold:
18529 @if gold-bootstrap
18530 maybe-all-stage1-gold: all-stage1-gold
18531 all-stage1: all-stage1-gold
18532 TARGET-stage1-gold = $(TARGET-gold)
18533 all-stage1-gold: configure-stage1-gold
18534 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18535 @r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 TFLAGS="$(STAGE1_TFLAGS)"; \
18538 $(HOST_EXPORTS) \
18539 cd $(HOST_SUBDIR)/gold && \
18541 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18542 CFLAGS="$(STAGE1_CFLAGS)" \
18543 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
18544 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18545 LIBCFLAGS="$(LIBCFLAGS)" \
18546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18549 $(EXTRA_HOST_FLAGS) \
18550 $(STAGE1_FLAGS_TO_PASS) \
18551 TFLAGS="$(STAGE1_TFLAGS)" \
18552 $(TARGET-stage1-gold)
18554 maybe-clean-stage1-gold: clean-stage1-gold
18555 clean-stage1: clean-stage1-gold
18556 clean-stage1-gold:
18557 @if [ $(current_stage) = stage1 ]; then \
18558 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18559 else \
18560 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18561 $(MAKE) stage1-start; \
18562 fi; \
18563 cd $(HOST_SUBDIR)/gold && \
18564 $(MAKE) $(EXTRA_HOST_FLAGS) \
18565 $(STAGE1_FLAGS_TO_PASS) clean
18566 @endif gold-bootstrap
18569 .PHONY: all-stage2-gold maybe-all-stage2-gold
18570 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18571 maybe-all-stage2-gold:
18572 maybe-clean-stage2-gold:
18573 @if gold-bootstrap
18574 maybe-all-stage2-gold: all-stage2-gold
18575 all-stage2: all-stage2-gold
18576 TARGET-stage2-gold = $(TARGET-gold)
18577 all-stage2-gold: configure-stage2-gold
18578 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18579 @r=`${PWD_COMMAND}`; export r; \
18580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18581 TFLAGS="$(STAGE2_TFLAGS)"; \
18582 $(HOST_EXPORTS) \
18583 $(POSTSTAGE1_HOST_EXPORTS) \
18584 cd $(HOST_SUBDIR)/gold && \
18586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18587 CFLAGS="$(STAGE2_CFLAGS)" \
18588 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
18589 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18590 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18591 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18592 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18593 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18594 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18595 TFLAGS="$(STAGE2_TFLAGS)" \
18596 $(TARGET-stage2-gold)
18598 maybe-clean-stage2-gold: clean-stage2-gold
18599 clean-stage2: clean-stage2-gold
18600 clean-stage2-gold:
18601 @if [ $(current_stage) = stage2 ]; then \
18602 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18603 else \
18604 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18605 $(MAKE) stage2-start; \
18606 fi; \
18607 cd $(HOST_SUBDIR)/gold && \
18608 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18609 @endif gold-bootstrap
18612 .PHONY: all-stage3-gold maybe-all-stage3-gold
18613 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18614 maybe-all-stage3-gold:
18615 maybe-clean-stage3-gold:
18616 @if gold-bootstrap
18617 maybe-all-stage3-gold: all-stage3-gold
18618 all-stage3: all-stage3-gold
18619 TARGET-stage3-gold = $(TARGET-gold)
18620 all-stage3-gold: configure-stage3-gold
18621 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18622 @r=`${PWD_COMMAND}`; export r; \
18623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18624 TFLAGS="$(STAGE3_TFLAGS)"; \
18625 $(HOST_EXPORTS) \
18626 $(POSTSTAGE1_HOST_EXPORTS) \
18627 cd $(HOST_SUBDIR)/gold && \
18629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18630 CFLAGS="$(STAGE3_CFLAGS)" \
18631 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
18632 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18633 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18637 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18638 TFLAGS="$(STAGE3_TFLAGS)" \
18639 $(TARGET-stage3-gold)
18641 maybe-clean-stage3-gold: clean-stage3-gold
18642 clean-stage3: clean-stage3-gold
18643 clean-stage3-gold:
18644 @if [ $(current_stage) = stage3 ]; then \
18645 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18646 else \
18647 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18648 $(MAKE) stage3-start; \
18649 fi; \
18650 cd $(HOST_SUBDIR)/gold && \
18651 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18652 @endif gold-bootstrap
18655 .PHONY: all-stage4-gold maybe-all-stage4-gold
18656 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18657 maybe-all-stage4-gold:
18658 maybe-clean-stage4-gold:
18659 @if gold-bootstrap
18660 maybe-all-stage4-gold: all-stage4-gold
18661 all-stage4: all-stage4-gold
18662 TARGET-stage4-gold = $(TARGET-gold)
18663 all-stage4-gold: configure-stage4-gold
18664 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18665 @r=`${PWD_COMMAND}`; export r; \
18666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18667 TFLAGS="$(STAGE4_TFLAGS)"; \
18668 $(HOST_EXPORTS) \
18669 $(POSTSTAGE1_HOST_EXPORTS) \
18670 cd $(HOST_SUBDIR)/gold && \
18672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18673 CFLAGS="$(STAGE4_CFLAGS)" \
18674 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
18675 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18676 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18680 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18681 TFLAGS="$(STAGE4_TFLAGS)" \
18682 $(TARGET-stage4-gold)
18684 maybe-clean-stage4-gold: clean-stage4-gold
18685 clean-stage4: clean-stage4-gold
18686 clean-stage4-gold:
18687 @if [ $(current_stage) = stage4 ]; then \
18688 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18689 else \
18690 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18691 $(MAKE) stage4-start; \
18692 fi; \
18693 cd $(HOST_SUBDIR)/gold && \
18694 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18695 @endif gold-bootstrap
18698 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18699 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18700 maybe-all-stageprofile-gold:
18701 maybe-clean-stageprofile-gold:
18702 @if gold-bootstrap
18703 maybe-all-stageprofile-gold: all-stageprofile-gold
18704 all-stageprofile: all-stageprofile-gold
18705 TARGET-stageprofile-gold = $(TARGET-gold)
18706 all-stageprofile-gold: configure-stageprofile-gold
18707 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18708 @r=`${PWD_COMMAND}`; export r; \
18709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18710 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18711 $(HOST_EXPORTS) \
18712 $(POSTSTAGE1_HOST_EXPORTS) \
18713 cd $(HOST_SUBDIR)/gold && \
18715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18716 CFLAGS="$(STAGEprofile_CFLAGS)" \
18717 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
18718 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18719 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18723 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18724 TFLAGS="$(STAGEprofile_TFLAGS)" \
18725 $(TARGET-stageprofile-gold)
18727 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18728 clean-stageprofile: clean-stageprofile-gold
18729 clean-stageprofile-gold:
18730 @if [ $(current_stage) = stageprofile ]; then \
18731 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18732 else \
18733 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18734 $(MAKE) stageprofile-start; \
18735 fi; \
18736 cd $(HOST_SUBDIR)/gold && \
18737 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18738 @endif gold-bootstrap
18741 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18742 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18743 maybe-all-stagetrain-gold:
18744 maybe-clean-stagetrain-gold:
18745 @if gold-bootstrap
18746 maybe-all-stagetrain-gold: all-stagetrain-gold
18747 all-stagetrain: all-stagetrain-gold
18748 TARGET-stagetrain-gold = $(TARGET-gold)
18749 all-stagetrain-gold: configure-stagetrain-gold
18750 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18751 @r=`${PWD_COMMAND}`; export r; \
18752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18754 $(HOST_EXPORTS) \
18755 $(POSTSTAGE1_HOST_EXPORTS) \
18756 cd $(HOST_SUBDIR)/gold && \
18758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18759 CFLAGS="$(STAGEtrain_CFLAGS)" \
18760 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
18761 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18762 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18767 TFLAGS="$(STAGEtrain_TFLAGS)" \
18768 $(TARGET-stagetrain-gold)
18770 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18771 clean-stagetrain: clean-stagetrain-gold
18772 clean-stagetrain-gold:
18773 @if [ $(current_stage) = stagetrain ]; then \
18774 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18775 else \
18776 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18777 $(MAKE) stagetrain-start; \
18778 fi; \
18779 cd $(HOST_SUBDIR)/gold && \
18780 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18781 @endif gold-bootstrap
18784 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18785 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18786 maybe-all-stagefeedback-gold:
18787 maybe-clean-stagefeedback-gold:
18788 @if gold-bootstrap
18789 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18790 all-stagefeedback: all-stagefeedback-gold
18791 TARGET-stagefeedback-gold = $(TARGET-gold)
18792 all-stagefeedback-gold: configure-stagefeedback-gold
18793 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18794 @r=`${PWD_COMMAND}`; export r; \
18795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18796 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18797 $(HOST_EXPORTS) \
18798 $(POSTSTAGE1_HOST_EXPORTS) \
18799 cd $(HOST_SUBDIR)/gold && \
18801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18802 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18803 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
18804 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18805 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18809 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18810 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18811 $(TARGET-stagefeedback-gold)
18813 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18814 clean-stagefeedback: clean-stagefeedback-gold
18815 clean-stagefeedback-gold:
18816 @if [ $(current_stage) = stagefeedback ]; then \
18817 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18818 else \
18819 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18820 $(MAKE) stagefeedback-start; \
18821 fi; \
18822 cd $(HOST_SUBDIR)/gold && \
18823 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18824 @endif gold-bootstrap
18827 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18828 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18829 maybe-all-stageautoprofile-gold:
18830 maybe-clean-stageautoprofile-gold:
18831 @if gold-bootstrap
18832 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18833 all-stageautoprofile: all-stageautoprofile-gold
18834 TARGET-stageautoprofile-gold = $(TARGET-gold)
18835 all-stageautoprofile-gold: configure-stageautoprofile-gold
18836 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18837 @r=`${PWD_COMMAND}`; export r; \
18838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18839 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18840 $(HOST_EXPORTS) \
18841 $(POSTSTAGE1_HOST_EXPORTS) \
18842 cd $(HOST_SUBDIR)/gold && \
18843 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18845 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18846 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
18847 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18848 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18852 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18853 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18854 $(TARGET-stageautoprofile-gold)
18856 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18857 clean-stageautoprofile: clean-stageautoprofile-gold
18858 clean-stageautoprofile-gold:
18859 @if [ $(current_stage) = stageautoprofile ]; then \
18860 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18861 else \
18862 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18863 $(MAKE) stageautoprofile-start; \
18864 fi; \
18865 cd $(HOST_SUBDIR)/gold && \
18866 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18867 @endif gold-bootstrap
18870 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18871 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18872 maybe-all-stageautofeedback-gold:
18873 maybe-clean-stageautofeedback-gold:
18874 @if gold-bootstrap
18875 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18876 all-stageautofeedback: all-stageautofeedback-gold
18877 TARGET-stageautofeedback-gold = $(TARGET-gold)
18878 all-stageautofeedback-gold: configure-stageautofeedback-gold
18879 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18880 @r=`${PWD_COMMAND}`; export r; \
18881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18882 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18883 $(HOST_EXPORTS) \
18884 $(POSTSTAGE1_HOST_EXPORTS) \
18885 cd $(HOST_SUBDIR)/gold && \
18887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18888 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18889 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
18890 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18891 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18895 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18896 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18897 $(TARGET-stageautofeedback-gold)
18899 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18900 clean-stageautofeedback: clean-stageautofeedback-gold
18901 clean-stageautofeedback-gold:
18902 @if [ $(current_stage) = stageautofeedback ]; then \
18903 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18904 else \
18905 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18906 $(MAKE) stageautofeedback-start; \
18907 fi; \
18908 cd $(HOST_SUBDIR)/gold && \
18909 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18910 @endif gold-bootstrap
18916 .PHONY: check-gold maybe-check-gold
18917 maybe-check-gold:
18918 @if gold
18919 maybe-check-gold: check-gold
18921 check-gold:
18922 @: $(MAKE); $(unstage)
18923 @r=`${PWD_COMMAND}`; export r; \
18924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18925 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18926 (cd $(HOST_SUBDIR)/gold && \
18927 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18929 @endif gold
18931 .PHONY: install-gold maybe-install-gold
18932 maybe-install-gold:
18933 @if gold
18934 maybe-install-gold: install-gold
18936 install-gold: installdirs
18937 @: $(MAKE); $(unstage)
18938 @r=`${PWD_COMMAND}`; export r; \
18939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18940 $(HOST_EXPORTS) \
18941 (cd $(HOST_SUBDIR)/gold && \
18942 $(MAKE) $(FLAGS_TO_PASS) install)
18944 @endif gold
18946 .PHONY: install-strip-gold maybe-install-strip-gold
18947 maybe-install-strip-gold:
18948 @if gold
18949 maybe-install-strip-gold: install-strip-gold
18951 install-strip-gold: installdirs
18952 @: $(MAKE); $(unstage)
18953 @r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 $(HOST_EXPORTS) \
18956 (cd $(HOST_SUBDIR)/gold && \
18957 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18959 @endif gold
18961 # Other targets (info, dvi, pdf, etc.)
18963 .PHONY: maybe-info-gold info-gold
18964 maybe-info-gold:
18965 @if gold
18966 maybe-info-gold: info-gold
18968 info-gold: \
18969 configure-gold
18970 @[ -f ./gold/Makefile ] || exit 0; \
18971 r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 $(HOST_EXPORTS) \
18974 for flag in $(EXTRA_HOST_FLAGS) ; do \
18975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18976 done; \
18977 echo "Doing info in gold"; \
18978 (cd $(HOST_SUBDIR)/gold && \
18979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18981 "RANLIB=$${RANLIB}" \
18982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18983 info) \
18984 || exit 1
18986 @endif gold
18988 .PHONY: maybe-dvi-gold dvi-gold
18989 maybe-dvi-gold:
18990 @if gold
18991 maybe-dvi-gold: dvi-gold
18993 dvi-gold: \
18994 configure-gold
18995 @[ -f ./gold/Makefile ] || exit 0; \
18996 r=`${PWD_COMMAND}`; export r; \
18997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18998 $(HOST_EXPORTS) \
18999 for flag in $(EXTRA_HOST_FLAGS) ; do \
19000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19001 done; \
19002 echo "Doing dvi in gold"; \
19003 (cd $(HOST_SUBDIR)/gold && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19006 "RANLIB=$${RANLIB}" \
19007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19008 dvi) \
19009 || exit 1
19011 @endif gold
19013 .PHONY: maybe-pdf-gold pdf-gold
19014 maybe-pdf-gold:
19015 @if gold
19016 maybe-pdf-gold: pdf-gold
19018 pdf-gold: \
19019 configure-gold
19020 @[ -f ./gold/Makefile ] || exit 0; \
19021 r=`${PWD_COMMAND}`; export r; \
19022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19023 $(HOST_EXPORTS) \
19024 for flag in $(EXTRA_HOST_FLAGS) ; do \
19025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19026 done; \
19027 echo "Doing pdf in gold"; \
19028 (cd $(HOST_SUBDIR)/gold && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19031 "RANLIB=$${RANLIB}" \
19032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19033 pdf) \
19034 || exit 1
19036 @endif gold
19038 .PHONY: maybe-html-gold html-gold
19039 maybe-html-gold:
19040 @if gold
19041 maybe-html-gold: html-gold
19043 html-gold: \
19044 configure-gold
19045 @[ -f ./gold/Makefile ] || exit 0; \
19046 r=`${PWD_COMMAND}`; export r; \
19047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19048 $(HOST_EXPORTS) \
19049 for flag in $(EXTRA_HOST_FLAGS) ; do \
19050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19051 done; \
19052 echo "Doing html in gold"; \
19053 (cd $(HOST_SUBDIR)/gold && \
19054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19056 "RANLIB=$${RANLIB}" \
19057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19058 html) \
19059 || exit 1
19061 @endif gold
19063 .PHONY: maybe-TAGS-gold TAGS-gold
19064 maybe-TAGS-gold:
19065 @if gold
19066 maybe-TAGS-gold: TAGS-gold
19068 TAGS-gold: \
19069 configure-gold
19070 @[ -f ./gold/Makefile ] || exit 0; \
19071 r=`${PWD_COMMAND}`; export r; \
19072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19073 $(HOST_EXPORTS) \
19074 for flag in $(EXTRA_HOST_FLAGS) ; do \
19075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19076 done; \
19077 echo "Doing TAGS in gold"; \
19078 (cd $(HOST_SUBDIR)/gold && \
19079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19081 "RANLIB=$${RANLIB}" \
19082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19083 TAGS) \
19084 || exit 1
19086 @endif gold
19088 .PHONY: maybe-install-info-gold install-info-gold
19089 maybe-install-info-gold:
19090 @if gold
19091 maybe-install-info-gold: install-info-gold
19093 install-info-gold: \
19094 configure-gold \
19095 info-gold
19096 @[ -f ./gold/Makefile ] || exit 0; \
19097 r=`${PWD_COMMAND}`; export r; \
19098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 $(HOST_EXPORTS) \
19100 for flag in $(EXTRA_HOST_FLAGS) ; do \
19101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19102 done; \
19103 echo "Doing install-info in gold"; \
19104 (cd $(HOST_SUBDIR)/gold && \
19105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19107 "RANLIB=$${RANLIB}" \
19108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19109 install-info) \
19110 || exit 1
19112 @endif gold
19114 .PHONY: maybe-install-pdf-gold install-pdf-gold
19115 maybe-install-pdf-gold:
19116 @if gold
19117 maybe-install-pdf-gold: install-pdf-gold
19119 install-pdf-gold: \
19120 configure-gold \
19121 pdf-gold
19122 @[ -f ./gold/Makefile ] || exit 0; \
19123 r=`${PWD_COMMAND}`; export r; \
19124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19125 $(HOST_EXPORTS) \
19126 for flag in $(EXTRA_HOST_FLAGS) ; do \
19127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19128 done; \
19129 echo "Doing install-pdf in gold"; \
19130 (cd $(HOST_SUBDIR)/gold && \
19131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19133 "RANLIB=$${RANLIB}" \
19134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19135 install-pdf) \
19136 || exit 1
19138 @endif gold
19140 .PHONY: maybe-install-html-gold install-html-gold
19141 maybe-install-html-gold:
19142 @if gold
19143 maybe-install-html-gold: install-html-gold
19145 install-html-gold: \
19146 configure-gold \
19147 html-gold
19148 @[ -f ./gold/Makefile ] || exit 0; \
19149 r=`${PWD_COMMAND}`; export r; \
19150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19151 $(HOST_EXPORTS) \
19152 for flag in $(EXTRA_HOST_FLAGS) ; do \
19153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19154 done; \
19155 echo "Doing install-html in gold"; \
19156 (cd $(HOST_SUBDIR)/gold && \
19157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19159 "RANLIB=$${RANLIB}" \
19160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19161 install-html) \
19162 || exit 1
19164 @endif gold
19166 .PHONY: maybe-installcheck-gold installcheck-gold
19167 maybe-installcheck-gold:
19168 @if gold
19169 maybe-installcheck-gold: installcheck-gold
19171 installcheck-gold: \
19172 configure-gold
19173 @[ -f ./gold/Makefile ] || exit 0; \
19174 r=`${PWD_COMMAND}`; export r; \
19175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19176 $(HOST_EXPORTS) \
19177 for flag in $(EXTRA_HOST_FLAGS) ; do \
19178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19179 done; \
19180 echo "Doing installcheck in gold"; \
19181 (cd $(HOST_SUBDIR)/gold && \
19182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19184 "RANLIB=$${RANLIB}" \
19185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19186 installcheck) \
19187 || exit 1
19189 @endif gold
19191 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
19192 maybe-mostlyclean-gold:
19193 @if gold
19194 maybe-mostlyclean-gold: mostlyclean-gold
19196 mostlyclean-gold:
19197 @[ -f ./gold/Makefile ] || exit 0; \
19198 r=`${PWD_COMMAND}`; export r; \
19199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19200 $(HOST_EXPORTS) \
19201 for flag in $(EXTRA_HOST_FLAGS) ; do \
19202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19203 done; \
19204 echo "Doing mostlyclean in gold"; \
19205 (cd $(HOST_SUBDIR)/gold && \
19206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19208 "RANLIB=$${RANLIB}" \
19209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19210 mostlyclean) \
19211 || exit 1
19213 @endif gold
19215 .PHONY: maybe-clean-gold clean-gold
19216 maybe-clean-gold:
19217 @if gold
19218 maybe-clean-gold: clean-gold
19220 clean-gold:
19221 @[ -f ./gold/Makefile ] || exit 0; \
19222 r=`${PWD_COMMAND}`; export r; \
19223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19224 $(HOST_EXPORTS) \
19225 for flag in $(EXTRA_HOST_FLAGS) ; do \
19226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19227 done; \
19228 echo "Doing clean in gold"; \
19229 (cd $(HOST_SUBDIR)/gold && \
19230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19232 "RANLIB=$${RANLIB}" \
19233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19234 clean) \
19235 || exit 1
19237 @endif gold
19239 .PHONY: maybe-distclean-gold distclean-gold
19240 maybe-distclean-gold:
19241 @if gold
19242 maybe-distclean-gold: distclean-gold
19244 distclean-gold:
19245 @[ -f ./gold/Makefile ] || exit 0; \
19246 r=`${PWD_COMMAND}`; export r; \
19247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19248 $(HOST_EXPORTS) \
19249 for flag in $(EXTRA_HOST_FLAGS) ; do \
19250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19251 done; \
19252 echo "Doing distclean in gold"; \
19253 (cd $(HOST_SUBDIR)/gold && \
19254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19256 "RANLIB=$${RANLIB}" \
19257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19258 distclean) \
19259 || exit 1
19261 @endif gold
19263 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19264 maybe-maintainer-clean-gold:
19265 @if gold
19266 maybe-maintainer-clean-gold: maintainer-clean-gold
19268 maintainer-clean-gold:
19269 @[ -f ./gold/Makefile ] || exit 0; \
19270 r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 $(HOST_EXPORTS) \
19273 for flag in $(EXTRA_HOST_FLAGS) ; do \
19274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19275 done; \
19276 echo "Doing maintainer-clean in gold"; \
19277 (cd $(HOST_SUBDIR)/gold && \
19278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19280 "RANLIB=$${RANLIB}" \
19281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19282 maintainer-clean) \
19283 || exit 1
19285 @endif gold
19289 .PHONY: configure-gprof maybe-configure-gprof
19290 maybe-configure-gprof:
19291 @if gcc-bootstrap
19292 configure-gprof: stage_current
19293 @endif gcc-bootstrap
19294 @if gprof
19295 maybe-configure-gprof: configure-gprof
19296 configure-gprof:
19297 @: $(MAKE); $(unstage)
19298 @r=`${PWD_COMMAND}`; export r; \
19299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19300 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19302 $(HOST_EXPORTS) \
19303 echo Configuring in $(HOST_SUBDIR)/gprof; \
19304 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19305 case $(srcdir) in \
19306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19307 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19309 esac; \
19310 module_srcdir=gprof; \
19311 $(SHELL) \
19312 $$s/$$module_srcdir/configure \
19313 --srcdir=$${topdir}/$$module_srcdir \
19314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19315 --target=${target_alias} \
19316 || exit 1
19317 @endif gprof
19323 .PHONY: all-gprof maybe-all-gprof
19324 maybe-all-gprof:
19325 @if gcc-bootstrap
19326 all-gprof: stage_current
19327 @endif gcc-bootstrap
19328 @if gprof
19329 TARGET-gprof=all
19330 maybe-all-gprof: all-gprof
19331 all-gprof: configure-gprof
19332 @: $(MAKE); $(unstage)
19333 @r=`${PWD_COMMAND}`; export r; \
19334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19335 $(HOST_EXPORTS) \
19336 (cd $(HOST_SUBDIR)/gprof && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19338 $(TARGET-gprof))
19339 @endif gprof
19344 .PHONY: check-gprof maybe-check-gprof
19345 maybe-check-gprof:
19346 @if gprof
19347 maybe-check-gprof: check-gprof
19349 check-gprof:
19350 @: $(MAKE); $(unstage)
19351 @r=`${PWD_COMMAND}`; export r; \
19352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19353 $(HOST_EXPORTS) \
19354 (cd $(HOST_SUBDIR)/gprof && \
19355 $(MAKE) $(FLAGS_TO_PASS) check)
19357 @endif gprof
19359 .PHONY: install-gprof maybe-install-gprof
19360 maybe-install-gprof:
19361 @if gprof
19362 maybe-install-gprof: install-gprof
19364 install-gprof: installdirs
19365 @: $(MAKE); $(unstage)
19366 @r=`${PWD_COMMAND}`; export r; \
19367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19368 $(HOST_EXPORTS) \
19369 (cd $(HOST_SUBDIR)/gprof && \
19370 $(MAKE) $(FLAGS_TO_PASS) install)
19372 @endif gprof
19374 .PHONY: install-strip-gprof maybe-install-strip-gprof
19375 maybe-install-strip-gprof:
19376 @if gprof
19377 maybe-install-strip-gprof: install-strip-gprof
19379 install-strip-gprof: installdirs
19380 @: $(MAKE); $(unstage)
19381 @r=`${PWD_COMMAND}`; export r; \
19382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19383 $(HOST_EXPORTS) \
19384 (cd $(HOST_SUBDIR)/gprof && \
19385 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19387 @endif gprof
19389 # Other targets (info, dvi, pdf, etc.)
19391 .PHONY: maybe-info-gprof info-gprof
19392 maybe-info-gprof:
19393 @if gprof
19394 maybe-info-gprof: info-gprof
19396 info-gprof: \
19397 configure-gprof
19398 @: $(MAKE); $(unstage)
19399 @[ -f ./gprof/Makefile ] || exit 0; \
19400 r=`${PWD_COMMAND}`; export r; \
19401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19402 $(HOST_EXPORTS) \
19403 for flag in $(EXTRA_HOST_FLAGS) ; do \
19404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19405 done; \
19406 echo "Doing info in gprof"; \
19407 (cd $(HOST_SUBDIR)/gprof && \
19408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19410 "RANLIB=$${RANLIB}" \
19411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19412 info) \
19413 || exit 1
19415 @endif gprof
19417 .PHONY: maybe-dvi-gprof dvi-gprof
19418 maybe-dvi-gprof:
19419 @if gprof
19420 maybe-dvi-gprof: dvi-gprof
19422 dvi-gprof: \
19423 configure-gprof
19424 @: $(MAKE); $(unstage)
19425 @[ -f ./gprof/Makefile ] || exit 0; \
19426 r=`${PWD_COMMAND}`; export r; \
19427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19428 $(HOST_EXPORTS) \
19429 for flag in $(EXTRA_HOST_FLAGS) ; do \
19430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19431 done; \
19432 echo "Doing dvi in gprof"; \
19433 (cd $(HOST_SUBDIR)/gprof && \
19434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19436 "RANLIB=$${RANLIB}" \
19437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19438 dvi) \
19439 || exit 1
19441 @endif gprof
19443 .PHONY: maybe-pdf-gprof pdf-gprof
19444 maybe-pdf-gprof:
19445 @if gprof
19446 maybe-pdf-gprof: pdf-gprof
19448 pdf-gprof: \
19449 configure-gprof
19450 @: $(MAKE); $(unstage)
19451 @[ -f ./gprof/Makefile ] || exit 0; \
19452 r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19454 $(HOST_EXPORTS) \
19455 for flag in $(EXTRA_HOST_FLAGS) ; do \
19456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19457 done; \
19458 echo "Doing pdf in gprof"; \
19459 (cd $(HOST_SUBDIR)/gprof && \
19460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19462 "RANLIB=$${RANLIB}" \
19463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19464 pdf) \
19465 || exit 1
19467 @endif gprof
19469 .PHONY: maybe-html-gprof html-gprof
19470 maybe-html-gprof:
19471 @if gprof
19472 maybe-html-gprof: html-gprof
19474 html-gprof: \
19475 configure-gprof
19476 @: $(MAKE); $(unstage)
19477 @[ -f ./gprof/Makefile ] || exit 0; \
19478 r=`${PWD_COMMAND}`; export r; \
19479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19480 $(HOST_EXPORTS) \
19481 for flag in $(EXTRA_HOST_FLAGS) ; do \
19482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19483 done; \
19484 echo "Doing html in gprof"; \
19485 (cd $(HOST_SUBDIR)/gprof && \
19486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19488 "RANLIB=$${RANLIB}" \
19489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19490 html) \
19491 || exit 1
19493 @endif gprof
19495 .PHONY: maybe-TAGS-gprof TAGS-gprof
19496 maybe-TAGS-gprof:
19497 @if gprof
19498 maybe-TAGS-gprof: TAGS-gprof
19500 TAGS-gprof: \
19501 configure-gprof
19502 @: $(MAKE); $(unstage)
19503 @[ -f ./gprof/Makefile ] || exit 0; \
19504 r=`${PWD_COMMAND}`; export r; \
19505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19506 $(HOST_EXPORTS) \
19507 for flag in $(EXTRA_HOST_FLAGS) ; do \
19508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19509 done; \
19510 echo "Doing TAGS in gprof"; \
19511 (cd $(HOST_SUBDIR)/gprof && \
19512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19514 "RANLIB=$${RANLIB}" \
19515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19516 TAGS) \
19517 || exit 1
19519 @endif gprof
19521 .PHONY: maybe-install-info-gprof install-info-gprof
19522 maybe-install-info-gprof:
19523 @if gprof
19524 maybe-install-info-gprof: install-info-gprof
19526 install-info-gprof: \
19527 configure-gprof \
19528 info-gprof
19529 @: $(MAKE); $(unstage)
19530 @[ -f ./gprof/Makefile ] || exit 0; \
19531 r=`${PWD_COMMAND}`; export r; \
19532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19533 $(HOST_EXPORTS) \
19534 for flag in $(EXTRA_HOST_FLAGS) ; do \
19535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19536 done; \
19537 echo "Doing install-info in gprof"; \
19538 (cd $(HOST_SUBDIR)/gprof && \
19539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19541 "RANLIB=$${RANLIB}" \
19542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19543 install-info) \
19544 || exit 1
19546 @endif gprof
19548 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19549 maybe-install-pdf-gprof:
19550 @if gprof
19551 maybe-install-pdf-gprof: install-pdf-gprof
19553 install-pdf-gprof: \
19554 configure-gprof \
19555 pdf-gprof
19556 @: $(MAKE); $(unstage)
19557 @[ -f ./gprof/Makefile ] || exit 0; \
19558 r=`${PWD_COMMAND}`; export r; \
19559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19560 $(HOST_EXPORTS) \
19561 for flag in $(EXTRA_HOST_FLAGS) ; do \
19562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19563 done; \
19564 echo "Doing install-pdf in gprof"; \
19565 (cd $(HOST_SUBDIR)/gprof && \
19566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19568 "RANLIB=$${RANLIB}" \
19569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19570 install-pdf) \
19571 || exit 1
19573 @endif gprof
19575 .PHONY: maybe-install-html-gprof install-html-gprof
19576 maybe-install-html-gprof:
19577 @if gprof
19578 maybe-install-html-gprof: install-html-gprof
19580 install-html-gprof: \
19581 configure-gprof \
19582 html-gprof
19583 @: $(MAKE); $(unstage)
19584 @[ -f ./gprof/Makefile ] || exit 0; \
19585 r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587 $(HOST_EXPORTS) \
19588 for flag in $(EXTRA_HOST_FLAGS) ; do \
19589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19590 done; \
19591 echo "Doing install-html in gprof"; \
19592 (cd $(HOST_SUBDIR)/gprof && \
19593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19595 "RANLIB=$${RANLIB}" \
19596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19597 install-html) \
19598 || exit 1
19600 @endif gprof
19602 .PHONY: maybe-installcheck-gprof installcheck-gprof
19603 maybe-installcheck-gprof:
19604 @if gprof
19605 maybe-installcheck-gprof: installcheck-gprof
19607 installcheck-gprof: \
19608 configure-gprof
19609 @: $(MAKE); $(unstage)
19610 @[ -f ./gprof/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 installcheck in gprof"; \
19618 (cd $(HOST_SUBDIR)/gprof && \
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 installcheck) \
19624 || exit 1
19626 @endif gprof
19628 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19629 maybe-mostlyclean-gprof:
19630 @if gprof
19631 maybe-mostlyclean-gprof: mostlyclean-gprof
19633 mostlyclean-gprof:
19634 @: $(MAKE); $(unstage)
19635 @[ -f ./gprof/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 mostlyclean in gprof"; \
19643 (cd $(HOST_SUBDIR)/gprof && \
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 mostlyclean) \
19649 || exit 1
19651 @endif gprof
19653 .PHONY: maybe-clean-gprof clean-gprof
19654 maybe-clean-gprof:
19655 @if gprof
19656 maybe-clean-gprof: clean-gprof
19658 clean-gprof:
19659 @: $(MAKE); $(unstage)
19660 @[ -f ./gprof/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 clean in gprof"; \
19668 (cd $(HOST_SUBDIR)/gprof && \
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 clean) \
19674 || exit 1
19676 @endif gprof
19678 .PHONY: maybe-distclean-gprof distclean-gprof
19679 maybe-distclean-gprof:
19680 @if gprof
19681 maybe-distclean-gprof: distclean-gprof
19683 distclean-gprof:
19684 @: $(MAKE); $(unstage)
19685 @[ -f ./gprof/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 distclean in gprof"; \
19693 (cd $(HOST_SUBDIR)/gprof && \
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 distclean) \
19699 || exit 1
19701 @endif gprof
19703 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19704 maybe-maintainer-clean-gprof:
19705 @if gprof
19706 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19708 maintainer-clean-gprof:
19709 @: $(MAKE); $(unstage)
19710 @[ -f ./gprof/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 maintainer-clean in gprof"; \
19718 (cd $(HOST_SUBDIR)/gprof && \
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 maintainer-clean) \
19724 || exit 1
19726 @endif gprof
19730 .PHONY: configure-intl maybe-configure-intl
19731 maybe-configure-intl:
19732 @if gcc-bootstrap
19733 configure-intl: stage_current
19734 @endif gcc-bootstrap
19735 @if intl
19736 maybe-configure-intl: configure-intl
19737 configure-intl:
19738 @r=`${PWD_COMMAND}`; export r; \
19739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19740 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19742 $(HOST_EXPORTS) \
19743 echo Configuring in $(HOST_SUBDIR)/intl; \
19744 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19745 case $(srcdir) in \
19746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19747 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19749 esac; \
19750 module_srcdir=intl; \
19751 $(SHELL) \
19752 $$s/$$module_srcdir/configure \
19753 --srcdir=$${topdir}/$$module_srcdir \
19754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19755 --target=${target_alias} \
19756 || exit 1
19757 @endif intl
19761 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19762 maybe-configure-stage1-intl:
19763 @if intl-bootstrap
19764 maybe-configure-stage1-intl: configure-stage1-intl
19765 configure-stage1-intl:
19766 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19768 @r=`${PWD_COMMAND}`; export r; \
19769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19770 TFLAGS="$(STAGE1_TFLAGS)"; \
19771 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19772 $(HOST_EXPORTS) \
19773 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19774 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19775 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19776 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19778 cd $(HOST_SUBDIR)/intl || exit 1; \
19779 case $(srcdir) in \
19780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19781 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19783 esac; \
19784 module_srcdir=intl; \
19785 $(SHELL) $$s/$$module_srcdir/configure \
19786 --srcdir=$${topdir}/$$module_srcdir \
19787 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19788 --target=${target_alias} \
19790 $(STAGE1_CONFIGURE_FLAGS)
19791 @endif intl-bootstrap
19793 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19794 maybe-configure-stage2-intl:
19795 @if intl-bootstrap
19796 maybe-configure-stage2-intl: configure-stage2-intl
19797 configure-stage2-intl:
19798 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19800 @r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 TFLAGS="$(STAGE2_TFLAGS)"; \
19803 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19804 $(HOST_EXPORTS) \
19805 $(POSTSTAGE1_HOST_EXPORTS) \
19806 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19807 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19808 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19809 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19811 cd $(HOST_SUBDIR)/intl || exit 1; \
19812 case $(srcdir) in \
19813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19814 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19816 esac; \
19817 module_srcdir=intl; \
19818 $(SHELL) $$s/$$module_srcdir/configure \
19819 --srcdir=$${topdir}/$$module_srcdir \
19820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19821 --target=${target_alias} \
19822 --with-build-libsubdir=$(HOST_SUBDIR) \
19823 $(STAGE2_CONFIGURE_FLAGS)
19824 @endif intl-bootstrap
19826 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19827 maybe-configure-stage3-intl:
19828 @if intl-bootstrap
19829 maybe-configure-stage3-intl: configure-stage3-intl
19830 configure-stage3-intl:
19831 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19833 @r=`${PWD_COMMAND}`; export r; \
19834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19835 TFLAGS="$(STAGE3_TFLAGS)"; \
19836 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19837 $(HOST_EXPORTS) \
19838 $(POSTSTAGE1_HOST_EXPORTS) \
19839 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19840 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19841 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19842 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19844 cd $(HOST_SUBDIR)/intl || exit 1; \
19845 case $(srcdir) in \
19846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19847 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19849 esac; \
19850 module_srcdir=intl; \
19851 $(SHELL) $$s/$$module_srcdir/configure \
19852 --srcdir=$${topdir}/$$module_srcdir \
19853 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19854 --target=${target_alias} \
19855 --with-build-libsubdir=$(HOST_SUBDIR) \
19856 $(STAGE3_CONFIGURE_FLAGS)
19857 @endif intl-bootstrap
19859 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19860 maybe-configure-stage4-intl:
19861 @if intl-bootstrap
19862 maybe-configure-stage4-intl: configure-stage4-intl
19863 configure-stage4-intl:
19864 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19866 @r=`${PWD_COMMAND}`; export r; \
19867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19868 TFLAGS="$(STAGE4_TFLAGS)"; \
19869 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19870 $(HOST_EXPORTS) \
19871 $(POSTSTAGE1_HOST_EXPORTS) \
19872 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19873 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19874 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19875 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19877 cd $(HOST_SUBDIR)/intl || exit 1; \
19878 case $(srcdir) in \
19879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19880 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19882 esac; \
19883 module_srcdir=intl; \
19884 $(SHELL) $$s/$$module_srcdir/configure \
19885 --srcdir=$${topdir}/$$module_srcdir \
19886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19887 --target=${target_alias} \
19888 --with-build-libsubdir=$(HOST_SUBDIR) \
19889 $(STAGE4_CONFIGURE_FLAGS)
19890 @endif intl-bootstrap
19892 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19893 maybe-configure-stageprofile-intl:
19894 @if intl-bootstrap
19895 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19896 configure-stageprofile-intl:
19897 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19898 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19899 @r=`${PWD_COMMAND}`; export r; \
19900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19901 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19902 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19903 $(HOST_EXPORTS) \
19904 $(POSTSTAGE1_HOST_EXPORTS) \
19905 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19906 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19907 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19908 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19910 cd $(HOST_SUBDIR)/intl || exit 1; \
19911 case $(srcdir) in \
19912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19913 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19915 esac; \
19916 module_srcdir=intl; \
19917 $(SHELL) $$s/$$module_srcdir/configure \
19918 --srcdir=$${topdir}/$$module_srcdir \
19919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19920 --target=${target_alias} \
19921 --with-build-libsubdir=$(HOST_SUBDIR) \
19922 $(STAGEprofile_CONFIGURE_FLAGS)
19923 @endif intl-bootstrap
19925 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19926 maybe-configure-stagetrain-intl:
19927 @if intl-bootstrap
19928 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19929 configure-stagetrain-intl:
19930 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19932 @r=`${PWD_COMMAND}`; export r; \
19933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19934 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19935 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19936 $(HOST_EXPORTS) \
19937 $(POSTSTAGE1_HOST_EXPORTS) \
19938 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19939 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19940 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19941 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19943 cd $(HOST_SUBDIR)/intl || exit 1; \
19944 case $(srcdir) in \
19945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19946 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19948 esac; \
19949 module_srcdir=intl; \
19950 $(SHELL) $$s/$$module_srcdir/configure \
19951 --srcdir=$${topdir}/$$module_srcdir \
19952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19953 --target=${target_alias} \
19954 --with-build-libsubdir=$(HOST_SUBDIR) \
19955 $(STAGEtrain_CONFIGURE_FLAGS)
19956 @endif intl-bootstrap
19958 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19959 maybe-configure-stagefeedback-intl:
19960 @if intl-bootstrap
19961 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19962 configure-stagefeedback-intl:
19963 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19964 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19965 @r=`${PWD_COMMAND}`; export r; \
19966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19967 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19968 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19969 $(HOST_EXPORTS) \
19970 $(POSTSTAGE1_HOST_EXPORTS) \
19971 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19972 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19973 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19974 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19976 cd $(HOST_SUBDIR)/intl || exit 1; \
19977 case $(srcdir) in \
19978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19979 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19981 esac; \
19982 module_srcdir=intl; \
19983 $(SHELL) $$s/$$module_srcdir/configure \
19984 --srcdir=$${topdir}/$$module_srcdir \
19985 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19986 --target=${target_alias} \
19987 --with-build-libsubdir=$(HOST_SUBDIR) \
19988 $(STAGEfeedback_CONFIGURE_FLAGS)
19989 @endif intl-bootstrap
19991 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19992 maybe-configure-stageautoprofile-intl:
19993 @if intl-bootstrap
19994 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19995 configure-stageautoprofile-intl:
19996 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19998 @r=`${PWD_COMMAND}`; export r; \
19999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20000 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20001 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20002 $(HOST_EXPORTS) \
20003 $(POSTSTAGE1_HOST_EXPORTS) \
20004 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
20005 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
20006 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
20007 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
20008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20009 cd $(HOST_SUBDIR)/intl || exit 1; \
20010 case $(srcdir) in \
20011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20012 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20014 esac; \
20015 module_srcdir=intl; \
20016 $(SHELL) $$s/$$module_srcdir/configure \
20017 --srcdir=$${topdir}/$$module_srcdir \
20018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20019 --target=${target_alias} \
20020 --with-build-libsubdir=$(HOST_SUBDIR) \
20021 $(STAGEautoprofile_CONFIGURE_FLAGS)
20022 @endif intl-bootstrap
20024 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
20025 maybe-configure-stageautofeedback-intl:
20026 @if intl-bootstrap
20027 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
20028 configure-stageautofeedback-intl:
20029 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20030 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20031 @r=`${PWD_COMMAND}`; export r; \
20032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20033 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20034 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20035 $(HOST_EXPORTS) \
20036 $(POSTSTAGE1_HOST_EXPORTS) \
20037 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20038 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20039 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20040 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
20041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20042 cd $(HOST_SUBDIR)/intl || exit 1; \
20043 case $(srcdir) in \
20044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20045 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20047 esac; \
20048 module_srcdir=intl; \
20049 $(SHELL) $$s/$$module_srcdir/configure \
20050 --srcdir=$${topdir}/$$module_srcdir \
20051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20052 --target=${target_alias} \
20053 --with-build-libsubdir=$(HOST_SUBDIR) \
20054 $(STAGEautofeedback_CONFIGURE_FLAGS)
20055 @endif intl-bootstrap
20061 .PHONY: all-intl maybe-all-intl
20062 maybe-all-intl:
20063 @if gcc-bootstrap
20064 all-intl: stage_current
20065 @endif gcc-bootstrap
20066 @if intl
20067 TARGET-intl=all
20068 maybe-all-intl: all-intl
20069 all-intl: configure-intl
20070 @r=`${PWD_COMMAND}`; export r; \
20071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20072 $(HOST_EXPORTS) \
20073 (cd $(HOST_SUBDIR)/intl && \
20074 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20075 $(TARGET-intl))
20076 @endif intl
20080 .PHONY: all-stage1-intl maybe-all-stage1-intl
20081 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
20082 maybe-all-stage1-intl:
20083 maybe-clean-stage1-intl:
20084 @if intl-bootstrap
20085 maybe-all-stage1-intl: all-stage1-intl
20086 all-stage1: all-stage1-intl
20087 TARGET-stage1-intl = $(TARGET-intl)
20088 all-stage1-intl: configure-stage1-intl
20089 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20090 @r=`${PWD_COMMAND}`; export r; \
20091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20092 TFLAGS="$(STAGE1_TFLAGS)"; \
20093 $(HOST_EXPORTS) \
20094 cd $(HOST_SUBDIR)/intl && \
20096 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20097 CFLAGS="$(STAGE1_CFLAGS)" \
20098 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
20099 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20100 LIBCFLAGS="$(LIBCFLAGS)" \
20101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20104 $(EXTRA_HOST_FLAGS) \
20105 $(STAGE1_FLAGS_TO_PASS) \
20106 TFLAGS="$(STAGE1_TFLAGS)" \
20107 $(TARGET-stage1-intl)
20109 maybe-clean-stage1-intl: clean-stage1-intl
20110 clean-stage1: clean-stage1-intl
20111 clean-stage1-intl:
20112 @if [ $(current_stage) = stage1 ]; then \
20113 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20114 else \
20115 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
20116 $(MAKE) stage1-start; \
20117 fi; \
20118 cd $(HOST_SUBDIR)/intl && \
20119 $(MAKE) $(EXTRA_HOST_FLAGS) \
20120 $(STAGE1_FLAGS_TO_PASS) clean
20121 @endif intl-bootstrap
20124 .PHONY: all-stage2-intl maybe-all-stage2-intl
20125 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
20126 maybe-all-stage2-intl:
20127 maybe-clean-stage2-intl:
20128 @if intl-bootstrap
20129 maybe-all-stage2-intl: all-stage2-intl
20130 all-stage2: all-stage2-intl
20131 TARGET-stage2-intl = $(TARGET-intl)
20132 all-stage2-intl: configure-stage2-intl
20133 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20134 @r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 TFLAGS="$(STAGE2_TFLAGS)"; \
20137 $(HOST_EXPORTS) \
20138 $(POSTSTAGE1_HOST_EXPORTS) \
20139 cd $(HOST_SUBDIR)/intl && \
20141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20142 CFLAGS="$(STAGE2_CFLAGS)" \
20143 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
20144 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20145 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20150 TFLAGS="$(STAGE2_TFLAGS)" \
20151 $(TARGET-stage2-intl)
20153 maybe-clean-stage2-intl: clean-stage2-intl
20154 clean-stage2: clean-stage2-intl
20155 clean-stage2-intl:
20156 @if [ $(current_stage) = stage2 ]; then \
20157 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20158 else \
20159 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
20160 $(MAKE) stage2-start; \
20161 fi; \
20162 cd $(HOST_SUBDIR)/intl && \
20163 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20164 @endif intl-bootstrap
20167 .PHONY: all-stage3-intl maybe-all-stage3-intl
20168 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
20169 maybe-all-stage3-intl:
20170 maybe-clean-stage3-intl:
20171 @if intl-bootstrap
20172 maybe-all-stage3-intl: all-stage3-intl
20173 all-stage3: all-stage3-intl
20174 TARGET-stage3-intl = $(TARGET-intl)
20175 all-stage3-intl: configure-stage3-intl
20176 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20177 @r=`${PWD_COMMAND}`; export r; \
20178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20179 TFLAGS="$(STAGE3_TFLAGS)"; \
20180 $(HOST_EXPORTS) \
20181 $(POSTSTAGE1_HOST_EXPORTS) \
20182 cd $(HOST_SUBDIR)/intl && \
20184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20185 CFLAGS="$(STAGE3_CFLAGS)" \
20186 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
20187 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20188 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20193 TFLAGS="$(STAGE3_TFLAGS)" \
20194 $(TARGET-stage3-intl)
20196 maybe-clean-stage3-intl: clean-stage3-intl
20197 clean-stage3: clean-stage3-intl
20198 clean-stage3-intl:
20199 @if [ $(current_stage) = stage3 ]; then \
20200 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20201 else \
20202 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
20203 $(MAKE) stage3-start; \
20204 fi; \
20205 cd $(HOST_SUBDIR)/intl && \
20206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20207 @endif intl-bootstrap
20210 .PHONY: all-stage4-intl maybe-all-stage4-intl
20211 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
20212 maybe-all-stage4-intl:
20213 maybe-clean-stage4-intl:
20214 @if intl-bootstrap
20215 maybe-all-stage4-intl: all-stage4-intl
20216 all-stage4: all-stage4-intl
20217 TARGET-stage4-intl = $(TARGET-intl)
20218 all-stage4-intl: configure-stage4-intl
20219 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20220 @r=`${PWD_COMMAND}`; export r; \
20221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20222 TFLAGS="$(STAGE4_TFLAGS)"; \
20223 $(HOST_EXPORTS) \
20224 $(POSTSTAGE1_HOST_EXPORTS) \
20225 cd $(HOST_SUBDIR)/intl && \
20227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20228 CFLAGS="$(STAGE4_CFLAGS)" \
20229 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
20230 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20231 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20236 TFLAGS="$(STAGE4_TFLAGS)" \
20237 $(TARGET-stage4-intl)
20239 maybe-clean-stage4-intl: clean-stage4-intl
20240 clean-stage4: clean-stage4-intl
20241 clean-stage4-intl:
20242 @if [ $(current_stage) = stage4 ]; then \
20243 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20244 else \
20245 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20246 $(MAKE) stage4-start; \
20247 fi; \
20248 cd $(HOST_SUBDIR)/intl && \
20249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20250 @endif intl-bootstrap
20253 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20254 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20255 maybe-all-stageprofile-intl:
20256 maybe-clean-stageprofile-intl:
20257 @if intl-bootstrap
20258 maybe-all-stageprofile-intl: all-stageprofile-intl
20259 all-stageprofile: all-stageprofile-intl
20260 TARGET-stageprofile-intl = $(TARGET-intl)
20261 all-stageprofile-intl: configure-stageprofile-intl
20262 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20263 @r=`${PWD_COMMAND}`; export r; \
20264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20265 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20266 $(HOST_EXPORTS) \
20267 $(POSTSTAGE1_HOST_EXPORTS) \
20268 cd $(HOST_SUBDIR)/intl && \
20270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20271 CFLAGS="$(STAGEprofile_CFLAGS)" \
20272 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
20273 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20274 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20279 TFLAGS="$(STAGEprofile_TFLAGS)" \
20280 $(TARGET-stageprofile-intl)
20282 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20283 clean-stageprofile: clean-stageprofile-intl
20284 clean-stageprofile-intl:
20285 @if [ $(current_stage) = stageprofile ]; then \
20286 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20287 else \
20288 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20289 $(MAKE) stageprofile-start; \
20290 fi; \
20291 cd $(HOST_SUBDIR)/intl && \
20292 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20293 @endif intl-bootstrap
20296 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20297 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20298 maybe-all-stagetrain-intl:
20299 maybe-clean-stagetrain-intl:
20300 @if intl-bootstrap
20301 maybe-all-stagetrain-intl: all-stagetrain-intl
20302 all-stagetrain: all-stagetrain-intl
20303 TARGET-stagetrain-intl = $(TARGET-intl)
20304 all-stagetrain-intl: configure-stagetrain-intl
20305 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20306 @r=`${PWD_COMMAND}`; export r; \
20307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20308 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20309 $(HOST_EXPORTS) \
20310 $(POSTSTAGE1_HOST_EXPORTS) \
20311 cd $(HOST_SUBDIR)/intl && \
20313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20314 CFLAGS="$(STAGEtrain_CFLAGS)" \
20315 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
20316 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20317 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20322 TFLAGS="$(STAGEtrain_TFLAGS)" \
20323 $(TARGET-stagetrain-intl)
20325 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20326 clean-stagetrain: clean-stagetrain-intl
20327 clean-stagetrain-intl:
20328 @if [ $(current_stage) = stagetrain ]; then \
20329 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20330 else \
20331 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20332 $(MAKE) stagetrain-start; \
20333 fi; \
20334 cd $(HOST_SUBDIR)/intl && \
20335 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20336 @endif intl-bootstrap
20339 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20340 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20341 maybe-all-stagefeedback-intl:
20342 maybe-clean-stagefeedback-intl:
20343 @if intl-bootstrap
20344 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20345 all-stagefeedback: all-stagefeedback-intl
20346 TARGET-stagefeedback-intl = $(TARGET-intl)
20347 all-stagefeedback-intl: configure-stagefeedback-intl
20348 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20349 @r=`${PWD_COMMAND}`; export r; \
20350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20351 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20352 $(HOST_EXPORTS) \
20353 $(POSTSTAGE1_HOST_EXPORTS) \
20354 cd $(HOST_SUBDIR)/intl && \
20356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20357 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20358 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
20359 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20360 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20365 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20366 $(TARGET-stagefeedback-intl)
20368 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20369 clean-stagefeedback: clean-stagefeedback-intl
20370 clean-stagefeedback-intl:
20371 @if [ $(current_stage) = stagefeedback ]; then \
20372 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20373 else \
20374 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20375 $(MAKE) stagefeedback-start; \
20376 fi; \
20377 cd $(HOST_SUBDIR)/intl && \
20378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20379 @endif intl-bootstrap
20382 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20383 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20384 maybe-all-stageautoprofile-intl:
20385 maybe-clean-stageautoprofile-intl:
20386 @if intl-bootstrap
20387 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20388 all-stageautoprofile: all-stageautoprofile-intl
20389 TARGET-stageautoprofile-intl = $(TARGET-intl)
20390 all-stageautoprofile-intl: configure-stageautoprofile-intl
20391 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20392 @r=`${PWD_COMMAND}`; export r; \
20393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20394 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20395 $(HOST_EXPORTS) \
20396 $(POSTSTAGE1_HOST_EXPORTS) \
20397 cd $(HOST_SUBDIR)/intl && \
20398 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20400 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20401 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
20402 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20403 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20408 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20409 $(TARGET-stageautoprofile-intl)
20411 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20412 clean-stageautoprofile: clean-stageautoprofile-intl
20413 clean-stageautoprofile-intl:
20414 @if [ $(current_stage) = stageautoprofile ]; then \
20415 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20416 else \
20417 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20418 $(MAKE) stageautoprofile-start; \
20419 fi; \
20420 cd $(HOST_SUBDIR)/intl && \
20421 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20422 @endif intl-bootstrap
20425 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20426 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20427 maybe-all-stageautofeedback-intl:
20428 maybe-clean-stageautofeedback-intl:
20429 @if intl-bootstrap
20430 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20431 all-stageautofeedback: all-stageautofeedback-intl
20432 TARGET-stageautofeedback-intl = $(TARGET-intl)
20433 all-stageautofeedback-intl: configure-stageautofeedback-intl
20434 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20435 @r=`${PWD_COMMAND}`; export r; \
20436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20437 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20438 $(HOST_EXPORTS) \
20439 $(POSTSTAGE1_HOST_EXPORTS) \
20440 cd $(HOST_SUBDIR)/intl && \
20442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20443 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20444 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
20445 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20446 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20450 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20451 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20452 $(TARGET-stageautofeedback-intl)
20454 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20455 clean-stageautofeedback: clean-stageautofeedback-intl
20456 clean-stageautofeedback-intl:
20457 @if [ $(current_stage) = stageautofeedback ]; then \
20458 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20459 else \
20460 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20461 $(MAKE) stageautofeedback-start; \
20462 fi; \
20463 cd $(HOST_SUBDIR)/intl && \
20464 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20465 @endif intl-bootstrap
20471 .PHONY: check-intl maybe-check-intl
20472 maybe-check-intl:
20473 @if intl
20474 maybe-check-intl: check-intl
20476 check-intl:
20477 @: $(MAKE); $(unstage)
20478 @r=`${PWD_COMMAND}`; export r; \
20479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20480 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20481 (cd $(HOST_SUBDIR)/intl && \
20482 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20484 @endif intl
20486 .PHONY: install-intl maybe-install-intl
20487 maybe-install-intl:
20488 @if intl
20489 maybe-install-intl: install-intl
20491 install-intl: installdirs
20492 @: $(MAKE); $(unstage)
20493 @r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 $(HOST_EXPORTS) \
20496 (cd $(HOST_SUBDIR)/intl && \
20497 $(MAKE) $(FLAGS_TO_PASS) install)
20499 @endif intl
20501 .PHONY: install-strip-intl maybe-install-strip-intl
20502 maybe-install-strip-intl:
20503 @if intl
20504 maybe-install-strip-intl: install-strip-intl
20506 install-strip-intl: installdirs
20507 @: $(MAKE); $(unstage)
20508 @r=`${PWD_COMMAND}`; export r; \
20509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20510 $(HOST_EXPORTS) \
20511 (cd $(HOST_SUBDIR)/intl && \
20512 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20514 @endif intl
20516 # Other targets (info, dvi, pdf, etc.)
20518 .PHONY: maybe-info-intl info-intl
20519 maybe-info-intl:
20520 @if intl
20521 maybe-info-intl: info-intl
20523 info-intl: \
20524 configure-intl
20525 @[ -f ./intl/Makefile ] || exit 0; \
20526 r=`${PWD_COMMAND}`; export r; \
20527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20528 $(HOST_EXPORTS) \
20529 for flag in $(EXTRA_HOST_FLAGS) ; do \
20530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20531 done; \
20532 echo "Doing info in intl"; \
20533 (cd $(HOST_SUBDIR)/intl && \
20534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20536 "RANLIB=$${RANLIB}" \
20537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20538 info) \
20539 || exit 1
20541 @endif intl
20543 .PHONY: maybe-dvi-intl dvi-intl
20544 maybe-dvi-intl:
20545 @if intl
20546 maybe-dvi-intl: dvi-intl
20548 dvi-intl: \
20549 configure-intl
20550 @[ -f ./intl/Makefile ] || exit 0; \
20551 r=`${PWD_COMMAND}`; export r; \
20552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20553 $(HOST_EXPORTS) \
20554 for flag in $(EXTRA_HOST_FLAGS) ; do \
20555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20556 done; \
20557 echo "Doing dvi in intl"; \
20558 (cd $(HOST_SUBDIR)/intl && \
20559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20561 "RANLIB=$${RANLIB}" \
20562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20563 dvi) \
20564 || exit 1
20566 @endif intl
20568 .PHONY: maybe-pdf-intl pdf-intl
20569 maybe-pdf-intl:
20570 @if intl
20571 maybe-pdf-intl: pdf-intl
20573 pdf-intl: \
20574 configure-intl
20575 @[ -f ./intl/Makefile ] || exit 0; \
20576 r=`${PWD_COMMAND}`; export r; \
20577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20578 $(HOST_EXPORTS) \
20579 for flag in $(EXTRA_HOST_FLAGS) ; do \
20580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20581 done; \
20582 echo "Doing pdf in intl"; \
20583 (cd $(HOST_SUBDIR)/intl && \
20584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20586 "RANLIB=$${RANLIB}" \
20587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20588 pdf) \
20589 || exit 1
20591 @endif intl
20593 .PHONY: maybe-html-intl html-intl
20594 maybe-html-intl:
20595 @if intl
20596 maybe-html-intl: html-intl
20598 html-intl: \
20599 configure-intl
20600 @[ -f ./intl/Makefile ] || exit 0; \
20601 r=`${PWD_COMMAND}`; export r; \
20602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20603 $(HOST_EXPORTS) \
20604 for flag in $(EXTRA_HOST_FLAGS) ; do \
20605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20606 done; \
20607 echo "Doing html in intl"; \
20608 (cd $(HOST_SUBDIR)/intl && \
20609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20611 "RANLIB=$${RANLIB}" \
20612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20613 html) \
20614 || exit 1
20616 @endif intl
20618 .PHONY: maybe-TAGS-intl TAGS-intl
20619 maybe-TAGS-intl:
20620 @if intl
20621 maybe-TAGS-intl: TAGS-intl
20623 TAGS-intl: \
20624 configure-intl
20625 @[ -f ./intl/Makefile ] || exit 0; \
20626 r=`${PWD_COMMAND}`; export r; \
20627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20628 $(HOST_EXPORTS) \
20629 for flag in $(EXTRA_HOST_FLAGS) ; do \
20630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20631 done; \
20632 echo "Doing TAGS in intl"; \
20633 (cd $(HOST_SUBDIR)/intl && \
20634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20636 "RANLIB=$${RANLIB}" \
20637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20638 TAGS) \
20639 || exit 1
20641 @endif intl
20643 .PHONY: maybe-install-info-intl install-info-intl
20644 maybe-install-info-intl:
20645 @if intl
20646 maybe-install-info-intl: install-info-intl
20648 install-info-intl: \
20649 configure-intl \
20650 info-intl
20651 @[ -f ./intl/Makefile ] || exit 0; \
20652 r=`${PWD_COMMAND}`; export r; \
20653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654 $(HOST_EXPORTS) \
20655 for flag in $(EXTRA_HOST_FLAGS) ; do \
20656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20657 done; \
20658 echo "Doing install-info in intl"; \
20659 (cd $(HOST_SUBDIR)/intl && \
20660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20662 "RANLIB=$${RANLIB}" \
20663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20664 install-info) \
20665 || exit 1
20667 @endif intl
20669 .PHONY: maybe-install-pdf-intl install-pdf-intl
20670 maybe-install-pdf-intl:
20671 @if intl
20672 maybe-install-pdf-intl: install-pdf-intl
20674 install-pdf-intl: \
20675 configure-intl \
20676 pdf-intl
20677 @[ -f ./intl/Makefile ] || exit 0; \
20678 r=`${PWD_COMMAND}`; export r; \
20679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20680 $(HOST_EXPORTS) \
20681 for flag in $(EXTRA_HOST_FLAGS) ; do \
20682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20683 done; \
20684 echo "Doing install-pdf in intl"; \
20685 (cd $(HOST_SUBDIR)/intl && \
20686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20688 "RANLIB=$${RANLIB}" \
20689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20690 install-pdf) \
20691 || exit 1
20693 @endif intl
20695 .PHONY: maybe-install-html-intl install-html-intl
20696 maybe-install-html-intl:
20697 @if intl
20698 maybe-install-html-intl: install-html-intl
20700 install-html-intl: \
20701 configure-intl \
20702 html-intl
20703 @[ -f ./intl/Makefile ] || exit 0; \
20704 r=`${PWD_COMMAND}`; export r; \
20705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20706 $(HOST_EXPORTS) \
20707 for flag in $(EXTRA_HOST_FLAGS) ; do \
20708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20709 done; \
20710 echo "Doing install-html in intl"; \
20711 (cd $(HOST_SUBDIR)/intl && \
20712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20714 "RANLIB=$${RANLIB}" \
20715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20716 install-html) \
20717 || exit 1
20719 @endif intl
20721 .PHONY: maybe-installcheck-intl installcheck-intl
20722 maybe-installcheck-intl:
20723 @if intl
20724 maybe-installcheck-intl: installcheck-intl
20726 installcheck-intl: \
20727 configure-intl
20728 @[ -f ./intl/Makefile ] || exit 0; \
20729 r=`${PWD_COMMAND}`; export r; \
20730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20731 $(HOST_EXPORTS) \
20732 for flag in $(EXTRA_HOST_FLAGS) ; do \
20733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20734 done; \
20735 echo "Doing installcheck in intl"; \
20736 (cd $(HOST_SUBDIR)/intl && \
20737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20739 "RANLIB=$${RANLIB}" \
20740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20741 installcheck) \
20742 || exit 1
20744 @endif intl
20746 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20747 maybe-mostlyclean-intl:
20748 @if intl
20749 maybe-mostlyclean-intl: mostlyclean-intl
20751 mostlyclean-intl:
20752 @[ -f ./intl/Makefile ] || exit 0; \
20753 r=`${PWD_COMMAND}`; export r; \
20754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20755 $(HOST_EXPORTS) \
20756 for flag in $(EXTRA_HOST_FLAGS) ; do \
20757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20758 done; \
20759 echo "Doing mostlyclean in intl"; \
20760 (cd $(HOST_SUBDIR)/intl && \
20761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20763 "RANLIB=$${RANLIB}" \
20764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20765 mostlyclean) \
20766 || exit 1
20768 @endif intl
20770 .PHONY: maybe-clean-intl clean-intl
20771 maybe-clean-intl:
20772 @if intl
20773 maybe-clean-intl: clean-intl
20775 clean-intl:
20776 @[ -f ./intl/Makefile ] || exit 0; \
20777 r=`${PWD_COMMAND}`; export r; \
20778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20779 $(HOST_EXPORTS) \
20780 for flag in $(EXTRA_HOST_FLAGS) ; do \
20781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20782 done; \
20783 echo "Doing clean in intl"; \
20784 (cd $(HOST_SUBDIR)/intl && \
20785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20787 "RANLIB=$${RANLIB}" \
20788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20789 clean) \
20790 || exit 1
20792 @endif intl
20794 .PHONY: maybe-distclean-intl distclean-intl
20795 maybe-distclean-intl:
20796 @if intl
20797 maybe-distclean-intl: distclean-intl
20799 distclean-intl:
20800 @[ -f ./intl/Makefile ] || exit 0; \
20801 r=`${PWD_COMMAND}`; export r; \
20802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20803 $(HOST_EXPORTS) \
20804 for flag in $(EXTRA_HOST_FLAGS) ; do \
20805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20806 done; \
20807 echo "Doing distclean in intl"; \
20808 (cd $(HOST_SUBDIR)/intl && \
20809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20811 "RANLIB=$${RANLIB}" \
20812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20813 distclean) \
20814 || exit 1
20816 @endif intl
20818 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20819 maybe-maintainer-clean-intl:
20820 @if intl
20821 maybe-maintainer-clean-intl: maintainer-clean-intl
20823 maintainer-clean-intl:
20824 @[ -f ./intl/Makefile ] || exit 0; \
20825 r=`${PWD_COMMAND}`; export r; \
20826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20827 $(HOST_EXPORTS) \
20828 for flag in $(EXTRA_HOST_FLAGS) ; do \
20829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20830 done; \
20831 echo "Doing maintainer-clean in intl"; \
20832 (cd $(HOST_SUBDIR)/intl && \
20833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20835 "RANLIB=$${RANLIB}" \
20836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20837 maintainer-clean) \
20838 || exit 1
20840 @endif intl
20844 .PHONY: configure-tcl maybe-configure-tcl
20845 maybe-configure-tcl:
20846 @if gcc-bootstrap
20847 configure-tcl: stage_current
20848 @endif gcc-bootstrap
20849 @if tcl
20850 maybe-configure-tcl: configure-tcl
20851 configure-tcl:
20852 @: $(MAKE); $(unstage)
20853 @r=`${PWD_COMMAND}`; export r; \
20854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20855 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20857 $(HOST_EXPORTS) \
20858 echo Configuring in $(HOST_SUBDIR)/tcl; \
20859 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20860 case $(srcdir) in \
20861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20862 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20864 esac; \
20865 module_srcdir=tcl; \
20866 $(SHELL) \
20867 $$s/$$module_srcdir/configure \
20868 --srcdir=$${topdir}/$$module_srcdir \
20869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20870 --target=${target_alias} \
20871 || exit 1
20872 @endif tcl
20878 .PHONY: all-tcl maybe-all-tcl
20879 maybe-all-tcl:
20880 @if gcc-bootstrap
20881 all-tcl: stage_current
20882 @endif gcc-bootstrap
20883 @if tcl
20884 TARGET-tcl=all
20885 maybe-all-tcl: all-tcl
20886 all-tcl: configure-tcl
20887 @: $(MAKE); $(unstage)
20888 @r=`${PWD_COMMAND}`; export r; \
20889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20890 $(HOST_EXPORTS) \
20891 (cd $(HOST_SUBDIR)/tcl && \
20892 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20893 $(TARGET-tcl))
20894 @endif tcl
20899 .PHONY: check-tcl maybe-check-tcl
20900 maybe-check-tcl:
20901 @if tcl
20902 maybe-check-tcl: check-tcl
20904 check-tcl:
20905 @: $(MAKE); $(unstage)
20906 @r=`${PWD_COMMAND}`; export r; \
20907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20908 $(HOST_EXPORTS) \
20909 (cd $(HOST_SUBDIR)/tcl && \
20910 $(MAKE) $(FLAGS_TO_PASS) check)
20912 @endif tcl
20914 .PHONY: install-tcl maybe-install-tcl
20915 maybe-install-tcl:
20916 @if tcl
20917 maybe-install-tcl: install-tcl
20919 install-tcl: installdirs
20920 @: $(MAKE); $(unstage)
20921 @r=`${PWD_COMMAND}`; export r; \
20922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20923 $(HOST_EXPORTS) \
20924 (cd $(HOST_SUBDIR)/tcl && \
20925 $(MAKE) $(FLAGS_TO_PASS) install)
20927 @endif tcl
20929 .PHONY: install-strip-tcl maybe-install-strip-tcl
20930 maybe-install-strip-tcl:
20931 @if tcl
20932 maybe-install-strip-tcl: install-strip-tcl
20934 install-strip-tcl: installdirs
20935 @: $(MAKE); $(unstage)
20936 @r=`${PWD_COMMAND}`; export r; \
20937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20938 $(HOST_EXPORTS) \
20939 (cd $(HOST_SUBDIR)/tcl && \
20940 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20942 @endif tcl
20944 # Other targets (info, dvi, pdf, etc.)
20946 .PHONY: maybe-info-tcl info-tcl
20947 maybe-info-tcl:
20948 @if tcl
20949 maybe-info-tcl: info-tcl
20951 info-tcl: \
20952 configure-tcl
20953 @: $(MAKE); $(unstage)
20954 @[ -f ./tcl/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957 $(HOST_EXPORTS) \
20958 for flag in $(EXTRA_HOST_FLAGS) ; do \
20959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20960 done; \
20961 echo "Doing info in tcl"; \
20962 (cd $(HOST_SUBDIR)/tcl && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20967 info) \
20968 || exit 1
20970 @endif tcl
20972 .PHONY: maybe-dvi-tcl dvi-tcl
20973 maybe-dvi-tcl:
20974 @if tcl
20975 maybe-dvi-tcl: dvi-tcl
20977 dvi-tcl: \
20978 configure-tcl
20979 @: $(MAKE); $(unstage)
20980 @[ -f ./tcl/Makefile ] || exit 0; \
20981 r=`${PWD_COMMAND}`; export r; \
20982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20983 $(HOST_EXPORTS) \
20984 for flag in $(EXTRA_HOST_FLAGS) ; do \
20985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20986 done; \
20987 echo "Doing dvi in tcl"; \
20988 (cd $(HOST_SUBDIR)/tcl && \
20989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20991 "RANLIB=$${RANLIB}" \
20992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20993 dvi) \
20994 || exit 1
20996 @endif tcl
20998 .PHONY: maybe-pdf-tcl pdf-tcl
20999 maybe-pdf-tcl:
21000 @if tcl
21001 maybe-pdf-tcl: pdf-tcl
21003 pdf-tcl: \
21004 configure-tcl
21005 @: $(MAKE); $(unstage)
21006 @[ -f ./tcl/Makefile ] || exit 0; \
21007 r=`${PWD_COMMAND}`; export r; \
21008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21009 $(HOST_EXPORTS) \
21010 for flag in $(EXTRA_HOST_FLAGS) ; do \
21011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21012 done; \
21013 echo "Doing pdf in tcl"; \
21014 (cd $(HOST_SUBDIR)/tcl && \
21015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21017 "RANLIB=$${RANLIB}" \
21018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21019 pdf) \
21020 || exit 1
21022 @endif tcl
21024 .PHONY: maybe-html-tcl html-tcl
21025 maybe-html-tcl:
21026 @if tcl
21027 maybe-html-tcl: html-tcl
21029 html-tcl: \
21030 configure-tcl
21031 @: $(MAKE); $(unstage)
21032 @[ -f ./tcl/Makefile ] || exit 0; \
21033 r=`${PWD_COMMAND}`; export r; \
21034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21035 $(HOST_EXPORTS) \
21036 for flag in $(EXTRA_HOST_FLAGS) ; do \
21037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21038 done; \
21039 echo "Doing html in tcl"; \
21040 (cd $(HOST_SUBDIR)/tcl && \
21041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21043 "RANLIB=$${RANLIB}" \
21044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21045 html) \
21046 || exit 1
21048 @endif tcl
21050 .PHONY: maybe-TAGS-tcl TAGS-tcl
21051 maybe-TAGS-tcl:
21052 @if tcl
21053 maybe-TAGS-tcl: TAGS-tcl
21055 TAGS-tcl: \
21056 configure-tcl
21057 @: $(MAKE); $(unstage)
21058 @[ -f ./tcl/Makefile ] || exit 0; \
21059 r=`${PWD_COMMAND}`; export r; \
21060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21061 $(HOST_EXPORTS) \
21062 for flag in $(EXTRA_HOST_FLAGS) ; do \
21063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21064 done; \
21065 echo "Doing TAGS in tcl"; \
21066 (cd $(HOST_SUBDIR)/tcl && \
21067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21069 "RANLIB=$${RANLIB}" \
21070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21071 TAGS) \
21072 || exit 1
21074 @endif tcl
21076 .PHONY: maybe-install-info-tcl install-info-tcl
21077 maybe-install-info-tcl:
21078 @if tcl
21079 maybe-install-info-tcl: install-info-tcl
21081 install-info-tcl: \
21082 configure-tcl \
21083 info-tcl
21084 @: $(MAKE); $(unstage)
21085 @[ -f ./tcl/Makefile ] || exit 0; \
21086 r=`${PWD_COMMAND}`; export r; \
21087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21088 $(HOST_EXPORTS) \
21089 for flag in $(EXTRA_HOST_FLAGS) ; do \
21090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21091 done; \
21092 echo "Doing install-info in tcl"; \
21093 (cd $(HOST_SUBDIR)/tcl && \
21094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21096 "RANLIB=$${RANLIB}" \
21097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21098 install-info) \
21099 || exit 1
21101 @endif tcl
21103 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
21104 maybe-install-pdf-tcl:
21105 @if tcl
21106 maybe-install-pdf-tcl: install-pdf-tcl
21108 install-pdf-tcl: \
21109 configure-tcl \
21110 pdf-tcl
21111 @: $(MAKE); $(unstage)
21112 @[ -f ./tcl/Makefile ] || exit 0; \
21113 r=`${PWD_COMMAND}`; export r; \
21114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21115 $(HOST_EXPORTS) \
21116 for flag in $(EXTRA_HOST_FLAGS) ; do \
21117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21118 done; \
21119 echo "Doing install-pdf in tcl"; \
21120 (cd $(HOST_SUBDIR)/tcl && \
21121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21123 "RANLIB=$${RANLIB}" \
21124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21125 install-pdf) \
21126 || exit 1
21128 @endif tcl
21130 .PHONY: maybe-install-html-tcl install-html-tcl
21131 maybe-install-html-tcl:
21132 @if tcl
21133 maybe-install-html-tcl: install-html-tcl
21135 install-html-tcl: \
21136 configure-tcl \
21137 html-tcl
21138 @: $(MAKE); $(unstage)
21139 @[ -f ./tcl/Makefile ] || exit 0; \
21140 r=`${PWD_COMMAND}`; export r; \
21141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21142 $(HOST_EXPORTS) \
21143 for flag in $(EXTRA_HOST_FLAGS) ; do \
21144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21145 done; \
21146 echo "Doing install-html in tcl"; \
21147 (cd $(HOST_SUBDIR)/tcl && \
21148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21150 "RANLIB=$${RANLIB}" \
21151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21152 install-html) \
21153 || exit 1
21155 @endif tcl
21157 .PHONY: maybe-installcheck-tcl installcheck-tcl
21158 maybe-installcheck-tcl:
21159 @if tcl
21160 maybe-installcheck-tcl: installcheck-tcl
21162 installcheck-tcl: \
21163 configure-tcl
21164 @: $(MAKE); $(unstage)
21165 @[ -f ./tcl/Makefile ] || exit 0; \
21166 r=`${PWD_COMMAND}`; export r; \
21167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168 $(HOST_EXPORTS) \
21169 for flag in $(EXTRA_HOST_FLAGS) ; do \
21170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21171 done; \
21172 echo "Doing installcheck in tcl"; \
21173 (cd $(HOST_SUBDIR)/tcl && \
21174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21176 "RANLIB=$${RANLIB}" \
21177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21178 installcheck) \
21179 || exit 1
21181 @endif tcl
21183 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
21184 maybe-mostlyclean-tcl:
21185 @if tcl
21186 maybe-mostlyclean-tcl: mostlyclean-tcl
21188 # tcl doesn't support mostlyclean.
21189 mostlyclean-tcl:
21191 @endif tcl
21193 .PHONY: maybe-clean-tcl clean-tcl
21194 maybe-clean-tcl:
21195 @if tcl
21196 maybe-clean-tcl: clean-tcl
21198 clean-tcl:
21199 @: $(MAKE); $(unstage)
21200 @[ -f ./tcl/Makefile ] || exit 0; \
21201 r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203 $(HOST_EXPORTS) \
21204 for flag in $(EXTRA_HOST_FLAGS) ; do \
21205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21206 done; \
21207 echo "Doing clean in tcl"; \
21208 (cd $(HOST_SUBDIR)/tcl && \
21209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21211 "RANLIB=$${RANLIB}" \
21212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21213 clean) \
21214 || exit 1
21216 @endif tcl
21218 .PHONY: maybe-distclean-tcl distclean-tcl
21219 maybe-distclean-tcl:
21220 @if tcl
21221 maybe-distclean-tcl: distclean-tcl
21223 distclean-tcl:
21224 @: $(MAKE); $(unstage)
21225 @[ -f ./tcl/Makefile ] || exit 0; \
21226 r=`${PWD_COMMAND}`; export r; \
21227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21228 $(HOST_EXPORTS) \
21229 for flag in $(EXTRA_HOST_FLAGS) ; do \
21230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21231 done; \
21232 echo "Doing distclean in tcl"; \
21233 (cd $(HOST_SUBDIR)/tcl && \
21234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21236 "RANLIB=$${RANLIB}" \
21237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21238 distclean) \
21239 || exit 1
21241 @endif tcl
21243 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21244 maybe-maintainer-clean-tcl:
21245 @if tcl
21246 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21248 maintainer-clean-tcl:
21249 @: $(MAKE); $(unstage)
21250 @[ -f ./tcl/Makefile ] || exit 0; \
21251 r=`${PWD_COMMAND}`; export r; \
21252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21253 $(HOST_EXPORTS) \
21254 for flag in $(EXTRA_HOST_FLAGS) ; do \
21255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21256 done; \
21257 echo "Doing maintainer-clean in tcl"; \
21258 (cd $(HOST_SUBDIR)/tcl && \
21259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21261 "RANLIB=$${RANLIB}" \
21262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21263 maintainer-clean) \
21264 || exit 1
21266 @endif tcl
21270 .PHONY: configure-itcl maybe-configure-itcl
21271 maybe-configure-itcl:
21272 @if gcc-bootstrap
21273 configure-itcl: stage_current
21274 @endif gcc-bootstrap
21275 @if itcl
21276 maybe-configure-itcl: configure-itcl
21277 configure-itcl:
21278 @: $(MAKE); $(unstage)
21279 @r=`${PWD_COMMAND}`; export r; \
21280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21281 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21283 $(HOST_EXPORTS) \
21284 echo Configuring in $(HOST_SUBDIR)/itcl; \
21285 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21286 case $(srcdir) in \
21287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21288 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21290 esac; \
21291 module_srcdir=itcl; \
21292 $(SHELL) \
21293 $$s/$$module_srcdir/configure \
21294 --srcdir=$${topdir}/$$module_srcdir \
21295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21296 --target=${target_alias} \
21297 || exit 1
21298 @endif itcl
21304 .PHONY: all-itcl maybe-all-itcl
21305 maybe-all-itcl:
21306 @if gcc-bootstrap
21307 all-itcl: stage_current
21308 @endif gcc-bootstrap
21309 @if itcl
21310 TARGET-itcl=all
21311 maybe-all-itcl: all-itcl
21312 all-itcl: configure-itcl
21313 @: $(MAKE); $(unstage)
21314 @r=`${PWD_COMMAND}`; export r; \
21315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 $(HOST_EXPORTS) \
21317 (cd $(HOST_SUBDIR)/itcl && \
21318 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21319 $(TARGET-itcl))
21320 @endif itcl
21325 .PHONY: check-itcl maybe-check-itcl
21326 maybe-check-itcl:
21327 @if itcl
21328 maybe-check-itcl: check-itcl
21330 check-itcl:
21331 @: $(MAKE); $(unstage)
21332 @r=`${PWD_COMMAND}`; export r; \
21333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21334 $(HOST_EXPORTS) \
21335 (cd $(HOST_SUBDIR)/itcl && \
21336 $(MAKE) $(FLAGS_TO_PASS) check)
21338 @endif itcl
21340 .PHONY: install-itcl maybe-install-itcl
21341 maybe-install-itcl:
21342 @if itcl
21343 maybe-install-itcl: install-itcl
21345 install-itcl: installdirs
21346 @: $(MAKE); $(unstage)
21347 @r=`${PWD_COMMAND}`; export r; \
21348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21349 $(HOST_EXPORTS) \
21350 (cd $(HOST_SUBDIR)/itcl && \
21351 $(MAKE) $(FLAGS_TO_PASS) install)
21353 @endif itcl
21355 .PHONY: install-strip-itcl maybe-install-strip-itcl
21356 maybe-install-strip-itcl:
21357 @if itcl
21358 maybe-install-strip-itcl: install-strip-itcl
21360 install-strip-itcl: installdirs
21361 @: $(MAKE); $(unstage)
21362 @r=`${PWD_COMMAND}`; export r; \
21363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21364 $(HOST_EXPORTS) \
21365 (cd $(HOST_SUBDIR)/itcl && \
21366 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21368 @endif itcl
21370 # Other targets (info, dvi, pdf, etc.)
21372 .PHONY: maybe-info-itcl info-itcl
21373 maybe-info-itcl:
21374 @if itcl
21375 maybe-info-itcl: info-itcl
21377 info-itcl: \
21378 configure-itcl
21379 @: $(MAKE); $(unstage)
21380 @[ -f ./itcl/Makefile ] || exit 0; \
21381 r=`${PWD_COMMAND}`; export r; \
21382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21383 $(HOST_EXPORTS) \
21384 for flag in $(EXTRA_HOST_FLAGS) ; do \
21385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21386 done; \
21387 echo "Doing info in itcl"; \
21388 (cd $(HOST_SUBDIR)/itcl && \
21389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21391 "RANLIB=$${RANLIB}" \
21392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21393 info) \
21394 || exit 1
21396 @endif itcl
21398 .PHONY: maybe-dvi-itcl dvi-itcl
21399 maybe-dvi-itcl:
21400 @if itcl
21401 maybe-dvi-itcl: dvi-itcl
21403 dvi-itcl: \
21404 configure-itcl
21405 @: $(MAKE); $(unstage)
21406 @[ -f ./itcl/Makefile ] || exit 0; \
21407 r=`${PWD_COMMAND}`; export r; \
21408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21409 $(HOST_EXPORTS) \
21410 for flag in $(EXTRA_HOST_FLAGS) ; do \
21411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21412 done; \
21413 echo "Doing dvi in itcl"; \
21414 (cd $(HOST_SUBDIR)/itcl && \
21415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21417 "RANLIB=$${RANLIB}" \
21418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21419 dvi) \
21420 || exit 1
21422 @endif itcl
21424 .PHONY: maybe-pdf-itcl pdf-itcl
21425 maybe-pdf-itcl:
21426 @if itcl
21427 maybe-pdf-itcl: pdf-itcl
21429 pdf-itcl: \
21430 configure-itcl
21431 @: $(MAKE); $(unstage)
21432 @[ -f ./itcl/Makefile ] || exit 0; \
21433 r=`${PWD_COMMAND}`; export r; \
21434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21435 $(HOST_EXPORTS) \
21436 for flag in $(EXTRA_HOST_FLAGS) ; do \
21437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21438 done; \
21439 echo "Doing pdf in itcl"; \
21440 (cd $(HOST_SUBDIR)/itcl && \
21441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21443 "RANLIB=$${RANLIB}" \
21444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21445 pdf) \
21446 || exit 1
21448 @endif itcl
21450 .PHONY: maybe-html-itcl html-itcl
21451 maybe-html-itcl:
21452 @if itcl
21453 maybe-html-itcl: html-itcl
21455 html-itcl: \
21456 configure-itcl
21457 @: $(MAKE); $(unstage)
21458 @[ -f ./itcl/Makefile ] || exit 0; \
21459 r=`${PWD_COMMAND}`; export r; \
21460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21461 $(HOST_EXPORTS) \
21462 for flag in $(EXTRA_HOST_FLAGS) ; do \
21463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21464 done; \
21465 echo "Doing html in itcl"; \
21466 (cd $(HOST_SUBDIR)/itcl && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21469 "RANLIB=$${RANLIB}" \
21470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21471 html) \
21472 || exit 1
21474 @endif itcl
21476 .PHONY: maybe-TAGS-itcl TAGS-itcl
21477 maybe-TAGS-itcl:
21478 @if itcl
21479 maybe-TAGS-itcl: TAGS-itcl
21481 TAGS-itcl: \
21482 configure-itcl
21483 @: $(MAKE); $(unstage)
21484 @[ -f ./itcl/Makefile ] || exit 0; \
21485 r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 $(HOST_EXPORTS) \
21488 for flag in $(EXTRA_HOST_FLAGS) ; do \
21489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21490 done; \
21491 echo "Doing TAGS in itcl"; \
21492 (cd $(HOST_SUBDIR)/itcl && \
21493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21495 "RANLIB=$${RANLIB}" \
21496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21497 TAGS) \
21498 || exit 1
21500 @endif itcl
21502 .PHONY: maybe-install-info-itcl install-info-itcl
21503 maybe-install-info-itcl:
21504 @if itcl
21505 maybe-install-info-itcl: install-info-itcl
21507 install-info-itcl: \
21508 configure-itcl \
21509 info-itcl
21510 @: $(MAKE); $(unstage)
21511 @[ -f ./itcl/Makefile ] || exit 0; \
21512 r=`${PWD_COMMAND}`; export r; \
21513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21514 $(HOST_EXPORTS) \
21515 for flag in $(EXTRA_HOST_FLAGS) ; do \
21516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21517 done; \
21518 echo "Doing install-info in itcl"; \
21519 (cd $(HOST_SUBDIR)/itcl && \
21520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21522 "RANLIB=$${RANLIB}" \
21523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21524 install-info) \
21525 || exit 1
21527 @endif itcl
21529 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21530 maybe-install-pdf-itcl:
21531 @if itcl
21532 maybe-install-pdf-itcl: install-pdf-itcl
21534 install-pdf-itcl: \
21535 configure-itcl \
21536 pdf-itcl
21537 @: $(MAKE); $(unstage)
21538 @[ -f ./itcl/Makefile ] || exit 0; \
21539 r=`${PWD_COMMAND}`; export r; \
21540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21541 $(HOST_EXPORTS) \
21542 for flag in $(EXTRA_HOST_FLAGS) ; do \
21543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21544 done; \
21545 echo "Doing install-pdf in itcl"; \
21546 (cd $(HOST_SUBDIR)/itcl && \
21547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21549 "RANLIB=$${RANLIB}" \
21550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21551 install-pdf) \
21552 || exit 1
21554 @endif itcl
21556 .PHONY: maybe-install-html-itcl install-html-itcl
21557 maybe-install-html-itcl:
21558 @if itcl
21559 maybe-install-html-itcl: install-html-itcl
21561 install-html-itcl: \
21562 configure-itcl \
21563 html-itcl
21564 @: $(MAKE); $(unstage)
21565 @[ -f ./itcl/Makefile ] || exit 0; \
21566 r=`${PWD_COMMAND}`; export r; \
21567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21568 $(HOST_EXPORTS) \
21569 for flag in $(EXTRA_HOST_FLAGS) ; do \
21570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21571 done; \
21572 echo "Doing install-html in itcl"; \
21573 (cd $(HOST_SUBDIR)/itcl && \
21574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21576 "RANLIB=$${RANLIB}" \
21577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21578 install-html) \
21579 || exit 1
21581 @endif itcl
21583 .PHONY: maybe-installcheck-itcl installcheck-itcl
21584 maybe-installcheck-itcl:
21585 @if itcl
21586 maybe-installcheck-itcl: installcheck-itcl
21588 installcheck-itcl: \
21589 configure-itcl
21590 @: $(MAKE); $(unstage)
21591 @[ -f ./itcl/Makefile ] || exit 0; \
21592 r=`${PWD_COMMAND}`; export r; \
21593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21594 $(HOST_EXPORTS) \
21595 for flag in $(EXTRA_HOST_FLAGS) ; do \
21596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21597 done; \
21598 echo "Doing installcheck in itcl"; \
21599 (cd $(HOST_SUBDIR)/itcl && \
21600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21602 "RANLIB=$${RANLIB}" \
21603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21604 installcheck) \
21605 || exit 1
21607 @endif itcl
21609 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21610 maybe-mostlyclean-itcl:
21611 @if itcl
21612 maybe-mostlyclean-itcl: mostlyclean-itcl
21614 mostlyclean-itcl:
21615 @: $(MAKE); $(unstage)
21616 @[ -f ./itcl/Makefile ] || exit 0; \
21617 r=`${PWD_COMMAND}`; export r; \
21618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21619 $(HOST_EXPORTS) \
21620 for flag in $(EXTRA_HOST_FLAGS) ; do \
21621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21622 done; \
21623 echo "Doing mostlyclean in itcl"; \
21624 (cd $(HOST_SUBDIR)/itcl && \
21625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21627 "RANLIB=$${RANLIB}" \
21628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21629 mostlyclean) \
21630 || exit 1
21632 @endif itcl
21634 .PHONY: maybe-clean-itcl clean-itcl
21635 maybe-clean-itcl:
21636 @if itcl
21637 maybe-clean-itcl: clean-itcl
21639 clean-itcl:
21640 @: $(MAKE); $(unstage)
21641 @[ -f ./itcl/Makefile ] || exit 0; \
21642 r=`${PWD_COMMAND}`; export r; \
21643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21644 $(HOST_EXPORTS) \
21645 for flag in $(EXTRA_HOST_FLAGS) ; do \
21646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21647 done; \
21648 echo "Doing clean in itcl"; \
21649 (cd $(HOST_SUBDIR)/itcl && \
21650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21652 "RANLIB=$${RANLIB}" \
21653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21654 clean) \
21655 || exit 1
21657 @endif itcl
21659 .PHONY: maybe-distclean-itcl distclean-itcl
21660 maybe-distclean-itcl:
21661 @if itcl
21662 maybe-distclean-itcl: distclean-itcl
21664 distclean-itcl:
21665 @: $(MAKE); $(unstage)
21666 @[ -f ./itcl/Makefile ] || exit 0; \
21667 r=`${PWD_COMMAND}`; export r; \
21668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21669 $(HOST_EXPORTS) \
21670 for flag in $(EXTRA_HOST_FLAGS) ; do \
21671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21672 done; \
21673 echo "Doing distclean in itcl"; \
21674 (cd $(HOST_SUBDIR)/itcl && \
21675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21677 "RANLIB=$${RANLIB}" \
21678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21679 distclean) \
21680 || exit 1
21682 @endif itcl
21684 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21685 maybe-maintainer-clean-itcl:
21686 @if itcl
21687 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21689 maintainer-clean-itcl:
21690 @: $(MAKE); $(unstage)
21691 @[ -f ./itcl/Makefile ] || exit 0; \
21692 r=`${PWD_COMMAND}`; export r; \
21693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21694 $(HOST_EXPORTS) \
21695 for flag in $(EXTRA_HOST_FLAGS) ; do \
21696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21697 done; \
21698 echo "Doing maintainer-clean in itcl"; \
21699 (cd $(HOST_SUBDIR)/itcl && \
21700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21702 "RANLIB=$${RANLIB}" \
21703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21704 maintainer-clean) \
21705 || exit 1
21707 @endif itcl
21711 .PHONY: configure-ld maybe-configure-ld
21712 maybe-configure-ld:
21713 @if gcc-bootstrap
21714 configure-ld: stage_current
21715 @endif gcc-bootstrap
21716 @if ld
21717 maybe-configure-ld: configure-ld
21718 configure-ld:
21719 @r=`${PWD_COMMAND}`; export r; \
21720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21721 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21723 $(HOST_EXPORTS) \
21724 echo Configuring in $(HOST_SUBDIR)/ld; \
21725 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21726 case $(srcdir) in \
21727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21728 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21730 esac; \
21731 module_srcdir=ld; \
21732 $(SHELL) \
21733 $$s/$$module_srcdir/configure \
21734 --srcdir=$${topdir}/$$module_srcdir \
21735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21736 --target=${target_alias} \
21737 || exit 1
21738 @endif ld
21742 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21743 maybe-configure-stage1-ld:
21744 @if ld-bootstrap
21745 maybe-configure-stage1-ld: configure-stage1-ld
21746 configure-stage1-ld:
21747 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21749 @r=`${PWD_COMMAND}`; export r; \
21750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21751 TFLAGS="$(STAGE1_TFLAGS)"; \
21752 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21753 $(HOST_EXPORTS) \
21754 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21755 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21756 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21757 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21759 cd $(HOST_SUBDIR)/ld || exit 1; \
21760 case $(srcdir) in \
21761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21762 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21764 esac; \
21765 module_srcdir=ld; \
21766 $(SHELL) $$s/$$module_srcdir/configure \
21767 --srcdir=$${topdir}/$$module_srcdir \
21768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21769 --target=${target_alias} \
21771 $(STAGE1_CONFIGURE_FLAGS)
21772 @endif ld-bootstrap
21774 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21775 maybe-configure-stage2-ld:
21776 @if ld-bootstrap
21777 maybe-configure-stage2-ld: configure-stage2-ld
21778 configure-stage2-ld:
21779 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21781 @r=`${PWD_COMMAND}`; export r; \
21782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 TFLAGS="$(STAGE2_TFLAGS)"; \
21784 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21785 $(HOST_EXPORTS) \
21786 $(POSTSTAGE1_HOST_EXPORTS) \
21787 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21788 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21789 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21790 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21792 cd $(HOST_SUBDIR)/ld || exit 1; \
21793 case $(srcdir) in \
21794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21795 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21797 esac; \
21798 module_srcdir=ld; \
21799 $(SHELL) $$s/$$module_srcdir/configure \
21800 --srcdir=$${topdir}/$$module_srcdir \
21801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21802 --target=${target_alias} \
21803 --with-build-libsubdir=$(HOST_SUBDIR) \
21804 $(STAGE2_CONFIGURE_FLAGS)
21805 @endif ld-bootstrap
21807 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21808 maybe-configure-stage3-ld:
21809 @if ld-bootstrap
21810 maybe-configure-stage3-ld: configure-stage3-ld
21811 configure-stage3-ld:
21812 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21814 @r=`${PWD_COMMAND}`; export r; \
21815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21816 TFLAGS="$(STAGE3_TFLAGS)"; \
21817 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21818 $(HOST_EXPORTS) \
21819 $(POSTSTAGE1_HOST_EXPORTS) \
21820 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21821 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21822 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21823 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21825 cd $(HOST_SUBDIR)/ld || exit 1; \
21826 case $(srcdir) in \
21827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21828 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21830 esac; \
21831 module_srcdir=ld; \
21832 $(SHELL) $$s/$$module_srcdir/configure \
21833 --srcdir=$${topdir}/$$module_srcdir \
21834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21835 --target=${target_alias} \
21836 --with-build-libsubdir=$(HOST_SUBDIR) \
21837 $(STAGE3_CONFIGURE_FLAGS)
21838 @endif ld-bootstrap
21840 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21841 maybe-configure-stage4-ld:
21842 @if ld-bootstrap
21843 maybe-configure-stage4-ld: configure-stage4-ld
21844 configure-stage4-ld:
21845 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21846 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21847 @r=`${PWD_COMMAND}`; export r; \
21848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21849 TFLAGS="$(STAGE4_TFLAGS)"; \
21850 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21851 $(HOST_EXPORTS) \
21852 $(POSTSTAGE1_HOST_EXPORTS) \
21853 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21854 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21855 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21856 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21858 cd $(HOST_SUBDIR)/ld || exit 1; \
21859 case $(srcdir) in \
21860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21861 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21863 esac; \
21864 module_srcdir=ld; \
21865 $(SHELL) $$s/$$module_srcdir/configure \
21866 --srcdir=$${topdir}/$$module_srcdir \
21867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21868 --target=${target_alias} \
21869 --with-build-libsubdir=$(HOST_SUBDIR) \
21870 $(STAGE4_CONFIGURE_FLAGS)
21871 @endif ld-bootstrap
21873 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21874 maybe-configure-stageprofile-ld:
21875 @if ld-bootstrap
21876 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21877 configure-stageprofile-ld:
21878 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21880 @r=`${PWD_COMMAND}`; export r; \
21881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21882 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21883 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21884 $(HOST_EXPORTS) \
21885 $(POSTSTAGE1_HOST_EXPORTS) \
21886 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21887 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21888 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21889 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21891 cd $(HOST_SUBDIR)/ld || exit 1; \
21892 case $(srcdir) in \
21893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21894 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21896 esac; \
21897 module_srcdir=ld; \
21898 $(SHELL) $$s/$$module_srcdir/configure \
21899 --srcdir=$${topdir}/$$module_srcdir \
21900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21901 --target=${target_alias} \
21902 --with-build-libsubdir=$(HOST_SUBDIR) \
21903 $(STAGEprofile_CONFIGURE_FLAGS)
21904 @endif ld-bootstrap
21906 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21907 maybe-configure-stagetrain-ld:
21908 @if ld-bootstrap
21909 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21910 configure-stagetrain-ld:
21911 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21913 @r=`${PWD_COMMAND}`; export r; \
21914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21915 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21916 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21917 $(HOST_EXPORTS) \
21918 $(POSTSTAGE1_HOST_EXPORTS) \
21919 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21920 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21921 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21922 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21924 cd $(HOST_SUBDIR)/ld || exit 1; \
21925 case $(srcdir) in \
21926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21927 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21929 esac; \
21930 module_srcdir=ld; \
21931 $(SHELL) $$s/$$module_srcdir/configure \
21932 --srcdir=$${topdir}/$$module_srcdir \
21933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21934 --target=${target_alias} \
21935 --with-build-libsubdir=$(HOST_SUBDIR) \
21936 $(STAGEtrain_CONFIGURE_FLAGS)
21937 @endif ld-bootstrap
21939 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21940 maybe-configure-stagefeedback-ld:
21941 @if ld-bootstrap
21942 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21943 configure-stagefeedback-ld:
21944 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21946 @r=`${PWD_COMMAND}`; export r; \
21947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21948 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21949 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21950 $(HOST_EXPORTS) \
21951 $(POSTSTAGE1_HOST_EXPORTS) \
21952 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21953 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21954 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21955 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21957 cd $(HOST_SUBDIR)/ld || exit 1; \
21958 case $(srcdir) in \
21959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21960 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21962 esac; \
21963 module_srcdir=ld; \
21964 $(SHELL) $$s/$$module_srcdir/configure \
21965 --srcdir=$${topdir}/$$module_srcdir \
21966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21967 --target=${target_alias} \
21968 --with-build-libsubdir=$(HOST_SUBDIR) \
21969 $(STAGEfeedback_CONFIGURE_FLAGS)
21970 @endif ld-bootstrap
21972 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21973 maybe-configure-stageautoprofile-ld:
21974 @if ld-bootstrap
21975 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21976 configure-stageautoprofile-ld:
21977 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21979 @r=`${PWD_COMMAND}`; export r; \
21980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21981 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21982 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21983 $(HOST_EXPORTS) \
21984 $(POSTSTAGE1_HOST_EXPORTS) \
21985 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21986 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21987 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21988 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21990 cd $(HOST_SUBDIR)/ld || exit 1; \
21991 case $(srcdir) in \
21992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21993 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21995 esac; \
21996 module_srcdir=ld; \
21997 $(SHELL) $$s/$$module_srcdir/configure \
21998 --srcdir=$${topdir}/$$module_srcdir \
21999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22000 --target=${target_alias} \
22001 --with-build-libsubdir=$(HOST_SUBDIR) \
22002 $(STAGEautoprofile_CONFIGURE_FLAGS)
22003 @endif ld-bootstrap
22005 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
22006 maybe-configure-stageautofeedback-ld:
22007 @if ld-bootstrap
22008 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
22009 configure-stageautofeedback-ld:
22010 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22012 @r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22015 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22016 $(HOST_EXPORTS) \
22017 $(POSTSTAGE1_HOST_EXPORTS) \
22018 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22019 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22020 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22021 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
22022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22023 cd $(HOST_SUBDIR)/ld || exit 1; \
22024 case $(srcdir) in \
22025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22026 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22028 esac; \
22029 module_srcdir=ld; \
22030 $(SHELL) $$s/$$module_srcdir/configure \
22031 --srcdir=$${topdir}/$$module_srcdir \
22032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22033 --target=${target_alias} \
22034 --with-build-libsubdir=$(HOST_SUBDIR) \
22035 $(STAGEautofeedback_CONFIGURE_FLAGS)
22036 @endif ld-bootstrap
22042 .PHONY: all-ld maybe-all-ld
22043 maybe-all-ld:
22044 @if gcc-bootstrap
22045 all-ld: stage_current
22046 @endif gcc-bootstrap
22047 @if ld
22048 TARGET-ld=all
22049 maybe-all-ld: all-ld
22050 all-ld: configure-ld
22051 @r=`${PWD_COMMAND}`; export r; \
22052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22053 $(HOST_EXPORTS) \
22054 (cd $(HOST_SUBDIR)/ld && \
22055 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22056 $(TARGET-ld))
22057 @endif ld
22061 .PHONY: all-stage1-ld maybe-all-stage1-ld
22062 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
22063 maybe-all-stage1-ld:
22064 maybe-clean-stage1-ld:
22065 @if ld-bootstrap
22066 maybe-all-stage1-ld: all-stage1-ld
22067 all-stage1: all-stage1-ld
22068 TARGET-stage1-ld = $(TARGET-ld)
22069 all-stage1-ld: configure-stage1-ld
22070 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22071 @r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22073 TFLAGS="$(STAGE1_TFLAGS)"; \
22074 $(HOST_EXPORTS) \
22075 cd $(HOST_SUBDIR)/ld && \
22077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22078 CFLAGS="$(STAGE1_CFLAGS)" \
22079 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
22080 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22081 LIBCFLAGS="$(LIBCFLAGS)" \
22082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22085 $(EXTRA_HOST_FLAGS) \
22086 $(STAGE1_FLAGS_TO_PASS) \
22087 TFLAGS="$(STAGE1_TFLAGS)" \
22088 $(TARGET-stage1-ld)
22090 maybe-clean-stage1-ld: clean-stage1-ld
22091 clean-stage1: clean-stage1-ld
22092 clean-stage1-ld:
22093 @if [ $(current_stage) = stage1 ]; then \
22094 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22095 else \
22096 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
22097 $(MAKE) stage1-start; \
22098 fi; \
22099 cd $(HOST_SUBDIR)/ld && \
22100 $(MAKE) $(EXTRA_HOST_FLAGS) \
22101 $(STAGE1_FLAGS_TO_PASS) clean
22102 @endif ld-bootstrap
22105 .PHONY: all-stage2-ld maybe-all-stage2-ld
22106 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
22107 maybe-all-stage2-ld:
22108 maybe-clean-stage2-ld:
22109 @if ld-bootstrap
22110 maybe-all-stage2-ld: all-stage2-ld
22111 all-stage2: all-stage2-ld
22112 TARGET-stage2-ld = $(TARGET-ld)
22113 all-stage2-ld: configure-stage2-ld
22114 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22115 @r=`${PWD_COMMAND}`; export r; \
22116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22117 TFLAGS="$(STAGE2_TFLAGS)"; \
22118 $(HOST_EXPORTS) \
22119 $(POSTSTAGE1_HOST_EXPORTS) \
22120 cd $(HOST_SUBDIR)/ld && \
22122 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22123 CFLAGS="$(STAGE2_CFLAGS)" \
22124 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
22125 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22126 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22127 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22128 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22129 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22130 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22131 TFLAGS="$(STAGE2_TFLAGS)" \
22132 $(TARGET-stage2-ld)
22134 maybe-clean-stage2-ld: clean-stage2-ld
22135 clean-stage2: clean-stage2-ld
22136 clean-stage2-ld:
22137 @if [ $(current_stage) = stage2 ]; then \
22138 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22139 else \
22140 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
22141 $(MAKE) stage2-start; \
22142 fi; \
22143 cd $(HOST_SUBDIR)/ld && \
22144 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22145 @endif ld-bootstrap
22148 .PHONY: all-stage3-ld maybe-all-stage3-ld
22149 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
22150 maybe-all-stage3-ld:
22151 maybe-clean-stage3-ld:
22152 @if ld-bootstrap
22153 maybe-all-stage3-ld: all-stage3-ld
22154 all-stage3: all-stage3-ld
22155 TARGET-stage3-ld = $(TARGET-ld)
22156 all-stage3-ld: configure-stage3-ld
22157 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22158 @r=`${PWD_COMMAND}`; export r; \
22159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22160 TFLAGS="$(STAGE3_TFLAGS)"; \
22161 $(HOST_EXPORTS) \
22162 $(POSTSTAGE1_HOST_EXPORTS) \
22163 cd $(HOST_SUBDIR)/ld && \
22165 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22166 CFLAGS="$(STAGE3_CFLAGS)" \
22167 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
22168 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22169 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22170 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22171 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22172 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22173 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22174 TFLAGS="$(STAGE3_TFLAGS)" \
22175 $(TARGET-stage3-ld)
22177 maybe-clean-stage3-ld: clean-stage3-ld
22178 clean-stage3: clean-stage3-ld
22179 clean-stage3-ld:
22180 @if [ $(current_stage) = stage3 ]; then \
22181 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22182 else \
22183 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
22184 $(MAKE) stage3-start; \
22185 fi; \
22186 cd $(HOST_SUBDIR)/ld && \
22187 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22188 @endif ld-bootstrap
22191 .PHONY: all-stage4-ld maybe-all-stage4-ld
22192 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
22193 maybe-all-stage4-ld:
22194 maybe-clean-stage4-ld:
22195 @if ld-bootstrap
22196 maybe-all-stage4-ld: all-stage4-ld
22197 all-stage4: all-stage4-ld
22198 TARGET-stage4-ld = $(TARGET-ld)
22199 all-stage4-ld: configure-stage4-ld
22200 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22201 @r=`${PWD_COMMAND}`; export r; \
22202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22203 TFLAGS="$(STAGE4_TFLAGS)"; \
22204 $(HOST_EXPORTS) \
22205 $(POSTSTAGE1_HOST_EXPORTS) \
22206 cd $(HOST_SUBDIR)/ld && \
22208 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22209 CFLAGS="$(STAGE4_CFLAGS)" \
22210 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
22211 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22212 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22216 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22217 TFLAGS="$(STAGE4_TFLAGS)" \
22218 $(TARGET-stage4-ld)
22220 maybe-clean-stage4-ld: clean-stage4-ld
22221 clean-stage4: clean-stage4-ld
22222 clean-stage4-ld:
22223 @if [ $(current_stage) = stage4 ]; then \
22224 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22225 else \
22226 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22227 $(MAKE) stage4-start; \
22228 fi; \
22229 cd $(HOST_SUBDIR)/ld && \
22230 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22231 @endif ld-bootstrap
22234 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22235 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22236 maybe-all-stageprofile-ld:
22237 maybe-clean-stageprofile-ld:
22238 @if ld-bootstrap
22239 maybe-all-stageprofile-ld: all-stageprofile-ld
22240 all-stageprofile: all-stageprofile-ld
22241 TARGET-stageprofile-ld = $(TARGET-ld)
22242 all-stageprofile-ld: configure-stageprofile-ld
22243 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22244 @r=`${PWD_COMMAND}`; export r; \
22245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22246 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22247 $(HOST_EXPORTS) \
22248 $(POSTSTAGE1_HOST_EXPORTS) \
22249 cd $(HOST_SUBDIR)/ld && \
22251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22252 CFLAGS="$(STAGEprofile_CFLAGS)" \
22253 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
22254 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22255 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22260 TFLAGS="$(STAGEprofile_TFLAGS)" \
22261 $(TARGET-stageprofile-ld)
22263 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22264 clean-stageprofile: clean-stageprofile-ld
22265 clean-stageprofile-ld:
22266 @if [ $(current_stage) = stageprofile ]; then \
22267 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22268 else \
22269 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22270 $(MAKE) stageprofile-start; \
22271 fi; \
22272 cd $(HOST_SUBDIR)/ld && \
22273 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22274 @endif ld-bootstrap
22277 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22278 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22279 maybe-all-stagetrain-ld:
22280 maybe-clean-stagetrain-ld:
22281 @if ld-bootstrap
22282 maybe-all-stagetrain-ld: all-stagetrain-ld
22283 all-stagetrain: all-stagetrain-ld
22284 TARGET-stagetrain-ld = $(TARGET-ld)
22285 all-stagetrain-ld: configure-stagetrain-ld
22286 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22287 @r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22290 $(HOST_EXPORTS) \
22291 $(POSTSTAGE1_HOST_EXPORTS) \
22292 cd $(HOST_SUBDIR)/ld && \
22294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22295 CFLAGS="$(STAGEtrain_CFLAGS)" \
22296 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
22297 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22298 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22299 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22300 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22301 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22302 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22303 TFLAGS="$(STAGEtrain_TFLAGS)" \
22304 $(TARGET-stagetrain-ld)
22306 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22307 clean-stagetrain: clean-stagetrain-ld
22308 clean-stagetrain-ld:
22309 @if [ $(current_stage) = stagetrain ]; then \
22310 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22311 else \
22312 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22313 $(MAKE) stagetrain-start; \
22314 fi; \
22315 cd $(HOST_SUBDIR)/ld && \
22316 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22317 @endif ld-bootstrap
22320 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22321 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22322 maybe-all-stagefeedback-ld:
22323 maybe-clean-stagefeedback-ld:
22324 @if ld-bootstrap
22325 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22326 all-stagefeedback: all-stagefeedback-ld
22327 TARGET-stagefeedback-ld = $(TARGET-ld)
22328 all-stagefeedback-ld: configure-stagefeedback-ld
22329 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22330 @r=`${PWD_COMMAND}`; export r; \
22331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22332 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22333 $(HOST_EXPORTS) \
22334 $(POSTSTAGE1_HOST_EXPORTS) \
22335 cd $(HOST_SUBDIR)/ld && \
22337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22338 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22339 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
22340 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22341 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22342 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22343 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22344 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22345 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22346 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22347 $(TARGET-stagefeedback-ld)
22349 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22350 clean-stagefeedback: clean-stagefeedback-ld
22351 clean-stagefeedback-ld:
22352 @if [ $(current_stage) = stagefeedback ]; then \
22353 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22354 else \
22355 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22356 $(MAKE) stagefeedback-start; \
22357 fi; \
22358 cd $(HOST_SUBDIR)/ld && \
22359 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22360 @endif ld-bootstrap
22363 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22364 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22365 maybe-all-stageautoprofile-ld:
22366 maybe-clean-stageautoprofile-ld:
22367 @if ld-bootstrap
22368 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22369 all-stageautoprofile: all-stageautoprofile-ld
22370 TARGET-stageautoprofile-ld = $(TARGET-ld)
22371 all-stageautoprofile-ld: configure-stageautoprofile-ld
22372 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22373 @r=`${PWD_COMMAND}`; export r; \
22374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22375 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22376 $(HOST_EXPORTS) \
22377 $(POSTSTAGE1_HOST_EXPORTS) \
22378 cd $(HOST_SUBDIR)/ld && \
22379 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22381 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22382 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
22383 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22384 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22388 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22389 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22390 $(TARGET-stageautoprofile-ld)
22392 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22393 clean-stageautoprofile: clean-stageautoprofile-ld
22394 clean-stageautoprofile-ld:
22395 @if [ $(current_stage) = stageautoprofile ]; then \
22396 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22397 else \
22398 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22399 $(MAKE) stageautoprofile-start; \
22400 fi; \
22401 cd $(HOST_SUBDIR)/ld && \
22402 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22403 @endif ld-bootstrap
22406 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22407 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22408 maybe-all-stageautofeedback-ld:
22409 maybe-clean-stageautofeedback-ld:
22410 @if ld-bootstrap
22411 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22412 all-stageautofeedback: all-stageautofeedback-ld
22413 TARGET-stageautofeedback-ld = $(TARGET-ld)
22414 all-stageautofeedback-ld: configure-stageautofeedback-ld
22415 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22416 @r=`${PWD_COMMAND}`; export r; \
22417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22419 $(HOST_EXPORTS) \
22420 $(POSTSTAGE1_HOST_EXPORTS) \
22421 cd $(HOST_SUBDIR)/ld && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22424 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22425 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
22426 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22427 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22428 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22429 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22430 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22431 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22432 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22433 $(TARGET-stageautofeedback-ld)
22435 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22436 clean-stageautofeedback: clean-stageautofeedback-ld
22437 clean-stageautofeedback-ld:
22438 @if [ $(current_stage) = stageautofeedback ]; then \
22439 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22440 else \
22441 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22442 $(MAKE) stageautofeedback-start; \
22443 fi; \
22444 cd $(HOST_SUBDIR)/ld && \
22445 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22446 @endif ld-bootstrap
22452 .PHONY: check-ld maybe-check-ld
22453 maybe-check-ld:
22454 @if ld
22455 maybe-check-ld: check-ld
22457 check-ld:
22458 @: $(MAKE); $(unstage)
22459 @r=`${PWD_COMMAND}`; export r; \
22460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22461 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22462 (cd $(HOST_SUBDIR)/ld && \
22463 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22465 @endif ld
22467 .PHONY: install-ld maybe-install-ld
22468 maybe-install-ld:
22469 @if ld
22470 maybe-install-ld: install-ld
22472 install-ld: installdirs
22473 @: $(MAKE); $(unstage)
22474 @r=`${PWD_COMMAND}`; export r; \
22475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22476 $(HOST_EXPORTS) \
22477 (cd $(HOST_SUBDIR)/ld && \
22478 $(MAKE) $(FLAGS_TO_PASS) install)
22480 @endif ld
22482 .PHONY: install-strip-ld maybe-install-strip-ld
22483 maybe-install-strip-ld:
22484 @if ld
22485 maybe-install-strip-ld: install-strip-ld
22487 install-strip-ld: installdirs
22488 @: $(MAKE); $(unstage)
22489 @r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491 $(HOST_EXPORTS) \
22492 (cd $(HOST_SUBDIR)/ld && \
22493 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22495 @endif ld
22497 # Other targets (info, dvi, pdf, etc.)
22499 .PHONY: maybe-info-ld info-ld
22500 maybe-info-ld:
22501 @if ld
22502 maybe-info-ld: info-ld
22504 info-ld: \
22505 configure-ld
22506 @[ -f ./ld/Makefile ] || exit 0; \
22507 r=`${PWD_COMMAND}`; export r; \
22508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22509 $(HOST_EXPORTS) \
22510 for flag in $(EXTRA_HOST_FLAGS) ; do \
22511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22512 done; \
22513 echo "Doing info in ld"; \
22514 (cd $(HOST_SUBDIR)/ld && \
22515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22517 "RANLIB=$${RANLIB}" \
22518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22519 info) \
22520 || exit 1
22522 @endif ld
22524 .PHONY: maybe-dvi-ld dvi-ld
22525 maybe-dvi-ld:
22526 @if ld
22527 maybe-dvi-ld: dvi-ld
22529 dvi-ld: \
22530 configure-ld
22531 @[ -f ./ld/Makefile ] || exit 0; \
22532 r=`${PWD_COMMAND}`; export r; \
22533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22534 $(HOST_EXPORTS) \
22535 for flag in $(EXTRA_HOST_FLAGS) ; do \
22536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22537 done; \
22538 echo "Doing dvi in ld"; \
22539 (cd $(HOST_SUBDIR)/ld && \
22540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22542 "RANLIB=$${RANLIB}" \
22543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22544 dvi) \
22545 || exit 1
22547 @endif ld
22549 .PHONY: maybe-pdf-ld pdf-ld
22550 maybe-pdf-ld:
22551 @if ld
22552 maybe-pdf-ld: pdf-ld
22554 pdf-ld: \
22555 configure-ld
22556 @[ -f ./ld/Makefile ] || exit 0; \
22557 r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22559 $(HOST_EXPORTS) \
22560 for flag in $(EXTRA_HOST_FLAGS) ; do \
22561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22562 done; \
22563 echo "Doing pdf in ld"; \
22564 (cd $(HOST_SUBDIR)/ld && \
22565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22567 "RANLIB=$${RANLIB}" \
22568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22569 pdf) \
22570 || exit 1
22572 @endif ld
22574 .PHONY: maybe-html-ld html-ld
22575 maybe-html-ld:
22576 @if ld
22577 maybe-html-ld: html-ld
22579 html-ld: \
22580 configure-ld
22581 @[ -f ./ld/Makefile ] || exit 0; \
22582 r=`${PWD_COMMAND}`; export r; \
22583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22584 $(HOST_EXPORTS) \
22585 for flag in $(EXTRA_HOST_FLAGS) ; do \
22586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22587 done; \
22588 echo "Doing html in ld"; \
22589 (cd $(HOST_SUBDIR)/ld && \
22590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22592 "RANLIB=$${RANLIB}" \
22593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22594 html) \
22595 || exit 1
22597 @endif ld
22599 .PHONY: maybe-TAGS-ld TAGS-ld
22600 maybe-TAGS-ld:
22601 @if ld
22602 maybe-TAGS-ld: TAGS-ld
22604 TAGS-ld: \
22605 configure-ld
22606 @[ -f ./ld/Makefile ] || exit 0; \
22607 r=`${PWD_COMMAND}`; export r; \
22608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22609 $(HOST_EXPORTS) \
22610 for flag in $(EXTRA_HOST_FLAGS) ; do \
22611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22612 done; \
22613 echo "Doing TAGS in ld"; \
22614 (cd $(HOST_SUBDIR)/ld && \
22615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22617 "RANLIB=$${RANLIB}" \
22618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22619 TAGS) \
22620 || exit 1
22622 @endif ld
22624 .PHONY: maybe-install-info-ld install-info-ld
22625 maybe-install-info-ld:
22626 @if ld
22627 maybe-install-info-ld: install-info-ld
22629 install-info-ld: \
22630 configure-ld \
22631 info-ld
22632 @[ -f ./ld/Makefile ] || exit 0; \
22633 r=`${PWD_COMMAND}`; export r; \
22634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22635 $(HOST_EXPORTS) \
22636 for flag in $(EXTRA_HOST_FLAGS) ; do \
22637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22638 done; \
22639 echo "Doing install-info in ld"; \
22640 (cd $(HOST_SUBDIR)/ld && \
22641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22643 "RANLIB=$${RANLIB}" \
22644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22645 install-info) \
22646 || exit 1
22648 @endif ld
22650 .PHONY: maybe-install-pdf-ld install-pdf-ld
22651 maybe-install-pdf-ld:
22652 @if ld
22653 maybe-install-pdf-ld: install-pdf-ld
22655 install-pdf-ld: \
22656 configure-ld \
22657 pdf-ld
22658 @[ -f ./ld/Makefile ] || exit 0; \
22659 r=`${PWD_COMMAND}`; export r; \
22660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22661 $(HOST_EXPORTS) \
22662 for flag in $(EXTRA_HOST_FLAGS) ; do \
22663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22664 done; \
22665 echo "Doing install-pdf in ld"; \
22666 (cd $(HOST_SUBDIR)/ld && \
22667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22669 "RANLIB=$${RANLIB}" \
22670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22671 install-pdf) \
22672 || exit 1
22674 @endif ld
22676 .PHONY: maybe-install-html-ld install-html-ld
22677 maybe-install-html-ld:
22678 @if ld
22679 maybe-install-html-ld: install-html-ld
22681 install-html-ld: \
22682 configure-ld \
22683 html-ld
22684 @[ -f ./ld/Makefile ] || exit 0; \
22685 r=`${PWD_COMMAND}`; export r; \
22686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22687 $(HOST_EXPORTS) \
22688 for flag in $(EXTRA_HOST_FLAGS) ; do \
22689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22690 done; \
22691 echo "Doing install-html in ld"; \
22692 (cd $(HOST_SUBDIR)/ld && \
22693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22695 "RANLIB=$${RANLIB}" \
22696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22697 install-html) \
22698 || exit 1
22700 @endif ld
22702 .PHONY: maybe-installcheck-ld installcheck-ld
22703 maybe-installcheck-ld:
22704 @if ld
22705 maybe-installcheck-ld: installcheck-ld
22707 installcheck-ld: \
22708 configure-ld
22709 @[ -f ./ld/Makefile ] || exit 0; \
22710 r=`${PWD_COMMAND}`; export r; \
22711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22712 $(HOST_EXPORTS) \
22713 for flag in $(EXTRA_HOST_FLAGS) ; do \
22714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22715 done; \
22716 echo "Doing installcheck in ld"; \
22717 (cd $(HOST_SUBDIR)/ld && \
22718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22720 "RANLIB=$${RANLIB}" \
22721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22722 installcheck) \
22723 || exit 1
22725 @endif ld
22727 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22728 maybe-mostlyclean-ld:
22729 @if ld
22730 maybe-mostlyclean-ld: mostlyclean-ld
22732 mostlyclean-ld:
22733 @[ -f ./ld/Makefile ] || exit 0; \
22734 r=`${PWD_COMMAND}`; export r; \
22735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22736 $(HOST_EXPORTS) \
22737 for flag in $(EXTRA_HOST_FLAGS) ; do \
22738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22739 done; \
22740 echo "Doing mostlyclean in ld"; \
22741 (cd $(HOST_SUBDIR)/ld && \
22742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22744 "RANLIB=$${RANLIB}" \
22745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22746 mostlyclean) \
22747 || exit 1
22749 @endif ld
22751 .PHONY: maybe-clean-ld clean-ld
22752 maybe-clean-ld:
22753 @if ld
22754 maybe-clean-ld: clean-ld
22756 clean-ld:
22757 @[ -f ./ld/Makefile ] || exit 0; \
22758 r=`${PWD_COMMAND}`; export r; \
22759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22760 $(HOST_EXPORTS) \
22761 for flag in $(EXTRA_HOST_FLAGS) ; do \
22762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22763 done; \
22764 echo "Doing clean in ld"; \
22765 (cd $(HOST_SUBDIR)/ld && \
22766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22768 "RANLIB=$${RANLIB}" \
22769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22770 clean) \
22771 || exit 1
22773 @endif ld
22775 .PHONY: maybe-distclean-ld distclean-ld
22776 maybe-distclean-ld:
22777 @if ld
22778 maybe-distclean-ld: distclean-ld
22780 distclean-ld:
22781 @[ -f ./ld/Makefile ] || exit 0; \
22782 r=`${PWD_COMMAND}`; export r; \
22783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22784 $(HOST_EXPORTS) \
22785 for flag in $(EXTRA_HOST_FLAGS) ; do \
22786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22787 done; \
22788 echo "Doing distclean in ld"; \
22789 (cd $(HOST_SUBDIR)/ld && \
22790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22792 "RANLIB=$${RANLIB}" \
22793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22794 distclean) \
22795 || exit 1
22797 @endif ld
22799 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22800 maybe-maintainer-clean-ld:
22801 @if ld
22802 maybe-maintainer-clean-ld: maintainer-clean-ld
22804 maintainer-clean-ld:
22805 @[ -f ./ld/Makefile ] || exit 0; \
22806 r=`${PWD_COMMAND}`; export r; \
22807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22808 $(HOST_EXPORTS) \
22809 for flag in $(EXTRA_HOST_FLAGS) ; do \
22810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22811 done; \
22812 echo "Doing maintainer-clean in ld"; \
22813 (cd $(HOST_SUBDIR)/ld && \
22814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22816 "RANLIB=$${RANLIB}" \
22817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22818 maintainer-clean) \
22819 || exit 1
22821 @endif ld
22825 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22826 maybe-configure-libbacktrace:
22827 @if gcc-bootstrap
22828 configure-libbacktrace: stage_current
22829 @endif gcc-bootstrap
22830 @if libbacktrace
22831 maybe-configure-libbacktrace: configure-libbacktrace
22832 configure-libbacktrace:
22833 @r=`${PWD_COMMAND}`; export r; \
22834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22835 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22837 $(HOST_EXPORTS) \
22838 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22839 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22840 case $(srcdir) in \
22841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22842 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22844 esac; \
22845 module_srcdir=libbacktrace; \
22846 $(SHELL) \
22847 $$s/$$module_srcdir/configure \
22848 --srcdir=$${topdir}/$$module_srcdir \
22849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22850 --target=${target_alias} \
22851 || exit 1
22852 @endif libbacktrace
22856 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22857 maybe-configure-stage1-libbacktrace:
22858 @if libbacktrace-bootstrap
22859 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22860 configure-stage1-libbacktrace:
22861 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22863 @r=`${PWD_COMMAND}`; export r; \
22864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22865 TFLAGS="$(STAGE1_TFLAGS)"; \
22866 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22867 $(HOST_EXPORTS) \
22868 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22869 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22870 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22871 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22873 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22874 case $(srcdir) in \
22875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22876 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22878 esac; \
22879 module_srcdir=libbacktrace; \
22880 $(SHELL) $$s/$$module_srcdir/configure \
22881 --srcdir=$${topdir}/$$module_srcdir \
22882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22883 --target=${target_alias} \
22885 $(STAGE1_CONFIGURE_FLAGS)
22886 @endif libbacktrace-bootstrap
22888 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22889 maybe-configure-stage2-libbacktrace:
22890 @if libbacktrace-bootstrap
22891 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22892 configure-stage2-libbacktrace:
22893 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22895 @r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 TFLAGS="$(STAGE2_TFLAGS)"; \
22898 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22899 $(HOST_EXPORTS) \
22900 $(POSTSTAGE1_HOST_EXPORTS) \
22901 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22902 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22903 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22904 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22906 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22907 case $(srcdir) in \
22908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22909 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22911 esac; \
22912 module_srcdir=libbacktrace; \
22913 $(SHELL) $$s/$$module_srcdir/configure \
22914 --srcdir=$${topdir}/$$module_srcdir \
22915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22916 --target=${target_alias} \
22917 --with-build-libsubdir=$(HOST_SUBDIR) \
22918 $(STAGE2_CONFIGURE_FLAGS)
22919 @endif libbacktrace-bootstrap
22921 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22922 maybe-configure-stage3-libbacktrace:
22923 @if libbacktrace-bootstrap
22924 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22925 configure-stage3-libbacktrace:
22926 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22928 @r=`${PWD_COMMAND}`; export r; \
22929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22930 TFLAGS="$(STAGE3_TFLAGS)"; \
22931 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22932 $(HOST_EXPORTS) \
22933 $(POSTSTAGE1_HOST_EXPORTS) \
22934 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22935 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22936 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22937 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22939 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22940 case $(srcdir) in \
22941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22942 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22944 esac; \
22945 module_srcdir=libbacktrace; \
22946 $(SHELL) $$s/$$module_srcdir/configure \
22947 --srcdir=$${topdir}/$$module_srcdir \
22948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22949 --target=${target_alias} \
22950 --with-build-libsubdir=$(HOST_SUBDIR) \
22951 $(STAGE3_CONFIGURE_FLAGS)
22952 @endif libbacktrace-bootstrap
22954 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22955 maybe-configure-stage4-libbacktrace:
22956 @if libbacktrace-bootstrap
22957 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22958 configure-stage4-libbacktrace:
22959 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22961 @r=`${PWD_COMMAND}`; export r; \
22962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22963 TFLAGS="$(STAGE4_TFLAGS)"; \
22964 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22965 $(HOST_EXPORTS) \
22966 $(POSTSTAGE1_HOST_EXPORTS) \
22967 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22968 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22969 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22970 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22972 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22973 case $(srcdir) in \
22974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22975 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22977 esac; \
22978 module_srcdir=libbacktrace; \
22979 $(SHELL) $$s/$$module_srcdir/configure \
22980 --srcdir=$${topdir}/$$module_srcdir \
22981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22982 --target=${target_alias} \
22983 --with-build-libsubdir=$(HOST_SUBDIR) \
22984 $(STAGE4_CONFIGURE_FLAGS)
22985 @endif libbacktrace-bootstrap
22987 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22988 maybe-configure-stageprofile-libbacktrace:
22989 @if libbacktrace-bootstrap
22990 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22991 configure-stageprofile-libbacktrace:
22992 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22994 @r=`${PWD_COMMAND}`; export r; \
22995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22996 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22997 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22998 $(HOST_EXPORTS) \
22999 $(POSTSTAGE1_HOST_EXPORTS) \
23000 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23001 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23002 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23003 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
23004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23005 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23006 case $(srcdir) in \
23007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23008 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23010 esac; \
23011 module_srcdir=libbacktrace; \
23012 $(SHELL) $$s/$$module_srcdir/configure \
23013 --srcdir=$${topdir}/$$module_srcdir \
23014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23015 --target=${target_alias} \
23016 --with-build-libsubdir=$(HOST_SUBDIR) \
23017 $(STAGEprofile_CONFIGURE_FLAGS)
23018 @endif libbacktrace-bootstrap
23020 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
23021 maybe-configure-stagetrain-libbacktrace:
23022 @if libbacktrace-bootstrap
23023 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23024 configure-stagetrain-libbacktrace:
23025 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23027 @r=`${PWD_COMMAND}`; export r; \
23028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23030 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23031 $(HOST_EXPORTS) \
23032 $(POSTSTAGE1_HOST_EXPORTS) \
23033 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23034 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23035 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23036 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
23037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23038 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23039 case $(srcdir) in \
23040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23041 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23043 esac; \
23044 module_srcdir=libbacktrace; \
23045 $(SHELL) $$s/$$module_srcdir/configure \
23046 --srcdir=$${topdir}/$$module_srcdir \
23047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23048 --target=${target_alias} \
23049 --with-build-libsubdir=$(HOST_SUBDIR) \
23050 $(STAGEtrain_CONFIGURE_FLAGS)
23051 @endif libbacktrace-bootstrap
23053 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
23054 maybe-configure-stagefeedback-libbacktrace:
23055 @if libbacktrace-bootstrap
23056 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23057 configure-stagefeedback-libbacktrace:
23058 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23060 @r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23062 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23063 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23064 $(HOST_EXPORTS) \
23065 $(POSTSTAGE1_HOST_EXPORTS) \
23066 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23067 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23068 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23069 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
23070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23071 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23072 case $(srcdir) in \
23073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23074 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23076 esac; \
23077 module_srcdir=libbacktrace; \
23078 $(SHELL) $$s/$$module_srcdir/configure \
23079 --srcdir=$${topdir}/$$module_srcdir \
23080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23081 --target=${target_alias} \
23082 --with-build-libsubdir=$(HOST_SUBDIR) \
23083 $(STAGEfeedback_CONFIGURE_FLAGS)
23084 @endif libbacktrace-bootstrap
23086 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
23087 maybe-configure-stageautoprofile-libbacktrace:
23088 @if libbacktrace-bootstrap
23089 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23090 configure-stageautoprofile-libbacktrace:
23091 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23093 @r=`${PWD_COMMAND}`; export r; \
23094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23095 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23096 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23097 $(HOST_EXPORTS) \
23098 $(POSTSTAGE1_HOST_EXPORTS) \
23099 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23100 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23101 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23102 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
23103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23104 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23105 case $(srcdir) in \
23106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23107 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23109 esac; \
23110 module_srcdir=libbacktrace; \
23111 $(SHELL) $$s/$$module_srcdir/configure \
23112 --srcdir=$${topdir}/$$module_srcdir \
23113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23114 --target=${target_alias} \
23115 --with-build-libsubdir=$(HOST_SUBDIR) \
23116 $(STAGEautoprofile_CONFIGURE_FLAGS)
23117 @endif libbacktrace-bootstrap
23119 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
23120 maybe-configure-stageautofeedback-libbacktrace:
23121 @if libbacktrace-bootstrap
23122 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23123 configure-stageautofeedback-libbacktrace:
23124 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23126 @r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23129 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23130 $(HOST_EXPORTS) \
23131 $(POSTSTAGE1_HOST_EXPORTS) \
23132 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23133 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23134 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23135 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
23136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23137 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23138 case $(srcdir) in \
23139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23140 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23142 esac; \
23143 module_srcdir=libbacktrace; \
23144 $(SHELL) $$s/$$module_srcdir/configure \
23145 --srcdir=$${topdir}/$$module_srcdir \
23146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23147 --target=${target_alias} \
23148 --with-build-libsubdir=$(HOST_SUBDIR) \
23149 $(STAGEautofeedback_CONFIGURE_FLAGS)
23150 @endif libbacktrace-bootstrap
23156 .PHONY: all-libbacktrace maybe-all-libbacktrace
23157 maybe-all-libbacktrace:
23158 @if gcc-bootstrap
23159 all-libbacktrace: stage_current
23160 @endif gcc-bootstrap
23161 @if libbacktrace
23162 TARGET-libbacktrace=all
23163 maybe-all-libbacktrace: all-libbacktrace
23164 all-libbacktrace: configure-libbacktrace
23165 @r=`${PWD_COMMAND}`; export r; \
23166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23167 $(HOST_EXPORTS) \
23168 (cd $(HOST_SUBDIR)/libbacktrace && \
23169 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23170 $(TARGET-libbacktrace))
23171 @endif libbacktrace
23175 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
23176 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
23177 maybe-all-stage1-libbacktrace:
23178 maybe-clean-stage1-libbacktrace:
23179 @if libbacktrace-bootstrap
23180 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
23181 all-stage1: all-stage1-libbacktrace
23182 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
23183 all-stage1-libbacktrace: configure-stage1-libbacktrace
23184 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23185 @r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 TFLAGS="$(STAGE1_TFLAGS)"; \
23188 $(HOST_EXPORTS) \
23189 cd $(HOST_SUBDIR)/libbacktrace && \
23191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23192 CFLAGS="$(STAGE1_CFLAGS)" \
23193 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
23194 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23195 LIBCFLAGS="$(LIBCFLAGS)" \
23196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23199 $(EXTRA_HOST_FLAGS) \
23200 $(STAGE1_FLAGS_TO_PASS) \
23201 TFLAGS="$(STAGE1_TFLAGS)" \
23202 $(TARGET-stage1-libbacktrace)
23204 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
23205 clean-stage1: clean-stage1-libbacktrace
23206 clean-stage1-libbacktrace:
23207 @if [ $(current_stage) = stage1 ]; then \
23208 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23209 else \
23210 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
23211 $(MAKE) stage1-start; \
23212 fi; \
23213 cd $(HOST_SUBDIR)/libbacktrace && \
23214 $(MAKE) $(EXTRA_HOST_FLAGS) \
23215 $(STAGE1_FLAGS_TO_PASS) clean
23216 @endif libbacktrace-bootstrap
23219 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
23220 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
23221 maybe-all-stage2-libbacktrace:
23222 maybe-clean-stage2-libbacktrace:
23223 @if libbacktrace-bootstrap
23224 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
23225 all-stage2: all-stage2-libbacktrace
23226 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
23227 all-stage2-libbacktrace: configure-stage2-libbacktrace
23228 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23229 @r=`${PWD_COMMAND}`; export r; \
23230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23231 TFLAGS="$(STAGE2_TFLAGS)"; \
23232 $(HOST_EXPORTS) \
23233 $(POSTSTAGE1_HOST_EXPORTS) \
23234 cd $(HOST_SUBDIR)/libbacktrace && \
23236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23237 CFLAGS="$(STAGE2_CFLAGS)" \
23238 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
23239 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23240 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23245 TFLAGS="$(STAGE2_TFLAGS)" \
23246 $(TARGET-stage2-libbacktrace)
23248 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23249 clean-stage2: clean-stage2-libbacktrace
23250 clean-stage2-libbacktrace:
23251 @if [ $(current_stage) = stage2 ]; then \
23252 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23253 else \
23254 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23255 $(MAKE) stage2-start; \
23256 fi; \
23257 cd $(HOST_SUBDIR)/libbacktrace && \
23258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23259 @endif libbacktrace-bootstrap
23262 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23263 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23264 maybe-all-stage3-libbacktrace:
23265 maybe-clean-stage3-libbacktrace:
23266 @if libbacktrace-bootstrap
23267 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23268 all-stage3: all-stage3-libbacktrace
23269 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23270 all-stage3-libbacktrace: configure-stage3-libbacktrace
23271 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23272 @r=`${PWD_COMMAND}`; export r; \
23273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23274 TFLAGS="$(STAGE3_TFLAGS)"; \
23275 $(HOST_EXPORTS) \
23276 $(POSTSTAGE1_HOST_EXPORTS) \
23277 cd $(HOST_SUBDIR)/libbacktrace && \
23279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23280 CFLAGS="$(STAGE3_CFLAGS)" \
23281 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
23282 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23283 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23284 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23285 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23286 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23287 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23288 TFLAGS="$(STAGE3_TFLAGS)" \
23289 $(TARGET-stage3-libbacktrace)
23291 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23292 clean-stage3: clean-stage3-libbacktrace
23293 clean-stage3-libbacktrace:
23294 @if [ $(current_stage) = stage3 ]; then \
23295 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23296 else \
23297 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23298 $(MAKE) stage3-start; \
23299 fi; \
23300 cd $(HOST_SUBDIR)/libbacktrace && \
23301 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23302 @endif libbacktrace-bootstrap
23305 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23306 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23307 maybe-all-stage4-libbacktrace:
23308 maybe-clean-stage4-libbacktrace:
23309 @if libbacktrace-bootstrap
23310 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23311 all-stage4: all-stage4-libbacktrace
23312 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23313 all-stage4-libbacktrace: configure-stage4-libbacktrace
23314 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23315 @r=`${PWD_COMMAND}`; export r; \
23316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 TFLAGS="$(STAGE4_TFLAGS)"; \
23318 $(HOST_EXPORTS) \
23319 $(POSTSTAGE1_HOST_EXPORTS) \
23320 cd $(HOST_SUBDIR)/libbacktrace && \
23322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23323 CFLAGS="$(STAGE4_CFLAGS)" \
23324 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
23325 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23326 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23331 TFLAGS="$(STAGE4_TFLAGS)" \
23332 $(TARGET-stage4-libbacktrace)
23334 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23335 clean-stage4: clean-stage4-libbacktrace
23336 clean-stage4-libbacktrace:
23337 @if [ $(current_stage) = stage4 ]; then \
23338 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23339 else \
23340 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23341 $(MAKE) stage4-start; \
23342 fi; \
23343 cd $(HOST_SUBDIR)/libbacktrace && \
23344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23345 @endif libbacktrace-bootstrap
23348 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23349 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23350 maybe-all-stageprofile-libbacktrace:
23351 maybe-clean-stageprofile-libbacktrace:
23352 @if libbacktrace-bootstrap
23353 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23354 all-stageprofile: all-stageprofile-libbacktrace
23355 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23356 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23357 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23358 @r=`${PWD_COMMAND}`; export r; \
23359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23360 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23361 $(HOST_EXPORTS) \
23362 $(POSTSTAGE1_HOST_EXPORTS) \
23363 cd $(HOST_SUBDIR)/libbacktrace && \
23365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23366 CFLAGS="$(STAGEprofile_CFLAGS)" \
23367 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
23368 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23369 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23374 TFLAGS="$(STAGEprofile_TFLAGS)" \
23375 $(TARGET-stageprofile-libbacktrace)
23377 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23378 clean-stageprofile: clean-stageprofile-libbacktrace
23379 clean-stageprofile-libbacktrace:
23380 @if [ $(current_stage) = stageprofile ]; then \
23381 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23382 else \
23383 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23384 $(MAKE) stageprofile-start; \
23385 fi; \
23386 cd $(HOST_SUBDIR)/libbacktrace && \
23387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23388 @endif libbacktrace-bootstrap
23391 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23392 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23393 maybe-all-stagetrain-libbacktrace:
23394 maybe-clean-stagetrain-libbacktrace:
23395 @if libbacktrace-bootstrap
23396 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23397 all-stagetrain: all-stagetrain-libbacktrace
23398 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23399 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23400 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23401 @r=`${PWD_COMMAND}`; export r; \
23402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23403 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23404 $(HOST_EXPORTS) \
23405 $(POSTSTAGE1_HOST_EXPORTS) \
23406 cd $(HOST_SUBDIR)/libbacktrace && \
23408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23409 CFLAGS="$(STAGEtrain_CFLAGS)" \
23410 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
23411 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23412 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23417 TFLAGS="$(STAGEtrain_TFLAGS)" \
23418 $(TARGET-stagetrain-libbacktrace)
23420 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23421 clean-stagetrain: clean-stagetrain-libbacktrace
23422 clean-stagetrain-libbacktrace:
23423 @if [ $(current_stage) = stagetrain ]; then \
23424 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23425 else \
23426 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23427 $(MAKE) stagetrain-start; \
23428 fi; \
23429 cd $(HOST_SUBDIR)/libbacktrace && \
23430 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23431 @endif libbacktrace-bootstrap
23434 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23435 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23436 maybe-all-stagefeedback-libbacktrace:
23437 maybe-clean-stagefeedback-libbacktrace:
23438 @if libbacktrace-bootstrap
23439 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23440 all-stagefeedback: all-stagefeedback-libbacktrace
23441 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23442 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23443 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23444 @r=`${PWD_COMMAND}`; export r; \
23445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23446 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23447 $(HOST_EXPORTS) \
23448 $(POSTSTAGE1_HOST_EXPORTS) \
23449 cd $(HOST_SUBDIR)/libbacktrace && \
23451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23452 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23453 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
23454 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23455 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23460 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23461 $(TARGET-stagefeedback-libbacktrace)
23463 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23464 clean-stagefeedback: clean-stagefeedback-libbacktrace
23465 clean-stagefeedback-libbacktrace:
23466 @if [ $(current_stage) = stagefeedback ]; then \
23467 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23468 else \
23469 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23470 $(MAKE) stagefeedback-start; \
23471 fi; \
23472 cd $(HOST_SUBDIR)/libbacktrace && \
23473 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23474 @endif libbacktrace-bootstrap
23477 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23478 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23479 maybe-all-stageautoprofile-libbacktrace:
23480 maybe-clean-stageautoprofile-libbacktrace:
23481 @if libbacktrace-bootstrap
23482 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23483 all-stageautoprofile: all-stageautoprofile-libbacktrace
23484 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23485 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23486 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23487 @r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23490 $(HOST_EXPORTS) \
23491 $(POSTSTAGE1_HOST_EXPORTS) \
23492 cd $(HOST_SUBDIR)/libbacktrace && \
23493 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23495 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23496 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
23497 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23498 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23503 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23504 $(TARGET-stageautoprofile-libbacktrace)
23506 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23507 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23508 clean-stageautoprofile-libbacktrace:
23509 @if [ $(current_stage) = stageautoprofile ]; then \
23510 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23511 else \
23512 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23513 $(MAKE) stageautoprofile-start; \
23514 fi; \
23515 cd $(HOST_SUBDIR)/libbacktrace && \
23516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23517 @endif libbacktrace-bootstrap
23520 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23521 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23522 maybe-all-stageautofeedback-libbacktrace:
23523 maybe-clean-stageautofeedback-libbacktrace:
23524 @if libbacktrace-bootstrap
23525 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23526 all-stageautofeedback: all-stageautofeedback-libbacktrace
23527 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23528 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23529 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23530 @r=`${PWD_COMMAND}`; export r; \
23531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23532 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23533 $(HOST_EXPORTS) \
23534 $(POSTSTAGE1_HOST_EXPORTS) \
23535 cd $(HOST_SUBDIR)/libbacktrace && \
23537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23538 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23539 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
23540 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23541 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23546 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23547 $(TARGET-stageautofeedback-libbacktrace)
23549 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23550 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23551 clean-stageautofeedback-libbacktrace:
23552 @if [ $(current_stage) = stageautofeedback ]; then \
23553 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23554 else \
23555 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23556 $(MAKE) stageautofeedback-start; \
23557 fi; \
23558 cd $(HOST_SUBDIR)/libbacktrace && \
23559 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23560 @endif libbacktrace-bootstrap
23566 .PHONY: check-libbacktrace maybe-check-libbacktrace
23567 maybe-check-libbacktrace:
23568 @if libbacktrace
23569 maybe-check-libbacktrace: check-libbacktrace
23571 check-libbacktrace:
23572 @: $(MAKE); $(unstage)
23573 @r=`${PWD_COMMAND}`; export r; \
23574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23575 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23576 (cd $(HOST_SUBDIR)/libbacktrace && \
23577 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23579 @endif libbacktrace
23581 .PHONY: install-libbacktrace maybe-install-libbacktrace
23582 maybe-install-libbacktrace:
23583 @if libbacktrace
23584 maybe-install-libbacktrace: install-libbacktrace
23586 install-libbacktrace: installdirs
23587 @: $(MAKE); $(unstage)
23588 @r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 (cd $(HOST_SUBDIR)/libbacktrace && \
23592 $(MAKE) $(FLAGS_TO_PASS) install)
23594 @endif libbacktrace
23596 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23597 maybe-install-strip-libbacktrace:
23598 @if libbacktrace
23599 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23601 install-strip-libbacktrace: installdirs
23602 @: $(MAKE); $(unstage)
23603 @r=`${PWD_COMMAND}`; export r; \
23604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23605 $(HOST_EXPORTS) \
23606 (cd $(HOST_SUBDIR)/libbacktrace && \
23607 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23609 @endif libbacktrace
23611 # Other targets (info, dvi, pdf, etc.)
23613 .PHONY: maybe-info-libbacktrace info-libbacktrace
23614 maybe-info-libbacktrace:
23615 @if libbacktrace
23616 maybe-info-libbacktrace: info-libbacktrace
23618 info-libbacktrace: \
23619 configure-libbacktrace
23620 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23621 r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623 $(HOST_EXPORTS) \
23624 for flag in $(EXTRA_HOST_FLAGS) ; do \
23625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23626 done; \
23627 echo "Doing info in libbacktrace"; \
23628 (cd $(HOST_SUBDIR)/libbacktrace && \
23629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23631 "RANLIB=$${RANLIB}" \
23632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23633 info) \
23634 || exit 1
23636 @endif libbacktrace
23638 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23639 maybe-dvi-libbacktrace:
23640 @if libbacktrace
23641 maybe-dvi-libbacktrace: dvi-libbacktrace
23643 dvi-libbacktrace: \
23644 configure-libbacktrace
23645 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23646 r=`${PWD_COMMAND}`; export r; \
23647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23648 $(HOST_EXPORTS) \
23649 for flag in $(EXTRA_HOST_FLAGS) ; do \
23650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23651 done; \
23652 echo "Doing dvi in libbacktrace"; \
23653 (cd $(HOST_SUBDIR)/libbacktrace && \
23654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23656 "RANLIB=$${RANLIB}" \
23657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23658 dvi) \
23659 || exit 1
23661 @endif libbacktrace
23663 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23664 maybe-pdf-libbacktrace:
23665 @if libbacktrace
23666 maybe-pdf-libbacktrace: pdf-libbacktrace
23668 pdf-libbacktrace: \
23669 configure-libbacktrace
23670 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23671 r=`${PWD_COMMAND}`; export r; \
23672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23673 $(HOST_EXPORTS) \
23674 for flag in $(EXTRA_HOST_FLAGS) ; do \
23675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23676 done; \
23677 echo "Doing pdf in libbacktrace"; \
23678 (cd $(HOST_SUBDIR)/libbacktrace && \
23679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23681 "RANLIB=$${RANLIB}" \
23682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23683 pdf) \
23684 || exit 1
23686 @endif libbacktrace
23688 .PHONY: maybe-html-libbacktrace html-libbacktrace
23689 maybe-html-libbacktrace:
23690 @if libbacktrace
23691 maybe-html-libbacktrace: html-libbacktrace
23693 html-libbacktrace: \
23694 configure-libbacktrace
23695 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23696 r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 $(HOST_EXPORTS) \
23699 for flag in $(EXTRA_HOST_FLAGS) ; do \
23700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23701 done; \
23702 echo "Doing html in libbacktrace"; \
23703 (cd $(HOST_SUBDIR)/libbacktrace && \
23704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23706 "RANLIB=$${RANLIB}" \
23707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23708 html) \
23709 || exit 1
23711 @endif libbacktrace
23713 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23714 maybe-TAGS-libbacktrace:
23715 @if libbacktrace
23716 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23718 TAGS-libbacktrace: \
23719 configure-libbacktrace
23720 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23721 r=`${PWD_COMMAND}`; export r; \
23722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23723 $(HOST_EXPORTS) \
23724 for flag in $(EXTRA_HOST_FLAGS) ; do \
23725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23726 done; \
23727 echo "Doing TAGS in libbacktrace"; \
23728 (cd $(HOST_SUBDIR)/libbacktrace && \
23729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23731 "RANLIB=$${RANLIB}" \
23732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23733 TAGS) \
23734 || exit 1
23736 @endif libbacktrace
23738 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23739 maybe-install-info-libbacktrace:
23740 @if libbacktrace
23741 maybe-install-info-libbacktrace: install-info-libbacktrace
23743 install-info-libbacktrace: \
23744 configure-libbacktrace \
23745 info-libbacktrace
23746 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23747 r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 $(HOST_EXPORTS) \
23750 for flag in $(EXTRA_HOST_FLAGS) ; do \
23751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23752 done; \
23753 echo "Doing install-info in libbacktrace"; \
23754 (cd $(HOST_SUBDIR)/libbacktrace && \
23755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23757 "RANLIB=$${RANLIB}" \
23758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23759 install-info) \
23760 || exit 1
23762 @endif libbacktrace
23764 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23765 maybe-install-pdf-libbacktrace:
23766 @if libbacktrace
23767 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23769 install-pdf-libbacktrace: \
23770 configure-libbacktrace \
23771 pdf-libbacktrace
23772 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23773 r=`${PWD_COMMAND}`; export r; \
23774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23775 $(HOST_EXPORTS) \
23776 for flag in $(EXTRA_HOST_FLAGS) ; do \
23777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23778 done; \
23779 echo "Doing install-pdf in libbacktrace"; \
23780 (cd $(HOST_SUBDIR)/libbacktrace && \
23781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23783 "RANLIB=$${RANLIB}" \
23784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23785 install-pdf) \
23786 || exit 1
23788 @endif libbacktrace
23790 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23791 maybe-install-html-libbacktrace:
23792 @if libbacktrace
23793 maybe-install-html-libbacktrace: install-html-libbacktrace
23795 install-html-libbacktrace: \
23796 configure-libbacktrace \
23797 html-libbacktrace
23798 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23799 r=`${PWD_COMMAND}`; export r; \
23800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23801 $(HOST_EXPORTS) \
23802 for flag in $(EXTRA_HOST_FLAGS) ; do \
23803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23804 done; \
23805 echo "Doing install-html in libbacktrace"; \
23806 (cd $(HOST_SUBDIR)/libbacktrace && \
23807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23809 "RANLIB=$${RANLIB}" \
23810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23811 install-html) \
23812 || exit 1
23814 @endif libbacktrace
23816 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23817 maybe-installcheck-libbacktrace:
23818 @if libbacktrace
23819 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23821 installcheck-libbacktrace: \
23822 configure-libbacktrace
23823 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23824 r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 $(HOST_EXPORTS) \
23827 for flag in $(EXTRA_HOST_FLAGS) ; do \
23828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23829 done; \
23830 echo "Doing installcheck in libbacktrace"; \
23831 (cd $(HOST_SUBDIR)/libbacktrace && \
23832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23834 "RANLIB=$${RANLIB}" \
23835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23836 installcheck) \
23837 || exit 1
23839 @endif libbacktrace
23841 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23842 maybe-mostlyclean-libbacktrace:
23843 @if libbacktrace
23844 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23846 mostlyclean-libbacktrace:
23847 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23848 r=`${PWD_COMMAND}`; export r; \
23849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23850 $(HOST_EXPORTS) \
23851 for flag in $(EXTRA_HOST_FLAGS) ; do \
23852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23853 done; \
23854 echo "Doing mostlyclean in libbacktrace"; \
23855 (cd $(HOST_SUBDIR)/libbacktrace && \
23856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23858 "RANLIB=$${RANLIB}" \
23859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23860 mostlyclean) \
23861 || exit 1
23863 @endif libbacktrace
23865 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23866 maybe-clean-libbacktrace:
23867 @if libbacktrace
23868 maybe-clean-libbacktrace: clean-libbacktrace
23870 clean-libbacktrace:
23871 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23872 r=`${PWD_COMMAND}`; export r; \
23873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23874 $(HOST_EXPORTS) \
23875 for flag in $(EXTRA_HOST_FLAGS) ; do \
23876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23877 done; \
23878 echo "Doing clean in libbacktrace"; \
23879 (cd $(HOST_SUBDIR)/libbacktrace && \
23880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23882 "RANLIB=$${RANLIB}" \
23883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23884 clean) \
23885 || exit 1
23887 @endif libbacktrace
23889 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23890 maybe-distclean-libbacktrace:
23891 @if libbacktrace
23892 maybe-distclean-libbacktrace: distclean-libbacktrace
23894 distclean-libbacktrace:
23895 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23896 r=`${PWD_COMMAND}`; export r; \
23897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23898 $(HOST_EXPORTS) \
23899 for flag in $(EXTRA_HOST_FLAGS) ; do \
23900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23901 done; \
23902 echo "Doing distclean in libbacktrace"; \
23903 (cd $(HOST_SUBDIR)/libbacktrace && \
23904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23906 "RANLIB=$${RANLIB}" \
23907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23908 distclean) \
23909 || exit 1
23911 @endif libbacktrace
23913 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23914 maybe-maintainer-clean-libbacktrace:
23915 @if libbacktrace
23916 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23918 maintainer-clean-libbacktrace:
23919 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23920 r=`${PWD_COMMAND}`; export r; \
23921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23922 $(HOST_EXPORTS) \
23923 for flag in $(EXTRA_HOST_FLAGS) ; do \
23924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23925 done; \
23926 echo "Doing maintainer-clean in libbacktrace"; \
23927 (cd $(HOST_SUBDIR)/libbacktrace && \
23928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23930 "RANLIB=$${RANLIB}" \
23931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23932 maintainer-clean) \
23933 || exit 1
23935 @endif libbacktrace
23939 .PHONY: configure-libcpp maybe-configure-libcpp
23940 maybe-configure-libcpp:
23941 @if gcc-bootstrap
23942 configure-libcpp: stage_current
23943 @endif gcc-bootstrap
23944 @if libcpp
23945 maybe-configure-libcpp: configure-libcpp
23946 configure-libcpp:
23947 @r=`${PWD_COMMAND}`; export r; \
23948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23949 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23951 $(HOST_EXPORTS) \
23952 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23953 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23954 case $(srcdir) in \
23955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23956 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23958 esac; \
23959 module_srcdir=libcpp; \
23960 $(SHELL) \
23961 $$s/$$module_srcdir/configure \
23962 --srcdir=$${topdir}/$$module_srcdir \
23963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23964 --target=${target_alias} \
23965 || exit 1
23966 @endif libcpp
23970 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23971 maybe-configure-stage1-libcpp:
23972 @if libcpp-bootstrap
23973 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23974 configure-stage1-libcpp:
23975 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23977 @r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 TFLAGS="$(STAGE1_TFLAGS)"; \
23980 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23981 $(HOST_EXPORTS) \
23982 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23983 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23984 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23985 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23987 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23988 case $(srcdir) in \
23989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23990 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23992 esac; \
23993 module_srcdir=libcpp; \
23994 $(SHELL) $$s/$$module_srcdir/configure \
23995 --srcdir=$${topdir}/$$module_srcdir \
23996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23997 --target=${target_alias} \
23999 $(STAGE1_CONFIGURE_FLAGS)
24000 @endif libcpp-bootstrap
24002 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
24003 maybe-configure-stage2-libcpp:
24004 @if libcpp-bootstrap
24005 maybe-configure-stage2-libcpp: configure-stage2-libcpp
24006 configure-stage2-libcpp:
24007 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24009 @r=`${PWD_COMMAND}`; export r; \
24010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24011 TFLAGS="$(STAGE2_TFLAGS)"; \
24012 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24013 $(HOST_EXPORTS) \
24014 $(POSTSTAGE1_HOST_EXPORTS) \
24015 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24016 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24017 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24018 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
24019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24020 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24021 case $(srcdir) in \
24022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24023 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24025 esac; \
24026 module_srcdir=libcpp; \
24027 $(SHELL) $$s/$$module_srcdir/configure \
24028 --srcdir=$${topdir}/$$module_srcdir \
24029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24030 --target=${target_alias} \
24031 --with-build-libsubdir=$(HOST_SUBDIR) \
24032 $(STAGE2_CONFIGURE_FLAGS)
24033 @endif libcpp-bootstrap
24035 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
24036 maybe-configure-stage3-libcpp:
24037 @if libcpp-bootstrap
24038 maybe-configure-stage3-libcpp: configure-stage3-libcpp
24039 configure-stage3-libcpp:
24040 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24042 @r=`${PWD_COMMAND}`; export r; \
24043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24044 TFLAGS="$(STAGE3_TFLAGS)"; \
24045 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24046 $(HOST_EXPORTS) \
24047 $(POSTSTAGE1_HOST_EXPORTS) \
24048 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24049 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24050 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24051 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
24052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24053 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24054 case $(srcdir) in \
24055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24056 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24058 esac; \
24059 module_srcdir=libcpp; \
24060 $(SHELL) $$s/$$module_srcdir/configure \
24061 --srcdir=$${topdir}/$$module_srcdir \
24062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24063 --target=${target_alias} \
24064 --with-build-libsubdir=$(HOST_SUBDIR) \
24065 $(STAGE3_CONFIGURE_FLAGS)
24066 @endif libcpp-bootstrap
24068 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
24069 maybe-configure-stage4-libcpp:
24070 @if libcpp-bootstrap
24071 maybe-configure-stage4-libcpp: configure-stage4-libcpp
24072 configure-stage4-libcpp:
24073 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24075 @r=`${PWD_COMMAND}`; export r; \
24076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24077 TFLAGS="$(STAGE4_TFLAGS)"; \
24078 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24079 $(HOST_EXPORTS) \
24080 $(POSTSTAGE1_HOST_EXPORTS) \
24081 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24082 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24083 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24084 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
24085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24086 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24087 case $(srcdir) in \
24088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24089 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24091 esac; \
24092 module_srcdir=libcpp; \
24093 $(SHELL) $$s/$$module_srcdir/configure \
24094 --srcdir=$${topdir}/$$module_srcdir \
24095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24096 --target=${target_alias} \
24097 --with-build-libsubdir=$(HOST_SUBDIR) \
24098 $(STAGE4_CONFIGURE_FLAGS)
24099 @endif libcpp-bootstrap
24101 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
24102 maybe-configure-stageprofile-libcpp:
24103 @if libcpp-bootstrap
24104 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
24105 configure-stageprofile-libcpp:
24106 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24108 @r=`${PWD_COMMAND}`; export r; \
24109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24110 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24111 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24112 $(HOST_EXPORTS) \
24113 $(POSTSTAGE1_HOST_EXPORTS) \
24114 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24115 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24116 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24117 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
24118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24119 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24120 case $(srcdir) in \
24121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24122 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24124 esac; \
24125 module_srcdir=libcpp; \
24126 $(SHELL) $$s/$$module_srcdir/configure \
24127 --srcdir=$${topdir}/$$module_srcdir \
24128 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24129 --target=${target_alias} \
24130 --with-build-libsubdir=$(HOST_SUBDIR) \
24131 $(STAGEprofile_CONFIGURE_FLAGS)
24132 @endif libcpp-bootstrap
24134 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
24135 maybe-configure-stagetrain-libcpp:
24136 @if libcpp-bootstrap
24137 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
24138 configure-stagetrain-libcpp:
24139 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24140 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24141 @r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24144 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24145 $(HOST_EXPORTS) \
24146 $(POSTSTAGE1_HOST_EXPORTS) \
24147 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24148 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24149 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24150 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
24151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24152 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24153 case $(srcdir) in \
24154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24155 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24157 esac; \
24158 module_srcdir=libcpp; \
24159 $(SHELL) $$s/$$module_srcdir/configure \
24160 --srcdir=$${topdir}/$$module_srcdir \
24161 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24162 --target=${target_alias} \
24163 --with-build-libsubdir=$(HOST_SUBDIR) \
24164 $(STAGEtrain_CONFIGURE_FLAGS)
24165 @endif libcpp-bootstrap
24167 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
24168 maybe-configure-stagefeedback-libcpp:
24169 @if libcpp-bootstrap
24170 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
24171 configure-stagefeedback-libcpp:
24172 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24174 @r=`${PWD_COMMAND}`; export r; \
24175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24176 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24177 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24178 $(HOST_EXPORTS) \
24179 $(POSTSTAGE1_HOST_EXPORTS) \
24180 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24181 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24182 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24183 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
24184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24185 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24186 case $(srcdir) in \
24187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24188 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24190 esac; \
24191 module_srcdir=libcpp; \
24192 $(SHELL) $$s/$$module_srcdir/configure \
24193 --srcdir=$${topdir}/$$module_srcdir \
24194 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24195 --target=${target_alias} \
24196 --with-build-libsubdir=$(HOST_SUBDIR) \
24197 $(STAGEfeedback_CONFIGURE_FLAGS)
24198 @endif libcpp-bootstrap
24200 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
24201 maybe-configure-stageautoprofile-libcpp:
24202 @if libcpp-bootstrap
24203 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24204 configure-stageautoprofile-libcpp:
24205 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24206 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24207 @r=`${PWD_COMMAND}`; export r; \
24208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24209 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24210 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24211 $(HOST_EXPORTS) \
24212 $(POSTSTAGE1_HOST_EXPORTS) \
24213 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
24214 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
24215 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
24216 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
24217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24218 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24219 case $(srcdir) in \
24220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24221 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24223 esac; \
24224 module_srcdir=libcpp; \
24225 $(SHELL) $$s/$$module_srcdir/configure \
24226 --srcdir=$${topdir}/$$module_srcdir \
24227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24228 --target=${target_alias} \
24229 --with-build-libsubdir=$(HOST_SUBDIR) \
24230 $(STAGEautoprofile_CONFIGURE_FLAGS)
24231 @endif libcpp-bootstrap
24233 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
24234 maybe-configure-stageautofeedback-libcpp:
24235 @if libcpp-bootstrap
24236 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24237 configure-stageautofeedback-libcpp:
24238 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24240 @r=`${PWD_COMMAND}`; export r; \
24241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24242 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24243 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24244 $(HOST_EXPORTS) \
24245 $(POSTSTAGE1_HOST_EXPORTS) \
24246 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24247 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24248 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24249 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24251 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24252 case $(srcdir) in \
24253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24254 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24256 esac; \
24257 module_srcdir=libcpp; \
24258 $(SHELL) $$s/$$module_srcdir/configure \
24259 --srcdir=$${topdir}/$$module_srcdir \
24260 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24261 --target=${target_alias} \
24262 --with-build-libsubdir=$(HOST_SUBDIR) \
24263 $(STAGEautofeedback_CONFIGURE_FLAGS)
24264 @endif libcpp-bootstrap
24270 .PHONY: all-libcpp maybe-all-libcpp
24271 maybe-all-libcpp:
24272 @if gcc-bootstrap
24273 all-libcpp: stage_current
24274 @endif gcc-bootstrap
24275 @if libcpp
24276 TARGET-libcpp=all
24277 maybe-all-libcpp: all-libcpp
24278 all-libcpp: configure-libcpp
24279 @r=`${PWD_COMMAND}`; export r; \
24280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24281 $(HOST_EXPORTS) \
24282 (cd $(HOST_SUBDIR)/libcpp && \
24283 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24284 $(TARGET-libcpp))
24285 @endif libcpp
24289 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24290 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24291 maybe-all-stage1-libcpp:
24292 maybe-clean-stage1-libcpp:
24293 @if libcpp-bootstrap
24294 maybe-all-stage1-libcpp: all-stage1-libcpp
24295 all-stage1: all-stage1-libcpp
24296 TARGET-stage1-libcpp = $(TARGET-libcpp)
24297 all-stage1-libcpp: configure-stage1-libcpp
24298 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24299 @r=`${PWD_COMMAND}`; export r; \
24300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24301 TFLAGS="$(STAGE1_TFLAGS)"; \
24302 $(HOST_EXPORTS) \
24303 cd $(HOST_SUBDIR)/libcpp && \
24305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24306 CFLAGS="$(STAGE1_CFLAGS)" \
24307 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
24308 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24309 LIBCFLAGS="$(LIBCFLAGS)" \
24310 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24311 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24312 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24313 $(EXTRA_HOST_FLAGS) \
24314 $(STAGE1_FLAGS_TO_PASS) \
24315 TFLAGS="$(STAGE1_TFLAGS)" \
24316 $(TARGET-stage1-libcpp)
24318 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24319 clean-stage1: clean-stage1-libcpp
24320 clean-stage1-libcpp:
24321 @if [ $(current_stage) = stage1 ]; then \
24322 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24323 else \
24324 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24325 $(MAKE) stage1-start; \
24326 fi; \
24327 cd $(HOST_SUBDIR)/libcpp && \
24328 $(MAKE) $(EXTRA_HOST_FLAGS) \
24329 $(STAGE1_FLAGS_TO_PASS) clean
24330 @endif libcpp-bootstrap
24333 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24334 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24335 maybe-all-stage2-libcpp:
24336 maybe-clean-stage2-libcpp:
24337 @if libcpp-bootstrap
24338 maybe-all-stage2-libcpp: all-stage2-libcpp
24339 all-stage2: all-stage2-libcpp
24340 TARGET-stage2-libcpp = $(TARGET-libcpp)
24341 all-stage2-libcpp: configure-stage2-libcpp
24342 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24343 @r=`${PWD_COMMAND}`; export r; \
24344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24345 TFLAGS="$(STAGE2_TFLAGS)"; \
24346 $(HOST_EXPORTS) \
24347 $(POSTSTAGE1_HOST_EXPORTS) \
24348 cd $(HOST_SUBDIR)/libcpp && \
24350 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24351 CFLAGS="$(STAGE2_CFLAGS)" \
24352 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
24353 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24354 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24359 TFLAGS="$(STAGE2_TFLAGS)" \
24360 $(TARGET-stage2-libcpp)
24362 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24363 clean-stage2: clean-stage2-libcpp
24364 clean-stage2-libcpp:
24365 @if [ $(current_stage) = stage2 ]; then \
24366 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24367 else \
24368 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24369 $(MAKE) stage2-start; \
24370 fi; \
24371 cd $(HOST_SUBDIR)/libcpp && \
24372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24373 @endif libcpp-bootstrap
24376 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24377 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24378 maybe-all-stage3-libcpp:
24379 maybe-clean-stage3-libcpp:
24380 @if libcpp-bootstrap
24381 maybe-all-stage3-libcpp: all-stage3-libcpp
24382 all-stage3: all-stage3-libcpp
24383 TARGET-stage3-libcpp = $(TARGET-libcpp)
24384 all-stage3-libcpp: configure-stage3-libcpp
24385 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24386 @r=`${PWD_COMMAND}`; export r; \
24387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24388 TFLAGS="$(STAGE3_TFLAGS)"; \
24389 $(HOST_EXPORTS) \
24390 $(POSTSTAGE1_HOST_EXPORTS) \
24391 cd $(HOST_SUBDIR)/libcpp && \
24393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24394 CFLAGS="$(STAGE3_CFLAGS)" \
24395 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
24396 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24397 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24398 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24399 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24400 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24401 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24402 TFLAGS="$(STAGE3_TFLAGS)" \
24403 $(TARGET-stage3-libcpp)
24405 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24406 clean-stage3: clean-stage3-libcpp
24407 clean-stage3-libcpp:
24408 @if [ $(current_stage) = stage3 ]; then \
24409 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24410 else \
24411 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24412 $(MAKE) stage3-start; \
24413 fi; \
24414 cd $(HOST_SUBDIR)/libcpp && \
24415 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24416 @endif libcpp-bootstrap
24419 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24420 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24421 maybe-all-stage4-libcpp:
24422 maybe-clean-stage4-libcpp:
24423 @if libcpp-bootstrap
24424 maybe-all-stage4-libcpp: all-stage4-libcpp
24425 all-stage4: all-stage4-libcpp
24426 TARGET-stage4-libcpp = $(TARGET-libcpp)
24427 all-stage4-libcpp: configure-stage4-libcpp
24428 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24429 @r=`${PWD_COMMAND}`; export r; \
24430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24431 TFLAGS="$(STAGE4_TFLAGS)"; \
24432 $(HOST_EXPORTS) \
24433 $(POSTSTAGE1_HOST_EXPORTS) \
24434 cd $(HOST_SUBDIR)/libcpp && \
24436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24437 CFLAGS="$(STAGE4_CFLAGS)" \
24438 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
24439 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24440 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24444 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24445 TFLAGS="$(STAGE4_TFLAGS)" \
24446 $(TARGET-stage4-libcpp)
24448 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24449 clean-stage4: clean-stage4-libcpp
24450 clean-stage4-libcpp:
24451 @if [ $(current_stage) = stage4 ]; then \
24452 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24453 else \
24454 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24455 $(MAKE) stage4-start; \
24456 fi; \
24457 cd $(HOST_SUBDIR)/libcpp && \
24458 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24459 @endif libcpp-bootstrap
24462 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24463 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24464 maybe-all-stageprofile-libcpp:
24465 maybe-clean-stageprofile-libcpp:
24466 @if libcpp-bootstrap
24467 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24468 all-stageprofile: all-stageprofile-libcpp
24469 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24470 all-stageprofile-libcpp: configure-stageprofile-libcpp
24471 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24472 @r=`${PWD_COMMAND}`; export r; \
24473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24474 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24475 $(HOST_EXPORTS) \
24476 $(POSTSTAGE1_HOST_EXPORTS) \
24477 cd $(HOST_SUBDIR)/libcpp && \
24479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24480 CFLAGS="$(STAGEprofile_CFLAGS)" \
24481 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
24482 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24483 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24487 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24488 TFLAGS="$(STAGEprofile_TFLAGS)" \
24489 $(TARGET-stageprofile-libcpp)
24491 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24492 clean-stageprofile: clean-stageprofile-libcpp
24493 clean-stageprofile-libcpp:
24494 @if [ $(current_stage) = stageprofile ]; then \
24495 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24496 else \
24497 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24498 $(MAKE) stageprofile-start; \
24499 fi; \
24500 cd $(HOST_SUBDIR)/libcpp && \
24501 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24502 @endif libcpp-bootstrap
24505 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24506 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24507 maybe-all-stagetrain-libcpp:
24508 maybe-clean-stagetrain-libcpp:
24509 @if libcpp-bootstrap
24510 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24511 all-stagetrain: all-stagetrain-libcpp
24512 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24513 all-stagetrain-libcpp: configure-stagetrain-libcpp
24514 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24515 @r=`${PWD_COMMAND}`; export r; \
24516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24517 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24518 $(HOST_EXPORTS) \
24519 $(POSTSTAGE1_HOST_EXPORTS) \
24520 cd $(HOST_SUBDIR)/libcpp && \
24522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24523 CFLAGS="$(STAGEtrain_CFLAGS)" \
24524 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
24525 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24526 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24530 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24531 TFLAGS="$(STAGEtrain_TFLAGS)" \
24532 $(TARGET-stagetrain-libcpp)
24534 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24535 clean-stagetrain: clean-stagetrain-libcpp
24536 clean-stagetrain-libcpp:
24537 @if [ $(current_stage) = stagetrain ]; then \
24538 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24539 else \
24540 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24541 $(MAKE) stagetrain-start; \
24542 fi; \
24543 cd $(HOST_SUBDIR)/libcpp && \
24544 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24545 @endif libcpp-bootstrap
24548 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24549 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24550 maybe-all-stagefeedback-libcpp:
24551 maybe-clean-stagefeedback-libcpp:
24552 @if libcpp-bootstrap
24553 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24554 all-stagefeedback: all-stagefeedback-libcpp
24555 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24556 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24557 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24558 @r=`${PWD_COMMAND}`; export r; \
24559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24560 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24561 $(HOST_EXPORTS) \
24562 $(POSTSTAGE1_HOST_EXPORTS) \
24563 cd $(HOST_SUBDIR)/libcpp && \
24565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24566 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24567 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
24568 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24569 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24573 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24574 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24575 $(TARGET-stagefeedback-libcpp)
24577 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24578 clean-stagefeedback: clean-stagefeedback-libcpp
24579 clean-stagefeedback-libcpp:
24580 @if [ $(current_stage) = stagefeedback ]; then \
24581 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24582 else \
24583 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24584 $(MAKE) stagefeedback-start; \
24585 fi; \
24586 cd $(HOST_SUBDIR)/libcpp && \
24587 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24588 @endif libcpp-bootstrap
24591 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24592 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24593 maybe-all-stageautoprofile-libcpp:
24594 maybe-clean-stageautoprofile-libcpp:
24595 @if libcpp-bootstrap
24596 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24597 all-stageautoprofile: all-stageautoprofile-libcpp
24598 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24599 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24600 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24601 @r=`${PWD_COMMAND}`; export r; \
24602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24603 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24604 $(HOST_EXPORTS) \
24605 $(POSTSTAGE1_HOST_EXPORTS) \
24606 cd $(HOST_SUBDIR)/libcpp && \
24607 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24608 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24609 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24610 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
24611 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24612 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24616 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24617 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24618 $(TARGET-stageautoprofile-libcpp)
24620 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24621 clean-stageautoprofile: clean-stageautoprofile-libcpp
24622 clean-stageautoprofile-libcpp:
24623 @if [ $(current_stage) = stageautoprofile ]; then \
24624 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24625 else \
24626 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24627 $(MAKE) stageautoprofile-start; \
24628 fi; \
24629 cd $(HOST_SUBDIR)/libcpp && \
24630 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24631 @endif libcpp-bootstrap
24634 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24635 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24636 maybe-all-stageautofeedback-libcpp:
24637 maybe-clean-stageautofeedback-libcpp:
24638 @if libcpp-bootstrap
24639 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24640 all-stageautofeedback: all-stageautofeedback-libcpp
24641 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24642 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24643 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24644 @r=`${PWD_COMMAND}`; export r; \
24645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24646 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24647 $(HOST_EXPORTS) \
24648 $(POSTSTAGE1_HOST_EXPORTS) \
24649 cd $(HOST_SUBDIR)/libcpp && \
24651 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24652 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24653 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
24654 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24655 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24659 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24660 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24661 $(TARGET-stageautofeedback-libcpp)
24663 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24664 clean-stageautofeedback: clean-stageautofeedback-libcpp
24665 clean-stageautofeedback-libcpp:
24666 @if [ $(current_stage) = stageautofeedback ]; then \
24667 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24668 else \
24669 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24670 $(MAKE) stageautofeedback-start; \
24671 fi; \
24672 cd $(HOST_SUBDIR)/libcpp && \
24673 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24674 @endif libcpp-bootstrap
24680 .PHONY: check-libcpp maybe-check-libcpp
24681 maybe-check-libcpp:
24682 @if libcpp
24683 maybe-check-libcpp: check-libcpp
24685 check-libcpp:
24686 @: $(MAKE); $(unstage)
24687 @r=`${PWD_COMMAND}`; export r; \
24688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24689 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24690 (cd $(HOST_SUBDIR)/libcpp && \
24691 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24693 @endif libcpp
24695 .PHONY: install-libcpp maybe-install-libcpp
24696 maybe-install-libcpp:
24697 @if libcpp
24698 maybe-install-libcpp: install-libcpp
24700 install-libcpp: installdirs
24701 @: $(MAKE); $(unstage)
24702 @r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(HOST_EXPORTS) \
24705 (cd $(HOST_SUBDIR)/libcpp && \
24706 $(MAKE) $(FLAGS_TO_PASS) install)
24708 @endif libcpp
24710 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24711 maybe-install-strip-libcpp:
24712 @if libcpp
24713 maybe-install-strip-libcpp: install-strip-libcpp
24715 install-strip-libcpp: installdirs
24716 @: $(MAKE); $(unstage)
24717 @r=`${PWD_COMMAND}`; export r; \
24718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24719 $(HOST_EXPORTS) \
24720 (cd $(HOST_SUBDIR)/libcpp && \
24721 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24723 @endif libcpp
24725 # Other targets (info, dvi, pdf, etc.)
24727 .PHONY: maybe-info-libcpp info-libcpp
24728 maybe-info-libcpp:
24729 @if libcpp
24730 maybe-info-libcpp: info-libcpp
24732 info-libcpp: \
24733 configure-libcpp
24734 @[ -f ./libcpp/Makefile ] || exit 0; \
24735 r=`${PWD_COMMAND}`; export r; \
24736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24737 $(HOST_EXPORTS) \
24738 for flag in $(EXTRA_HOST_FLAGS) ; do \
24739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24740 done; \
24741 echo "Doing info in libcpp"; \
24742 (cd $(HOST_SUBDIR)/libcpp && \
24743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24745 "RANLIB=$${RANLIB}" \
24746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24747 info) \
24748 || exit 1
24750 @endif libcpp
24752 .PHONY: maybe-dvi-libcpp dvi-libcpp
24753 maybe-dvi-libcpp:
24754 @if libcpp
24755 maybe-dvi-libcpp: dvi-libcpp
24757 dvi-libcpp: \
24758 configure-libcpp
24759 @[ -f ./libcpp/Makefile ] || exit 0; \
24760 r=`${PWD_COMMAND}`; export r; \
24761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24762 $(HOST_EXPORTS) \
24763 for flag in $(EXTRA_HOST_FLAGS) ; do \
24764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24765 done; \
24766 echo "Doing dvi in libcpp"; \
24767 (cd $(HOST_SUBDIR)/libcpp && \
24768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24770 "RANLIB=$${RANLIB}" \
24771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24772 dvi) \
24773 || exit 1
24775 @endif libcpp
24777 .PHONY: maybe-pdf-libcpp pdf-libcpp
24778 maybe-pdf-libcpp:
24779 @if libcpp
24780 maybe-pdf-libcpp: pdf-libcpp
24782 pdf-libcpp: \
24783 configure-libcpp
24784 @[ -f ./libcpp/Makefile ] || exit 0; \
24785 r=`${PWD_COMMAND}`; export r; \
24786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24787 $(HOST_EXPORTS) \
24788 for flag in $(EXTRA_HOST_FLAGS) ; do \
24789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24790 done; \
24791 echo "Doing pdf in libcpp"; \
24792 (cd $(HOST_SUBDIR)/libcpp && \
24793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24795 "RANLIB=$${RANLIB}" \
24796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24797 pdf) \
24798 || exit 1
24800 @endif libcpp
24802 .PHONY: maybe-html-libcpp html-libcpp
24803 maybe-html-libcpp:
24804 @if libcpp
24805 maybe-html-libcpp: html-libcpp
24807 html-libcpp: \
24808 configure-libcpp
24809 @[ -f ./libcpp/Makefile ] || exit 0; \
24810 r=`${PWD_COMMAND}`; export r; \
24811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24812 $(HOST_EXPORTS) \
24813 for flag in $(EXTRA_HOST_FLAGS) ; do \
24814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24815 done; \
24816 echo "Doing html in libcpp"; \
24817 (cd $(HOST_SUBDIR)/libcpp && \
24818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24820 "RANLIB=$${RANLIB}" \
24821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24822 html) \
24823 || exit 1
24825 @endif libcpp
24827 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24828 maybe-TAGS-libcpp:
24829 @if libcpp
24830 maybe-TAGS-libcpp: TAGS-libcpp
24832 TAGS-libcpp: \
24833 configure-libcpp
24834 @[ -f ./libcpp/Makefile ] || exit 0; \
24835 r=`${PWD_COMMAND}`; export r; \
24836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24837 $(HOST_EXPORTS) \
24838 for flag in $(EXTRA_HOST_FLAGS) ; do \
24839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24840 done; \
24841 echo "Doing TAGS in libcpp"; \
24842 (cd $(HOST_SUBDIR)/libcpp && \
24843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24845 "RANLIB=$${RANLIB}" \
24846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24847 TAGS) \
24848 || exit 1
24850 @endif libcpp
24852 .PHONY: maybe-install-info-libcpp install-info-libcpp
24853 maybe-install-info-libcpp:
24854 @if libcpp
24855 maybe-install-info-libcpp: install-info-libcpp
24857 install-info-libcpp: \
24858 configure-libcpp \
24859 info-libcpp
24860 @[ -f ./libcpp/Makefile ] || exit 0; \
24861 r=`${PWD_COMMAND}`; export r; \
24862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24863 $(HOST_EXPORTS) \
24864 for flag in $(EXTRA_HOST_FLAGS) ; do \
24865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24866 done; \
24867 echo "Doing install-info in libcpp"; \
24868 (cd $(HOST_SUBDIR)/libcpp && \
24869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24871 "RANLIB=$${RANLIB}" \
24872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24873 install-info) \
24874 || exit 1
24876 @endif libcpp
24878 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24879 maybe-install-pdf-libcpp:
24880 @if libcpp
24881 maybe-install-pdf-libcpp: install-pdf-libcpp
24883 install-pdf-libcpp: \
24884 configure-libcpp \
24885 pdf-libcpp
24886 @[ -f ./libcpp/Makefile ] || exit 0; \
24887 r=`${PWD_COMMAND}`; export r; \
24888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24889 $(HOST_EXPORTS) \
24890 for flag in $(EXTRA_HOST_FLAGS) ; do \
24891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24892 done; \
24893 echo "Doing install-pdf in libcpp"; \
24894 (cd $(HOST_SUBDIR)/libcpp && \
24895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24897 "RANLIB=$${RANLIB}" \
24898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24899 install-pdf) \
24900 || exit 1
24902 @endif libcpp
24904 .PHONY: maybe-install-html-libcpp install-html-libcpp
24905 maybe-install-html-libcpp:
24906 @if libcpp
24907 maybe-install-html-libcpp: install-html-libcpp
24909 install-html-libcpp: \
24910 configure-libcpp \
24911 html-libcpp
24912 @[ -f ./libcpp/Makefile ] || exit 0; \
24913 r=`${PWD_COMMAND}`; export r; \
24914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24915 $(HOST_EXPORTS) \
24916 for flag in $(EXTRA_HOST_FLAGS) ; do \
24917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24918 done; \
24919 echo "Doing install-html in libcpp"; \
24920 (cd $(HOST_SUBDIR)/libcpp && \
24921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24923 "RANLIB=$${RANLIB}" \
24924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24925 install-html) \
24926 || exit 1
24928 @endif libcpp
24930 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24931 maybe-installcheck-libcpp:
24932 @if libcpp
24933 maybe-installcheck-libcpp: installcheck-libcpp
24935 installcheck-libcpp: \
24936 configure-libcpp
24937 @[ -f ./libcpp/Makefile ] || exit 0; \
24938 r=`${PWD_COMMAND}`; export r; \
24939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24940 $(HOST_EXPORTS) \
24941 for flag in $(EXTRA_HOST_FLAGS) ; do \
24942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24943 done; \
24944 echo "Doing installcheck in libcpp"; \
24945 (cd $(HOST_SUBDIR)/libcpp && \
24946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24948 "RANLIB=$${RANLIB}" \
24949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24950 installcheck) \
24951 || exit 1
24953 @endif libcpp
24955 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24956 maybe-mostlyclean-libcpp:
24957 @if libcpp
24958 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24960 mostlyclean-libcpp:
24961 @[ -f ./libcpp/Makefile ] || exit 0; \
24962 r=`${PWD_COMMAND}`; export r; \
24963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24964 $(HOST_EXPORTS) \
24965 for flag in $(EXTRA_HOST_FLAGS) ; do \
24966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24967 done; \
24968 echo "Doing mostlyclean in libcpp"; \
24969 (cd $(HOST_SUBDIR)/libcpp && \
24970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24972 "RANLIB=$${RANLIB}" \
24973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24974 mostlyclean) \
24975 || exit 1
24977 @endif libcpp
24979 .PHONY: maybe-clean-libcpp clean-libcpp
24980 maybe-clean-libcpp:
24981 @if libcpp
24982 maybe-clean-libcpp: clean-libcpp
24984 clean-libcpp:
24985 @[ -f ./libcpp/Makefile ] || exit 0; \
24986 r=`${PWD_COMMAND}`; export r; \
24987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24988 $(HOST_EXPORTS) \
24989 for flag in $(EXTRA_HOST_FLAGS) ; do \
24990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24991 done; \
24992 echo "Doing clean in libcpp"; \
24993 (cd $(HOST_SUBDIR)/libcpp && \
24994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24996 "RANLIB=$${RANLIB}" \
24997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24998 clean) \
24999 || exit 1
25001 @endif libcpp
25003 .PHONY: maybe-distclean-libcpp distclean-libcpp
25004 maybe-distclean-libcpp:
25005 @if libcpp
25006 maybe-distclean-libcpp: distclean-libcpp
25008 distclean-libcpp:
25009 @[ -f ./libcpp/Makefile ] || exit 0; \
25010 r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 for flag in $(EXTRA_HOST_FLAGS) ; do \
25014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25015 done; \
25016 echo "Doing distclean in libcpp"; \
25017 (cd $(HOST_SUBDIR)/libcpp && \
25018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25020 "RANLIB=$${RANLIB}" \
25021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25022 distclean) \
25023 || exit 1
25025 @endif libcpp
25027 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
25028 maybe-maintainer-clean-libcpp:
25029 @if libcpp
25030 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
25032 maintainer-clean-libcpp:
25033 @[ -f ./libcpp/Makefile ] || exit 0; \
25034 r=`${PWD_COMMAND}`; export r; \
25035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25036 $(HOST_EXPORTS) \
25037 for flag in $(EXTRA_HOST_FLAGS) ; do \
25038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25039 done; \
25040 echo "Doing maintainer-clean in libcpp"; \
25041 (cd $(HOST_SUBDIR)/libcpp && \
25042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25044 "RANLIB=$${RANLIB}" \
25045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25046 maintainer-clean) \
25047 || exit 1
25049 @endif libcpp
25053 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
25054 maybe-configure-libdecnumber:
25055 @if gcc-bootstrap
25056 configure-libdecnumber: stage_current
25057 @endif gcc-bootstrap
25058 @if libdecnumber
25059 maybe-configure-libdecnumber: configure-libdecnumber
25060 configure-libdecnumber:
25061 @r=`${PWD_COMMAND}`; export r; \
25062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25063 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25065 $(HOST_EXPORTS) \
25066 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
25067 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
25068 case $(srcdir) in \
25069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25070 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25072 esac; \
25073 module_srcdir=libdecnumber; \
25074 $(SHELL) \
25075 $$s/$$module_srcdir/configure \
25076 --srcdir=$${topdir}/$$module_srcdir \
25077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25078 --target=${target_alias} \
25079 || exit 1
25080 @endif libdecnumber
25084 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
25085 maybe-configure-stage1-libdecnumber:
25086 @if libdecnumber-bootstrap
25087 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
25088 configure-stage1-libdecnumber:
25089 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25091 @r=`${PWD_COMMAND}`; export r; \
25092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25093 TFLAGS="$(STAGE1_TFLAGS)"; \
25094 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25095 $(HOST_EXPORTS) \
25096 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25097 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25098 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25099 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
25100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25101 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25102 case $(srcdir) in \
25103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25104 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25106 esac; \
25107 module_srcdir=libdecnumber; \
25108 $(SHELL) $$s/$$module_srcdir/configure \
25109 --srcdir=$${topdir}/$$module_srcdir \
25110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25111 --target=${target_alias} \
25113 $(STAGE1_CONFIGURE_FLAGS)
25114 @endif libdecnumber-bootstrap
25116 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
25117 maybe-configure-stage2-libdecnumber:
25118 @if libdecnumber-bootstrap
25119 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
25120 configure-stage2-libdecnumber:
25121 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25123 @r=`${PWD_COMMAND}`; export r; \
25124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25125 TFLAGS="$(STAGE2_TFLAGS)"; \
25126 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25127 $(HOST_EXPORTS) \
25128 $(POSTSTAGE1_HOST_EXPORTS) \
25129 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25130 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25131 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25132 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
25133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25134 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25135 case $(srcdir) in \
25136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25137 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25139 esac; \
25140 module_srcdir=libdecnumber; \
25141 $(SHELL) $$s/$$module_srcdir/configure \
25142 --srcdir=$${topdir}/$$module_srcdir \
25143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25144 --target=${target_alias} \
25145 --with-build-libsubdir=$(HOST_SUBDIR) \
25146 $(STAGE2_CONFIGURE_FLAGS)
25147 @endif libdecnumber-bootstrap
25149 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
25150 maybe-configure-stage3-libdecnumber:
25151 @if libdecnumber-bootstrap
25152 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
25153 configure-stage3-libdecnumber:
25154 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25156 @r=`${PWD_COMMAND}`; export r; \
25157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25158 TFLAGS="$(STAGE3_TFLAGS)"; \
25159 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25160 $(HOST_EXPORTS) \
25161 $(POSTSTAGE1_HOST_EXPORTS) \
25162 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25163 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25164 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25165 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
25166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25167 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25168 case $(srcdir) in \
25169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25170 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25172 esac; \
25173 module_srcdir=libdecnumber; \
25174 $(SHELL) $$s/$$module_srcdir/configure \
25175 --srcdir=$${topdir}/$$module_srcdir \
25176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25177 --target=${target_alias} \
25178 --with-build-libsubdir=$(HOST_SUBDIR) \
25179 $(STAGE3_CONFIGURE_FLAGS)
25180 @endif libdecnumber-bootstrap
25182 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
25183 maybe-configure-stage4-libdecnumber:
25184 @if libdecnumber-bootstrap
25185 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
25186 configure-stage4-libdecnumber:
25187 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25188 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25189 @r=`${PWD_COMMAND}`; export r; \
25190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25191 TFLAGS="$(STAGE4_TFLAGS)"; \
25192 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25193 $(HOST_EXPORTS) \
25194 $(POSTSTAGE1_HOST_EXPORTS) \
25195 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25196 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25197 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25198 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
25199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25200 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25201 case $(srcdir) in \
25202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25203 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25205 esac; \
25206 module_srcdir=libdecnumber; \
25207 $(SHELL) $$s/$$module_srcdir/configure \
25208 --srcdir=$${topdir}/$$module_srcdir \
25209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25210 --target=${target_alias} \
25211 --with-build-libsubdir=$(HOST_SUBDIR) \
25212 $(STAGE4_CONFIGURE_FLAGS)
25213 @endif libdecnumber-bootstrap
25215 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
25216 maybe-configure-stageprofile-libdecnumber:
25217 @if libdecnumber-bootstrap
25218 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25219 configure-stageprofile-libdecnumber:
25220 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25221 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25222 @r=`${PWD_COMMAND}`; export r; \
25223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25224 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25225 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25226 $(HOST_EXPORTS) \
25227 $(POSTSTAGE1_HOST_EXPORTS) \
25228 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25229 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25230 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25231 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
25232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25233 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25234 case $(srcdir) in \
25235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25236 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25238 esac; \
25239 module_srcdir=libdecnumber; \
25240 $(SHELL) $$s/$$module_srcdir/configure \
25241 --srcdir=$${topdir}/$$module_srcdir \
25242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25243 --target=${target_alias} \
25244 --with-build-libsubdir=$(HOST_SUBDIR) \
25245 $(STAGEprofile_CONFIGURE_FLAGS)
25246 @endif libdecnumber-bootstrap
25248 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
25249 maybe-configure-stagetrain-libdecnumber:
25250 @if libdecnumber-bootstrap
25251 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25252 configure-stagetrain-libdecnumber:
25253 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25255 @r=`${PWD_COMMAND}`; export r; \
25256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25257 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25258 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25259 $(HOST_EXPORTS) \
25260 $(POSTSTAGE1_HOST_EXPORTS) \
25261 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25262 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25263 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25264 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25266 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25267 case $(srcdir) in \
25268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25269 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25271 esac; \
25272 module_srcdir=libdecnumber; \
25273 $(SHELL) $$s/$$module_srcdir/configure \
25274 --srcdir=$${topdir}/$$module_srcdir \
25275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25276 --target=${target_alias} \
25277 --with-build-libsubdir=$(HOST_SUBDIR) \
25278 $(STAGEtrain_CONFIGURE_FLAGS)
25279 @endif libdecnumber-bootstrap
25281 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25282 maybe-configure-stagefeedback-libdecnumber:
25283 @if libdecnumber-bootstrap
25284 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25285 configure-stagefeedback-libdecnumber:
25286 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25288 @r=`${PWD_COMMAND}`; export r; \
25289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25290 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25291 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25292 $(HOST_EXPORTS) \
25293 $(POSTSTAGE1_HOST_EXPORTS) \
25294 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25295 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25296 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25297 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25299 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25300 case $(srcdir) in \
25301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25302 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25304 esac; \
25305 module_srcdir=libdecnumber; \
25306 $(SHELL) $$s/$$module_srcdir/configure \
25307 --srcdir=$${topdir}/$$module_srcdir \
25308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25309 --target=${target_alias} \
25310 --with-build-libsubdir=$(HOST_SUBDIR) \
25311 $(STAGEfeedback_CONFIGURE_FLAGS)
25312 @endif libdecnumber-bootstrap
25314 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25315 maybe-configure-stageautoprofile-libdecnumber:
25316 @if libdecnumber-bootstrap
25317 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25318 configure-stageautoprofile-libdecnumber:
25319 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25320 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25321 @r=`${PWD_COMMAND}`; export r; \
25322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25324 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25325 $(HOST_EXPORTS) \
25326 $(POSTSTAGE1_HOST_EXPORTS) \
25327 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25328 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25329 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25330 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25332 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25333 case $(srcdir) in \
25334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25335 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25337 esac; \
25338 module_srcdir=libdecnumber; \
25339 $(SHELL) $$s/$$module_srcdir/configure \
25340 --srcdir=$${topdir}/$$module_srcdir \
25341 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25342 --target=${target_alias} \
25343 --with-build-libsubdir=$(HOST_SUBDIR) \
25344 $(STAGEautoprofile_CONFIGURE_FLAGS)
25345 @endif libdecnumber-bootstrap
25347 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25348 maybe-configure-stageautofeedback-libdecnumber:
25349 @if libdecnumber-bootstrap
25350 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25351 configure-stageautofeedback-libdecnumber:
25352 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25354 @r=`${PWD_COMMAND}`; export r; \
25355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25356 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25357 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25358 $(HOST_EXPORTS) \
25359 $(POSTSTAGE1_HOST_EXPORTS) \
25360 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25361 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25362 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25363 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25365 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25366 case $(srcdir) in \
25367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25368 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25370 esac; \
25371 module_srcdir=libdecnumber; \
25372 $(SHELL) $$s/$$module_srcdir/configure \
25373 --srcdir=$${topdir}/$$module_srcdir \
25374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25375 --target=${target_alias} \
25376 --with-build-libsubdir=$(HOST_SUBDIR) \
25377 $(STAGEautofeedback_CONFIGURE_FLAGS)
25378 @endif libdecnumber-bootstrap
25384 .PHONY: all-libdecnumber maybe-all-libdecnumber
25385 maybe-all-libdecnumber:
25386 @if gcc-bootstrap
25387 all-libdecnumber: stage_current
25388 @endif gcc-bootstrap
25389 @if libdecnumber
25390 TARGET-libdecnumber=all
25391 maybe-all-libdecnumber: all-libdecnumber
25392 all-libdecnumber: configure-libdecnumber
25393 @r=`${PWD_COMMAND}`; export r; \
25394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25395 $(HOST_EXPORTS) \
25396 (cd $(HOST_SUBDIR)/libdecnumber && \
25397 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25398 $(TARGET-libdecnumber))
25399 @endif libdecnumber
25403 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25404 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25405 maybe-all-stage1-libdecnumber:
25406 maybe-clean-stage1-libdecnumber:
25407 @if libdecnumber-bootstrap
25408 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25409 all-stage1: all-stage1-libdecnumber
25410 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25411 all-stage1-libdecnumber: configure-stage1-libdecnumber
25412 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25413 @r=`${PWD_COMMAND}`; export r; \
25414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25415 TFLAGS="$(STAGE1_TFLAGS)"; \
25416 $(HOST_EXPORTS) \
25417 cd $(HOST_SUBDIR)/libdecnumber && \
25419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25420 CFLAGS="$(STAGE1_CFLAGS)" \
25421 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
25422 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25423 LIBCFLAGS="$(LIBCFLAGS)" \
25424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25427 $(EXTRA_HOST_FLAGS) \
25428 $(STAGE1_FLAGS_TO_PASS) \
25429 TFLAGS="$(STAGE1_TFLAGS)" \
25430 $(TARGET-stage1-libdecnumber)
25432 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25433 clean-stage1: clean-stage1-libdecnumber
25434 clean-stage1-libdecnumber:
25435 @if [ $(current_stage) = stage1 ]; then \
25436 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25437 else \
25438 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25439 $(MAKE) stage1-start; \
25440 fi; \
25441 cd $(HOST_SUBDIR)/libdecnumber && \
25442 $(MAKE) $(EXTRA_HOST_FLAGS) \
25443 $(STAGE1_FLAGS_TO_PASS) clean
25444 @endif libdecnumber-bootstrap
25447 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25448 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25449 maybe-all-stage2-libdecnumber:
25450 maybe-clean-stage2-libdecnumber:
25451 @if libdecnumber-bootstrap
25452 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25453 all-stage2: all-stage2-libdecnumber
25454 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25455 all-stage2-libdecnumber: configure-stage2-libdecnumber
25456 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25457 @r=`${PWD_COMMAND}`; export r; \
25458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25459 TFLAGS="$(STAGE2_TFLAGS)"; \
25460 $(HOST_EXPORTS) \
25461 $(POSTSTAGE1_HOST_EXPORTS) \
25462 cd $(HOST_SUBDIR)/libdecnumber && \
25464 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25465 CFLAGS="$(STAGE2_CFLAGS)" \
25466 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
25467 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25468 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25472 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25473 TFLAGS="$(STAGE2_TFLAGS)" \
25474 $(TARGET-stage2-libdecnumber)
25476 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25477 clean-stage2: clean-stage2-libdecnumber
25478 clean-stage2-libdecnumber:
25479 @if [ $(current_stage) = stage2 ]; then \
25480 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25481 else \
25482 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25483 $(MAKE) stage2-start; \
25484 fi; \
25485 cd $(HOST_SUBDIR)/libdecnumber && \
25486 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25487 @endif libdecnumber-bootstrap
25490 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25491 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25492 maybe-all-stage3-libdecnumber:
25493 maybe-clean-stage3-libdecnumber:
25494 @if libdecnumber-bootstrap
25495 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25496 all-stage3: all-stage3-libdecnumber
25497 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25498 all-stage3-libdecnumber: configure-stage3-libdecnumber
25499 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25500 @r=`${PWD_COMMAND}`; export r; \
25501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25502 TFLAGS="$(STAGE3_TFLAGS)"; \
25503 $(HOST_EXPORTS) \
25504 $(POSTSTAGE1_HOST_EXPORTS) \
25505 cd $(HOST_SUBDIR)/libdecnumber && \
25507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25508 CFLAGS="$(STAGE3_CFLAGS)" \
25509 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
25510 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25511 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25516 TFLAGS="$(STAGE3_TFLAGS)" \
25517 $(TARGET-stage3-libdecnumber)
25519 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25520 clean-stage3: clean-stage3-libdecnumber
25521 clean-stage3-libdecnumber:
25522 @if [ $(current_stage) = stage3 ]; then \
25523 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25524 else \
25525 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25526 $(MAKE) stage3-start; \
25527 fi; \
25528 cd $(HOST_SUBDIR)/libdecnumber && \
25529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25530 @endif libdecnumber-bootstrap
25533 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25534 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25535 maybe-all-stage4-libdecnumber:
25536 maybe-clean-stage4-libdecnumber:
25537 @if libdecnumber-bootstrap
25538 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25539 all-stage4: all-stage4-libdecnumber
25540 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25541 all-stage4-libdecnumber: configure-stage4-libdecnumber
25542 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25543 @r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 TFLAGS="$(STAGE4_TFLAGS)"; \
25546 $(HOST_EXPORTS) \
25547 $(POSTSTAGE1_HOST_EXPORTS) \
25548 cd $(HOST_SUBDIR)/libdecnumber && \
25550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25551 CFLAGS="$(STAGE4_CFLAGS)" \
25552 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
25553 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25554 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25558 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25559 TFLAGS="$(STAGE4_TFLAGS)" \
25560 $(TARGET-stage4-libdecnumber)
25562 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25563 clean-stage4: clean-stage4-libdecnumber
25564 clean-stage4-libdecnumber:
25565 @if [ $(current_stage) = stage4 ]; then \
25566 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25567 else \
25568 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25569 $(MAKE) stage4-start; \
25570 fi; \
25571 cd $(HOST_SUBDIR)/libdecnumber && \
25572 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25573 @endif libdecnumber-bootstrap
25576 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25577 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25578 maybe-all-stageprofile-libdecnumber:
25579 maybe-clean-stageprofile-libdecnumber:
25580 @if libdecnumber-bootstrap
25581 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25582 all-stageprofile: all-stageprofile-libdecnumber
25583 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25584 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25585 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25586 @r=`${PWD_COMMAND}`; export r; \
25587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25588 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25589 $(HOST_EXPORTS) \
25590 $(POSTSTAGE1_HOST_EXPORTS) \
25591 cd $(HOST_SUBDIR)/libdecnumber && \
25593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25594 CFLAGS="$(STAGEprofile_CFLAGS)" \
25595 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
25596 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25597 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25602 TFLAGS="$(STAGEprofile_TFLAGS)" \
25603 $(TARGET-stageprofile-libdecnumber)
25605 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25606 clean-stageprofile: clean-stageprofile-libdecnumber
25607 clean-stageprofile-libdecnumber:
25608 @if [ $(current_stage) = stageprofile ]; then \
25609 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25610 else \
25611 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25612 $(MAKE) stageprofile-start; \
25613 fi; \
25614 cd $(HOST_SUBDIR)/libdecnumber && \
25615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25616 @endif libdecnumber-bootstrap
25619 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25620 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25621 maybe-all-stagetrain-libdecnumber:
25622 maybe-clean-stagetrain-libdecnumber:
25623 @if libdecnumber-bootstrap
25624 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25625 all-stagetrain: all-stagetrain-libdecnumber
25626 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25627 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25628 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25629 @r=`${PWD_COMMAND}`; export r; \
25630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25632 $(HOST_EXPORTS) \
25633 $(POSTSTAGE1_HOST_EXPORTS) \
25634 cd $(HOST_SUBDIR)/libdecnumber && \
25636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25637 CFLAGS="$(STAGEtrain_CFLAGS)" \
25638 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
25639 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25640 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25645 TFLAGS="$(STAGEtrain_TFLAGS)" \
25646 $(TARGET-stagetrain-libdecnumber)
25648 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25649 clean-stagetrain: clean-stagetrain-libdecnumber
25650 clean-stagetrain-libdecnumber:
25651 @if [ $(current_stage) = stagetrain ]; then \
25652 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25653 else \
25654 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25655 $(MAKE) stagetrain-start; \
25656 fi; \
25657 cd $(HOST_SUBDIR)/libdecnumber && \
25658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25659 @endif libdecnumber-bootstrap
25662 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25663 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25664 maybe-all-stagefeedback-libdecnumber:
25665 maybe-clean-stagefeedback-libdecnumber:
25666 @if libdecnumber-bootstrap
25667 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25668 all-stagefeedback: all-stagefeedback-libdecnumber
25669 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25670 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25671 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25672 @r=`${PWD_COMMAND}`; export r; \
25673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25674 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25675 $(HOST_EXPORTS) \
25676 $(POSTSTAGE1_HOST_EXPORTS) \
25677 cd $(HOST_SUBDIR)/libdecnumber && \
25679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25680 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25681 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
25682 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25683 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25687 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25688 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25689 $(TARGET-stagefeedback-libdecnumber)
25691 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25692 clean-stagefeedback: clean-stagefeedback-libdecnumber
25693 clean-stagefeedback-libdecnumber:
25694 @if [ $(current_stage) = stagefeedback ]; then \
25695 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25696 else \
25697 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25698 $(MAKE) stagefeedback-start; \
25699 fi; \
25700 cd $(HOST_SUBDIR)/libdecnumber && \
25701 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25702 @endif libdecnumber-bootstrap
25705 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25706 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25707 maybe-all-stageautoprofile-libdecnumber:
25708 maybe-clean-stageautoprofile-libdecnumber:
25709 @if libdecnumber-bootstrap
25710 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25711 all-stageautoprofile: all-stageautoprofile-libdecnumber
25712 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25713 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25714 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25715 @r=`${PWD_COMMAND}`; export r; \
25716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25717 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25718 $(HOST_EXPORTS) \
25719 $(POSTSTAGE1_HOST_EXPORTS) \
25720 cd $(HOST_SUBDIR)/libdecnumber && \
25721 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25723 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25724 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
25725 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25726 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25730 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25731 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25732 $(TARGET-stageautoprofile-libdecnumber)
25734 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25735 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25736 clean-stageautoprofile-libdecnumber:
25737 @if [ $(current_stage) = stageautoprofile ]; then \
25738 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25739 else \
25740 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25741 $(MAKE) stageautoprofile-start; \
25742 fi; \
25743 cd $(HOST_SUBDIR)/libdecnumber && \
25744 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25745 @endif libdecnumber-bootstrap
25748 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25749 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25750 maybe-all-stageautofeedback-libdecnumber:
25751 maybe-clean-stageautofeedback-libdecnumber:
25752 @if libdecnumber-bootstrap
25753 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25754 all-stageautofeedback: all-stageautofeedback-libdecnumber
25755 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25756 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25757 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25758 @r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25761 $(HOST_EXPORTS) \
25762 $(POSTSTAGE1_HOST_EXPORTS) \
25763 cd $(HOST_SUBDIR)/libdecnumber && \
25765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25766 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25767 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
25768 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25769 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25774 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25775 $(TARGET-stageautofeedback-libdecnumber)
25777 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25778 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25779 clean-stageautofeedback-libdecnumber:
25780 @if [ $(current_stage) = stageautofeedback ]; then \
25781 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25782 else \
25783 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25784 $(MAKE) stageautofeedback-start; \
25785 fi; \
25786 cd $(HOST_SUBDIR)/libdecnumber && \
25787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25788 @endif libdecnumber-bootstrap
25794 .PHONY: check-libdecnumber maybe-check-libdecnumber
25795 maybe-check-libdecnumber:
25796 @if libdecnumber
25797 maybe-check-libdecnumber: check-libdecnumber
25799 check-libdecnumber:
25800 @: $(MAKE); $(unstage)
25801 @r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25803 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25804 (cd $(HOST_SUBDIR)/libdecnumber && \
25805 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25807 @endif libdecnumber
25809 .PHONY: install-libdecnumber maybe-install-libdecnumber
25810 maybe-install-libdecnumber:
25811 @if libdecnumber
25812 maybe-install-libdecnumber: install-libdecnumber
25814 install-libdecnumber: installdirs
25815 @: $(MAKE); $(unstage)
25816 @r=`${PWD_COMMAND}`; export r; \
25817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25818 $(HOST_EXPORTS) \
25819 (cd $(HOST_SUBDIR)/libdecnumber && \
25820 $(MAKE) $(FLAGS_TO_PASS) install)
25822 @endif libdecnumber
25824 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25825 maybe-install-strip-libdecnumber:
25826 @if libdecnumber
25827 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25829 install-strip-libdecnumber: installdirs
25830 @: $(MAKE); $(unstage)
25831 @r=`${PWD_COMMAND}`; export r; \
25832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25833 $(HOST_EXPORTS) \
25834 (cd $(HOST_SUBDIR)/libdecnumber && \
25835 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25837 @endif libdecnumber
25839 # Other targets (info, dvi, pdf, etc.)
25841 .PHONY: maybe-info-libdecnumber info-libdecnumber
25842 maybe-info-libdecnumber:
25843 @if libdecnumber
25844 maybe-info-libdecnumber: info-libdecnumber
25846 info-libdecnumber: \
25847 configure-libdecnumber
25848 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25849 r=`${PWD_COMMAND}`; export r; \
25850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25851 $(HOST_EXPORTS) \
25852 for flag in $(EXTRA_HOST_FLAGS) ; do \
25853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25854 done; \
25855 echo "Doing info in libdecnumber"; \
25856 (cd $(HOST_SUBDIR)/libdecnumber && \
25857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25859 "RANLIB=$${RANLIB}" \
25860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25861 info) \
25862 || exit 1
25864 @endif libdecnumber
25866 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25867 maybe-dvi-libdecnumber:
25868 @if libdecnumber
25869 maybe-dvi-libdecnumber: dvi-libdecnumber
25871 dvi-libdecnumber: \
25872 configure-libdecnumber
25873 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25874 r=`${PWD_COMMAND}`; export r; \
25875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25876 $(HOST_EXPORTS) \
25877 for flag in $(EXTRA_HOST_FLAGS) ; do \
25878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25879 done; \
25880 echo "Doing dvi in libdecnumber"; \
25881 (cd $(HOST_SUBDIR)/libdecnumber && \
25882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25884 "RANLIB=$${RANLIB}" \
25885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25886 dvi) \
25887 || exit 1
25889 @endif libdecnumber
25891 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25892 maybe-pdf-libdecnumber:
25893 @if libdecnumber
25894 maybe-pdf-libdecnumber: pdf-libdecnumber
25896 pdf-libdecnumber: \
25897 configure-libdecnumber
25898 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25899 r=`${PWD_COMMAND}`; export r; \
25900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25901 $(HOST_EXPORTS) \
25902 for flag in $(EXTRA_HOST_FLAGS) ; do \
25903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25904 done; \
25905 echo "Doing pdf in libdecnumber"; \
25906 (cd $(HOST_SUBDIR)/libdecnumber && \
25907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25909 "RANLIB=$${RANLIB}" \
25910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25911 pdf) \
25912 || exit 1
25914 @endif libdecnumber
25916 .PHONY: maybe-html-libdecnumber html-libdecnumber
25917 maybe-html-libdecnumber:
25918 @if libdecnumber
25919 maybe-html-libdecnumber: html-libdecnumber
25921 html-libdecnumber: \
25922 configure-libdecnumber
25923 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25924 r=`${PWD_COMMAND}`; export r; \
25925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25926 $(HOST_EXPORTS) \
25927 for flag in $(EXTRA_HOST_FLAGS) ; do \
25928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25929 done; \
25930 echo "Doing html in libdecnumber"; \
25931 (cd $(HOST_SUBDIR)/libdecnumber && \
25932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25934 "RANLIB=$${RANLIB}" \
25935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25936 html) \
25937 || exit 1
25939 @endif libdecnumber
25941 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25942 maybe-TAGS-libdecnumber:
25943 @if libdecnumber
25944 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25946 TAGS-libdecnumber: \
25947 configure-libdecnumber
25948 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25949 r=`${PWD_COMMAND}`; export r; \
25950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25951 $(HOST_EXPORTS) \
25952 for flag in $(EXTRA_HOST_FLAGS) ; do \
25953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25954 done; \
25955 echo "Doing TAGS in libdecnumber"; \
25956 (cd $(HOST_SUBDIR)/libdecnumber && \
25957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25959 "RANLIB=$${RANLIB}" \
25960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25961 TAGS) \
25962 || exit 1
25964 @endif libdecnumber
25966 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25967 maybe-install-info-libdecnumber:
25968 @if libdecnumber
25969 maybe-install-info-libdecnumber: install-info-libdecnumber
25971 install-info-libdecnumber: \
25972 configure-libdecnumber \
25973 info-libdecnumber
25974 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25975 r=`${PWD_COMMAND}`; export r; \
25976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25977 $(HOST_EXPORTS) \
25978 for flag in $(EXTRA_HOST_FLAGS) ; do \
25979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25980 done; \
25981 echo "Doing install-info in libdecnumber"; \
25982 (cd $(HOST_SUBDIR)/libdecnumber && \
25983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25985 "RANLIB=$${RANLIB}" \
25986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25987 install-info) \
25988 || exit 1
25990 @endif libdecnumber
25992 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25993 maybe-install-pdf-libdecnumber:
25994 @if libdecnumber
25995 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25997 install-pdf-libdecnumber: \
25998 configure-libdecnumber \
25999 pdf-libdecnumber
26000 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26001 r=`${PWD_COMMAND}`; export r; \
26002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26003 $(HOST_EXPORTS) \
26004 for flag in $(EXTRA_HOST_FLAGS) ; do \
26005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26006 done; \
26007 echo "Doing install-pdf in libdecnumber"; \
26008 (cd $(HOST_SUBDIR)/libdecnumber && \
26009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26011 "RANLIB=$${RANLIB}" \
26012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26013 install-pdf) \
26014 || exit 1
26016 @endif libdecnumber
26018 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
26019 maybe-install-html-libdecnumber:
26020 @if libdecnumber
26021 maybe-install-html-libdecnumber: install-html-libdecnumber
26023 install-html-libdecnumber: \
26024 configure-libdecnumber \
26025 html-libdecnumber
26026 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26027 r=`${PWD_COMMAND}`; export r; \
26028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26029 $(HOST_EXPORTS) \
26030 for flag in $(EXTRA_HOST_FLAGS) ; do \
26031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26032 done; \
26033 echo "Doing install-html in libdecnumber"; \
26034 (cd $(HOST_SUBDIR)/libdecnumber && \
26035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26037 "RANLIB=$${RANLIB}" \
26038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26039 install-html) \
26040 || exit 1
26042 @endif libdecnumber
26044 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
26045 maybe-installcheck-libdecnumber:
26046 @if libdecnumber
26047 maybe-installcheck-libdecnumber: installcheck-libdecnumber
26049 installcheck-libdecnumber: \
26050 configure-libdecnumber
26051 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26052 r=`${PWD_COMMAND}`; export r; \
26053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26054 $(HOST_EXPORTS) \
26055 for flag in $(EXTRA_HOST_FLAGS) ; do \
26056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26057 done; \
26058 echo "Doing installcheck in libdecnumber"; \
26059 (cd $(HOST_SUBDIR)/libdecnumber && \
26060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26062 "RANLIB=$${RANLIB}" \
26063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26064 installcheck) \
26065 || exit 1
26067 @endif libdecnumber
26069 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
26070 maybe-mostlyclean-libdecnumber:
26071 @if libdecnumber
26072 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
26074 mostlyclean-libdecnumber:
26075 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26076 r=`${PWD_COMMAND}`; export r; \
26077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26078 $(HOST_EXPORTS) \
26079 for flag in $(EXTRA_HOST_FLAGS) ; do \
26080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26081 done; \
26082 echo "Doing mostlyclean in libdecnumber"; \
26083 (cd $(HOST_SUBDIR)/libdecnumber && \
26084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26086 "RANLIB=$${RANLIB}" \
26087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26088 mostlyclean) \
26089 || exit 1
26091 @endif libdecnumber
26093 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
26094 maybe-clean-libdecnumber:
26095 @if libdecnumber
26096 maybe-clean-libdecnumber: clean-libdecnumber
26098 clean-libdecnumber:
26099 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26100 r=`${PWD_COMMAND}`; export r; \
26101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26102 $(HOST_EXPORTS) \
26103 for flag in $(EXTRA_HOST_FLAGS) ; do \
26104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26105 done; \
26106 echo "Doing clean in libdecnumber"; \
26107 (cd $(HOST_SUBDIR)/libdecnumber && \
26108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26110 "RANLIB=$${RANLIB}" \
26111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26112 clean) \
26113 || exit 1
26115 @endif libdecnumber
26117 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
26118 maybe-distclean-libdecnumber:
26119 @if libdecnumber
26120 maybe-distclean-libdecnumber: distclean-libdecnumber
26122 distclean-libdecnumber:
26123 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26124 r=`${PWD_COMMAND}`; export r; \
26125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26126 $(HOST_EXPORTS) \
26127 for flag in $(EXTRA_HOST_FLAGS) ; do \
26128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26129 done; \
26130 echo "Doing distclean in libdecnumber"; \
26131 (cd $(HOST_SUBDIR)/libdecnumber && \
26132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26134 "RANLIB=$${RANLIB}" \
26135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26136 distclean) \
26137 || exit 1
26139 @endif libdecnumber
26141 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
26142 maybe-maintainer-clean-libdecnumber:
26143 @if libdecnumber
26144 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
26146 maintainer-clean-libdecnumber:
26147 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26148 r=`${PWD_COMMAND}`; export r; \
26149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26150 $(HOST_EXPORTS) \
26151 for flag in $(EXTRA_HOST_FLAGS) ; do \
26152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26153 done; \
26154 echo "Doing maintainer-clean in libdecnumber"; \
26155 (cd $(HOST_SUBDIR)/libdecnumber && \
26156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26158 "RANLIB=$${RANLIB}" \
26159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26160 maintainer-clean) \
26161 || exit 1
26163 @endif libdecnumber
26167 .PHONY: configure-libgui maybe-configure-libgui
26168 maybe-configure-libgui:
26169 @if gcc-bootstrap
26170 configure-libgui: stage_current
26171 @endif gcc-bootstrap
26172 @if libgui
26173 maybe-configure-libgui: configure-libgui
26174 configure-libgui:
26175 @: $(MAKE); $(unstage)
26176 @r=`${PWD_COMMAND}`; export r; \
26177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26178 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
26179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
26180 $(HOST_EXPORTS) \
26181 echo Configuring in $(HOST_SUBDIR)/libgui; \
26182 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
26183 case $(srcdir) in \
26184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26185 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
26186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26187 esac; \
26188 module_srcdir=libgui; \
26189 $(SHELL) \
26190 $$s/$$module_srcdir/configure \
26191 --srcdir=$${topdir}/$$module_srcdir \
26192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26193 --target=${target_alias} \
26194 || exit 1
26195 @endif libgui
26201 .PHONY: all-libgui maybe-all-libgui
26202 maybe-all-libgui:
26203 @if gcc-bootstrap
26204 all-libgui: stage_current
26205 @endif gcc-bootstrap
26206 @if libgui
26207 TARGET-libgui=all
26208 maybe-all-libgui: all-libgui
26209 all-libgui: configure-libgui
26210 @: $(MAKE); $(unstage)
26211 @r=`${PWD_COMMAND}`; export r; \
26212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26213 $(HOST_EXPORTS) \
26214 (cd $(HOST_SUBDIR)/libgui && \
26215 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26216 $(TARGET-libgui))
26217 @endif libgui
26222 .PHONY: check-libgui maybe-check-libgui
26223 maybe-check-libgui:
26224 @if libgui
26225 maybe-check-libgui: check-libgui
26227 check-libgui:
26228 @: $(MAKE); $(unstage)
26229 @r=`${PWD_COMMAND}`; export r; \
26230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26231 $(HOST_EXPORTS) \
26232 (cd $(HOST_SUBDIR)/libgui && \
26233 $(MAKE) $(FLAGS_TO_PASS) check)
26235 @endif libgui
26237 .PHONY: install-libgui maybe-install-libgui
26238 maybe-install-libgui:
26239 @if libgui
26240 maybe-install-libgui: install-libgui
26242 install-libgui: installdirs
26243 @: $(MAKE); $(unstage)
26244 @r=`${PWD_COMMAND}`; export r; \
26245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26246 $(HOST_EXPORTS) \
26247 (cd $(HOST_SUBDIR)/libgui && \
26248 $(MAKE) $(FLAGS_TO_PASS) install)
26250 @endif libgui
26252 .PHONY: install-strip-libgui maybe-install-strip-libgui
26253 maybe-install-strip-libgui:
26254 @if libgui
26255 maybe-install-strip-libgui: install-strip-libgui
26257 install-strip-libgui: installdirs
26258 @: $(MAKE); $(unstage)
26259 @r=`${PWD_COMMAND}`; export r; \
26260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26261 $(HOST_EXPORTS) \
26262 (cd $(HOST_SUBDIR)/libgui && \
26263 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26265 @endif libgui
26267 # Other targets (info, dvi, pdf, etc.)
26269 .PHONY: maybe-info-libgui info-libgui
26270 maybe-info-libgui:
26271 @if libgui
26272 maybe-info-libgui: info-libgui
26274 info-libgui: \
26275 configure-libgui
26276 @: $(MAKE); $(unstage)
26277 @[ -f ./libgui/Makefile ] || exit 0; \
26278 r=`${PWD_COMMAND}`; export r; \
26279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26280 $(HOST_EXPORTS) \
26281 for flag in $(EXTRA_HOST_FLAGS) ; do \
26282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26283 done; \
26284 echo "Doing info in libgui"; \
26285 (cd $(HOST_SUBDIR)/libgui && \
26286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26288 "RANLIB=$${RANLIB}" \
26289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26290 info) \
26291 || exit 1
26293 @endif libgui
26295 .PHONY: maybe-dvi-libgui dvi-libgui
26296 maybe-dvi-libgui:
26297 @if libgui
26298 maybe-dvi-libgui: dvi-libgui
26300 dvi-libgui: \
26301 configure-libgui
26302 @: $(MAKE); $(unstage)
26303 @[ -f ./libgui/Makefile ] || exit 0; \
26304 r=`${PWD_COMMAND}`; export r; \
26305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26306 $(HOST_EXPORTS) \
26307 for flag in $(EXTRA_HOST_FLAGS) ; do \
26308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26309 done; \
26310 echo "Doing dvi in libgui"; \
26311 (cd $(HOST_SUBDIR)/libgui && \
26312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26314 "RANLIB=$${RANLIB}" \
26315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26316 dvi) \
26317 || exit 1
26319 @endif libgui
26321 .PHONY: maybe-pdf-libgui pdf-libgui
26322 maybe-pdf-libgui:
26323 @if libgui
26324 maybe-pdf-libgui: pdf-libgui
26326 pdf-libgui: \
26327 configure-libgui
26328 @: $(MAKE); $(unstage)
26329 @[ -f ./libgui/Makefile ] || exit 0; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 $(HOST_EXPORTS) \
26333 for flag in $(EXTRA_HOST_FLAGS) ; do \
26334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26335 done; \
26336 echo "Doing pdf in libgui"; \
26337 (cd $(HOST_SUBDIR)/libgui && \
26338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26340 "RANLIB=$${RANLIB}" \
26341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26342 pdf) \
26343 || exit 1
26345 @endif libgui
26347 .PHONY: maybe-html-libgui html-libgui
26348 maybe-html-libgui:
26349 @if libgui
26350 maybe-html-libgui: html-libgui
26352 html-libgui: \
26353 configure-libgui
26354 @: $(MAKE); $(unstage)
26355 @[ -f ./libgui/Makefile ] || exit 0; \
26356 r=`${PWD_COMMAND}`; export r; \
26357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(HOST_EXPORTS) \
26359 for flag in $(EXTRA_HOST_FLAGS) ; do \
26360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26361 done; \
26362 echo "Doing html in libgui"; \
26363 (cd $(HOST_SUBDIR)/libgui && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26368 html) \
26369 || exit 1
26371 @endif libgui
26373 .PHONY: maybe-TAGS-libgui TAGS-libgui
26374 maybe-TAGS-libgui:
26375 @if libgui
26376 maybe-TAGS-libgui: TAGS-libgui
26378 TAGS-libgui: \
26379 configure-libgui
26380 @: $(MAKE); $(unstage)
26381 @[ -f ./libgui/Makefile ] || exit 0; \
26382 r=`${PWD_COMMAND}`; export r; \
26383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26384 $(HOST_EXPORTS) \
26385 for flag in $(EXTRA_HOST_FLAGS) ; do \
26386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26387 done; \
26388 echo "Doing TAGS in libgui"; \
26389 (cd $(HOST_SUBDIR)/libgui && \
26390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26392 "RANLIB=$${RANLIB}" \
26393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26394 TAGS) \
26395 || exit 1
26397 @endif libgui
26399 .PHONY: maybe-install-info-libgui install-info-libgui
26400 maybe-install-info-libgui:
26401 @if libgui
26402 maybe-install-info-libgui: install-info-libgui
26404 install-info-libgui: \
26405 configure-libgui \
26406 info-libgui
26407 @: $(MAKE); $(unstage)
26408 @[ -f ./libgui/Makefile ] || exit 0; \
26409 r=`${PWD_COMMAND}`; export r; \
26410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26411 $(HOST_EXPORTS) \
26412 for flag in $(EXTRA_HOST_FLAGS) ; do \
26413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26414 done; \
26415 echo "Doing install-info in libgui"; \
26416 (cd $(HOST_SUBDIR)/libgui && \
26417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26419 "RANLIB=$${RANLIB}" \
26420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26421 install-info) \
26422 || exit 1
26424 @endif libgui
26426 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26427 maybe-install-pdf-libgui:
26428 @if libgui
26429 maybe-install-pdf-libgui: install-pdf-libgui
26431 install-pdf-libgui: \
26432 configure-libgui \
26433 pdf-libgui
26434 @: $(MAKE); $(unstage)
26435 @[ -f ./libgui/Makefile ] || exit 0; \
26436 r=`${PWD_COMMAND}`; export r; \
26437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26438 $(HOST_EXPORTS) \
26439 for flag in $(EXTRA_HOST_FLAGS) ; do \
26440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26441 done; \
26442 echo "Doing install-pdf in libgui"; \
26443 (cd $(HOST_SUBDIR)/libgui && \
26444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26446 "RANLIB=$${RANLIB}" \
26447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26448 install-pdf) \
26449 || exit 1
26451 @endif libgui
26453 .PHONY: maybe-install-html-libgui install-html-libgui
26454 maybe-install-html-libgui:
26455 @if libgui
26456 maybe-install-html-libgui: install-html-libgui
26458 install-html-libgui: \
26459 configure-libgui \
26460 html-libgui
26461 @: $(MAKE); $(unstage)
26462 @[ -f ./libgui/Makefile ] || exit 0; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(HOST_EXPORTS) \
26466 for flag in $(EXTRA_HOST_FLAGS) ; do \
26467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26468 done; \
26469 echo "Doing install-html in libgui"; \
26470 (cd $(HOST_SUBDIR)/libgui && \
26471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26473 "RANLIB=$${RANLIB}" \
26474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26475 install-html) \
26476 || exit 1
26478 @endif libgui
26480 .PHONY: maybe-installcheck-libgui installcheck-libgui
26481 maybe-installcheck-libgui:
26482 @if libgui
26483 maybe-installcheck-libgui: installcheck-libgui
26485 installcheck-libgui: \
26486 configure-libgui
26487 @: $(MAKE); $(unstage)
26488 @[ -f ./libgui/Makefile ] || exit 0; \
26489 r=`${PWD_COMMAND}`; export r; \
26490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26491 $(HOST_EXPORTS) \
26492 for flag in $(EXTRA_HOST_FLAGS) ; do \
26493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26494 done; \
26495 echo "Doing installcheck in libgui"; \
26496 (cd $(HOST_SUBDIR)/libgui && \
26497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26499 "RANLIB=$${RANLIB}" \
26500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26501 installcheck) \
26502 || exit 1
26504 @endif libgui
26506 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26507 maybe-mostlyclean-libgui:
26508 @if libgui
26509 maybe-mostlyclean-libgui: mostlyclean-libgui
26511 mostlyclean-libgui:
26512 @: $(MAKE); $(unstage)
26513 @[ -f ./libgui/Makefile ] || exit 0; \
26514 r=`${PWD_COMMAND}`; export r; \
26515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26516 $(HOST_EXPORTS) \
26517 for flag in $(EXTRA_HOST_FLAGS) ; do \
26518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26519 done; \
26520 echo "Doing mostlyclean in libgui"; \
26521 (cd $(HOST_SUBDIR)/libgui && \
26522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26524 "RANLIB=$${RANLIB}" \
26525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26526 mostlyclean) \
26527 || exit 1
26529 @endif libgui
26531 .PHONY: maybe-clean-libgui clean-libgui
26532 maybe-clean-libgui:
26533 @if libgui
26534 maybe-clean-libgui: clean-libgui
26536 clean-libgui:
26537 @: $(MAKE); $(unstage)
26538 @[ -f ./libgui/Makefile ] || exit 0; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26541 $(HOST_EXPORTS) \
26542 for flag in $(EXTRA_HOST_FLAGS) ; do \
26543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26544 done; \
26545 echo "Doing clean in libgui"; \
26546 (cd $(HOST_SUBDIR)/libgui && \
26547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26549 "RANLIB=$${RANLIB}" \
26550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26551 clean) \
26552 || exit 1
26554 @endif libgui
26556 .PHONY: maybe-distclean-libgui distclean-libgui
26557 maybe-distclean-libgui:
26558 @if libgui
26559 maybe-distclean-libgui: distclean-libgui
26561 distclean-libgui:
26562 @: $(MAKE); $(unstage)
26563 @[ -f ./libgui/Makefile ] || exit 0; \
26564 r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566 $(HOST_EXPORTS) \
26567 for flag in $(EXTRA_HOST_FLAGS) ; do \
26568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26569 done; \
26570 echo "Doing distclean in libgui"; \
26571 (cd $(HOST_SUBDIR)/libgui && \
26572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26574 "RANLIB=$${RANLIB}" \
26575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26576 distclean) \
26577 || exit 1
26579 @endif libgui
26581 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26582 maybe-maintainer-clean-libgui:
26583 @if libgui
26584 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26586 maintainer-clean-libgui:
26587 @: $(MAKE); $(unstage)
26588 @[ -f ./libgui/Makefile ] || exit 0; \
26589 r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591 $(HOST_EXPORTS) \
26592 for flag in $(EXTRA_HOST_FLAGS) ; do \
26593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26594 done; \
26595 echo "Doing maintainer-clean in libgui"; \
26596 (cd $(HOST_SUBDIR)/libgui && \
26597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26599 "RANLIB=$${RANLIB}" \
26600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26601 maintainer-clean) \
26602 || exit 1
26604 @endif libgui
26608 .PHONY: configure-libiberty maybe-configure-libiberty
26609 maybe-configure-libiberty:
26610 @if gcc-bootstrap
26611 configure-libiberty: stage_current
26612 @endif gcc-bootstrap
26613 @if libiberty
26614 maybe-configure-libiberty: configure-libiberty
26615 configure-libiberty:
26616 @r=`${PWD_COMMAND}`; export r; \
26617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26618 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26620 $(HOST_EXPORTS) \
26621 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26622 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26623 case $(srcdir) in \
26624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26625 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26627 esac; \
26628 module_srcdir=libiberty; \
26629 $(SHELL) \
26630 $$s/$$module_srcdir/configure \
26631 --srcdir=$${topdir}/$$module_srcdir \
26632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26633 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26634 || exit 1
26635 @endif libiberty
26639 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26640 maybe-configure-stage1-libiberty:
26641 @if libiberty-bootstrap
26642 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26643 configure-stage1-libiberty:
26644 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26645 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26646 @r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26648 TFLAGS="$(STAGE1_TFLAGS)"; \
26649 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26650 $(HOST_EXPORTS) \
26651 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26652 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26653 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26654 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26656 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26657 case $(srcdir) in \
26658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26659 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26661 esac; \
26662 module_srcdir=libiberty; \
26663 $(SHELL) $$s/$$module_srcdir/configure \
26664 --srcdir=$${topdir}/$$module_srcdir \
26665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26666 --target=${target_alias} \
26668 $(STAGE1_CONFIGURE_FLAGS) \
26669 @extra_host_libiberty_configure_flags@
26670 @endif libiberty-bootstrap
26672 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26673 maybe-configure-stage2-libiberty:
26674 @if libiberty-bootstrap
26675 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26676 configure-stage2-libiberty:
26677 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26679 @r=`${PWD_COMMAND}`; export r; \
26680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26681 TFLAGS="$(STAGE2_TFLAGS)"; \
26682 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26683 $(HOST_EXPORTS) \
26684 $(POSTSTAGE1_HOST_EXPORTS) \
26685 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26686 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26687 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26688 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26690 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26691 case $(srcdir) in \
26692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26693 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26695 esac; \
26696 module_srcdir=libiberty; \
26697 $(SHELL) $$s/$$module_srcdir/configure \
26698 --srcdir=$${topdir}/$$module_srcdir \
26699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26700 --target=${target_alias} \
26701 --with-build-libsubdir=$(HOST_SUBDIR) \
26702 $(STAGE2_CONFIGURE_FLAGS) \
26703 @extra_host_libiberty_configure_flags@
26704 @endif libiberty-bootstrap
26706 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26707 maybe-configure-stage3-libiberty:
26708 @if libiberty-bootstrap
26709 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26710 configure-stage3-libiberty:
26711 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26713 @r=`${PWD_COMMAND}`; export r; \
26714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26715 TFLAGS="$(STAGE3_TFLAGS)"; \
26716 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26717 $(HOST_EXPORTS) \
26718 $(POSTSTAGE1_HOST_EXPORTS) \
26719 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26720 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26721 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26722 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26724 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26725 case $(srcdir) in \
26726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26727 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26729 esac; \
26730 module_srcdir=libiberty; \
26731 $(SHELL) $$s/$$module_srcdir/configure \
26732 --srcdir=$${topdir}/$$module_srcdir \
26733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26734 --target=${target_alias} \
26735 --with-build-libsubdir=$(HOST_SUBDIR) \
26736 $(STAGE3_CONFIGURE_FLAGS) \
26737 @extra_host_libiberty_configure_flags@
26738 @endif libiberty-bootstrap
26740 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26741 maybe-configure-stage4-libiberty:
26742 @if libiberty-bootstrap
26743 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26744 configure-stage4-libiberty:
26745 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26747 @r=`${PWD_COMMAND}`; export r; \
26748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26749 TFLAGS="$(STAGE4_TFLAGS)"; \
26750 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26751 $(HOST_EXPORTS) \
26752 $(POSTSTAGE1_HOST_EXPORTS) \
26753 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26754 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26755 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26756 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26758 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26759 case $(srcdir) in \
26760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26761 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26763 esac; \
26764 module_srcdir=libiberty; \
26765 $(SHELL) $$s/$$module_srcdir/configure \
26766 --srcdir=$${topdir}/$$module_srcdir \
26767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26768 --target=${target_alias} \
26769 --with-build-libsubdir=$(HOST_SUBDIR) \
26770 $(STAGE4_CONFIGURE_FLAGS) \
26771 @extra_host_libiberty_configure_flags@
26772 @endif libiberty-bootstrap
26774 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26775 maybe-configure-stageprofile-libiberty:
26776 @if libiberty-bootstrap
26777 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26778 configure-stageprofile-libiberty:
26779 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26781 @r=`${PWD_COMMAND}`; export r; \
26782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26783 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26784 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26785 $(HOST_EXPORTS) \
26786 $(POSTSTAGE1_HOST_EXPORTS) \
26787 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26788 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26789 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26790 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26792 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26793 case $(srcdir) in \
26794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26795 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26797 esac; \
26798 module_srcdir=libiberty; \
26799 $(SHELL) $$s/$$module_srcdir/configure \
26800 --srcdir=$${topdir}/$$module_srcdir \
26801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26802 --target=${target_alias} \
26803 --with-build-libsubdir=$(HOST_SUBDIR) \
26804 $(STAGEprofile_CONFIGURE_FLAGS) \
26805 @extra_host_libiberty_configure_flags@
26806 @endif libiberty-bootstrap
26808 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26809 maybe-configure-stagetrain-libiberty:
26810 @if libiberty-bootstrap
26811 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26812 configure-stagetrain-libiberty:
26813 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26815 @r=`${PWD_COMMAND}`; export r; \
26816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26817 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26818 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26819 $(HOST_EXPORTS) \
26820 $(POSTSTAGE1_HOST_EXPORTS) \
26821 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26822 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26823 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26824 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26826 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26827 case $(srcdir) in \
26828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26829 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26831 esac; \
26832 module_srcdir=libiberty; \
26833 $(SHELL) $$s/$$module_srcdir/configure \
26834 --srcdir=$${topdir}/$$module_srcdir \
26835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26836 --target=${target_alias} \
26837 --with-build-libsubdir=$(HOST_SUBDIR) \
26838 $(STAGEtrain_CONFIGURE_FLAGS) \
26839 @extra_host_libiberty_configure_flags@
26840 @endif libiberty-bootstrap
26842 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26843 maybe-configure-stagefeedback-libiberty:
26844 @if libiberty-bootstrap
26845 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26846 configure-stagefeedback-libiberty:
26847 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26849 @r=`${PWD_COMMAND}`; export r; \
26850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26851 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26852 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26853 $(HOST_EXPORTS) \
26854 $(POSTSTAGE1_HOST_EXPORTS) \
26855 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26856 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26857 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26858 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26860 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26861 case $(srcdir) in \
26862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26863 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26865 esac; \
26866 module_srcdir=libiberty; \
26867 $(SHELL) $$s/$$module_srcdir/configure \
26868 --srcdir=$${topdir}/$$module_srcdir \
26869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26870 --target=${target_alias} \
26871 --with-build-libsubdir=$(HOST_SUBDIR) \
26872 $(STAGEfeedback_CONFIGURE_FLAGS) \
26873 @extra_host_libiberty_configure_flags@
26874 @endif libiberty-bootstrap
26876 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26877 maybe-configure-stageautoprofile-libiberty:
26878 @if libiberty-bootstrap
26879 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26880 configure-stageautoprofile-libiberty:
26881 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26883 @r=`${PWD_COMMAND}`; export r; \
26884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26885 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26886 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26887 $(HOST_EXPORTS) \
26888 $(POSTSTAGE1_HOST_EXPORTS) \
26889 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26890 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26891 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26892 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26894 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26895 case $(srcdir) in \
26896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26897 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26899 esac; \
26900 module_srcdir=libiberty; \
26901 $(SHELL) $$s/$$module_srcdir/configure \
26902 --srcdir=$${topdir}/$$module_srcdir \
26903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26904 --target=${target_alias} \
26905 --with-build-libsubdir=$(HOST_SUBDIR) \
26906 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26907 @extra_host_libiberty_configure_flags@
26908 @endif libiberty-bootstrap
26910 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26911 maybe-configure-stageautofeedback-libiberty:
26912 @if libiberty-bootstrap
26913 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26914 configure-stageautofeedback-libiberty:
26915 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26917 @r=`${PWD_COMMAND}`; export r; \
26918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26919 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26920 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26921 $(HOST_EXPORTS) \
26922 $(POSTSTAGE1_HOST_EXPORTS) \
26923 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26924 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26925 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26926 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26928 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26929 case $(srcdir) in \
26930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26931 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26933 esac; \
26934 module_srcdir=libiberty; \
26935 $(SHELL) $$s/$$module_srcdir/configure \
26936 --srcdir=$${topdir}/$$module_srcdir \
26937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26938 --target=${target_alias} \
26939 --with-build-libsubdir=$(HOST_SUBDIR) \
26940 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26941 @extra_host_libiberty_configure_flags@
26942 @endif libiberty-bootstrap
26948 .PHONY: all-libiberty maybe-all-libiberty
26949 maybe-all-libiberty:
26950 @if gcc-bootstrap
26951 all-libiberty: stage_current
26952 @endif gcc-bootstrap
26953 @if libiberty
26954 TARGET-libiberty=all
26955 maybe-all-libiberty: all-libiberty
26956 all-libiberty: configure-libiberty
26957 @r=`${PWD_COMMAND}`; export r; \
26958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26959 $(HOST_EXPORTS) \
26960 (cd $(HOST_SUBDIR)/libiberty && \
26961 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26962 $(TARGET-libiberty))
26963 @endif libiberty
26967 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26968 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26969 maybe-all-stage1-libiberty:
26970 maybe-clean-stage1-libiberty:
26971 @if libiberty-bootstrap
26972 maybe-all-stage1-libiberty: all-stage1-libiberty
26973 all-stage1: all-stage1-libiberty
26974 TARGET-stage1-libiberty = $(TARGET-libiberty)
26975 all-stage1-libiberty: configure-stage1-libiberty
26976 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26977 @r=`${PWD_COMMAND}`; export r; \
26978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26979 TFLAGS="$(STAGE1_TFLAGS)"; \
26980 $(HOST_EXPORTS) \
26981 cd $(HOST_SUBDIR)/libiberty && \
26983 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26984 CFLAGS="$(STAGE1_CFLAGS)" \
26985 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
26986 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26987 LIBCFLAGS="$(LIBCFLAGS)" \
26988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26991 $(EXTRA_HOST_FLAGS) \
26992 $(STAGE1_FLAGS_TO_PASS) \
26993 TFLAGS="$(STAGE1_TFLAGS)" \
26994 $(TARGET-stage1-libiberty)
26996 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26997 clean-stage1: clean-stage1-libiberty
26998 clean-stage1-libiberty:
26999 @if [ $(current_stage) = stage1 ]; then \
27000 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27001 else \
27002 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
27003 $(MAKE) stage1-start; \
27004 fi; \
27005 cd $(HOST_SUBDIR)/libiberty && \
27006 $(MAKE) $(EXTRA_HOST_FLAGS) \
27007 $(STAGE1_FLAGS_TO_PASS) clean
27008 @endif libiberty-bootstrap
27011 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
27012 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
27013 maybe-all-stage2-libiberty:
27014 maybe-clean-stage2-libiberty:
27015 @if libiberty-bootstrap
27016 maybe-all-stage2-libiberty: all-stage2-libiberty
27017 all-stage2: all-stage2-libiberty
27018 TARGET-stage2-libiberty = $(TARGET-libiberty)
27019 all-stage2-libiberty: configure-stage2-libiberty
27020 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27021 @r=`${PWD_COMMAND}`; export r; \
27022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27023 TFLAGS="$(STAGE2_TFLAGS)"; \
27024 $(HOST_EXPORTS) \
27025 $(POSTSTAGE1_HOST_EXPORTS) \
27026 cd $(HOST_SUBDIR)/libiberty && \
27028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27029 CFLAGS="$(STAGE2_CFLAGS)" \
27030 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
27031 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27032 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27036 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27037 TFLAGS="$(STAGE2_TFLAGS)" \
27038 $(TARGET-stage2-libiberty)
27040 maybe-clean-stage2-libiberty: clean-stage2-libiberty
27041 clean-stage2: clean-stage2-libiberty
27042 clean-stage2-libiberty:
27043 @if [ $(current_stage) = stage2 ]; then \
27044 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27045 else \
27046 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
27047 $(MAKE) stage2-start; \
27048 fi; \
27049 cd $(HOST_SUBDIR)/libiberty && \
27050 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27051 @endif libiberty-bootstrap
27054 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
27055 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
27056 maybe-all-stage3-libiberty:
27057 maybe-clean-stage3-libiberty:
27058 @if libiberty-bootstrap
27059 maybe-all-stage3-libiberty: all-stage3-libiberty
27060 all-stage3: all-stage3-libiberty
27061 TARGET-stage3-libiberty = $(TARGET-libiberty)
27062 all-stage3-libiberty: configure-stage3-libiberty
27063 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27064 @r=`${PWD_COMMAND}`; export r; \
27065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27066 TFLAGS="$(STAGE3_TFLAGS)"; \
27067 $(HOST_EXPORTS) \
27068 $(POSTSTAGE1_HOST_EXPORTS) \
27069 cd $(HOST_SUBDIR)/libiberty && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27072 CFLAGS="$(STAGE3_CFLAGS)" \
27073 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
27074 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27075 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27080 TFLAGS="$(STAGE3_TFLAGS)" \
27081 $(TARGET-stage3-libiberty)
27083 maybe-clean-stage3-libiberty: clean-stage3-libiberty
27084 clean-stage3: clean-stage3-libiberty
27085 clean-stage3-libiberty:
27086 @if [ $(current_stage) = stage3 ]; then \
27087 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27088 else \
27089 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
27090 $(MAKE) stage3-start; \
27091 fi; \
27092 cd $(HOST_SUBDIR)/libiberty && \
27093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27094 @endif libiberty-bootstrap
27097 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
27098 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
27099 maybe-all-stage4-libiberty:
27100 maybe-clean-stage4-libiberty:
27101 @if libiberty-bootstrap
27102 maybe-all-stage4-libiberty: all-stage4-libiberty
27103 all-stage4: all-stage4-libiberty
27104 TARGET-stage4-libiberty = $(TARGET-libiberty)
27105 all-stage4-libiberty: configure-stage4-libiberty
27106 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27107 @r=`${PWD_COMMAND}`; export r; \
27108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27109 TFLAGS="$(STAGE4_TFLAGS)"; \
27110 $(HOST_EXPORTS) \
27111 $(POSTSTAGE1_HOST_EXPORTS) \
27112 cd $(HOST_SUBDIR)/libiberty && \
27114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27115 CFLAGS="$(STAGE4_CFLAGS)" \
27116 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
27117 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27118 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27123 TFLAGS="$(STAGE4_TFLAGS)" \
27124 $(TARGET-stage4-libiberty)
27126 maybe-clean-stage4-libiberty: clean-stage4-libiberty
27127 clean-stage4: clean-stage4-libiberty
27128 clean-stage4-libiberty:
27129 @if [ $(current_stage) = stage4 ]; then \
27130 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27131 else \
27132 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
27133 $(MAKE) stage4-start; \
27134 fi; \
27135 cd $(HOST_SUBDIR)/libiberty && \
27136 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27137 @endif libiberty-bootstrap
27140 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
27141 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
27142 maybe-all-stageprofile-libiberty:
27143 maybe-clean-stageprofile-libiberty:
27144 @if libiberty-bootstrap
27145 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
27146 all-stageprofile: all-stageprofile-libiberty
27147 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
27148 all-stageprofile-libiberty: configure-stageprofile-libiberty
27149 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27150 @r=`${PWD_COMMAND}`; export r; \
27151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27152 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27153 $(HOST_EXPORTS) \
27154 $(POSTSTAGE1_HOST_EXPORTS) \
27155 cd $(HOST_SUBDIR)/libiberty && \
27157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27158 CFLAGS="$(STAGEprofile_CFLAGS)" \
27159 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
27160 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27161 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27165 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27166 TFLAGS="$(STAGEprofile_TFLAGS)" \
27167 $(TARGET-stageprofile-libiberty)
27169 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
27170 clean-stageprofile: clean-stageprofile-libiberty
27171 clean-stageprofile-libiberty:
27172 @if [ $(current_stage) = stageprofile ]; then \
27173 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27174 else \
27175 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
27176 $(MAKE) stageprofile-start; \
27177 fi; \
27178 cd $(HOST_SUBDIR)/libiberty && \
27179 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27180 @endif libiberty-bootstrap
27183 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
27184 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
27185 maybe-all-stagetrain-libiberty:
27186 maybe-clean-stagetrain-libiberty:
27187 @if libiberty-bootstrap
27188 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
27189 all-stagetrain: all-stagetrain-libiberty
27190 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
27191 all-stagetrain-libiberty: configure-stagetrain-libiberty
27192 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27193 @r=`${PWD_COMMAND}`; export r; \
27194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27195 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27196 $(HOST_EXPORTS) \
27197 $(POSTSTAGE1_HOST_EXPORTS) \
27198 cd $(HOST_SUBDIR)/libiberty && \
27200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27201 CFLAGS="$(STAGEtrain_CFLAGS)" \
27202 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
27203 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
27204 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
27205 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27206 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27207 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27208 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27209 TFLAGS="$(STAGEtrain_TFLAGS)" \
27210 $(TARGET-stagetrain-libiberty)
27212 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
27213 clean-stagetrain: clean-stagetrain-libiberty
27214 clean-stagetrain-libiberty:
27215 @if [ $(current_stage) = stagetrain ]; then \
27216 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27217 else \
27218 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
27219 $(MAKE) stagetrain-start; \
27220 fi; \
27221 cd $(HOST_SUBDIR)/libiberty && \
27222 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27223 @endif libiberty-bootstrap
27226 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
27227 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
27228 maybe-all-stagefeedback-libiberty:
27229 maybe-clean-stagefeedback-libiberty:
27230 @if libiberty-bootstrap
27231 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
27232 all-stagefeedback: all-stagefeedback-libiberty
27233 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
27234 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
27235 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27236 @r=`${PWD_COMMAND}`; export r; \
27237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27238 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27239 $(HOST_EXPORTS) \
27240 $(POSTSTAGE1_HOST_EXPORTS) \
27241 cd $(HOST_SUBDIR)/libiberty && \
27243 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27244 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27245 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
27246 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27247 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27251 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27252 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27253 $(TARGET-stagefeedback-libiberty)
27255 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
27256 clean-stagefeedback: clean-stagefeedback-libiberty
27257 clean-stagefeedback-libiberty:
27258 @if [ $(current_stage) = stagefeedback ]; then \
27259 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27260 else \
27261 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
27262 $(MAKE) stagefeedback-start; \
27263 fi; \
27264 cd $(HOST_SUBDIR)/libiberty && \
27265 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27266 @endif libiberty-bootstrap
27269 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
27270 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
27271 maybe-all-stageautoprofile-libiberty:
27272 maybe-clean-stageautoprofile-libiberty:
27273 @if libiberty-bootstrap
27274 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
27275 all-stageautoprofile: all-stageautoprofile-libiberty
27276 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27277 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27278 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27279 @r=`${PWD_COMMAND}`; export r; \
27280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27282 $(HOST_EXPORTS) \
27283 $(POSTSTAGE1_HOST_EXPORTS) \
27284 cd $(HOST_SUBDIR)/libiberty && \
27285 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27287 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27288 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
27289 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27290 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27295 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27296 $(TARGET-stageautoprofile-libiberty)
27298 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27299 clean-stageautoprofile: clean-stageautoprofile-libiberty
27300 clean-stageautoprofile-libiberty:
27301 @if [ $(current_stage) = stageautoprofile ]; then \
27302 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27303 else \
27304 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27305 $(MAKE) stageautoprofile-start; \
27306 fi; \
27307 cd $(HOST_SUBDIR)/libiberty && \
27308 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27309 @endif libiberty-bootstrap
27312 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27313 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27314 maybe-all-stageautofeedback-libiberty:
27315 maybe-clean-stageautofeedback-libiberty:
27316 @if libiberty-bootstrap
27317 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27318 all-stageautofeedback: all-stageautofeedback-libiberty
27319 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27320 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27321 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27322 @r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27324 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27325 $(HOST_EXPORTS) \
27326 $(POSTSTAGE1_HOST_EXPORTS) \
27327 cd $(HOST_SUBDIR)/libiberty && \
27329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27330 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27331 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
27332 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27333 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27337 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27338 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27339 $(TARGET-stageautofeedback-libiberty)
27341 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27342 clean-stageautofeedback: clean-stageautofeedback-libiberty
27343 clean-stageautofeedback-libiberty:
27344 @if [ $(current_stage) = stageautofeedback ]; then \
27345 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27346 else \
27347 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27348 $(MAKE) stageautofeedback-start; \
27349 fi; \
27350 cd $(HOST_SUBDIR)/libiberty && \
27351 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27352 @endif libiberty-bootstrap
27358 .PHONY: check-libiberty maybe-check-libiberty
27359 maybe-check-libiberty:
27360 @if libiberty
27361 maybe-check-libiberty: check-libiberty
27363 check-libiberty:
27364 @: $(MAKE); $(unstage)
27365 @r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27368 (cd $(HOST_SUBDIR)/libiberty && \
27369 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27371 @endif libiberty
27373 .PHONY: install-libiberty maybe-install-libiberty
27374 maybe-install-libiberty:
27375 @if libiberty
27376 maybe-install-libiberty: install-libiberty
27378 install-libiberty: installdirs
27379 @: $(MAKE); $(unstage)
27380 @r=`${PWD_COMMAND}`; export r; \
27381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27382 $(HOST_EXPORTS) \
27383 (cd $(HOST_SUBDIR)/libiberty && \
27384 $(MAKE) $(FLAGS_TO_PASS) install)
27386 @endif libiberty
27388 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27389 maybe-install-strip-libiberty:
27390 @if libiberty
27391 maybe-install-strip-libiberty: install-strip-libiberty
27393 install-strip-libiberty: installdirs
27394 @: $(MAKE); $(unstage)
27395 @r=`${PWD_COMMAND}`; export r; \
27396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27397 $(HOST_EXPORTS) \
27398 (cd $(HOST_SUBDIR)/libiberty && \
27399 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27401 @endif libiberty
27403 # Other targets (info, dvi, pdf, etc.)
27405 .PHONY: maybe-info-libiberty info-libiberty
27406 maybe-info-libiberty:
27407 @if libiberty
27408 maybe-info-libiberty: info-libiberty
27410 info-libiberty: \
27411 configure-libiberty
27412 @[ -f ./libiberty/Makefile ] || exit 0; \
27413 r=`${PWD_COMMAND}`; export r; \
27414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27415 $(HOST_EXPORTS) \
27416 for flag in $(EXTRA_HOST_FLAGS) ; do \
27417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27418 done; \
27419 echo "Doing info in libiberty"; \
27420 (cd $(HOST_SUBDIR)/libiberty && \
27421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27423 "RANLIB=$${RANLIB}" \
27424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27425 info) \
27426 || exit 1
27428 @endif libiberty
27430 .PHONY: maybe-dvi-libiberty dvi-libiberty
27431 maybe-dvi-libiberty:
27432 @if libiberty
27433 maybe-dvi-libiberty: dvi-libiberty
27435 dvi-libiberty: \
27436 configure-libiberty
27437 @[ -f ./libiberty/Makefile ] || exit 0; \
27438 r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 $(HOST_EXPORTS) \
27441 for flag in $(EXTRA_HOST_FLAGS) ; do \
27442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27443 done; \
27444 echo "Doing dvi in libiberty"; \
27445 (cd $(HOST_SUBDIR)/libiberty && \
27446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27448 "RANLIB=$${RANLIB}" \
27449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27450 dvi) \
27451 || exit 1
27453 @endif libiberty
27455 .PHONY: maybe-pdf-libiberty pdf-libiberty
27456 maybe-pdf-libiberty:
27457 @if libiberty
27458 maybe-pdf-libiberty: pdf-libiberty
27460 pdf-libiberty: \
27461 configure-libiberty
27462 @[ -f ./libiberty/Makefile ] || exit 0; \
27463 r=`${PWD_COMMAND}`; export r; \
27464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465 $(HOST_EXPORTS) \
27466 for flag in $(EXTRA_HOST_FLAGS) ; do \
27467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27468 done; \
27469 echo "Doing pdf in libiberty"; \
27470 (cd $(HOST_SUBDIR)/libiberty && \
27471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27473 "RANLIB=$${RANLIB}" \
27474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27475 pdf) \
27476 || exit 1
27478 @endif libiberty
27480 .PHONY: maybe-html-libiberty html-libiberty
27481 maybe-html-libiberty:
27482 @if libiberty
27483 maybe-html-libiberty: html-libiberty
27485 html-libiberty: \
27486 configure-libiberty
27487 @[ -f ./libiberty/Makefile ] || exit 0; \
27488 r=`${PWD_COMMAND}`; export r; \
27489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27490 $(HOST_EXPORTS) \
27491 for flag in $(EXTRA_HOST_FLAGS) ; do \
27492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27493 done; \
27494 echo "Doing html in libiberty"; \
27495 (cd $(HOST_SUBDIR)/libiberty && \
27496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27498 "RANLIB=$${RANLIB}" \
27499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27500 html) \
27501 || exit 1
27503 @endif libiberty
27505 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27506 maybe-TAGS-libiberty:
27507 @if libiberty
27508 maybe-TAGS-libiberty: TAGS-libiberty
27510 TAGS-libiberty: \
27511 configure-libiberty
27512 @[ -f ./libiberty/Makefile ] || exit 0; \
27513 r=`${PWD_COMMAND}`; export r; \
27514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27515 $(HOST_EXPORTS) \
27516 for flag in $(EXTRA_HOST_FLAGS) ; do \
27517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27518 done; \
27519 echo "Doing TAGS in libiberty"; \
27520 (cd $(HOST_SUBDIR)/libiberty && \
27521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27523 "RANLIB=$${RANLIB}" \
27524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27525 TAGS) \
27526 || exit 1
27528 @endif libiberty
27530 .PHONY: maybe-install-info-libiberty install-info-libiberty
27531 maybe-install-info-libiberty:
27532 @if libiberty
27533 maybe-install-info-libiberty: install-info-libiberty
27535 install-info-libiberty: \
27536 configure-libiberty \
27537 info-libiberty
27538 @[ -f ./libiberty/Makefile ] || exit 0; \
27539 r=`${PWD_COMMAND}`; export r; \
27540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27541 $(HOST_EXPORTS) \
27542 for flag in $(EXTRA_HOST_FLAGS) ; do \
27543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27544 done; \
27545 echo "Doing install-info in libiberty"; \
27546 (cd $(HOST_SUBDIR)/libiberty && \
27547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27549 "RANLIB=$${RANLIB}" \
27550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27551 install-info) \
27552 || exit 1
27554 @endif libiberty
27556 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27557 maybe-install-pdf-libiberty:
27558 @if libiberty
27559 maybe-install-pdf-libiberty: install-pdf-libiberty
27561 install-pdf-libiberty: \
27562 configure-libiberty \
27563 pdf-libiberty
27564 @[ -f ./libiberty/Makefile ] || exit 0; \
27565 r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27567 $(HOST_EXPORTS) \
27568 for flag in $(EXTRA_HOST_FLAGS) ; do \
27569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27570 done; \
27571 echo "Doing install-pdf in libiberty"; \
27572 (cd $(HOST_SUBDIR)/libiberty && \
27573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27575 "RANLIB=$${RANLIB}" \
27576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27577 install-pdf) \
27578 || exit 1
27580 @endif libiberty
27582 .PHONY: maybe-install-html-libiberty install-html-libiberty
27583 maybe-install-html-libiberty:
27584 @if libiberty
27585 maybe-install-html-libiberty: install-html-libiberty
27587 install-html-libiberty: \
27588 configure-libiberty \
27589 html-libiberty
27590 @[ -f ./libiberty/Makefile ] || exit 0; \
27591 r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 $(HOST_EXPORTS) \
27594 for flag in $(EXTRA_HOST_FLAGS) ; do \
27595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27596 done; \
27597 echo "Doing install-html in libiberty"; \
27598 (cd $(HOST_SUBDIR)/libiberty && \
27599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27601 "RANLIB=$${RANLIB}" \
27602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27603 install-html) \
27604 || exit 1
27606 @endif libiberty
27608 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27609 maybe-installcheck-libiberty:
27610 @if libiberty
27611 maybe-installcheck-libiberty: installcheck-libiberty
27613 installcheck-libiberty: \
27614 configure-libiberty
27615 @[ -f ./libiberty/Makefile ] || exit 0; \
27616 r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(HOST_EXPORTS) \
27619 for flag in $(EXTRA_HOST_FLAGS) ; do \
27620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27621 done; \
27622 echo "Doing installcheck in libiberty"; \
27623 (cd $(HOST_SUBDIR)/libiberty && \
27624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27626 "RANLIB=$${RANLIB}" \
27627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27628 installcheck) \
27629 || exit 1
27631 @endif libiberty
27633 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27634 maybe-mostlyclean-libiberty:
27635 @if libiberty
27636 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27638 mostlyclean-libiberty:
27639 @[ -f ./libiberty/Makefile ] || exit 0; \
27640 r=`${PWD_COMMAND}`; export r; \
27641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27642 $(HOST_EXPORTS) \
27643 for flag in $(EXTRA_HOST_FLAGS) ; do \
27644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27645 done; \
27646 echo "Doing mostlyclean in libiberty"; \
27647 (cd $(HOST_SUBDIR)/libiberty && \
27648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27650 "RANLIB=$${RANLIB}" \
27651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27652 mostlyclean) \
27653 || exit 1
27655 @endif libiberty
27657 .PHONY: maybe-clean-libiberty clean-libiberty
27658 maybe-clean-libiberty:
27659 @if libiberty
27660 maybe-clean-libiberty: clean-libiberty
27662 clean-libiberty:
27663 @[ -f ./libiberty/Makefile ] || exit 0; \
27664 r=`${PWD_COMMAND}`; export r; \
27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27666 $(HOST_EXPORTS) \
27667 for flag in $(EXTRA_HOST_FLAGS) ; do \
27668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27669 done; \
27670 echo "Doing clean in libiberty"; \
27671 (cd $(HOST_SUBDIR)/libiberty && \
27672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27674 "RANLIB=$${RANLIB}" \
27675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27676 clean) \
27677 || exit 1
27679 @endif libiberty
27681 .PHONY: maybe-distclean-libiberty distclean-libiberty
27682 maybe-distclean-libiberty:
27683 @if libiberty
27684 maybe-distclean-libiberty: distclean-libiberty
27686 distclean-libiberty:
27687 @[ -f ./libiberty/Makefile ] || exit 0; \
27688 r=`${PWD_COMMAND}`; export r; \
27689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27690 $(HOST_EXPORTS) \
27691 for flag in $(EXTRA_HOST_FLAGS) ; do \
27692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27693 done; \
27694 echo "Doing distclean in libiberty"; \
27695 (cd $(HOST_SUBDIR)/libiberty && \
27696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27698 "RANLIB=$${RANLIB}" \
27699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27700 distclean) \
27701 || exit 1
27703 @endif libiberty
27705 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27706 maybe-maintainer-clean-libiberty:
27707 @if libiberty
27708 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27710 maintainer-clean-libiberty:
27711 @[ -f ./libiberty/Makefile ] || exit 0; \
27712 r=`${PWD_COMMAND}`; export r; \
27713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27714 $(HOST_EXPORTS) \
27715 for flag in $(EXTRA_HOST_FLAGS) ; do \
27716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27717 done; \
27718 echo "Doing maintainer-clean in libiberty"; \
27719 (cd $(HOST_SUBDIR)/libiberty && \
27720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27722 "RANLIB=$${RANLIB}" \
27723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27724 maintainer-clean) \
27725 || exit 1
27727 @endif libiberty
27731 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27732 maybe-configure-libiberty-linker-plugin:
27733 @if gcc-bootstrap
27734 configure-libiberty-linker-plugin: stage_current
27735 @endif gcc-bootstrap
27736 @if libiberty-linker-plugin
27737 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27738 configure-libiberty-linker-plugin:
27739 @r=`${PWD_COMMAND}`; export r; \
27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27741 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27743 $(HOST_EXPORTS) \
27744 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27745 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27746 case $(srcdir) in \
27747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27748 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27750 esac; \
27751 module_srcdir=libiberty; \
27752 $(SHELL) \
27753 $$s/$$module_srcdir/configure \
27754 --srcdir=$${topdir}/$$module_srcdir \
27755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27756 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27757 || exit 1
27758 @endif libiberty-linker-plugin
27762 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27763 maybe-configure-stage1-libiberty-linker-plugin:
27764 @if libiberty-linker-plugin-bootstrap
27765 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27766 configure-stage1-libiberty-linker-plugin:
27767 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27769 @r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27771 TFLAGS="$(STAGE1_TFLAGS)"; \
27772 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27773 $(HOST_EXPORTS) \
27774 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27775 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27776 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27777 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27779 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27780 case $(srcdir) in \
27781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27782 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27784 esac; \
27785 module_srcdir=libiberty; \
27786 $(SHELL) $$s/$$module_srcdir/configure \
27787 --srcdir=$${topdir}/$$module_srcdir \
27788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27789 --target=${target_alias} \
27791 $(STAGE1_CONFIGURE_FLAGS) \
27792 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27793 @endif libiberty-linker-plugin-bootstrap
27795 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27796 maybe-configure-stage2-libiberty-linker-plugin:
27797 @if libiberty-linker-plugin-bootstrap
27798 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27799 configure-stage2-libiberty-linker-plugin:
27800 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27802 @r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27804 TFLAGS="$(STAGE2_TFLAGS)"; \
27805 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27806 $(HOST_EXPORTS) \
27807 $(POSTSTAGE1_HOST_EXPORTS) \
27808 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27809 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27810 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27811 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27813 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27814 case $(srcdir) in \
27815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27816 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27818 esac; \
27819 module_srcdir=libiberty; \
27820 $(SHELL) $$s/$$module_srcdir/configure \
27821 --srcdir=$${topdir}/$$module_srcdir \
27822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27823 --target=${target_alias} \
27824 --with-build-libsubdir=$(HOST_SUBDIR) \
27825 $(STAGE2_CONFIGURE_FLAGS) \
27826 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27827 @endif libiberty-linker-plugin-bootstrap
27829 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27830 maybe-configure-stage3-libiberty-linker-plugin:
27831 @if libiberty-linker-plugin-bootstrap
27832 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27833 configure-stage3-libiberty-linker-plugin:
27834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27836 @r=`${PWD_COMMAND}`; export r; \
27837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27838 TFLAGS="$(STAGE3_TFLAGS)"; \
27839 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27840 $(HOST_EXPORTS) \
27841 $(POSTSTAGE1_HOST_EXPORTS) \
27842 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27843 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27844 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27845 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27847 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27848 case $(srcdir) in \
27849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27850 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27852 esac; \
27853 module_srcdir=libiberty; \
27854 $(SHELL) $$s/$$module_srcdir/configure \
27855 --srcdir=$${topdir}/$$module_srcdir \
27856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27857 --target=${target_alias} \
27858 --with-build-libsubdir=$(HOST_SUBDIR) \
27859 $(STAGE3_CONFIGURE_FLAGS) \
27860 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27861 @endif libiberty-linker-plugin-bootstrap
27863 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27864 maybe-configure-stage4-libiberty-linker-plugin:
27865 @if libiberty-linker-plugin-bootstrap
27866 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27867 configure-stage4-libiberty-linker-plugin:
27868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27870 @r=`${PWD_COMMAND}`; export r; \
27871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872 TFLAGS="$(STAGE4_TFLAGS)"; \
27873 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27874 $(HOST_EXPORTS) \
27875 $(POSTSTAGE1_HOST_EXPORTS) \
27876 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27877 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27878 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27879 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27881 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27882 case $(srcdir) in \
27883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27884 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27886 esac; \
27887 module_srcdir=libiberty; \
27888 $(SHELL) $$s/$$module_srcdir/configure \
27889 --srcdir=$${topdir}/$$module_srcdir \
27890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27891 --target=${target_alias} \
27892 --with-build-libsubdir=$(HOST_SUBDIR) \
27893 $(STAGE4_CONFIGURE_FLAGS) \
27894 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27895 @endif libiberty-linker-plugin-bootstrap
27897 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27898 maybe-configure-stageprofile-libiberty-linker-plugin:
27899 @if libiberty-linker-plugin-bootstrap
27900 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27901 configure-stageprofile-libiberty-linker-plugin:
27902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27904 @r=`${PWD_COMMAND}`; export r; \
27905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27907 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27908 $(HOST_EXPORTS) \
27909 $(POSTSTAGE1_HOST_EXPORTS) \
27910 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27912 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27913 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27915 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27916 case $(srcdir) in \
27917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27918 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27920 esac; \
27921 module_srcdir=libiberty; \
27922 $(SHELL) $$s/$$module_srcdir/configure \
27923 --srcdir=$${topdir}/$$module_srcdir \
27924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27925 --target=${target_alias} \
27926 --with-build-libsubdir=$(HOST_SUBDIR) \
27927 $(STAGEprofile_CONFIGURE_FLAGS) \
27928 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27929 @endif libiberty-linker-plugin-bootstrap
27931 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27932 maybe-configure-stagetrain-libiberty-linker-plugin:
27933 @if libiberty-linker-plugin-bootstrap
27934 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27935 configure-stagetrain-libiberty-linker-plugin:
27936 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27938 @r=`${PWD_COMMAND}`; export r; \
27939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27940 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27941 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27942 $(HOST_EXPORTS) \
27943 $(POSTSTAGE1_HOST_EXPORTS) \
27944 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27945 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27946 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27947 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27949 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27950 case $(srcdir) in \
27951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27952 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27954 esac; \
27955 module_srcdir=libiberty; \
27956 $(SHELL) $$s/$$module_srcdir/configure \
27957 --srcdir=$${topdir}/$$module_srcdir \
27958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27959 --target=${target_alias} \
27960 --with-build-libsubdir=$(HOST_SUBDIR) \
27961 $(STAGEtrain_CONFIGURE_FLAGS) \
27962 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27963 @endif libiberty-linker-plugin-bootstrap
27965 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27966 maybe-configure-stagefeedback-libiberty-linker-plugin:
27967 @if libiberty-linker-plugin-bootstrap
27968 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27969 configure-stagefeedback-libiberty-linker-plugin:
27970 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27972 @r=`${PWD_COMMAND}`; export r; \
27973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27975 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27976 $(HOST_EXPORTS) \
27977 $(POSTSTAGE1_HOST_EXPORTS) \
27978 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27979 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27980 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27981 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27983 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27984 case $(srcdir) in \
27985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27986 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27988 esac; \
27989 module_srcdir=libiberty; \
27990 $(SHELL) $$s/$$module_srcdir/configure \
27991 --srcdir=$${topdir}/$$module_srcdir \
27992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27993 --target=${target_alias} \
27994 --with-build-libsubdir=$(HOST_SUBDIR) \
27995 $(STAGEfeedback_CONFIGURE_FLAGS) \
27996 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27997 @endif libiberty-linker-plugin-bootstrap
27999 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
28000 maybe-configure-stageautoprofile-libiberty-linker-plugin:
28001 @if libiberty-linker-plugin-bootstrap
28002 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28003 configure-stageautoprofile-libiberty-linker-plugin:
28004 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
28006 @r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28009 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28010 $(HOST_EXPORTS) \
28011 $(POSTSTAGE1_HOST_EXPORTS) \
28012 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
28013 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
28014 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28015 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28017 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
28018 case $(srcdir) in \
28019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28020 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28022 esac; \
28023 module_srcdir=libiberty; \
28024 $(SHELL) $$s/$$module_srcdir/configure \
28025 --srcdir=$${topdir}/$$module_srcdir \
28026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28027 --target=${target_alias} \
28028 --with-build-libsubdir=$(HOST_SUBDIR) \
28029 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28030 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28031 @endif libiberty-linker-plugin-bootstrap
28033 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
28034 maybe-configure-stageautofeedback-libiberty-linker-plugin:
28035 @if libiberty-linker-plugin-bootstrap
28036 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28037 configure-stageautofeedback-libiberty-linker-plugin:
28038 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
28040 @r=`${PWD_COMMAND}`; export r; \
28041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28042 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28043 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28044 $(HOST_EXPORTS) \
28045 $(POSTSTAGE1_HOST_EXPORTS) \
28046 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28047 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28048 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28049 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28051 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
28052 case $(srcdir) in \
28053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28054 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28056 esac; \
28057 module_srcdir=libiberty; \
28058 $(SHELL) $$s/$$module_srcdir/configure \
28059 --srcdir=$${topdir}/$$module_srcdir \
28060 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28061 --target=${target_alias} \
28062 --with-build-libsubdir=$(HOST_SUBDIR) \
28063 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28064 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28065 @endif libiberty-linker-plugin-bootstrap
28071 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
28072 maybe-all-libiberty-linker-plugin:
28073 @if gcc-bootstrap
28074 all-libiberty-linker-plugin: stage_current
28075 @endif gcc-bootstrap
28076 @if libiberty-linker-plugin
28077 TARGET-libiberty-linker-plugin=all
28078 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
28079 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
28080 @r=`${PWD_COMMAND}`; export r; \
28081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28082 $(HOST_EXPORTS) \
28083 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28085 $(TARGET-libiberty-linker-plugin))
28086 @endif libiberty-linker-plugin
28090 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
28091 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
28092 maybe-all-stage1-libiberty-linker-plugin:
28093 maybe-clean-stage1-libiberty-linker-plugin:
28094 @if libiberty-linker-plugin-bootstrap
28095 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
28096 all-stage1: all-stage1-libiberty-linker-plugin
28097 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28098 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
28099 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28100 @r=`${PWD_COMMAND}`; export r; \
28101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28102 TFLAGS="$(STAGE1_TFLAGS)"; \
28103 $(HOST_EXPORTS) \
28104 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28107 CFLAGS="$(STAGE1_CFLAGS)" \
28108 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
28109 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28110 LIBCFLAGS="$(LIBCFLAGS)" \
28111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28114 $(EXTRA_HOST_FLAGS) \
28115 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28116 TFLAGS="$(STAGE1_TFLAGS)" \
28117 $(TARGET-stage1-libiberty-linker-plugin)
28119 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
28120 clean-stage1: clean-stage1-libiberty-linker-plugin
28121 clean-stage1-libiberty-linker-plugin:
28122 @if [ $(current_stage) = stage1 ]; then \
28123 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28124 else \
28125 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
28126 $(MAKE) stage1-start; \
28127 fi; \
28128 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28129 $(MAKE) $(EXTRA_HOST_FLAGS) \
28130 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28131 @endif libiberty-linker-plugin-bootstrap
28134 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
28135 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
28136 maybe-all-stage2-libiberty-linker-plugin:
28137 maybe-clean-stage2-libiberty-linker-plugin:
28138 @if libiberty-linker-plugin-bootstrap
28139 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
28140 all-stage2: all-stage2-libiberty-linker-plugin
28141 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28142 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
28143 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28144 @r=`${PWD_COMMAND}`; export r; \
28145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28146 TFLAGS="$(STAGE2_TFLAGS)"; \
28147 $(HOST_EXPORTS) \
28148 $(POSTSTAGE1_HOST_EXPORTS) \
28149 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28152 CFLAGS="$(STAGE2_CFLAGS)" \
28153 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
28154 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28155 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28160 TFLAGS="$(STAGE2_TFLAGS)" \
28161 $(TARGET-stage2-libiberty-linker-plugin)
28163 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
28164 clean-stage2: clean-stage2-libiberty-linker-plugin
28165 clean-stage2-libiberty-linker-plugin:
28166 @if [ $(current_stage) = stage2 ]; then \
28167 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28168 else \
28169 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
28170 $(MAKE) stage2-start; \
28171 fi; \
28172 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28174 @endif libiberty-linker-plugin-bootstrap
28177 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
28178 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
28179 maybe-all-stage3-libiberty-linker-plugin:
28180 maybe-clean-stage3-libiberty-linker-plugin:
28181 @if libiberty-linker-plugin-bootstrap
28182 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
28183 all-stage3: all-stage3-libiberty-linker-plugin
28184 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28185 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
28186 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28187 @r=`${PWD_COMMAND}`; export r; \
28188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28189 TFLAGS="$(STAGE3_TFLAGS)"; \
28190 $(HOST_EXPORTS) \
28191 $(POSTSTAGE1_HOST_EXPORTS) \
28192 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28195 CFLAGS="$(STAGE3_CFLAGS)" \
28196 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
28197 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28198 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28203 TFLAGS="$(STAGE3_TFLAGS)" \
28204 $(TARGET-stage3-libiberty-linker-plugin)
28206 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
28207 clean-stage3: clean-stage3-libiberty-linker-plugin
28208 clean-stage3-libiberty-linker-plugin:
28209 @if [ $(current_stage) = stage3 ]; then \
28210 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28211 else \
28212 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
28213 $(MAKE) stage3-start; \
28214 fi; \
28215 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28216 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28217 @endif libiberty-linker-plugin-bootstrap
28220 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
28221 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
28222 maybe-all-stage4-libiberty-linker-plugin:
28223 maybe-clean-stage4-libiberty-linker-plugin:
28224 @if libiberty-linker-plugin-bootstrap
28225 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
28226 all-stage4: all-stage4-libiberty-linker-plugin
28227 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28228 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
28229 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28230 @r=`${PWD_COMMAND}`; export r; \
28231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 TFLAGS="$(STAGE4_TFLAGS)"; \
28233 $(HOST_EXPORTS) \
28234 $(POSTSTAGE1_HOST_EXPORTS) \
28235 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28238 CFLAGS="$(STAGE4_CFLAGS)" \
28239 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
28240 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28241 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28242 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28243 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28244 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28245 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28246 TFLAGS="$(STAGE4_TFLAGS)" \
28247 $(TARGET-stage4-libiberty-linker-plugin)
28249 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
28250 clean-stage4: clean-stage4-libiberty-linker-plugin
28251 clean-stage4-libiberty-linker-plugin:
28252 @if [ $(current_stage) = stage4 ]; then \
28253 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28254 else \
28255 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
28256 $(MAKE) stage4-start; \
28257 fi; \
28258 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28259 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28260 @endif libiberty-linker-plugin-bootstrap
28263 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
28264 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
28265 maybe-all-stageprofile-libiberty-linker-plugin:
28266 maybe-clean-stageprofile-libiberty-linker-plugin:
28267 @if libiberty-linker-plugin-bootstrap
28268 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
28269 all-stageprofile: all-stageprofile-libiberty-linker-plugin
28270 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28271 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
28272 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28273 @r=`${PWD_COMMAND}`; export r; \
28274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28275 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28276 $(HOST_EXPORTS) \
28277 $(POSTSTAGE1_HOST_EXPORTS) \
28278 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28280 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28281 CFLAGS="$(STAGEprofile_CFLAGS)" \
28282 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
28283 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28284 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28288 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28289 TFLAGS="$(STAGEprofile_TFLAGS)" \
28290 $(TARGET-stageprofile-libiberty-linker-plugin)
28292 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28293 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28294 clean-stageprofile-libiberty-linker-plugin:
28295 @if [ $(current_stage) = stageprofile ]; then \
28296 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28297 else \
28298 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28299 $(MAKE) stageprofile-start; \
28300 fi; \
28301 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28302 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28303 @endif libiberty-linker-plugin-bootstrap
28306 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28307 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28308 maybe-all-stagetrain-libiberty-linker-plugin:
28309 maybe-clean-stagetrain-libiberty-linker-plugin:
28310 @if libiberty-linker-plugin-bootstrap
28311 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28312 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28313 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28314 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28315 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28316 @r=`${PWD_COMMAND}`; export r; \
28317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28318 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28319 $(HOST_EXPORTS) \
28320 $(POSTSTAGE1_HOST_EXPORTS) \
28321 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28324 CFLAGS="$(STAGEtrain_CFLAGS)" \
28325 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
28326 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28327 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28328 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28329 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28330 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28331 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28332 TFLAGS="$(STAGEtrain_TFLAGS)" \
28333 $(TARGET-stagetrain-libiberty-linker-plugin)
28335 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28336 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28337 clean-stagetrain-libiberty-linker-plugin:
28338 @if [ $(current_stage) = stagetrain ]; then \
28339 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28340 else \
28341 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28342 $(MAKE) stagetrain-start; \
28343 fi; \
28344 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28345 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28346 @endif libiberty-linker-plugin-bootstrap
28349 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28350 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28351 maybe-all-stagefeedback-libiberty-linker-plugin:
28352 maybe-clean-stagefeedback-libiberty-linker-plugin:
28353 @if libiberty-linker-plugin-bootstrap
28354 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28355 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28356 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28357 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28358 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28359 @r=`${PWD_COMMAND}`; export r; \
28360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28361 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28362 $(HOST_EXPORTS) \
28363 $(POSTSTAGE1_HOST_EXPORTS) \
28364 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28367 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28368 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
28369 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28370 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28375 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28376 $(TARGET-stagefeedback-libiberty-linker-plugin)
28378 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28379 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28380 clean-stagefeedback-libiberty-linker-plugin:
28381 @if [ $(current_stage) = stagefeedback ]; then \
28382 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28383 else \
28384 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28385 $(MAKE) stagefeedback-start; \
28386 fi; \
28387 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28389 @endif libiberty-linker-plugin-bootstrap
28392 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28393 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28394 maybe-all-stageautoprofile-libiberty-linker-plugin:
28395 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28396 @if libiberty-linker-plugin-bootstrap
28397 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28398 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28399 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28400 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28401 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28402 @r=`${PWD_COMMAND}`; export r; \
28403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28404 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28405 $(HOST_EXPORTS) \
28406 $(POSTSTAGE1_HOST_EXPORTS) \
28407 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28408 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28410 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28411 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
28412 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28413 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28418 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28419 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28421 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28422 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28423 clean-stageautoprofile-libiberty-linker-plugin:
28424 @if [ $(current_stage) = stageautoprofile ]; then \
28425 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28426 else \
28427 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28428 $(MAKE) stageautoprofile-start; \
28429 fi; \
28430 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28431 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28432 @endif libiberty-linker-plugin-bootstrap
28435 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28436 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28437 maybe-all-stageautofeedback-libiberty-linker-plugin:
28438 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28439 @if libiberty-linker-plugin-bootstrap
28440 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28441 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28442 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28443 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28444 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28445 @r=`${PWD_COMMAND}`; export r; \
28446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28447 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28448 $(HOST_EXPORTS) \
28449 $(POSTSTAGE1_HOST_EXPORTS) \
28450 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28453 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28454 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
28455 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28456 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28461 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28462 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28464 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28465 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28466 clean-stageautofeedback-libiberty-linker-plugin:
28467 @if [ $(current_stage) = stageautofeedback ]; then \
28468 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28469 else \
28470 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28471 $(MAKE) stageautofeedback-start; \
28472 fi; \
28473 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28475 @endif libiberty-linker-plugin-bootstrap
28481 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28482 maybe-check-libiberty-linker-plugin:
28483 @if libiberty-linker-plugin
28484 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28486 check-libiberty-linker-plugin:
28487 @: $(MAKE); $(unstage)
28488 @r=`${PWD_COMMAND}`; export r; \
28489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28490 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28491 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28492 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28494 @endif libiberty-linker-plugin
28496 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28497 maybe-install-libiberty-linker-plugin:
28498 @if libiberty-linker-plugin
28499 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28501 install-libiberty-linker-plugin: installdirs
28502 @: $(MAKE); $(unstage)
28503 @r=`${PWD_COMMAND}`; export r; \
28504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28505 $(HOST_EXPORTS) \
28506 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28507 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28509 @endif libiberty-linker-plugin
28511 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28512 maybe-install-strip-libiberty-linker-plugin:
28513 @if libiberty-linker-plugin
28514 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28516 install-strip-libiberty-linker-plugin: installdirs
28517 @: $(MAKE); $(unstage)
28518 @r=`${PWD_COMMAND}`; export r; \
28519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28520 $(HOST_EXPORTS) \
28521 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28522 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28524 @endif libiberty-linker-plugin
28526 # Other targets (info, dvi, pdf, etc.)
28528 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28529 maybe-info-libiberty-linker-plugin:
28530 @if libiberty-linker-plugin
28531 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28533 info-libiberty-linker-plugin: \
28534 configure-libiberty-linker-plugin
28535 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28536 r=`${PWD_COMMAND}`; export r; \
28537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28538 $(HOST_EXPORTS) \
28539 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28541 done; \
28542 echo "Doing info in libiberty-linker-plugin"; \
28543 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28546 "RANLIB=$${RANLIB}" \
28547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28548 info) \
28549 || exit 1
28551 @endif libiberty-linker-plugin
28553 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28554 maybe-dvi-libiberty-linker-plugin:
28555 @if libiberty-linker-plugin
28556 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28558 dvi-libiberty-linker-plugin: \
28559 configure-libiberty-linker-plugin
28560 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28561 r=`${PWD_COMMAND}`; export r; \
28562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28563 $(HOST_EXPORTS) \
28564 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28566 done; \
28567 echo "Doing dvi in libiberty-linker-plugin"; \
28568 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28571 "RANLIB=$${RANLIB}" \
28572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28573 dvi) \
28574 || exit 1
28576 @endif libiberty-linker-plugin
28578 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28579 maybe-pdf-libiberty-linker-plugin:
28580 @if libiberty-linker-plugin
28581 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28583 pdf-libiberty-linker-plugin: \
28584 configure-libiberty-linker-plugin
28585 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28586 r=`${PWD_COMMAND}`; export r; \
28587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28588 $(HOST_EXPORTS) \
28589 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28591 done; \
28592 echo "Doing pdf in libiberty-linker-plugin"; \
28593 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28596 "RANLIB=$${RANLIB}" \
28597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28598 pdf) \
28599 || exit 1
28601 @endif libiberty-linker-plugin
28603 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28604 maybe-html-libiberty-linker-plugin:
28605 @if libiberty-linker-plugin
28606 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28608 html-libiberty-linker-plugin: \
28609 configure-libiberty-linker-plugin
28610 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28611 r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(HOST_EXPORTS) \
28614 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28616 done; \
28617 echo "Doing html in libiberty-linker-plugin"; \
28618 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28621 "RANLIB=$${RANLIB}" \
28622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28623 html) \
28624 || exit 1
28626 @endif libiberty-linker-plugin
28628 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28629 maybe-TAGS-libiberty-linker-plugin:
28630 @if libiberty-linker-plugin
28631 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28633 TAGS-libiberty-linker-plugin: \
28634 configure-libiberty-linker-plugin
28635 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28636 r=`${PWD_COMMAND}`; export r; \
28637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28638 $(HOST_EXPORTS) \
28639 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28641 done; \
28642 echo "Doing TAGS in libiberty-linker-plugin"; \
28643 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28646 "RANLIB=$${RANLIB}" \
28647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28648 TAGS) \
28649 || exit 1
28651 @endif libiberty-linker-plugin
28653 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28654 maybe-install-info-libiberty-linker-plugin:
28655 @if libiberty-linker-plugin
28656 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28658 install-info-libiberty-linker-plugin: \
28659 configure-libiberty-linker-plugin \
28660 info-libiberty-linker-plugin
28661 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28662 r=`${PWD_COMMAND}`; export r; \
28663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28664 $(HOST_EXPORTS) \
28665 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28667 done; \
28668 echo "Doing install-info in libiberty-linker-plugin"; \
28669 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28672 "RANLIB=$${RANLIB}" \
28673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28674 install-info) \
28675 || exit 1
28677 @endif libiberty-linker-plugin
28679 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28680 maybe-install-pdf-libiberty-linker-plugin:
28681 @if libiberty-linker-plugin
28682 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28684 install-pdf-libiberty-linker-plugin: \
28685 configure-libiberty-linker-plugin \
28686 pdf-libiberty-linker-plugin
28687 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28688 r=`${PWD_COMMAND}`; export r; \
28689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28690 $(HOST_EXPORTS) \
28691 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28693 done; \
28694 echo "Doing install-pdf in libiberty-linker-plugin"; \
28695 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28698 "RANLIB=$${RANLIB}" \
28699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28700 install-pdf) \
28701 || exit 1
28703 @endif libiberty-linker-plugin
28705 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28706 maybe-install-html-libiberty-linker-plugin:
28707 @if libiberty-linker-plugin
28708 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28710 install-html-libiberty-linker-plugin: \
28711 configure-libiberty-linker-plugin \
28712 html-libiberty-linker-plugin
28713 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28714 r=`${PWD_COMMAND}`; export r; \
28715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28716 $(HOST_EXPORTS) \
28717 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28719 done; \
28720 echo "Doing install-html in libiberty-linker-plugin"; \
28721 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28724 "RANLIB=$${RANLIB}" \
28725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28726 install-html) \
28727 || exit 1
28729 @endif libiberty-linker-plugin
28731 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28732 maybe-installcheck-libiberty-linker-plugin:
28733 @if libiberty-linker-plugin
28734 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28736 installcheck-libiberty-linker-plugin: \
28737 configure-libiberty-linker-plugin
28738 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28739 r=`${PWD_COMMAND}`; export r; \
28740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28741 $(HOST_EXPORTS) \
28742 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28744 done; \
28745 echo "Doing installcheck in libiberty-linker-plugin"; \
28746 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28749 "RANLIB=$${RANLIB}" \
28750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28751 installcheck) \
28752 || exit 1
28754 @endif libiberty-linker-plugin
28756 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28757 maybe-mostlyclean-libiberty-linker-plugin:
28758 @if libiberty-linker-plugin
28759 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28761 mostlyclean-libiberty-linker-plugin:
28762 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28763 r=`${PWD_COMMAND}`; export r; \
28764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28765 $(HOST_EXPORTS) \
28766 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28768 done; \
28769 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28770 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28773 "RANLIB=$${RANLIB}" \
28774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28775 mostlyclean) \
28776 || exit 1
28778 @endif libiberty-linker-plugin
28780 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28781 maybe-clean-libiberty-linker-plugin:
28782 @if libiberty-linker-plugin
28783 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28785 clean-libiberty-linker-plugin:
28786 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28787 r=`${PWD_COMMAND}`; export r; \
28788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28789 $(HOST_EXPORTS) \
28790 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28792 done; \
28793 echo "Doing clean in libiberty-linker-plugin"; \
28794 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28797 "RANLIB=$${RANLIB}" \
28798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28799 clean) \
28800 || exit 1
28802 @endif libiberty-linker-plugin
28804 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28805 maybe-distclean-libiberty-linker-plugin:
28806 @if libiberty-linker-plugin
28807 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28809 distclean-libiberty-linker-plugin:
28810 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28811 r=`${PWD_COMMAND}`; export r; \
28812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28813 $(HOST_EXPORTS) \
28814 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28816 done; \
28817 echo "Doing distclean in libiberty-linker-plugin"; \
28818 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28821 "RANLIB=$${RANLIB}" \
28822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28823 distclean) \
28824 || exit 1
28826 @endif libiberty-linker-plugin
28828 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28829 maybe-maintainer-clean-libiberty-linker-plugin:
28830 @if libiberty-linker-plugin
28831 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28833 maintainer-clean-libiberty-linker-plugin:
28834 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28835 r=`${PWD_COMMAND}`; export r; \
28836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28837 $(HOST_EXPORTS) \
28838 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28840 done; \
28841 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28842 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28845 "RANLIB=$${RANLIB}" \
28846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28847 maintainer-clean) \
28848 || exit 1
28850 @endif libiberty-linker-plugin
28854 .PHONY: configure-libiconv maybe-configure-libiconv
28855 maybe-configure-libiconv:
28856 @if gcc-bootstrap
28857 configure-libiconv: stage_current
28858 @endif gcc-bootstrap
28859 @if libiconv
28860 maybe-configure-libiconv: configure-libiconv
28861 configure-libiconv:
28862 @r=`${PWD_COMMAND}`; export r; \
28863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28864 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28866 $(HOST_EXPORTS) \
28867 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28868 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28869 case $(srcdir) in \
28870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28871 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28873 esac; \
28874 module_srcdir=libiconv; \
28875 $(SHELL) \
28876 $$s/$$module_srcdir/configure \
28877 --srcdir=$${topdir}/$$module_srcdir \
28878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28879 --target=${target_alias} --disable-shared \
28880 || exit 1
28881 @endif libiconv
28885 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28886 maybe-configure-stage1-libiconv:
28887 @if libiconv-bootstrap
28888 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28889 configure-stage1-libiconv:
28890 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28892 @r=`${PWD_COMMAND}`; export r; \
28893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28894 TFLAGS="$(STAGE1_TFLAGS)"; \
28895 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28896 $(HOST_EXPORTS) \
28897 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28898 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28899 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28900 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28902 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28903 case $(srcdir) in \
28904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28905 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28907 esac; \
28908 module_srcdir=libiconv; \
28909 $(SHELL) $$s/$$module_srcdir/configure \
28910 --srcdir=$${topdir}/$$module_srcdir \
28911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28912 --target=${target_alias} \
28914 $(STAGE1_CONFIGURE_FLAGS) \
28915 --disable-shared
28916 @endif libiconv-bootstrap
28918 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28919 maybe-configure-stage2-libiconv:
28920 @if libiconv-bootstrap
28921 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28922 configure-stage2-libiconv:
28923 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28924 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28925 @r=`${PWD_COMMAND}`; export r; \
28926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28927 TFLAGS="$(STAGE2_TFLAGS)"; \
28928 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28929 $(HOST_EXPORTS) \
28930 $(POSTSTAGE1_HOST_EXPORTS) \
28931 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28932 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28933 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28934 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28936 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28937 case $(srcdir) in \
28938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28939 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28941 esac; \
28942 module_srcdir=libiconv; \
28943 $(SHELL) $$s/$$module_srcdir/configure \
28944 --srcdir=$${topdir}/$$module_srcdir \
28945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28946 --target=${target_alias} \
28947 --with-build-libsubdir=$(HOST_SUBDIR) \
28948 $(STAGE2_CONFIGURE_FLAGS) \
28949 --disable-shared
28950 @endif libiconv-bootstrap
28952 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28953 maybe-configure-stage3-libiconv:
28954 @if libiconv-bootstrap
28955 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28956 configure-stage3-libiconv:
28957 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28959 @r=`${PWD_COMMAND}`; export r; \
28960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28961 TFLAGS="$(STAGE3_TFLAGS)"; \
28962 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28963 $(HOST_EXPORTS) \
28964 $(POSTSTAGE1_HOST_EXPORTS) \
28965 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28966 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28967 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28968 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28970 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28971 case $(srcdir) in \
28972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28973 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28975 esac; \
28976 module_srcdir=libiconv; \
28977 $(SHELL) $$s/$$module_srcdir/configure \
28978 --srcdir=$${topdir}/$$module_srcdir \
28979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28980 --target=${target_alias} \
28981 --with-build-libsubdir=$(HOST_SUBDIR) \
28982 $(STAGE3_CONFIGURE_FLAGS) \
28983 --disable-shared
28984 @endif libiconv-bootstrap
28986 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28987 maybe-configure-stage4-libiconv:
28988 @if libiconv-bootstrap
28989 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28990 configure-stage4-libiconv:
28991 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28993 @r=`${PWD_COMMAND}`; export r; \
28994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28995 TFLAGS="$(STAGE4_TFLAGS)"; \
28996 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28997 $(HOST_EXPORTS) \
28998 $(POSTSTAGE1_HOST_EXPORTS) \
28999 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29000 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29001 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29002 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
29003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29004 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29005 case $(srcdir) in \
29006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29007 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29009 esac; \
29010 module_srcdir=libiconv; \
29011 $(SHELL) $$s/$$module_srcdir/configure \
29012 --srcdir=$${topdir}/$$module_srcdir \
29013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29014 --target=${target_alias} \
29015 --with-build-libsubdir=$(HOST_SUBDIR) \
29016 $(STAGE4_CONFIGURE_FLAGS) \
29017 --disable-shared
29018 @endif libiconv-bootstrap
29020 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
29021 maybe-configure-stageprofile-libiconv:
29022 @if libiconv-bootstrap
29023 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
29024 configure-stageprofile-libiconv:
29025 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29027 @r=`${PWD_COMMAND}`; export r; \
29028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29029 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29030 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29031 $(HOST_EXPORTS) \
29032 $(POSTSTAGE1_HOST_EXPORTS) \
29033 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29034 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29035 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29036 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
29037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29038 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29039 case $(srcdir) in \
29040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29041 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29043 esac; \
29044 module_srcdir=libiconv; \
29045 $(SHELL) $$s/$$module_srcdir/configure \
29046 --srcdir=$${topdir}/$$module_srcdir \
29047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29048 --target=${target_alias} \
29049 --with-build-libsubdir=$(HOST_SUBDIR) \
29050 $(STAGEprofile_CONFIGURE_FLAGS) \
29051 --disable-shared
29052 @endif libiconv-bootstrap
29054 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
29055 maybe-configure-stagetrain-libiconv:
29056 @if libiconv-bootstrap
29057 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
29058 configure-stagetrain-libiconv:
29059 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29061 @r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29063 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29064 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29065 $(HOST_EXPORTS) \
29066 $(POSTSTAGE1_HOST_EXPORTS) \
29067 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
29068 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
29069 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
29070 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
29071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29072 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29073 case $(srcdir) in \
29074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29075 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29077 esac; \
29078 module_srcdir=libiconv; \
29079 $(SHELL) $$s/$$module_srcdir/configure \
29080 --srcdir=$${topdir}/$$module_srcdir \
29081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29082 --target=${target_alias} \
29083 --with-build-libsubdir=$(HOST_SUBDIR) \
29084 $(STAGEtrain_CONFIGURE_FLAGS) \
29085 --disable-shared
29086 @endif libiconv-bootstrap
29088 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
29089 maybe-configure-stagefeedback-libiconv:
29090 @if libiconv-bootstrap
29091 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
29092 configure-stagefeedback-libiconv:
29093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29095 @r=`${PWD_COMMAND}`; export r; \
29096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29098 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29099 $(HOST_EXPORTS) \
29100 $(POSTSTAGE1_HOST_EXPORTS) \
29101 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29102 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29103 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29104 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
29105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29106 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29107 case $(srcdir) in \
29108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29109 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29111 esac; \
29112 module_srcdir=libiconv; \
29113 $(SHELL) $$s/$$module_srcdir/configure \
29114 --srcdir=$${topdir}/$$module_srcdir \
29115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29116 --target=${target_alias} \
29117 --with-build-libsubdir=$(HOST_SUBDIR) \
29118 $(STAGEfeedback_CONFIGURE_FLAGS) \
29119 --disable-shared
29120 @endif libiconv-bootstrap
29122 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
29123 maybe-configure-stageautoprofile-libiconv:
29124 @if libiconv-bootstrap
29125 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29126 configure-stageautoprofile-libiconv:
29127 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29128 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29129 @r=`${PWD_COMMAND}`; export r; \
29130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29131 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29132 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29133 $(HOST_EXPORTS) \
29134 $(POSTSTAGE1_HOST_EXPORTS) \
29135 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
29136 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
29137 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
29138 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
29139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29140 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29141 case $(srcdir) in \
29142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29143 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29145 esac; \
29146 module_srcdir=libiconv; \
29147 $(SHELL) $$s/$$module_srcdir/configure \
29148 --srcdir=$${topdir}/$$module_srcdir \
29149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29150 --target=${target_alias} \
29151 --with-build-libsubdir=$(HOST_SUBDIR) \
29152 $(STAGEautoprofile_CONFIGURE_FLAGS) \
29153 --disable-shared
29154 @endif libiconv-bootstrap
29156 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
29157 maybe-configure-stageautofeedback-libiconv:
29158 @if libiconv-bootstrap
29159 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29160 configure-stageautofeedback-libiconv:
29161 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29163 @r=`${PWD_COMMAND}`; export r; \
29164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29165 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29166 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29167 $(HOST_EXPORTS) \
29168 $(POSTSTAGE1_HOST_EXPORTS) \
29169 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
29170 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
29171 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
29172 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
29173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29174 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29175 case $(srcdir) in \
29176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29177 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29179 esac; \
29180 module_srcdir=libiconv; \
29181 $(SHELL) $$s/$$module_srcdir/configure \
29182 --srcdir=$${topdir}/$$module_srcdir \
29183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29184 --target=${target_alias} \
29185 --with-build-libsubdir=$(HOST_SUBDIR) \
29186 $(STAGEautofeedback_CONFIGURE_FLAGS) \
29187 --disable-shared
29188 @endif libiconv-bootstrap
29194 .PHONY: all-libiconv maybe-all-libiconv
29195 maybe-all-libiconv:
29196 @if gcc-bootstrap
29197 all-libiconv: stage_current
29198 @endif gcc-bootstrap
29199 @if libiconv
29200 TARGET-libiconv=all
29201 maybe-all-libiconv: all-libiconv
29202 all-libiconv: configure-libiconv
29203 @r=`${PWD_COMMAND}`; export r; \
29204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29205 $(HOST_EXPORTS) \
29206 (cd $(HOST_SUBDIR)/libiconv && \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29208 $(TARGET-libiconv))
29209 @endif libiconv
29213 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
29214 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
29215 maybe-all-stage1-libiconv:
29216 maybe-clean-stage1-libiconv:
29217 @if libiconv-bootstrap
29218 maybe-all-stage1-libiconv: all-stage1-libiconv
29219 all-stage1: all-stage1-libiconv
29220 TARGET-stage1-libiconv = $(TARGET-libiconv)
29221 all-stage1-libiconv: configure-stage1-libiconv
29222 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29223 @r=`${PWD_COMMAND}`; export r; \
29224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29225 TFLAGS="$(STAGE1_TFLAGS)"; \
29226 $(HOST_EXPORTS) \
29227 cd $(HOST_SUBDIR)/libiconv && \
29229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29230 CFLAGS="$(STAGE1_CFLAGS)" \
29231 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
29232 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29233 LIBCFLAGS="$(LIBCFLAGS)" \
29234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29237 $(EXTRA_HOST_FLAGS) \
29238 $(STAGE1_FLAGS_TO_PASS) \
29239 TFLAGS="$(STAGE1_TFLAGS)" \
29240 $(TARGET-stage1-libiconv)
29242 maybe-clean-stage1-libiconv: clean-stage1-libiconv
29243 clean-stage1: clean-stage1-libiconv
29244 clean-stage1-libiconv:
29245 @if [ $(current_stage) = stage1 ]; then \
29246 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29247 else \
29248 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
29249 $(MAKE) stage1-start; \
29250 fi; \
29251 cd $(HOST_SUBDIR)/libiconv && \
29252 $(MAKE) $(EXTRA_HOST_FLAGS) \
29253 $(STAGE1_FLAGS_TO_PASS) clean
29254 @endif libiconv-bootstrap
29257 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
29258 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
29259 maybe-all-stage2-libiconv:
29260 maybe-clean-stage2-libiconv:
29261 @if libiconv-bootstrap
29262 maybe-all-stage2-libiconv: all-stage2-libiconv
29263 all-stage2: all-stage2-libiconv
29264 TARGET-stage2-libiconv = $(TARGET-libiconv)
29265 all-stage2-libiconv: configure-stage2-libiconv
29266 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29267 @r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 TFLAGS="$(STAGE2_TFLAGS)"; \
29270 $(HOST_EXPORTS) \
29271 $(POSTSTAGE1_HOST_EXPORTS) \
29272 cd $(HOST_SUBDIR)/libiconv && \
29274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29275 CFLAGS="$(STAGE2_CFLAGS)" \
29276 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
29277 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29278 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29282 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29283 TFLAGS="$(STAGE2_TFLAGS)" \
29284 $(TARGET-stage2-libiconv)
29286 maybe-clean-stage2-libiconv: clean-stage2-libiconv
29287 clean-stage2: clean-stage2-libiconv
29288 clean-stage2-libiconv:
29289 @if [ $(current_stage) = stage2 ]; then \
29290 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29291 else \
29292 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29293 $(MAKE) stage2-start; \
29294 fi; \
29295 cd $(HOST_SUBDIR)/libiconv && \
29296 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29297 @endif libiconv-bootstrap
29300 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29301 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29302 maybe-all-stage3-libiconv:
29303 maybe-clean-stage3-libiconv:
29304 @if libiconv-bootstrap
29305 maybe-all-stage3-libiconv: all-stage3-libiconv
29306 all-stage3: all-stage3-libiconv
29307 TARGET-stage3-libiconv = $(TARGET-libiconv)
29308 all-stage3-libiconv: configure-stage3-libiconv
29309 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29310 @r=`${PWD_COMMAND}`; export r; \
29311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29312 TFLAGS="$(STAGE3_TFLAGS)"; \
29313 $(HOST_EXPORTS) \
29314 $(POSTSTAGE1_HOST_EXPORTS) \
29315 cd $(HOST_SUBDIR)/libiconv && \
29317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29318 CFLAGS="$(STAGE3_CFLAGS)" \
29319 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
29320 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29321 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29326 TFLAGS="$(STAGE3_TFLAGS)" \
29327 $(TARGET-stage3-libiconv)
29329 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29330 clean-stage3: clean-stage3-libiconv
29331 clean-stage3-libiconv:
29332 @if [ $(current_stage) = stage3 ]; then \
29333 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29334 else \
29335 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29336 $(MAKE) stage3-start; \
29337 fi; \
29338 cd $(HOST_SUBDIR)/libiconv && \
29339 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29340 @endif libiconv-bootstrap
29343 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29344 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29345 maybe-all-stage4-libiconv:
29346 maybe-clean-stage4-libiconv:
29347 @if libiconv-bootstrap
29348 maybe-all-stage4-libiconv: all-stage4-libiconv
29349 all-stage4: all-stage4-libiconv
29350 TARGET-stage4-libiconv = $(TARGET-libiconv)
29351 all-stage4-libiconv: configure-stage4-libiconv
29352 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29353 @r=`${PWD_COMMAND}`; export r; \
29354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29355 TFLAGS="$(STAGE4_TFLAGS)"; \
29356 $(HOST_EXPORTS) \
29357 $(POSTSTAGE1_HOST_EXPORTS) \
29358 cd $(HOST_SUBDIR)/libiconv && \
29360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29361 CFLAGS="$(STAGE4_CFLAGS)" \
29362 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
29363 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29364 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29369 TFLAGS="$(STAGE4_TFLAGS)" \
29370 $(TARGET-stage4-libiconv)
29372 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29373 clean-stage4: clean-stage4-libiconv
29374 clean-stage4-libiconv:
29375 @if [ $(current_stage) = stage4 ]; then \
29376 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29377 else \
29378 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29379 $(MAKE) stage4-start; \
29380 fi; \
29381 cd $(HOST_SUBDIR)/libiconv && \
29382 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29383 @endif libiconv-bootstrap
29386 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29387 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29388 maybe-all-stageprofile-libiconv:
29389 maybe-clean-stageprofile-libiconv:
29390 @if libiconv-bootstrap
29391 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29392 all-stageprofile: all-stageprofile-libiconv
29393 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29394 all-stageprofile-libiconv: configure-stageprofile-libiconv
29395 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29396 @r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29399 $(HOST_EXPORTS) \
29400 $(POSTSTAGE1_HOST_EXPORTS) \
29401 cd $(HOST_SUBDIR)/libiconv && \
29403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29404 CFLAGS="$(STAGEprofile_CFLAGS)" \
29405 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
29406 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29407 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29411 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29412 TFLAGS="$(STAGEprofile_TFLAGS)" \
29413 $(TARGET-stageprofile-libiconv)
29415 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29416 clean-stageprofile: clean-stageprofile-libiconv
29417 clean-stageprofile-libiconv:
29418 @if [ $(current_stage) = stageprofile ]; then \
29419 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29420 else \
29421 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29422 $(MAKE) stageprofile-start; \
29423 fi; \
29424 cd $(HOST_SUBDIR)/libiconv && \
29425 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29426 @endif libiconv-bootstrap
29429 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29430 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29431 maybe-all-stagetrain-libiconv:
29432 maybe-clean-stagetrain-libiconv:
29433 @if libiconv-bootstrap
29434 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29435 all-stagetrain: all-stagetrain-libiconv
29436 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29437 all-stagetrain-libiconv: configure-stagetrain-libiconv
29438 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29439 @r=`${PWD_COMMAND}`; export r; \
29440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29441 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29442 $(HOST_EXPORTS) \
29443 $(POSTSTAGE1_HOST_EXPORTS) \
29444 cd $(HOST_SUBDIR)/libiconv && \
29446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29447 CFLAGS="$(STAGEtrain_CFLAGS)" \
29448 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
29449 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29450 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29455 TFLAGS="$(STAGEtrain_TFLAGS)" \
29456 $(TARGET-stagetrain-libiconv)
29458 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29459 clean-stagetrain: clean-stagetrain-libiconv
29460 clean-stagetrain-libiconv:
29461 @if [ $(current_stage) = stagetrain ]; then \
29462 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29463 else \
29464 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29465 $(MAKE) stagetrain-start; \
29466 fi; \
29467 cd $(HOST_SUBDIR)/libiconv && \
29468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29469 @endif libiconv-bootstrap
29472 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29473 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29474 maybe-all-stagefeedback-libiconv:
29475 maybe-clean-stagefeedback-libiconv:
29476 @if libiconv-bootstrap
29477 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29478 all-stagefeedback: all-stagefeedback-libiconv
29479 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29480 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29481 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29482 @r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29485 $(HOST_EXPORTS) \
29486 $(POSTSTAGE1_HOST_EXPORTS) \
29487 cd $(HOST_SUBDIR)/libiconv && \
29489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29490 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29491 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
29492 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29493 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29498 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29499 $(TARGET-stagefeedback-libiconv)
29501 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29502 clean-stagefeedback: clean-stagefeedback-libiconv
29503 clean-stagefeedback-libiconv:
29504 @if [ $(current_stage) = stagefeedback ]; then \
29505 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29506 else \
29507 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29508 $(MAKE) stagefeedback-start; \
29509 fi; \
29510 cd $(HOST_SUBDIR)/libiconv && \
29511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29512 @endif libiconv-bootstrap
29515 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29516 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29517 maybe-all-stageautoprofile-libiconv:
29518 maybe-clean-stageautoprofile-libiconv:
29519 @if libiconv-bootstrap
29520 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29521 all-stageautoprofile: all-stageautoprofile-libiconv
29522 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29523 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29524 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29525 @r=`${PWD_COMMAND}`; export r; \
29526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29527 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29528 $(HOST_EXPORTS) \
29529 $(POSTSTAGE1_HOST_EXPORTS) \
29530 cd $(HOST_SUBDIR)/libiconv && \
29531 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29533 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29534 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
29535 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29536 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29540 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29541 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29542 $(TARGET-stageautoprofile-libiconv)
29544 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29545 clean-stageautoprofile: clean-stageautoprofile-libiconv
29546 clean-stageautoprofile-libiconv:
29547 @if [ $(current_stage) = stageautoprofile ]; then \
29548 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29549 else \
29550 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29551 $(MAKE) stageautoprofile-start; \
29552 fi; \
29553 cd $(HOST_SUBDIR)/libiconv && \
29554 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29555 @endif libiconv-bootstrap
29558 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29559 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29560 maybe-all-stageautofeedback-libiconv:
29561 maybe-clean-stageautofeedback-libiconv:
29562 @if libiconv-bootstrap
29563 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29564 all-stageautofeedback: all-stageautofeedback-libiconv
29565 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29566 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29567 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29568 @r=`${PWD_COMMAND}`; export r; \
29569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29570 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29571 $(HOST_EXPORTS) \
29572 $(POSTSTAGE1_HOST_EXPORTS) \
29573 cd $(HOST_SUBDIR)/libiconv && \
29575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29576 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29577 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
29578 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29579 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29580 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29581 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29582 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29583 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29584 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29585 $(TARGET-stageautofeedback-libiconv)
29587 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29588 clean-stageautofeedback: clean-stageautofeedback-libiconv
29589 clean-stageautofeedback-libiconv:
29590 @if [ $(current_stage) = stageautofeedback ]; then \
29591 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29592 else \
29593 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29594 $(MAKE) stageautofeedback-start; \
29595 fi; \
29596 cd $(HOST_SUBDIR)/libiconv && \
29597 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29598 @endif libiconv-bootstrap
29604 .PHONY: check-libiconv maybe-check-libiconv
29605 maybe-check-libiconv:
29606 @if libiconv
29607 maybe-check-libiconv: check-libiconv
29609 check-libiconv:
29610 @: $(MAKE); $(unstage)
29611 @r=`${PWD_COMMAND}`; export r; \
29612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29613 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29614 (cd $(HOST_SUBDIR)/libiconv && \
29615 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29617 @endif libiconv
29619 .PHONY: install-libiconv maybe-install-libiconv
29620 maybe-install-libiconv:
29621 @if libiconv
29622 maybe-install-libiconv: install-libiconv
29624 install-libiconv:
29626 @endif libiconv
29628 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29629 maybe-install-strip-libiconv:
29630 @if libiconv
29631 maybe-install-strip-libiconv: install-strip-libiconv
29633 install-strip-libiconv:
29635 @endif libiconv
29637 # Other targets (info, dvi, pdf, etc.)
29639 .PHONY: maybe-info-libiconv info-libiconv
29640 maybe-info-libiconv:
29641 @if libiconv
29642 maybe-info-libiconv: info-libiconv
29644 # libiconv doesn't support info.
29645 info-libiconv:
29647 @endif libiconv
29649 .PHONY: maybe-dvi-libiconv dvi-libiconv
29650 maybe-dvi-libiconv:
29651 @if libiconv
29652 maybe-dvi-libiconv: dvi-libiconv
29654 dvi-libiconv: \
29655 configure-libiconv
29656 @[ -f ./libiconv/Makefile ] || exit 0; \
29657 r=`${PWD_COMMAND}`; export r; \
29658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29659 $(HOST_EXPORTS) \
29660 for flag in $(EXTRA_HOST_FLAGS) ; do \
29661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29662 done; \
29663 echo "Doing dvi in libiconv"; \
29664 (cd $(HOST_SUBDIR)/libiconv && \
29665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29667 "RANLIB=$${RANLIB}" \
29668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29669 dvi) \
29670 || exit 1
29672 @endif libiconv
29674 .PHONY: maybe-pdf-libiconv pdf-libiconv
29675 maybe-pdf-libiconv:
29676 @if libiconv
29677 maybe-pdf-libiconv: pdf-libiconv
29679 # libiconv doesn't support pdf.
29680 pdf-libiconv:
29682 @endif libiconv
29684 .PHONY: maybe-html-libiconv html-libiconv
29685 maybe-html-libiconv:
29686 @if libiconv
29687 maybe-html-libiconv: html-libiconv
29689 # libiconv doesn't support html.
29690 html-libiconv:
29692 @endif libiconv
29694 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29695 maybe-TAGS-libiconv:
29696 @if libiconv
29697 maybe-TAGS-libiconv: TAGS-libiconv
29699 TAGS-libiconv: \
29700 configure-libiconv
29701 @[ -f ./libiconv/Makefile ] || exit 0; \
29702 r=`${PWD_COMMAND}`; export r; \
29703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29704 $(HOST_EXPORTS) \
29705 for flag in $(EXTRA_HOST_FLAGS) ; do \
29706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29707 done; \
29708 echo "Doing TAGS in libiconv"; \
29709 (cd $(HOST_SUBDIR)/libiconv && \
29710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29712 "RANLIB=$${RANLIB}" \
29713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29714 TAGS) \
29715 || exit 1
29717 @endif libiconv
29719 .PHONY: maybe-install-info-libiconv install-info-libiconv
29720 maybe-install-info-libiconv:
29721 @if libiconv
29722 maybe-install-info-libiconv: install-info-libiconv
29724 # libiconv doesn't support install-info.
29725 install-info-libiconv:
29727 @endif libiconv
29729 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29730 maybe-install-pdf-libiconv:
29731 @if libiconv
29732 maybe-install-pdf-libiconv: install-pdf-libiconv
29734 # libiconv doesn't support install-pdf.
29735 install-pdf-libiconv:
29737 @endif libiconv
29739 .PHONY: maybe-install-html-libiconv install-html-libiconv
29740 maybe-install-html-libiconv:
29741 @if libiconv
29742 maybe-install-html-libiconv: install-html-libiconv
29744 # libiconv doesn't support install-html.
29745 install-html-libiconv:
29747 @endif libiconv
29749 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29750 maybe-installcheck-libiconv:
29751 @if libiconv
29752 maybe-installcheck-libiconv: installcheck-libiconv
29754 installcheck-libiconv: \
29755 configure-libiconv
29756 @[ -f ./libiconv/Makefile ] || exit 0; \
29757 r=`${PWD_COMMAND}`; export r; \
29758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29759 $(HOST_EXPORTS) \
29760 for flag in $(EXTRA_HOST_FLAGS) ; do \
29761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29762 done; \
29763 echo "Doing installcheck in libiconv"; \
29764 (cd $(HOST_SUBDIR)/libiconv && \
29765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29767 "RANLIB=$${RANLIB}" \
29768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29769 installcheck) \
29770 || exit 1
29772 @endif libiconv
29774 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29775 maybe-mostlyclean-libiconv:
29776 @if libiconv
29777 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29779 mostlyclean-libiconv:
29780 @[ -f ./libiconv/Makefile ] || exit 0; \
29781 r=`${PWD_COMMAND}`; export r; \
29782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29783 $(HOST_EXPORTS) \
29784 for flag in $(EXTRA_HOST_FLAGS) ; do \
29785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29786 done; \
29787 echo "Doing mostlyclean in libiconv"; \
29788 (cd $(HOST_SUBDIR)/libiconv && \
29789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29791 "RANLIB=$${RANLIB}" \
29792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29793 mostlyclean) \
29794 || exit 1
29796 @endif libiconv
29798 .PHONY: maybe-clean-libiconv clean-libiconv
29799 maybe-clean-libiconv:
29800 @if libiconv
29801 maybe-clean-libiconv: clean-libiconv
29803 clean-libiconv:
29804 @[ -f ./libiconv/Makefile ] || exit 0; \
29805 r=`${PWD_COMMAND}`; export r; \
29806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29807 $(HOST_EXPORTS) \
29808 for flag in $(EXTRA_HOST_FLAGS) ; do \
29809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29810 done; \
29811 echo "Doing clean in libiconv"; \
29812 (cd $(HOST_SUBDIR)/libiconv && \
29813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29815 "RANLIB=$${RANLIB}" \
29816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29817 clean) \
29818 || exit 1
29820 @endif libiconv
29822 .PHONY: maybe-distclean-libiconv distclean-libiconv
29823 maybe-distclean-libiconv:
29824 @if libiconv
29825 maybe-distclean-libiconv: distclean-libiconv
29827 distclean-libiconv:
29828 @[ -f ./libiconv/Makefile ] || exit 0; \
29829 r=`${PWD_COMMAND}`; export r; \
29830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29831 $(HOST_EXPORTS) \
29832 for flag in $(EXTRA_HOST_FLAGS) ; do \
29833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29834 done; \
29835 echo "Doing distclean in libiconv"; \
29836 (cd $(HOST_SUBDIR)/libiconv && \
29837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29839 "RANLIB=$${RANLIB}" \
29840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29841 distclean) \
29842 || exit 1
29844 @endif libiconv
29846 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29847 maybe-maintainer-clean-libiconv:
29848 @if libiconv
29849 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29851 maintainer-clean-libiconv:
29852 @[ -f ./libiconv/Makefile ] || exit 0; \
29853 r=`${PWD_COMMAND}`; export r; \
29854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29855 $(HOST_EXPORTS) \
29856 for flag in $(EXTRA_HOST_FLAGS) ; do \
29857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29858 done; \
29859 echo "Doing maintainer-clean in libiconv"; \
29860 (cd $(HOST_SUBDIR)/libiconv && \
29861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29863 "RANLIB=$${RANLIB}" \
29864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29865 maintainer-clean) \
29866 || exit 1
29868 @endif libiconv
29872 .PHONY: configure-m4 maybe-configure-m4
29873 maybe-configure-m4:
29874 @if gcc-bootstrap
29875 configure-m4: stage_current
29876 @endif gcc-bootstrap
29877 @if m4
29878 maybe-configure-m4: configure-m4
29879 configure-m4:
29880 @: $(MAKE); $(unstage)
29881 @r=`${PWD_COMMAND}`; export r; \
29882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29883 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29885 $(HOST_EXPORTS) \
29886 echo Configuring in $(HOST_SUBDIR)/m4; \
29887 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29888 case $(srcdir) in \
29889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29890 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29892 esac; \
29893 module_srcdir=m4; \
29894 $(SHELL) \
29895 $$s/$$module_srcdir/configure \
29896 --srcdir=$${topdir}/$$module_srcdir \
29897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29898 --target=${target_alias} \
29899 || exit 1
29900 @endif m4
29906 .PHONY: all-m4 maybe-all-m4
29907 maybe-all-m4:
29908 @if gcc-bootstrap
29909 all-m4: stage_current
29910 @endif gcc-bootstrap
29911 @if m4
29912 TARGET-m4=all
29913 maybe-all-m4: all-m4
29914 all-m4: configure-m4
29915 @: $(MAKE); $(unstage)
29916 @r=`${PWD_COMMAND}`; export r; \
29917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29918 $(HOST_EXPORTS) \
29919 (cd $(HOST_SUBDIR)/m4 && \
29920 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29921 $(TARGET-m4))
29922 @endif m4
29927 .PHONY: check-m4 maybe-check-m4
29928 maybe-check-m4:
29929 @if m4
29930 maybe-check-m4: check-m4
29932 check-m4:
29933 @: $(MAKE); $(unstage)
29934 @r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 $(HOST_EXPORTS) \
29937 (cd $(HOST_SUBDIR)/m4 && \
29938 $(MAKE) $(FLAGS_TO_PASS) check)
29940 @endif m4
29942 .PHONY: install-m4 maybe-install-m4
29943 maybe-install-m4:
29944 @if m4
29945 maybe-install-m4: install-m4
29947 install-m4: installdirs
29948 @: $(MAKE); $(unstage)
29949 @r=`${PWD_COMMAND}`; export r; \
29950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29951 $(HOST_EXPORTS) \
29952 (cd $(HOST_SUBDIR)/m4 && \
29953 $(MAKE) $(FLAGS_TO_PASS) install)
29955 @endif m4
29957 .PHONY: install-strip-m4 maybe-install-strip-m4
29958 maybe-install-strip-m4:
29959 @if m4
29960 maybe-install-strip-m4: install-strip-m4
29962 install-strip-m4: installdirs
29963 @: $(MAKE); $(unstage)
29964 @r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(HOST_EXPORTS) \
29967 (cd $(HOST_SUBDIR)/m4 && \
29968 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29970 @endif m4
29972 # Other targets (info, dvi, pdf, etc.)
29974 .PHONY: maybe-info-m4 info-m4
29975 maybe-info-m4:
29976 @if m4
29977 maybe-info-m4: info-m4
29979 info-m4: \
29980 configure-m4
29981 @: $(MAKE); $(unstage)
29982 @[ -f ./m4/Makefile ] || exit 0; \
29983 r=`${PWD_COMMAND}`; export r; \
29984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29985 $(HOST_EXPORTS) \
29986 for flag in $(EXTRA_HOST_FLAGS) ; do \
29987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29988 done; \
29989 echo "Doing info in m4"; \
29990 (cd $(HOST_SUBDIR)/m4 && \
29991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29993 "RANLIB=$${RANLIB}" \
29994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29995 info) \
29996 || exit 1
29998 @endif m4
30000 .PHONY: maybe-dvi-m4 dvi-m4
30001 maybe-dvi-m4:
30002 @if m4
30003 maybe-dvi-m4: dvi-m4
30005 dvi-m4: \
30006 configure-m4
30007 @: $(MAKE); $(unstage)
30008 @[ -f ./m4/Makefile ] || exit 0; \
30009 r=`${PWD_COMMAND}`; export r; \
30010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30011 $(HOST_EXPORTS) \
30012 for flag in $(EXTRA_HOST_FLAGS) ; do \
30013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30014 done; \
30015 echo "Doing dvi in m4"; \
30016 (cd $(HOST_SUBDIR)/m4 && \
30017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30019 "RANLIB=$${RANLIB}" \
30020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30021 dvi) \
30022 || exit 1
30024 @endif m4
30026 .PHONY: maybe-pdf-m4 pdf-m4
30027 maybe-pdf-m4:
30028 @if m4
30029 maybe-pdf-m4: pdf-m4
30031 pdf-m4: \
30032 configure-m4
30033 @: $(MAKE); $(unstage)
30034 @[ -f ./m4/Makefile ] || exit 0; \
30035 r=`${PWD_COMMAND}`; export r; \
30036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30037 $(HOST_EXPORTS) \
30038 for flag in $(EXTRA_HOST_FLAGS) ; do \
30039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30040 done; \
30041 echo "Doing pdf in m4"; \
30042 (cd $(HOST_SUBDIR)/m4 && \
30043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30045 "RANLIB=$${RANLIB}" \
30046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30047 pdf) \
30048 || exit 1
30050 @endif m4
30052 .PHONY: maybe-html-m4 html-m4
30053 maybe-html-m4:
30054 @if m4
30055 maybe-html-m4: html-m4
30057 html-m4: \
30058 configure-m4
30059 @: $(MAKE); $(unstage)
30060 @[ -f ./m4/Makefile ] || exit 0; \
30061 r=`${PWD_COMMAND}`; export r; \
30062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30063 $(HOST_EXPORTS) \
30064 for flag in $(EXTRA_HOST_FLAGS) ; do \
30065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30066 done; \
30067 echo "Doing html in m4"; \
30068 (cd $(HOST_SUBDIR)/m4 && \
30069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30071 "RANLIB=$${RANLIB}" \
30072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30073 html) \
30074 || exit 1
30076 @endif m4
30078 .PHONY: maybe-TAGS-m4 TAGS-m4
30079 maybe-TAGS-m4:
30080 @if m4
30081 maybe-TAGS-m4: TAGS-m4
30083 TAGS-m4: \
30084 configure-m4
30085 @: $(MAKE); $(unstage)
30086 @[ -f ./m4/Makefile ] || exit 0; \
30087 r=`${PWD_COMMAND}`; export r; \
30088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30089 $(HOST_EXPORTS) \
30090 for flag in $(EXTRA_HOST_FLAGS) ; do \
30091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30092 done; \
30093 echo "Doing TAGS in m4"; \
30094 (cd $(HOST_SUBDIR)/m4 && \
30095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30097 "RANLIB=$${RANLIB}" \
30098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30099 TAGS) \
30100 || exit 1
30102 @endif m4
30104 .PHONY: maybe-install-info-m4 install-info-m4
30105 maybe-install-info-m4:
30106 @if m4
30107 maybe-install-info-m4: install-info-m4
30109 install-info-m4: \
30110 configure-m4 \
30111 info-m4
30112 @: $(MAKE); $(unstage)
30113 @[ -f ./m4/Makefile ] || exit 0; \
30114 r=`${PWD_COMMAND}`; export r; \
30115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30116 $(HOST_EXPORTS) \
30117 for flag in $(EXTRA_HOST_FLAGS) ; do \
30118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30119 done; \
30120 echo "Doing install-info in m4"; \
30121 (cd $(HOST_SUBDIR)/m4 && \
30122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30124 "RANLIB=$${RANLIB}" \
30125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30126 install-info) \
30127 || exit 1
30129 @endif m4
30131 .PHONY: maybe-install-pdf-m4 install-pdf-m4
30132 maybe-install-pdf-m4:
30133 @if m4
30134 maybe-install-pdf-m4: install-pdf-m4
30136 install-pdf-m4: \
30137 configure-m4 \
30138 pdf-m4
30139 @: $(MAKE); $(unstage)
30140 @[ -f ./m4/Makefile ] || exit 0; \
30141 r=`${PWD_COMMAND}`; export r; \
30142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30143 $(HOST_EXPORTS) \
30144 for flag in $(EXTRA_HOST_FLAGS) ; do \
30145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30146 done; \
30147 echo "Doing install-pdf in m4"; \
30148 (cd $(HOST_SUBDIR)/m4 && \
30149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30151 "RANLIB=$${RANLIB}" \
30152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30153 install-pdf) \
30154 || exit 1
30156 @endif m4
30158 .PHONY: maybe-install-html-m4 install-html-m4
30159 maybe-install-html-m4:
30160 @if m4
30161 maybe-install-html-m4: install-html-m4
30163 install-html-m4: \
30164 configure-m4 \
30165 html-m4
30166 @: $(MAKE); $(unstage)
30167 @[ -f ./m4/Makefile ] || exit 0; \
30168 r=`${PWD_COMMAND}`; export r; \
30169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30170 $(HOST_EXPORTS) \
30171 for flag in $(EXTRA_HOST_FLAGS) ; do \
30172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30173 done; \
30174 echo "Doing install-html in m4"; \
30175 (cd $(HOST_SUBDIR)/m4 && \
30176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30178 "RANLIB=$${RANLIB}" \
30179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30180 install-html) \
30181 || exit 1
30183 @endif m4
30185 .PHONY: maybe-installcheck-m4 installcheck-m4
30186 maybe-installcheck-m4:
30187 @if m4
30188 maybe-installcheck-m4: installcheck-m4
30190 installcheck-m4: \
30191 configure-m4
30192 @: $(MAKE); $(unstage)
30193 @[ -f ./m4/Makefile ] || exit 0; \
30194 r=`${PWD_COMMAND}`; export r; \
30195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30196 $(HOST_EXPORTS) \
30197 for flag in $(EXTRA_HOST_FLAGS) ; do \
30198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30199 done; \
30200 echo "Doing installcheck in m4"; \
30201 (cd $(HOST_SUBDIR)/m4 && \
30202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30204 "RANLIB=$${RANLIB}" \
30205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30206 installcheck) \
30207 || exit 1
30209 @endif m4
30211 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
30212 maybe-mostlyclean-m4:
30213 @if m4
30214 maybe-mostlyclean-m4: mostlyclean-m4
30216 mostlyclean-m4:
30217 @: $(MAKE); $(unstage)
30218 @[ -f ./m4/Makefile ] || exit 0; \
30219 r=`${PWD_COMMAND}`; export r; \
30220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30221 $(HOST_EXPORTS) \
30222 for flag in $(EXTRA_HOST_FLAGS) ; do \
30223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30224 done; \
30225 echo "Doing mostlyclean in m4"; \
30226 (cd $(HOST_SUBDIR)/m4 && \
30227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30229 "RANLIB=$${RANLIB}" \
30230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30231 mostlyclean) \
30232 || exit 1
30234 @endif m4
30236 .PHONY: maybe-clean-m4 clean-m4
30237 maybe-clean-m4:
30238 @if m4
30239 maybe-clean-m4: clean-m4
30241 clean-m4:
30242 @: $(MAKE); $(unstage)
30243 @[ -f ./m4/Makefile ] || exit 0; \
30244 r=`${PWD_COMMAND}`; export r; \
30245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30246 $(HOST_EXPORTS) \
30247 for flag in $(EXTRA_HOST_FLAGS) ; do \
30248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30249 done; \
30250 echo "Doing clean in m4"; \
30251 (cd $(HOST_SUBDIR)/m4 && \
30252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30254 "RANLIB=$${RANLIB}" \
30255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30256 clean) \
30257 || exit 1
30259 @endif m4
30261 .PHONY: maybe-distclean-m4 distclean-m4
30262 maybe-distclean-m4:
30263 @if m4
30264 maybe-distclean-m4: distclean-m4
30266 distclean-m4:
30267 @: $(MAKE); $(unstage)
30268 @[ -f ./m4/Makefile ] || exit 0; \
30269 r=`${PWD_COMMAND}`; export r; \
30270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30271 $(HOST_EXPORTS) \
30272 for flag in $(EXTRA_HOST_FLAGS) ; do \
30273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30274 done; \
30275 echo "Doing distclean in m4"; \
30276 (cd $(HOST_SUBDIR)/m4 && \
30277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30279 "RANLIB=$${RANLIB}" \
30280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30281 distclean) \
30282 || exit 1
30284 @endif m4
30286 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30287 maybe-maintainer-clean-m4:
30288 @if m4
30289 maybe-maintainer-clean-m4: maintainer-clean-m4
30291 maintainer-clean-m4:
30292 @: $(MAKE); $(unstage)
30293 @[ -f ./m4/Makefile ] || exit 0; \
30294 r=`${PWD_COMMAND}`; export r; \
30295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30296 $(HOST_EXPORTS) \
30297 for flag in $(EXTRA_HOST_FLAGS) ; do \
30298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30299 done; \
30300 echo "Doing maintainer-clean in m4"; \
30301 (cd $(HOST_SUBDIR)/m4 && \
30302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30304 "RANLIB=$${RANLIB}" \
30305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30306 maintainer-clean) \
30307 || exit 1
30309 @endif m4
30313 .PHONY: configure-readline maybe-configure-readline
30314 maybe-configure-readline:
30315 @if gcc-bootstrap
30316 configure-readline: stage_current
30317 @endif gcc-bootstrap
30318 @if readline
30319 maybe-configure-readline: configure-readline
30320 configure-readline:
30321 @: $(MAKE); $(unstage)
30322 @r=`${PWD_COMMAND}`; export r; \
30323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30324 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30326 $(HOST_EXPORTS) \
30327 echo Configuring in $(HOST_SUBDIR)/readline; \
30328 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30329 case $(srcdir) in \
30330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30331 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30333 esac; \
30334 module_srcdir=readline; \
30335 $(SHELL) \
30336 $$s/$$module_srcdir/configure \
30337 --srcdir=$${topdir}/$$module_srcdir \
30338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30339 --target=${target_alias} \
30340 || exit 1
30341 @endif readline
30347 .PHONY: all-readline maybe-all-readline
30348 maybe-all-readline:
30349 @if gcc-bootstrap
30350 all-readline: stage_current
30351 @endif gcc-bootstrap
30352 @if readline
30353 TARGET-readline=all
30354 maybe-all-readline: all-readline
30355 all-readline: configure-readline
30356 @: $(MAKE); $(unstage)
30357 @r=`${PWD_COMMAND}`; export r; \
30358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30359 $(HOST_EXPORTS) \
30360 (cd $(HOST_SUBDIR)/readline && \
30361 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30362 $(TARGET-readline))
30363 @endif readline
30368 .PHONY: check-readline maybe-check-readline
30369 maybe-check-readline:
30370 @if readline
30371 maybe-check-readline: check-readline
30373 check-readline:
30374 @: $(MAKE); $(unstage)
30375 @r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(HOST_EXPORTS) \
30378 (cd $(HOST_SUBDIR)/readline && \
30379 $(MAKE) $(FLAGS_TO_PASS) check)
30381 @endif readline
30383 .PHONY: install-readline maybe-install-readline
30384 maybe-install-readline:
30385 @if readline
30386 maybe-install-readline: install-readline
30388 install-readline: installdirs
30389 @: $(MAKE); $(unstage)
30390 @r=`${PWD_COMMAND}`; export r; \
30391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30392 $(HOST_EXPORTS) \
30393 (cd $(HOST_SUBDIR)/readline && \
30394 $(MAKE) $(FLAGS_TO_PASS) install)
30396 @endif readline
30398 .PHONY: install-strip-readline maybe-install-strip-readline
30399 maybe-install-strip-readline:
30400 @if readline
30401 maybe-install-strip-readline: install-strip-readline
30403 install-strip-readline: installdirs
30404 @: $(MAKE); $(unstage)
30405 @r=`${PWD_COMMAND}`; export r; \
30406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30407 $(HOST_EXPORTS) \
30408 (cd $(HOST_SUBDIR)/readline && \
30409 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30411 @endif readline
30413 # Other targets (info, dvi, pdf, etc.)
30415 .PHONY: maybe-info-readline info-readline
30416 maybe-info-readline:
30417 @if readline
30418 maybe-info-readline: info-readline
30420 info-readline: \
30421 configure-readline
30422 @: $(MAKE); $(unstage)
30423 @[ -f ./readline/Makefile ] || exit 0; \
30424 r=`${PWD_COMMAND}`; export r; \
30425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30426 $(HOST_EXPORTS) \
30427 for flag in $(EXTRA_HOST_FLAGS) ; do \
30428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30429 done; \
30430 echo "Doing info in readline"; \
30431 (cd $(HOST_SUBDIR)/readline && \
30432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30434 "RANLIB=$${RANLIB}" \
30435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30436 info) \
30437 || exit 1
30439 @endif readline
30441 .PHONY: maybe-dvi-readline dvi-readline
30442 maybe-dvi-readline:
30443 @if readline
30444 maybe-dvi-readline: dvi-readline
30446 dvi-readline: \
30447 configure-readline
30448 @: $(MAKE); $(unstage)
30449 @[ -f ./readline/Makefile ] || exit 0; \
30450 r=`${PWD_COMMAND}`; export r; \
30451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30452 $(HOST_EXPORTS) \
30453 for flag in $(EXTRA_HOST_FLAGS) ; do \
30454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30455 done; \
30456 echo "Doing dvi in readline"; \
30457 (cd $(HOST_SUBDIR)/readline && \
30458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30460 "RANLIB=$${RANLIB}" \
30461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30462 dvi) \
30463 || exit 1
30465 @endif readline
30467 .PHONY: maybe-pdf-readline pdf-readline
30468 maybe-pdf-readline:
30469 @if readline
30470 maybe-pdf-readline: pdf-readline
30472 pdf-readline: \
30473 configure-readline
30474 @: $(MAKE); $(unstage)
30475 @[ -f ./readline/Makefile ] || exit 0; \
30476 r=`${PWD_COMMAND}`; export r; \
30477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30478 $(HOST_EXPORTS) \
30479 for flag in $(EXTRA_HOST_FLAGS) ; do \
30480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30481 done; \
30482 echo "Doing pdf in readline"; \
30483 (cd $(HOST_SUBDIR)/readline && \
30484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30486 "RANLIB=$${RANLIB}" \
30487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30488 pdf) \
30489 || exit 1
30491 @endif readline
30493 .PHONY: maybe-html-readline html-readline
30494 maybe-html-readline:
30495 @if readline
30496 maybe-html-readline: html-readline
30498 html-readline: \
30499 configure-readline
30500 @: $(MAKE); $(unstage)
30501 @[ -f ./readline/Makefile ] || exit 0; \
30502 r=`${PWD_COMMAND}`; export r; \
30503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30504 $(HOST_EXPORTS) \
30505 for flag in $(EXTRA_HOST_FLAGS) ; do \
30506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30507 done; \
30508 echo "Doing html in readline"; \
30509 (cd $(HOST_SUBDIR)/readline && \
30510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30512 "RANLIB=$${RANLIB}" \
30513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30514 html) \
30515 || exit 1
30517 @endif readline
30519 .PHONY: maybe-TAGS-readline TAGS-readline
30520 maybe-TAGS-readline:
30521 @if readline
30522 maybe-TAGS-readline: TAGS-readline
30524 TAGS-readline: \
30525 configure-readline
30526 @: $(MAKE); $(unstage)
30527 @[ -f ./readline/Makefile ] || exit 0; \
30528 r=`${PWD_COMMAND}`; export r; \
30529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30530 $(HOST_EXPORTS) \
30531 for flag in $(EXTRA_HOST_FLAGS) ; do \
30532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30533 done; \
30534 echo "Doing TAGS in readline"; \
30535 (cd $(HOST_SUBDIR)/readline && \
30536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30538 "RANLIB=$${RANLIB}" \
30539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30540 TAGS) \
30541 || exit 1
30543 @endif readline
30545 .PHONY: maybe-install-info-readline install-info-readline
30546 maybe-install-info-readline:
30547 @if readline
30548 maybe-install-info-readline: install-info-readline
30550 install-info-readline: \
30551 configure-readline \
30552 info-readline
30553 @: $(MAKE); $(unstage)
30554 @[ -f ./readline/Makefile ] || exit 0; \
30555 r=`${PWD_COMMAND}`; export r; \
30556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30557 $(HOST_EXPORTS) \
30558 for flag in $(EXTRA_HOST_FLAGS) ; do \
30559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30560 done; \
30561 echo "Doing install-info in readline"; \
30562 (cd $(HOST_SUBDIR)/readline && \
30563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30565 "RANLIB=$${RANLIB}" \
30566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30567 install-info) \
30568 || exit 1
30570 @endif readline
30572 .PHONY: maybe-install-pdf-readline install-pdf-readline
30573 maybe-install-pdf-readline:
30574 @if readline
30575 maybe-install-pdf-readline: install-pdf-readline
30577 install-pdf-readline: \
30578 configure-readline \
30579 pdf-readline
30580 @: $(MAKE); $(unstage)
30581 @[ -f ./readline/Makefile ] || exit 0; \
30582 r=`${PWD_COMMAND}`; export r; \
30583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30584 $(HOST_EXPORTS) \
30585 for flag in $(EXTRA_HOST_FLAGS) ; do \
30586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30587 done; \
30588 echo "Doing install-pdf in readline"; \
30589 (cd $(HOST_SUBDIR)/readline && \
30590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30592 "RANLIB=$${RANLIB}" \
30593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30594 install-pdf) \
30595 || exit 1
30597 @endif readline
30599 .PHONY: maybe-install-html-readline install-html-readline
30600 maybe-install-html-readline:
30601 @if readline
30602 maybe-install-html-readline: install-html-readline
30604 install-html-readline: \
30605 configure-readline \
30606 html-readline
30607 @: $(MAKE); $(unstage)
30608 @[ -f ./readline/Makefile ] || exit 0; \
30609 r=`${PWD_COMMAND}`; export r; \
30610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30611 $(HOST_EXPORTS) \
30612 for flag in $(EXTRA_HOST_FLAGS) ; do \
30613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30614 done; \
30615 echo "Doing install-html in readline"; \
30616 (cd $(HOST_SUBDIR)/readline && \
30617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30619 "RANLIB=$${RANLIB}" \
30620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30621 install-html) \
30622 || exit 1
30624 @endif readline
30626 .PHONY: maybe-installcheck-readline installcheck-readline
30627 maybe-installcheck-readline:
30628 @if readline
30629 maybe-installcheck-readline: installcheck-readline
30631 installcheck-readline: \
30632 configure-readline
30633 @: $(MAKE); $(unstage)
30634 @[ -f ./readline/Makefile ] || exit 0; \
30635 r=`${PWD_COMMAND}`; export r; \
30636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30637 $(HOST_EXPORTS) \
30638 for flag in $(EXTRA_HOST_FLAGS) ; do \
30639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30640 done; \
30641 echo "Doing installcheck in readline"; \
30642 (cd $(HOST_SUBDIR)/readline && \
30643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30645 "RANLIB=$${RANLIB}" \
30646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30647 installcheck) \
30648 || exit 1
30650 @endif readline
30652 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30653 maybe-mostlyclean-readline:
30654 @if readline
30655 maybe-mostlyclean-readline: mostlyclean-readline
30657 mostlyclean-readline:
30658 @: $(MAKE); $(unstage)
30659 @[ -f ./readline/Makefile ] || exit 0; \
30660 r=`${PWD_COMMAND}`; export r; \
30661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30662 $(HOST_EXPORTS) \
30663 for flag in $(EXTRA_HOST_FLAGS) ; do \
30664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30665 done; \
30666 echo "Doing mostlyclean in readline"; \
30667 (cd $(HOST_SUBDIR)/readline && \
30668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30670 "RANLIB=$${RANLIB}" \
30671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30672 mostlyclean) \
30673 || exit 1
30675 @endif readline
30677 .PHONY: maybe-clean-readline clean-readline
30678 maybe-clean-readline:
30679 @if readline
30680 maybe-clean-readline: clean-readline
30682 clean-readline:
30683 @: $(MAKE); $(unstage)
30684 @[ -f ./readline/Makefile ] || exit 0; \
30685 r=`${PWD_COMMAND}`; export r; \
30686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30687 $(HOST_EXPORTS) \
30688 for flag in $(EXTRA_HOST_FLAGS) ; do \
30689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30690 done; \
30691 echo "Doing clean in readline"; \
30692 (cd $(HOST_SUBDIR)/readline && \
30693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30695 "RANLIB=$${RANLIB}" \
30696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30697 clean) \
30698 || exit 1
30700 @endif readline
30702 .PHONY: maybe-distclean-readline distclean-readline
30703 maybe-distclean-readline:
30704 @if readline
30705 maybe-distclean-readline: distclean-readline
30707 distclean-readline:
30708 @: $(MAKE); $(unstage)
30709 @[ -f ./readline/Makefile ] || exit 0; \
30710 r=`${PWD_COMMAND}`; export r; \
30711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30712 $(HOST_EXPORTS) \
30713 for flag in $(EXTRA_HOST_FLAGS) ; do \
30714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30715 done; \
30716 echo "Doing distclean in readline"; \
30717 (cd $(HOST_SUBDIR)/readline && \
30718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30720 "RANLIB=$${RANLIB}" \
30721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30722 distclean) \
30723 || exit 1
30725 @endif readline
30727 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30728 maybe-maintainer-clean-readline:
30729 @if readline
30730 maybe-maintainer-clean-readline: maintainer-clean-readline
30732 maintainer-clean-readline:
30733 @: $(MAKE); $(unstage)
30734 @[ -f ./readline/Makefile ] || exit 0; \
30735 r=`${PWD_COMMAND}`; export r; \
30736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30737 $(HOST_EXPORTS) \
30738 for flag in $(EXTRA_HOST_FLAGS) ; do \
30739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30740 done; \
30741 echo "Doing maintainer-clean in readline"; \
30742 (cd $(HOST_SUBDIR)/readline && \
30743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30745 "RANLIB=$${RANLIB}" \
30746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30747 maintainer-clean) \
30748 || exit 1
30750 @endif readline
30754 .PHONY: configure-sid maybe-configure-sid
30755 maybe-configure-sid:
30756 @if gcc-bootstrap
30757 configure-sid: stage_current
30758 @endif gcc-bootstrap
30759 @if sid
30760 maybe-configure-sid: configure-sid
30761 configure-sid:
30762 @: $(MAKE); $(unstage)
30763 @r=`${PWD_COMMAND}`; export r; \
30764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30765 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30767 $(HOST_EXPORTS) \
30768 echo Configuring in $(HOST_SUBDIR)/sid; \
30769 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30770 case $(srcdir) in \
30771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30772 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30774 esac; \
30775 module_srcdir=sid; \
30776 $(SHELL) \
30777 $$s/$$module_srcdir/configure \
30778 --srcdir=$${topdir}/$$module_srcdir \
30779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30780 --target=${target_alias} \
30781 || exit 1
30782 @endif sid
30788 .PHONY: all-sid maybe-all-sid
30789 maybe-all-sid:
30790 @if gcc-bootstrap
30791 all-sid: stage_current
30792 @endif gcc-bootstrap
30793 @if sid
30794 TARGET-sid=all
30795 maybe-all-sid: all-sid
30796 all-sid: configure-sid
30797 @: $(MAKE); $(unstage)
30798 @r=`${PWD_COMMAND}`; export r; \
30799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30800 $(HOST_EXPORTS) \
30801 (cd $(HOST_SUBDIR)/sid && \
30802 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30803 $(TARGET-sid))
30804 @endif sid
30809 .PHONY: check-sid maybe-check-sid
30810 maybe-check-sid:
30811 @if sid
30812 maybe-check-sid: check-sid
30814 check-sid:
30815 @: $(MAKE); $(unstage)
30816 @r=`${PWD_COMMAND}`; export r; \
30817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30818 $(HOST_EXPORTS) \
30819 (cd $(HOST_SUBDIR)/sid && \
30820 $(MAKE) $(FLAGS_TO_PASS) check)
30822 @endif sid
30824 .PHONY: install-sid maybe-install-sid
30825 maybe-install-sid:
30826 @if sid
30827 maybe-install-sid: install-sid
30829 install-sid: installdirs
30830 @: $(MAKE); $(unstage)
30831 @r=`${PWD_COMMAND}`; export r; \
30832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30833 $(HOST_EXPORTS) \
30834 (cd $(HOST_SUBDIR)/sid && \
30835 $(MAKE) $(FLAGS_TO_PASS) install)
30837 @endif sid
30839 .PHONY: install-strip-sid maybe-install-strip-sid
30840 maybe-install-strip-sid:
30841 @if sid
30842 maybe-install-strip-sid: install-strip-sid
30844 install-strip-sid: installdirs
30845 @: $(MAKE); $(unstage)
30846 @r=`${PWD_COMMAND}`; export r; \
30847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30848 $(HOST_EXPORTS) \
30849 (cd $(HOST_SUBDIR)/sid && \
30850 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30852 @endif sid
30854 # Other targets (info, dvi, pdf, etc.)
30856 .PHONY: maybe-info-sid info-sid
30857 maybe-info-sid:
30858 @if sid
30859 maybe-info-sid: info-sid
30861 info-sid: \
30862 configure-sid
30863 @: $(MAKE); $(unstage)
30864 @[ -f ./sid/Makefile ] || exit 0; \
30865 r=`${PWD_COMMAND}`; export r; \
30866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30867 $(HOST_EXPORTS) \
30868 for flag in $(EXTRA_HOST_FLAGS) ; do \
30869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30870 done; \
30871 echo "Doing info in sid"; \
30872 (cd $(HOST_SUBDIR)/sid && \
30873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30875 "RANLIB=$${RANLIB}" \
30876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30877 info) \
30878 || exit 1
30880 @endif sid
30882 .PHONY: maybe-dvi-sid dvi-sid
30883 maybe-dvi-sid:
30884 @if sid
30885 maybe-dvi-sid: dvi-sid
30887 dvi-sid: \
30888 configure-sid
30889 @: $(MAKE); $(unstage)
30890 @[ -f ./sid/Makefile ] || exit 0; \
30891 r=`${PWD_COMMAND}`; export r; \
30892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30893 $(HOST_EXPORTS) \
30894 for flag in $(EXTRA_HOST_FLAGS) ; do \
30895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30896 done; \
30897 echo "Doing dvi in sid"; \
30898 (cd $(HOST_SUBDIR)/sid && \
30899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30901 "RANLIB=$${RANLIB}" \
30902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30903 dvi) \
30904 || exit 1
30906 @endif sid
30908 .PHONY: maybe-pdf-sid pdf-sid
30909 maybe-pdf-sid:
30910 @if sid
30911 maybe-pdf-sid: pdf-sid
30913 pdf-sid: \
30914 configure-sid
30915 @: $(MAKE); $(unstage)
30916 @[ -f ./sid/Makefile ] || exit 0; \
30917 r=`${PWD_COMMAND}`; export r; \
30918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30919 $(HOST_EXPORTS) \
30920 for flag in $(EXTRA_HOST_FLAGS) ; do \
30921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30922 done; \
30923 echo "Doing pdf in sid"; \
30924 (cd $(HOST_SUBDIR)/sid && \
30925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30927 "RANLIB=$${RANLIB}" \
30928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30929 pdf) \
30930 || exit 1
30932 @endif sid
30934 .PHONY: maybe-html-sid html-sid
30935 maybe-html-sid:
30936 @if sid
30937 maybe-html-sid: html-sid
30939 html-sid: \
30940 configure-sid
30941 @: $(MAKE); $(unstage)
30942 @[ -f ./sid/Makefile ] || exit 0; \
30943 r=`${PWD_COMMAND}`; export r; \
30944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30945 $(HOST_EXPORTS) \
30946 for flag in $(EXTRA_HOST_FLAGS) ; do \
30947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30948 done; \
30949 echo "Doing html in sid"; \
30950 (cd $(HOST_SUBDIR)/sid && \
30951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30953 "RANLIB=$${RANLIB}" \
30954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30955 html) \
30956 || exit 1
30958 @endif sid
30960 .PHONY: maybe-TAGS-sid TAGS-sid
30961 maybe-TAGS-sid:
30962 @if sid
30963 maybe-TAGS-sid: TAGS-sid
30965 TAGS-sid: \
30966 configure-sid
30967 @: $(MAKE); $(unstage)
30968 @[ -f ./sid/Makefile ] || exit 0; \
30969 r=`${PWD_COMMAND}`; export r; \
30970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30971 $(HOST_EXPORTS) \
30972 for flag in $(EXTRA_HOST_FLAGS) ; do \
30973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30974 done; \
30975 echo "Doing TAGS in sid"; \
30976 (cd $(HOST_SUBDIR)/sid && \
30977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30979 "RANLIB=$${RANLIB}" \
30980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30981 TAGS) \
30982 || exit 1
30984 @endif sid
30986 .PHONY: maybe-install-info-sid install-info-sid
30987 maybe-install-info-sid:
30988 @if sid
30989 maybe-install-info-sid: install-info-sid
30991 install-info-sid: \
30992 configure-sid \
30993 info-sid
30994 @: $(MAKE); $(unstage)
30995 @[ -f ./sid/Makefile ] || exit 0; \
30996 r=`${PWD_COMMAND}`; export r; \
30997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30998 $(HOST_EXPORTS) \
30999 for flag in $(EXTRA_HOST_FLAGS) ; do \
31000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31001 done; \
31002 echo "Doing install-info in sid"; \
31003 (cd $(HOST_SUBDIR)/sid && \
31004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31006 "RANLIB=$${RANLIB}" \
31007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31008 install-info) \
31009 || exit 1
31011 @endif sid
31013 .PHONY: maybe-install-pdf-sid install-pdf-sid
31014 maybe-install-pdf-sid:
31015 @if sid
31016 maybe-install-pdf-sid: install-pdf-sid
31018 install-pdf-sid: \
31019 configure-sid \
31020 pdf-sid
31021 @: $(MAKE); $(unstage)
31022 @[ -f ./sid/Makefile ] || exit 0; \
31023 r=`${PWD_COMMAND}`; export r; \
31024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31025 $(HOST_EXPORTS) \
31026 for flag in $(EXTRA_HOST_FLAGS) ; do \
31027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31028 done; \
31029 echo "Doing install-pdf in sid"; \
31030 (cd $(HOST_SUBDIR)/sid && \
31031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31033 "RANLIB=$${RANLIB}" \
31034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31035 install-pdf) \
31036 || exit 1
31038 @endif sid
31040 .PHONY: maybe-install-html-sid install-html-sid
31041 maybe-install-html-sid:
31042 @if sid
31043 maybe-install-html-sid: install-html-sid
31045 install-html-sid: \
31046 configure-sid \
31047 html-sid
31048 @: $(MAKE); $(unstage)
31049 @[ -f ./sid/Makefile ] || exit 0; \
31050 r=`${PWD_COMMAND}`; export r; \
31051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31052 $(HOST_EXPORTS) \
31053 for flag in $(EXTRA_HOST_FLAGS) ; do \
31054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31055 done; \
31056 echo "Doing install-html in sid"; \
31057 (cd $(HOST_SUBDIR)/sid && \
31058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31060 "RANLIB=$${RANLIB}" \
31061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31062 install-html) \
31063 || exit 1
31065 @endif sid
31067 .PHONY: maybe-installcheck-sid installcheck-sid
31068 maybe-installcheck-sid:
31069 @if sid
31070 maybe-installcheck-sid: installcheck-sid
31072 installcheck-sid: \
31073 configure-sid
31074 @: $(MAKE); $(unstage)
31075 @[ -f ./sid/Makefile ] || exit 0; \
31076 r=`${PWD_COMMAND}`; export r; \
31077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31078 $(HOST_EXPORTS) \
31079 for flag in $(EXTRA_HOST_FLAGS) ; do \
31080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31081 done; \
31082 echo "Doing installcheck in sid"; \
31083 (cd $(HOST_SUBDIR)/sid && \
31084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31086 "RANLIB=$${RANLIB}" \
31087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31088 installcheck) \
31089 || exit 1
31091 @endif sid
31093 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
31094 maybe-mostlyclean-sid:
31095 @if sid
31096 maybe-mostlyclean-sid: mostlyclean-sid
31098 mostlyclean-sid:
31099 @: $(MAKE); $(unstage)
31100 @[ -f ./sid/Makefile ] || exit 0; \
31101 r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(HOST_EXPORTS) \
31104 for flag in $(EXTRA_HOST_FLAGS) ; do \
31105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31106 done; \
31107 echo "Doing mostlyclean in sid"; \
31108 (cd $(HOST_SUBDIR)/sid && \
31109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31111 "RANLIB=$${RANLIB}" \
31112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31113 mostlyclean) \
31114 || exit 1
31116 @endif sid
31118 .PHONY: maybe-clean-sid clean-sid
31119 maybe-clean-sid:
31120 @if sid
31121 maybe-clean-sid: clean-sid
31123 clean-sid:
31124 @: $(MAKE); $(unstage)
31125 @[ -f ./sid/Makefile ] || exit 0; \
31126 r=`${PWD_COMMAND}`; export r; \
31127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31128 $(HOST_EXPORTS) \
31129 for flag in $(EXTRA_HOST_FLAGS) ; do \
31130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31131 done; \
31132 echo "Doing clean in sid"; \
31133 (cd $(HOST_SUBDIR)/sid && \
31134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31136 "RANLIB=$${RANLIB}" \
31137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31138 clean) \
31139 || exit 1
31141 @endif sid
31143 .PHONY: maybe-distclean-sid distclean-sid
31144 maybe-distclean-sid:
31145 @if sid
31146 maybe-distclean-sid: distclean-sid
31148 distclean-sid:
31149 @: $(MAKE); $(unstage)
31150 @[ -f ./sid/Makefile ] || exit 0; \
31151 r=`${PWD_COMMAND}`; export r; \
31152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31153 $(HOST_EXPORTS) \
31154 for flag in $(EXTRA_HOST_FLAGS) ; do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 echo "Doing distclean in sid"; \
31158 (cd $(HOST_SUBDIR)/sid && \
31159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31161 "RANLIB=$${RANLIB}" \
31162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31163 distclean) \
31164 || exit 1
31166 @endif sid
31168 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
31169 maybe-maintainer-clean-sid:
31170 @if sid
31171 maybe-maintainer-clean-sid: maintainer-clean-sid
31173 maintainer-clean-sid:
31174 @: $(MAKE); $(unstage)
31175 @[ -f ./sid/Makefile ] || exit 0; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(HOST_EXPORTS) \
31179 for flag in $(EXTRA_HOST_FLAGS) ; do \
31180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31181 done; \
31182 echo "Doing maintainer-clean in sid"; \
31183 (cd $(HOST_SUBDIR)/sid && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31188 maintainer-clean) \
31189 || exit 1
31191 @endif sid
31195 .PHONY: configure-sim maybe-configure-sim
31196 maybe-configure-sim:
31197 @if gcc-bootstrap
31198 configure-sim: stage_current
31199 @endif gcc-bootstrap
31200 @if sim
31201 maybe-configure-sim: configure-sim
31202 configure-sim:
31203 @: $(MAKE); $(unstage)
31204 @r=`${PWD_COMMAND}`; export r; \
31205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31206 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
31207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
31208 $(HOST_EXPORTS) \
31209 echo Configuring in $(HOST_SUBDIR)/sim; \
31210 cd "$(HOST_SUBDIR)/sim" || exit 1; \
31211 case $(srcdir) in \
31212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31213 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
31214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31215 esac; \
31216 module_srcdir=sim; \
31217 $(SHELL) \
31218 $$s/$$module_srcdir/configure \
31219 --srcdir=$${topdir}/$$module_srcdir \
31220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31221 --target=${target_alias} \
31222 || exit 1
31223 @endif sim
31229 .PHONY: all-sim maybe-all-sim
31230 maybe-all-sim:
31231 @if gcc-bootstrap
31232 all-sim: stage_current
31233 @endif gcc-bootstrap
31234 @if sim
31235 TARGET-sim=all
31236 maybe-all-sim: all-sim
31237 all-sim: configure-sim
31238 @: $(MAKE); $(unstage)
31239 @r=`${PWD_COMMAND}`; export r; \
31240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31241 $(HOST_EXPORTS) \
31242 (cd $(HOST_SUBDIR)/sim && \
31243 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31244 $(TARGET-sim))
31245 @endif sim
31250 .PHONY: check-sim maybe-check-sim
31251 maybe-check-sim:
31252 @if sim
31253 maybe-check-sim: check-sim
31255 check-sim:
31256 @: $(MAKE); $(unstage)
31257 @r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(HOST_EXPORTS) \
31260 (cd $(HOST_SUBDIR)/sim && \
31261 $(MAKE) $(FLAGS_TO_PASS) check)
31263 @endif sim
31265 .PHONY: install-sim maybe-install-sim
31266 maybe-install-sim:
31267 @if sim
31268 maybe-install-sim: install-sim
31270 install-sim: installdirs
31271 @: $(MAKE); $(unstage)
31272 @r=`${PWD_COMMAND}`; export r; \
31273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31274 $(HOST_EXPORTS) \
31275 (cd $(HOST_SUBDIR)/sim && \
31276 $(MAKE) $(FLAGS_TO_PASS) install)
31278 @endif sim
31280 .PHONY: install-strip-sim maybe-install-strip-sim
31281 maybe-install-strip-sim:
31282 @if sim
31283 maybe-install-strip-sim: install-strip-sim
31285 install-strip-sim: installdirs
31286 @: $(MAKE); $(unstage)
31287 @r=`${PWD_COMMAND}`; export r; \
31288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31289 $(HOST_EXPORTS) \
31290 (cd $(HOST_SUBDIR)/sim && \
31291 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31293 @endif sim
31295 # Other targets (info, dvi, pdf, etc.)
31297 .PHONY: maybe-info-sim info-sim
31298 maybe-info-sim:
31299 @if sim
31300 maybe-info-sim: info-sim
31302 info-sim: \
31303 configure-sim
31304 @: $(MAKE); $(unstage)
31305 @[ -f ./sim/Makefile ] || exit 0; \
31306 r=`${PWD_COMMAND}`; export r; \
31307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31308 $(HOST_EXPORTS) \
31309 for flag in $(EXTRA_HOST_FLAGS) ; do \
31310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31311 done; \
31312 echo "Doing info in sim"; \
31313 (cd $(HOST_SUBDIR)/sim && \
31314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31316 "RANLIB=$${RANLIB}" \
31317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31318 info) \
31319 || exit 1
31321 @endif sim
31323 .PHONY: maybe-dvi-sim dvi-sim
31324 maybe-dvi-sim:
31325 @if sim
31326 maybe-dvi-sim: dvi-sim
31328 dvi-sim: \
31329 configure-sim
31330 @: $(MAKE); $(unstage)
31331 @[ -f ./sim/Makefile ] || exit 0; \
31332 r=`${PWD_COMMAND}`; export r; \
31333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31334 $(HOST_EXPORTS) \
31335 for flag in $(EXTRA_HOST_FLAGS) ; do \
31336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31337 done; \
31338 echo "Doing dvi in sim"; \
31339 (cd $(HOST_SUBDIR)/sim && \
31340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31342 "RANLIB=$${RANLIB}" \
31343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31344 dvi) \
31345 || exit 1
31347 @endif sim
31349 .PHONY: maybe-pdf-sim pdf-sim
31350 maybe-pdf-sim:
31351 @if sim
31352 maybe-pdf-sim: pdf-sim
31354 pdf-sim: \
31355 configure-sim
31356 @: $(MAKE); $(unstage)
31357 @[ -f ./sim/Makefile ] || exit 0; \
31358 r=`${PWD_COMMAND}`; export r; \
31359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31360 $(HOST_EXPORTS) \
31361 for flag in $(EXTRA_HOST_FLAGS) ; do \
31362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31363 done; \
31364 echo "Doing pdf in sim"; \
31365 (cd $(HOST_SUBDIR)/sim && \
31366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31368 "RANLIB=$${RANLIB}" \
31369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31370 pdf) \
31371 || exit 1
31373 @endif sim
31375 .PHONY: maybe-html-sim html-sim
31376 maybe-html-sim:
31377 @if sim
31378 maybe-html-sim: html-sim
31380 html-sim: \
31381 configure-sim
31382 @: $(MAKE); $(unstage)
31383 @[ -f ./sim/Makefile ] || exit 0; \
31384 r=`${PWD_COMMAND}`; export r; \
31385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31386 $(HOST_EXPORTS) \
31387 for flag in $(EXTRA_HOST_FLAGS) ; do \
31388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31389 done; \
31390 echo "Doing html in sim"; \
31391 (cd $(HOST_SUBDIR)/sim && \
31392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31394 "RANLIB=$${RANLIB}" \
31395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31396 html) \
31397 || exit 1
31399 @endif sim
31401 .PHONY: maybe-TAGS-sim TAGS-sim
31402 maybe-TAGS-sim:
31403 @if sim
31404 maybe-TAGS-sim: TAGS-sim
31406 TAGS-sim: \
31407 configure-sim
31408 @: $(MAKE); $(unstage)
31409 @[ -f ./sim/Makefile ] || exit 0; \
31410 r=`${PWD_COMMAND}`; export r; \
31411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31412 $(HOST_EXPORTS) \
31413 for flag in $(EXTRA_HOST_FLAGS) ; do \
31414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31415 done; \
31416 echo "Doing TAGS in sim"; \
31417 (cd $(HOST_SUBDIR)/sim && \
31418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31420 "RANLIB=$${RANLIB}" \
31421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31422 TAGS) \
31423 || exit 1
31425 @endif sim
31427 .PHONY: maybe-install-info-sim install-info-sim
31428 maybe-install-info-sim:
31429 @if sim
31430 maybe-install-info-sim: install-info-sim
31432 install-info-sim: \
31433 configure-sim \
31434 info-sim
31435 @: $(MAKE); $(unstage)
31436 @[ -f ./sim/Makefile ] || exit 0; \
31437 r=`${PWD_COMMAND}`; export r; \
31438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31439 $(HOST_EXPORTS) \
31440 for flag in $(EXTRA_HOST_FLAGS) ; do \
31441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31442 done; \
31443 echo "Doing install-info in sim"; \
31444 (cd $(HOST_SUBDIR)/sim && \
31445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31447 "RANLIB=$${RANLIB}" \
31448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31449 install-info) \
31450 || exit 1
31452 @endif sim
31454 .PHONY: maybe-install-pdf-sim install-pdf-sim
31455 maybe-install-pdf-sim:
31456 @if sim
31457 maybe-install-pdf-sim: install-pdf-sim
31459 install-pdf-sim: \
31460 configure-sim \
31461 pdf-sim
31462 @: $(MAKE); $(unstage)
31463 @[ -f ./sim/Makefile ] || exit 0; \
31464 r=`${PWD_COMMAND}`; export r; \
31465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31466 $(HOST_EXPORTS) \
31467 for flag in $(EXTRA_HOST_FLAGS) ; do \
31468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31469 done; \
31470 echo "Doing install-pdf in sim"; \
31471 (cd $(HOST_SUBDIR)/sim && \
31472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31474 "RANLIB=$${RANLIB}" \
31475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31476 install-pdf) \
31477 || exit 1
31479 @endif sim
31481 .PHONY: maybe-install-html-sim install-html-sim
31482 maybe-install-html-sim:
31483 @if sim
31484 maybe-install-html-sim: install-html-sim
31486 install-html-sim: \
31487 configure-sim \
31488 html-sim
31489 @: $(MAKE); $(unstage)
31490 @[ -f ./sim/Makefile ] || exit 0; \
31491 r=`${PWD_COMMAND}`; export r; \
31492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31493 $(HOST_EXPORTS) \
31494 for flag in $(EXTRA_HOST_FLAGS) ; do \
31495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31496 done; \
31497 echo "Doing install-html in sim"; \
31498 (cd $(HOST_SUBDIR)/sim && \
31499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31501 "RANLIB=$${RANLIB}" \
31502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31503 install-html) \
31504 || exit 1
31506 @endif sim
31508 .PHONY: maybe-installcheck-sim installcheck-sim
31509 maybe-installcheck-sim:
31510 @if sim
31511 maybe-installcheck-sim: installcheck-sim
31513 installcheck-sim: \
31514 configure-sim
31515 @: $(MAKE); $(unstage)
31516 @[ -f ./sim/Makefile ] || exit 0; \
31517 r=`${PWD_COMMAND}`; export r; \
31518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31519 $(HOST_EXPORTS) \
31520 for flag in $(EXTRA_HOST_FLAGS) ; do \
31521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31522 done; \
31523 echo "Doing installcheck in sim"; \
31524 (cd $(HOST_SUBDIR)/sim && \
31525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31527 "RANLIB=$${RANLIB}" \
31528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31529 installcheck) \
31530 || exit 1
31532 @endif sim
31534 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31535 maybe-mostlyclean-sim:
31536 @if sim
31537 maybe-mostlyclean-sim: mostlyclean-sim
31539 mostlyclean-sim:
31540 @: $(MAKE); $(unstage)
31541 @[ -f ./sim/Makefile ] || exit 0; \
31542 r=`${PWD_COMMAND}`; export r; \
31543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31544 $(HOST_EXPORTS) \
31545 for flag in $(EXTRA_HOST_FLAGS) ; do \
31546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31547 done; \
31548 echo "Doing mostlyclean in sim"; \
31549 (cd $(HOST_SUBDIR)/sim && \
31550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31552 "RANLIB=$${RANLIB}" \
31553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31554 mostlyclean) \
31555 || exit 1
31557 @endif sim
31559 .PHONY: maybe-clean-sim clean-sim
31560 maybe-clean-sim:
31561 @if sim
31562 maybe-clean-sim: clean-sim
31564 clean-sim:
31565 @: $(MAKE); $(unstage)
31566 @[ -f ./sim/Makefile ] || exit 0; \
31567 r=`${PWD_COMMAND}`; export r; \
31568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31569 $(HOST_EXPORTS) \
31570 for flag in $(EXTRA_HOST_FLAGS) ; do \
31571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31572 done; \
31573 echo "Doing clean in sim"; \
31574 (cd $(HOST_SUBDIR)/sim && \
31575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31577 "RANLIB=$${RANLIB}" \
31578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31579 clean) \
31580 || exit 1
31582 @endif sim
31584 .PHONY: maybe-distclean-sim distclean-sim
31585 maybe-distclean-sim:
31586 @if sim
31587 maybe-distclean-sim: distclean-sim
31589 distclean-sim:
31590 @: $(MAKE); $(unstage)
31591 @[ -f ./sim/Makefile ] || exit 0; \
31592 r=`${PWD_COMMAND}`; export r; \
31593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31594 $(HOST_EXPORTS) \
31595 for flag in $(EXTRA_HOST_FLAGS) ; do \
31596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31597 done; \
31598 echo "Doing distclean in sim"; \
31599 (cd $(HOST_SUBDIR)/sim && \
31600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31602 "RANLIB=$${RANLIB}" \
31603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31604 distclean) \
31605 || exit 1
31607 @endif sim
31609 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31610 maybe-maintainer-clean-sim:
31611 @if sim
31612 maybe-maintainer-clean-sim: maintainer-clean-sim
31614 maintainer-clean-sim:
31615 @: $(MAKE); $(unstage)
31616 @[ -f ./sim/Makefile ] || exit 0; \
31617 r=`${PWD_COMMAND}`; export r; \
31618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31619 $(HOST_EXPORTS) \
31620 for flag in $(EXTRA_HOST_FLAGS) ; do \
31621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31622 done; \
31623 echo "Doing maintainer-clean in sim"; \
31624 (cd $(HOST_SUBDIR)/sim && \
31625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31627 "RANLIB=$${RANLIB}" \
31628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31629 maintainer-clean) \
31630 || exit 1
31632 @endif sim
31636 .PHONY: configure-texinfo maybe-configure-texinfo
31637 maybe-configure-texinfo:
31638 @if gcc-bootstrap
31639 configure-texinfo: stage_current
31640 @endif gcc-bootstrap
31641 @if texinfo
31642 maybe-configure-texinfo: configure-texinfo
31643 configure-texinfo:
31644 @: $(MAKE); $(unstage)
31645 @r=`${PWD_COMMAND}`; export r; \
31646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31647 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31649 $(HOST_EXPORTS) \
31650 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31651 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31652 case $(srcdir) in \
31653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31654 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31656 esac; \
31657 module_srcdir=texinfo; \
31658 $(SHELL) \
31659 $$s/$$module_srcdir/configure \
31660 --srcdir=$${topdir}/$$module_srcdir \
31661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31662 --target=${target_alias} \
31663 || exit 1
31664 @endif texinfo
31670 .PHONY: all-texinfo maybe-all-texinfo
31671 maybe-all-texinfo:
31672 @if gcc-bootstrap
31673 all-texinfo: stage_current
31674 @endif gcc-bootstrap
31675 @if texinfo
31676 TARGET-texinfo=all
31677 maybe-all-texinfo: all-texinfo
31678 all-texinfo: configure-texinfo
31679 @: $(MAKE); $(unstage)
31680 @r=`${PWD_COMMAND}`; export r; \
31681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31682 $(HOST_EXPORTS) \
31683 (cd $(HOST_SUBDIR)/texinfo && \
31684 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31685 $(TARGET-texinfo))
31686 @endif texinfo
31691 .PHONY: check-texinfo maybe-check-texinfo
31692 maybe-check-texinfo:
31693 @if texinfo
31694 maybe-check-texinfo: check-texinfo
31696 check-texinfo:
31697 @: $(MAKE); $(unstage)
31698 @r=`${PWD_COMMAND}`; export r; \
31699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31700 $(HOST_EXPORTS) \
31701 (cd $(HOST_SUBDIR)/texinfo && \
31702 $(MAKE) $(FLAGS_TO_PASS) check)
31704 @endif texinfo
31706 .PHONY: install-texinfo maybe-install-texinfo
31707 maybe-install-texinfo:
31708 @if texinfo
31709 maybe-install-texinfo: install-texinfo
31711 install-texinfo:
31713 @endif texinfo
31715 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31716 maybe-install-strip-texinfo:
31717 @if texinfo
31718 maybe-install-strip-texinfo: install-strip-texinfo
31720 install-strip-texinfo:
31722 @endif texinfo
31724 # Other targets (info, dvi, pdf, etc.)
31726 .PHONY: maybe-info-texinfo info-texinfo
31727 maybe-info-texinfo:
31728 @if texinfo
31729 maybe-info-texinfo: info-texinfo
31731 info-texinfo: \
31732 configure-texinfo
31733 @: $(MAKE); $(unstage)
31734 @[ -f ./texinfo/Makefile ] || exit 0; \
31735 r=`${PWD_COMMAND}`; export r; \
31736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31737 $(HOST_EXPORTS) \
31738 for flag in $(EXTRA_HOST_FLAGS) ; do \
31739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31740 done; \
31741 echo "Doing info in texinfo"; \
31742 (cd $(HOST_SUBDIR)/texinfo && \
31743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31745 "RANLIB=$${RANLIB}" \
31746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31747 info) \
31748 || exit 1
31750 @endif texinfo
31752 .PHONY: maybe-dvi-texinfo dvi-texinfo
31753 maybe-dvi-texinfo:
31754 @if texinfo
31755 maybe-dvi-texinfo: dvi-texinfo
31757 dvi-texinfo: \
31758 configure-texinfo
31759 @: $(MAKE); $(unstage)
31760 @[ -f ./texinfo/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 dvi in texinfo"; \
31768 (cd $(HOST_SUBDIR)/texinfo && \
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 dvi) \
31774 || exit 1
31776 @endif texinfo
31778 .PHONY: maybe-pdf-texinfo pdf-texinfo
31779 maybe-pdf-texinfo:
31780 @if texinfo
31781 maybe-pdf-texinfo: pdf-texinfo
31783 pdf-texinfo: \
31784 configure-texinfo
31785 @: $(MAKE); $(unstage)
31786 @[ -f ./texinfo/Makefile ] || exit 0; \
31787 r=`${PWD_COMMAND}`; export r; \
31788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31789 $(HOST_EXPORTS) \
31790 for flag in $(EXTRA_HOST_FLAGS) ; do \
31791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31792 done; \
31793 echo "Doing pdf in texinfo"; \
31794 (cd $(HOST_SUBDIR)/texinfo && \
31795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31797 "RANLIB=$${RANLIB}" \
31798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31799 pdf) \
31800 || exit 1
31802 @endif texinfo
31804 .PHONY: maybe-html-texinfo html-texinfo
31805 maybe-html-texinfo:
31806 @if texinfo
31807 maybe-html-texinfo: html-texinfo
31809 html-texinfo: \
31810 configure-texinfo
31811 @: $(MAKE); $(unstage)
31812 @[ -f ./texinfo/Makefile ] || exit 0; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(HOST_EXPORTS) \
31816 for flag in $(EXTRA_HOST_FLAGS) ; do \
31817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31818 done; \
31819 echo "Doing html in texinfo"; \
31820 (cd $(HOST_SUBDIR)/texinfo && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31825 html) \
31826 || exit 1
31828 @endif texinfo
31830 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31831 maybe-TAGS-texinfo:
31832 @if texinfo
31833 maybe-TAGS-texinfo: TAGS-texinfo
31835 TAGS-texinfo: \
31836 configure-texinfo
31837 @: $(MAKE); $(unstage)
31838 @[ -f ./texinfo/Makefile ] || exit 0; \
31839 r=`${PWD_COMMAND}`; export r; \
31840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31841 $(HOST_EXPORTS) \
31842 for flag in $(EXTRA_HOST_FLAGS) ; do \
31843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31844 done; \
31845 echo "Doing TAGS in texinfo"; \
31846 (cd $(HOST_SUBDIR)/texinfo && \
31847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31849 "RANLIB=$${RANLIB}" \
31850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31851 TAGS) \
31852 || exit 1
31854 @endif texinfo
31856 .PHONY: maybe-install-info-texinfo install-info-texinfo
31857 maybe-install-info-texinfo:
31858 @if texinfo
31859 maybe-install-info-texinfo: install-info-texinfo
31861 install-info-texinfo: \
31862 configure-texinfo \
31863 info-texinfo
31864 @: $(MAKE); $(unstage)
31865 @[ -f ./texinfo/Makefile ] || exit 0; \
31866 r=`${PWD_COMMAND}`; export r; \
31867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31868 $(HOST_EXPORTS) \
31869 for flag in $(EXTRA_HOST_FLAGS) ; do \
31870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31871 done; \
31872 echo "Doing install-info in texinfo"; \
31873 (cd $(HOST_SUBDIR)/texinfo && \
31874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31876 "RANLIB=$${RANLIB}" \
31877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31878 install-info) \
31879 || exit 1
31881 @endif texinfo
31883 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31884 maybe-install-pdf-texinfo:
31885 @if texinfo
31886 maybe-install-pdf-texinfo: install-pdf-texinfo
31888 install-pdf-texinfo: \
31889 configure-texinfo \
31890 pdf-texinfo
31891 @: $(MAKE); $(unstage)
31892 @[ -f ./texinfo/Makefile ] || exit 0; \
31893 r=`${PWD_COMMAND}`; export r; \
31894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31895 $(HOST_EXPORTS) \
31896 for flag in $(EXTRA_HOST_FLAGS) ; do \
31897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31898 done; \
31899 echo "Doing install-pdf in texinfo"; \
31900 (cd $(HOST_SUBDIR)/texinfo && \
31901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31903 "RANLIB=$${RANLIB}" \
31904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31905 install-pdf) \
31906 || exit 1
31908 @endif texinfo
31910 .PHONY: maybe-install-html-texinfo install-html-texinfo
31911 maybe-install-html-texinfo:
31912 @if texinfo
31913 maybe-install-html-texinfo: install-html-texinfo
31915 install-html-texinfo: \
31916 configure-texinfo \
31917 html-texinfo
31918 @: $(MAKE); $(unstage)
31919 @[ -f ./texinfo/Makefile ] || exit 0; \
31920 r=`${PWD_COMMAND}`; export r; \
31921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31922 $(HOST_EXPORTS) \
31923 for flag in $(EXTRA_HOST_FLAGS) ; do \
31924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31925 done; \
31926 echo "Doing install-html in texinfo"; \
31927 (cd $(HOST_SUBDIR)/texinfo && \
31928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31930 "RANLIB=$${RANLIB}" \
31931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31932 install-html) \
31933 || exit 1
31935 @endif texinfo
31937 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31938 maybe-installcheck-texinfo:
31939 @if texinfo
31940 maybe-installcheck-texinfo: installcheck-texinfo
31942 installcheck-texinfo: \
31943 configure-texinfo
31944 @: $(MAKE); $(unstage)
31945 @[ -f ./texinfo/Makefile ] || exit 0; \
31946 r=`${PWD_COMMAND}`; export r; \
31947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31948 $(HOST_EXPORTS) \
31949 for flag in $(EXTRA_HOST_FLAGS) ; do \
31950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31951 done; \
31952 echo "Doing installcheck in texinfo"; \
31953 (cd $(HOST_SUBDIR)/texinfo && \
31954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31956 "RANLIB=$${RANLIB}" \
31957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31958 installcheck) \
31959 || exit 1
31961 @endif texinfo
31963 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31964 maybe-mostlyclean-texinfo:
31965 @if texinfo
31966 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31968 mostlyclean-texinfo:
31969 @: $(MAKE); $(unstage)
31970 @[ -f ./texinfo/Makefile ] || exit 0; \
31971 r=`${PWD_COMMAND}`; export r; \
31972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31973 $(HOST_EXPORTS) \
31974 for flag in $(EXTRA_HOST_FLAGS) ; do \
31975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31976 done; \
31977 echo "Doing mostlyclean in texinfo"; \
31978 (cd $(HOST_SUBDIR)/texinfo && \
31979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31981 "RANLIB=$${RANLIB}" \
31982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31983 mostlyclean) \
31984 || exit 1
31986 @endif texinfo
31988 .PHONY: maybe-clean-texinfo clean-texinfo
31989 maybe-clean-texinfo:
31990 @if texinfo
31991 maybe-clean-texinfo: clean-texinfo
31993 clean-texinfo:
31994 @: $(MAKE); $(unstage)
31995 @[ -f ./texinfo/Makefile ] || exit 0; \
31996 r=`${PWD_COMMAND}`; export r; \
31997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31998 $(HOST_EXPORTS) \
31999 for flag in $(EXTRA_HOST_FLAGS) ; do \
32000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32001 done; \
32002 echo "Doing clean in texinfo"; \
32003 (cd $(HOST_SUBDIR)/texinfo && \
32004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32006 "RANLIB=$${RANLIB}" \
32007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32008 clean) \
32009 || exit 1
32011 @endif texinfo
32013 .PHONY: maybe-distclean-texinfo distclean-texinfo
32014 maybe-distclean-texinfo:
32015 @if texinfo
32016 maybe-distclean-texinfo: distclean-texinfo
32018 distclean-texinfo:
32019 @: $(MAKE); $(unstage)
32020 @[ -f ./texinfo/Makefile ] || exit 0; \
32021 r=`${PWD_COMMAND}`; export r; \
32022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32023 $(HOST_EXPORTS) \
32024 for flag in $(EXTRA_HOST_FLAGS) ; do \
32025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32026 done; \
32027 echo "Doing distclean in texinfo"; \
32028 (cd $(HOST_SUBDIR)/texinfo && \
32029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32031 "RANLIB=$${RANLIB}" \
32032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32033 distclean) \
32034 || exit 1
32036 @endif texinfo
32038 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
32039 maybe-maintainer-clean-texinfo:
32040 @if texinfo
32041 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
32043 maintainer-clean-texinfo:
32044 @: $(MAKE); $(unstage)
32045 @[ -f ./texinfo/Makefile ] || exit 0; \
32046 r=`${PWD_COMMAND}`; export r; \
32047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32048 $(HOST_EXPORTS) \
32049 for flag in $(EXTRA_HOST_FLAGS) ; do \
32050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32051 done; \
32052 echo "Doing maintainer-clean in texinfo"; \
32053 (cd $(HOST_SUBDIR)/texinfo && \
32054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32056 "RANLIB=$${RANLIB}" \
32057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32058 maintainer-clean) \
32059 || exit 1
32061 @endif texinfo
32065 .PHONY: configure-zlib maybe-configure-zlib
32066 maybe-configure-zlib:
32067 @if gcc-bootstrap
32068 configure-zlib: stage_current
32069 @endif gcc-bootstrap
32070 @if zlib
32071 maybe-configure-zlib: configure-zlib
32072 configure-zlib:
32073 @r=`${PWD_COMMAND}`; export r; \
32074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32075 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32077 $(HOST_EXPORTS) \
32078 echo Configuring in $(HOST_SUBDIR)/zlib; \
32079 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
32080 case $(srcdir) in \
32081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32082 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32084 esac; \
32085 module_srcdir=zlib; \
32086 $(SHELL) \
32087 $$s/$$module_srcdir/configure \
32088 --srcdir=$${topdir}/$$module_srcdir \
32089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32090 --target=${target_alias} @extra_host_zlib_configure_flags@ \
32091 || exit 1
32092 @endif zlib
32096 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
32097 maybe-configure-stage1-zlib:
32098 @if zlib-bootstrap
32099 maybe-configure-stage1-zlib: configure-stage1-zlib
32100 configure-stage1-zlib:
32101 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32103 @r=`${PWD_COMMAND}`; export r; \
32104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32105 TFLAGS="$(STAGE1_TFLAGS)"; \
32106 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32107 $(HOST_EXPORTS) \
32108 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
32109 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
32110 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
32111 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
32112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32113 cd $(HOST_SUBDIR)/zlib || exit 1; \
32114 case $(srcdir) in \
32115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32116 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32118 esac; \
32119 module_srcdir=zlib; \
32120 $(SHELL) $$s/$$module_srcdir/configure \
32121 --srcdir=$${topdir}/$$module_srcdir \
32122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32123 --target=${target_alias} \
32125 $(STAGE1_CONFIGURE_FLAGS) \
32126 @extra_host_zlib_configure_flags@
32127 @endif zlib-bootstrap
32129 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
32130 maybe-configure-stage2-zlib:
32131 @if zlib-bootstrap
32132 maybe-configure-stage2-zlib: configure-stage2-zlib
32133 configure-stage2-zlib:
32134 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32136 @r=`${PWD_COMMAND}`; export r; \
32137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32138 TFLAGS="$(STAGE2_TFLAGS)"; \
32139 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32140 $(HOST_EXPORTS) \
32141 $(POSTSTAGE1_HOST_EXPORTS) \
32142 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
32143 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
32144 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
32145 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
32146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32147 cd $(HOST_SUBDIR)/zlib || exit 1; \
32148 case $(srcdir) in \
32149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32150 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32152 esac; \
32153 module_srcdir=zlib; \
32154 $(SHELL) $$s/$$module_srcdir/configure \
32155 --srcdir=$${topdir}/$$module_srcdir \
32156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32157 --target=${target_alias} \
32158 --with-build-libsubdir=$(HOST_SUBDIR) \
32159 $(STAGE2_CONFIGURE_FLAGS) \
32160 @extra_host_zlib_configure_flags@
32161 @endif zlib-bootstrap
32163 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32164 maybe-configure-stage3-zlib:
32165 @if zlib-bootstrap
32166 maybe-configure-stage3-zlib: configure-stage3-zlib
32167 configure-stage3-zlib:
32168 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32170 @r=`${PWD_COMMAND}`; export r; \
32171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32172 TFLAGS="$(STAGE3_TFLAGS)"; \
32173 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32174 $(HOST_EXPORTS) \
32175 $(POSTSTAGE1_HOST_EXPORTS) \
32176 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
32177 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
32178 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
32179 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
32180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32181 cd $(HOST_SUBDIR)/zlib || exit 1; \
32182 case $(srcdir) in \
32183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32184 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32186 esac; \
32187 module_srcdir=zlib; \
32188 $(SHELL) $$s/$$module_srcdir/configure \
32189 --srcdir=$${topdir}/$$module_srcdir \
32190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32191 --target=${target_alias} \
32192 --with-build-libsubdir=$(HOST_SUBDIR) \
32193 $(STAGE3_CONFIGURE_FLAGS) \
32194 @extra_host_zlib_configure_flags@
32195 @endif zlib-bootstrap
32197 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
32198 maybe-configure-stage4-zlib:
32199 @if zlib-bootstrap
32200 maybe-configure-stage4-zlib: configure-stage4-zlib
32201 configure-stage4-zlib:
32202 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32204 @r=`${PWD_COMMAND}`; export r; \
32205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32206 TFLAGS="$(STAGE4_TFLAGS)"; \
32207 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32208 $(HOST_EXPORTS) \
32209 $(POSTSTAGE1_HOST_EXPORTS) \
32210 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
32211 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
32212 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
32213 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
32214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32215 cd $(HOST_SUBDIR)/zlib || exit 1; \
32216 case $(srcdir) in \
32217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32218 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32220 esac; \
32221 module_srcdir=zlib; \
32222 $(SHELL) $$s/$$module_srcdir/configure \
32223 --srcdir=$${topdir}/$$module_srcdir \
32224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32225 --target=${target_alias} \
32226 --with-build-libsubdir=$(HOST_SUBDIR) \
32227 $(STAGE4_CONFIGURE_FLAGS) \
32228 @extra_host_zlib_configure_flags@
32229 @endif zlib-bootstrap
32231 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
32232 maybe-configure-stageprofile-zlib:
32233 @if zlib-bootstrap
32234 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
32235 configure-stageprofile-zlib:
32236 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32238 @r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32241 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32242 $(HOST_EXPORTS) \
32243 $(POSTSTAGE1_HOST_EXPORTS) \
32244 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
32245 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
32246 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
32247 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
32248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32249 cd $(HOST_SUBDIR)/zlib || exit 1; \
32250 case $(srcdir) in \
32251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32252 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32254 esac; \
32255 module_srcdir=zlib; \
32256 $(SHELL) $$s/$$module_srcdir/configure \
32257 --srcdir=$${topdir}/$$module_srcdir \
32258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32259 --target=${target_alias} \
32260 --with-build-libsubdir=$(HOST_SUBDIR) \
32261 $(STAGEprofile_CONFIGURE_FLAGS) \
32262 @extra_host_zlib_configure_flags@
32263 @endif zlib-bootstrap
32265 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
32266 maybe-configure-stagetrain-zlib:
32267 @if zlib-bootstrap
32268 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
32269 configure-stagetrain-zlib:
32270 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32272 @r=`${PWD_COMMAND}`; export r; \
32273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32274 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32275 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32276 $(HOST_EXPORTS) \
32277 $(POSTSTAGE1_HOST_EXPORTS) \
32278 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
32279 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
32280 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
32281 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
32282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32283 cd $(HOST_SUBDIR)/zlib || exit 1; \
32284 case $(srcdir) in \
32285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32286 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32288 esac; \
32289 module_srcdir=zlib; \
32290 $(SHELL) $$s/$$module_srcdir/configure \
32291 --srcdir=$${topdir}/$$module_srcdir \
32292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32293 --target=${target_alias} \
32294 --with-build-libsubdir=$(HOST_SUBDIR) \
32295 $(STAGEtrain_CONFIGURE_FLAGS) \
32296 @extra_host_zlib_configure_flags@
32297 @endif zlib-bootstrap
32299 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32300 maybe-configure-stagefeedback-zlib:
32301 @if zlib-bootstrap
32302 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32303 configure-stagefeedback-zlib:
32304 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32306 @r=`${PWD_COMMAND}`; export r; \
32307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32308 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32309 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32310 $(HOST_EXPORTS) \
32311 $(POSTSTAGE1_HOST_EXPORTS) \
32312 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32313 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32314 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32315 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32317 cd $(HOST_SUBDIR)/zlib || exit 1; \
32318 case $(srcdir) in \
32319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32320 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32322 esac; \
32323 module_srcdir=zlib; \
32324 $(SHELL) $$s/$$module_srcdir/configure \
32325 --srcdir=$${topdir}/$$module_srcdir \
32326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32327 --target=${target_alias} \
32328 --with-build-libsubdir=$(HOST_SUBDIR) \
32329 $(STAGEfeedback_CONFIGURE_FLAGS) \
32330 @extra_host_zlib_configure_flags@
32331 @endif zlib-bootstrap
32333 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32334 maybe-configure-stageautoprofile-zlib:
32335 @if zlib-bootstrap
32336 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32337 configure-stageautoprofile-zlib:
32338 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32339 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32340 @r=`${PWD_COMMAND}`; export r; \
32341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32342 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32343 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32344 $(HOST_EXPORTS) \
32345 $(POSTSTAGE1_HOST_EXPORTS) \
32346 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32347 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32348 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32349 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32351 cd $(HOST_SUBDIR)/zlib || exit 1; \
32352 case $(srcdir) in \
32353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32354 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32356 esac; \
32357 module_srcdir=zlib; \
32358 $(SHELL) $$s/$$module_srcdir/configure \
32359 --srcdir=$${topdir}/$$module_srcdir \
32360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32361 --target=${target_alias} \
32362 --with-build-libsubdir=$(HOST_SUBDIR) \
32363 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32364 @extra_host_zlib_configure_flags@
32365 @endif zlib-bootstrap
32367 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32368 maybe-configure-stageautofeedback-zlib:
32369 @if zlib-bootstrap
32370 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32371 configure-stageautofeedback-zlib:
32372 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32374 @r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32377 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32378 $(HOST_EXPORTS) \
32379 $(POSTSTAGE1_HOST_EXPORTS) \
32380 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32381 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32382 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32383 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32385 cd $(HOST_SUBDIR)/zlib || exit 1; \
32386 case $(srcdir) in \
32387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32388 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32390 esac; \
32391 module_srcdir=zlib; \
32392 $(SHELL) $$s/$$module_srcdir/configure \
32393 --srcdir=$${topdir}/$$module_srcdir \
32394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32395 --target=${target_alias} \
32396 --with-build-libsubdir=$(HOST_SUBDIR) \
32397 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32398 @extra_host_zlib_configure_flags@
32399 @endif zlib-bootstrap
32405 .PHONY: all-zlib maybe-all-zlib
32406 maybe-all-zlib:
32407 @if gcc-bootstrap
32408 all-zlib: stage_current
32409 @endif gcc-bootstrap
32410 @if zlib
32411 TARGET-zlib=all
32412 maybe-all-zlib: all-zlib
32413 all-zlib: configure-zlib
32414 @r=`${PWD_COMMAND}`; export r; \
32415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32416 $(HOST_EXPORTS) \
32417 (cd $(HOST_SUBDIR)/zlib && \
32418 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32419 $(TARGET-zlib))
32420 @endif zlib
32424 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32425 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32426 maybe-all-stage1-zlib:
32427 maybe-clean-stage1-zlib:
32428 @if zlib-bootstrap
32429 maybe-all-stage1-zlib: all-stage1-zlib
32430 all-stage1: all-stage1-zlib
32431 TARGET-stage1-zlib = $(TARGET-zlib)
32432 all-stage1-zlib: configure-stage1-zlib
32433 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32434 @r=`${PWD_COMMAND}`; export r; \
32435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32436 TFLAGS="$(STAGE1_TFLAGS)"; \
32437 $(HOST_EXPORTS) \
32438 cd $(HOST_SUBDIR)/zlib && \
32440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32441 CFLAGS="$(STAGE1_CFLAGS)" \
32442 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
32443 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32444 LIBCFLAGS="$(LIBCFLAGS)" \
32445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32448 $(EXTRA_HOST_FLAGS) \
32449 $(STAGE1_FLAGS_TO_PASS) \
32450 TFLAGS="$(STAGE1_TFLAGS)" \
32451 $(TARGET-stage1-zlib)
32453 maybe-clean-stage1-zlib: clean-stage1-zlib
32454 clean-stage1: clean-stage1-zlib
32455 clean-stage1-zlib:
32456 @if [ $(current_stage) = stage1 ]; then \
32457 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32458 else \
32459 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32460 $(MAKE) stage1-start; \
32461 fi; \
32462 cd $(HOST_SUBDIR)/zlib && \
32463 $(MAKE) $(EXTRA_HOST_FLAGS) \
32464 $(STAGE1_FLAGS_TO_PASS) clean
32465 @endif zlib-bootstrap
32468 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32469 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32470 maybe-all-stage2-zlib:
32471 maybe-clean-stage2-zlib:
32472 @if zlib-bootstrap
32473 maybe-all-stage2-zlib: all-stage2-zlib
32474 all-stage2: all-stage2-zlib
32475 TARGET-stage2-zlib = $(TARGET-zlib)
32476 all-stage2-zlib: configure-stage2-zlib
32477 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32478 @r=`${PWD_COMMAND}`; export r; \
32479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32480 TFLAGS="$(STAGE2_TFLAGS)"; \
32481 $(HOST_EXPORTS) \
32482 $(POSTSTAGE1_HOST_EXPORTS) \
32483 cd $(HOST_SUBDIR)/zlib && \
32485 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32486 CFLAGS="$(STAGE2_CFLAGS)" \
32487 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
32488 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32489 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32493 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32494 TFLAGS="$(STAGE2_TFLAGS)" \
32495 $(TARGET-stage2-zlib)
32497 maybe-clean-stage2-zlib: clean-stage2-zlib
32498 clean-stage2: clean-stage2-zlib
32499 clean-stage2-zlib:
32500 @if [ $(current_stage) = stage2 ]; then \
32501 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32502 else \
32503 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32504 $(MAKE) stage2-start; \
32505 fi; \
32506 cd $(HOST_SUBDIR)/zlib && \
32507 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32508 @endif zlib-bootstrap
32511 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32512 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32513 maybe-all-stage3-zlib:
32514 maybe-clean-stage3-zlib:
32515 @if zlib-bootstrap
32516 maybe-all-stage3-zlib: all-stage3-zlib
32517 all-stage3: all-stage3-zlib
32518 TARGET-stage3-zlib = $(TARGET-zlib)
32519 all-stage3-zlib: configure-stage3-zlib
32520 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32521 @r=`${PWD_COMMAND}`; export r; \
32522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32523 TFLAGS="$(STAGE3_TFLAGS)"; \
32524 $(HOST_EXPORTS) \
32525 $(POSTSTAGE1_HOST_EXPORTS) \
32526 cd $(HOST_SUBDIR)/zlib && \
32528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32529 CFLAGS="$(STAGE3_CFLAGS)" \
32530 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
32531 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32532 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32537 TFLAGS="$(STAGE3_TFLAGS)" \
32538 $(TARGET-stage3-zlib)
32540 maybe-clean-stage3-zlib: clean-stage3-zlib
32541 clean-stage3: clean-stage3-zlib
32542 clean-stage3-zlib:
32543 @if [ $(current_stage) = stage3 ]; then \
32544 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32545 else \
32546 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32547 $(MAKE) stage3-start; \
32548 fi; \
32549 cd $(HOST_SUBDIR)/zlib && \
32550 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32551 @endif zlib-bootstrap
32554 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32555 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32556 maybe-all-stage4-zlib:
32557 maybe-clean-stage4-zlib:
32558 @if zlib-bootstrap
32559 maybe-all-stage4-zlib: all-stage4-zlib
32560 all-stage4: all-stage4-zlib
32561 TARGET-stage4-zlib = $(TARGET-zlib)
32562 all-stage4-zlib: configure-stage4-zlib
32563 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32564 @r=`${PWD_COMMAND}`; export r; \
32565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32566 TFLAGS="$(STAGE4_TFLAGS)"; \
32567 $(HOST_EXPORTS) \
32568 $(POSTSTAGE1_HOST_EXPORTS) \
32569 cd $(HOST_SUBDIR)/zlib && \
32571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32572 CFLAGS="$(STAGE4_CFLAGS)" \
32573 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
32574 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32575 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32580 TFLAGS="$(STAGE4_TFLAGS)" \
32581 $(TARGET-stage4-zlib)
32583 maybe-clean-stage4-zlib: clean-stage4-zlib
32584 clean-stage4: clean-stage4-zlib
32585 clean-stage4-zlib:
32586 @if [ $(current_stage) = stage4 ]; then \
32587 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32588 else \
32589 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32590 $(MAKE) stage4-start; \
32591 fi; \
32592 cd $(HOST_SUBDIR)/zlib && \
32593 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32594 @endif zlib-bootstrap
32597 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32598 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32599 maybe-all-stageprofile-zlib:
32600 maybe-clean-stageprofile-zlib:
32601 @if zlib-bootstrap
32602 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32603 all-stageprofile: all-stageprofile-zlib
32604 TARGET-stageprofile-zlib = $(TARGET-zlib)
32605 all-stageprofile-zlib: configure-stageprofile-zlib
32606 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32607 @r=`${PWD_COMMAND}`; export r; \
32608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32609 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32610 $(HOST_EXPORTS) \
32611 $(POSTSTAGE1_HOST_EXPORTS) \
32612 cd $(HOST_SUBDIR)/zlib && \
32614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32615 CFLAGS="$(STAGEprofile_CFLAGS)" \
32616 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
32617 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32618 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32622 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32623 TFLAGS="$(STAGEprofile_TFLAGS)" \
32624 $(TARGET-stageprofile-zlib)
32626 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32627 clean-stageprofile: clean-stageprofile-zlib
32628 clean-stageprofile-zlib:
32629 @if [ $(current_stage) = stageprofile ]; then \
32630 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32631 else \
32632 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32633 $(MAKE) stageprofile-start; \
32634 fi; \
32635 cd $(HOST_SUBDIR)/zlib && \
32636 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32637 @endif zlib-bootstrap
32640 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32641 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32642 maybe-all-stagetrain-zlib:
32643 maybe-clean-stagetrain-zlib:
32644 @if zlib-bootstrap
32645 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32646 all-stagetrain: all-stagetrain-zlib
32647 TARGET-stagetrain-zlib = $(TARGET-zlib)
32648 all-stagetrain-zlib: configure-stagetrain-zlib
32649 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32650 @r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32653 $(HOST_EXPORTS) \
32654 $(POSTSTAGE1_HOST_EXPORTS) \
32655 cd $(HOST_SUBDIR)/zlib && \
32657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32658 CFLAGS="$(STAGEtrain_CFLAGS)" \
32659 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
32660 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32661 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32665 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32666 TFLAGS="$(STAGEtrain_TFLAGS)" \
32667 $(TARGET-stagetrain-zlib)
32669 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32670 clean-stagetrain: clean-stagetrain-zlib
32671 clean-stagetrain-zlib:
32672 @if [ $(current_stage) = stagetrain ]; then \
32673 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32674 else \
32675 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32676 $(MAKE) stagetrain-start; \
32677 fi; \
32678 cd $(HOST_SUBDIR)/zlib && \
32679 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32680 @endif zlib-bootstrap
32683 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32684 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32685 maybe-all-stagefeedback-zlib:
32686 maybe-clean-stagefeedback-zlib:
32687 @if zlib-bootstrap
32688 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32689 all-stagefeedback: all-stagefeedback-zlib
32690 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32691 all-stagefeedback-zlib: configure-stagefeedback-zlib
32692 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32693 @r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32696 $(HOST_EXPORTS) \
32697 $(POSTSTAGE1_HOST_EXPORTS) \
32698 cd $(HOST_SUBDIR)/zlib && \
32700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32701 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32702 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
32703 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32704 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32708 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32709 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32710 $(TARGET-stagefeedback-zlib)
32712 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32713 clean-stagefeedback: clean-stagefeedback-zlib
32714 clean-stagefeedback-zlib:
32715 @if [ $(current_stage) = stagefeedback ]; then \
32716 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32717 else \
32718 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32719 $(MAKE) stagefeedback-start; \
32720 fi; \
32721 cd $(HOST_SUBDIR)/zlib && \
32722 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32723 @endif zlib-bootstrap
32726 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32727 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32728 maybe-all-stageautoprofile-zlib:
32729 maybe-clean-stageautoprofile-zlib:
32730 @if zlib-bootstrap
32731 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32732 all-stageautoprofile: all-stageautoprofile-zlib
32733 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32734 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32735 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32736 @r=`${PWD_COMMAND}`; export r; \
32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32738 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32739 $(HOST_EXPORTS) \
32740 $(POSTSTAGE1_HOST_EXPORTS) \
32741 cd $(HOST_SUBDIR)/zlib && \
32742 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32744 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32745 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
32746 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32747 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32751 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32752 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32753 $(TARGET-stageautoprofile-zlib)
32755 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32756 clean-stageautoprofile: clean-stageautoprofile-zlib
32757 clean-stageautoprofile-zlib:
32758 @if [ $(current_stage) = stageautoprofile ]; then \
32759 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32760 else \
32761 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32762 $(MAKE) stageautoprofile-start; \
32763 fi; \
32764 cd $(HOST_SUBDIR)/zlib && \
32765 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32766 @endif zlib-bootstrap
32769 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32770 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32771 maybe-all-stageautofeedback-zlib:
32772 maybe-clean-stageautofeedback-zlib:
32773 @if zlib-bootstrap
32774 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32775 all-stageautofeedback: all-stageautofeedback-zlib
32776 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32777 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32778 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32779 @r=`${PWD_COMMAND}`; export r; \
32780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32781 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32782 $(HOST_EXPORTS) \
32783 $(POSTSTAGE1_HOST_EXPORTS) \
32784 cd $(HOST_SUBDIR)/zlib && \
32786 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32787 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32788 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
32789 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32790 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32794 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32795 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32796 $(TARGET-stageautofeedback-zlib)
32798 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32799 clean-stageautofeedback: clean-stageautofeedback-zlib
32800 clean-stageautofeedback-zlib:
32801 @if [ $(current_stage) = stageautofeedback ]; then \
32802 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32803 else \
32804 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32805 $(MAKE) stageautofeedback-start; \
32806 fi; \
32807 cd $(HOST_SUBDIR)/zlib && \
32808 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32809 @endif zlib-bootstrap
32815 .PHONY: check-zlib maybe-check-zlib
32816 maybe-check-zlib:
32817 @if zlib
32818 maybe-check-zlib: check-zlib
32820 check-zlib:
32822 @endif zlib
32824 .PHONY: install-zlib maybe-install-zlib
32825 maybe-install-zlib:
32826 @if zlib
32827 maybe-install-zlib: install-zlib
32829 install-zlib:
32831 @endif zlib
32833 .PHONY: install-strip-zlib maybe-install-strip-zlib
32834 maybe-install-strip-zlib:
32835 @if zlib
32836 maybe-install-strip-zlib: install-strip-zlib
32838 install-strip-zlib:
32840 @endif zlib
32842 # Other targets (info, dvi, pdf, etc.)
32844 .PHONY: maybe-info-zlib info-zlib
32845 maybe-info-zlib:
32846 @if zlib
32847 maybe-info-zlib: info-zlib
32849 info-zlib: \
32850 configure-zlib
32851 @[ -f ./zlib/Makefile ] || exit 0; \
32852 r=`${PWD_COMMAND}`; export r; \
32853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32854 $(HOST_EXPORTS) \
32855 for flag in $(EXTRA_HOST_FLAGS) ; do \
32856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32857 done; \
32858 echo "Doing info in zlib"; \
32859 (cd $(HOST_SUBDIR)/zlib && \
32860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32862 "RANLIB=$${RANLIB}" \
32863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32864 info) \
32865 || exit 1
32867 @endif zlib
32869 .PHONY: maybe-dvi-zlib dvi-zlib
32870 maybe-dvi-zlib:
32871 @if zlib
32872 maybe-dvi-zlib: dvi-zlib
32874 dvi-zlib: \
32875 configure-zlib
32876 @[ -f ./zlib/Makefile ] || exit 0; \
32877 r=`${PWD_COMMAND}`; export r; \
32878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32879 $(HOST_EXPORTS) \
32880 for flag in $(EXTRA_HOST_FLAGS) ; do \
32881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32882 done; \
32883 echo "Doing dvi in zlib"; \
32884 (cd $(HOST_SUBDIR)/zlib && \
32885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32887 "RANLIB=$${RANLIB}" \
32888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32889 dvi) \
32890 || exit 1
32892 @endif zlib
32894 .PHONY: maybe-pdf-zlib pdf-zlib
32895 maybe-pdf-zlib:
32896 @if zlib
32897 maybe-pdf-zlib: pdf-zlib
32899 pdf-zlib: \
32900 configure-zlib
32901 @[ -f ./zlib/Makefile ] || exit 0; \
32902 r=`${PWD_COMMAND}`; export r; \
32903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32904 $(HOST_EXPORTS) \
32905 for flag in $(EXTRA_HOST_FLAGS) ; do \
32906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32907 done; \
32908 echo "Doing pdf in zlib"; \
32909 (cd $(HOST_SUBDIR)/zlib && \
32910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32912 "RANLIB=$${RANLIB}" \
32913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32914 pdf) \
32915 || exit 1
32917 @endif zlib
32919 .PHONY: maybe-html-zlib html-zlib
32920 maybe-html-zlib:
32921 @if zlib
32922 maybe-html-zlib: html-zlib
32924 html-zlib: \
32925 configure-zlib
32926 @[ -f ./zlib/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 html in zlib"; \
32934 (cd $(HOST_SUBDIR)/zlib && \
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 html) \
32940 || exit 1
32942 @endif zlib
32944 .PHONY: maybe-TAGS-zlib TAGS-zlib
32945 maybe-TAGS-zlib:
32946 @if zlib
32947 maybe-TAGS-zlib: TAGS-zlib
32949 TAGS-zlib: \
32950 configure-zlib
32951 @[ -f ./zlib/Makefile ] || exit 0; \
32952 r=`${PWD_COMMAND}`; export r; \
32953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32954 $(HOST_EXPORTS) \
32955 for flag in $(EXTRA_HOST_FLAGS) ; do \
32956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32957 done; \
32958 echo "Doing TAGS in zlib"; \
32959 (cd $(HOST_SUBDIR)/zlib && \
32960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32962 "RANLIB=$${RANLIB}" \
32963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32964 TAGS) \
32965 || exit 1
32967 @endif zlib
32969 .PHONY: maybe-install-info-zlib install-info-zlib
32970 maybe-install-info-zlib:
32971 @if zlib
32972 maybe-install-info-zlib: install-info-zlib
32974 install-info-zlib: \
32975 configure-zlib \
32976 info-zlib
32977 @[ -f ./zlib/Makefile ] || exit 0; \
32978 r=`${PWD_COMMAND}`; export r; \
32979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32980 $(HOST_EXPORTS) \
32981 for flag in $(EXTRA_HOST_FLAGS) ; do \
32982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32983 done; \
32984 echo "Doing install-info in zlib"; \
32985 (cd $(HOST_SUBDIR)/zlib && \
32986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32988 "RANLIB=$${RANLIB}" \
32989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32990 install-info) \
32991 || exit 1
32993 @endif zlib
32995 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32996 maybe-install-pdf-zlib:
32997 @if zlib
32998 maybe-install-pdf-zlib: install-pdf-zlib
33000 install-pdf-zlib: \
33001 configure-zlib \
33002 pdf-zlib
33003 @[ -f ./zlib/Makefile ] || exit 0; \
33004 r=`${PWD_COMMAND}`; export r; \
33005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33006 $(HOST_EXPORTS) \
33007 for flag in $(EXTRA_HOST_FLAGS) ; do \
33008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33009 done; \
33010 echo "Doing install-pdf in zlib"; \
33011 (cd $(HOST_SUBDIR)/zlib && \
33012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33014 "RANLIB=$${RANLIB}" \
33015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33016 install-pdf) \
33017 || exit 1
33019 @endif zlib
33021 .PHONY: maybe-install-html-zlib install-html-zlib
33022 maybe-install-html-zlib:
33023 @if zlib
33024 maybe-install-html-zlib: install-html-zlib
33026 install-html-zlib: \
33027 configure-zlib \
33028 html-zlib
33029 @[ -f ./zlib/Makefile ] || exit 0; \
33030 r=`${PWD_COMMAND}`; export r; \
33031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33032 $(HOST_EXPORTS) \
33033 for flag in $(EXTRA_HOST_FLAGS) ; do \
33034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33035 done; \
33036 echo "Doing install-html in zlib"; \
33037 (cd $(HOST_SUBDIR)/zlib && \
33038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33040 "RANLIB=$${RANLIB}" \
33041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33042 install-html) \
33043 || exit 1
33045 @endif zlib
33047 .PHONY: maybe-installcheck-zlib installcheck-zlib
33048 maybe-installcheck-zlib:
33049 @if zlib
33050 maybe-installcheck-zlib: installcheck-zlib
33052 installcheck-zlib: \
33053 configure-zlib
33054 @[ -f ./zlib/Makefile ] || exit 0; \
33055 r=`${PWD_COMMAND}`; export r; \
33056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33057 $(HOST_EXPORTS) \
33058 for flag in $(EXTRA_HOST_FLAGS) ; do \
33059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33060 done; \
33061 echo "Doing installcheck in zlib"; \
33062 (cd $(HOST_SUBDIR)/zlib && \
33063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33065 "RANLIB=$${RANLIB}" \
33066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33067 installcheck) \
33068 || exit 1
33070 @endif zlib
33072 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
33073 maybe-mostlyclean-zlib:
33074 @if zlib
33075 maybe-mostlyclean-zlib: mostlyclean-zlib
33077 mostlyclean-zlib:
33078 @[ -f ./zlib/Makefile ] || exit 0; \
33079 r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 $(HOST_EXPORTS) \
33082 for flag in $(EXTRA_HOST_FLAGS) ; do \
33083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33084 done; \
33085 echo "Doing mostlyclean in zlib"; \
33086 (cd $(HOST_SUBDIR)/zlib && \
33087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33089 "RANLIB=$${RANLIB}" \
33090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33091 mostlyclean) \
33092 || exit 1
33094 @endif zlib
33096 .PHONY: maybe-clean-zlib clean-zlib
33097 maybe-clean-zlib:
33098 @if zlib
33099 maybe-clean-zlib: clean-zlib
33101 clean-zlib:
33102 @[ -f ./zlib/Makefile ] || exit 0; \
33103 r=`${PWD_COMMAND}`; export r; \
33104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33105 $(HOST_EXPORTS) \
33106 for flag in $(EXTRA_HOST_FLAGS) ; do \
33107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33108 done; \
33109 echo "Doing clean in zlib"; \
33110 (cd $(HOST_SUBDIR)/zlib && \
33111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33113 "RANLIB=$${RANLIB}" \
33114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33115 clean) \
33116 || exit 1
33118 @endif zlib
33120 .PHONY: maybe-distclean-zlib distclean-zlib
33121 maybe-distclean-zlib:
33122 @if zlib
33123 maybe-distclean-zlib: distclean-zlib
33125 distclean-zlib:
33126 @[ -f ./zlib/Makefile ] || exit 0; \
33127 r=`${PWD_COMMAND}`; export r; \
33128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33129 $(HOST_EXPORTS) \
33130 for flag in $(EXTRA_HOST_FLAGS) ; do \
33131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33132 done; \
33133 echo "Doing distclean in zlib"; \
33134 (cd $(HOST_SUBDIR)/zlib && \
33135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33137 "RANLIB=$${RANLIB}" \
33138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33139 distclean) \
33140 || exit 1
33142 @endif zlib
33144 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
33145 maybe-maintainer-clean-zlib:
33146 @if zlib
33147 maybe-maintainer-clean-zlib: maintainer-clean-zlib
33149 maintainer-clean-zlib:
33150 @[ -f ./zlib/Makefile ] || exit 0; \
33151 r=`${PWD_COMMAND}`; export r; \
33152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33153 $(HOST_EXPORTS) \
33154 for flag in $(EXTRA_HOST_FLAGS) ; do \
33155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33156 done; \
33157 echo "Doing maintainer-clean in zlib"; \
33158 (cd $(HOST_SUBDIR)/zlib && \
33159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33161 "RANLIB=$${RANLIB}" \
33162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33163 maintainer-clean) \
33164 || exit 1
33166 @endif zlib
33170 .PHONY: configure-gnulib maybe-configure-gnulib
33171 maybe-configure-gnulib:
33172 @if gcc-bootstrap
33173 configure-gnulib: stage_current
33174 @endif gcc-bootstrap
33175 @if gnulib
33176 maybe-configure-gnulib: configure-gnulib
33177 configure-gnulib:
33178 @: $(MAKE); $(unstage)
33179 @r=`${PWD_COMMAND}`; export r; \
33180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33181 test ! -f $(HOST_SUBDIR)/gnulib/Makefile || exit 0; \
33182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnulib; \
33183 $(HOST_EXPORTS) \
33184 echo Configuring in $(HOST_SUBDIR)/gnulib; \
33185 cd "$(HOST_SUBDIR)/gnulib" || exit 1; \
33186 case $(srcdir) in \
33187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33188 *) topdir=`echo $(HOST_SUBDIR)/gnulib/ | \
33189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33190 esac; \
33191 module_srcdir=gnulib; \
33192 $(SHELL) \
33193 $$s/$$module_srcdir/configure \
33194 --srcdir=$${topdir}/$$module_srcdir \
33195 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33196 --target=${target_alias} \
33197 || exit 1
33198 @endif gnulib
33204 .PHONY: all-gnulib maybe-all-gnulib
33205 maybe-all-gnulib:
33206 @if gcc-bootstrap
33207 all-gnulib: stage_current
33208 @endif gcc-bootstrap
33209 @if gnulib
33210 TARGET-gnulib=all
33211 maybe-all-gnulib: all-gnulib
33212 all-gnulib: configure-gnulib
33213 @: $(MAKE); $(unstage)
33214 @r=`${PWD_COMMAND}`; export r; \
33215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33216 $(HOST_EXPORTS) \
33217 (cd $(HOST_SUBDIR)/gnulib && \
33218 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33219 $(TARGET-gnulib))
33220 @endif gnulib
33225 .PHONY: check-gnulib maybe-check-gnulib
33226 maybe-check-gnulib:
33227 @if gnulib
33228 maybe-check-gnulib: check-gnulib
33230 check-gnulib:
33231 @: $(MAKE); $(unstage)
33232 @r=`${PWD_COMMAND}`; export r; \
33233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33234 $(HOST_EXPORTS) \
33235 (cd $(HOST_SUBDIR)/gnulib && \
33236 $(MAKE) $(FLAGS_TO_PASS) check)
33238 @endif gnulib
33240 .PHONY: install-gnulib maybe-install-gnulib
33241 maybe-install-gnulib:
33242 @if gnulib
33243 maybe-install-gnulib: install-gnulib
33245 install-gnulib: installdirs
33246 @: $(MAKE); $(unstage)
33247 @r=`${PWD_COMMAND}`; export r; \
33248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33249 $(HOST_EXPORTS) \
33250 (cd $(HOST_SUBDIR)/gnulib && \
33251 $(MAKE) $(FLAGS_TO_PASS) install)
33253 @endif gnulib
33255 .PHONY: install-strip-gnulib maybe-install-strip-gnulib
33256 maybe-install-strip-gnulib:
33257 @if gnulib
33258 maybe-install-strip-gnulib: install-strip-gnulib
33260 install-strip-gnulib: installdirs
33261 @: $(MAKE); $(unstage)
33262 @r=`${PWD_COMMAND}`; export r; \
33263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33264 $(HOST_EXPORTS) \
33265 (cd $(HOST_SUBDIR)/gnulib && \
33266 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33268 @endif gnulib
33270 # Other targets (info, dvi, pdf, etc.)
33272 .PHONY: maybe-info-gnulib info-gnulib
33273 maybe-info-gnulib:
33274 @if gnulib
33275 maybe-info-gnulib: info-gnulib
33277 info-gnulib: \
33278 configure-gnulib
33279 @: $(MAKE); $(unstage)
33280 @[ -f ./gnulib/Makefile ] || exit 0; \
33281 r=`${PWD_COMMAND}`; export r; \
33282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33283 $(HOST_EXPORTS) \
33284 for flag in $(EXTRA_HOST_FLAGS) ; do \
33285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33286 done; \
33287 echo "Doing info in gnulib"; \
33288 (cd $(HOST_SUBDIR)/gnulib && \
33289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33291 "RANLIB=$${RANLIB}" \
33292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33293 info) \
33294 || exit 1
33296 @endif gnulib
33298 .PHONY: maybe-dvi-gnulib dvi-gnulib
33299 maybe-dvi-gnulib:
33300 @if gnulib
33301 maybe-dvi-gnulib: dvi-gnulib
33303 dvi-gnulib: \
33304 configure-gnulib
33305 @: $(MAKE); $(unstage)
33306 @[ -f ./gnulib/Makefile ] || exit 0; \
33307 r=`${PWD_COMMAND}`; export r; \
33308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33309 $(HOST_EXPORTS) \
33310 for flag in $(EXTRA_HOST_FLAGS) ; do \
33311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33312 done; \
33313 echo "Doing dvi in gnulib"; \
33314 (cd $(HOST_SUBDIR)/gnulib && \
33315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33317 "RANLIB=$${RANLIB}" \
33318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33319 dvi) \
33320 || exit 1
33322 @endif gnulib
33324 .PHONY: maybe-pdf-gnulib pdf-gnulib
33325 maybe-pdf-gnulib:
33326 @if gnulib
33327 maybe-pdf-gnulib: pdf-gnulib
33329 pdf-gnulib: \
33330 configure-gnulib
33331 @: $(MAKE); $(unstage)
33332 @[ -f ./gnulib/Makefile ] || exit 0; \
33333 r=`${PWD_COMMAND}`; export r; \
33334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33335 $(HOST_EXPORTS) \
33336 for flag in $(EXTRA_HOST_FLAGS) ; do \
33337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33338 done; \
33339 echo "Doing pdf in gnulib"; \
33340 (cd $(HOST_SUBDIR)/gnulib && \
33341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33343 "RANLIB=$${RANLIB}" \
33344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33345 pdf) \
33346 || exit 1
33348 @endif gnulib
33350 .PHONY: maybe-html-gnulib html-gnulib
33351 maybe-html-gnulib:
33352 @if gnulib
33353 maybe-html-gnulib: html-gnulib
33355 html-gnulib: \
33356 configure-gnulib
33357 @: $(MAKE); $(unstage)
33358 @[ -f ./gnulib/Makefile ] || exit 0; \
33359 r=`${PWD_COMMAND}`; export r; \
33360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33361 $(HOST_EXPORTS) \
33362 for flag in $(EXTRA_HOST_FLAGS) ; do \
33363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33364 done; \
33365 echo "Doing html in gnulib"; \
33366 (cd $(HOST_SUBDIR)/gnulib && \
33367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33369 "RANLIB=$${RANLIB}" \
33370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33371 html) \
33372 || exit 1
33374 @endif gnulib
33376 .PHONY: maybe-TAGS-gnulib TAGS-gnulib
33377 maybe-TAGS-gnulib:
33378 @if gnulib
33379 maybe-TAGS-gnulib: TAGS-gnulib
33381 TAGS-gnulib: \
33382 configure-gnulib
33383 @: $(MAKE); $(unstage)
33384 @[ -f ./gnulib/Makefile ] || exit 0; \
33385 r=`${PWD_COMMAND}`; export r; \
33386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33387 $(HOST_EXPORTS) \
33388 for flag in $(EXTRA_HOST_FLAGS) ; do \
33389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33390 done; \
33391 echo "Doing TAGS in gnulib"; \
33392 (cd $(HOST_SUBDIR)/gnulib && \
33393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33395 "RANLIB=$${RANLIB}" \
33396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33397 TAGS) \
33398 || exit 1
33400 @endif gnulib
33402 .PHONY: maybe-install-info-gnulib install-info-gnulib
33403 maybe-install-info-gnulib:
33404 @if gnulib
33405 maybe-install-info-gnulib: install-info-gnulib
33407 install-info-gnulib: \
33408 configure-gnulib \
33409 info-gnulib
33410 @: $(MAKE); $(unstage)
33411 @[ -f ./gnulib/Makefile ] || exit 0; \
33412 r=`${PWD_COMMAND}`; export r; \
33413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33414 $(HOST_EXPORTS) \
33415 for flag in $(EXTRA_HOST_FLAGS) ; do \
33416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33417 done; \
33418 echo "Doing install-info in gnulib"; \
33419 (cd $(HOST_SUBDIR)/gnulib && \
33420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33422 "RANLIB=$${RANLIB}" \
33423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33424 install-info) \
33425 || exit 1
33427 @endif gnulib
33429 .PHONY: maybe-install-pdf-gnulib install-pdf-gnulib
33430 maybe-install-pdf-gnulib:
33431 @if gnulib
33432 maybe-install-pdf-gnulib: install-pdf-gnulib
33434 install-pdf-gnulib: \
33435 configure-gnulib \
33436 pdf-gnulib
33437 @: $(MAKE); $(unstage)
33438 @[ -f ./gnulib/Makefile ] || exit 0; \
33439 r=`${PWD_COMMAND}`; export r; \
33440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33441 $(HOST_EXPORTS) \
33442 for flag in $(EXTRA_HOST_FLAGS) ; do \
33443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33444 done; \
33445 echo "Doing install-pdf in gnulib"; \
33446 (cd $(HOST_SUBDIR)/gnulib && \
33447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33449 "RANLIB=$${RANLIB}" \
33450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33451 install-pdf) \
33452 || exit 1
33454 @endif gnulib
33456 .PHONY: maybe-install-html-gnulib install-html-gnulib
33457 maybe-install-html-gnulib:
33458 @if gnulib
33459 maybe-install-html-gnulib: install-html-gnulib
33461 install-html-gnulib: \
33462 configure-gnulib \
33463 html-gnulib
33464 @: $(MAKE); $(unstage)
33465 @[ -f ./gnulib/Makefile ] || exit 0; \
33466 r=`${PWD_COMMAND}`; export r; \
33467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33468 $(HOST_EXPORTS) \
33469 for flag in $(EXTRA_HOST_FLAGS) ; do \
33470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33471 done; \
33472 echo "Doing install-html in gnulib"; \
33473 (cd $(HOST_SUBDIR)/gnulib && \
33474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33476 "RANLIB=$${RANLIB}" \
33477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33478 install-html) \
33479 || exit 1
33481 @endif gnulib
33483 .PHONY: maybe-installcheck-gnulib installcheck-gnulib
33484 maybe-installcheck-gnulib:
33485 @if gnulib
33486 maybe-installcheck-gnulib: installcheck-gnulib
33488 installcheck-gnulib: \
33489 configure-gnulib
33490 @: $(MAKE); $(unstage)
33491 @[ -f ./gnulib/Makefile ] || exit 0; \
33492 r=`${PWD_COMMAND}`; export r; \
33493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33494 $(HOST_EXPORTS) \
33495 for flag in $(EXTRA_HOST_FLAGS) ; do \
33496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33497 done; \
33498 echo "Doing installcheck in gnulib"; \
33499 (cd $(HOST_SUBDIR)/gnulib && \
33500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33502 "RANLIB=$${RANLIB}" \
33503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33504 installcheck) \
33505 || exit 1
33507 @endif gnulib
33509 .PHONY: maybe-mostlyclean-gnulib mostlyclean-gnulib
33510 maybe-mostlyclean-gnulib:
33511 @if gnulib
33512 maybe-mostlyclean-gnulib: mostlyclean-gnulib
33514 mostlyclean-gnulib:
33515 @: $(MAKE); $(unstage)
33516 @[ -f ./gnulib/Makefile ] || exit 0; \
33517 r=`${PWD_COMMAND}`; export r; \
33518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33519 $(HOST_EXPORTS) \
33520 for flag in $(EXTRA_HOST_FLAGS) ; do \
33521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33522 done; \
33523 echo "Doing mostlyclean in gnulib"; \
33524 (cd $(HOST_SUBDIR)/gnulib && \
33525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33527 "RANLIB=$${RANLIB}" \
33528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33529 mostlyclean) \
33530 || exit 1
33532 @endif gnulib
33534 .PHONY: maybe-clean-gnulib clean-gnulib
33535 maybe-clean-gnulib:
33536 @if gnulib
33537 maybe-clean-gnulib: clean-gnulib
33539 clean-gnulib:
33540 @: $(MAKE); $(unstage)
33541 @[ -f ./gnulib/Makefile ] || exit 0; \
33542 r=`${PWD_COMMAND}`; export r; \
33543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33544 $(HOST_EXPORTS) \
33545 for flag in $(EXTRA_HOST_FLAGS) ; do \
33546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33547 done; \
33548 echo "Doing clean in gnulib"; \
33549 (cd $(HOST_SUBDIR)/gnulib && \
33550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33552 "RANLIB=$${RANLIB}" \
33553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33554 clean) \
33555 || exit 1
33557 @endif gnulib
33559 .PHONY: maybe-distclean-gnulib distclean-gnulib
33560 maybe-distclean-gnulib:
33561 @if gnulib
33562 maybe-distclean-gnulib: distclean-gnulib
33564 distclean-gnulib:
33565 @: $(MAKE); $(unstage)
33566 @[ -f ./gnulib/Makefile ] || exit 0; \
33567 r=`${PWD_COMMAND}`; export r; \
33568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33569 $(HOST_EXPORTS) \
33570 for flag in $(EXTRA_HOST_FLAGS) ; do \
33571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33572 done; \
33573 echo "Doing distclean in gnulib"; \
33574 (cd $(HOST_SUBDIR)/gnulib && \
33575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33577 "RANLIB=$${RANLIB}" \
33578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33579 distclean) \
33580 || exit 1
33582 @endif gnulib
33584 .PHONY: maybe-maintainer-clean-gnulib maintainer-clean-gnulib
33585 maybe-maintainer-clean-gnulib:
33586 @if gnulib
33587 maybe-maintainer-clean-gnulib: maintainer-clean-gnulib
33589 maintainer-clean-gnulib:
33590 @: $(MAKE); $(unstage)
33591 @[ -f ./gnulib/Makefile ] || exit 0; \
33592 r=`${PWD_COMMAND}`; export r; \
33593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33594 $(HOST_EXPORTS) \
33595 for flag in $(EXTRA_HOST_FLAGS) ; do \
33596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33597 done; \
33598 echo "Doing maintainer-clean in gnulib"; \
33599 (cd $(HOST_SUBDIR)/gnulib && \
33600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33602 "RANLIB=$${RANLIB}" \
33603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33604 maintainer-clean) \
33605 || exit 1
33607 @endif gnulib
33611 .PHONY: configure-gdbsupport maybe-configure-gdbsupport
33612 maybe-configure-gdbsupport:
33613 @if gcc-bootstrap
33614 configure-gdbsupport: stage_current
33615 @endif gcc-bootstrap
33616 @if gdbsupport
33617 maybe-configure-gdbsupport: configure-gdbsupport
33618 configure-gdbsupport:
33619 @: $(MAKE); $(unstage)
33620 @r=`${PWD_COMMAND}`; export r; \
33621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33622 test ! -f $(HOST_SUBDIR)/gdbsupport/Makefile || exit 0; \
33623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbsupport; \
33624 $(HOST_EXPORTS) \
33625 echo Configuring in $(HOST_SUBDIR)/gdbsupport; \
33626 cd "$(HOST_SUBDIR)/gdbsupport" || exit 1; \
33627 case $(srcdir) in \
33628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33629 *) topdir=`echo $(HOST_SUBDIR)/gdbsupport/ | \
33630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33631 esac; \
33632 module_srcdir=gdbsupport; \
33633 $(SHELL) \
33634 $$s/$$module_srcdir/configure \
33635 --srcdir=$${topdir}/$$module_srcdir \
33636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33637 --target=${target_alias} \
33638 || exit 1
33639 @endif gdbsupport
33645 .PHONY: all-gdbsupport maybe-all-gdbsupport
33646 maybe-all-gdbsupport:
33647 @if gcc-bootstrap
33648 all-gdbsupport: stage_current
33649 @endif gcc-bootstrap
33650 @if gdbsupport
33651 TARGET-gdbsupport=all
33652 maybe-all-gdbsupport: all-gdbsupport
33653 all-gdbsupport: configure-gdbsupport
33654 @: $(MAKE); $(unstage)
33655 @r=`${PWD_COMMAND}`; export r; \
33656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33657 $(HOST_EXPORTS) \
33658 (cd $(HOST_SUBDIR)/gdbsupport && \
33659 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33660 $(TARGET-gdbsupport))
33661 @endif gdbsupport
33666 .PHONY: check-gdbsupport maybe-check-gdbsupport
33667 maybe-check-gdbsupport:
33668 @if gdbsupport
33669 maybe-check-gdbsupport: check-gdbsupport
33671 check-gdbsupport:
33672 @: $(MAKE); $(unstage)
33673 @r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 $(HOST_EXPORTS) \
33676 (cd $(HOST_SUBDIR)/gdbsupport && \
33677 $(MAKE) $(FLAGS_TO_PASS) check)
33679 @endif gdbsupport
33681 .PHONY: install-gdbsupport maybe-install-gdbsupport
33682 maybe-install-gdbsupport:
33683 @if gdbsupport
33684 maybe-install-gdbsupport: install-gdbsupport
33686 install-gdbsupport: installdirs
33687 @: $(MAKE); $(unstage)
33688 @r=`${PWD_COMMAND}`; export r; \
33689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33690 $(HOST_EXPORTS) \
33691 (cd $(HOST_SUBDIR)/gdbsupport && \
33692 $(MAKE) $(FLAGS_TO_PASS) install)
33694 @endif gdbsupport
33696 .PHONY: install-strip-gdbsupport maybe-install-strip-gdbsupport
33697 maybe-install-strip-gdbsupport:
33698 @if gdbsupport
33699 maybe-install-strip-gdbsupport: install-strip-gdbsupport
33701 install-strip-gdbsupport: installdirs
33702 @: $(MAKE); $(unstage)
33703 @r=`${PWD_COMMAND}`; export r; \
33704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33705 $(HOST_EXPORTS) \
33706 (cd $(HOST_SUBDIR)/gdbsupport && \
33707 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33709 @endif gdbsupport
33711 # Other targets (info, dvi, pdf, etc.)
33713 .PHONY: maybe-info-gdbsupport info-gdbsupport
33714 maybe-info-gdbsupport:
33715 @if gdbsupport
33716 maybe-info-gdbsupport: info-gdbsupport
33718 info-gdbsupport: \
33719 configure-gdbsupport
33720 @: $(MAKE); $(unstage)
33721 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33722 r=`${PWD_COMMAND}`; export r; \
33723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33724 $(HOST_EXPORTS) \
33725 for flag in $(EXTRA_HOST_FLAGS) ; do \
33726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33727 done; \
33728 echo "Doing info in gdbsupport"; \
33729 (cd $(HOST_SUBDIR)/gdbsupport && \
33730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33732 "RANLIB=$${RANLIB}" \
33733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33734 info) \
33735 || exit 1
33737 @endif gdbsupport
33739 .PHONY: maybe-dvi-gdbsupport dvi-gdbsupport
33740 maybe-dvi-gdbsupport:
33741 @if gdbsupport
33742 maybe-dvi-gdbsupport: dvi-gdbsupport
33744 dvi-gdbsupport: \
33745 configure-gdbsupport
33746 @: $(MAKE); $(unstage)
33747 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33748 r=`${PWD_COMMAND}`; export r; \
33749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33750 $(HOST_EXPORTS) \
33751 for flag in $(EXTRA_HOST_FLAGS) ; do \
33752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33753 done; \
33754 echo "Doing dvi in gdbsupport"; \
33755 (cd $(HOST_SUBDIR)/gdbsupport && \
33756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33758 "RANLIB=$${RANLIB}" \
33759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33760 dvi) \
33761 || exit 1
33763 @endif gdbsupport
33765 .PHONY: maybe-pdf-gdbsupport pdf-gdbsupport
33766 maybe-pdf-gdbsupport:
33767 @if gdbsupport
33768 maybe-pdf-gdbsupport: pdf-gdbsupport
33770 pdf-gdbsupport: \
33771 configure-gdbsupport
33772 @: $(MAKE); $(unstage)
33773 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33774 r=`${PWD_COMMAND}`; export r; \
33775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33776 $(HOST_EXPORTS) \
33777 for flag in $(EXTRA_HOST_FLAGS) ; do \
33778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33779 done; \
33780 echo "Doing pdf in gdbsupport"; \
33781 (cd $(HOST_SUBDIR)/gdbsupport && \
33782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33784 "RANLIB=$${RANLIB}" \
33785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33786 pdf) \
33787 || exit 1
33789 @endif gdbsupport
33791 .PHONY: maybe-html-gdbsupport html-gdbsupport
33792 maybe-html-gdbsupport:
33793 @if gdbsupport
33794 maybe-html-gdbsupport: html-gdbsupport
33796 html-gdbsupport: \
33797 configure-gdbsupport
33798 @: $(MAKE); $(unstage)
33799 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33800 r=`${PWD_COMMAND}`; export r; \
33801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33802 $(HOST_EXPORTS) \
33803 for flag in $(EXTRA_HOST_FLAGS) ; do \
33804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33805 done; \
33806 echo "Doing html in gdbsupport"; \
33807 (cd $(HOST_SUBDIR)/gdbsupport && \
33808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33810 "RANLIB=$${RANLIB}" \
33811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33812 html) \
33813 || exit 1
33815 @endif gdbsupport
33817 .PHONY: maybe-TAGS-gdbsupport TAGS-gdbsupport
33818 maybe-TAGS-gdbsupport:
33819 @if gdbsupport
33820 maybe-TAGS-gdbsupport: TAGS-gdbsupport
33822 TAGS-gdbsupport: \
33823 configure-gdbsupport
33824 @: $(MAKE); $(unstage)
33825 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33826 r=`${PWD_COMMAND}`; export r; \
33827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33828 $(HOST_EXPORTS) \
33829 for flag in $(EXTRA_HOST_FLAGS) ; do \
33830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33831 done; \
33832 echo "Doing TAGS in gdbsupport"; \
33833 (cd $(HOST_SUBDIR)/gdbsupport && \
33834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33836 "RANLIB=$${RANLIB}" \
33837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33838 TAGS) \
33839 || exit 1
33841 @endif gdbsupport
33843 .PHONY: maybe-install-info-gdbsupport install-info-gdbsupport
33844 maybe-install-info-gdbsupport:
33845 @if gdbsupport
33846 maybe-install-info-gdbsupport: install-info-gdbsupport
33848 install-info-gdbsupport: \
33849 configure-gdbsupport \
33850 info-gdbsupport
33851 @: $(MAKE); $(unstage)
33852 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33853 r=`${PWD_COMMAND}`; export r; \
33854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33855 $(HOST_EXPORTS) \
33856 for flag in $(EXTRA_HOST_FLAGS) ; do \
33857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33858 done; \
33859 echo "Doing install-info in gdbsupport"; \
33860 (cd $(HOST_SUBDIR)/gdbsupport && \
33861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33863 "RANLIB=$${RANLIB}" \
33864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33865 install-info) \
33866 || exit 1
33868 @endif gdbsupport
33870 .PHONY: maybe-install-pdf-gdbsupport install-pdf-gdbsupport
33871 maybe-install-pdf-gdbsupport:
33872 @if gdbsupport
33873 maybe-install-pdf-gdbsupport: install-pdf-gdbsupport
33875 install-pdf-gdbsupport: \
33876 configure-gdbsupport \
33877 pdf-gdbsupport
33878 @: $(MAKE); $(unstage)
33879 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33880 r=`${PWD_COMMAND}`; export r; \
33881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33882 $(HOST_EXPORTS) \
33883 for flag in $(EXTRA_HOST_FLAGS) ; do \
33884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33885 done; \
33886 echo "Doing install-pdf in gdbsupport"; \
33887 (cd $(HOST_SUBDIR)/gdbsupport && \
33888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33890 "RANLIB=$${RANLIB}" \
33891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33892 install-pdf) \
33893 || exit 1
33895 @endif gdbsupport
33897 .PHONY: maybe-install-html-gdbsupport install-html-gdbsupport
33898 maybe-install-html-gdbsupport:
33899 @if gdbsupport
33900 maybe-install-html-gdbsupport: install-html-gdbsupport
33902 install-html-gdbsupport: \
33903 configure-gdbsupport \
33904 html-gdbsupport
33905 @: $(MAKE); $(unstage)
33906 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33907 r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 $(HOST_EXPORTS) \
33910 for flag in $(EXTRA_HOST_FLAGS) ; do \
33911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33912 done; \
33913 echo "Doing install-html in gdbsupport"; \
33914 (cd $(HOST_SUBDIR)/gdbsupport && \
33915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33917 "RANLIB=$${RANLIB}" \
33918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33919 install-html) \
33920 || exit 1
33922 @endif gdbsupport
33924 .PHONY: maybe-installcheck-gdbsupport installcheck-gdbsupport
33925 maybe-installcheck-gdbsupport:
33926 @if gdbsupport
33927 maybe-installcheck-gdbsupport: installcheck-gdbsupport
33929 installcheck-gdbsupport: \
33930 configure-gdbsupport
33931 @: $(MAKE); $(unstage)
33932 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33933 r=`${PWD_COMMAND}`; export r; \
33934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33935 $(HOST_EXPORTS) \
33936 for flag in $(EXTRA_HOST_FLAGS) ; do \
33937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33938 done; \
33939 echo "Doing installcheck in gdbsupport"; \
33940 (cd $(HOST_SUBDIR)/gdbsupport && \
33941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33943 "RANLIB=$${RANLIB}" \
33944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33945 installcheck) \
33946 || exit 1
33948 @endif gdbsupport
33950 .PHONY: maybe-mostlyclean-gdbsupport mostlyclean-gdbsupport
33951 maybe-mostlyclean-gdbsupport:
33952 @if gdbsupport
33953 maybe-mostlyclean-gdbsupport: mostlyclean-gdbsupport
33955 mostlyclean-gdbsupport:
33956 @: $(MAKE); $(unstage)
33957 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33958 r=`${PWD_COMMAND}`; export r; \
33959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33960 $(HOST_EXPORTS) \
33961 for flag in $(EXTRA_HOST_FLAGS) ; do \
33962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33963 done; \
33964 echo "Doing mostlyclean in gdbsupport"; \
33965 (cd $(HOST_SUBDIR)/gdbsupport && \
33966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33968 "RANLIB=$${RANLIB}" \
33969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33970 mostlyclean) \
33971 || exit 1
33973 @endif gdbsupport
33975 .PHONY: maybe-clean-gdbsupport clean-gdbsupport
33976 maybe-clean-gdbsupport:
33977 @if gdbsupport
33978 maybe-clean-gdbsupport: clean-gdbsupport
33980 clean-gdbsupport:
33981 @: $(MAKE); $(unstage)
33982 @[ -f ./gdbsupport/Makefile ] || exit 0; \
33983 r=`${PWD_COMMAND}`; export r; \
33984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33985 $(HOST_EXPORTS) \
33986 for flag in $(EXTRA_HOST_FLAGS) ; do \
33987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33988 done; \
33989 echo "Doing clean in gdbsupport"; \
33990 (cd $(HOST_SUBDIR)/gdbsupport && \
33991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33993 "RANLIB=$${RANLIB}" \
33994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33995 clean) \
33996 || exit 1
33998 @endif gdbsupport
34000 .PHONY: maybe-distclean-gdbsupport distclean-gdbsupport
34001 maybe-distclean-gdbsupport:
34002 @if gdbsupport
34003 maybe-distclean-gdbsupport: distclean-gdbsupport
34005 distclean-gdbsupport:
34006 @: $(MAKE); $(unstage)
34007 @[ -f ./gdbsupport/Makefile ] || exit 0; \
34008 r=`${PWD_COMMAND}`; export r; \
34009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34010 $(HOST_EXPORTS) \
34011 for flag in $(EXTRA_HOST_FLAGS) ; do \
34012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34013 done; \
34014 echo "Doing distclean in gdbsupport"; \
34015 (cd $(HOST_SUBDIR)/gdbsupport && \
34016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34018 "RANLIB=$${RANLIB}" \
34019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34020 distclean) \
34021 || exit 1
34023 @endif gdbsupport
34025 .PHONY: maybe-maintainer-clean-gdbsupport maintainer-clean-gdbsupport
34026 maybe-maintainer-clean-gdbsupport:
34027 @if gdbsupport
34028 maybe-maintainer-clean-gdbsupport: maintainer-clean-gdbsupport
34030 maintainer-clean-gdbsupport:
34031 @: $(MAKE); $(unstage)
34032 @[ -f ./gdbsupport/Makefile ] || exit 0; \
34033 r=`${PWD_COMMAND}`; export r; \
34034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34035 $(HOST_EXPORTS) \
34036 for flag in $(EXTRA_HOST_FLAGS) ; do \
34037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34038 done; \
34039 echo "Doing maintainer-clean in gdbsupport"; \
34040 (cd $(HOST_SUBDIR)/gdbsupport && \
34041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34043 "RANLIB=$${RANLIB}" \
34044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34045 maintainer-clean) \
34046 || exit 1
34048 @endif gdbsupport
34052 .PHONY: configure-gdbserver maybe-configure-gdbserver
34053 maybe-configure-gdbserver:
34054 @if gcc-bootstrap
34055 configure-gdbserver: stage_current
34056 @endif gcc-bootstrap
34057 @if gdbserver
34058 maybe-configure-gdbserver: configure-gdbserver
34059 configure-gdbserver:
34060 @: $(MAKE); $(unstage)
34061 @r=`${PWD_COMMAND}`; export r; \
34062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34063 test ! -f $(HOST_SUBDIR)/gdbserver/Makefile || exit 0; \
34064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbserver; \
34065 $(HOST_EXPORTS) \
34066 echo Configuring in $(HOST_SUBDIR)/gdbserver; \
34067 cd "$(HOST_SUBDIR)/gdbserver" || exit 1; \
34068 case $(srcdir) in \
34069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34070 *) topdir=`echo $(HOST_SUBDIR)/gdbserver/ | \
34071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34072 esac; \
34073 module_srcdir=gdbserver; \
34074 $(SHELL) \
34075 $$s/$$module_srcdir/configure \
34076 --srcdir=$${topdir}/$$module_srcdir \
34077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34078 --target=${target_alias} \
34079 || exit 1
34080 @endif gdbserver
34086 .PHONY: all-gdbserver maybe-all-gdbserver
34087 maybe-all-gdbserver:
34088 @if gcc-bootstrap
34089 all-gdbserver: stage_current
34090 @endif gcc-bootstrap
34091 @if gdbserver
34092 TARGET-gdbserver=all
34093 maybe-all-gdbserver: all-gdbserver
34094 all-gdbserver: configure-gdbserver
34095 @: $(MAKE); $(unstage)
34096 @r=`${PWD_COMMAND}`; export r; \
34097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34098 $(HOST_EXPORTS) \
34099 (cd $(HOST_SUBDIR)/gdbserver && \
34100 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34101 $(TARGET-gdbserver))
34102 @endif gdbserver
34107 .PHONY: check-gdbserver maybe-check-gdbserver
34108 maybe-check-gdbserver:
34109 @if gdbserver
34110 maybe-check-gdbserver: check-gdbserver
34112 check-gdbserver:
34113 @: $(MAKE); $(unstage)
34114 @r=`${PWD_COMMAND}`; export r; \
34115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34116 $(HOST_EXPORTS) \
34117 (cd $(HOST_SUBDIR)/gdbserver && \
34118 $(MAKE) $(FLAGS_TO_PASS) check)
34120 @endif gdbserver
34122 .PHONY: install-gdbserver maybe-install-gdbserver
34123 maybe-install-gdbserver:
34124 @if gdbserver
34125 maybe-install-gdbserver: install-gdbserver
34127 install-gdbserver: installdirs
34128 @: $(MAKE); $(unstage)
34129 @r=`${PWD_COMMAND}`; export r; \
34130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34131 $(HOST_EXPORTS) \
34132 (cd $(HOST_SUBDIR)/gdbserver && \
34133 $(MAKE) $(FLAGS_TO_PASS) install)
34135 @endif gdbserver
34137 .PHONY: install-strip-gdbserver maybe-install-strip-gdbserver
34138 maybe-install-strip-gdbserver:
34139 @if gdbserver
34140 maybe-install-strip-gdbserver: install-strip-gdbserver
34142 install-strip-gdbserver: installdirs
34143 @: $(MAKE); $(unstage)
34144 @r=`${PWD_COMMAND}`; export r; \
34145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34146 $(HOST_EXPORTS) \
34147 (cd $(HOST_SUBDIR)/gdbserver && \
34148 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34150 @endif gdbserver
34152 # Other targets (info, dvi, pdf, etc.)
34154 .PHONY: maybe-info-gdbserver info-gdbserver
34155 maybe-info-gdbserver:
34156 @if gdbserver
34157 maybe-info-gdbserver: info-gdbserver
34159 info-gdbserver: \
34160 configure-gdbserver
34161 @: $(MAKE); $(unstage)
34162 @[ -f ./gdbserver/Makefile ] || exit 0; \
34163 r=`${PWD_COMMAND}`; export r; \
34164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34165 $(HOST_EXPORTS) \
34166 for flag in $(EXTRA_HOST_FLAGS) ; do \
34167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34168 done; \
34169 echo "Doing info in gdbserver"; \
34170 (cd $(HOST_SUBDIR)/gdbserver && \
34171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34173 "RANLIB=$${RANLIB}" \
34174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34175 info) \
34176 || exit 1
34178 @endif gdbserver
34180 .PHONY: maybe-dvi-gdbserver dvi-gdbserver
34181 maybe-dvi-gdbserver:
34182 @if gdbserver
34183 maybe-dvi-gdbserver: dvi-gdbserver
34185 dvi-gdbserver: \
34186 configure-gdbserver
34187 @: $(MAKE); $(unstage)
34188 @[ -f ./gdbserver/Makefile ] || exit 0; \
34189 r=`${PWD_COMMAND}`; export r; \
34190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34191 $(HOST_EXPORTS) \
34192 for flag in $(EXTRA_HOST_FLAGS) ; do \
34193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34194 done; \
34195 echo "Doing dvi in gdbserver"; \
34196 (cd $(HOST_SUBDIR)/gdbserver && \
34197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34199 "RANLIB=$${RANLIB}" \
34200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34201 dvi) \
34202 || exit 1
34204 @endif gdbserver
34206 .PHONY: maybe-pdf-gdbserver pdf-gdbserver
34207 maybe-pdf-gdbserver:
34208 @if gdbserver
34209 maybe-pdf-gdbserver: pdf-gdbserver
34211 pdf-gdbserver: \
34212 configure-gdbserver
34213 @: $(MAKE); $(unstage)
34214 @[ -f ./gdbserver/Makefile ] || exit 0; \
34215 r=`${PWD_COMMAND}`; export r; \
34216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34217 $(HOST_EXPORTS) \
34218 for flag in $(EXTRA_HOST_FLAGS) ; do \
34219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34220 done; \
34221 echo "Doing pdf in gdbserver"; \
34222 (cd $(HOST_SUBDIR)/gdbserver && \
34223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34225 "RANLIB=$${RANLIB}" \
34226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34227 pdf) \
34228 || exit 1
34230 @endif gdbserver
34232 .PHONY: maybe-html-gdbserver html-gdbserver
34233 maybe-html-gdbserver:
34234 @if gdbserver
34235 maybe-html-gdbserver: html-gdbserver
34237 html-gdbserver: \
34238 configure-gdbserver
34239 @: $(MAKE); $(unstage)
34240 @[ -f ./gdbserver/Makefile ] || exit 0; \
34241 r=`${PWD_COMMAND}`; export r; \
34242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34243 $(HOST_EXPORTS) \
34244 for flag in $(EXTRA_HOST_FLAGS) ; do \
34245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34246 done; \
34247 echo "Doing html in gdbserver"; \
34248 (cd $(HOST_SUBDIR)/gdbserver && \
34249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34251 "RANLIB=$${RANLIB}" \
34252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34253 html) \
34254 || exit 1
34256 @endif gdbserver
34258 .PHONY: maybe-TAGS-gdbserver TAGS-gdbserver
34259 maybe-TAGS-gdbserver:
34260 @if gdbserver
34261 maybe-TAGS-gdbserver: TAGS-gdbserver
34263 TAGS-gdbserver: \
34264 configure-gdbserver
34265 @: $(MAKE); $(unstage)
34266 @[ -f ./gdbserver/Makefile ] || exit 0; \
34267 r=`${PWD_COMMAND}`; export r; \
34268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34269 $(HOST_EXPORTS) \
34270 for flag in $(EXTRA_HOST_FLAGS) ; do \
34271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34272 done; \
34273 echo "Doing TAGS in gdbserver"; \
34274 (cd $(HOST_SUBDIR)/gdbserver && \
34275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34277 "RANLIB=$${RANLIB}" \
34278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34279 TAGS) \
34280 || exit 1
34282 @endif gdbserver
34284 .PHONY: maybe-install-info-gdbserver install-info-gdbserver
34285 maybe-install-info-gdbserver:
34286 @if gdbserver
34287 maybe-install-info-gdbserver: install-info-gdbserver
34289 install-info-gdbserver: \
34290 configure-gdbserver \
34291 info-gdbserver
34292 @: $(MAKE); $(unstage)
34293 @[ -f ./gdbserver/Makefile ] || exit 0; \
34294 r=`${PWD_COMMAND}`; export r; \
34295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34296 $(HOST_EXPORTS) \
34297 for flag in $(EXTRA_HOST_FLAGS) ; do \
34298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34299 done; \
34300 echo "Doing install-info in gdbserver"; \
34301 (cd $(HOST_SUBDIR)/gdbserver && \
34302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34304 "RANLIB=$${RANLIB}" \
34305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34306 install-info) \
34307 || exit 1
34309 @endif gdbserver
34311 .PHONY: maybe-install-pdf-gdbserver install-pdf-gdbserver
34312 maybe-install-pdf-gdbserver:
34313 @if gdbserver
34314 maybe-install-pdf-gdbserver: install-pdf-gdbserver
34316 install-pdf-gdbserver: \
34317 configure-gdbserver \
34318 pdf-gdbserver
34319 @: $(MAKE); $(unstage)
34320 @[ -f ./gdbserver/Makefile ] || exit 0; \
34321 r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 $(HOST_EXPORTS) \
34324 for flag in $(EXTRA_HOST_FLAGS) ; do \
34325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34326 done; \
34327 echo "Doing install-pdf in gdbserver"; \
34328 (cd $(HOST_SUBDIR)/gdbserver && \
34329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34331 "RANLIB=$${RANLIB}" \
34332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34333 install-pdf) \
34334 || exit 1
34336 @endif gdbserver
34338 .PHONY: maybe-install-html-gdbserver install-html-gdbserver
34339 maybe-install-html-gdbserver:
34340 @if gdbserver
34341 maybe-install-html-gdbserver: install-html-gdbserver
34343 install-html-gdbserver: \
34344 configure-gdbserver \
34345 html-gdbserver
34346 @: $(MAKE); $(unstage)
34347 @[ -f ./gdbserver/Makefile ] || exit 0; \
34348 r=`${PWD_COMMAND}`; export r; \
34349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34350 $(HOST_EXPORTS) \
34351 for flag in $(EXTRA_HOST_FLAGS) ; do \
34352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34353 done; \
34354 echo "Doing install-html in gdbserver"; \
34355 (cd $(HOST_SUBDIR)/gdbserver && \
34356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34358 "RANLIB=$${RANLIB}" \
34359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34360 install-html) \
34361 || exit 1
34363 @endif gdbserver
34365 .PHONY: maybe-installcheck-gdbserver installcheck-gdbserver
34366 maybe-installcheck-gdbserver:
34367 @if gdbserver
34368 maybe-installcheck-gdbserver: installcheck-gdbserver
34370 installcheck-gdbserver: \
34371 configure-gdbserver
34372 @: $(MAKE); $(unstage)
34373 @[ -f ./gdbserver/Makefile ] || exit 0; \
34374 r=`${PWD_COMMAND}`; export r; \
34375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34376 $(HOST_EXPORTS) \
34377 for flag in $(EXTRA_HOST_FLAGS) ; do \
34378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34379 done; \
34380 echo "Doing installcheck in gdbserver"; \
34381 (cd $(HOST_SUBDIR)/gdbserver && \
34382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34384 "RANLIB=$${RANLIB}" \
34385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34386 installcheck) \
34387 || exit 1
34389 @endif gdbserver
34391 .PHONY: maybe-mostlyclean-gdbserver mostlyclean-gdbserver
34392 maybe-mostlyclean-gdbserver:
34393 @if gdbserver
34394 maybe-mostlyclean-gdbserver: mostlyclean-gdbserver
34396 mostlyclean-gdbserver:
34397 @: $(MAKE); $(unstage)
34398 @[ -f ./gdbserver/Makefile ] || exit 0; \
34399 r=`${PWD_COMMAND}`; export r; \
34400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34401 $(HOST_EXPORTS) \
34402 for flag in $(EXTRA_HOST_FLAGS) ; do \
34403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34404 done; \
34405 echo "Doing mostlyclean in gdbserver"; \
34406 (cd $(HOST_SUBDIR)/gdbserver && \
34407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34409 "RANLIB=$${RANLIB}" \
34410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34411 mostlyclean) \
34412 || exit 1
34414 @endif gdbserver
34416 .PHONY: maybe-clean-gdbserver clean-gdbserver
34417 maybe-clean-gdbserver:
34418 @if gdbserver
34419 maybe-clean-gdbserver: clean-gdbserver
34421 clean-gdbserver:
34422 @: $(MAKE); $(unstage)
34423 @[ -f ./gdbserver/Makefile ] || exit 0; \
34424 r=`${PWD_COMMAND}`; export r; \
34425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34426 $(HOST_EXPORTS) \
34427 for flag in $(EXTRA_HOST_FLAGS) ; do \
34428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34429 done; \
34430 echo "Doing clean in gdbserver"; \
34431 (cd $(HOST_SUBDIR)/gdbserver && \
34432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34434 "RANLIB=$${RANLIB}" \
34435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34436 clean) \
34437 || exit 1
34439 @endif gdbserver
34441 .PHONY: maybe-distclean-gdbserver distclean-gdbserver
34442 maybe-distclean-gdbserver:
34443 @if gdbserver
34444 maybe-distclean-gdbserver: distclean-gdbserver
34446 distclean-gdbserver:
34447 @: $(MAKE); $(unstage)
34448 @[ -f ./gdbserver/Makefile ] || exit 0; \
34449 r=`${PWD_COMMAND}`; export r; \
34450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34451 $(HOST_EXPORTS) \
34452 for flag in $(EXTRA_HOST_FLAGS) ; do \
34453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34454 done; \
34455 echo "Doing distclean in gdbserver"; \
34456 (cd $(HOST_SUBDIR)/gdbserver && \
34457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34459 "RANLIB=$${RANLIB}" \
34460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34461 distclean) \
34462 || exit 1
34464 @endif gdbserver
34466 .PHONY: maybe-maintainer-clean-gdbserver maintainer-clean-gdbserver
34467 maybe-maintainer-clean-gdbserver:
34468 @if gdbserver
34469 maybe-maintainer-clean-gdbserver: maintainer-clean-gdbserver
34471 maintainer-clean-gdbserver:
34472 @: $(MAKE); $(unstage)
34473 @[ -f ./gdbserver/Makefile ] || exit 0; \
34474 r=`${PWD_COMMAND}`; export r; \
34475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34476 $(HOST_EXPORTS) \
34477 for flag in $(EXTRA_HOST_FLAGS) ; do \
34478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34479 done; \
34480 echo "Doing maintainer-clean in gdbserver"; \
34481 (cd $(HOST_SUBDIR)/gdbserver && \
34482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34484 "RANLIB=$${RANLIB}" \
34485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34486 maintainer-clean) \
34487 || exit 1
34489 @endif gdbserver
34493 .PHONY: configure-gdb maybe-configure-gdb
34494 maybe-configure-gdb:
34495 @if gcc-bootstrap
34496 configure-gdb: stage_current
34497 @endif gcc-bootstrap
34498 @if gdb
34499 maybe-configure-gdb: configure-gdb
34500 configure-gdb:
34501 @: $(MAKE); $(unstage)
34502 @r=`${PWD_COMMAND}`; export r; \
34503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34504 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
34505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
34506 $(HOST_EXPORTS) \
34507 echo Configuring in $(HOST_SUBDIR)/gdb; \
34508 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
34509 case $(srcdir) in \
34510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34511 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
34512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34513 esac; \
34514 module_srcdir=gdb; \
34515 $(SHELL) \
34516 $$s/$$module_srcdir/configure \
34517 --srcdir=$${topdir}/$$module_srcdir \
34518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34519 --target=${target_alias} \
34520 || exit 1
34521 @endif gdb
34527 .PHONY: all-gdb maybe-all-gdb
34528 maybe-all-gdb:
34529 @if gcc-bootstrap
34530 all-gdb: stage_current
34531 @endif gcc-bootstrap
34532 @if gdb
34533 TARGET-gdb=all
34534 maybe-all-gdb: all-gdb
34535 all-gdb: configure-gdb
34536 @: $(MAKE); $(unstage)
34537 @r=`${PWD_COMMAND}`; export r; \
34538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34539 $(HOST_EXPORTS) \
34540 (cd $(HOST_SUBDIR)/gdb && \
34541 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34542 $(TARGET-gdb))
34543 @endif gdb
34548 .PHONY: check-gdb maybe-check-gdb
34549 maybe-check-gdb:
34550 @if gdb
34551 maybe-check-gdb: check-gdb
34553 check-gdb:
34554 @: $(MAKE); $(unstage)
34555 @r=`${PWD_COMMAND}`; export r; \
34556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34557 $(HOST_EXPORTS) \
34558 (cd $(HOST_SUBDIR)/gdb && \
34559 $(MAKE) $(FLAGS_TO_PASS) check)
34561 @endif gdb
34563 .PHONY: install-gdb maybe-install-gdb
34564 maybe-install-gdb:
34565 @if gdb
34566 maybe-install-gdb: install-gdb
34568 install-gdb: installdirs
34569 @: $(MAKE); $(unstage)
34570 @r=`${PWD_COMMAND}`; export r; \
34571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34572 $(HOST_EXPORTS) \
34573 (cd $(HOST_SUBDIR)/gdb && \
34574 $(MAKE) $(FLAGS_TO_PASS) install)
34576 @endif gdb
34578 .PHONY: install-strip-gdb maybe-install-strip-gdb
34579 maybe-install-strip-gdb:
34580 @if gdb
34581 maybe-install-strip-gdb: install-strip-gdb
34583 install-strip-gdb: installdirs
34584 @: $(MAKE); $(unstage)
34585 @r=`${PWD_COMMAND}`; export r; \
34586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34587 $(HOST_EXPORTS) \
34588 (cd $(HOST_SUBDIR)/gdb && \
34589 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34591 @endif gdb
34593 # Other targets (info, dvi, pdf, etc.)
34595 .PHONY: maybe-info-gdb info-gdb
34596 maybe-info-gdb:
34597 @if gdb
34598 maybe-info-gdb: info-gdb
34600 info-gdb: \
34601 configure-gdb
34602 @: $(MAKE); $(unstage)
34603 @[ -f ./gdb/Makefile ] || exit 0; \
34604 r=`${PWD_COMMAND}`; export r; \
34605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34606 $(HOST_EXPORTS) \
34607 for flag in $(EXTRA_HOST_FLAGS) ; do \
34608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34609 done; \
34610 echo "Doing info in gdb"; \
34611 (cd $(HOST_SUBDIR)/gdb && \
34612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34614 "RANLIB=$${RANLIB}" \
34615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34616 info) \
34617 || exit 1
34619 @endif gdb
34621 .PHONY: maybe-dvi-gdb dvi-gdb
34622 maybe-dvi-gdb:
34623 @if gdb
34624 maybe-dvi-gdb: dvi-gdb
34626 dvi-gdb: \
34627 configure-gdb
34628 @: $(MAKE); $(unstage)
34629 @[ -f ./gdb/Makefile ] || exit 0; \
34630 r=`${PWD_COMMAND}`; export r; \
34631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34632 $(HOST_EXPORTS) \
34633 for flag in $(EXTRA_HOST_FLAGS) ; do \
34634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34635 done; \
34636 echo "Doing dvi in gdb"; \
34637 (cd $(HOST_SUBDIR)/gdb && \
34638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34640 "RANLIB=$${RANLIB}" \
34641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34642 dvi) \
34643 || exit 1
34645 @endif gdb
34647 .PHONY: maybe-pdf-gdb pdf-gdb
34648 maybe-pdf-gdb:
34649 @if gdb
34650 maybe-pdf-gdb: pdf-gdb
34652 pdf-gdb: \
34653 configure-gdb
34654 @: $(MAKE); $(unstage)
34655 @[ -f ./gdb/Makefile ] || exit 0; \
34656 r=`${PWD_COMMAND}`; export r; \
34657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34658 $(HOST_EXPORTS) \
34659 for flag in $(EXTRA_HOST_FLAGS) ; do \
34660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34661 done; \
34662 echo "Doing pdf in gdb"; \
34663 (cd $(HOST_SUBDIR)/gdb && \
34664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34666 "RANLIB=$${RANLIB}" \
34667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34668 pdf) \
34669 || exit 1
34671 @endif gdb
34673 .PHONY: maybe-html-gdb html-gdb
34674 maybe-html-gdb:
34675 @if gdb
34676 maybe-html-gdb: html-gdb
34678 html-gdb: \
34679 configure-gdb
34680 @: $(MAKE); $(unstage)
34681 @[ -f ./gdb/Makefile ] || exit 0; \
34682 r=`${PWD_COMMAND}`; export r; \
34683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34684 $(HOST_EXPORTS) \
34685 for flag in $(EXTRA_HOST_FLAGS) ; do \
34686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34687 done; \
34688 echo "Doing html in gdb"; \
34689 (cd $(HOST_SUBDIR)/gdb && \
34690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34692 "RANLIB=$${RANLIB}" \
34693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34694 html) \
34695 || exit 1
34697 @endif gdb
34699 .PHONY: maybe-TAGS-gdb TAGS-gdb
34700 maybe-TAGS-gdb:
34701 @if gdb
34702 maybe-TAGS-gdb: TAGS-gdb
34704 TAGS-gdb: \
34705 configure-gdb
34706 @: $(MAKE); $(unstage)
34707 @[ -f ./gdb/Makefile ] || exit 0; \
34708 r=`${PWD_COMMAND}`; export r; \
34709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34710 $(HOST_EXPORTS) \
34711 for flag in $(EXTRA_HOST_FLAGS) ; do \
34712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34713 done; \
34714 echo "Doing TAGS in gdb"; \
34715 (cd $(HOST_SUBDIR)/gdb && \
34716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34718 "RANLIB=$${RANLIB}" \
34719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34720 TAGS) \
34721 || exit 1
34723 @endif gdb
34725 .PHONY: maybe-install-info-gdb install-info-gdb
34726 maybe-install-info-gdb:
34727 @if gdb
34728 maybe-install-info-gdb: install-info-gdb
34730 install-info-gdb: \
34731 configure-gdb \
34732 info-gdb
34733 @: $(MAKE); $(unstage)
34734 @[ -f ./gdb/Makefile ] || exit 0; \
34735 r=`${PWD_COMMAND}`; export r; \
34736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34737 $(HOST_EXPORTS) \
34738 for flag in $(EXTRA_HOST_FLAGS) ; do \
34739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34740 done; \
34741 echo "Doing install-info in gdb"; \
34742 (cd $(HOST_SUBDIR)/gdb && \
34743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34745 "RANLIB=$${RANLIB}" \
34746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34747 install-info) \
34748 || exit 1
34750 @endif gdb
34752 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
34753 maybe-install-pdf-gdb:
34754 @if gdb
34755 maybe-install-pdf-gdb: install-pdf-gdb
34757 install-pdf-gdb: \
34758 configure-gdb \
34759 pdf-gdb
34760 @: $(MAKE); $(unstage)
34761 @[ -f ./gdb/Makefile ] || exit 0; \
34762 r=`${PWD_COMMAND}`; export r; \
34763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34764 $(HOST_EXPORTS) \
34765 for flag in $(EXTRA_HOST_FLAGS) ; do \
34766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34767 done; \
34768 echo "Doing install-pdf in gdb"; \
34769 (cd $(HOST_SUBDIR)/gdb && \
34770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34772 "RANLIB=$${RANLIB}" \
34773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34774 install-pdf) \
34775 || exit 1
34777 @endif gdb
34779 .PHONY: maybe-install-html-gdb install-html-gdb
34780 maybe-install-html-gdb:
34781 @if gdb
34782 maybe-install-html-gdb: install-html-gdb
34784 install-html-gdb: \
34785 configure-gdb \
34786 html-gdb
34787 @: $(MAKE); $(unstage)
34788 @[ -f ./gdb/Makefile ] || exit 0; \
34789 r=`${PWD_COMMAND}`; export r; \
34790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34791 $(HOST_EXPORTS) \
34792 for flag in $(EXTRA_HOST_FLAGS) ; do \
34793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34794 done; \
34795 echo "Doing install-html in gdb"; \
34796 (cd $(HOST_SUBDIR)/gdb && \
34797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34799 "RANLIB=$${RANLIB}" \
34800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34801 install-html) \
34802 || exit 1
34804 @endif gdb
34806 .PHONY: maybe-installcheck-gdb installcheck-gdb
34807 maybe-installcheck-gdb:
34808 @if gdb
34809 maybe-installcheck-gdb: installcheck-gdb
34811 installcheck-gdb: \
34812 configure-gdb
34813 @: $(MAKE); $(unstage)
34814 @[ -f ./gdb/Makefile ] || exit 0; \
34815 r=`${PWD_COMMAND}`; export r; \
34816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34817 $(HOST_EXPORTS) \
34818 for flag in $(EXTRA_HOST_FLAGS) ; do \
34819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34820 done; \
34821 echo "Doing installcheck in gdb"; \
34822 (cd $(HOST_SUBDIR)/gdb && \
34823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34825 "RANLIB=$${RANLIB}" \
34826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34827 installcheck) \
34828 || exit 1
34830 @endif gdb
34832 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
34833 maybe-mostlyclean-gdb:
34834 @if gdb
34835 maybe-mostlyclean-gdb: mostlyclean-gdb
34837 mostlyclean-gdb:
34838 @: $(MAKE); $(unstage)
34839 @[ -f ./gdb/Makefile ] || exit 0; \
34840 r=`${PWD_COMMAND}`; export r; \
34841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34842 $(HOST_EXPORTS) \
34843 for flag in $(EXTRA_HOST_FLAGS) ; do \
34844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34845 done; \
34846 echo "Doing mostlyclean in gdb"; \
34847 (cd $(HOST_SUBDIR)/gdb && \
34848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34850 "RANLIB=$${RANLIB}" \
34851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34852 mostlyclean) \
34853 || exit 1
34855 @endif gdb
34857 .PHONY: maybe-clean-gdb clean-gdb
34858 maybe-clean-gdb:
34859 @if gdb
34860 maybe-clean-gdb: clean-gdb
34862 clean-gdb:
34863 @: $(MAKE); $(unstage)
34864 @[ -f ./gdb/Makefile ] || exit 0; \
34865 r=`${PWD_COMMAND}`; export r; \
34866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34867 $(HOST_EXPORTS) \
34868 for flag in $(EXTRA_HOST_FLAGS) ; do \
34869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34870 done; \
34871 echo "Doing clean in gdb"; \
34872 (cd $(HOST_SUBDIR)/gdb && \
34873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34875 "RANLIB=$${RANLIB}" \
34876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34877 clean) \
34878 || exit 1
34880 @endif gdb
34882 .PHONY: maybe-distclean-gdb distclean-gdb
34883 maybe-distclean-gdb:
34884 @if gdb
34885 maybe-distclean-gdb: distclean-gdb
34887 distclean-gdb:
34888 @: $(MAKE); $(unstage)
34889 @[ -f ./gdb/Makefile ] || exit 0; \
34890 r=`${PWD_COMMAND}`; export r; \
34891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34892 $(HOST_EXPORTS) \
34893 for flag in $(EXTRA_HOST_FLAGS) ; do \
34894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34895 done; \
34896 echo "Doing distclean in gdb"; \
34897 (cd $(HOST_SUBDIR)/gdb && \
34898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34900 "RANLIB=$${RANLIB}" \
34901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34902 distclean) \
34903 || exit 1
34905 @endif gdb
34907 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
34908 maybe-maintainer-clean-gdb:
34909 @if gdb
34910 maybe-maintainer-clean-gdb: maintainer-clean-gdb
34912 maintainer-clean-gdb:
34913 @: $(MAKE); $(unstage)
34914 @[ -f ./gdb/Makefile ] || exit 0; \
34915 r=`${PWD_COMMAND}`; export r; \
34916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34917 $(HOST_EXPORTS) \
34918 for flag in $(EXTRA_HOST_FLAGS) ; do \
34919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34920 done; \
34921 echo "Doing maintainer-clean in gdb"; \
34922 (cd $(HOST_SUBDIR)/gdb && \
34923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34925 "RANLIB=$${RANLIB}" \
34926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34927 maintainer-clean) \
34928 || exit 1
34930 @endif gdb
34934 .PHONY: configure-expect maybe-configure-expect
34935 maybe-configure-expect:
34936 @if gcc-bootstrap
34937 configure-expect: stage_current
34938 @endif gcc-bootstrap
34939 @if expect
34940 maybe-configure-expect: configure-expect
34941 configure-expect:
34942 @: $(MAKE); $(unstage)
34943 @r=`${PWD_COMMAND}`; export r; \
34944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34945 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
34946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
34947 $(HOST_EXPORTS) \
34948 echo Configuring in $(HOST_SUBDIR)/expect; \
34949 cd "$(HOST_SUBDIR)/expect" || exit 1; \
34950 case $(srcdir) in \
34951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34952 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
34953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34954 esac; \
34955 module_srcdir=expect; \
34956 $(SHELL) \
34957 $$s/$$module_srcdir/configure \
34958 --srcdir=$${topdir}/$$module_srcdir \
34959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34960 --target=${target_alias} \
34961 || exit 1
34962 @endif expect
34968 .PHONY: all-expect maybe-all-expect
34969 maybe-all-expect:
34970 @if gcc-bootstrap
34971 all-expect: stage_current
34972 @endif gcc-bootstrap
34973 @if expect
34974 TARGET-expect=all
34975 maybe-all-expect: all-expect
34976 all-expect: configure-expect
34977 @: $(MAKE); $(unstage)
34978 @r=`${PWD_COMMAND}`; export r; \
34979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34980 $(HOST_EXPORTS) \
34981 (cd $(HOST_SUBDIR)/expect && \
34982 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34983 $(TARGET-expect))
34984 @endif expect
34989 .PHONY: check-expect maybe-check-expect
34990 maybe-check-expect:
34991 @if expect
34992 maybe-check-expect: check-expect
34994 check-expect:
34995 @: $(MAKE); $(unstage)
34996 @r=`${PWD_COMMAND}`; export r; \
34997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34998 $(HOST_EXPORTS) \
34999 (cd $(HOST_SUBDIR)/expect && \
35000 $(MAKE) $(FLAGS_TO_PASS) check)
35002 @endif expect
35004 .PHONY: install-expect maybe-install-expect
35005 maybe-install-expect:
35006 @if expect
35007 maybe-install-expect: install-expect
35009 install-expect: installdirs
35010 @: $(MAKE); $(unstage)
35011 @r=`${PWD_COMMAND}`; export r; \
35012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35013 $(HOST_EXPORTS) \
35014 (cd $(HOST_SUBDIR)/expect && \
35015 $(MAKE) $(FLAGS_TO_PASS) install)
35017 @endif expect
35019 .PHONY: install-strip-expect maybe-install-strip-expect
35020 maybe-install-strip-expect:
35021 @if expect
35022 maybe-install-strip-expect: install-strip-expect
35024 install-strip-expect: installdirs
35025 @: $(MAKE); $(unstage)
35026 @r=`${PWD_COMMAND}`; export r; \
35027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35028 $(HOST_EXPORTS) \
35029 (cd $(HOST_SUBDIR)/expect && \
35030 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35032 @endif expect
35034 # Other targets (info, dvi, pdf, etc.)
35036 .PHONY: maybe-info-expect info-expect
35037 maybe-info-expect:
35038 @if expect
35039 maybe-info-expect: info-expect
35041 info-expect: \
35042 configure-expect
35043 @: $(MAKE); $(unstage)
35044 @[ -f ./expect/Makefile ] || exit 0; \
35045 r=`${PWD_COMMAND}`; export r; \
35046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35047 $(HOST_EXPORTS) \
35048 for flag in $(EXTRA_HOST_FLAGS) ; do \
35049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35050 done; \
35051 echo "Doing info in expect"; \
35052 (cd $(HOST_SUBDIR)/expect && \
35053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35055 "RANLIB=$${RANLIB}" \
35056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35057 info) \
35058 || exit 1
35060 @endif expect
35062 .PHONY: maybe-dvi-expect dvi-expect
35063 maybe-dvi-expect:
35064 @if expect
35065 maybe-dvi-expect: dvi-expect
35067 dvi-expect: \
35068 configure-expect
35069 @: $(MAKE); $(unstage)
35070 @[ -f ./expect/Makefile ] || exit 0; \
35071 r=`${PWD_COMMAND}`; export r; \
35072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35073 $(HOST_EXPORTS) \
35074 for flag in $(EXTRA_HOST_FLAGS) ; do \
35075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35076 done; \
35077 echo "Doing dvi in expect"; \
35078 (cd $(HOST_SUBDIR)/expect && \
35079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35081 "RANLIB=$${RANLIB}" \
35082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35083 dvi) \
35084 || exit 1
35086 @endif expect
35088 .PHONY: maybe-pdf-expect pdf-expect
35089 maybe-pdf-expect:
35090 @if expect
35091 maybe-pdf-expect: pdf-expect
35093 pdf-expect: \
35094 configure-expect
35095 @: $(MAKE); $(unstage)
35096 @[ -f ./expect/Makefile ] || exit 0; \
35097 r=`${PWD_COMMAND}`; export r; \
35098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35099 $(HOST_EXPORTS) \
35100 for flag in $(EXTRA_HOST_FLAGS) ; do \
35101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35102 done; \
35103 echo "Doing pdf in expect"; \
35104 (cd $(HOST_SUBDIR)/expect && \
35105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35107 "RANLIB=$${RANLIB}" \
35108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35109 pdf) \
35110 || exit 1
35112 @endif expect
35114 .PHONY: maybe-html-expect html-expect
35115 maybe-html-expect:
35116 @if expect
35117 maybe-html-expect: html-expect
35119 html-expect: \
35120 configure-expect
35121 @: $(MAKE); $(unstage)
35122 @[ -f ./expect/Makefile ] || exit 0; \
35123 r=`${PWD_COMMAND}`; export r; \
35124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35125 $(HOST_EXPORTS) \
35126 for flag in $(EXTRA_HOST_FLAGS) ; do \
35127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35128 done; \
35129 echo "Doing html in expect"; \
35130 (cd $(HOST_SUBDIR)/expect && \
35131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35133 "RANLIB=$${RANLIB}" \
35134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35135 html) \
35136 || exit 1
35138 @endif expect
35140 .PHONY: maybe-TAGS-expect TAGS-expect
35141 maybe-TAGS-expect:
35142 @if expect
35143 maybe-TAGS-expect: TAGS-expect
35145 TAGS-expect: \
35146 configure-expect
35147 @: $(MAKE); $(unstage)
35148 @[ -f ./expect/Makefile ] || exit 0; \
35149 r=`${PWD_COMMAND}`; export r; \
35150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35151 $(HOST_EXPORTS) \
35152 for flag in $(EXTRA_HOST_FLAGS) ; do \
35153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35154 done; \
35155 echo "Doing TAGS in expect"; \
35156 (cd $(HOST_SUBDIR)/expect && \
35157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35159 "RANLIB=$${RANLIB}" \
35160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35161 TAGS) \
35162 || exit 1
35164 @endif expect
35166 .PHONY: maybe-install-info-expect install-info-expect
35167 maybe-install-info-expect:
35168 @if expect
35169 maybe-install-info-expect: install-info-expect
35171 install-info-expect: \
35172 configure-expect \
35173 info-expect
35174 @: $(MAKE); $(unstage)
35175 @[ -f ./expect/Makefile ] || exit 0; \
35176 r=`${PWD_COMMAND}`; export r; \
35177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35178 $(HOST_EXPORTS) \
35179 for flag in $(EXTRA_HOST_FLAGS) ; do \
35180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35181 done; \
35182 echo "Doing install-info in expect"; \
35183 (cd $(HOST_SUBDIR)/expect && \
35184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35186 "RANLIB=$${RANLIB}" \
35187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35188 install-info) \
35189 || exit 1
35191 @endif expect
35193 .PHONY: maybe-install-pdf-expect install-pdf-expect
35194 maybe-install-pdf-expect:
35195 @if expect
35196 maybe-install-pdf-expect: install-pdf-expect
35198 install-pdf-expect: \
35199 configure-expect \
35200 pdf-expect
35201 @: $(MAKE); $(unstage)
35202 @[ -f ./expect/Makefile ] || exit 0; \
35203 r=`${PWD_COMMAND}`; export r; \
35204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35205 $(HOST_EXPORTS) \
35206 for flag in $(EXTRA_HOST_FLAGS) ; do \
35207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35208 done; \
35209 echo "Doing install-pdf in expect"; \
35210 (cd $(HOST_SUBDIR)/expect && \
35211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35213 "RANLIB=$${RANLIB}" \
35214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35215 install-pdf) \
35216 || exit 1
35218 @endif expect
35220 .PHONY: maybe-install-html-expect install-html-expect
35221 maybe-install-html-expect:
35222 @if expect
35223 maybe-install-html-expect: install-html-expect
35225 install-html-expect: \
35226 configure-expect \
35227 html-expect
35228 @: $(MAKE); $(unstage)
35229 @[ -f ./expect/Makefile ] || exit 0; \
35230 r=`${PWD_COMMAND}`; export r; \
35231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35232 $(HOST_EXPORTS) \
35233 for flag in $(EXTRA_HOST_FLAGS) ; do \
35234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35235 done; \
35236 echo "Doing install-html in expect"; \
35237 (cd $(HOST_SUBDIR)/expect && \
35238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35240 "RANLIB=$${RANLIB}" \
35241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35242 install-html) \
35243 || exit 1
35245 @endif expect
35247 .PHONY: maybe-installcheck-expect installcheck-expect
35248 maybe-installcheck-expect:
35249 @if expect
35250 maybe-installcheck-expect: installcheck-expect
35252 installcheck-expect: \
35253 configure-expect
35254 @: $(MAKE); $(unstage)
35255 @[ -f ./expect/Makefile ] || exit 0; \
35256 r=`${PWD_COMMAND}`; export r; \
35257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35258 $(HOST_EXPORTS) \
35259 for flag in $(EXTRA_HOST_FLAGS) ; do \
35260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35261 done; \
35262 echo "Doing installcheck in expect"; \
35263 (cd $(HOST_SUBDIR)/expect && \
35264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35266 "RANLIB=$${RANLIB}" \
35267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35268 installcheck) \
35269 || exit 1
35271 @endif expect
35273 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
35274 maybe-mostlyclean-expect:
35275 @if expect
35276 maybe-mostlyclean-expect: mostlyclean-expect
35278 mostlyclean-expect:
35279 @: $(MAKE); $(unstage)
35280 @[ -f ./expect/Makefile ] || exit 0; \
35281 r=`${PWD_COMMAND}`; export r; \
35282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35283 $(HOST_EXPORTS) \
35284 for flag in $(EXTRA_HOST_FLAGS) ; do \
35285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35286 done; \
35287 echo "Doing mostlyclean in expect"; \
35288 (cd $(HOST_SUBDIR)/expect && \
35289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35291 "RANLIB=$${RANLIB}" \
35292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35293 mostlyclean) \
35294 || exit 1
35296 @endif expect
35298 .PHONY: maybe-clean-expect clean-expect
35299 maybe-clean-expect:
35300 @if expect
35301 maybe-clean-expect: clean-expect
35303 clean-expect:
35304 @: $(MAKE); $(unstage)
35305 @[ -f ./expect/Makefile ] || exit 0; \
35306 r=`${PWD_COMMAND}`; export r; \
35307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35308 $(HOST_EXPORTS) \
35309 for flag in $(EXTRA_HOST_FLAGS) ; do \
35310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35311 done; \
35312 echo "Doing clean in expect"; \
35313 (cd $(HOST_SUBDIR)/expect && \
35314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35316 "RANLIB=$${RANLIB}" \
35317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35318 clean) \
35319 || exit 1
35321 @endif expect
35323 .PHONY: maybe-distclean-expect distclean-expect
35324 maybe-distclean-expect:
35325 @if expect
35326 maybe-distclean-expect: distclean-expect
35328 distclean-expect:
35329 @: $(MAKE); $(unstage)
35330 @[ -f ./expect/Makefile ] || exit 0; \
35331 r=`${PWD_COMMAND}`; export r; \
35332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35333 $(HOST_EXPORTS) \
35334 for flag in $(EXTRA_HOST_FLAGS) ; do \
35335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35336 done; \
35337 echo "Doing distclean in expect"; \
35338 (cd $(HOST_SUBDIR)/expect && \
35339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35341 "RANLIB=$${RANLIB}" \
35342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35343 distclean) \
35344 || exit 1
35346 @endif expect
35348 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
35349 maybe-maintainer-clean-expect:
35350 @if expect
35351 maybe-maintainer-clean-expect: maintainer-clean-expect
35353 maintainer-clean-expect:
35354 @: $(MAKE); $(unstage)
35355 @[ -f ./expect/Makefile ] || exit 0; \
35356 r=`${PWD_COMMAND}`; export r; \
35357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35358 $(HOST_EXPORTS) \
35359 for flag in $(EXTRA_HOST_FLAGS) ; do \
35360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35361 done; \
35362 echo "Doing maintainer-clean in expect"; \
35363 (cd $(HOST_SUBDIR)/expect && \
35364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35366 "RANLIB=$${RANLIB}" \
35367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35368 maintainer-clean) \
35369 || exit 1
35371 @endif expect
35375 .PHONY: configure-guile maybe-configure-guile
35376 maybe-configure-guile:
35377 @if gcc-bootstrap
35378 configure-guile: stage_current
35379 @endif gcc-bootstrap
35380 @if guile
35381 maybe-configure-guile: configure-guile
35382 configure-guile:
35383 @: $(MAKE); $(unstage)
35384 @r=`${PWD_COMMAND}`; export r; \
35385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35386 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
35387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
35388 $(HOST_EXPORTS) \
35389 echo Configuring in $(HOST_SUBDIR)/guile; \
35390 cd "$(HOST_SUBDIR)/guile" || exit 1; \
35391 case $(srcdir) in \
35392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35393 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
35394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35395 esac; \
35396 module_srcdir=guile; \
35397 $(SHELL) \
35398 $$s/$$module_srcdir/configure \
35399 --srcdir=$${topdir}/$$module_srcdir \
35400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35401 --target=${target_alias} \
35402 || exit 1
35403 @endif guile
35409 .PHONY: all-guile maybe-all-guile
35410 maybe-all-guile:
35411 @if gcc-bootstrap
35412 all-guile: stage_current
35413 @endif gcc-bootstrap
35414 @if guile
35415 TARGET-guile=all
35416 maybe-all-guile: all-guile
35417 all-guile: configure-guile
35418 @: $(MAKE); $(unstage)
35419 @r=`${PWD_COMMAND}`; export r; \
35420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35421 $(HOST_EXPORTS) \
35422 (cd $(HOST_SUBDIR)/guile && \
35423 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35424 $(TARGET-guile))
35425 @endif guile
35430 .PHONY: check-guile maybe-check-guile
35431 maybe-check-guile:
35432 @if guile
35433 maybe-check-guile: check-guile
35435 check-guile:
35436 @: $(MAKE); $(unstage)
35437 @r=`${PWD_COMMAND}`; export r; \
35438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35439 $(HOST_EXPORTS) \
35440 (cd $(HOST_SUBDIR)/guile && \
35441 $(MAKE) $(FLAGS_TO_PASS) check)
35443 @endif guile
35445 .PHONY: install-guile maybe-install-guile
35446 maybe-install-guile:
35447 @if guile
35448 maybe-install-guile: install-guile
35450 install-guile: installdirs
35451 @: $(MAKE); $(unstage)
35452 @r=`${PWD_COMMAND}`; export r; \
35453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35454 $(HOST_EXPORTS) \
35455 (cd $(HOST_SUBDIR)/guile && \
35456 $(MAKE) $(FLAGS_TO_PASS) install)
35458 @endif guile
35460 .PHONY: install-strip-guile maybe-install-strip-guile
35461 maybe-install-strip-guile:
35462 @if guile
35463 maybe-install-strip-guile: install-strip-guile
35465 install-strip-guile: installdirs
35466 @: $(MAKE); $(unstage)
35467 @r=`${PWD_COMMAND}`; export r; \
35468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35469 $(HOST_EXPORTS) \
35470 (cd $(HOST_SUBDIR)/guile && \
35471 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35473 @endif guile
35475 # Other targets (info, dvi, pdf, etc.)
35477 .PHONY: maybe-info-guile info-guile
35478 maybe-info-guile:
35479 @if guile
35480 maybe-info-guile: info-guile
35482 info-guile: \
35483 configure-guile
35484 @: $(MAKE); $(unstage)
35485 @[ -f ./guile/Makefile ] || exit 0; \
35486 r=`${PWD_COMMAND}`; export r; \
35487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35488 $(HOST_EXPORTS) \
35489 for flag in $(EXTRA_HOST_FLAGS) ; do \
35490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35491 done; \
35492 echo "Doing info in guile"; \
35493 (cd $(HOST_SUBDIR)/guile && \
35494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35496 "RANLIB=$${RANLIB}" \
35497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35498 info) \
35499 || exit 1
35501 @endif guile
35503 .PHONY: maybe-dvi-guile dvi-guile
35504 maybe-dvi-guile:
35505 @if guile
35506 maybe-dvi-guile: dvi-guile
35508 dvi-guile: \
35509 configure-guile
35510 @: $(MAKE); $(unstage)
35511 @[ -f ./guile/Makefile ] || exit 0; \
35512 r=`${PWD_COMMAND}`; export r; \
35513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35514 $(HOST_EXPORTS) \
35515 for flag in $(EXTRA_HOST_FLAGS) ; do \
35516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35517 done; \
35518 echo "Doing dvi in guile"; \
35519 (cd $(HOST_SUBDIR)/guile && \
35520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35522 "RANLIB=$${RANLIB}" \
35523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35524 dvi) \
35525 || exit 1
35527 @endif guile
35529 .PHONY: maybe-pdf-guile pdf-guile
35530 maybe-pdf-guile:
35531 @if guile
35532 maybe-pdf-guile: pdf-guile
35534 pdf-guile: \
35535 configure-guile
35536 @: $(MAKE); $(unstage)
35537 @[ -f ./guile/Makefile ] || exit 0; \
35538 r=`${PWD_COMMAND}`; export r; \
35539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35540 $(HOST_EXPORTS) \
35541 for flag in $(EXTRA_HOST_FLAGS) ; do \
35542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35543 done; \
35544 echo "Doing pdf in guile"; \
35545 (cd $(HOST_SUBDIR)/guile && \
35546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35548 "RANLIB=$${RANLIB}" \
35549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35550 pdf) \
35551 || exit 1
35553 @endif guile
35555 .PHONY: maybe-html-guile html-guile
35556 maybe-html-guile:
35557 @if guile
35558 maybe-html-guile: html-guile
35560 html-guile: \
35561 configure-guile
35562 @: $(MAKE); $(unstage)
35563 @[ -f ./guile/Makefile ] || exit 0; \
35564 r=`${PWD_COMMAND}`; export r; \
35565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35566 $(HOST_EXPORTS) \
35567 for flag in $(EXTRA_HOST_FLAGS) ; do \
35568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35569 done; \
35570 echo "Doing html in guile"; \
35571 (cd $(HOST_SUBDIR)/guile && \
35572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35574 "RANLIB=$${RANLIB}" \
35575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35576 html) \
35577 || exit 1
35579 @endif guile
35581 .PHONY: maybe-TAGS-guile TAGS-guile
35582 maybe-TAGS-guile:
35583 @if guile
35584 maybe-TAGS-guile: TAGS-guile
35586 TAGS-guile: \
35587 configure-guile
35588 @: $(MAKE); $(unstage)
35589 @[ -f ./guile/Makefile ] || exit 0; \
35590 r=`${PWD_COMMAND}`; export r; \
35591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35592 $(HOST_EXPORTS) \
35593 for flag in $(EXTRA_HOST_FLAGS) ; do \
35594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35595 done; \
35596 echo "Doing TAGS in guile"; \
35597 (cd $(HOST_SUBDIR)/guile && \
35598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35600 "RANLIB=$${RANLIB}" \
35601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35602 TAGS) \
35603 || exit 1
35605 @endif guile
35607 .PHONY: maybe-install-info-guile install-info-guile
35608 maybe-install-info-guile:
35609 @if guile
35610 maybe-install-info-guile: install-info-guile
35612 install-info-guile: \
35613 configure-guile \
35614 info-guile
35615 @: $(MAKE); $(unstage)
35616 @[ -f ./guile/Makefile ] || exit 0; \
35617 r=`${PWD_COMMAND}`; export r; \
35618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35619 $(HOST_EXPORTS) \
35620 for flag in $(EXTRA_HOST_FLAGS) ; do \
35621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35622 done; \
35623 echo "Doing install-info in guile"; \
35624 (cd $(HOST_SUBDIR)/guile && \
35625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35627 "RANLIB=$${RANLIB}" \
35628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35629 install-info) \
35630 || exit 1
35632 @endif guile
35634 .PHONY: maybe-install-pdf-guile install-pdf-guile
35635 maybe-install-pdf-guile:
35636 @if guile
35637 maybe-install-pdf-guile: install-pdf-guile
35639 install-pdf-guile: \
35640 configure-guile \
35641 pdf-guile
35642 @: $(MAKE); $(unstage)
35643 @[ -f ./guile/Makefile ] || exit 0; \
35644 r=`${PWD_COMMAND}`; export r; \
35645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35646 $(HOST_EXPORTS) \
35647 for flag in $(EXTRA_HOST_FLAGS) ; do \
35648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35649 done; \
35650 echo "Doing install-pdf in guile"; \
35651 (cd $(HOST_SUBDIR)/guile && \
35652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35654 "RANLIB=$${RANLIB}" \
35655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35656 install-pdf) \
35657 || exit 1
35659 @endif guile
35661 .PHONY: maybe-install-html-guile install-html-guile
35662 maybe-install-html-guile:
35663 @if guile
35664 maybe-install-html-guile: install-html-guile
35666 install-html-guile: \
35667 configure-guile \
35668 html-guile
35669 @: $(MAKE); $(unstage)
35670 @[ -f ./guile/Makefile ] || exit 0; \
35671 r=`${PWD_COMMAND}`; export r; \
35672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35673 $(HOST_EXPORTS) \
35674 for flag in $(EXTRA_HOST_FLAGS) ; do \
35675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35676 done; \
35677 echo "Doing install-html in guile"; \
35678 (cd $(HOST_SUBDIR)/guile && \
35679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35681 "RANLIB=$${RANLIB}" \
35682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35683 install-html) \
35684 || exit 1
35686 @endif guile
35688 .PHONY: maybe-installcheck-guile installcheck-guile
35689 maybe-installcheck-guile:
35690 @if guile
35691 maybe-installcheck-guile: installcheck-guile
35693 installcheck-guile: \
35694 configure-guile
35695 @: $(MAKE); $(unstage)
35696 @[ -f ./guile/Makefile ] || exit 0; \
35697 r=`${PWD_COMMAND}`; export r; \
35698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35699 $(HOST_EXPORTS) \
35700 for flag in $(EXTRA_HOST_FLAGS) ; do \
35701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35702 done; \
35703 echo "Doing installcheck in guile"; \
35704 (cd $(HOST_SUBDIR)/guile && \
35705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35707 "RANLIB=$${RANLIB}" \
35708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35709 installcheck) \
35710 || exit 1
35712 @endif guile
35714 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
35715 maybe-mostlyclean-guile:
35716 @if guile
35717 maybe-mostlyclean-guile: mostlyclean-guile
35719 mostlyclean-guile:
35720 @: $(MAKE); $(unstage)
35721 @[ -f ./guile/Makefile ] || exit 0; \
35722 r=`${PWD_COMMAND}`; export r; \
35723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35724 $(HOST_EXPORTS) \
35725 for flag in $(EXTRA_HOST_FLAGS) ; do \
35726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35727 done; \
35728 echo "Doing mostlyclean in guile"; \
35729 (cd $(HOST_SUBDIR)/guile && \
35730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35732 "RANLIB=$${RANLIB}" \
35733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35734 mostlyclean) \
35735 || exit 1
35737 @endif guile
35739 .PHONY: maybe-clean-guile clean-guile
35740 maybe-clean-guile:
35741 @if guile
35742 maybe-clean-guile: clean-guile
35744 clean-guile:
35745 @: $(MAKE); $(unstage)
35746 @[ -f ./guile/Makefile ] || exit 0; \
35747 r=`${PWD_COMMAND}`; export r; \
35748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35749 $(HOST_EXPORTS) \
35750 for flag in $(EXTRA_HOST_FLAGS) ; do \
35751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35752 done; \
35753 echo "Doing clean in guile"; \
35754 (cd $(HOST_SUBDIR)/guile && \
35755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35757 "RANLIB=$${RANLIB}" \
35758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35759 clean) \
35760 || exit 1
35762 @endif guile
35764 .PHONY: maybe-distclean-guile distclean-guile
35765 maybe-distclean-guile:
35766 @if guile
35767 maybe-distclean-guile: distclean-guile
35769 distclean-guile:
35770 @: $(MAKE); $(unstage)
35771 @[ -f ./guile/Makefile ] || exit 0; \
35772 r=`${PWD_COMMAND}`; export r; \
35773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35774 $(HOST_EXPORTS) \
35775 for flag in $(EXTRA_HOST_FLAGS) ; do \
35776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35777 done; \
35778 echo "Doing distclean in guile"; \
35779 (cd $(HOST_SUBDIR)/guile && \
35780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35782 "RANLIB=$${RANLIB}" \
35783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35784 distclean) \
35785 || exit 1
35787 @endif guile
35789 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
35790 maybe-maintainer-clean-guile:
35791 @if guile
35792 maybe-maintainer-clean-guile: maintainer-clean-guile
35794 maintainer-clean-guile:
35795 @: $(MAKE); $(unstage)
35796 @[ -f ./guile/Makefile ] || exit 0; \
35797 r=`${PWD_COMMAND}`; export r; \
35798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35799 $(HOST_EXPORTS) \
35800 for flag in $(EXTRA_HOST_FLAGS) ; do \
35801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35802 done; \
35803 echo "Doing maintainer-clean in guile"; \
35804 (cd $(HOST_SUBDIR)/guile && \
35805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35807 "RANLIB=$${RANLIB}" \
35808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35809 maintainer-clean) \
35810 || exit 1
35812 @endif guile
35816 .PHONY: configure-tk maybe-configure-tk
35817 maybe-configure-tk:
35818 @if gcc-bootstrap
35819 configure-tk: stage_current
35820 @endif gcc-bootstrap
35821 @if tk
35822 maybe-configure-tk: configure-tk
35823 configure-tk:
35824 @: $(MAKE); $(unstage)
35825 @r=`${PWD_COMMAND}`; export r; \
35826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35827 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
35828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
35829 $(HOST_EXPORTS) \
35830 echo Configuring in $(HOST_SUBDIR)/tk; \
35831 cd "$(HOST_SUBDIR)/tk" || exit 1; \
35832 case $(srcdir) in \
35833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35834 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
35835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35836 esac; \
35837 module_srcdir=tk; \
35838 $(SHELL) \
35839 $$s/$$module_srcdir/configure \
35840 --srcdir=$${topdir}/$$module_srcdir \
35841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35842 --target=${target_alias} \
35843 || exit 1
35844 @endif tk
35850 .PHONY: all-tk maybe-all-tk
35851 maybe-all-tk:
35852 @if gcc-bootstrap
35853 all-tk: stage_current
35854 @endif gcc-bootstrap
35855 @if tk
35856 TARGET-tk=all
35857 maybe-all-tk: all-tk
35858 all-tk: configure-tk
35859 @: $(MAKE); $(unstage)
35860 @r=`${PWD_COMMAND}`; export r; \
35861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35862 $(HOST_EXPORTS) \
35863 (cd $(HOST_SUBDIR)/tk && \
35864 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35865 $(TARGET-tk))
35866 @endif tk
35871 .PHONY: check-tk maybe-check-tk
35872 maybe-check-tk:
35873 @if tk
35874 maybe-check-tk: check-tk
35876 check-tk:
35877 @: $(MAKE); $(unstage)
35878 @r=`${PWD_COMMAND}`; export r; \
35879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35880 $(HOST_EXPORTS) \
35881 (cd $(HOST_SUBDIR)/tk && \
35882 $(MAKE) $(FLAGS_TO_PASS) check)
35884 @endif tk
35886 .PHONY: install-tk maybe-install-tk
35887 maybe-install-tk:
35888 @if tk
35889 maybe-install-tk: install-tk
35891 install-tk: installdirs
35892 @: $(MAKE); $(unstage)
35893 @r=`${PWD_COMMAND}`; export r; \
35894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35895 $(HOST_EXPORTS) \
35896 (cd $(HOST_SUBDIR)/tk && \
35897 $(MAKE) $(FLAGS_TO_PASS) install)
35899 @endif tk
35901 .PHONY: install-strip-tk maybe-install-strip-tk
35902 maybe-install-strip-tk:
35903 @if tk
35904 maybe-install-strip-tk: install-strip-tk
35906 install-strip-tk: installdirs
35907 @: $(MAKE); $(unstage)
35908 @r=`${PWD_COMMAND}`; export r; \
35909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35910 $(HOST_EXPORTS) \
35911 (cd $(HOST_SUBDIR)/tk && \
35912 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35914 @endif tk
35916 # Other targets (info, dvi, pdf, etc.)
35918 .PHONY: maybe-info-tk info-tk
35919 maybe-info-tk:
35920 @if tk
35921 maybe-info-tk: info-tk
35923 info-tk: \
35924 configure-tk
35925 @: $(MAKE); $(unstage)
35926 @[ -f ./tk/Makefile ] || exit 0; \
35927 r=`${PWD_COMMAND}`; export r; \
35928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35929 $(HOST_EXPORTS) \
35930 for flag in $(EXTRA_HOST_FLAGS) ; do \
35931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35932 done; \
35933 echo "Doing info in tk"; \
35934 (cd $(HOST_SUBDIR)/tk && \
35935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35937 "RANLIB=$${RANLIB}" \
35938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35939 info) \
35940 || exit 1
35942 @endif tk
35944 .PHONY: maybe-dvi-tk dvi-tk
35945 maybe-dvi-tk:
35946 @if tk
35947 maybe-dvi-tk: dvi-tk
35949 dvi-tk: \
35950 configure-tk
35951 @: $(MAKE); $(unstage)
35952 @[ -f ./tk/Makefile ] || exit 0; \
35953 r=`${PWD_COMMAND}`; export r; \
35954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35955 $(HOST_EXPORTS) \
35956 for flag in $(EXTRA_HOST_FLAGS) ; do \
35957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35958 done; \
35959 echo "Doing dvi in tk"; \
35960 (cd $(HOST_SUBDIR)/tk && \
35961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35963 "RANLIB=$${RANLIB}" \
35964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35965 dvi) \
35966 || exit 1
35968 @endif tk
35970 .PHONY: maybe-pdf-tk pdf-tk
35971 maybe-pdf-tk:
35972 @if tk
35973 maybe-pdf-tk: pdf-tk
35975 pdf-tk: \
35976 configure-tk
35977 @: $(MAKE); $(unstage)
35978 @[ -f ./tk/Makefile ] || exit 0; \
35979 r=`${PWD_COMMAND}`; export r; \
35980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35981 $(HOST_EXPORTS) \
35982 for flag in $(EXTRA_HOST_FLAGS) ; do \
35983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35984 done; \
35985 echo "Doing pdf in tk"; \
35986 (cd $(HOST_SUBDIR)/tk && \
35987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35989 "RANLIB=$${RANLIB}" \
35990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35991 pdf) \
35992 || exit 1
35994 @endif tk
35996 .PHONY: maybe-html-tk html-tk
35997 maybe-html-tk:
35998 @if tk
35999 maybe-html-tk: html-tk
36001 html-tk: \
36002 configure-tk
36003 @: $(MAKE); $(unstage)
36004 @[ -f ./tk/Makefile ] || exit 0; \
36005 r=`${PWD_COMMAND}`; export r; \
36006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36007 $(HOST_EXPORTS) \
36008 for flag in $(EXTRA_HOST_FLAGS) ; do \
36009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36010 done; \
36011 echo "Doing html in tk"; \
36012 (cd $(HOST_SUBDIR)/tk && \
36013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36015 "RANLIB=$${RANLIB}" \
36016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36017 html) \
36018 || exit 1
36020 @endif tk
36022 .PHONY: maybe-TAGS-tk TAGS-tk
36023 maybe-TAGS-tk:
36024 @if tk
36025 maybe-TAGS-tk: TAGS-tk
36027 TAGS-tk: \
36028 configure-tk
36029 @: $(MAKE); $(unstage)
36030 @[ -f ./tk/Makefile ] || exit 0; \
36031 r=`${PWD_COMMAND}`; export r; \
36032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36033 $(HOST_EXPORTS) \
36034 for flag in $(EXTRA_HOST_FLAGS) ; do \
36035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36036 done; \
36037 echo "Doing TAGS in tk"; \
36038 (cd $(HOST_SUBDIR)/tk && \
36039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36041 "RANLIB=$${RANLIB}" \
36042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36043 TAGS) \
36044 || exit 1
36046 @endif tk
36048 .PHONY: maybe-install-info-tk install-info-tk
36049 maybe-install-info-tk:
36050 @if tk
36051 maybe-install-info-tk: install-info-tk
36053 install-info-tk: \
36054 configure-tk \
36055 info-tk
36056 @: $(MAKE); $(unstage)
36057 @[ -f ./tk/Makefile ] || exit 0; \
36058 r=`${PWD_COMMAND}`; export r; \
36059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36060 $(HOST_EXPORTS) \
36061 for flag in $(EXTRA_HOST_FLAGS) ; do \
36062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36063 done; \
36064 echo "Doing install-info in tk"; \
36065 (cd $(HOST_SUBDIR)/tk && \
36066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36068 "RANLIB=$${RANLIB}" \
36069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36070 install-info) \
36071 || exit 1
36073 @endif tk
36075 .PHONY: maybe-install-pdf-tk install-pdf-tk
36076 maybe-install-pdf-tk:
36077 @if tk
36078 maybe-install-pdf-tk: install-pdf-tk
36080 install-pdf-tk: \
36081 configure-tk \
36082 pdf-tk
36083 @: $(MAKE); $(unstage)
36084 @[ -f ./tk/Makefile ] || exit 0; \
36085 r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(HOST_EXPORTS) \
36088 for flag in $(EXTRA_HOST_FLAGS) ; do \
36089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36090 done; \
36091 echo "Doing install-pdf in tk"; \
36092 (cd $(HOST_SUBDIR)/tk && \
36093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36095 "RANLIB=$${RANLIB}" \
36096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36097 install-pdf) \
36098 || exit 1
36100 @endif tk
36102 .PHONY: maybe-install-html-tk install-html-tk
36103 maybe-install-html-tk:
36104 @if tk
36105 maybe-install-html-tk: install-html-tk
36107 install-html-tk: \
36108 configure-tk \
36109 html-tk
36110 @: $(MAKE); $(unstage)
36111 @[ -f ./tk/Makefile ] || exit 0; \
36112 r=`${PWD_COMMAND}`; export r; \
36113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36114 $(HOST_EXPORTS) \
36115 for flag in $(EXTRA_HOST_FLAGS) ; do \
36116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36117 done; \
36118 echo "Doing install-html in tk"; \
36119 (cd $(HOST_SUBDIR)/tk && \
36120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36122 "RANLIB=$${RANLIB}" \
36123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36124 install-html) \
36125 || exit 1
36127 @endif tk
36129 .PHONY: maybe-installcheck-tk installcheck-tk
36130 maybe-installcheck-tk:
36131 @if tk
36132 maybe-installcheck-tk: installcheck-tk
36134 installcheck-tk: \
36135 configure-tk
36136 @: $(MAKE); $(unstage)
36137 @[ -f ./tk/Makefile ] || exit 0; \
36138 r=`${PWD_COMMAND}`; export r; \
36139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36140 $(HOST_EXPORTS) \
36141 for flag in $(EXTRA_HOST_FLAGS) ; do \
36142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36143 done; \
36144 echo "Doing installcheck in tk"; \
36145 (cd $(HOST_SUBDIR)/tk && \
36146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36148 "RANLIB=$${RANLIB}" \
36149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36150 installcheck) \
36151 || exit 1
36153 @endif tk
36155 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
36156 maybe-mostlyclean-tk:
36157 @if tk
36158 maybe-mostlyclean-tk: mostlyclean-tk
36160 mostlyclean-tk:
36161 @: $(MAKE); $(unstage)
36162 @[ -f ./tk/Makefile ] || exit 0; \
36163 r=`${PWD_COMMAND}`; export r; \
36164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36165 $(HOST_EXPORTS) \
36166 for flag in $(EXTRA_HOST_FLAGS) ; do \
36167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36168 done; \
36169 echo "Doing mostlyclean in tk"; \
36170 (cd $(HOST_SUBDIR)/tk && \
36171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36173 "RANLIB=$${RANLIB}" \
36174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36175 mostlyclean) \
36176 || exit 1
36178 @endif tk
36180 .PHONY: maybe-clean-tk clean-tk
36181 maybe-clean-tk:
36182 @if tk
36183 maybe-clean-tk: clean-tk
36185 clean-tk:
36186 @: $(MAKE); $(unstage)
36187 @[ -f ./tk/Makefile ] || exit 0; \
36188 r=`${PWD_COMMAND}`; export r; \
36189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36190 $(HOST_EXPORTS) \
36191 for flag in $(EXTRA_HOST_FLAGS) ; do \
36192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36193 done; \
36194 echo "Doing clean in tk"; \
36195 (cd $(HOST_SUBDIR)/tk && \
36196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36198 "RANLIB=$${RANLIB}" \
36199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36200 clean) \
36201 || exit 1
36203 @endif tk
36205 .PHONY: maybe-distclean-tk distclean-tk
36206 maybe-distclean-tk:
36207 @if tk
36208 maybe-distclean-tk: distclean-tk
36210 distclean-tk:
36211 @: $(MAKE); $(unstage)
36212 @[ -f ./tk/Makefile ] || exit 0; \
36213 r=`${PWD_COMMAND}`; export r; \
36214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36215 $(HOST_EXPORTS) \
36216 for flag in $(EXTRA_HOST_FLAGS) ; do \
36217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36218 done; \
36219 echo "Doing distclean in tk"; \
36220 (cd $(HOST_SUBDIR)/tk && \
36221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36223 "RANLIB=$${RANLIB}" \
36224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36225 distclean) \
36226 || exit 1
36228 @endif tk
36230 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
36231 maybe-maintainer-clean-tk:
36232 @if tk
36233 maybe-maintainer-clean-tk: maintainer-clean-tk
36235 maintainer-clean-tk:
36236 @: $(MAKE); $(unstage)
36237 @[ -f ./tk/Makefile ] || exit 0; \
36238 r=`${PWD_COMMAND}`; export r; \
36239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36240 $(HOST_EXPORTS) \
36241 for flag in $(EXTRA_HOST_FLAGS) ; do \
36242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36243 done; \
36244 echo "Doing maintainer-clean in tk"; \
36245 (cd $(HOST_SUBDIR)/tk && \
36246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36248 "RANLIB=$${RANLIB}" \
36249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36250 maintainer-clean) \
36251 || exit 1
36253 @endif tk
36257 .PHONY: configure-libtermcap maybe-configure-libtermcap
36258 maybe-configure-libtermcap:
36259 @if gcc-bootstrap
36260 configure-libtermcap: stage_current
36261 @endif gcc-bootstrap
36262 @if libtermcap
36263 maybe-configure-libtermcap: configure-libtermcap
36264 configure-libtermcap:
36265 @: $(MAKE); $(unstage)
36266 @r=`${PWD_COMMAND}`; export r; \
36267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36268 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
36269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
36270 $(HOST_EXPORTS) \
36271 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
36272 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
36273 case $(srcdir) in \
36274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36275 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
36276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36277 esac; \
36278 module_srcdir=libtermcap; \
36279 $(SHELL) \
36280 $$s/$$module_srcdir/configure \
36281 --srcdir=$${topdir}/$$module_srcdir \
36282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36283 --target=${target_alias} \
36284 || exit 1
36285 @endif libtermcap
36291 .PHONY: all-libtermcap maybe-all-libtermcap
36292 maybe-all-libtermcap:
36293 @if gcc-bootstrap
36294 all-libtermcap: stage_current
36295 @endif gcc-bootstrap
36296 @if libtermcap
36297 TARGET-libtermcap=all
36298 maybe-all-libtermcap: all-libtermcap
36299 all-libtermcap: configure-libtermcap
36300 @: $(MAKE); $(unstage)
36301 @r=`${PWD_COMMAND}`; export r; \
36302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36303 $(HOST_EXPORTS) \
36304 (cd $(HOST_SUBDIR)/libtermcap && \
36305 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36306 $(TARGET-libtermcap))
36307 @endif libtermcap
36312 .PHONY: check-libtermcap maybe-check-libtermcap
36313 maybe-check-libtermcap:
36314 @if libtermcap
36315 maybe-check-libtermcap: check-libtermcap
36317 check-libtermcap:
36319 @endif libtermcap
36321 .PHONY: install-libtermcap maybe-install-libtermcap
36322 maybe-install-libtermcap:
36323 @if libtermcap
36324 maybe-install-libtermcap: install-libtermcap
36326 install-libtermcap: installdirs
36327 @: $(MAKE); $(unstage)
36328 @r=`${PWD_COMMAND}`; export r; \
36329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36330 $(HOST_EXPORTS) \
36331 (cd $(HOST_SUBDIR)/libtermcap && \
36332 $(MAKE) $(FLAGS_TO_PASS) install)
36334 @endif libtermcap
36336 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
36337 maybe-install-strip-libtermcap:
36338 @if libtermcap
36339 maybe-install-strip-libtermcap: install-strip-libtermcap
36341 install-strip-libtermcap: installdirs
36342 @: $(MAKE); $(unstage)
36343 @r=`${PWD_COMMAND}`; export r; \
36344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36345 $(HOST_EXPORTS) \
36346 (cd $(HOST_SUBDIR)/libtermcap && \
36347 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36349 @endif libtermcap
36351 # Other targets (info, dvi, pdf, etc.)
36353 .PHONY: maybe-info-libtermcap info-libtermcap
36354 maybe-info-libtermcap:
36355 @if libtermcap
36356 maybe-info-libtermcap: info-libtermcap
36358 info-libtermcap: \
36359 configure-libtermcap
36360 @: $(MAKE); $(unstage)
36361 @[ -f ./libtermcap/Makefile ] || exit 0; \
36362 r=`${PWD_COMMAND}`; export r; \
36363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36364 $(HOST_EXPORTS) \
36365 for flag in $(EXTRA_HOST_FLAGS) ; do \
36366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36367 done; \
36368 echo "Doing info in libtermcap"; \
36369 (cd $(HOST_SUBDIR)/libtermcap && \
36370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36372 "RANLIB=$${RANLIB}" \
36373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36374 info) \
36375 || exit 1
36377 @endif libtermcap
36379 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
36380 maybe-dvi-libtermcap:
36381 @if libtermcap
36382 maybe-dvi-libtermcap: dvi-libtermcap
36384 dvi-libtermcap: \
36385 configure-libtermcap
36386 @: $(MAKE); $(unstage)
36387 @[ -f ./libtermcap/Makefile ] || exit 0; \
36388 r=`${PWD_COMMAND}`; export r; \
36389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36390 $(HOST_EXPORTS) \
36391 for flag in $(EXTRA_HOST_FLAGS) ; do \
36392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36393 done; \
36394 echo "Doing dvi in libtermcap"; \
36395 (cd $(HOST_SUBDIR)/libtermcap && \
36396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36398 "RANLIB=$${RANLIB}" \
36399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36400 dvi) \
36401 || exit 1
36403 @endif libtermcap
36405 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
36406 maybe-pdf-libtermcap:
36407 @if libtermcap
36408 maybe-pdf-libtermcap: pdf-libtermcap
36410 pdf-libtermcap: \
36411 configure-libtermcap
36412 @: $(MAKE); $(unstage)
36413 @[ -f ./libtermcap/Makefile ] || exit 0; \
36414 r=`${PWD_COMMAND}`; export r; \
36415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36416 $(HOST_EXPORTS) \
36417 for flag in $(EXTRA_HOST_FLAGS) ; do \
36418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36419 done; \
36420 echo "Doing pdf in libtermcap"; \
36421 (cd $(HOST_SUBDIR)/libtermcap && \
36422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36424 "RANLIB=$${RANLIB}" \
36425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36426 pdf) \
36427 || exit 1
36429 @endif libtermcap
36431 .PHONY: maybe-html-libtermcap html-libtermcap
36432 maybe-html-libtermcap:
36433 @if libtermcap
36434 maybe-html-libtermcap: html-libtermcap
36436 html-libtermcap: \
36437 configure-libtermcap
36438 @: $(MAKE); $(unstage)
36439 @[ -f ./libtermcap/Makefile ] || exit 0; \
36440 r=`${PWD_COMMAND}`; export r; \
36441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36442 $(HOST_EXPORTS) \
36443 for flag in $(EXTRA_HOST_FLAGS) ; do \
36444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36445 done; \
36446 echo "Doing html in libtermcap"; \
36447 (cd $(HOST_SUBDIR)/libtermcap && \
36448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36450 "RANLIB=$${RANLIB}" \
36451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36452 html) \
36453 || exit 1
36455 @endif libtermcap
36457 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
36458 maybe-TAGS-libtermcap:
36459 @if libtermcap
36460 maybe-TAGS-libtermcap: TAGS-libtermcap
36462 TAGS-libtermcap: \
36463 configure-libtermcap
36464 @: $(MAKE); $(unstage)
36465 @[ -f ./libtermcap/Makefile ] || exit 0; \
36466 r=`${PWD_COMMAND}`; export r; \
36467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36468 $(HOST_EXPORTS) \
36469 for flag in $(EXTRA_HOST_FLAGS) ; do \
36470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36471 done; \
36472 echo "Doing TAGS in libtermcap"; \
36473 (cd $(HOST_SUBDIR)/libtermcap && \
36474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36476 "RANLIB=$${RANLIB}" \
36477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36478 TAGS) \
36479 || exit 1
36481 @endif libtermcap
36483 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
36484 maybe-install-info-libtermcap:
36485 @if libtermcap
36486 maybe-install-info-libtermcap: install-info-libtermcap
36488 install-info-libtermcap: \
36489 configure-libtermcap \
36490 info-libtermcap
36491 @: $(MAKE); $(unstage)
36492 @[ -f ./libtermcap/Makefile ] || exit 0; \
36493 r=`${PWD_COMMAND}`; export r; \
36494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36495 $(HOST_EXPORTS) \
36496 for flag in $(EXTRA_HOST_FLAGS) ; do \
36497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36498 done; \
36499 echo "Doing install-info in libtermcap"; \
36500 (cd $(HOST_SUBDIR)/libtermcap && \
36501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36503 "RANLIB=$${RANLIB}" \
36504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36505 install-info) \
36506 || exit 1
36508 @endif libtermcap
36510 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
36511 maybe-install-pdf-libtermcap:
36512 @if libtermcap
36513 maybe-install-pdf-libtermcap: install-pdf-libtermcap
36515 install-pdf-libtermcap: \
36516 configure-libtermcap \
36517 pdf-libtermcap
36518 @: $(MAKE); $(unstage)
36519 @[ -f ./libtermcap/Makefile ] || exit 0; \
36520 r=`${PWD_COMMAND}`; export r; \
36521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36522 $(HOST_EXPORTS) \
36523 for flag in $(EXTRA_HOST_FLAGS) ; do \
36524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36525 done; \
36526 echo "Doing install-pdf in libtermcap"; \
36527 (cd $(HOST_SUBDIR)/libtermcap && \
36528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36530 "RANLIB=$${RANLIB}" \
36531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36532 install-pdf) \
36533 || exit 1
36535 @endif libtermcap
36537 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
36538 maybe-install-html-libtermcap:
36539 @if libtermcap
36540 maybe-install-html-libtermcap: install-html-libtermcap
36542 install-html-libtermcap: \
36543 configure-libtermcap \
36544 html-libtermcap
36545 @: $(MAKE); $(unstage)
36546 @[ -f ./libtermcap/Makefile ] || exit 0; \
36547 r=`${PWD_COMMAND}`; export r; \
36548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36549 $(HOST_EXPORTS) \
36550 for flag in $(EXTRA_HOST_FLAGS) ; do \
36551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36552 done; \
36553 echo "Doing install-html in libtermcap"; \
36554 (cd $(HOST_SUBDIR)/libtermcap && \
36555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36557 "RANLIB=$${RANLIB}" \
36558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36559 install-html) \
36560 || exit 1
36562 @endif libtermcap
36564 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
36565 maybe-installcheck-libtermcap:
36566 @if libtermcap
36567 maybe-installcheck-libtermcap: installcheck-libtermcap
36569 installcheck-libtermcap: \
36570 configure-libtermcap
36571 @: $(MAKE); $(unstage)
36572 @[ -f ./libtermcap/Makefile ] || exit 0; \
36573 r=`${PWD_COMMAND}`; export r; \
36574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36575 $(HOST_EXPORTS) \
36576 for flag in $(EXTRA_HOST_FLAGS) ; do \
36577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36578 done; \
36579 echo "Doing installcheck in libtermcap"; \
36580 (cd $(HOST_SUBDIR)/libtermcap && \
36581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36583 "RANLIB=$${RANLIB}" \
36584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36585 installcheck) \
36586 || exit 1
36588 @endif libtermcap
36590 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
36591 maybe-mostlyclean-libtermcap:
36592 @if libtermcap
36593 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
36595 # libtermcap doesn't support mostlyclean.
36596 mostlyclean-libtermcap:
36598 @endif libtermcap
36600 .PHONY: maybe-clean-libtermcap clean-libtermcap
36601 maybe-clean-libtermcap:
36602 @if libtermcap
36603 maybe-clean-libtermcap: clean-libtermcap
36605 # libtermcap doesn't support clean.
36606 clean-libtermcap:
36608 @endif libtermcap
36610 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
36611 maybe-distclean-libtermcap:
36612 @if libtermcap
36613 maybe-distclean-libtermcap: distclean-libtermcap
36615 # libtermcap doesn't support distclean.
36616 distclean-libtermcap:
36618 @endif libtermcap
36620 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
36621 maybe-maintainer-clean-libtermcap:
36622 @if libtermcap
36623 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
36625 # libtermcap doesn't support maintainer-clean.
36626 maintainer-clean-libtermcap:
36628 @endif libtermcap
36632 .PHONY: configure-utils maybe-configure-utils
36633 maybe-configure-utils:
36634 @if gcc-bootstrap
36635 configure-utils: stage_current
36636 @endif gcc-bootstrap
36637 @if utils
36638 maybe-configure-utils: configure-utils
36639 configure-utils:
36640 @: $(MAKE); $(unstage)
36641 @r=`${PWD_COMMAND}`; export r; \
36642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36643 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
36644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
36645 $(HOST_EXPORTS) \
36646 echo Configuring in $(HOST_SUBDIR)/utils; \
36647 cd "$(HOST_SUBDIR)/utils" || exit 1; \
36648 case $(srcdir) in \
36649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36650 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
36651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36652 esac; \
36653 module_srcdir=utils; \
36654 $(SHELL) \
36655 $$s/$$module_srcdir/configure \
36656 --srcdir=$${topdir}/$$module_srcdir \
36657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36658 --target=${target_alias} \
36659 || exit 1
36660 @endif utils
36666 .PHONY: all-utils maybe-all-utils
36667 maybe-all-utils:
36668 @if gcc-bootstrap
36669 all-utils: stage_current
36670 @endif gcc-bootstrap
36671 @if utils
36672 TARGET-utils=all
36673 maybe-all-utils: all-utils
36674 all-utils: configure-utils
36675 @: $(MAKE); $(unstage)
36676 @r=`${PWD_COMMAND}`; export r; \
36677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36678 $(HOST_EXPORTS) \
36679 (cd $(HOST_SUBDIR)/utils && \
36680 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36681 $(TARGET-utils))
36682 @endif utils
36687 .PHONY: check-utils maybe-check-utils
36688 maybe-check-utils:
36689 @if utils
36690 maybe-check-utils: check-utils
36692 check-utils:
36694 @endif utils
36696 .PHONY: install-utils maybe-install-utils
36697 maybe-install-utils:
36698 @if utils
36699 maybe-install-utils: install-utils
36701 install-utils: installdirs
36702 @: $(MAKE); $(unstage)
36703 @r=`${PWD_COMMAND}`; export r; \
36704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36705 $(HOST_EXPORTS) \
36706 (cd $(HOST_SUBDIR)/utils && \
36707 $(MAKE) $(FLAGS_TO_PASS) install)
36709 @endif utils
36711 .PHONY: install-strip-utils maybe-install-strip-utils
36712 maybe-install-strip-utils:
36713 @if utils
36714 maybe-install-strip-utils: install-strip-utils
36716 install-strip-utils: installdirs
36717 @: $(MAKE); $(unstage)
36718 @r=`${PWD_COMMAND}`; export r; \
36719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36720 $(HOST_EXPORTS) \
36721 (cd $(HOST_SUBDIR)/utils && \
36722 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36724 @endif utils
36726 # Other targets (info, dvi, pdf, etc.)
36728 .PHONY: maybe-info-utils info-utils
36729 maybe-info-utils:
36730 @if utils
36731 maybe-info-utils: info-utils
36733 info-utils: \
36734 configure-utils
36735 @: $(MAKE); $(unstage)
36736 @[ -f ./utils/Makefile ] || exit 0; \
36737 r=`${PWD_COMMAND}`; export r; \
36738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36739 $(HOST_EXPORTS) \
36740 for flag in $(EXTRA_HOST_FLAGS) ; do \
36741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36742 done; \
36743 echo "Doing info in utils"; \
36744 (cd $(HOST_SUBDIR)/utils && \
36745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36747 "RANLIB=$${RANLIB}" \
36748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36749 info) \
36750 || exit 1
36752 @endif utils
36754 .PHONY: maybe-dvi-utils dvi-utils
36755 maybe-dvi-utils:
36756 @if utils
36757 maybe-dvi-utils: dvi-utils
36759 dvi-utils: \
36760 configure-utils
36761 @: $(MAKE); $(unstage)
36762 @[ -f ./utils/Makefile ] || exit 0; \
36763 r=`${PWD_COMMAND}`; export r; \
36764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36765 $(HOST_EXPORTS) \
36766 for flag in $(EXTRA_HOST_FLAGS) ; do \
36767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36768 done; \
36769 echo "Doing dvi in utils"; \
36770 (cd $(HOST_SUBDIR)/utils && \
36771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36773 "RANLIB=$${RANLIB}" \
36774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36775 dvi) \
36776 || exit 1
36778 @endif utils
36780 .PHONY: maybe-pdf-utils pdf-utils
36781 maybe-pdf-utils:
36782 @if utils
36783 maybe-pdf-utils: pdf-utils
36785 pdf-utils: \
36786 configure-utils
36787 @: $(MAKE); $(unstage)
36788 @[ -f ./utils/Makefile ] || exit 0; \
36789 r=`${PWD_COMMAND}`; export r; \
36790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36791 $(HOST_EXPORTS) \
36792 for flag in $(EXTRA_HOST_FLAGS) ; do \
36793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36794 done; \
36795 echo "Doing pdf in utils"; \
36796 (cd $(HOST_SUBDIR)/utils && \
36797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36799 "RANLIB=$${RANLIB}" \
36800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36801 pdf) \
36802 || exit 1
36804 @endif utils
36806 .PHONY: maybe-html-utils html-utils
36807 maybe-html-utils:
36808 @if utils
36809 maybe-html-utils: html-utils
36811 html-utils: \
36812 configure-utils
36813 @: $(MAKE); $(unstage)
36814 @[ -f ./utils/Makefile ] || exit 0; \
36815 r=`${PWD_COMMAND}`; export r; \
36816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36817 $(HOST_EXPORTS) \
36818 for flag in $(EXTRA_HOST_FLAGS) ; do \
36819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36820 done; \
36821 echo "Doing html in utils"; \
36822 (cd $(HOST_SUBDIR)/utils && \
36823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36825 "RANLIB=$${RANLIB}" \
36826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36827 html) \
36828 || exit 1
36830 @endif utils
36832 .PHONY: maybe-TAGS-utils TAGS-utils
36833 maybe-TAGS-utils:
36834 @if utils
36835 maybe-TAGS-utils: TAGS-utils
36837 TAGS-utils: \
36838 configure-utils
36839 @: $(MAKE); $(unstage)
36840 @[ -f ./utils/Makefile ] || exit 0; \
36841 r=`${PWD_COMMAND}`; export r; \
36842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36843 $(HOST_EXPORTS) \
36844 for flag in $(EXTRA_HOST_FLAGS) ; do \
36845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36846 done; \
36847 echo "Doing TAGS in utils"; \
36848 (cd $(HOST_SUBDIR)/utils && \
36849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36851 "RANLIB=$${RANLIB}" \
36852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36853 TAGS) \
36854 || exit 1
36856 @endif utils
36858 .PHONY: maybe-install-info-utils install-info-utils
36859 maybe-install-info-utils:
36860 @if utils
36861 maybe-install-info-utils: install-info-utils
36863 install-info-utils: \
36864 configure-utils \
36865 info-utils
36866 @: $(MAKE); $(unstage)
36867 @[ -f ./utils/Makefile ] || exit 0; \
36868 r=`${PWD_COMMAND}`; export r; \
36869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36870 $(HOST_EXPORTS) \
36871 for flag in $(EXTRA_HOST_FLAGS) ; do \
36872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36873 done; \
36874 echo "Doing install-info in utils"; \
36875 (cd $(HOST_SUBDIR)/utils && \
36876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36878 "RANLIB=$${RANLIB}" \
36879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36880 install-info) \
36881 || exit 1
36883 @endif utils
36885 .PHONY: maybe-install-pdf-utils install-pdf-utils
36886 maybe-install-pdf-utils:
36887 @if utils
36888 maybe-install-pdf-utils: install-pdf-utils
36890 install-pdf-utils: \
36891 configure-utils \
36892 pdf-utils
36893 @: $(MAKE); $(unstage)
36894 @[ -f ./utils/Makefile ] || exit 0; \
36895 r=`${PWD_COMMAND}`; export r; \
36896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36897 $(HOST_EXPORTS) \
36898 for flag in $(EXTRA_HOST_FLAGS) ; do \
36899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36900 done; \
36901 echo "Doing install-pdf in utils"; \
36902 (cd $(HOST_SUBDIR)/utils && \
36903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36905 "RANLIB=$${RANLIB}" \
36906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36907 install-pdf) \
36908 || exit 1
36910 @endif utils
36912 .PHONY: maybe-install-html-utils install-html-utils
36913 maybe-install-html-utils:
36914 @if utils
36915 maybe-install-html-utils: install-html-utils
36917 install-html-utils: \
36918 configure-utils \
36919 html-utils
36920 @: $(MAKE); $(unstage)
36921 @[ -f ./utils/Makefile ] || exit 0; \
36922 r=`${PWD_COMMAND}`; export r; \
36923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36924 $(HOST_EXPORTS) \
36925 for flag in $(EXTRA_HOST_FLAGS) ; do \
36926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36927 done; \
36928 echo "Doing install-html in utils"; \
36929 (cd $(HOST_SUBDIR)/utils && \
36930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36932 "RANLIB=$${RANLIB}" \
36933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36934 install-html) \
36935 || exit 1
36937 @endif utils
36939 .PHONY: maybe-installcheck-utils installcheck-utils
36940 maybe-installcheck-utils:
36941 @if utils
36942 maybe-installcheck-utils: installcheck-utils
36944 installcheck-utils: \
36945 configure-utils
36946 @: $(MAKE); $(unstage)
36947 @[ -f ./utils/Makefile ] || exit 0; \
36948 r=`${PWD_COMMAND}`; export r; \
36949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36950 $(HOST_EXPORTS) \
36951 for flag in $(EXTRA_HOST_FLAGS) ; do \
36952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36953 done; \
36954 echo "Doing installcheck in utils"; \
36955 (cd $(HOST_SUBDIR)/utils && \
36956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36958 "RANLIB=$${RANLIB}" \
36959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36960 installcheck) \
36961 || exit 1
36963 @endif utils
36965 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
36966 maybe-mostlyclean-utils:
36967 @if utils
36968 maybe-mostlyclean-utils: mostlyclean-utils
36970 mostlyclean-utils:
36971 @: $(MAKE); $(unstage)
36972 @[ -f ./utils/Makefile ] || exit 0; \
36973 r=`${PWD_COMMAND}`; export r; \
36974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36975 $(HOST_EXPORTS) \
36976 for flag in $(EXTRA_HOST_FLAGS) ; do \
36977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36978 done; \
36979 echo "Doing mostlyclean in utils"; \
36980 (cd $(HOST_SUBDIR)/utils && \
36981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36983 "RANLIB=$${RANLIB}" \
36984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36985 mostlyclean) \
36986 || exit 1
36988 @endif utils
36990 .PHONY: maybe-clean-utils clean-utils
36991 maybe-clean-utils:
36992 @if utils
36993 maybe-clean-utils: clean-utils
36995 clean-utils:
36996 @: $(MAKE); $(unstage)
36997 @[ -f ./utils/Makefile ] || exit 0; \
36998 r=`${PWD_COMMAND}`; export r; \
36999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37000 $(HOST_EXPORTS) \
37001 for flag in $(EXTRA_HOST_FLAGS) ; do \
37002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37003 done; \
37004 echo "Doing clean in utils"; \
37005 (cd $(HOST_SUBDIR)/utils && \
37006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37008 "RANLIB=$${RANLIB}" \
37009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37010 clean) \
37011 || exit 1
37013 @endif utils
37015 .PHONY: maybe-distclean-utils distclean-utils
37016 maybe-distclean-utils:
37017 @if utils
37018 maybe-distclean-utils: distclean-utils
37020 distclean-utils:
37021 @: $(MAKE); $(unstage)
37022 @[ -f ./utils/Makefile ] || exit 0; \
37023 r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(HOST_EXPORTS) \
37026 for flag in $(EXTRA_HOST_FLAGS) ; do \
37027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37028 done; \
37029 echo "Doing distclean in utils"; \
37030 (cd $(HOST_SUBDIR)/utils && \
37031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37033 "RANLIB=$${RANLIB}" \
37034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37035 distclean) \
37036 || exit 1
37038 @endif utils
37040 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
37041 maybe-maintainer-clean-utils:
37042 @if utils
37043 maybe-maintainer-clean-utils: maintainer-clean-utils
37045 maintainer-clean-utils:
37046 @: $(MAKE); $(unstage)
37047 @[ -f ./utils/Makefile ] || exit 0; \
37048 r=`${PWD_COMMAND}`; export r; \
37049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37050 $(HOST_EXPORTS) \
37051 for flag in $(EXTRA_HOST_FLAGS) ; do \
37052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37053 done; \
37054 echo "Doing maintainer-clean in utils"; \
37055 (cd $(HOST_SUBDIR)/utils && \
37056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37058 "RANLIB=$${RANLIB}" \
37059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37060 maintainer-clean) \
37061 || exit 1
37063 @endif utils
37067 .PHONY: configure-gnattools maybe-configure-gnattools
37068 maybe-configure-gnattools:
37069 @if gcc-bootstrap
37070 configure-gnattools: stage_current
37071 @endif gcc-bootstrap
37072 @if gnattools
37073 maybe-configure-gnattools: configure-gnattools
37074 configure-gnattools:
37075 @: $(MAKE); $(unstage)
37076 @r=`${PWD_COMMAND}`; export r; \
37077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37078 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
37079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
37080 $(HOST_EXPORTS) \
37081 echo Configuring in $(HOST_SUBDIR)/gnattools; \
37082 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
37083 case $(srcdir) in \
37084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37085 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
37086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37087 esac; \
37088 module_srcdir=gnattools; \
37089 $(SHELL) \
37090 $$s/$$module_srcdir/configure \
37091 --srcdir=$${topdir}/$$module_srcdir \
37092 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37093 --target=${target_alias} \
37094 || exit 1
37095 @endif gnattools
37101 .PHONY: all-gnattools maybe-all-gnattools
37102 maybe-all-gnattools:
37103 @if gcc-bootstrap
37104 all-gnattools: stage_current
37105 @endif gcc-bootstrap
37106 @if gnattools
37107 TARGET-gnattools=all
37108 maybe-all-gnattools: all-gnattools
37109 all-gnattools: configure-gnattools
37110 @: $(MAKE); $(unstage)
37111 @r=`${PWD_COMMAND}`; export r; \
37112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37113 $(HOST_EXPORTS) \
37114 (cd $(HOST_SUBDIR)/gnattools && \
37115 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37116 $(TARGET-gnattools))
37117 @endif gnattools
37122 .PHONY: check-gnattools maybe-check-gnattools
37123 maybe-check-gnattools:
37124 @if gnattools
37125 maybe-check-gnattools: check-gnattools
37127 check-gnattools:
37128 @: $(MAKE); $(unstage)
37129 @r=`${PWD_COMMAND}`; export r; \
37130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37131 $(HOST_EXPORTS) \
37132 (cd $(HOST_SUBDIR)/gnattools && \
37133 $(MAKE) $(FLAGS_TO_PASS) check)
37135 @endif gnattools
37137 .PHONY: install-gnattools maybe-install-gnattools
37138 maybe-install-gnattools:
37139 @if gnattools
37140 maybe-install-gnattools: install-gnattools
37142 install-gnattools: installdirs
37143 @: $(MAKE); $(unstage)
37144 @r=`${PWD_COMMAND}`; export r; \
37145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37146 $(HOST_EXPORTS) \
37147 (cd $(HOST_SUBDIR)/gnattools && \
37148 $(MAKE) $(FLAGS_TO_PASS) install)
37150 @endif gnattools
37152 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
37153 maybe-install-strip-gnattools:
37154 @if gnattools
37155 maybe-install-strip-gnattools: install-strip-gnattools
37157 install-strip-gnattools: installdirs
37158 @: $(MAKE); $(unstage)
37159 @r=`${PWD_COMMAND}`; export r; \
37160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37161 $(HOST_EXPORTS) \
37162 (cd $(HOST_SUBDIR)/gnattools && \
37163 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37165 @endif gnattools
37167 # Other targets (info, dvi, pdf, etc.)
37169 .PHONY: maybe-info-gnattools info-gnattools
37170 maybe-info-gnattools:
37171 @if gnattools
37172 maybe-info-gnattools: info-gnattools
37174 info-gnattools: \
37175 configure-gnattools
37176 @: $(MAKE); $(unstage)
37177 @[ -f ./gnattools/Makefile ] || exit 0; \
37178 r=`${PWD_COMMAND}`; export r; \
37179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37180 $(HOST_EXPORTS) \
37181 for flag in $(EXTRA_HOST_FLAGS) ; do \
37182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37183 done; \
37184 echo "Doing info in gnattools"; \
37185 (cd $(HOST_SUBDIR)/gnattools && \
37186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37188 "RANLIB=$${RANLIB}" \
37189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37190 info) \
37191 || exit 1
37193 @endif gnattools
37195 .PHONY: maybe-dvi-gnattools dvi-gnattools
37196 maybe-dvi-gnattools:
37197 @if gnattools
37198 maybe-dvi-gnattools: dvi-gnattools
37200 dvi-gnattools: \
37201 configure-gnattools
37202 @: $(MAKE); $(unstage)
37203 @[ -f ./gnattools/Makefile ] || exit 0; \
37204 r=`${PWD_COMMAND}`; export r; \
37205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37206 $(HOST_EXPORTS) \
37207 for flag in $(EXTRA_HOST_FLAGS) ; do \
37208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37209 done; \
37210 echo "Doing dvi in gnattools"; \
37211 (cd $(HOST_SUBDIR)/gnattools && \
37212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37214 "RANLIB=$${RANLIB}" \
37215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37216 dvi) \
37217 || exit 1
37219 @endif gnattools
37221 .PHONY: maybe-pdf-gnattools pdf-gnattools
37222 maybe-pdf-gnattools:
37223 @if gnattools
37224 maybe-pdf-gnattools: pdf-gnattools
37226 pdf-gnattools: \
37227 configure-gnattools
37228 @: $(MAKE); $(unstage)
37229 @[ -f ./gnattools/Makefile ] || exit 0; \
37230 r=`${PWD_COMMAND}`; export r; \
37231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37232 $(HOST_EXPORTS) \
37233 for flag in $(EXTRA_HOST_FLAGS) ; do \
37234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37235 done; \
37236 echo "Doing pdf in gnattools"; \
37237 (cd $(HOST_SUBDIR)/gnattools && \
37238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37240 "RANLIB=$${RANLIB}" \
37241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37242 pdf) \
37243 || exit 1
37245 @endif gnattools
37247 .PHONY: maybe-html-gnattools html-gnattools
37248 maybe-html-gnattools:
37249 @if gnattools
37250 maybe-html-gnattools: html-gnattools
37252 html-gnattools: \
37253 configure-gnattools
37254 @: $(MAKE); $(unstage)
37255 @[ -f ./gnattools/Makefile ] || exit 0; \
37256 r=`${PWD_COMMAND}`; export r; \
37257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37258 $(HOST_EXPORTS) \
37259 for flag in $(EXTRA_HOST_FLAGS) ; do \
37260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37261 done; \
37262 echo "Doing html in gnattools"; \
37263 (cd $(HOST_SUBDIR)/gnattools && \
37264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37266 "RANLIB=$${RANLIB}" \
37267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37268 html) \
37269 || exit 1
37271 @endif gnattools
37273 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
37274 maybe-TAGS-gnattools:
37275 @if gnattools
37276 maybe-TAGS-gnattools: TAGS-gnattools
37278 TAGS-gnattools: \
37279 configure-gnattools
37280 @: $(MAKE); $(unstage)
37281 @[ -f ./gnattools/Makefile ] || exit 0; \
37282 r=`${PWD_COMMAND}`; export r; \
37283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37284 $(HOST_EXPORTS) \
37285 for flag in $(EXTRA_HOST_FLAGS) ; do \
37286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37287 done; \
37288 echo "Doing TAGS in gnattools"; \
37289 (cd $(HOST_SUBDIR)/gnattools && \
37290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37292 "RANLIB=$${RANLIB}" \
37293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37294 TAGS) \
37295 || exit 1
37297 @endif gnattools
37299 .PHONY: maybe-install-info-gnattools install-info-gnattools
37300 maybe-install-info-gnattools:
37301 @if gnattools
37302 maybe-install-info-gnattools: install-info-gnattools
37304 install-info-gnattools: \
37305 configure-gnattools \
37306 info-gnattools
37307 @: $(MAKE); $(unstage)
37308 @[ -f ./gnattools/Makefile ] || exit 0; \
37309 r=`${PWD_COMMAND}`; export r; \
37310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37311 $(HOST_EXPORTS) \
37312 for flag in $(EXTRA_HOST_FLAGS) ; do \
37313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37314 done; \
37315 echo "Doing install-info in gnattools"; \
37316 (cd $(HOST_SUBDIR)/gnattools && \
37317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37319 "RANLIB=$${RANLIB}" \
37320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37321 install-info) \
37322 || exit 1
37324 @endif gnattools
37326 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
37327 maybe-install-pdf-gnattools:
37328 @if gnattools
37329 maybe-install-pdf-gnattools: install-pdf-gnattools
37331 install-pdf-gnattools: \
37332 configure-gnattools \
37333 pdf-gnattools
37334 @: $(MAKE); $(unstage)
37335 @[ -f ./gnattools/Makefile ] || exit 0; \
37336 r=`${PWD_COMMAND}`; export r; \
37337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37338 $(HOST_EXPORTS) \
37339 for flag in $(EXTRA_HOST_FLAGS) ; do \
37340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37341 done; \
37342 echo "Doing install-pdf in gnattools"; \
37343 (cd $(HOST_SUBDIR)/gnattools && \
37344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37346 "RANLIB=$${RANLIB}" \
37347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37348 install-pdf) \
37349 || exit 1
37351 @endif gnattools
37353 .PHONY: maybe-install-html-gnattools install-html-gnattools
37354 maybe-install-html-gnattools:
37355 @if gnattools
37356 maybe-install-html-gnattools: install-html-gnattools
37358 install-html-gnattools: \
37359 configure-gnattools \
37360 html-gnattools
37361 @: $(MAKE); $(unstage)
37362 @[ -f ./gnattools/Makefile ] || exit 0; \
37363 r=`${PWD_COMMAND}`; export r; \
37364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37365 $(HOST_EXPORTS) \
37366 for flag in $(EXTRA_HOST_FLAGS) ; do \
37367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37368 done; \
37369 echo "Doing install-html in gnattools"; \
37370 (cd $(HOST_SUBDIR)/gnattools && \
37371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37373 "RANLIB=$${RANLIB}" \
37374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37375 install-html) \
37376 || exit 1
37378 @endif gnattools
37380 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
37381 maybe-installcheck-gnattools:
37382 @if gnattools
37383 maybe-installcheck-gnattools: installcheck-gnattools
37385 installcheck-gnattools: \
37386 configure-gnattools
37387 @: $(MAKE); $(unstage)
37388 @[ -f ./gnattools/Makefile ] || exit 0; \
37389 r=`${PWD_COMMAND}`; export r; \
37390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37391 $(HOST_EXPORTS) \
37392 for flag in $(EXTRA_HOST_FLAGS) ; do \
37393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37394 done; \
37395 echo "Doing installcheck in gnattools"; \
37396 (cd $(HOST_SUBDIR)/gnattools && \
37397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37399 "RANLIB=$${RANLIB}" \
37400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37401 installcheck) \
37402 || exit 1
37404 @endif gnattools
37406 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
37407 maybe-mostlyclean-gnattools:
37408 @if gnattools
37409 maybe-mostlyclean-gnattools: mostlyclean-gnattools
37411 mostlyclean-gnattools:
37412 @: $(MAKE); $(unstage)
37413 @[ -f ./gnattools/Makefile ] || exit 0; \
37414 r=`${PWD_COMMAND}`; export r; \
37415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37416 $(HOST_EXPORTS) \
37417 for flag in $(EXTRA_HOST_FLAGS) ; do \
37418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37419 done; \
37420 echo "Doing mostlyclean in gnattools"; \
37421 (cd $(HOST_SUBDIR)/gnattools && \
37422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37424 "RANLIB=$${RANLIB}" \
37425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37426 mostlyclean) \
37427 || exit 1
37429 @endif gnattools
37431 .PHONY: maybe-clean-gnattools clean-gnattools
37432 maybe-clean-gnattools:
37433 @if gnattools
37434 maybe-clean-gnattools: clean-gnattools
37436 clean-gnattools:
37437 @: $(MAKE); $(unstage)
37438 @[ -f ./gnattools/Makefile ] || exit 0; \
37439 r=`${PWD_COMMAND}`; export r; \
37440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37441 $(HOST_EXPORTS) \
37442 for flag in $(EXTRA_HOST_FLAGS) ; do \
37443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37444 done; \
37445 echo "Doing clean in gnattools"; \
37446 (cd $(HOST_SUBDIR)/gnattools && \
37447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37449 "RANLIB=$${RANLIB}" \
37450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37451 clean) \
37452 || exit 1
37454 @endif gnattools
37456 .PHONY: maybe-distclean-gnattools distclean-gnattools
37457 maybe-distclean-gnattools:
37458 @if gnattools
37459 maybe-distclean-gnattools: distclean-gnattools
37461 distclean-gnattools:
37462 @: $(MAKE); $(unstage)
37463 @[ -f ./gnattools/Makefile ] || exit 0; \
37464 r=`${PWD_COMMAND}`; export r; \
37465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37466 $(HOST_EXPORTS) \
37467 for flag in $(EXTRA_HOST_FLAGS) ; do \
37468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37469 done; \
37470 echo "Doing distclean in gnattools"; \
37471 (cd $(HOST_SUBDIR)/gnattools && \
37472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37474 "RANLIB=$${RANLIB}" \
37475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37476 distclean) \
37477 || exit 1
37479 @endif gnattools
37481 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
37482 maybe-maintainer-clean-gnattools:
37483 @if gnattools
37484 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
37486 maintainer-clean-gnattools:
37487 @: $(MAKE); $(unstage)
37488 @[ -f ./gnattools/Makefile ] || exit 0; \
37489 r=`${PWD_COMMAND}`; export r; \
37490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37491 $(HOST_EXPORTS) \
37492 for flag in $(EXTRA_HOST_FLAGS) ; do \
37493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37494 done; \
37495 echo "Doing maintainer-clean in gnattools"; \
37496 (cd $(HOST_SUBDIR)/gnattools && \
37497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37499 "RANLIB=$${RANLIB}" \
37500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37501 maintainer-clean) \
37502 || exit 1
37504 @endif gnattools
37508 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
37509 maybe-configure-lto-plugin:
37510 @if gcc-bootstrap
37511 configure-lto-plugin: stage_current
37512 @endif gcc-bootstrap
37513 @if lto-plugin
37514 maybe-configure-lto-plugin: configure-lto-plugin
37515 configure-lto-plugin:
37516 @r=`${PWD_COMMAND}`; export r; \
37517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37518 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37520 $(HOST_EXPORTS) \
37521 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
37522 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
37523 case $(srcdir) in \
37524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37525 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37527 esac; \
37528 module_srcdir=lto-plugin; \
37529 $(SHELL) \
37530 $$s/$$module_srcdir/configure \
37531 --srcdir=$${topdir}/$$module_srcdir \
37532 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37533 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
37534 || exit 1
37535 @endif lto-plugin
37539 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
37540 maybe-configure-stage1-lto-plugin:
37541 @if lto-plugin-bootstrap
37542 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
37543 configure-stage1-lto-plugin:
37544 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37546 @r=`${PWD_COMMAND}`; export r; \
37547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37548 TFLAGS="$(STAGE1_TFLAGS)"; \
37549 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37550 $(HOST_EXPORTS) \
37551 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
37552 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
37553 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
37554 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
37555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37556 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37557 case $(srcdir) in \
37558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37559 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37561 esac; \
37562 module_srcdir=lto-plugin; \
37563 $(SHELL) $$s/$$module_srcdir/configure \
37564 --srcdir=$${topdir}/$$module_srcdir \
37565 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37566 --target=${target_alias} \
37568 $(STAGE1_CONFIGURE_FLAGS) \
37569 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37570 @endif lto-plugin-bootstrap
37572 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
37573 maybe-configure-stage2-lto-plugin:
37574 @if lto-plugin-bootstrap
37575 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
37576 configure-stage2-lto-plugin:
37577 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37579 @r=`${PWD_COMMAND}`; export r; \
37580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37581 TFLAGS="$(STAGE2_TFLAGS)"; \
37582 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37583 $(HOST_EXPORTS) \
37584 $(POSTSTAGE1_HOST_EXPORTS) \
37585 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
37586 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
37587 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
37588 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
37589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37590 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37591 case $(srcdir) in \
37592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37593 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37595 esac; \
37596 module_srcdir=lto-plugin; \
37597 $(SHELL) $$s/$$module_srcdir/configure \
37598 --srcdir=$${topdir}/$$module_srcdir \
37599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37600 --target=${target_alias} \
37601 --with-build-libsubdir=$(HOST_SUBDIR) \
37602 $(STAGE2_CONFIGURE_FLAGS) \
37603 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37604 @endif lto-plugin-bootstrap
37606 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
37607 maybe-configure-stage3-lto-plugin:
37608 @if lto-plugin-bootstrap
37609 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
37610 configure-stage3-lto-plugin:
37611 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37613 @r=`${PWD_COMMAND}`; export r; \
37614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37615 TFLAGS="$(STAGE3_TFLAGS)"; \
37616 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37617 $(HOST_EXPORTS) \
37618 $(POSTSTAGE1_HOST_EXPORTS) \
37619 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
37620 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
37621 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
37622 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
37623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37624 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37625 case $(srcdir) in \
37626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37627 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37629 esac; \
37630 module_srcdir=lto-plugin; \
37631 $(SHELL) $$s/$$module_srcdir/configure \
37632 --srcdir=$${topdir}/$$module_srcdir \
37633 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37634 --target=${target_alias} \
37635 --with-build-libsubdir=$(HOST_SUBDIR) \
37636 $(STAGE3_CONFIGURE_FLAGS) \
37637 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37638 @endif lto-plugin-bootstrap
37640 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
37641 maybe-configure-stage4-lto-plugin:
37642 @if lto-plugin-bootstrap
37643 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
37644 configure-stage4-lto-plugin:
37645 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37647 @r=`${PWD_COMMAND}`; export r; \
37648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37649 TFLAGS="$(STAGE4_TFLAGS)"; \
37650 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37651 $(HOST_EXPORTS) \
37652 $(POSTSTAGE1_HOST_EXPORTS) \
37653 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
37654 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
37655 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
37656 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
37657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37658 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37659 case $(srcdir) in \
37660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37661 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37663 esac; \
37664 module_srcdir=lto-plugin; \
37665 $(SHELL) $$s/$$module_srcdir/configure \
37666 --srcdir=$${topdir}/$$module_srcdir \
37667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37668 --target=${target_alias} \
37669 --with-build-libsubdir=$(HOST_SUBDIR) \
37670 $(STAGE4_CONFIGURE_FLAGS) \
37671 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37672 @endif lto-plugin-bootstrap
37674 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
37675 maybe-configure-stageprofile-lto-plugin:
37676 @if lto-plugin-bootstrap
37677 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
37678 configure-stageprofile-lto-plugin:
37679 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37681 @r=`${PWD_COMMAND}`; export r; \
37682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37683 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37684 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37685 $(HOST_EXPORTS) \
37686 $(POSTSTAGE1_HOST_EXPORTS) \
37687 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
37688 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
37689 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
37690 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
37691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37692 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37693 case $(srcdir) in \
37694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37695 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37697 esac; \
37698 module_srcdir=lto-plugin; \
37699 $(SHELL) $$s/$$module_srcdir/configure \
37700 --srcdir=$${topdir}/$$module_srcdir \
37701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37702 --target=${target_alias} \
37703 --with-build-libsubdir=$(HOST_SUBDIR) \
37704 $(STAGEprofile_CONFIGURE_FLAGS) \
37705 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37706 @endif lto-plugin-bootstrap
37708 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
37709 maybe-configure-stagetrain-lto-plugin:
37710 @if lto-plugin-bootstrap
37711 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
37712 configure-stagetrain-lto-plugin:
37713 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
37714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37715 @r=`${PWD_COMMAND}`; export r; \
37716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37717 TFLAGS="$(STAGEtrain_TFLAGS)"; \
37718 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37719 $(HOST_EXPORTS) \
37720 $(POSTSTAGE1_HOST_EXPORTS) \
37721 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
37722 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
37723 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
37724 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
37725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37726 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37727 case $(srcdir) in \
37728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37729 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37731 esac; \
37732 module_srcdir=lto-plugin; \
37733 $(SHELL) $$s/$$module_srcdir/configure \
37734 --srcdir=$${topdir}/$$module_srcdir \
37735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37736 --target=${target_alias} \
37737 --with-build-libsubdir=$(HOST_SUBDIR) \
37738 $(STAGEtrain_CONFIGURE_FLAGS) \
37739 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37740 @endif lto-plugin-bootstrap
37742 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
37743 maybe-configure-stagefeedback-lto-plugin:
37744 @if lto-plugin-bootstrap
37745 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
37746 configure-stagefeedback-lto-plugin:
37747 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37749 @r=`${PWD_COMMAND}`; export r; \
37750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37751 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37752 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37753 $(HOST_EXPORTS) \
37754 $(POSTSTAGE1_HOST_EXPORTS) \
37755 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
37756 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
37757 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
37758 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
37759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37760 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37761 case $(srcdir) in \
37762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37763 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37765 esac; \
37766 module_srcdir=lto-plugin; \
37767 $(SHELL) $$s/$$module_srcdir/configure \
37768 --srcdir=$${topdir}/$$module_srcdir \
37769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37770 --target=${target_alias} \
37771 --with-build-libsubdir=$(HOST_SUBDIR) \
37772 $(STAGEfeedback_CONFIGURE_FLAGS) \
37773 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37774 @endif lto-plugin-bootstrap
37776 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
37777 maybe-configure-stageautoprofile-lto-plugin:
37778 @if lto-plugin-bootstrap
37779 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
37780 configure-stageautoprofile-lto-plugin:
37781 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
37782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37783 @r=`${PWD_COMMAND}`; export r; \
37784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37785 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
37786 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37787 $(HOST_EXPORTS) \
37788 $(POSTSTAGE1_HOST_EXPORTS) \
37789 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
37790 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
37791 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
37792 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
37793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37794 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37795 case $(srcdir) in \
37796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37797 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37799 esac; \
37800 module_srcdir=lto-plugin; \
37801 $(SHELL) $$s/$$module_srcdir/configure \
37802 --srcdir=$${topdir}/$$module_srcdir \
37803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37804 --target=${target_alias} \
37805 --with-build-libsubdir=$(HOST_SUBDIR) \
37806 $(STAGEautoprofile_CONFIGURE_FLAGS) \
37807 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37808 @endif lto-plugin-bootstrap
37810 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
37811 maybe-configure-stageautofeedback-lto-plugin:
37812 @if lto-plugin-bootstrap
37813 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
37814 configure-stageautofeedback-lto-plugin:
37815 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
37816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
37817 @r=`${PWD_COMMAND}`; export r; \
37818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37819 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
37820 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
37821 $(HOST_EXPORTS) \
37822 $(POSTSTAGE1_HOST_EXPORTS) \
37823 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
37824 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
37825 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
37826 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
37827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
37828 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
37829 case $(srcdir) in \
37830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37831 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
37832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37833 esac; \
37834 module_srcdir=lto-plugin; \
37835 $(SHELL) $$s/$$module_srcdir/configure \
37836 --srcdir=$${topdir}/$$module_srcdir \
37837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37838 --target=${target_alias} \
37839 --with-build-libsubdir=$(HOST_SUBDIR) \
37840 $(STAGEautofeedback_CONFIGURE_FLAGS) \
37841 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
37842 @endif lto-plugin-bootstrap
37848 .PHONY: all-lto-plugin maybe-all-lto-plugin
37849 maybe-all-lto-plugin:
37850 @if gcc-bootstrap
37851 all-lto-plugin: stage_current
37852 @endif gcc-bootstrap
37853 @if lto-plugin
37854 TARGET-lto-plugin=all
37855 maybe-all-lto-plugin: all-lto-plugin
37856 all-lto-plugin: configure-lto-plugin
37857 @r=`${PWD_COMMAND}`; export r; \
37858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37859 $(HOST_EXPORTS) \
37860 (cd $(HOST_SUBDIR)/lto-plugin && \
37861 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37862 $(TARGET-lto-plugin))
37863 @endif lto-plugin
37867 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
37868 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
37869 maybe-all-stage1-lto-plugin:
37870 maybe-clean-stage1-lto-plugin:
37871 @if lto-plugin-bootstrap
37872 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
37873 all-stage1: all-stage1-lto-plugin
37874 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
37875 all-stage1-lto-plugin: configure-stage1-lto-plugin
37876 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37877 @r=`${PWD_COMMAND}`; export r; \
37878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37879 TFLAGS="$(STAGE1_TFLAGS)"; \
37880 $(HOST_EXPORTS) \
37881 cd $(HOST_SUBDIR)/lto-plugin && \
37883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37884 CFLAGS="$(STAGE1_CFLAGS)" \
37885 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
37886 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
37887 LIBCFLAGS="$(LIBCFLAGS)" \
37888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37891 $(EXTRA_HOST_FLAGS) \
37892 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37893 TFLAGS="$(STAGE1_TFLAGS)" \
37894 $(TARGET-stage1-lto-plugin)
37896 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
37897 clean-stage1: clean-stage1-lto-plugin
37898 clean-stage1-lto-plugin:
37899 @if [ $(current_stage) = stage1 ]; then \
37900 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37901 else \
37902 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
37903 $(MAKE) stage1-start; \
37904 fi; \
37905 cd $(HOST_SUBDIR)/lto-plugin && \
37906 $(MAKE) $(EXTRA_HOST_FLAGS) \
37907 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37908 @endif lto-plugin-bootstrap
37911 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
37912 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
37913 maybe-all-stage2-lto-plugin:
37914 maybe-clean-stage2-lto-plugin:
37915 @if lto-plugin-bootstrap
37916 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
37917 all-stage2: all-stage2-lto-plugin
37918 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
37919 all-stage2-lto-plugin: configure-stage2-lto-plugin
37920 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37921 @r=`${PWD_COMMAND}`; export r; \
37922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37923 TFLAGS="$(STAGE2_TFLAGS)"; \
37924 $(HOST_EXPORTS) \
37925 $(POSTSTAGE1_HOST_EXPORTS) \
37926 cd $(HOST_SUBDIR)/lto-plugin && \
37928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37929 CFLAGS="$(STAGE2_CFLAGS)" \
37930 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
37931 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
37932 LIBCFLAGS="$(STAGE2_CFLAGS)" \
37933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37936 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37937 TFLAGS="$(STAGE2_TFLAGS)" \
37938 $(TARGET-stage2-lto-plugin)
37940 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
37941 clean-stage2: clean-stage2-lto-plugin
37942 clean-stage2-lto-plugin:
37943 @if [ $(current_stage) = stage2 ]; then \
37944 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37945 else \
37946 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
37947 $(MAKE) stage2-start; \
37948 fi; \
37949 cd $(HOST_SUBDIR)/lto-plugin && \
37950 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37951 @endif lto-plugin-bootstrap
37954 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
37955 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
37956 maybe-all-stage3-lto-plugin:
37957 maybe-clean-stage3-lto-plugin:
37958 @if lto-plugin-bootstrap
37959 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
37960 all-stage3: all-stage3-lto-plugin
37961 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
37962 all-stage3-lto-plugin: configure-stage3-lto-plugin
37963 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37964 @r=`${PWD_COMMAND}`; export r; \
37965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37966 TFLAGS="$(STAGE3_TFLAGS)"; \
37967 $(HOST_EXPORTS) \
37968 $(POSTSTAGE1_HOST_EXPORTS) \
37969 cd $(HOST_SUBDIR)/lto-plugin && \
37971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37972 CFLAGS="$(STAGE3_CFLAGS)" \
37973 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
37974 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
37975 LIBCFLAGS="$(STAGE3_CFLAGS)" \
37976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37980 TFLAGS="$(STAGE3_TFLAGS)" \
37981 $(TARGET-stage3-lto-plugin)
37983 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
37984 clean-stage3: clean-stage3-lto-plugin
37985 clean-stage3-lto-plugin:
37986 @if [ $(current_stage) = stage3 ]; then \
37987 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37988 else \
37989 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
37990 $(MAKE) stage3-start; \
37991 fi; \
37992 cd $(HOST_SUBDIR)/lto-plugin && \
37993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37994 @endif lto-plugin-bootstrap
37997 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
37998 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
37999 maybe-all-stage4-lto-plugin:
38000 maybe-clean-stage4-lto-plugin:
38001 @if lto-plugin-bootstrap
38002 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
38003 all-stage4: all-stage4-lto-plugin
38004 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
38005 all-stage4-lto-plugin: configure-stage4-lto-plugin
38006 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38007 @r=`${PWD_COMMAND}`; export r; \
38008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38009 TFLAGS="$(STAGE4_TFLAGS)"; \
38010 $(HOST_EXPORTS) \
38011 $(POSTSTAGE1_HOST_EXPORTS) \
38012 cd $(HOST_SUBDIR)/lto-plugin && \
38014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38015 CFLAGS="$(STAGE4_CFLAGS)" \
38016 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
38017 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
38018 LIBCFLAGS="$(STAGE4_CFLAGS)" \
38019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
38023 TFLAGS="$(STAGE4_TFLAGS)" \
38024 $(TARGET-stage4-lto-plugin)
38026 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
38027 clean-stage4: clean-stage4-lto-plugin
38028 clean-stage4-lto-plugin:
38029 @if [ $(current_stage) = stage4 ]; then \
38030 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
38031 else \
38032 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
38033 $(MAKE) stage4-start; \
38034 fi; \
38035 cd $(HOST_SUBDIR)/lto-plugin && \
38036 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
38037 @endif lto-plugin-bootstrap
38040 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
38041 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
38042 maybe-all-stageprofile-lto-plugin:
38043 maybe-clean-stageprofile-lto-plugin:
38044 @if lto-plugin-bootstrap
38045 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
38046 all-stageprofile: all-stageprofile-lto-plugin
38047 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
38048 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
38049 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38050 @r=`${PWD_COMMAND}`; export r; \
38051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38052 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38053 $(HOST_EXPORTS) \
38054 $(POSTSTAGE1_HOST_EXPORTS) \
38055 cd $(HOST_SUBDIR)/lto-plugin && \
38057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38058 CFLAGS="$(STAGEprofile_CFLAGS)" \
38059 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
38060 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
38061 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
38062 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38063 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38064 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38065 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
38066 TFLAGS="$(STAGEprofile_TFLAGS)" \
38067 $(TARGET-stageprofile-lto-plugin)
38069 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
38070 clean-stageprofile: clean-stageprofile-lto-plugin
38071 clean-stageprofile-lto-plugin:
38072 @if [ $(current_stage) = stageprofile ]; then \
38073 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
38074 else \
38075 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
38076 $(MAKE) stageprofile-start; \
38077 fi; \
38078 cd $(HOST_SUBDIR)/lto-plugin && \
38079 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
38080 @endif lto-plugin-bootstrap
38083 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
38084 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
38085 maybe-all-stagetrain-lto-plugin:
38086 maybe-clean-stagetrain-lto-plugin:
38087 @if lto-plugin-bootstrap
38088 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
38089 all-stagetrain: all-stagetrain-lto-plugin
38090 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
38091 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
38092 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38093 @r=`${PWD_COMMAND}`; export r; \
38094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38095 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38096 $(HOST_EXPORTS) \
38097 $(POSTSTAGE1_HOST_EXPORTS) \
38098 cd $(HOST_SUBDIR)/lto-plugin && \
38100 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38101 CFLAGS="$(STAGEtrain_CFLAGS)" \
38102 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
38103 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
38104 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
38105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
38109 TFLAGS="$(STAGEtrain_TFLAGS)" \
38110 $(TARGET-stagetrain-lto-plugin)
38112 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
38113 clean-stagetrain: clean-stagetrain-lto-plugin
38114 clean-stagetrain-lto-plugin:
38115 @if [ $(current_stage) = stagetrain ]; then \
38116 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
38117 else \
38118 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
38119 $(MAKE) stagetrain-start; \
38120 fi; \
38121 cd $(HOST_SUBDIR)/lto-plugin && \
38122 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
38123 @endif lto-plugin-bootstrap
38126 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
38127 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
38128 maybe-all-stagefeedback-lto-plugin:
38129 maybe-clean-stagefeedback-lto-plugin:
38130 @if lto-plugin-bootstrap
38131 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
38132 all-stagefeedback: all-stagefeedback-lto-plugin
38133 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
38134 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
38135 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38136 @r=`${PWD_COMMAND}`; export r; \
38137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38138 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38139 $(HOST_EXPORTS) \
38140 $(POSTSTAGE1_HOST_EXPORTS) \
38141 cd $(HOST_SUBDIR)/lto-plugin && \
38143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38144 CFLAGS="$(STAGEfeedback_CFLAGS)" \
38145 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
38146 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
38147 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
38148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38151 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
38152 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38153 $(TARGET-stagefeedback-lto-plugin)
38155 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
38156 clean-stagefeedback: clean-stagefeedback-lto-plugin
38157 clean-stagefeedback-lto-plugin:
38158 @if [ $(current_stage) = stagefeedback ]; then \
38159 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
38160 else \
38161 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
38162 $(MAKE) stagefeedback-start; \
38163 fi; \
38164 cd $(HOST_SUBDIR)/lto-plugin && \
38165 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
38166 @endif lto-plugin-bootstrap
38169 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
38170 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
38171 maybe-all-stageautoprofile-lto-plugin:
38172 maybe-clean-stageautoprofile-lto-plugin:
38173 @if lto-plugin-bootstrap
38174 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
38175 all-stageautoprofile: all-stageautoprofile-lto-plugin
38176 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
38177 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
38178 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38179 @r=`${PWD_COMMAND}`; export r; \
38180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38181 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38182 $(HOST_EXPORTS) \
38183 $(POSTSTAGE1_HOST_EXPORTS) \
38184 cd $(HOST_SUBDIR)/lto-plugin && \
38185 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38187 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
38188 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
38189 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
38190 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
38191 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38192 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38193 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38194 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
38195 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38196 $(TARGET-stageautoprofile-lto-plugin)
38198 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
38199 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
38200 clean-stageautoprofile-lto-plugin:
38201 @if [ $(current_stage) = stageautoprofile ]; then \
38202 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
38203 else \
38204 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
38205 $(MAKE) stageautoprofile-start; \
38206 fi; \
38207 cd $(HOST_SUBDIR)/lto-plugin && \
38208 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
38209 @endif lto-plugin-bootstrap
38212 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
38213 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
38214 maybe-all-stageautofeedback-lto-plugin:
38215 maybe-clean-stageautofeedback-lto-plugin:
38216 @if lto-plugin-bootstrap
38217 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
38218 all-stageautofeedback: all-stageautofeedback-lto-plugin
38219 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
38220 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
38221 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38222 @r=`${PWD_COMMAND}`; export r; \
38223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38224 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38225 $(HOST_EXPORTS) \
38226 $(POSTSTAGE1_HOST_EXPORTS) \
38227 cd $(HOST_SUBDIR)/lto-plugin && \
38229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38230 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
38231 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
38232 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
38233 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
38234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38237 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
38238 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38239 $(TARGET-stageautofeedback-lto-plugin)
38241 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
38242 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
38243 clean-stageautofeedback-lto-plugin:
38244 @if [ $(current_stage) = stageautofeedback ]; then \
38245 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
38246 else \
38247 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
38248 $(MAKE) stageautofeedback-start; \
38249 fi; \
38250 cd $(HOST_SUBDIR)/lto-plugin && \
38251 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
38252 @endif lto-plugin-bootstrap
38258 .PHONY: check-lto-plugin maybe-check-lto-plugin
38259 maybe-check-lto-plugin:
38260 @if lto-plugin
38261 maybe-check-lto-plugin: check-lto-plugin
38263 check-lto-plugin:
38264 @: $(MAKE); $(unstage)
38265 @r=`${PWD_COMMAND}`; export r; \
38266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38267 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
38268 (cd $(HOST_SUBDIR)/lto-plugin && \
38269 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
38271 @endif lto-plugin
38273 .PHONY: install-lto-plugin maybe-install-lto-plugin
38274 maybe-install-lto-plugin:
38275 @if lto-plugin
38276 maybe-install-lto-plugin: install-lto-plugin
38278 install-lto-plugin: installdirs
38279 @: $(MAKE); $(unstage)
38280 @r=`${PWD_COMMAND}`; export r; \
38281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38282 $(HOST_EXPORTS) \
38283 (cd $(HOST_SUBDIR)/lto-plugin && \
38284 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
38286 @endif lto-plugin
38288 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
38289 maybe-install-strip-lto-plugin:
38290 @if lto-plugin
38291 maybe-install-strip-lto-plugin: install-strip-lto-plugin
38293 install-strip-lto-plugin: installdirs
38294 @: $(MAKE); $(unstage)
38295 @r=`${PWD_COMMAND}`; export r; \
38296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38297 $(HOST_EXPORTS) \
38298 (cd $(HOST_SUBDIR)/lto-plugin && \
38299 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
38301 @endif lto-plugin
38303 # Other targets (info, dvi, pdf, etc.)
38305 .PHONY: maybe-info-lto-plugin info-lto-plugin
38306 maybe-info-lto-plugin:
38307 @if lto-plugin
38308 maybe-info-lto-plugin: info-lto-plugin
38310 info-lto-plugin: \
38311 configure-lto-plugin
38312 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38313 r=`${PWD_COMMAND}`; export r; \
38314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38315 $(HOST_EXPORTS) \
38316 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38318 done; \
38319 echo "Doing info in lto-plugin"; \
38320 (cd $(HOST_SUBDIR)/lto-plugin && \
38321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38323 "RANLIB=$${RANLIB}" \
38324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38325 info) \
38326 || exit 1
38328 @endif lto-plugin
38330 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
38331 maybe-dvi-lto-plugin:
38332 @if lto-plugin
38333 maybe-dvi-lto-plugin: dvi-lto-plugin
38335 dvi-lto-plugin: \
38336 configure-lto-plugin
38337 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38338 r=`${PWD_COMMAND}`; export r; \
38339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38340 $(HOST_EXPORTS) \
38341 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38343 done; \
38344 echo "Doing dvi in lto-plugin"; \
38345 (cd $(HOST_SUBDIR)/lto-plugin && \
38346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38348 "RANLIB=$${RANLIB}" \
38349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38350 dvi) \
38351 || exit 1
38353 @endif lto-plugin
38355 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
38356 maybe-pdf-lto-plugin:
38357 @if lto-plugin
38358 maybe-pdf-lto-plugin: pdf-lto-plugin
38360 pdf-lto-plugin: \
38361 configure-lto-plugin
38362 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38363 r=`${PWD_COMMAND}`; export r; \
38364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38365 $(HOST_EXPORTS) \
38366 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38368 done; \
38369 echo "Doing pdf in lto-plugin"; \
38370 (cd $(HOST_SUBDIR)/lto-plugin && \
38371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38373 "RANLIB=$${RANLIB}" \
38374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38375 pdf) \
38376 || exit 1
38378 @endif lto-plugin
38380 .PHONY: maybe-html-lto-plugin html-lto-plugin
38381 maybe-html-lto-plugin:
38382 @if lto-plugin
38383 maybe-html-lto-plugin: html-lto-plugin
38385 html-lto-plugin: \
38386 configure-lto-plugin
38387 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38388 r=`${PWD_COMMAND}`; export r; \
38389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38390 $(HOST_EXPORTS) \
38391 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38393 done; \
38394 echo "Doing html in lto-plugin"; \
38395 (cd $(HOST_SUBDIR)/lto-plugin && \
38396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38398 "RANLIB=$${RANLIB}" \
38399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38400 html) \
38401 || exit 1
38403 @endif lto-plugin
38405 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
38406 maybe-TAGS-lto-plugin:
38407 @if lto-plugin
38408 maybe-TAGS-lto-plugin: TAGS-lto-plugin
38410 TAGS-lto-plugin: \
38411 configure-lto-plugin
38412 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38413 r=`${PWD_COMMAND}`; export r; \
38414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38415 $(HOST_EXPORTS) \
38416 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38418 done; \
38419 echo "Doing TAGS in lto-plugin"; \
38420 (cd $(HOST_SUBDIR)/lto-plugin && \
38421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38423 "RANLIB=$${RANLIB}" \
38424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38425 TAGS) \
38426 || exit 1
38428 @endif lto-plugin
38430 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
38431 maybe-install-info-lto-plugin:
38432 @if lto-plugin
38433 maybe-install-info-lto-plugin: install-info-lto-plugin
38435 install-info-lto-plugin: \
38436 configure-lto-plugin \
38437 info-lto-plugin
38438 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38439 r=`${PWD_COMMAND}`; export r; \
38440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38441 $(HOST_EXPORTS) \
38442 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38444 done; \
38445 echo "Doing install-info in lto-plugin"; \
38446 (cd $(HOST_SUBDIR)/lto-plugin && \
38447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38449 "RANLIB=$${RANLIB}" \
38450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38451 install-info) \
38452 || exit 1
38454 @endif lto-plugin
38456 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
38457 maybe-install-pdf-lto-plugin:
38458 @if lto-plugin
38459 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
38461 install-pdf-lto-plugin: \
38462 configure-lto-plugin \
38463 pdf-lto-plugin
38464 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38465 r=`${PWD_COMMAND}`; export r; \
38466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38467 $(HOST_EXPORTS) \
38468 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38470 done; \
38471 echo "Doing install-pdf in lto-plugin"; \
38472 (cd $(HOST_SUBDIR)/lto-plugin && \
38473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38475 "RANLIB=$${RANLIB}" \
38476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38477 install-pdf) \
38478 || exit 1
38480 @endif lto-plugin
38482 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
38483 maybe-install-html-lto-plugin:
38484 @if lto-plugin
38485 maybe-install-html-lto-plugin: install-html-lto-plugin
38487 install-html-lto-plugin: \
38488 configure-lto-plugin \
38489 html-lto-plugin
38490 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38491 r=`${PWD_COMMAND}`; export r; \
38492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38493 $(HOST_EXPORTS) \
38494 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38496 done; \
38497 echo "Doing install-html in lto-plugin"; \
38498 (cd $(HOST_SUBDIR)/lto-plugin && \
38499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38501 "RANLIB=$${RANLIB}" \
38502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38503 install-html) \
38504 || exit 1
38506 @endif lto-plugin
38508 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
38509 maybe-installcheck-lto-plugin:
38510 @if lto-plugin
38511 maybe-installcheck-lto-plugin: installcheck-lto-plugin
38513 installcheck-lto-plugin: \
38514 configure-lto-plugin
38515 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38516 r=`${PWD_COMMAND}`; export r; \
38517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38518 $(HOST_EXPORTS) \
38519 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38521 done; \
38522 echo "Doing installcheck in lto-plugin"; \
38523 (cd $(HOST_SUBDIR)/lto-plugin && \
38524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38526 "RANLIB=$${RANLIB}" \
38527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38528 installcheck) \
38529 || exit 1
38531 @endif lto-plugin
38533 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
38534 maybe-mostlyclean-lto-plugin:
38535 @if lto-plugin
38536 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
38538 mostlyclean-lto-plugin:
38539 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38540 r=`${PWD_COMMAND}`; export r; \
38541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38542 $(HOST_EXPORTS) \
38543 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38545 done; \
38546 echo "Doing mostlyclean in lto-plugin"; \
38547 (cd $(HOST_SUBDIR)/lto-plugin && \
38548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38550 "RANLIB=$${RANLIB}" \
38551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38552 mostlyclean) \
38553 || exit 1
38555 @endif lto-plugin
38557 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
38558 maybe-clean-lto-plugin:
38559 @if lto-plugin
38560 maybe-clean-lto-plugin: clean-lto-plugin
38562 clean-lto-plugin:
38563 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38564 r=`${PWD_COMMAND}`; export r; \
38565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38566 $(HOST_EXPORTS) \
38567 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38569 done; \
38570 echo "Doing clean in lto-plugin"; \
38571 (cd $(HOST_SUBDIR)/lto-plugin && \
38572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38574 "RANLIB=$${RANLIB}" \
38575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38576 clean) \
38577 || exit 1
38579 @endif lto-plugin
38581 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
38582 maybe-distclean-lto-plugin:
38583 @if lto-plugin
38584 maybe-distclean-lto-plugin: distclean-lto-plugin
38586 distclean-lto-plugin:
38587 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38588 r=`${PWD_COMMAND}`; export r; \
38589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38590 $(HOST_EXPORTS) \
38591 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38593 done; \
38594 echo "Doing distclean in lto-plugin"; \
38595 (cd $(HOST_SUBDIR)/lto-plugin && \
38596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38598 "RANLIB=$${RANLIB}" \
38599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38600 distclean) \
38601 || exit 1
38603 @endif lto-plugin
38605 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
38606 maybe-maintainer-clean-lto-plugin:
38607 @if lto-plugin
38608 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
38610 maintainer-clean-lto-plugin:
38611 @[ -f ./lto-plugin/Makefile ] || exit 0; \
38612 r=`${PWD_COMMAND}`; export r; \
38613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38614 $(HOST_EXPORTS) \
38615 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
38616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38617 done; \
38618 echo "Doing maintainer-clean in lto-plugin"; \
38619 (cd $(HOST_SUBDIR)/lto-plugin && \
38620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38622 "RANLIB=$${RANLIB}" \
38623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38624 maintainer-clean) \
38625 || exit 1
38627 @endif lto-plugin
38631 .PHONY: configure-libcc1 maybe-configure-libcc1
38632 maybe-configure-libcc1:
38633 @if gcc-bootstrap
38634 configure-libcc1: stage_current
38635 @endif gcc-bootstrap
38636 @if libcc1
38637 maybe-configure-libcc1: configure-libcc1
38638 configure-libcc1:
38639 @: $(MAKE); $(unstage)
38640 @r=`${PWD_COMMAND}`; export r; \
38641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38642 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
38643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
38644 $(HOST_EXPORTS) \
38645 echo Configuring in $(HOST_SUBDIR)/libcc1; \
38646 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
38647 case $(srcdir) in \
38648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38649 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
38650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38651 esac; \
38652 module_srcdir=libcc1; \
38653 $(SHELL) \
38654 $$s/$$module_srcdir/configure \
38655 --srcdir=$${topdir}/$$module_srcdir \
38656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38657 --target=${target_alias} --enable-shared \
38658 || exit 1
38659 @endif libcc1
38665 .PHONY: all-libcc1 maybe-all-libcc1
38666 maybe-all-libcc1:
38667 @if gcc-bootstrap
38668 all-libcc1: stage_current
38669 @endif gcc-bootstrap
38670 @if libcc1
38671 TARGET-libcc1=all
38672 maybe-all-libcc1: all-libcc1
38673 all-libcc1: configure-libcc1
38674 @: $(MAKE); $(unstage)
38675 @r=`${PWD_COMMAND}`; export r; \
38676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38677 $(HOST_EXPORTS) \
38678 (cd $(HOST_SUBDIR)/libcc1 && \
38679 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38680 $(TARGET-libcc1))
38681 @endif libcc1
38686 .PHONY: check-libcc1 maybe-check-libcc1
38687 maybe-check-libcc1:
38688 @if libcc1
38689 maybe-check-libcc1: check-libcc1
38691 check-libcc1:
38692 @: $(MAKE); $(unstage)
38693 @r=`${PWD_COMMAND}`; export r; \
38694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38695 $(HOST_EXPORTS) \
38696 (cd $(HOST_SUBDIR)/libcc1 && \
38697 $(MAKE) $(FLAGS_TO_PASS) check)
38699 @endif libcc1
38701 .PHONY: install-libcc1 maybe-install-libcc1
38702 maybe-install-libcc1:
38703 @if libcc1
38704 maybe-install-libcc1: install-libcc1
38706 install-libcc1: installdirs
38707 @: $(MAKE); $(unstage)
38708 @r=`${PWD_COMMAND}`; export r; \
38709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38710 $(HOST_EXPORTS) \
38711 (cd $(HOST_SUBDIR)/libcc1 && \
38712 $(MAKE) $(FLAGS_TO_PASS) install)
38714 @endif libcc1
38716 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
38717 maybe-install-strip-libcc1:
38718 @if libcc1
38719 maybe-install-strip-libcc1: install-strip-libcc1
38721 install-strip-libcc1: installdirs
38722 @: $(MAKE); $(unstage)
38723 @r=`${PWD_COMMAND}`; export r; \
38724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38725 $(HOST_EXPORTS) \
38726 (cd $(HOST_SUBDIR)/libcc1 && \
38727 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38729 @endif libcc1
38731 # Other targets (info, dvi, pdf, etc.)
38733 .PHONY: maybe-info-libcc1 info-libcc1
38734 maybe-info-libcc1:
38735 @if libcc1
38736 maybe-info-libcc1: info-libcc1
38738 info-libcc1: \
38739 configure-libcc1
38740 @: $(MAKE); $(unstage)
38741 @[ -f ./libcc1/Makefile ] || exit 0; \
38742 r=`${PWD_COMMAND}`; export r; \
38743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38744 $(HOST_EXPORTS) \
38745 for flag in $(EXTRA_HOST_FLAGS) ; do \
38746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38747 done; \
38748 echo "Doing info in libcc1"; \
38749 (cd $(HOST_SUBDIR)/libcc1 && \
38750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38752 "RANLIB=$${RANLIB}" \
38753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38754 info) \
38755 || exit 1
38757 @endif libcc1
38759 .PHONY: maybe-dvi-libcc1 dvi-libcc1
38760 maybe-dvi-libcc1:
38761 @if libcc1
38762 maybe-dvi-libcc1: dvi-libcc1
38764 dvi-libcc1: \
38765 configure-libcc1
38766 @: $(MAKE); $(unstage)
38767 @[ -f ./libcc1/Makefile ] || exit 0; \
38768 r=`${PWD_COMMAND}`; export r; \
38769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38770 $(HOST_EXPORTS) \
38771 for flag in $(EXTRA_HOST_FLAGS) ; do \
38772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38773 done; \
38774 echo "Doing dvi in libcc1"; \
38775 (cd $(HOST_SUBDIR)/libcc1 && \
38776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38778 "RANLIB=$${RANLIB}" \
38779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38780 dvi) \
38781 || exit 1
38783 @endif libcc1
38785 .PHONY: maybe-pdf-libcc1 pdf-libcc1
38786 maybe-pdf-libcc1:
38787 @if libcc1
38788 maybe-pdf-libcc1: pdf-libcc1
38790 pdf-libcc1: \
38791 configure-libcc1
38792 @: $(MAKE); $(unstage)
38793 @[ -f ./libcc1/Makefile ] || exit 0; \
38794 r=`${PWD_COMMAND}`; export r; \
38795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38796 $(HOST_EXPORTS) \
38797 for flag in $(EXTRA_HOST_FLAGS) ; do \
38798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38799 done; \
38800 echo "Doing pdf in libcc1"; \
38801 (cd $(HOST_SUBDIR)/libcc1 && \
38802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38804 "RANLIB=$${RANLIB}" \
38805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38806 pdf) \
38807 || exit 1
38809 @endif libcc1
38811 .PHONY: maybe-html-libcc1 html-libcc1
38812 maybe-html-libcc1:
38813 @if libcc1
38814 maybe-html-libcc1: html-libcc1
38816 html-libcc1: \
38817 configure-libcc1
38818 @: $(MAKE); $(unstage)
38819 @[ -f ./libcc1/Makefile ] || exit 0; \
38820 r=`${PWD_COMMAND}`; export r; \
38821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38822 $(HOST_EXPORTS) \
38823 for flag in $(EXTRA_HOST_FLAGS) ; do \
38824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38825 done; \
38826 echo "Doing html in libcc1"; \
38827 (cd $(HOST_SUBDIR)/libcc1 && \
38828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38830 "RANLIB=$${RANLIB}" \
38831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38832 html) \
38833 || exit 1
38835 @endif libcc1
38837 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
38838 maybe-TAGS-libcc1:
38839 @if libcc1
38840 maybe-TAGS-libcc1: TAGS-libcc1
38842 TAGS-libcc1: \
38843 configure-libcc1
38844 @: $(MAKE); $(unstage)
38845 @[ -f ./libcc1/Makefile ] || exit 0; \
38846 r=`${PWD_COMMAND}`; export r; \
38847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38848 $(HOST_EXPORTS) \
38849 for flag in $(EXTRA_HOST_FLAGS) ; do \
38850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38851 done; \
38852 echo "Doing TAGS in libcc1"; \
38853 (cd $(HOST_SUBDIR)/libcc1 && \
38854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38856 "RANLIB=$${RANLIB}" \
38857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38858 TAGS) \
38859 || exit 1
38861 @endif libcc1
38863 .PHONY: maybe-install-info-libcc1 install-info-libcc1
38864 maybe-install-info-libcc1:
38865 @if libcc1
38866 maybe-install-info-libcc1: install-info-libcc1
38868 install-info-libcc1: \
38869 configure-libcc1 \
38870 info-libcc1
38871 @: $(MAKE); $(unstage)
38872 @[ -f ./libcc1/Makefile ] || exit 0; \
38873 r=`${PWD_COMMAND}`; export r; \
38874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38875 $(HOST_EXPORTS) \
38876 for flag in $(EXTRA_HOST_FLAGS) ; do \
38877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38878 done; \
38879 echo "Doing install-info in libcc1"; \
38880 (cd $(HOST_SUBDIR)/libcc1 && \
38881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38883 "RANLIB=$${RANLIB}" \
38884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38885 install-info) \
38886 || exit 1
38888 @endif libcc1
38890 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
38891 maybe-install-pdf-libcc1:
38892 @if libcc1
38893 maybe-install-pdf-libcc1: install-pdf-libcc1
38895 install-pdf-libcc1: \
38896 configure-libcc1 \
38897 pdf-libcc1
38898 @: $(MAKE); $(unstage)
38899 @[ -f ./libcc1/Makefile ] || exit 0; \
38900 r=`${PWD_COMMAND}`; export r; \
38901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38902 $(HOST_EXPORTS) \
38903 for flag in $(EXTRA_HOST_FLAGS) ; do \
38904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38905 done; \
38906 echo "Doing install-pdf in libcc1"; \
38907 (cd $(HOST_SUBDIR)/libcc1 && \
38908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38910 "RANLIB=$${RANLIB}" \
38911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38912 install-pdf) \
38913 || exit 1
38915 @endif libcc1
38917 .PHONY: maybe-install-html-libcc1 install-html-libcc1
38918 maybe-install-html-libcc1:
38919 @if libcc1
38920 maybe-install-html-libcc1: install-html-libcc1
38922 install-html-libcc1: \
38923 configure-libcc1 \
38924 html-libcc1
38925 @: $(MAKE); $(unstage)
38926 @[ -f ./libcc1/Makefile ] || exit 0; \
38927 r=`${PWD_COMMAND}`; export r; \
38928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38929 $(HOST_EXPORTS) \
38930 for flag in $(EXTRA_HOST_FLAGS) ; do \
38931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38932 done; \
38933 echo "Doing install-html in libcc1"; \
38934 (cd $(HOST_SUBDIR)/libcc1 && \
38935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38937 "RANLIB=$${RANLIB}" \
38938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38939 install-html) \
38940 || exit 1
38942 @endif libcc1
38944 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
38945 maybe-installcheck-libcc1:
38946 @if libcc1
38947 maybe-installcheck-libcc1: installcheck-libcc1
38949 installcheck-libcc1: \
38950 configure-libcc1
38951 @: $(MAKE); $(unstage)
38952 @[ -f ./libcc1/Makefile ] || exit 0; \
38953 r=`${PWD_COMMAND}`; export r; \
38954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38955 $(HOST_EXPORTS) \
38956 for flag in $(EXTRA_HOST_FLAGS) ; do \
38957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38958 done; \
38959 echo "Doing installcheck in libcc1"; \
38960 (cd $(HOST_SUBDIR)/libcc1 && \
38961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38963 "RANLIB=$${RANLIB}" \
38964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38965 installcheck) \
38966 || exit 1
38968 @endif libcc1
38970 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
38971 maybe-mostlyclean-libcc1:
38972 @if libcc1
38973 maybe-mostlyclean-libcc1: mostlyclean-libcc1
38975 mostlyclean-libcc1:
38976 @: $(MAKE); $(unstage)
38977 @[ -f ./libcc1/Makefile ] || exit 0; \
38978 r=`${PWD_COMMAND}`; export r; \
38979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38980 $(HOST_EXPORTS) \
38981 for flag in $(EXTRA_HOST_FLAGS) ; do \
38982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38983 done; \
38984 echo "Doing mostlyclean in libcc1"; \
38985 (cd $(HOST_SUBDIR)/libcc1 && \
38986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38988 "RANLIB=$${RANLIB}" \
38989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38990 mostlyclean) \
38991 || exit 1
38993 @endif libcc1
38995 .PHONY: maybe-clean-libcc1 clean-libcc1
38996 maybe-clean-libcc1:
38997 @if libcc1
38998 maybe-clean-libcc1: clean-libcc1
39000 clean-libcc1:
39001 @: $(MAKE); $(unstage)
39002 @[ -f ./libcc1/Makefile ] || exit 0; \
39003 r=`${PWD_COMMAND}`; export r; \
39004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39005 $(HOST_EXPORTS) \
39006 for flag in $(EXTRA_HOST_FLAGS) ; do \
39007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39008 done; \
39009 echo "Doing clean in libcc1"; \
39010 (cd $(HOST_SUBDIR)/libcc1 && \
39011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39013 "RANLIB=$${RANLIB}" \
39014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39015 clean) \
39016 || exit 1
39018 @endif libcc1
39020 .PHONY: maybe-distclean-libcc1 distclean-libcc1
39021 maybe-distclean-libcc1:
39022 @if libcc1
39023 maybe-distclean-libcc1: distclean-libcc1
39025 distclean-libcc1:
39026 @: $(MAKE); $(unstage)
39027 @[ -f ./libcc1/Makefile ] || exit 0; \
39028 r=`${PWD_COMMAND}`; export r; \
39029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39030 $(HOST_EXPORTS) \
39031 for flag in $(EXTRA_HOST_FLAGS) ; do \
39032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39033 done; \
39034 echo "Doing distclean in libcc1"; \
39035 (cd $(HOST_SUBDIR)/libcc1 && \
39036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39038 "RANLIB=$${RANLIB}" \
39039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39040 distclean) \
39041 || exit 1
39043 @endif libcc1
39045 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
39046 maybe-maintainer-clean-libcc1:
39047 @if libcc1
39048 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
39050 maintainer-clean-libcc1:
39051 @: $(MAKE); $(unstage)
39052 @[ -f ./libcc1/Makefile ] || exit 0; \
39053 r=`${PWD_COMMAND}`; export r; \
39054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39055 $(HOST_EXPORTS) \
39056 for flag in $(EXTRA_HOST_FLAGS) ; do \
39057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39058 done; \
39059 echo "Doing maintainer-clean in libcc1"; \
39060 (cd $(HOST_SUBDIR)/libcc1 && \
39061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39063 "RANLIB=$${RANLIB}" \
39064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39065 maintainer-clean) \
39066 || exit 1
39068 @endif libcc1
39072 .PHONY: configure-gotools maybe-configure-gotools
39073 maybe-configure-gotools:
39074 @if gcc-bootstrap
39075 configure-gotools: stage_current
39076 @endif gcc-bootstrap
39077 @if gotools
39078 maybe-configure-gotools: configure-gotools
39079 configure-gotools:
39080 @: $(MAKE); $(unstage)
39081 @r=`${PWD_COMMAND}`; export r; \
39082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39083 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
39084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
39085 $(HOST_EXPORTS) \
39086 echo Configuring in $(HOST_SUBDIR)/gotools; \
39087 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
39088 case $(srcdir) in \
39089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39090 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
39091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39092 esac; \
39093 module_srcdir=gotools; \
39094 $(SHELL) \
39095 $$s/$$module_srcdir/configure \
39096 --srcdir=$${topdir}/$$module_srcdir \
39097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39098 --target=${target_alias} \
39099 || exit 1
39100 @endif gotools
39106 .PHONY: all-gotools maybe-all-gotools
39107 maybe-all-gotools:
39108 @if gcc-bootstrap
39109 all-gotools: stage_current
39110 @endif gcc-bootstrap
39111 @if gotools
39112 TARGET-gotools=all
39113 maybe-all-gotools: all-gotools
39114 all-gotools: configure-gotools
39115 @: $(MAKE); $(unstage)
39116 @r=`${PWD_COMMAND}`; export r; \
39117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39118 $(HOST_EXPORTS) \
39119 (cd $(HOST_SUBDIR)/gotools && \
39120 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39121 $(TARGET-gotools))
39122 @endif gotools
39127 .PHONY: check-gotools maybe-check-gotools
39128 maybe-check-gotools:
39129 @if gotools
39130 maybe-check-gotools: check-gotools
39132 check-gotools:
39133 @: $(MAKE); $(unstage)
39134 @r=`${PWD_COMMAND}`; export r; \
39135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39136 $(HOST_EXPORTS) \
39137 (cd $(HOST_SUBDIR)/gotools && \
39138 $(MAKE) $(FLAGS_TO_PASS) check)
39140 @endif gotools
39142 .PHONY: install-gotools maybe-install-gotools
39143 maybe-install-gotools:
39144 @if gotools
39145 maybe-install-gotools: install-gotools
39147 install-gotools: installdirs
39148 @: $(MAKE); $(unstage)
39149 @r=`${PWD_COMMAND}`; export r; \
39150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39151 $(HOST_EXPORTS) \
39152 (cd $(HOST_SUBDIR)/gotools && \
39153 $(MAKE) $(FLAGS_TO_PASS) install)
39155 @endif gotools
39157 .PHONY: install-strip-gotools maybe-install-strip-gotools
39158 maybe-install-strip-gotools:
39159 @if gotools
39160 maybe-install-strip-gotools: install-strip-gotools
39162 install-strip-gotools: installdirs
39163 @: $(MAKE); $(unstage)
39164 @r=`${PWD_COMMAND}`; export r; \
39165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39166 $(HOST_EXPORTS) \
39167 (cd $(HOST_SUBDIR)/gotools && \
39168 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39170 @endif gotools
39172 # Other targets (info, dvi, pdf, etc.)
39174 .PHONY: maybe-info-gotools info-gotools
39175 maybe-info-gotools:
39176 @if gotools
39177 maybe-info-gotools: info-gotools
39179 info-gotools: \
39180 configure-gotools
39181 @: $(MAKE); $(unstage)
39182 @[ -f ./gotools/Makefile ] || exit 0; \
39183 r=`${PWD_COMMAND}`; export r; \
39184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39185 $(HOST_EXPORTS) \
39186 for flag in $(EXTRA_HOST_FLAGS) ; do \
39187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39188 done; \
39189 echo "Doing info in gotools"; \
39190 (cd $(HOST_SUBDIR)/gotools && \
39191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39193 "RANLIB=$${RANLIB}" \
39194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39195 info) \
39196 || exit 1
39198 @endif gotools
39200 .PHONY: maybe-dvi-gotools dvi-gotools
39201 maybe-dvi-gotools:
39202 @if gotools
39203 maybe-dvi-gotools: dvi-gotools
39205 dvi-gotools: \
39206 configure-gotools
39207 @: $(MAKE); $(unstage)
39208 @[ -f ./gotools/Makefile ] || exit 0; \
39209 r=`${PWD_COMMAND}`; export r; \
39210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39211 $(HOST_EXPORTS) \
39212 for flag in $(EXTRA_HOST_FLAGS) ; do \
39213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39214 done; \
39215 echo "Doing dvi in gotools"; \
39216 (cd $(HOST_SUBDIR)/gotools && \
39217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39219 "RANLIB=$${RANLIB}" \
39220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39221 dvi) \
39222 || exit 1
39224 @endif gotools
39226 .PHONY: maybe-pdf-gotools pdf-gotools
39227 maybe-pdf-gotools:
39228 @if gotools
39229 maybe-pdf-gotools: pdf-gotools
39231 pdf-gotools: \
39232 configure-gotools
39233 @: $(MAKE); $(unstage)
39234 @[ -f ./gotools/Makefile ] || exit 0; \
39235 r=`${PWD_COMMAND}`; export r; \
39236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39237 $(HOST_EXPORTS) \
39238 for flag in $(EXTRA_HOST_FLAGS) ; do \
39239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39240 done; \
39241 echo "Doing pdf in gotools"; \
39242 (cd $(HOST_SUBDIR)/gotools && \
39243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39245 "RANLIB=$${RANLIB}" \
39246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39247 pdf) \
39248 || exit 1
39250 @endif gotools
39252 .PHONY: maybe-html-gotools html-gotools
39253 maybe-html-gotools:
39254 @if gotools
39255 maybe-html-gotools: html-gotools
39257 html-gotools: \
39258 configure-gotools
39259 @: $(MAKE); $(unstage)
39260 @[ -f ./gotools/Makefile ] || exit 0; \
39261 r=`${PWD_COMMAND}`; export r; \
39262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39263 $(HOST_EXPORTS) \
39264 for flag in $(EXTRA_HOST_FLAGS) ; do \
39265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39266 done; \
39267 echo "Doing html in gotools"; \
39268 (cd $(HOST_SUBDIR)/gotools && \
39269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39271 "RANLIB=$${RANLIB}" \
39272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39273 html) \
39274 || exit 1
39276 @endif gotools
39278 .PHONY: maybe-TAGS-gotools TAGS-gotools
39279 maybe-TAGS-gotools:
39280 @if gotools
39281 maybe-TAGS-gotools: TAGS-gotools
39283 TAGS-gotools: \
39284 configure-gotools
39285 @: $(MAKE); $(unstage)
39286 @[ -f ./gotools/Makefile ] || exit 0; \
39287 r=`${PWD_COMMAND}`; export r; \
39288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39289 $(HOST_EXPORTS) \
39290 for flag in $(EXTRA_HOST_FLAGS) ; do \
39291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39292 done; \
39293 echo "Doing TAGS in gotools"; \
39294 (cd $(HOST_SUBDIR)/gotools && \
39295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39297 "RANLIB=$${RANLIB}" \
39298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39299 TAGS) \
39300 || exit 1
39302 @endif gotools
39304 .PHONY: maybe-install-info-gotools install-info-gotools
39305 maybe-install-info-gotools:
39306 @if gotools
39307 maybe-install-info-gotools: install-info-gotools
39309 install-info-gotools: \
39310 configure-gotools \
39311 info-gotools
39312 @: $(MAKE); $(unstage)
39313 @[ -f ./gotools/Makefile ] || exit 0; \
39314 r=`${PWD_COMMAND}`; export r; \
39315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39316 $(HOST_EXPORTS) \
39317 for flag in $(EXTRA_HOST_FLAGS) ; do \
39318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39319 done; \
39320 echo "Doing install-info in gotools"; \
39321 (cd $(HOST_SUBDIR)/gotools && \
39322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39324 "RANLIB=$${RANLIB}" \
39325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39326 install-info) \
39327 || exit 1
39329 @endif gotools
39331 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
39332 maybe-install-pdf-gotools:
39333 @if gotools
39334 maybe-install-pdf-gotools: install-pdf-gotools
39336 install-pdf-gotools: \
39337 configure-gotools \
39338 pdf-gotools
39339 @: $(MAKE); $(unstage)
39340 @[ -f ./gotools/Makefile ] || exit 0; \
39341 r=`${PWD_COMMAND}`; export r; \
39342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39343 $(HOST_EXPORTS) \
39344 for flag in $(EXTRA_HOST_FLAGS) ; do \
39345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39346 done; \
39347 echo "Doing install-pdf in gotools"; \
39348 (cd $(HOST_SUBDIR)/gotools && \
39349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39351 "RANLIB=$${RANLIB}" \
39352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39353 install-pdf) \
39354 || exit 1
39356 @endif gotools
39358 .PHONY: maybe-install-html-gotools install-html-gotools
39359 maybe-install-html-gotools:
39360 @if gotools
39361 maybe-install-html-gotools: install-html-gotools
39363 install-html-gotools: \
39364 configure-gotools \
39365 html-gotools
39366 @: $(MAKE); $(unstage)
39367 @[ -f ./gotools/Makefile ] || exit 0; \
39368 r=`${PWD_COMMAND}`; export r; \
39369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39370 $(HOST_EXPORTS) \
39371 for flag in $(EXTRA_HOST_FLAGS) ; do \
39372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39373 done; \
39374 echo "Doing install-html in gotools"; \
39375 (cd $(HOST_SUBDIR)/gotools && \
39376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39378 "RANLIB=$${RANLIB}" \
39379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39380 install-html) \
39381 || exit 1
39383 @endif gotools
39385 .PHONY: maybe-installcheck-gotools installcheck-gotools
39386 maybe-installcheck-gotools:
39387 @if gotools
39388 maybe-installcheck-gotools: installcheck-gotools
39390 installcheck-gotools: \
39391 configure-gotools
39392 @: $(MAKE); $(unstage)
39393 @[ -f ./gotools/Makefile ] || exit 0; \
39394 r=`${PWD_COMMAND}`; export r; \
39395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39396 $(HOST_EXPORTS) \
39397 for flag in $(EXTRA_HOST_FLAGS) ; do \
39398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39399 done; \
39400 echo "Doing installcheck in gotools"; \
39401 (cd $(HOST_SUBDIR)/gotools && \
39402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39404 "RANLIB=$${RANLIB}" \
39405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39406 installcheck) \
39407 || exit 1
39409 @endif gotools
39411 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
39412 maybe-mostlyclean-gotools:
39413 @if gotools
39414 maybe-mostlyclean-gotools: mostlyclean-gotools
39416 mostlyclean-gotools:
39417 @: $(MAKE); $(unstage)
39418 @[ -f ./gotools/Makefile ] || exit 0; \
39419 r=`${PWD_COMMAND}`; export r; \
39420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39421 $(HOST_EXPORTS) \
39422 for flag in $(EXTRA_HOST_FLAGS) ; do \
39423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39424 done; \
39425 echo "Doing mostlyclean in gotools"; \
39426 (cd $(HOST_SUBDIR)/gotools && \
39427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39429 "RANLIB=$${RANLIB}" \
39430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39431 mostlyclean) \
39432 || exit 1
39434 @endif gotools
39436 .PHONY: maybe-clean-gotools clean-gotools
39437 maybe-clean-gotools:
39438 @if gotools
39439 maybe-clean-gotools: clean-gotools
39441 clean-gotools:
39442 @: $(MAKE); $(unstage)
39443 @[ -f ./gotools/Makefile ] || exit 0; \
39444 r=`${PWD_COMMAND}`; export r; \
39445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39446 $(HOST_EXPORTS) \
39447 for flag in $(EXTRA_HOST_FLAGS) ; do \
39448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39449 done; \
39450 echo "Doing clean in gotools"; \
39451 (cd $(HOST_SUBDIR)/gotools && \
39452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39454 "RANLIB=$${RANLIB}" \
39455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39456 clean) \
39457 || exit 1
39459 @endif gotools
39461 .PHONY: maybe-distclean-gotools distclean-gotools
39462 maybe-distclean-gotools:
39463 @if gotools
39464 maybe-distclean-gotools: distclean-gotools
39466 distclean-gotools:
39467 @: $(MAKE); $(unstage)
39468 @[ -f ./gotools/Makefile ] || exit 0; \
39469 r=`${PWD_COMMAND}`; export r; \
39470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39471 $(HOST_EXPORTS) \
39472 for flag in $(EXTRA_HOST_FLAGS) ; do \
39473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39474 done; \
39475 echo "Doing distclean in gotools"; \
39476 (cd $(HOST_SUBDIR)/gotools && \
39477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39479 "RANLIB=$${RANLIB}" \
39480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39481 distclean) \
39482 || exit 1
39484 @endif gotools
39486 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
39487 maybe-maintainer-clean-gotools:
39488 @if gotools
39489 maybe-maintainer-clean-gotools: maintainer-clean-gotools
39491 maintainer-clean-gotools:
39492 @: $(MAKE); $(unstage)
39493 @[ -f ./gotools/Makefile ] || exit 0; \
39494 r=`${PWD_COMMAND}`; export r; \
39495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39496 $(HOST_EXPORTS) \
39497 for flag in $(EXTRA_HOST_FLAGS) ; do \
39498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39499 done; \
39500 echo "Doing maintainer-clean in gotools"; \
39501 (cd $(HOST_SUBDIR)/gotools && \
39502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39504 "RANLIB=$${RANLIB}" \
39505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39506 maintainer-clean) \
39507 || exit 1
39509 @endif gotools
39513 .PHONY: configure-libctf maybe-configure-libctf
39514 maybe-configure-libctf:
39515 @if gcc-bootstrap
39516 configure-libctf: stage_current
39517 @endif gcc-bootstrap
39518 @if libctf
39519 maybe-configure-libctf: configure-libctf
39520 configure-libctf:
39521 @r=`${PWD_COMMAND}`; export r; \
39522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39523 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39524 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39525 $(HOST_EXPORTS) \
39526 echo Configuring in $(HOST_SUBDIR)/libctf; \
39527 cd "$(HOST_SUBDIR)/libctf" || exit 1; \
39528 case $(srcdir) in \
39529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39530 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39532 esac; \
39533 module_srcdir=libctf; \
39534 $(SHELL) \
39535 $$s/$$module_srcdir/configure \
39536 --srcdir=$${topdir}/$$module_srcdir \
39537 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39538 --target=${target_alias} \
39539 || exit 1
39540 @endif libctf
39544 .PHONY: configure-stage1-libctf maybe-configure-stage1-libctf
39545 maybe-configure-stage1-libctf:
39546 @if libctf-bootstrap
39547 maybe-configure-stage1-libctf: configure-stage1-libctf
39548 configure-stage1-libctf:
39549 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39550 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39551 @r=`${PWD_COMMAND}`; export r; \
39552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39553 TFLAGS="$(STAGE1_TFLAGS)"; \
39554 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39555 $(HOST_EXPORTS) \
39556 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
39557 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
39558 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
39559 echo Configuring stage 1 in $(HOST_SUBDIR)/libctf; \
39560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39561 cd $(HOST_SUBDIR)/libctf || exit 1; \
39562 case $(srcdir) in \
39563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39564 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39566 esac; \
39567 module_srcdir=libctf; \
39568 $(SHELL) $$s/$$module_srcdir/configure \
39569 --srcdir=$${topdir}/$$module_srcdir \
39570 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39571 --target=${target_alias} \
39573 $(STAGE1_CONFIGURE_FLAGS)
39574 @endif libctf-bootstrap
39576 .PHONY: configure-stage2-libctf maybe-configure-stage2-libctf
39577 maybe-configure-stage2-libctf:
39578 @if libctf-bootstrap
39579 maybe-configure-stage2-libctf: configure-stage2-libctf
39580 configure-stage2-libctf:
39581 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39583 @r=`${PWD_COMMAND}`; export r; \
39584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39585 TFLAGS="$(STAGE2_TFLAGS)"; \
39586 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39587 $(HOST_EXPORTS) \
39588 $(POSTSTAGE1_HOST_EXPORTS) \
39589 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
39590 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
39591 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
39592 echo Configuring stage 2 in $(HOST_SUBDIR)/libctf; \
39593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39594 cd $(HOST_SUBDIR)/libctf || exit 1; \
39595 case $(srcdir) in \
39596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39597 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39599 esac; \
39600 module_srcdir=libctf; \
39601 $(SHELL) $$s/$$module_srcdir/configure \
39602 --srcdir=$${topdir}/$$module_srcdir \
39603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39604 --target=${target_alias} \
39605 --with-build-libsubdir=$(HOST_SUBDIR) \
39606 $(STAGE2_CONFIGURE_FLAGS)
39607 @endif libctf-bootstrap
39609 .PHONY: configure-stage3-libctf maybe-configure-stage3-libctf
39610 maybe-configure-stage3-libctf:
39611 @if libctf-bootstrap
39612 maybe-configure-stage3-libctf: configure-stage3-libctf
39613 configure-stage3-libctf:
39614 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39616 @r=`${PWD_COMMAND}`; export r; \
39617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39618 TFLAGS="$(STAGE3_TFLAGS)"; \
39619 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39620 $(HOST_EXPORTS) \
39621 $(POSTSTAGE1_HOST_EXPORTS) \
39622 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
39623 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
39624 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
39625 echo Configuring stage 3 in $(HOST_SUBDIR)/libctf; \
39626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39627 cd $(HOST_SUBDIR)/libctf || exit 1; \
39628 case $(srcdir) in \
39629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39630 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39632 esac; \
39633 module_srcdir=libctf; \
39634 $(SHELL) $$s/$$module_srcdir/configure \
39635 --srcdir=$${topdir}/$$module_srcdir \
39636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39637 --target=${target_alias} \
39638 --with-build-libsubdir=$(HOST_SUBDIR) \
39639 $(STAGE3_CONFIGURE_FLAGS)
39640 @endif libctf-bootstrap
39642 .PHONY: configure-stage4-libctf maybe-configure-stage4-libctf
39643 maybe-configure-stage4-libctf:
39644 @if libctf-bootstrap
39645 maybe-configure-stage4-libctf: configure-stage4-libctf
39646 configure-stage4-libctf:
39647 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39649 @r=`${PWD_COMMAND}`; export r; \
39650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39651 TFLAGS="$(STAGE4_TFLAGS)"; \
39652 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39653 $(HOST_EXPORTS) \
39654 $(POSTSTAGE1_HOST_EXPORTS) \
39655 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
39656 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
39657 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
39658 echo Configuring stage 4 in $(HOST_SUBDIR)/libctf; \
39659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39660 cd $(HOST_SUBDIR)/libctf || exit 1; \
39661 case $(srcdir) in \
39662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39663 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39665 esac; \
39666 module_srcdir=libctf; \
39667 $(SHELL) $$s/$$module_srcdir/configure \
39668 --srcdir=$${topdir}/$$module_srcdir \
39669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39670 --target=${target_alias} \
39671 --with-build-libsubdir=$(HOST_SUBDIR) \
39672 $(STAGE4_CONFIGURE_FLAGS)
39673 @endif libctf-bootstrap
39675 .PHONY: configure-stageprofile-libctf maybe-configure-stageprofile-libctf
39676 maybe-configure-stageprofile-libctf:
39677 @if libctf-bootstrap
39678 maybe-configure-stageprofile-libctf: configure-stageprofile-libctf
39679 configure-stageprofile-libctf:
39680 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39682 @r=`${PWD_COMMAND}`; export r; \
39683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39684 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39685 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39686 $(HOST_EXPORTS) \
39687 $(POSTSTAGE1_HOST_EXPORTS) \
39688 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
39689 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
39690 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
39691 echo Configuring stage profile in $(HOST_SUBDIR)/libctf; \
39692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39693 cd $(HOST_SUBDIR)/libctf || exit 1; \
39694 case $(srcdir) in \
39695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39696 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39698 esac; \
39699 module_srcdir=libctf; \
39700 $(SHELL) $$s/$$module_srcdir/configure \
39701 --srcdir=$${topdir}/$$module_srcdir \
39702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39703 --target=${target_alias} \
39704 --with-build-libsubdir=$(HOST_SUBDIR) \
39705 $(STAGEprofile_CONFIGURE_FLAGS)
39706 @endif libctf-bootstrap
39708 .PHONY: configure-stagetrain-libctf maybe-configure-stagetrain-libctf
39709 maybe-configure-stagetrain-libctf:
39710 @if libctf-bootstrap
39711 maybe-configure-stagetrain-libctf: configure-stagetrain-libctf
39712 configure-stagetrain-libctf:
39713 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39715 @r=`${PWD_COMMAND}`; export r; \
39716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39717 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39718 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39719 $(HOST_EXPORTS) \
39720 $(POSTSTAGE1_HOST_EXPORTS) \
39721 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
39722 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
39723 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
39724 echo Configuring stage train in $(HOST_SUBDIR)/libctf; \
39725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39726 cd $(HOST_SUBDIR)/libctf || exit 1; \
39727 case $(srcdir) in \
39728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39729 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39731 esac; \
39732 module_srcdir=libctf; \
39733 $(SHELL) $$s/$$module_srcdir/configure \
39734 --srcdir=$${topdir}/$$module_srcdir \
39735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39736 --target=${target_alias} \
39737 --with-build-libsubdir=$(HOST_SUBDIR) \
39738 $(STAGEtrain_CONFIGURE_FLAGS)
39739 @endif libctf-bootstrap
39741 .PHONY: configure-stagefeedback-libctf maybe-configure-stagefeedback-libctf
39742 maybe-configure-stagefeedback-libctf:
39743 @if libctf-bootstrap
39744 maybe-configure-stagefeedback-libctf: configure-stagefeedback-libctf
39745 configure-stagefeedback-libctf:
39746 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39748 @r=`${PWD_COMMAND}`; export r; \
39749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39750 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39751 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39752 $(HOST_EXPORTS) \
39753 $(POSTSTAGE1_HOST_EXPORTS) \
39754 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
39755 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
39756 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
39757 echo Configuring stage feedback in $(HOST_SUBDIR)/libctf; \
39758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39759 cd $(HOST_SUBDIR)/libctf || exit 1; \
39760 case $(srcdir) in \
39761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39762 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39764 esac; \
39765 module_srcdir=libctf; \
39766 $(SHELL) $$s/$$module_srcdir/configure \
39767 --srcdir=$${topdir}/$$module_srcdir \
39768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39769 --target=${target_alias} \
39770 --with-build-libsubdir=$(HOST_SUBDIR) \
39771 $(STAGEfeedback_CONFIGURE_FLAGS)
39772 @endif libctf-bootstrap
39774 .PHONY: configure-stageautoprofile-libctf maybe-configure-stageautoprofile-libctf
39775 maybe-configure-stageautoprofile-libctf:
39776 @if libctf-bootstrap
39777 maybe-configure-stageautoprofile-libctf: configure-stageautoprofile-libctf
39778 configure-stageautoprofile-libctf:
39779 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39781 @r=`${PWD_COMMAND}`; export r; \
39782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39783 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39784 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39785 $(HOST_EXPORTS) \
39786 $(POSTSTAGE1_HOST_EXPORTS) \
39787 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
39788 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
39789 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
39790 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libctf; \
39791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39792 cd $(HOST_SUBDIR)/libctf || exit 1; \
39793 case $(srcdir) in \
39794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39795 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39797 esac; \
39798 module_srcdir=libctf; \
39799 $(SHELL) $$s/$$module_srcdir/configure \
39800 --srcdir=$${topdir}/$$module_srcdir \
39801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39802 --target=${target_alias} \
39803 --with-build-libsubdir=$(HOST_SUBDIR) \
39804 $(STAGEautoprofile_CONFIGURE_FLAGS)
39805 @endif libctf-bootstrap
39807 .PHONY: configure-stageautofeedback-libctf maybe-configure-stageautofeedback-libctf
39808 maybe-configure-stageautofeedback-libctf:
39809 @if libctf-bootstrap
39810 maybe-configure-stageautofeedback-libctf: configure-stageautofeedback-libctf
39811 configure-stageautofeedback-libctf:
39812 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
39814 @r=`${PWD_COMMAND}`; export r; \
39815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39816 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39817 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
39818 $(HOST_EXPORTS) \
39819 $(POSTSTAGE1_HOST_EXPORTS) \
39820 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
39821 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
39822 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
39823 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libctf; \
39824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
39825 cd $(HOST_SUBDIR)/libctf || exit 1; \
39826 case $(srcdir) in \
39827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39828 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
39829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39830 esac; \
39831 module_srcdir=libctf; \
39832 $(SHELL) $$s/$$module_srcdir/configure \
39833 --srcdir=$${topdir}/$$module_srcdir \
39834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39835 --target=${target_alias} \
39836 --with-build-libsubdir=$(HOST_SUBDIR) \
39837 $(STAGEautofeedback_CONFIGURE_FLAGS)
39838 @endif libctf-bootstrap
39844 .PHONY: all-libctf maybe-all-libctf
39845 maybe-all-libctf:
39846 @if gcc-bootstrap
39847 all-libctf: stage_current
39848 @endif gcc-bootstrap
39849 @if libctf
39850 TARGET-libctf=all
39851 maybe-all-libctf: all-libctf
39852 all-libctf: configure-libctf
39853 @r=`${PWD_COMMAND}`; export r; \
39854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39855 $(HOST_EXPORTS) \
39856 (cd $(HOST_SUBDIR)/libctf && \
39857 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39858 $(TARGET-libctf))
39859 @endif libctf
39863 .PHONY: all-stage1-libctf maybe-all-stage1-libctf
39864 .PHONY: clean-stage1-libctf maybe-clean-stage1-libctf
39865 maybe-all-stage1-libctf:
39866 maybe-clean-stage1-libctf:
39867 @if libctf-bootstrap
39868 maybe-all-stage1-libctf: all-stage1-libctf
39869 all-stage1: all-stage1-libctf
39870 TARGET-stage1-libctf = $(TARGET-libctf)
39871 all-stage1-libctf: configure-stage1-libctf
39872 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39873 @r=`${PWD_COMMAND}`; export r; \
39874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39875 TFLAGS="$(STAGE1_TFLAGS)"; \
39876 $(HOST_EXPORTS) \
39877 cd $(HOST_SUBDIR)/libctf && \
39879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39880 CFLAGS="$(STAGE1_CFLAGS)" \
39881 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
39882 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
39883 LIBCFLAGS="$(LIBCFLAGS)" \
39884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39887 $(EXTRA_HOST_FLAGS) \
39888 $(STAGE1_FLAGS_TO_PASS) \
39889 TFLAGS="$(STAGE1_TFLAGS)" \
39890 $(TARGET-stage1-libctf)
39892 maybe-clean-stage1-libctf: clean-stage1-libctf
39893 clean-stage1: clean-stage1-libctf
39894 clean-stage1-libctf:
39895 @if [ $(current_stage) = stage1 ]; then \
39896 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39897 else \
39898 [ -f $(HOST_SUBDIR)/stage1-libctf/Makefile ] || exit 0; \
39899 $(MAKE) stage1-start; \
39900 fi; \
39901 cd $(HOST_SUBDIR)/libctf && \
39902 $(MAKE) $(EXTRA_HOST_FLAGS) \
39903 $(STAGE1_FLAGS_TO_PASS) clean
39904 @endif libctf-bootstrap
39907 .PHONY: all-stage2-libctf maybe-all-stage2-libctf
39908 .PHONY: clean-stage2-libctf maybe-clean-stage2-libctf
39909 maybe-all-stage2-libctf:
39910 maybe-clean-stage2-libctf:
39911 @if libctf-bootstrap
39912 maybe-all-stage2-libctf: all-stage2-libctf
39913 all-stage2: all-stage2-libctf
39914 TARGET-stage2-libctf = $(TARGET-libctf)
39915 all-stage2-libctf: configure-stage2-libctf
39916 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39917 @r=`${PWD_COMMAND}`; export r; \
39918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39919 TFLAGS="$(STAGE2_TFLAGS)"; \
39920 $(HOST_EXPORTS) \
39921 $(POSTSTAGE1_HOST_EXPORTS) \
39922 cd $(HOST_SUBDIR)/libctf && \
39924 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39925 CFLAGS="$(STAGE2_CFLAGS)" \
39926 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
39927 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
39928 LIBCFLAGS="$(STAGE2_CFLAGS)" \
39929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39932 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39933 TFLAGS="$(STAGE2_TFLAGS)" \
39934 $(TARGET-stage2-libctf)
39936 maybe-clean-stage2-libctf: clean-stage2-libctf
39937 clean-stage2: clean-stage2-libctf
39938 clean-stage2-libctf:
39939 @if [ $(current_stage) = stage2 ]; then \
39940 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39941 else \
39942 [ -f $(HOST_SUBDIR)/stage2-libctf/Makefile ] || exit 0; \
39943 $(MAKE) stage2-start; \
39944 fi; \
39945 cd $(HOST_SUBDIR)/libctf && \
39946 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39947 @endif libctf-bootstrap
39950 .PHONY: all-stage3-libctf maybe-all-stage3-libctf
39951 .PHONY: clean-stage3-libctf maybe-clean-stage3-libctf
39952 maybe-all-stage3-libctf:
39953 maybe-clean-stage3-libctf:
39954 @if libctf-bootstrap
39955 maybe-all-stage3-libctf: all-stage3-libctf
39956 all-stage3: all-stage3-libctf
39957 TARGET-stage3-libctf = $(TARGET-libctf)
39958 all-stage3-libctf: configure-stage3-libctf
39959 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39960 @r=`${PWD_COMMAND}`; export r; \
39961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39962 TFLAGS="$(STAGE3_TFLAGS)"; \
39963 $(HOST_EXPORTS) \
39964 $(POSTSTAGE1_HOST_EXPORTS) \
39965 cd $(HOST_SUBDIR)/libctf && \
39967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39968 CFLAGS="$(STAGE3_CFLAGS)" \
39969 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
39970 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
39971 LIBCFLAGS="$(STAGE3_CFLAGS)" \
39972 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39973 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39974 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39975 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39976 TFLAGS="$(STAGE3_TFLAGS)" \
39977 $(TARGET-stage3-libctf)
39979 maybe-clean-stage3-libctf: clean-stage3-libctf
39980 clean-stage3: clean-stage3-libctf
39981 clean-stage3-libctf:
39982 @if [ $(current_stage) = stage3 ]; then \
39983 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39984 else \
39985 [ -f $(HOST_SUBDIR)/stage3-libctf/Makefile ] || exit 0; \
39986 $(MAKE) stage3-start; \
39987 fi; \
39988 cd $(HOST_SUBDIR)/libctf && \
39989 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39990 @endif libctf-bootstrap
39993 .PHONY: all-stage4-libctf maybe-all-stage4-libctf
39994 .PHONY: clean-stage4-libctf maybe-clean-stage4-libctf
39995 maybe-all-stage4-libctf:
39996 maybe-clean-stage4-libctf:
39997 @if libctf-bootstrap
39998 maybe-all-stage4-libctf: all-stage4-libctf
39999 all-stage4: all-stage4-libctf
40000 TARGET-stage4-libctf = $(TARGET-libctf)
40001 all-stage4-libctf: configure-stage4-libctf
40002 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40003 @r=`${PWD_COMMAND}`; export r; \
40004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40005 TFLAGS="$(STAGE4_TFLAGS)"; \
40006 $(HOST_EXPORTS) \
40007 $(POSTSTAGE1_HOST_EXPORTS) \
40008 cd $(HOST_SUBDIR)/libctf && \
40010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40011 CFLAGS="$(STAGE4_CFLAGS)" \
40012 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
40013 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
40014 LIBCFLAGS="$(STAGE4_CFLAGS)" \
40015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40018 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40019 TFLAGS="$(STAGE4_TFLAGS)" \
40020 $(TARGET-stage4-libctf)
40022 maybe-clean-stage4-libctf: clean-stage4-libctf
40023 clean-stage4: clean-stage4-libctf
40024 clean-stage4-libctf:
40025 @if [ $(current_stage) = stage4 ]; then \
40026 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
40027 else \
40028 [ -f $(HOST_SUBDIR)/stage4-libctf/Makefile ] || exit 0; \
40029 $(MAKE) stage4-start; \
40030 fi; \
40031 cd $(HOST_SUBDIR)/libctf && \
40032 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
40033 @endif libctf-bootstrap
40036 .PHONY: all-stageprofile-libctf maybe-all-stageprofile-libctf
40037 .PHONY: clean-stageprofile-libctf maybe-clean-stageprofile-libctf
40038 maybe-all-stageprofile-libctf:
40039 maybe-clean-stageprofile-libctf:
40040 @if libctf-bootstrap
40041 maybe-all-stageprofile-libctf: all-stageprofile-libctf
40042 all-stageprofile: all-stageprofile-libctf
40043 TARGET-stageprofile-libctf = $(TARGET-libctf)
40044 all-stageprofile-libctf: configure-stageprofile-libctf
40045 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40046 @r=`${PWD_COMMAND}`; export r; \
40047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40048 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40049 $(HOST_EXPORTS) \
40050 $(POSTSTAGE1_HOST_EXPORTS) \
40051 cd $(HOST_SUBDIR)/libctf && \
40053 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40054 CFLAGS="$(STAGEprofile_CFLAGS)" \
40055 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
40056 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
40057 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
40058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40062 TFLAGS="$(STAGEprofile_TFLAGS)" \
40063 $(TARGET-stageprofile-libctf)
40065 maybe-clean-stageprofile-libctf: clean-stageprofile-libctf
40066 clean-stageprofile: clean-stageprofile-libctf
40067 clean-stageprofile-libctf:
40068 @if [ $(current_stage) = stageprofile ]; then \
40069 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
40070 else \
40071 [ -f $(HOST_SUBDIR)/stageprofile-libctf/Makefile ] || exit 0; \
40072 $(MAKE) stageprofile-start; \
40073 fi; \
40074 cd $(HOST_SUBDIR)/libctf && \
40075 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
40076 @endif libctf-bootstrap
40079 .PHONY: all-stagetrain-libctf maybe-all-stagetrain-libctf
40080 .PHONY: clean-stagetrain-libctf maybe-clean-stagetrain-libctf
40081 maybe-all-stagetrain-libctf:
40082 maybe-clean-stagetrain-libctf:
40083 @if libctf-bootstrap
40084 maybe-all-stagetrain-libctf: all-stagetrain-libctf
40085 all-stagetrain: all-stagetrain-libctf
40086 TARGET-stagetrain-libctf = $(TARGET-libctf)
40087 all-stagetrain-libctf: configure-stagetrain-libctf
40088 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40089 @r=`${PWD_COMMAND}`; export r; \
40090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40091 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40092 $(HOST_EXPORTS) \
40093 $(POSTSTAGE1_HOST_EXPORTS) \
40094 cd $(HOST_SUBDIR)/libctf && \
40096 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40097 CFLAGS="$(STAGEtrain_CFLAGS)" \
40098 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
40099 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
40100 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
40101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40104 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40105 TFLAGS="$(STAGEtrain_TFLAGS)" \
40106 $(TARGET-stagetrain-libctf)
40108 maybe-clean-stagetrain-libctf: clean-stagetrain-libctf
40109 clean-stagetrain: clean-stagetrain-libctf
40110 clean-stagetrain-libctf:
40111 @if [ $(current_stage) = stagetrain ]; then \
40112 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
40113 else \
40114 [ -f $(HOST_SUBDIR)/stagetrain-libctf/Makefile ] || exit 0; \
40115 $(MAKE) stagetrain-start; \
40116 fi; \
40117 cd $(HOST_SUBDIR)/libctf && \
40118 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
40119 @endif libctf-bootstrap
40122 .PHONY: all-stagefeedback-libctf maybe-all-stagefeedback-libctf
40123 .PHONY: clean-stagefeedback-libctf maybe-clean-stagefeedback-libctf
40124 maybe-all-stagefeedback-libctf:
40125 maybe-clean-stagefeedback-libctf:
40126 @if libctf-bootstrap
40127 maybe-all-stagefeedback-libctf: all-stagefeedback-libctf
40128 all-stagefeedback: all-stagefeedback-libctf
40129 TARGET-stagefeedback-libctf = $(TARGET-libctf)
40130 all-stagefeedback-libctf: configure-stagefeedback-libctf
40131 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40132 @r=`${PWD_COMMAND}`; export r; \
40133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40134 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40135 $(HOST_EXPORTS) \
40136 $(POSTSTAGE1_HOST_EXPORTS) \
40137 cd $(HOST_SUBDIR)/libctf && \
40139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40140 CFLAGS="$(STAGEfeedback_CFLAGS)" \
40141 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
40142 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
40143 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
40144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40147 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40148 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40149 $(TARGET-stagefeedback-libctf)
40151 maybe-clean-stagefeedback-libctf: clean-stagefeedback-libctf
40152 clean-stagefeedback: clean-stagefeedback-libctf
40153 clean-stagefeedback-libctf:
40154 @if [ $(current_stage) = stagefeedback ]; then \
40155 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
40156 else \
40157 [ -f $(HOST_SUBDIR)/stagefeedback-libctf/Makefile ] || exit 0; \
40158 $(MAKE) stagefeedback-start; \
40159 fi; \
40160 cd $(HOST_SUBDIR)/libctf && \
40161 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
40162 @endif libctf-bootstrap
40165 .PHONY: all-stageautoprofile-libctf maybe-all-stageautoprofile-libctf
40166 .PHONY: clean-stageautoprofile-libctf maybe-clean-stageautoprofile-libctf
40167 maybe-all-stageautoprofile-libctf:
40168 maybe-clean-stageautoprofile-libctf:
40169 @if libctf-bootstrap
40170 maybe-all-stageautoprofile-libctf: all-stageautoprofile-libctf
40171 all-stageautoprofile: all-stageautoprofile-libctf
40172 TARGET-stageautoprofile-libctf = $(TARGET-libctf)
40173 all-stageautoprofile-libctf: configure-stageautoprofile-libctf
40174 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40175 @r=`${PWD_COMMAND}`; export r; \
40176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40177 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40178 $(HOST_EXPORTS) \
40179 $(POSTSTAGE1_HOST_EXPORTS) \
40180 cd $(HOST_SUBDIR)/libctf && \
40181 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40183 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
40184 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
40185 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
40186 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
40187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40190 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40191 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40192 $(TARGET-stageautoprofile-libctf)
40194 maybe-clean-stageautoprofile-libctf: clean-stageautoprofile-libctf
40195 clean-stageautoprofile: clean-stageautoprofile-libctf
40196 clean-stageautoprofile-libctf:
40197 @if [ $(current_stage) = stageautoprofile ]; then \
40198 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
40199 else \
40200 [ -f $(HOST_SUBDIR)/stageautoprofile-libctf/Makefile ] || exit 0; \
40201 $(MAKE) stageautoprofile-start; \
40202 fi; \
40203 cd $(HOST_SUBDIR)/libctf && \
40204 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
40205 @endif libctf-bootstrap
40208 .PHONY: all-stageautofeedback-libctf maybe-all-stageautofeedback-libctf
40209 .PHONY: clean-stageautofeedback-libctf maybe-clean-stageautofeedback-libctf
40210 maybe-all-stageautofeedback-libctf:
40211 maybe-clean-stageautofeedback-libctf:
40212 @if libctf-bootstrap
40213 maybe-all-stageautofeedback-libctf: all-stageautofeedback-libctf
40214 all-stageautofeedback: all-stageautofeedback-libctf
40215 TARGET-stageautofeedback-libctf = $(TARGET-libctf)
40216 all-stageautofeedback-libctf: configure-stageautofeedback-libctf
40217 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40218 @r=`${PWD_COMMAND}`; export r; \
40219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40220 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40221 $(HOST_EXPORTS) \
40222 $(POSTSTAGE1_HOST_EXPORTS) \
40223 cd $(HOST_SUBDIR)/libctf && \
40225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40226 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
40227 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
40228 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
40229 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
40230 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40231 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40232 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40233 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40234 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40235 $(TARGET-stageautofeedback-libctf)
40237 maybe-clean-stageautofeedback-libctf: clean-stageautofeedback-libctf
40238 clean-stageautofeedback: clean-stageautofeedback-libctf
40239 clean-stageautofeedback-libctf:
40240 @if [ $(current_stage) = stageautofeedback ]; then \
40241 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
40242 else \
40243 [ -f $(HOST_SUBDIR)/stageautofeedback-libctf/Makefile ] || exit 0; \
40244 $(MAKE) stageautofeedback-start; \
40245 fi; \
40246 cd $(HOST_SUBDIR)/libctf && \
40247 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
40248 @endif libctf-bootstrap
40254 .PHONY: check-libctf maybe-check-libctf
40255 maybe-check-libctf:
40256 @if libctf
40257 maybe-check-libctf: check-libctf
40259 check-libctf:
40261 @endif libctf
40263 .PHONY: install-libctf maybe-install-libctf
40264 maybe-install-libctf:
40265 @if libctf
40266 maybe-install-libctf: install-libctf
40268 install-libctf:
40270 @endif libctf
40272 .PHONY: install-strip-libctf maybe-install-strip-libctf
40273 maybe-install-strip-libctf:
40274 @if libctf
40275 maybe-install-strip-libctf: install-strip-libctf
40277 install-strip-libctf:
40279 @endif libctf
40281 # Other targets (info, dvi, pdf, etc.)
40283 .PHONY: maybe-info-libctf info-libctf
40284 maybe-info-libctf:
40285 @if libctf
40286 maybe-info-libctf: info-libctf
40288 info-libctf: \
40289 configure-libctf
40290 @[ -f ./libctf/Makefile ] || exit 0; \
40291 r=`${PWD_COMMAND}`; export r; \
40292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40293 $(HOST_EXPORTS) \
40294 for flag in $(EXTRA_HOST_FLAGS) ; do \
40295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40296 done; \
40297 echo "Doing info in libctf"; \
40298 (cd $(HOST_SUBDIR)/libctf && \
40299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40301 "RANLIB=$${RANLIB}" \
40302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40303 info) \
40304 || exit 1
40306 @endif libctf
40308 .PHONY: maybe-dvi-libctf dvi-libctf
40309 maybe-dvi-libctf:
40310 @if libctf
40311 maybe-dvi-libctf: dvi-libctf
40313 dvi-libctf: \
40314 configure-libctf
40315 @[ -f ./libctf/Makefile ] || exit 0; \
40316 r=`${PWD_COMMAND}`; export r; \
40317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40318 $(HOST_EXPORTS) \
40319 for flag in $(EXTRA_HOST_FLAGS) ; do \
40320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40321 done; \
40322 echo "Doing dvi in libctf"; \
40323 (cd $(HOST_SUBDIR)/libctf && \
40324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40326 "RANLIB=$${RANLIB}" \
40327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40328 dvi) \
40329 || exit 1
40331 @endif libctf
40333 .PHONY: maybe-pdf-libctf pdf-libctf
40334 maybe-pdf-libctf:
40335 @if libctf
40336 maybe-pdf-libctf: pdf-libctf
40338 pdf-libctf: \
40339 configure-libctf
40340 @[ -f ./libctf/Makefile ] || exit 0; \
40341 r=`${PWD_COMMAND}`; export r; \
40342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40343 $(HOST_EXPORTS) \
40344 for flag in $(EXTRA_HOST_FLAGS) ; do \
40345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40346 done; \
40347 echo "Doing pdf in libctf"; \
40348 (cd $(HOST_SUBDIR)/libctf && \
40349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40351 "RANLIB=$${RANLIB}" \
40352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40353 pdf) \
40354 || exit 1
40356 @endif libctf
40358 .PHONY: maybe-html-libctf html-libctf
40359 maybe-html-libctf:
40360 @if libctf
40361 maybe-html-libctf: html-libctf
40363 html-libctf: \
40364 configure-libctf
40365 @[ -f ./libctf/Makefile ] || exit 0; \
40366 r=`${PWD_COMMAND}`; export r; \
40367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40368 $(HOST_EXPORTS) \
40369 for flag in $(EXTRA_HOST_FLAGS) ; do \
40370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40371 done; \
40372 echo "Doing html in libctf"; \
40373 (cd $(HOST_SUBDIR)/libctf && \
40374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40376 "RANLIB=$${RANLIB}" \
40377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40378 html) \
40379 || exit 1
40381 @endif libctf
40383 .PHONY: maybe-TAGS-libctf TAGS-libctf
40384 maybe-TAGS-libctf:
40385 @if libctf
40386 maybe-TAGS-libctf: TAGS-libctf
40388 TAGS-libctf: \
40389 configure-libctf
40390 @[ -f ./libctf/Makefile ] || exit 0; \
40391 r=`${PWD_COMMAND}`; export r; \
40392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40393 $(HOST_EXPORTS) \
40394 for flag in $(EXTRA_HOST_FLAGS) ; do \
40395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40396 done; \
40397 echo "Doing TAGS in libctf"; \
40398 (cd $(HOST_SUBDIR)/libctf && \
40399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40401 "RANLIB=$${RANLIB}" \
40402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40403 TAGS) \
40404 || exit 1
40406 @endif libctf
40408 .PHONY: maybe-install-info-libctf install-info-libctf
40409 maybe-install-info-libctf:
40410 @if libctf
40411 maybe-install-info-libctf: install-info-libctf
40413 install-info-libctf: \
40414 configure-libctf \
40415 info-libctf
40416 @[ -f ./libctf/Makefile ] || exit 0; \
40417 r=`${PWD_COMMAND}`; export r; \
40418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40419 $(HOST_EXPORTS) \
40420 for flag in $(EXTRA_HOST_FLAGS) ; do \
40421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40422 done; \
40423 echo "Doing install-info in libctf"; \
40424 (cd $(HOST_SUBDIR)/libctf && \
40425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40427 "RANLIB=$${RANLIB}" \
40428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40429 install-info) \
40430 || exit 1
40432 @endif libctf
40434 .PHONY: maybe-install-pdf-libctf install-pdf-libctf
40435 maybe-install-pdf-libctf:
40436 @if libctf
40437 maybe-install-pdf-libctf: install-pdf-libctf
40439 install-pdf-libctf: \
40440 configure-libctf \
40441 pdf-libctf
40442 @[ -f ./libctf/Makefile ] || exit 0; \
40443 r=`${PWD_COMMAND}`; export r; \
40444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40445 $(HOST_EXPORTS) \
40446 for flag in $(EXTRA_HOST_FLAGS) ; do \
40447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40448 done; \
40449 echo "Doing install-pdf in libctf"; \
40450 (cd $(HOST_SUBDIR)/libctf && \
40451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40453 "RANLIB=$${RANLIB}" \
40454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40455 install-pdf) \
40456 || exit 1
40458 @endif libctf
40460 .PHONY: maybe-install-html-libctf install-html-libctf
40461 maybe-install-html-libctf:
40462 @if libctf
40463 maybe-install-html-libctf: install-html-libctf
40465 install-html-libctf: \
40466 configure-libctf \
40467 html-libctf
40468 @[ -f ./libctf/Makefile ] || exit 0; \
40469 r=`${PWD_COMMAND}`; export r; \
40470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40471 $(HOST_EXPORTS) \
40472 for flag in $(EXTRA_HOST_FLAGS) ; do \
40473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40474 done; \
40475 echo "Doing install-html in libctf"; \
40476 (cd $(HOST_SUBDIR)/libctf && \
40477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40479 "RANLIB=$${RANLIB}" \
40480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40481 install-html) \
40482 || exit 1
40484 @endif libctf
40486 .PHONY: maybe-installcheck-libctf installcheck-libctf
40487 maybe-installcheck-libctf:
40488 @if libctf
40489 maybe-installcheck-libctf: installcheck-libctf
40491 installcheck-libctf: \
40492 configure-libctf
40493 @[ -f ./libctf/Makefile ] || exit 0; \
40494 r=`${PWD_COMMAND}`; export r; \
40495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40496 $(HOST_EXPORTS) \
40497 for flag in $(EXTRA_HOST_FLAGS) ; do \
40498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40499 done; \
40500 echo "Doing installcheck in libctf"; \
40501 (cd $(HOST_SUBDIR)/libctf && \
40502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40504 "RANLIB=$${RANLIB}" \
40505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40506 installcheck) \
40507 || exit 1
40509 @endif libctf
40511 .PHONY: maybe-mostlyclean-libctf mostlyclean-libctf
40512 maybe-mostlyclean-libctf:
40513 @if libctf
40514 maybe-mostlyclean-libctf: mostlyclean-libctf
40516 mostlyclean-libctf:
40517 @[ -f ./libctf/Makefile ] || exit 0; \
40518 r=`${PWD_COMMAND}`; export r; \
40519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40520 $(HOST_EXPORTS) \
40521 for flag in $(EXTRA_HOST_FLAGS) ; do \
40522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40523 done; \
40524 echo "Doing mostlyclean in libctf"; \
40525 (cd $(HOST_SUBDIR)/libctf && \
40526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40528 "RANLIB=$${RANLIB}" \
40529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40530 mostlyclean) \
40531 || exit 1
40533 @endif libctf
40535 .PHONY: maybe-clean-libctf clean-libctf
40536 maybe-clean-libctf:
40537 @if libctf
40538 maybe-clean-libctf: clean-libctf
40540 clean-libctf:
40541 @[ -f ./libctf/Makefile ] || exit 0; \
40542 r=`${PWD_COMMAND}`; export r; \
40543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40544 $(HOST_EXPORTS) \
40545 for flag in $(EXTRA_HOST_FLAGS) ; do \
40546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40547 done; \
40548 echo "Doing clean in libctf"; \
40549 (cd $(HOST_SUBDIR)/libctf && \
40550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40552 "RANLIB=$${RANLIB}" \
40553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40554 clean) \
40555 || exit 1
40557 @endif libctf
40559 .PHONY: maybe-distclean-libctf distclean-libctf
40560 maybe-distclean-libctf:
40561 @if libctf
40562 maybe-distclean-libctf: distclean-libctf
40564 distclean-libctf:
40565 @[ -f ./libctf/Makefile ] || exit 0; \
40566 r=`${PWD_COMMAND}`; export r; \
40567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40568 $(HOST_EXPORTS) \
40569 for flag in $(EXTRA_HOST_FLAGS) ; do \
40570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40571 done; \
40572 echo "Doing distclean in libctf"; \
40573 (cd $(HOST_SUBDIR)/libctf && \
40574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40576 "RANLIB=$${RANLIB}" \
40577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40578 distclean) \
40579 || exit 1
40581 @endif libctf
40583 .PHONY: maybe-maintainer-clean-libctf maintainer-clean-libctf
40584 maybe-maintainer-clean-libctf:
40585 @if libctf
40586 maybe-maintainer-clean-libctf: maintainer-clean-libctf
40588 maintainer-clean-libctf:
40589 @[ -f ./libctf/Makefile ] || exit 0; \
40590 r=`${PWD_COMMAND}`; export r; \
40591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40592 $(HOST_EXPORTS) \
40593 for flag in $(EXTRA_HOST_FLAGS) ; do \
40594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40595 done; \
40596 echo "Doing maintainer-clean in libctf"; \
40597 (cd $(HOST_SUBDIR)/libctf && \
40598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40600 "RANLIB=$${RANLIB}" \
40601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40602 maintainer-clean) \
40603 || exit 1
40605 @endif libctf
40609 # ---------------------------------------
40610 # Modules which run on the target machine
40611 # ---------------------------------------
40616 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
40617 maybe-configure-target-libstdc++-v3:
40618 @if gcc-bootstrap
40619 configure-target-libstdc++-v3: stage_current
40620 @endif gcc-bootstrap
40621 @if target-libstdc++-v3
40622 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
40623 configure-target-libstdc++-v3:
40624 @r=`${PWD_COMMAND}`; export r; \
40625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40626 echo "Checking multilib configuration for libstdc++-v3..."; \
40627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40628 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40629 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40630 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40631 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40632 else \
40633 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40634 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40635 fi; \
40636 else \
40637 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40638 fi; \
40639 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40641 $(RAW_CXX_TARGET_EXPORTS) \
40642 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
40643 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
40644 case $(srcdir) in \
40645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40646 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40648 esac; \
40649 module_srcdir=libstdc++-v3; \
40650 rm -f no-such-file || : ; \
40651 CONFIG_SITE=no-such-file $(SHELL) \
40652 $$s/$$module_srcdir/configure \
40653 --srcdir=$${topdir}/$$module_srcdir \
40654 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40655 --target=${target_alias} \
40656 || exit 1
40657 @endif target-libstdc++-v3
40661 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
40662 maybe-configure-stage1-target-libstdc++-v3:
40663 @if target-libstdc++-v3-bootstrap
40664 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
40665 configure-stage1-target-libstdc++-v3:
40666 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40667 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40668 @r=`${PWD_COMMAND}`; export r; \
40669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40670 TFLAGS="$(STAGE1_TFLAGS)"; \
40671 echo "Checking multilib configuration for libstdc++-v3..."; \
40672 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40673 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40674 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40675 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40676 else \
40677 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40678 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40679 fi; \
40680 else \
40681 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40682 fi; \
40683 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40684 $(RAW_CXX_TARGET_EXPORTS) \
40685 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40686 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40687 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40688 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
40689 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40690 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40691 case $(srcdir) in \
40692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40693 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40695 esac; \
40696 module_srcdir=libstdc++-v3; \
40697 $(SHELL) $$s/$$module_srcdir/configure \
40698 --srcdir=$${topdir}/$$module_srcdir \
40699 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40700 --target=${target_alias} \
40702 $(STAGE1_CONFIGURE_FLAGS)
40703 @endif target-libstdc++-v3-bootstrap
40705 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
40706 maybe-configure-stage2-target-libstdc++-v3:
40707 @if target-libstdc++-v3-bootstrap
40708 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
40709 configure-stage2-target-libstdc++-v3:
40710 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40711 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40712 @r=`${PWD_COMMAND}`; export r; \
40713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40714 TFLAGS="$(STAGE2_TFLAGS)"; \
40715 echo "Checking multilib configuration for libstdc++-v3..."; \
40716 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40717 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40718 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40719 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40720 else \
40721 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40722 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40723 fi; \
40724 else \
40725 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40726 fi; \
40727 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40728 $(RAW_CXX_TARGET_EXPORTS) \
40730 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40731 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40732 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40733 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
40734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40735 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40736 case $(srcdir) in \
40737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40738 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40740 esac; \
40741 module_srcdir=libstdc++-v3; \
40742 $(SHELL) $$s/$$module_srcdir/configure \
40743 --srcdir=$${topdir}/$$module_srcdir \
40744 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40745 --target=${target_alias} \
40746 --with-build-libsubdir=$(HOST_SUBDIR) \
40747 $(STAGE2_CONFIGURE_FLAGS)
40748 @endif target-libstdc++-v3-bootstrap
40750 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
40751 maybe-configure-stage3-target-libstdc++-v3:
40752 @if target-libstdc++-v3-bootstrap
40753 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
40754 configure-stage3-target-libstdc++-v3:
40755 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40756 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40757 @r=`${PWD_COMMAND}`; export r; \
40758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40759 TFLAGS="$(STAGE3_TFLAGS)"; \
40760 echo "Checking multilib configuration for libstdc++-v3..."; \
40761 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40762 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40763 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40764 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40765 else \
40766 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40767 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40768 fi; \
40769 else \
40770 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40771 fi; \
40772 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40773 $(RAW_CXX_TARGET_EXPORTS) \
40775 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40776 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40777 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40778 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
40779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40780 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40781 case $(srcdir) in \
40782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40783 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40785 esac; \
40786 module_srcdir=libstdc++-v3; \
40787 $(SHELL) $$s/$$module_srcdir/configure \
40788 --srcdir=$${topdir}/$$module_srcdir \
40789 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40790 --target=${target_alias} \
40791 --with-build-libsubdir=$(HOST_SUBDIR) \
40792 $(STAGE3_CONFIGURE_FLAGS)
40793 @endif target-libstdc++-v3-bootstrap
40795 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
40796 maybe-configure-stage4-target-libstdc++-v3:
40797 @if target-libstdc++-v3-bootstrap
40798 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
40799 configure-stage4-target-libstdc++-v3:
40800 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40801 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40802 @r=`${PWD_COMMAND}`; export r; \
40803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40804 TFLAGS="$(STAGE4_TFLAGS)"; \
40805 echo "Checking multilib configuration for libstdc++-v3..."; \
40806 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40807 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40808 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40809 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40810 else \
40811 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40812 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40813 fi; \
40814 else \
40815 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40816 fi; \
40817 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40818 $(RAW_CXX_TARGET_EXPORTS) \
40820 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40823 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
40824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40825 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40826 case $(srcdir) in \
40827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40828 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40830 esac; \
40831 module_srcdir=libstdc++-v3; \
40832 $(SHELL) $$s/$$module_srcdir/configure \
40833 --srcdir=$${topdir}/$$module_srcdir \
40834 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40835 --target=${target_alias} \
40836 --with-build-libsubdir=$(HOST_SUBDIR) \
40837 $(STAGE4_CONFIGURE_FLAGS)
40838 @endif target-libstdc++-v3-bootstrap
40840 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
40841 maybe-configure-stageprofile-target-libstdc++-v3:
40842 @if target-libstdc++-v3-bootstrap
40843 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
40844 configure-stageprofile-target-libstdc++-v3:
40845 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40846 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40847 @r=`${PWD_COMMAND}`; export r; \
40848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40849 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40850 echo "Checking multilib configuration for libstdc++-v3..."; \
40851 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40852 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40853 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40854 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40855 else \
40856 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40857 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40858 fi; \
40859 else \
40860 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40861 fi; \
40862 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40863 $(RAW_CXX_TARGET_EXPORTS) \
40865 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40866 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40867 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40868 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
40869 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40870 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40871 case $(srcdir) in \
40872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40873 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40875 esac; \
40876 module_srcdir=libstdc++-v3; \
40877 $(SHELL) $$s/$$module_srcdir/configure \
40878 --srcdir=$${topdir}/$$module_srcdir \
40879 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40880 --target=${target_alias} \
40881 --with-build-libsubdir=$(HOST_SUBDIR) \
40882 $(STAGEprofile_CONFIGURE_FLAGS)
40883 @endif target-libstdc++-v3-bootstrap
40885 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
40886 maybe-configure-stagetrain-target-libstdc++-v3:
40887 @if target-libstdc++-v3-bootstrap
40888 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
40889 configure-stagetrain-target-libstdc++-v3:
40890 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40891 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40892 @r=`${PWD_COMMAND}`; export r; \
40893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40894 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40895 echo "Checking multilib configuration for libstdc++-v3..."; \
40896 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40897 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40898 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40899 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40900 else \
40901 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40902 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40903 fi; \
40904 else \
40905 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40906 fi; \
40907 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40908 $(RAW_CXX_TARGET_EXPORTS) \
40910 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40911 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40912 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40913 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
40914 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40915 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40916 case $(srcdir) in \
40917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40918 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40920 esac; \
40921 module_srcdir=libstdc++-v3; \
40922 $(SHELL) $$s/$$module_srcdir/configure \
40923 --srcdir=$${topdir}/$$module_srcdir \
40924 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40925 --target=${target_alias} \
40926 --with-build-libsubdir=$(HOST_SUBDIR) \
40927 $(STAGEtrain_CONFIGURE_FLAGS)
40928 @endif target-libstdc++-v3-bootstrap
40930 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
40931 maybe-configure-stagefeedback-target-libstdc++-v3:
40932 @if target-libstdc++-v3-bootstrap
40933 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
40934 configure-stagefeedback-target-libstdc++-v3:
40935 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40936 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40937 @r=`${PWD_COMMAND}`; export r; \
40938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40939 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40940 echo "Checking multilib configuration for libstdc++-v3..."; \
40941 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40942 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40943 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40944 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40945 else \
40946 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40947 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40948 fi; \
40949 else \
40950 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40951 fi; \
40952 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40953 $(RAW_CXX_TARGET_EXPORTS) \
40955 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40956 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40957 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40958 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
40959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40960 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40961 case $(srcdir) in \
40962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40963 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40965 esac; \
40966 module_srcdir=libstdc++-v3; \
40967 $(SHELL) $$s/$$module_srcdir/configure \
40968 --srcdir=$${topdir}/$$module_srcdir \
40969 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40970 --target=${target_alias} \
40971 --with-build-libsubdir=$(HOST_SUBDIR) \
40972 $(STAGEfeedback_CONFIGURE_FLAGS)
40973 @endif target-libstdc++-v3-bootstrap
40975 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
40976 maybe-configure-stageautoprofile-target-libstdc++-v3:
40977 @if target-libstdc++-v3-bootstrap
40978 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
40979 configure-stageautoprofile-target-libstdc++-v3:
40980 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40981 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40982 @r=`${PWD_COMMAND}`; export r; \
40983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40984 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40985 echo "Checking multilib configuration for libstdc++-v3..."; \
40986 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40987 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40988 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40989 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40990 else \
40991 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40992 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40993 fi; \
40994 else \
40995 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40996 fi; \
40997 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40998 $(RAW_CXX_TARGET_EXPORTS) \
41000 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41001 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41002 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41003 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
41004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
41005 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
41006 case $(srcdir) in \
41007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41008 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
41009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41010 esac; \
41011 module_srcdir=libstdc++-v3; \
41012 $(SHELL) $$s/$$module_srcdir/configure \
41013 --srcdir=$${topdir}/$$module_srcdir \
41014 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41015 --target=${target_alias} \
41016 --with-build-libsubdir=$(HOST_SUBDIR) \
41017 $(STAGEautoprofile_CONFIGURE_FLAGS)
41018 @endif target-libstdc++-v3-bootstrap
41020 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
41021 maybe-configure-stageautofeedback-target-libstdc++-v3:
41022 @if target-libstdc++-v3-bootstrap
41023 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
41024 configure-stageautofeedback-target-libstdc++-v3:
41025 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41026 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
41027 @r=`${PWD_COMMAND}`; export r; \
41028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41029 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41030 echo "Checking multilib configuration for libstdc++-v3..."; \
41031 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
41032 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
41033 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
41034 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
41035 else \
41036 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
41037 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
41038 fi; \
41039 else \
41040 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
41041 fi; \
41042 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
41043 $(RAW_CXX_TARGET_EXPORTS) \
41045 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41046 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41047 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41048 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
41049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
41050 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
41051 case $(srcdir) in \
41052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41053 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
41054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41055 esac; \
41056 module_srcdir=libstdc++-v3; \
41057 $(SHELL) $$s/$$module_srcdir/configure \
41058 --srcdir=$${topdir}/$$module_srcdir \
41059 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41060 --target=${target_alias} \
41061 --with-build-libsubdir=$(HOST_SUBDIR) \
41062 $(STAGEautofeedback_CONFIGURE_FLAGS)
41063 @endif target-libstdc++-v3-bootstrap
41069 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
41070 maybe-all-target-libstdc++-v3:
41071 @if gcc-bootstrap
41072 all-target-libstdc++-v3: stage_current
41073 @endif gcc-bootstrap
41074 @if target-libstdc++-v3
41075 TARGET-target-libstdc++-v3=all
41076 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
41077 all-target-libstdc++-v3: configure-target-libstdc++-v3
41078 @r=`${PWD_COMMAND}`; export r; \
41079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41080 $(RAW_CXX_TARGET_EXPORTS) \
41081 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41082 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41083 $(TARGET-target-libstdc++-v3))
41084 @endif target-libstdc++-v3
41088 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
41089 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
41090 maybe-all-stage1-target-libstdc++-v3:
41091 maybe-clean-stage1-target-libstdc++-v3:
41092 @if target-libstdc++-v3-bootstrap
41093 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
41094 all-stage1: all-stage1-target-libstdc++-v3
41095 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41096 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
41097 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41098 @r=`${PWD_COMMAND}`; export r; \
41099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41100 TFLAGS="$(STAGE1_TFLAGS)"; \
41101 $(RAW_CXX_TARGET_EXPORTS) \
41102 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41105 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41106 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41107 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41111 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41113 TFLAGS="$(STAGE1_TFLAGS)" \
41114 $(TARGET-stage1-target-libstdc++-v3)
41116 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
41117 clean-stage1: clean-stage1-target-libstdc++-v3
41118 clean-stage1-target-libstdc++-v3:
41119 @if [ $(current_stage) = stage1 ]; then \
41120 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41121 else \
41122 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
41123 $(MAKE) stage1-start; \
41124 fi; \
41125 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41126 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41127 clean
41128 @endif target-libstdc++-v3-bootstrap
41131 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
41132 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
41133 maybe-all-stage2-target-libstdc++-v3:
41134 maybe-clean-stage2-target-libstdc++-v3:
41135 @if target-libstdc++-v3-bootstrap
41136 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
41137 all-stage2: all-stage2-target-libstdc++-v3
41138 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41139 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
41140 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41141 @r=`${PWD_COMMAND}`; export r; \
41142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41143 TFLAGS="$(STAGE2_TFLAGS)"; \
41144 $(RAW_CXX_TARGET_EXPORTS) \
41146 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41149 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41150 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41151 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41152 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41153 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41154 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41155 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41156 TFLAGS="$(STAGE2_TFLAGS)" \
41157 $(TARGET-stage2-target-libstdc++-v3)
41159 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
41160 clean-stage2: clean-stage2-target-libstdc++-v3
41161 clean-stage2-target-libstdc++-v3:
41162 @if [ $(current_stage) = stage2 ]; then \
41163 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41164 else \
41165 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
41166 $(MAKE) stage2-start; \
41167 fi; \
41168 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41169 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41170 @endif target-libstdc++-v3-bootstrap
41173 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
41174 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
41175 maybe-all-stage3-target-libstdc++-v3:
41176 maybe-clean-stage3-target-libstdc++-v3:
41177 @if target-libstdc++-v3-bootstrap
41178 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
41179 all-stage3: all-stage3-target-libstdc++-v3
41180 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41181 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
41182 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41183 @r=`${PWD_COMMAND}`; export r; \
41184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41185 TFLAGS="$(STAGE3_TFLAGS)"; \
41186 $(RAW_CXX_TARGET_EXPORTS) \
41188 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41191 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41192 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41193 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41197 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41198 TFLAGS="$(STAGE3_TFLAGS)" \
41199 $(TARGET-stage3-target-libstdc++-v3)
41201 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
41202 clean-stage3: clean-stage3-target-libstdc++-v3
41203 clean-stage3-target-libstdc++-v3:
41204 @if [ $(current_stage) = stage3 ]; then \
41205 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41206 else \
41207 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
41208 $(MAKE) stage3-start; \
41209 fi; \
41210 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41211 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41212 @endif target-libstdc++-v3-bootstrap
41215 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
41216 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
41217 maybe-all-stage4-target-libstdc++-v3:
41218 maybe-clean-stage4-target-libstdc++-v3:
41219 @if target-libstdc++-v3-bootstrap
41220 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
41221 all-stage4: all-stage4-target-libstdc++-v3
41222 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41223 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
41224 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41225 @r=`${PWD_COMMAND}`; export r; \
41226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41227 TFLAGS="$(STAGE4_TFLAGS)"; \
41228 $(RAW_CXX_TARGET_EXPORTS) \
41230 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41233 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41235 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41239 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41240 TFLAGS="$(STAGE4_TFLAGS)" \
41241 $(TARGET-stage4-target-libstdc++-v3)
41243 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
41244 clean-stage4: clean-stage4-target-libstdc++-v3
41245 clean-stage4-target-libstdc++-v3:
41246 @if [ $(current_stage) = stage4 ]; then \
41247 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41248 else \
41249 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
41250 $(MAKE) stage4-start; \
41251 fi; \
41252 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41253 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41254 @endif target-libstdc++-v3-bootstrap
41257 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
41258 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
41259 maybe-all-stageprofile-target-libstdc++-v3:
41260 maybe-clean-stageprofile-target-libstdc++-v3:
41261 @if target-libstdc++-v3-bootstrap
41262 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
41263 all-stageprofile: all-stageprofile-target-libstdc++-v3
41264 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41265 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
41266 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41267 @r=`${PWD_COMMAND}`; export r; \
41268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41269 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41270 $(RAW_CXX_TARGET_EXPORTS) \
41272 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41275 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41276 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41277 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41281 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41282 TFLAGS="$(STAGEprofile_TFLAGS)" \
41283 $(TARGET-stageprofile-target-libstdc++-v3)
41285 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
41286 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
41287 clean-stageprofile-target-libstdc++-v3:
41288 @if [ $(current_stage) = stageprofile ]; then \
41289 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41290 else \
41291 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
41292 $(MAKE) stageprofile-start; \
41293 fi; \
41294 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41295 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41296 @endif target-libstdc++-v3-bootstrap
41299 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
41300 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
41301 maybe-all-stagetrain-target-libstdc++-v3:
41302 maybe-clean-stagetrain-target-libstdc++-v3:
41303 @if target-libstdc++-v3-bootstrap
41304 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
41305 all-stagetrain: all-stagetrain-target-libstdc++-v3
41306 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41307 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
41308 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41309 @r=`${PWD_COMMAND}`; export r; \
41310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41311 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41312 $(RAW_CXX_TARGET_EXPORTS) \
41314 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41316 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41317 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41318 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41319 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41323 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41324 TFLAGS="$(STAGEtrain_TFLAGS)" \
41325 $(TARGET-stagetrain-target-libstdc++-v3)
41327 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
41328 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
41329 clean-stagetrain-target-libstdc++-v3:
41330 @if [ $(current_stage) = stagetrain ]; then \
41331 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41332 else \
41333 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
41334 $(MAKE) stagetrain-start; \
41335 fi; \
41336 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41337 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41338 @endif target-libstdc++-v3-bootstrap
41341 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
41342 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
41343 maybe-all-stagefeedback-target-libstdc++-v3:
41344 maybe-clean-stagefeedback-target-libstdc++-v3:
41345 @if target-libstdc++-v3-bootstrap
41346 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
41347 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
41348 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41349 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
41350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41351 @r=`${PWD_COMMAND}`; export r; \
41352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41353 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41354 $(RAW_CXX_TARGET_EXPORTS) \
41356 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41359 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41360 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41361 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41365 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41366 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41367 $(TARGET-stagefeedback-target-libstdc++-v3)
41369 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
41370 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
41371 clean-stagefeedback-target-libstdc++-v3:
41372 @if [ $(current_stage) = stagefeedback ]; then \
41373 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41374 else \
41375 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
41376 $(MAKE) stagefeedback-start; \
41377 fi; \
41378 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41379 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41380 @endif target-libstdc++-v3-bootstrap
41383 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
41384 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
41385 maybe-all-stageautoprofile-target-libstdc++-v3:
41386 maybe-clean-stageautoprofile-target-libstdc++-v3:
41387 @if target-libstdc++-v3-bootstrap
41388 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
41389 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
41390 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41391 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
41392 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41393 @r=`${PWD_COMMAND}`; export r; \
41394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41395 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41396 $(RAW_CXX_TARGET_EXPORTS) \
41398 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41399 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41400 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41401 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41402 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41403 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41407 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41408 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41409 $(TARGET-stageautoprofile-target-libstdc++-v3)
41411 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
41412 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
41413 clean-stageautoprofile-target-libstdc++-v3:
41414 @if [ $(current_stage) = stageautoprofile ]; then \
41415 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41416 else \
41417 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
41418 $(MAKE) stageautoprofile-start; \
41419 fi; \
41420 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41421 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41422 @endif target-libstdc++-v3-bootstrap
41425 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
41426 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
41427 maybe-all-stageautofeedback-target-libstdc++-v3:
41428 maybe-clean-stageautofeedback-target-libstdc++-v3:
41429 @if target-libstdc++-v3-bootstrap
41430 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
41431 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
41432 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
41433 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
41434 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41435 @r=`${PWD_COMMAND}`; export r; \
41436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41437 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41438 $(RAW_CXX_TARGET_EXPORTS) \
41440 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41443 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41444 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41445 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41449 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41450 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41451 $(TARGET-stageautofeedback-target-libstdc++-v3)
41453 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
41454 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
41455 clean-stageautofeedback-target-libstdc++-v3:
41456 @if [ $(current_stage) = stageautofeedback ]; then \
41457 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41458 else \
41459 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
41460 $(MAKE) stageautofeedback-start; \
41461 fi; \
41462 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41463 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41464 @endif target-libstdc++-v3-bootstrap
41471 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
41472 maybe-check-target-libstdc++-v3:
41473 @if target-libstdc++-v3
41474 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
41476 check-target-libstdc++-v3:
41477 @: $(MAKE); $(unstage)
41478 @r=`${PWD_COMMAND}`; export r; \
41479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41480 $(RAW_CXX_TARGET_EXPORTS) \
41481 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41482 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41484 @endif target-libstdc++-v3
41486 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
41487 maybe-install-target-libstdc++-v3:
41488 @if target-libstdc++-v3
41489 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
41491 install-target-libstdc++-v3: installdirs
41492 @: $(MAKE); $(unstage)
41493 @r=`${PWD_COMMAND}`; export r; \
41494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41495 $(RAW_CXX_TARGET_EXPORTS) \
41496 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41497 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41499 @endif target-libstdc++-v3
41501 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
41502 maybe-install-strip-target-libstdc++-v3:
41503 @if target-libstdc++-v3
41504 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
41506 install-strip-target-libstdc++-v3: installdirs
41507 @: $(MAKE); $(unstage)
41508 @r=`${PWD_COMMAND}`; export r; \
41509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41510 $(RAW_CXX_TARGET_EXPORTS) \
41511 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41512 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41514 @endif target-libstdc++-v3
41516 # Other targets (info, dvi, pdf, etc.)
41518 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
41519 maybe-info-target-libstdc++-v3:
41520 @if target-libstdc++-v3
41521 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
41523 info-target-libstdc++-v3: \
41524 configure-target-libstdc++-v3
41525 @: $(MAKE); $(unstage)
41526 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41527 r=`${PWD_COMMAND}`; export r; \
41528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41529 $(RAW_CXX_TARGET_EXPORTS) \
41530 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
41531 for flag in $(EXTRA_TARGET_FLAGS); do \
41532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41533 done; \
41534 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41537 "RANLIB=$${RANLIB}" \
41538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41539 info) \
41540 || exit 1
41542 @endif target-libstdc++-v3
41544 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
41545 maybe-dvi-target-libstdc++-v3:
41546 @if target-libstdc++-v3
41547 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
41549 dvi-target-libstdc++-v3: \
41550 configure-target-libstdc++-v3
41551 @: $(MAKE); $(unstage)
41552 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41553 r=`${PWD_COMMAND}`; export r; \
41554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41555 $(RAW_CXX_TARGET_EXPORTS) \
41556 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
41557 for flag in $(EXTRA_TARGET_FLAGS); do \
41558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41559 done; \
41560 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41563 "RANLIB=$${RANLIB}" \
41564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41565 dvi) \
41566 || exit 1
41568 @endif target-libstdc++-v3
41570 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
41571 maybe-pdf-target-libstdc++-v3:
41572 @if target-libstdc++-v3
41573 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
41575 pdf-target-libstdc++-v3: \
41576 configure-target-libstdc++-v3
41577 @: $(MAKE); $(unstage)
41578 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41579 r=`${PWD_COMMAND}`; export r; \
41580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41581 $(RAW_CXX_TARGET_EXPORTS) \
41582 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
41583 for flag in $(EXTRA_TARGET_FLAGS); do \
41584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41585 done; \
41586 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41589 "RANLIB=$${RANLIB}" \
41590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41591 pdf) \
41592 || exit 1
41594 @endif target-libstdc++-v3
41596 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
41597 maybe-html-target-libstdc++-v3:
41598 @if target-libstdc++-v3
41599 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
41601 html-target-libstdc++-v3: \
41602 configure-target-libstdc++-v3
41603 @: $(MAKE); $(unstage)
41604 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41605 r=`${PWD_COMMAND}`; export r; \
41606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41607 $(RAW_CXX_TARGET_EXPORTS) \
41608 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
41609 for flag in $(EXTRA_TARGET_FLAGS); do \
41610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41611 done; \
41612 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41615 "RANLIB=$${RANLIB}" \
41616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41617 html) \
41618 || exit 1
41620 @endif target-libstdc++-v3
41622 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
41623 maybe-TAGS-target-libstdc++-v3:
41624 @if target-libstdc++-v3
41625 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
41627 TAGS-target-libstdc++-v3: \
41628 configure-target-libstdc++-v3
41629 @: $(MAKE); $(unstage)
41630 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41631 r=`${PWD_COMMAND}`; export r; \
41632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41633 $(RAW_CXX_TARGET_EXPORTS) \
41634 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
41635 for flag in $(EXTRA_TARGET_FLAGS); do \
41636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41637 done; \
41638 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41641 "RANLIB=$${RANLIB}" \
41642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41643 TAGS) \
41644 || exit 1
41646 @endif target-libstdc++-v3
41648 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
41649 maybe-install-info-target-libstdc++-v3:
41650 @if target-libstdc++-v3
41651 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
41653 install-info-target-libstdc++-v3: \
41654 configure-target-libstdc++-v3 \
41655 info-target-libstdc++-v3
41656 @: $(MAKE); $(unstage)
41657 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41658 r=`${PWD_COMMAND}`; export r; \
41659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41660 $(RAW_CXX_TARGET_EXPORTS) \
41661 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
41662 for flag in $(EXTRA_TARGET_FLAGS); do \
41663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41664 done; \
41665 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41668 "RANLIB=$${RANLIB}" \
41669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41670 install-info) \
41671 || exit 1
41673 @endif target-libstdc++-v3
41675 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
41676 maybe-install-pdf-target-libstdc++-v3:
41677 @if target-libstdc++-v3
41678 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
41680 install-pdf-target-libstdc++-v3: \
41681 configure-target-libstdc++-v3 \
41682 pdf-target-libstdc++-v3
41683 @: $(MAKE); $(unstage)
41684 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41685 r=`${PWD_COMMAND}`; export r; \
41686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41687 $(RAW_CXX_TARGET_EXPORTS) \
41688 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
41689 for flag in $(EXTRA_TARGET_FLAGS); do \
41690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41691 done; \
41692 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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 install-pdf) \
41698 || exit 1
41700 @endif target-libstdc++-v3
41702 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
41703 maybe-install-html-target-libstdc++-v3:
41704 @if target-libstdc++-v3
41705 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
41707 install-html-target-libstdc++-v3: \
41708 configure-target-libstdc++-v3 \
41709 html-target-libstdc++-v3
41710 @: $(MAKE); $(unstage)
41711 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41712 r=`${PWD_COMMAND}`; export r; \
41713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41714 $(RAW_CXX_TARGET_EXPORTS) \
41715 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
41716 for flag in $(EXTRA_TARGET_FLAGS); do \
41717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41718 done; \
41719 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41722 "RANLIB=$${RANLIB}" \
41723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41724 install-html) \
41725 || exit 1
41727 @endif target-libstdc++-v3
41729 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
41730 maybe-installcheck-target-libstdc++-v3:
41731 @if target-libstdc++-v3
41732 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
41734 installcheck-target-libstdc++-v3: \
41735 configure-target-libstdc++-v3
41736 @: $(MAKE); $(unstage)
41737 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41738 r=`${PWD_COMMAND}`; export r; \
41739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41740 $(RAW_CXX_TARGET_EXPORTS) \
41741 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
41742 for flag in $(EXTRA_TARGET_FLAGS); do \
41743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41744 done; \
41745 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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 installcheck) \
41751 || exit 1
41753 @endif target-libstdc++-v3
41755 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
41756 maybe-mostlyclean-target-libstdc++-v3:
41757 @if target-libstdc++-v3
41758 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
41760 mostlyclean-target-libstdc++-v3:
41761 @: $(MAKE); $(unstage)
41762 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41763 r=`${PWD_COMMAND}`; export r; \
41764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41765 $(RAW_CXX_TARGET_EXPORTS) \
41766 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
41767 for flag in $(EXTRA_TARGET_FLAGS); do \
41768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41769 done; \
41770 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41773 "RANLIB=$${RANLIB}" \
41774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41775 mostlyclean) \
41776 || exit 1
41778 @endif target-libstdc++-v3
41780 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
41781 maybe-clean-target-libstdc++-v3:
41782 @if target-libstdc++-v3
41783 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
41785 clean-target-libstdc++-v3:
41786 @: $(MAKE); $(unstage)
41787 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41788 r=`${PWD_COMMAND}`; export r; \
41789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41790 $(RAW_CXX_TARGET_EXPORTS) \
41791 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
41792 for flag in $(EXTRA_TARGET_FLAGS); do \
41793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41794 done; \
41795 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41798 "RANLIB=$${RANLIB}" \
41799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41800 clean) \
41801 || exit 1
41803 @endif target-libstdc++-v3
41805 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
41806 maybe-distclean-target-libstdc++-v3:
41807 @if target-libstdc++-v3
41808 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
41810 distclean-target-libstdc++-v3:
41811 @: $(MAKE); $(unstage)
41812 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41813 r=`${PWD_COMMAND}`; export r; \
41814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41815 $(RAW_CXX_TARGET_EXPORTS) \
41816 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
41817 for flag in $(EXTRA_TARGET_FLAGS); do \
41818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41819 done; \
41820 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41823 "RANLIB=$${RANLIB}" \
41824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41825 distclean) \
41826 || exit 1
41828 @endif target-libstdc++-v3
41830 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
41831 maybe-maintainer-clean-target-libstdc++-v3:
41832 @if target-libstdc++-v3
41833 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
41835 maintainer-clean-target-libstdc++-v3:
41836 @: $(MAKE); $(unstage)
41837 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
41838 r=`${PWD_COMMAND}`; export r; \
41839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41840 $(RAW_CXX_TARGET_EXPORTS) \
41841 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
41842 for flag in $(EXTRA_TARGET_FLAGS); do \
41843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41844 done; \
41845 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41848 "RANLIB=$${RANLIB}" \
41849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41850 maintainer-clean) \
41851 || exit 1
41853 @endif target-libstdc++-v3
41859 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
41860 maybe-configure-target-libsanitizer:
41861 @if gcc-bootstrap
41862 configure-target-libsanitizer: stage_current
41863 @endif gcc-bootstrap
41864 @if target-libsanitizer
41865 maybe-configure-target-libsanitizer: configure-target-libsanitizer
41866 configure-target-libsanitizer:
41867 @r=`${PWD_COMMAND}`; export r; \
41868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41869 echo "Checking multilib configuration for libsanitizer..."; \
41870 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41871 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41872 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41873 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41874 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41875 else \
41876 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41877 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41878 fi; \
41879 else \
41880 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41881 fi; \
41882 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41883 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41884 $(RAW_CXX_TARGET_EXPORTS) \
41885 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
41886 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
41887 case $(srcdir) in \
41888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41889 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41891 esac; \
41892 module_srcdir=libsanitizer; \
41893 rm -f no-such-file || : ; \
41894 CONFIG_SITE=no-such-file $(SHELL) \
41895 $$s/$$module_srcdir/configure \
41896 --srcdir=$${topdir}/$$module_srcdir \
41897 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41898 --target=${target_alias} \
41899 || exit 1
41900 @endif target-libsanitizer
41904 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
41905 maybe-configure-stage1-target-libsanitizer:
41906 @if target-libsanitizer-bootstrap
41907 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
41908 configure-stage1-target-libsanitizer:
41909 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41910 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41911 @r=`${PWD_COMMAND}`; export r; \
41912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41913 TFLAGS="$(STAGE1_TFLAGS)"; \
41914 echo "Checking multilib configuration for libsanitizer..."; \
41915 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41916 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41917 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41918 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41919 else \
41920 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41921 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41922 fi; \
41923 else \
41924 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41925 fi; \
41926 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41927 $(RAW_CXX_TARGET_EXPORTS) \
41928 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41929 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41930 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41931 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
41932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41933 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41934 case $(srcdir) in \
41935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41936 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41938 esac; \
41939 module_srcdir=libsanitizer; \
41940 $(SHELL) $$s/$$module_srcdir/configure \
41941 --srcdir=$${topdir}/$$module_srcdir \
41942 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41943 --target=${target_alias} \
41945 $(STAGE1_CONFIGURE_FLAGS)
41946 @endif target-libsanitizer-bootstrap
41948 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
41949 maybe-configure-stage2-target-libsanitizer:
41950 @if target-libsanitizer-bootstrap
41951 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
41952 configure-stage2-target-libsanitizer:
41953 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41954 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41955 @r=`${PWD_COMMAND}`; export r; \
41956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41957 TFLAGS="$(STAGE2_TFLAGS)"; \
41958 echo "Checking multilib configuration for libsanitizer..."; \
41959 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41960 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41961 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41962 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41963 else \
41964 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41965 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41966 fi; \
41967 else \
41968 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41969 fi; \
41970 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41971 $(RAW_CXX_TARGET_EXPORTS) \
41973 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41974 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41975 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41976 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
41977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41978 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41979 case $(srcdir) in \
41980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41981 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41983 esac; \
41984 module_srcdir=libsanitizer; \
41985 $(SHELL) $$s/$$module_srcdir/configure \
41986 --srcdir=$${topdir}/$$module_srcdir \
41987 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41988 --target=${target_alias} \
41989 --with-build-libsubdir=$(HOST_SUBDIR) \
41990 $(STAGE2_CONFIGURE_FLAGS)
41991 @endif target-libsanitizer-bootstrap
41993 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
41994 maybe-configure-stage3-target-libsanitizer:
41995 @if target-libsanitizer-bootstrap
41996 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
41997 configure-stage3-target-libsanitizer:
41998 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41999 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
42000 @r=`${PWD_COMMAND}`; export r; \
42001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42002 TFLAGS="$(STAGE3_TFLAGS)"; \
42003 echo "Checking multilib configuration for libsanitizer..."; \
42004 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
42005 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42006 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42007 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
42008 else \
42009 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
42010 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42011 fi; \
42012 else \
42013 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42014 fi; \
42015 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
42016 $(RAW_CXX_TARGET_EXPORTS) \
42018 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42019 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42020 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42021 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
42022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
42023 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
42024 case $(srcdir) in \
42025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42026 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
42027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42028 esac; \
42029 module_srcdir=libsanitizer; \
42030 $(SHELL) $$s/$$module_srcdir/configure \
42031 --srcdir=$${topdir}/$$module_srcdir \
42032 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42033 --target=${target_alias} \
42034 --with-build-libsubdir=$(HOST_SUBDIR) \
42035 $(STAGE3_CONFIGURE_FLAGS)
42036 @endif target-libsanitizer-bootstrap
42038 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
42039 maybe-configure-stage4-target-libsanitizer:
42040 @if target-libsanitizer-bootstrap
42041 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
42042 configure-stage4-target-libsanitizer:
42043 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42044 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
42045 @r=`${PWD_COMMAND}`; export r; \
42046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42047 TFLAGS="$(STAGE4_TFLAGS)"; \
42048 echo "Checking multilib configuration for libsanitizer..."; \
42049 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
42050 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42051 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42052 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
42053 else \
42054 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
42055 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42056 fi; \
42057 else \
42058 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42059 fi; \
42060 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
42061 $(RAW_CXX_TARGET_EXPORTS) \
42063 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42064 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42065 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42066 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
42067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
42068 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
42069 case $(srcdir) in \
42070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42071 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
42072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42073 esac; \
42074 module_srcdir=libsanitizer; \
42075 $(SHELL) $$s/$$module_srcdir/configure \
42076 --srcdir=$${topdir}/$$module_srcdir \
42077 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42078 --target=${target_alias} \
42079 --with-build-libsubdir=$(HOST_SUBDIR) \
42080 $(STAGE4_CONFIGURE_FLAGS)
42081 @endif target-libsanitizer-bootstrap
42083 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
42084 maybe-configure-stageprofile-target-libsanitizer:
42085 @if target-libsanitizer-bootstrap
42086 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
42087 configure-stageprofile-target-libsanitizer:
42088 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42089 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
42090 @r=`${PWD_COMMAND}`; export r; \
42091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42092 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42093 echo "Checking multilib configuration for libsanitizer..."; \
42094 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
42095 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42096 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42097 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
42098 else \
42099 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
42100 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42101 fi; \
42102 else \
42103 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42104 fi; \
42105 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
42106 $(RAW_CXX_TARGET_EXPORTS) \
42108 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42109 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42110 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42111 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
42112 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
42113 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
42114 case $(srcdir) in \
42115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42116 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
42117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42118 esac; \
42119 module_srcdir=libsanitizer; \
42120 $(SHELL) $$s/$$module_srcdir/configure \
42121 --srcdir=$${topdir}/$$module_srcdir \
42122 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42123 --target=${target_alias} \
42124 --with-build-libsubdir=$(HOST_SUBDIR) \
42125 $(STAGEprofile_CONFIGURE_FLAGS)
42126 @endif target-libsanitizer-bootstrap
42128 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
42129 maybe-configure-stagetrain-target-libsanitizer:
42130 @if target-libsanitizer-bootstrap
42131 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
42132 configure-stagetrain-target-libsanitizer:
42133 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42134 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
42135 @r=`${PWD_COMMAND}`; export r; \
42136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42137 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42138 echo "Checking multilib configuration for libsanitizer..."; \
42139 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
42140 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42141 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42142 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
42143 else \
42144 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
42145 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42146 fi; \
42147 else \
42148 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42149 fi; \
42150 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
42151 $(RAW_CXX_TARGET_EXPORTS) \
42153 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42154 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42155 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42156 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
42157 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
42158 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
42159 case $(srcdir) in \
42160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42161 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
42162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42163 esac; \
42164 module_srcdir=libsanitizer; \
42165 $(SHELL) $$s/$$module_srcdir/configure \
42166 --srcdir=$${topdir}/$$module_srcdir \
42167 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42168 --target=${target_alias} \
42169 --with-build-libsubdir=$(HOST_SUBDIR) \
42170 $(STAGEtrain_CONFIGURE_FLAGS)
42171 @endif target-libsanitizer-bootstrap
42173 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
42174 maybe-configure-stagefeedback-target-libsanitizer:
42175 @if target-libsanitizer-bootstrap
42176 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
42177 configure-stagefeedback-target-libsanitizer:
42178 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42179 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
42180 @r=`${PWD_COMMAND}`; export r; \
42181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42182 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42183 echo "Checking multilib configuration for libsanitizer..."; \
42184 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
42185 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42186 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42187 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
42188 else \
42189 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
42190 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42191 fi; \
42192 else \
42193 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42194 fi; \
42195 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
42196 $(RAW_CXX_TARGET_EXPORTS) \
42198 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42200 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42201 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
42202 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
42203 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
42204 case $(srcdir) in \
42205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42206 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
42207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42208 esac; \
42209 module_srcdir=libsanitizer; \
42210 $(SHELL) $$s/$$module_srcdir/configure \
42211 --srcdir=$${topdir}/$$module_srcdir \
42212 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42213 --target=${target_alias} \
42214 --with-build-libsubdir=$(HOST_SUBDIR) \
42215 $(STAGEfeedback_CONFIGURE_FLAGS)
42216 @endif target-libsanitizer-bootstrap
42218 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
42219 maybe-configure-stageautoprofile-target-libsanitizer:
42220 @if target-libsanitizer-bootstrap
42221 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
42222 configure-stageautoprofile-target-libsanitizer:
42223 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42224 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
42225 @r=`${PWD_COMMAND}`; export r; \
42226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42227 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42228 echo "Checking multilib configuration for libsanitizer..."; \
42229 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
42230 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42231 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42232 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
42233 else \
42234 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
42235 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42236 fi; \
42237 else \
42238 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42239 fi; \
42240 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
42241 $(RAW_CXX_TARGET_EXPORTS) \
42243 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42244 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42245 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42246 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
42247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
42248 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
42249 case $(srcdir) in \
42250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42251 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
42252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42253 esac; \
42254 module_srcdir=libsanitizer; \
42255 $(SHELL) $$s/$$module_srcdir/configure \
42256 --srcdir=$${topdir}/$$module_srcdir \
42257 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42258 --target=${target_alias} \
42259 --with-build-libsubdir=$(HOST_SUBDIR) \
42260 $(STAGEautoprofile_CONFIGURE_FLAGS)
42261 @endif target-libsanitizer-bootstrap
42263 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
42264 maybe-configure-stageautofeedback-target-libsanitizer:
42265 @if target-libsanitizer-bootstrap
42266 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
42267 configure-stageautofeedback-target-libsanitizer:
42268 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42269 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
42270 @r=`${PWD_COMMAND}`; export r; \
42271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42272 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42273 echo "Checking multilib configuration for libsanitizer..."; \
42274 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
42275 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42276 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
42277 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
42278 else \
42279 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
42280 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42281 fi; \
42282 else \
42283 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
42284 fi; \
42285 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
42286 $(RAW_CXX_TARGET_EXPORTS) \
42288 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42291 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
42292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
42293 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
42294 case $(srcdir) in \
42295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42296 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
42297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42298 esac; \
42299 module_srcdir=libsanitizer; \
42300 $(SHELL) $$s/$$module_srcdir/configure \
42301 --srcdir=$${topdir}/$$module_srcdir \
42302 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42303 --target=${target_alias} \
42304 --with-build-libsubdir=$(HOST_SUBDIR) \
42305 $(STAGEautofeedback_CONFIGURE_FLAGS)
42306 @endif target-libsanitizer-bootstrap
42312 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
42313 maybe-all-target-libsanitizer:
42314 @if gcc-bootstrap
42315 all-target-libsanitizer: stage_current
42316 @endif gcc-bootstrap
42317 @if target-libsanitizer
42318 TARGET-target-libsanitizer=all
42319 maybe-all-target-libsanitizer: all-target-libsanitizer
42320 all-target-libsanitizer: configure-target-libsanitizer
42321 @r=`${PWD_COMMAND}`; export r; \
42322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42323 $(RAW_CXX_TARGET_EXPORTS) \
42324 (cd $(TARGET_SUBDIR)/libsanitizer && \
42325 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42326 $(TARGET-target-libsanitizer))
42327 @endif target-libsanitizer
42331 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
42332 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
42333 maybe-all-stage1-target-libsanitizer:
42334 maybe-clean-stage1-target-libsanitizer:
42335 @if target-libsanitizer-bootstrap
42336 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
42337 all-stage1: all-stage1-target-libsanitizer
42338 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
42339 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
42340 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42341 @r=`${PWD_COMMAND}`; export r; \
42342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42343 TFLAGS="$(STAGE1_TFLAGS)"; \
42344 $(RAW_CXX_TARGET_EXPORTS) \
42345 cd $(TARGET_SUBDIR)/libsanitizer && \
42347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42348 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42349 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42350 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42354 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42356 TFLAGS="$(STAGE1_TFLAGS)" \
42357 $(TARGET-stage1-target-libsanitizer)
42359 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
42360 clean-stage1: clean-stage1-target-libsanitizer
42361 clean-stage1-target-libsanitizer:
42362 @if [ $(current_stage) = stage1 ]; then \
42363 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42364 else \
42365 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
42366 $(MAKE) stage1-start; \
42367 fi; \
42368 cd $(TARGET_SUBDIR)/libsanitizer && \
42369 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42370 clean
42371 @endif target-libsanitizer-bootstrap
42374 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
42375 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
42376 maybe-all-stage2-target-libsanitizer:
42377 maybe-clean-stage2-target-libsanitizer:
42378 @if target-libsanitizer-bootstrap
42379 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
42380 all-stage2: all-stage2-target-libsanitizer
42381 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
42382 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
42383 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42384 @r=`${PWD_COMMAND}`; export r; \
42385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42386 TFLAGS="$(STAGE2_TFLAGS)"; \
42387 $(RAW_CXX_TARGET_EXPORTS) \
42389 cd $(TARGET_SUBDIR)/libsanitizer && \
42391 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42392 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42393 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42394 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42395 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42396 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42397 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42398 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42399 TFLAGS="$(STAGE2_TFLAGS)" \
42400 $(TARGET-stage2-target-libsanitizer)
42402 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
42403 clean-stage2: clean-stage2-target-libsanitizer
42404 clean-stage2-target-libsanitizer:
42405 @if [ $(current_stage) = stage2 ]; then \
42406 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42407 else \
42408 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
42409 $(MAKE) stage2-start; \
42410 fi; \
42411 cd $(TARGET_SUBDIR)/libsanitizer && \
42412 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42413 @endif target-libsanitizer-bootstrap
42416 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
42417 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
42418 maybe-all-stage3-target-libsanitizer:
42419 maybe-clean-stage3-target-libsanitizer:
42420 @if target-libsanitizer-bootstrap
42421 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
42422 all-stage3: all-stage3-target-libsanitizer
42423 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
42424 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
42425 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42426 @r=`${PWD_COMMAND}`; export r; \
42427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42428 TFLAGS="$(STAGE3_TFLAGS)"; \
42429 $(RAW_CXX_TARGET_EXPORTS) \
42431 cd $(TARGET_SUBDIR)/libsanitizer && \
42433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42434 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42435 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42436 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42440 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42441 TFLAGS="$(STAGE3_TFLAGS)" \
42442 $(TARGET-stage3-target-libsanitizer)
42444 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
42445 clean-stage3: clean-stage3-target-libsanitizer
42446 clean-stage3-target-libsanitizer:
42447 @if [ $(current_stage) = stage3 ]; then \
42448 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42449 else \
42450 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
42451 $(MAKE) stage3-start; \
42452 fi; \
42453 cd $(TARGET_SUBDIR)/libsanitizer && \
42454 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42455 @endif target-libsanitizer-bootstrap
42458 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
42459 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
42460 maybe-all-stage4-target-libsanitizer:
42461 maybe-clean-stage4-target-libsanitizer:
42462 @if target-libsanitizer-bootstrap
42463 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
42464 all-stage4: all-stage4-target-libsanitizer
42465 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
42466 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
42467 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42468 @r=`${PWD_COMMAND}`; export r; \
42469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42470 TFLAGS="$(STAGE4_TFLAGS)"; \
42471 $(RAW_CXX_TARGET_EXPORTS) \
42473 cd $(TARGET_SUBDIR)/libsanitizer && \
42475 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42476 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42477 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42478 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42479 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42480 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42481 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42482 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42483 TFLAGS="$(STAGE4_TFLAGS)" \
42484 $(TARGET-stage4-target-libsanitizer)
42486 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
42487 clean-stage4: clean-stage4-target-libsanitizer
42488 clean-stage4-target-libsanitizer:
42489 @if [ $(current_stage) = stage4 ]; then \
42490 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42491 else \
42492 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
42493 $(MAKE) stage4-start; \
42494 fi; \
42495 cd $(TARGET_SUBDIR)/libsanitizer && \
42496 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42497 @endif target-libsanitizer-bootstrap
42500 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
42501 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
42502 maybe-all-stageprofile-target-libsanitizer:
42503 maybe-clean-stageprofile-target-libsanitizer:
42504 @if target-libsanitizer-bootstrap
42505 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
42506 all-stageprofile: all-stageprofile-target-libsanitizer
42507 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
42508 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
42509 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42510 @r=`${PWD_COMMAND}`; export r; \
42511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42512 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42513 $(RAW_CXX_TARGET_EXPORTS) \
42515 cd $(TARGET_SUBDIR)/libsanitizer && \
42517 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42518 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42519 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42520 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42521 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42522 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42523 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42524 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42525 TFLAGS="$(STAGEprofile_TFLAGS)" \
42526 $(TARGET-stageprofile-target-libsanitizer)
42528 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
42529 clean-stageprofile: clean-stageprofile-target-libsanitizer
42530 clean-stageprofile-target-libsanitizer:
42531 @if [ $(current_stage) = stageprofile ]; then \
42532 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42533 else \
42534 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
42535 $(MAKE) stageprofile-start; \
42536 fi; \
42537 cd $(TARGET_SUBDIR)/libsanitizer && \
42538 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42539 @endif target-libsanitizer-bootstrap
42542 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
42543 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
42544 maybe-all-stagetrain-target-libsanitizer:
42545 maybe-clean-stagetrain-target-libsanitizer:
42546 @if target-libsanitizer-bootstrap
42547 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
42548 all-stagetrain: all-stagetrain-target-libsanitizer
42549 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
42550 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
42551 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42552 @r=`${PWD_COMMAND}`; export r; \
42553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42554 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42555 $(RAW_CXX_TARGET_EXPORTS) \
42557 cd $(TARGET_SUBDIR)/libsanitizer && \
42559 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42560 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42561 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42562 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42563 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42566 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42567 TFLAGS="$(STAGEtrain_TFLAGS)" \
42568 $(TARGET-stagetrain-target-libsanitizer)
42570 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
42571 clean-stagetrain: clean-stagetrain-target-libsanitizer
42572 clean-stagetrain-target-libsanitizer:
42573 @if [ $(current_stage) = stagetrain ]; then \
42574 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42575 else \
42576 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
42577 $(MAKE) stagetrain-start; \
42578 fi; \
42579 cd $(TARGET_SUBDIR)/libsanitizer && \
42580 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42581 @endif target-libsanitizer-bootstrap
42584 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
42585 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
42586 maybe-all-stagefeedback-target-libsanitizer:
42587 maybe-clean-stagefeedback-target-libsanitizer:
42588 @if target-libsanitizer-bootstrap
42589 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
42590 all-stagefeedback: all-stagefeedback-target-libsanitizer
42591 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
42592 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
42593 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42594 @r=`${PWD_COMMAND}`; export r; \
42595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42596 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42597 $(RAW_CXX_TARGET_EXPORTS) \
42599 cd $(TARGET_SUBDIR)/libsanitizer && \
42601 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42602 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42603 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42604 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42605 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42606 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42607 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42608 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42609 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42610 $(TARGET-stagefeedback-target-libsanitizer)
42612 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
42613 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
42614 clean-stagefeedback-target-libsanitizer:
42615 @if [ $(current_stage) = stagefeedback ]; then \
42616 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42617 else \
42618 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
42619 $(MAKE) stagefeedback-start; \
42620 fi; \
42621 cd $(TARGET_SUBDIR)/libsanitizer && \
42622 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42623 @endif target-libsanitizer-bootstrap
42626 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
42627 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
42628 maybe-all-stageautoprofile-target-libsanitizer:
42629 maybe-clean-stageautoprofile-target-libsanitizer:
42630 @if target-libsanitizer-bootstrap
42631 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
42632 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
42633 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
42634 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
42635 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42636 @r=`${PWD_COMMAND}`; export r; \
42637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42638 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42639 $(RAW_CXX_TARGET_EXPORTS) \
42641 cd $(TARGET_SUBDIR)/libsanitizer && \
42642 $$s/gcc/config/i386/$(AUTO_PROFILE) \
42643 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42644 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42645 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42646 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42647 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42648 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42649 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42650 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42651 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
42652 $(TARGET-stageautoprofile-target-libsanitizer)
42654 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
42655 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
42656 clean-stageautoprofile-target-libsanitizer:
42657 @if [ $(current_stage) = stageautoprofile ]; then \
42658 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42659 else \
42660 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
42661 $(MAKE) stageautoprofile-start; \
42662 fi; \
42663 cd $(TARGET_SUBDIR)/libsanitizer && \
42664 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42665 @endif target-libsanitizer-bootstrap
42668 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
42669 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
42670 maybe-all-stageautofeedback-target-libsanitizer:
42671 maybe-clean-stageautofeedback-target-libsanitizer:
42672 @if target-libsanitizer-bootstrap
42673 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
42674 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
42675 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
42676 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
42677 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42678 @r=`${PWD_COMMAND}`; export r; \
42679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42680 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42681 $(RAW_CXX_TARGET_EXPORTS) \
42683 cd $(TARGET_SUBDIR)/libsanitizer && \
42685 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42686 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42687 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42688 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42692 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42693 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
42694 $(TARGET-stageautofeedback-target-libsanitizer)
42696 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
42697 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
42698 clean-stageautofeedback-target-libsanitizer:
42699 @if [ $(current_stage) = stageautofeedback ]; then \
42700 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42701 else \
42702 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
42703 $(MAKE) stageautofeedback-start; \
42704 fi; \
42705 cd $(TARGET_SUBDIR)/libsanitizer && \
42706 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42707 @endif target-libsanitizer-bootstrap
42714 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
42715 maybe-check-target-libsanitizer:
42716 @if target-libsanitizer
42717 maybe-check-target-libsanitizer: check-target-libsanitizer
42719 check-target-libsanitizer:
42720 @: $(MAKE); $(unstage)
42721 @r=`${PWD_COMMAND}`; export r; \
42722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42723 $(RAW_CXX_TARGET_EXPORTS) \
42724 (cd $(TARGET_SUBDIR)/libsanitizer && \
42725 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
42727 @endif target-libsanitizer
42729 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
42730 maybe-install-target-libsanitizer:
42731 @if target-libsanitizer
42732 maybe-install-target-libsanitizer: install-target-libsanitizer
42734 install-target-libsanitizer: installdirs
42735 @: $(MAKE); $(unstage)
42736 @r=`${PWD_COMMAND}`; export r; \
42737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42738 $(RAW_CXX_TARGET_EXPORTS) \
42739 (cd $(TARGET_SUBDIR)/libsanitizer && \
42740 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42742 @endif target-libsanitizer
42744 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
42745 maybe-install-strip-target-libsanitizer:
42746 @if target-libsanitizer
42747 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
42749 install-strip-target-libsanitizer: installdirs
42750 @: $(MAKE); $(unstage)
42751 @r=`${PWD_COMMAND}`; export r; \
42752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42753 $(RAW_CXX_TARGET_EXPORTS) \
42754 (cd $(TARGET_SUBDIR)/libsanitizer && \
42755 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42757 @endif target-libsanitizer
42759 # Other targets (info, dvi, pdf, etc.)
42761 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
42762 maybe-info-target-libsanitizer:
42763 @if target-libsanitizer
42764 maybe-info-target-libsanitizer: info-target-libsanitizer
42766 info-target-libsanitizer: \
42767 configure-target-libsanitizer
42768 @: $(MAKE); $(unstage)
42769 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42770 r=`${PWD_COMMAND}`; export r; \
42771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42772 $(RAW_CXX_TARGET_EXPORTS) \
42773 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
42774 for flag in $(EXTRA_TARGET_FLAGS); do \
42775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42776 done; \
42777 (cd $(TARGET_SUBDIR)/libsanitizer && \
42778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42780 "RANLIB=$${RANLIB}" \
42781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42782 info) \
42783 || exit 1
42785 @endif target-libsanitizer
42787 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
42788 maybe-dvi-target-libsanitizer:
42789 @if target-libsanitizer
42790 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
42792 dvi-target-libsanitizer: \
42793 configure-target-libsanitizer
42794 @: $(MAKE); $(unstage)
42795 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42796 r=`${PWD_COMMAND}`; export r; \
42797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42798 $(RAW_CXX_TARGET_EXPORTS) \
42799 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
42800 for flag in $(EXTRA_TARGET_FLAGS); do \
42801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42802 done; \
42803 (cd $(TARGET_SUBDIR)/libsanitizer && \
42804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42806 "RANLIB=$${RANLIB}" \
42807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42808 dvi) \
42809 || exit 1
42811 @endif target-libsanitizer
42813 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
42814 maybe-pdf-target-libsanitizer:
42815 @if target-libsanitizer
42816 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
42818 pdf-target-libsanitizer: \
42819 configure-target-libsanitizer
42820 @: $(MAKE); $(unstage)
42821 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42822 r=`${PWD_COMMAND}`; export r; \
42823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42824 $(RAW_CXX_TARGET_EXPORTS) \
42825 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
42826 for flag in $(EXTRA_TARGET_FLAGS); do \
42827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42828 done; \
42829 (cd $(TARGET_SUBDIR)/libsanitizer && \
42830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42832 "RANLIB=$${RANLIB}" \
42833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42834 pdf) \
42835 || exit 1
42837 @endif target-libsanitizer
42839 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
42840 maybe-html-target-libsanitizer:
42841 @if target-libsanitizer
42842 maybe-html-target-libsanitizer: html-target-libsanitizer
42844 html-target-libsanitizer: \
42845 configure-target-libsanitizer
42846 @: $(MAKE); $(unstage)
42847 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42848 r=`${PWD_COMMAND}`; export r; \
42849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42850 $(RAW_CXX_TARGET_EXPORTS) \
42851 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
42852 for flag in $(EXTRA_TARGET_FLAGS); do \
42853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42854 done; \
42855 (cd $(TARGET_SUBDIR)/libsanitizer && \
42856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42858 "RANLIB=$${RANLIB}" \
42859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42860 html) \
42861 || exit 1
42863 @endif target-libsanitizer
42865 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
42866 maybe-TAGS-target-libsanitizer:
42867 @if target-libsanitizer
42868 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
42870 TAGS-target-libsanitizer: \
42871 configure-target-libsanitizer
42872 @: $(MAKE); $(unstage)
42873 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42874 r=`${PWD_COMMAND}`; export r; \
42875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42876 $(RAW_CXX_TARGET_EXPORTS) \
42877 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
42878 for flag in $(EXTRA_TARGET_FLAGS); do \
42879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42880 done; \
42881 (cd $(TARGET_SUBDIR)/libsanitizer && \
42882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42884 "RANLIB=$${RANLIB}" \
42885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42886 TAGS) \
42887 || exit 1
42889 @endif target-libsanitizer
42891 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
42892 maybe-install-info-target-libsanitizer:
42893 @if target-libsanitizer
42894 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
42896 install-info-target-libsanitizer: \
42897 configure-target-libsanitizer \
42898 info-target-libsanitizer
42899 @: $(MAKE); $(unstage)
42900 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42901 r=`${PWD_COMMAND}`; export r; \
42902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42903 $(RAW_CXX_TARGET_EXPORTS) \
42904 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
42905 for flag in $(EXTRA_TARGET_FLAGS); do \
42906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42907 done; \
42908 (cd $(TARGET_SUBDIR)/libsanitizer && \
42909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42911 "RANLIB=$${RANLIB}" \
42912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42913 install-info) \
42914 || exit 1
42916 @endif target-libsanitizer
42918 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
42919 maybe-install-pdf-target-libsanitizer:
42920 @if target-libsanitizer
42921 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
42923 install-pdf-target-libsanitizer: \
42924 configure-target-libsanitizer \
42925 pdf-target-libsanitizer
42926 @: $(MAKE); $(unstage)
42927 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42928 r=`${PWD_COMMAND}`; export r; \
42929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42930 $(RAW_CXX_TARGET_EXPORTS) \
42931 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
42932 for flag in $(EXTRA_TARGET_FLAGS); do \
42933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42934 done; \
42935 (cd $(TARGET_SUBDIR)/libsanitizer && \
42936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42938 "RANLIB=$${RANLIB}" \
42939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42940 install-pdf) \
42941 || exit 1
42943 @endif target-libsanitizer
42945 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
42946 maybe-install-html-target-libsanitizer:
42947 @if target-libsanitizer
42948 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
42950 install-html-target-libsanitizer: \
42951 configure-target-libsanitizer \
42952 html-target-libsanitizer
42953 @: $(MAKE); $(unstage)
42954 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42955 r=`${PWD_COMMAND}`; export r; \
42956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42957 $(RAW_CXX_TARGET_EXPORTS) \
42958 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
42959 for flag in $(EXTRA_TARGET_FLAGS); do \
42960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42961 done; \
42962 (cd $(TARGET_SUBDIR)/libsanitizer && \
42963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42965 "RANLIB=$${RANLIB}" \
42966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42967 install-html) \
42968 || exit 1
42970 @endif target-libsanitizer
42972 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
42973 maybe-installcheck-target-libsanitizer:
42974 @if target-libsanitizer
42975 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
42977 installcheck-target-libsanitizer: \
42978 configure-target-libsanitizer
42979 @: $(MAKE); $(unstage)
42980 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42981 r=`${PWD_COMMAND}`; export r; \
42982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42983 $(RAW_CXX_TARGET_EXPORTS) \
42984 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
42985 for flag in $(EXTRA_TARGET_FLAGS); do \
42986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42987 done; \
42988 (cd $(TARGET_SUBDIR)/libsanitizer && \
42989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42991 "RANLIB=$${RANLIB}" \
42992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42993 installcheck) \
42994 || exit 1
42996 @endif target-libsanitizer
42998 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
42999 maybe-mostlyclean-target-libsanitizer:
43000 @if target-libsanitizer
43001 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
43003 mostlyclean-target-libsanitizer:
43004 @: $(MAKE); $(unstage)
43005 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
43006 r=`${PWD_COMMAND}`; export r; \
43007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43008 $(RAW_CXX_TARGET_EXPORTS) \
43009 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
43010 for flag in $(EXTRA_TARGET_FLAGS); do \
43011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43012 done; \
43013 (cd $(TARGET_SUBDIR)/libsanitizer && \
43014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43016 "RANLIB=$${RANLIB}" \
43017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43018 mostlyclean) \
43019 || exit 1
43021 @endif target-libsanitizer
43023 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
43024 maybe-clean-target-libsanitizer:
43025 @if target-libsanitizer
43026 maybe-clean-target-libsanitizer: clean-target-libsanitizer
43028 clean-target-libsanitizer:
43029 @: $(MAKE); $(unstage)
43030 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
43031 r=`${PWD_COMMAND}`; export r; \
43032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43033 $(RAW_CXX_TARGET_EXPORTS) \
43034 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
43035 for flag in $(EXTRA_TARGET_FLAGS); do \
43036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43037 done; \
43038 (cd $(TARGET_SUBDIR)/libsanitizer && \
43039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43041 "RANLIB=$${RANLIB}" \
43042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43043 clean) \
43044 || exit 1
43046 @endif target-libsanitizer
43048 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
43049 maybe-distclean-target-libsanitizer:
43050 @if target-libsanitizer
43051 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
43053 distclean-target-libsanitizer:
43054 @: $(MAKE); $(unstage)
43055 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
43056 r=`${PWD_COMMAND}`; export r; \
43057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43058 $(RAW_CXX_TARGET_EXPORTS) \
43059 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
43060 for flag in $(EXTRA_TARGET_FLAGS); do \
43061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43062 done; \
43063 (cd $(TARGET_SUBDIR)/libsanitizer && \
43064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43066 "RANLIB=$${RANLIB}" \
43067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43068 distclean) \
43069 || exit 1
43071 @endif target-libsanitizer
43073 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
43074 maybe-maintainer-clean-target-libsanitizer:
43075 @if target-libsanitizer
43076 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
43078 maintainer-clean-target-libsanitizer:
43079 @: $(MAKE); $(unstage)
43080 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
43081 r=`${PWD_COMMAND}`; export r; \
43082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43083 $(RAW_CXX_TARGET_EXPORTS) \
43084 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
43085 for flag in $(EXTRA_TARGET_FLAGS); do \
43086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43087 done; \
43088 (cd $(TARGET_SUBDIR)/libsanitizer && \
43089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43091 "RANLIB=$${RANLIB}" \
43092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43093 maintainer-clean) \
43094 || exit 1
43096 @endif target-libsanitizer
43102 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
43103 maybe-configure-target-libvtv:
43104 @if gcc-bootstrap
43105 configure-target-libvtv: stage_current
43106 @endif gcc-bootstrap
43107 @if target-libvtv
43108 maybe-configure-target-libvtv: configure-target-libvtv
43109 configure-target-libvtv:
43110 @r=`${PWD_COMMAND}`; export r; \
43111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43112 echo "Checking multilib configuration for libvtv..."; \
43113 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43114 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43115 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43116 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43117 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43118 else \
43119 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43120 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43121 fi; \
43122 else \
43123 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43124 fi; \
43125 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43126 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43127 $(RAW_CXX_TARGET_EXPORTS) \
43128 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
43129 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
43130 case $(srcdir) in \
43131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43132 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43134 esac; \
43135 module_srcdir=libvtv; \
43136 rm -f no-such-file || : ; \
43137 CONFIG_SITE=no-such-file $(SHELL) \
43138 $$s/$$module_srcdir/configure \
43139 --srcdir=$${topdir}/$$module_srcdir \
43140 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43141 --target=${target_alias} \
43142 || exit 1
43143 @endif target-libvtv
43147 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
43148 maybe-configure-stage1-target-libvtv:
43149 @if target-libvtv-bootstrap
43150 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
43151 configure-stage1-target-libvtv:
43152 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43153 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43154 @r=`${PWD_COMMAND}`; export r; \
43155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43156 TFLAGS="$(STAGE1_TFLAGS)"; \
43157 echo "Checking multilib configuration for libvtv..."; \
43158 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43159 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43160 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43161 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43162 else \
43163 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43164 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43165 fi; \
43166 else \
43167 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43168 fi; \
43169 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43170 $(RAW_CXX_TARGET_EXPORTS) \
43171 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43172 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43173 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43174 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
43175 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43176 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43177 case $(srcdir) in \
43178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43179 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43181 esac; \
43182 module_srcdir=libvtv; \
43183 $(SHELL) $$s/$$module_srcdir/configure \
43184 --srcdir=$${topdir}/$$module_srcdir \
43185 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43186 --target=${target_alias} \
43188 $(STAGE1_CONFIGURE_FLAGS)
43189 @endif target-libvtv-bootstrap
43191 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
43192 maybe-configure-stage2-target-libvtv:
43193 @if target-libvtv-bootstrap
43194 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
43195 configure-stage2-target-libvtv:
43196 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43197 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43198 @r=`${PWD_COMMAND}`; export r; \
43199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43200 TFLAGS="$(STAGE2_TFLAGS)"; \
43201 echo "Checking multilib configuration for libvtv..."; \
43202 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43203 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43204 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43205 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43206 else \
43207 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43208 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43209 fi; \
43210 else \
43211 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43212 fi; \
43213 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43214 $(RAW_CXX_TARGET_EXPORTS) \
43216 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43219 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
43220 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43221 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43222 case $(srcdir) in \
43223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43224 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43226 esac; \
43227 module_srcdir=libvtv; \
43228 $(SHELL) $$s/$$module_srcdir/configure \
43229 --srcdir=$${topdir}/$$module_srcdir \
43230 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43231 --target=${target_alias} \
43232 --with-build-libsubdir=$(HOST_SUBDIR) \
43233 $(STAGE2_CONFIGURE_FLAGS)
43234 @endif target-libvtv-bootstrap
43236 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
43237 maybe-configure-stage3-target-libvtv:
43238 @if target-libvtv-bootstrap
43239 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
43240 configure-stage3-target-libvtv:
43241 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43242 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43243 @r=`${PWD_COMMAND}`; export r; \
43244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43245 TFLAGS="$(STAGE3_TFLAGS)"; \
43246 echo "Checking multilib configuration for libvtv..."; \
43247 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43248 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43249 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43250 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43251 else \
43252 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43253 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43254 fi; \
43255 else \
43256 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43257 fi; \
43258 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43259 $(RAW_CXX_TARGET_EXPORTS) \
43261 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43262 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43263 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43264 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
43265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43266 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43267 case $(srcdir) in \
43268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43269 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43271 esac; \
43272 module_srcdir=libvtv; \
43273 $(SHELL) $$s/$$module_srcdir/configure \
43274 --srcdir=$${topdir}/$$module_srcdir \
43275 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43276 --target=${target_alias} \
43277 --with-build-libsubdir=$(HOST_SUBDIR) \
43278 $(STAGE3_CONFIGURE_FLAGS)
43279 @endif target-libvtv-bootstrap
43281 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
43282 maybe-configure-stage4-target-libvtv:
43283 @if target-libvtv-bootstrap
43284 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
43285 configure-stage4-target-libvtv:
43286 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43287 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43288 @r=`${PWD_COMMAND}`; export r; \
43289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43290 TFLAGS="$(STAGE4_TFLAGS)"; \
43291 echo "Checking multilib configuration for libvtv..."; \
43292 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43293 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43294 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43295 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43296 else \
43297 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43298 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43299 fi; \
43300 else \
43301 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43302 fi; \
43303 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43304 $(RAW_CXX_TARGET_EXPORTS) \
43306 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43308 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43309 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
43310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43311 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43312 case $(srcdir) in \
43313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43314 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43316 esac; \
43317 module_srcdir=libvtv; \
43318 $(SHELL) $$s/$$module_srcdir/configure \
43319 --srcdir=$${topdir}/$$module_srcdir \
43320 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43321 --target=${target_alias} \
43322 --with-build-libsubdir=$(HOST_SUBDIR) \
43323 $(STAGE4_CONFIGURE_FLAGS)
43324 @endif target-libvtv-bootstrap
43326 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
43327 maybe-configure-stageprofile-target-libvtv:
43328 @if target-libvtv-bootstrap
43329 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
43330 configure-stageprofile-target-libvtv:
43331 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43332 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43333 @r=`${PWD_COMMAND}`; export r; \
43334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43335 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43336 echo "Checking multilib configuration for libvtv..."; \
43337 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43338 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43339 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43340 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43341 else \
43342 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43343 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43344 fi; \
43345 else \
43346 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43347 fi; \
43348 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43349 $(RAW_CXX_TARGET_EXPORTS) \
43351 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43352 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43353 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43354 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
43355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43356 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43357 case $(srcdir) in \
43358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43359 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43361 esac; \
43362 module_srcdir=libvtv; \
43363 $(SHELL) $$s/$$module_srcdir/configure \
43364 --srcdir=$${topdir}/$$module_srcdir \
43365 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43366 --target=${target_alias} \
43367 --with-build-libsubdir=$(HOST_SUBDIR) \
43368 $(STAGEprofile_CONFIGURE_FLAGS)
43369 @endif target-libvtv-bootstrap
43371 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
43372 maybe-configure-stagetrain-target-libvtv:
43373 @if target-libvtv-bootstrap
43374 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
43375 configure-stagetrain-target-libvtv:
43376 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43377 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43378 @r=`${PWD_COMMAND}`; export r; \
43379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43380 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43381 echo "Checking multilib configuration for libvtv..."; \
43382 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43383 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43384 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43385 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43386 else \
43387 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43388 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43389 fi; \
43390 else \
43391 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43392 fi; \
43393 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43394 $(RAW_CXX_TARGET_EXPORTS) \
43396 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43397 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43398 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43399 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
43400 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43401 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43402 case $(srcdir) in \
43403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43404 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43406 esac; \
43407 module_srcdir=libvtv; \
43408 $(SHELL) $$s/$$module_srcdir/configure \
43409 --srcdir=$${topdir}/$$module_srcdir \
43410 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43411 --target=${target_alias} \
43412 --with-build-libsubdir=$(HOST_SUBDIR) \
43413 $(STAGEtrain_CONFIGURE_FLAGS)
43414 @endif target-libvtv-bootstrap
43416 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
43417 maybe-configure-stagefeedback-target-libvtv:
43418 @if target-libvtv-bootstrap
43419 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
43420 configure-stagefeedback-target-libvtv:
43421 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43422 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43423 @r=`${PWD_COMMAND}`; export r; \
43424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43425 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43426 echo "Checking multilib configuration for libvtv..."; \
43427 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43428 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43429 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43430 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43431 else \
43432 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43433 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43434 fi; \
43435 else \
43436 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43437 fi; \
43438 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43439 $(RAW_CXX_TARGET_EXPORTS) \
43441 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43442 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43443 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43444 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
43445 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43446 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43447 case $(srcdir) in \
43448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43449 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43451 esac; \
43452 module_srcdir=libvtv; \
43453 $(SHELL) $$s/$$module_srcdir/configure \
43454 --srcdir=$${topdir}/$$module_srcdir \
43455 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43456 --target=${target_alias} \
43457 --with-build-libsubdir=$(HOST_SUBDIR) \
43458 $(STAGEfeedback_CONFIGURE_FLAGS)
43459 @endif target-libvtv-bootstrap
43461 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
43462 maybe-configure-stageautoprofile-target-libvtv:
43463 @if target-libvtv-bootstrap
43464 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
43465 configure-stageautoprofile-target-libvtv:
43466 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43467 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43468 @r=`${PWD_COMMAND}`; export r; \
43469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43470 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43471 echo "Checking multilib configuration for libvtv..."; \
43472 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43473 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43474 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43475 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43476 else \
43477 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43478 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43479 fi; \
43480 else \
43481 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43482 fi; \
43483 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43484 $(RAW_CXX_TARGET_EXPORTS) \
43486 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43487 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43488 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43489 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
43490 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43491 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43492 case $(srcdir) in \
43493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43494 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43496 esac; \
43497 module_srcdir=libvtv; \
43498 $(SHELL) $$s/$$module_srcdir/configure \
43499 --srcdir=$${topdir}/$$module_srcdir \
43500 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43501 --target=${target_alias} \
43502 --with-build-libsubdir=$(HOST_SUBDIR) \
43503 $(STAGEautoprofile_CONFIGURE_FLAGS)
43504 @endif target-libvtv-bootstrap
43506 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
43507 maybe-configure-stageautofeedback-target-libvtv:
43508 @if target-libvtv-bootstrap
43509 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
43510 configure-stageautofeedback-target-libvtv:
43511 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43512 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
43513 @r=`${PWD_COMMAND}`; export r; \
43514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43515 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43516 echo "Checking multilib configuration for libvtv..."; \
43517 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
43518 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43519 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
43520 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
43521 else \
43522 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
43523 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43524 fi; \
43525 else \
43526 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
43527 fi; \
43528 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
43529 $(RAW_CXX_TARGET_EXPORTS) \
43531 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43532 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43533 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43534 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
43535 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
43536 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
43537 case $(srcdir) in \
43538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43539 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
43540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43541 esac; \
43542 module_srcdir=libvtv; \
43543 $(SHELL) $$s/$$module_srcdir/configure \
43544 --srcdir=$${topdir}/$$module_srcdir \
43545 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43546 --target=${target_alias} \
43547 --with-build-libsubdir=$(HOST_SUBDIR) \
43548 $(STAGEautofeedback_CONFIGURE_FLAGS)
43549 @endif target-libvtv-bootstrap
43555 .PHONY: all-target-libvtv maybe-all-target-libvtv
43556 maybe-all-target-libvtv:
43557 @if gcc-bootstrap
43558 all-target-libvtv: stage_current
43559 @endif gcc-bootstrap
43560 @if target-libvtv
43561 TARGET-target-libvtv=all
43562 maybe-all-target-libvtv: all-target-libvtv
43563 all-target-libvtv: configure-target-libvtv
43564 @r=`${PWD_COMMAND}`; export r; \
43565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43566 $(RAW_CXX_TARGET_EXPORTS) \
43567 (cd $(TARGET_SUBDIR)/libvtv && \
43568 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43569 $(TARGET-target-libvtv))
43570 @endif target-libvtv
43574 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
43575 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
43576 maybe-all-stage1-target-libvtv:
43577 maybe-clean-stage1-target-libvtv:
43578 @if target-libvtv-bootstrap
43579 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
43580 all-stage1: all-stage1-target-libvtv
43581 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
43582 all-stage1-target-libvtv: configure-stage1-target-libvtv
43583 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43584 @r=`${PWD_COMMAND}`; export r; \
43585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43586 TFLAGS="$(STAGE1_TFLAGS)"; \
43587 $(RAW_CXX_TARGET_EXPORTS) \
43588 cd $(TARGET_SUBDIR)/libvtv && \
43590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43591 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43592 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43593 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43594 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43595 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43596 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43597 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43599 TFLAGS="$(STAGE1_TFLAGS)" \
43600 $(TARGET-stage1-target-libvtv)
43602 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
43603 clean-stage1: clean-stage1-target-libvtv
43604 clean-stage1-target-libvtv:
43605 @if [ $(current_stage) = stage1 ]; then \
43606 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43607 else \
43608 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
43609 $(MAKE) stage1-start; \
43610 fi; \
43611 cd $(TARGET_SUBDIR)/libvtv && \
43612 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43613 clean
43614 @endif target-libvtv-bootstrap
43617 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
43618 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
43619 maybe-all-stage2-target-libvtv:
43620 maybe-clean-stage2-target-libvtv:
43621 @if target-libvtv-bootstrap
43622 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
43623 all-stage2: all-stage2-target-libvtv
43624 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
43625 all-stage2-target-libvtv: configure-stage2-target-libvtv
43626 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43627 @r=`${PWD_COMMAND}`; export r; \
43628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43629 TFLAGS="$(STAGE2_TFLAGS)"; \
43630 $(RAW_CXX_TARGET_EXPORTS) \
43632 cd $(TARGET_SUBDIR)/libvtv && \
43634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43635 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43636 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43637 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43641 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43642 TFLAGS="$(STAGE2_TFLAGS)" \
43643 $(TARGET-stage2-target-libvtv)
43645 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
43646 clean-stage2: clean-stage2-target-libvtv
43647 clean-stage2-target-libvtv:
43648 @if [ $(current_stage) = stage2 ]; then \
43649 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43650 else \
43651 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
43652 $(MAKE) stage2-start; \
43653 fi; \
43654 cd $(TARGET_SUBDIR)/libvtv && \
43655 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43656 @endif target-libvtv-bootstrap
43659 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
43660 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
43661 maybe-all-stage3-target-libvtv:
43662 maybe-clean-stage3-target-libvtv:
43663 @if target-libvtv-bootstrap
43664 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
43665 all-stage3: all-stage3-target-libvtv
43666 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
43667 all-stage3-target-libvtv: configure-stage3-target-libvtv
43668 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43669 @r=`${PWD_COMMAND}`; export r; \
43670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43671 TFLAGS="$(STAGE3_TFLAGS)"; \
43672 $(RAW_CXX_TARGET_EXPORTS) \
43674 cd $(TARGET_SUBDIR)/libvtv && \
43676 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43677 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43678 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43679 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43680 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43681 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43682 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43683 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43684 TFLAGS="$(STAGE3_TFLAGS)" \
43685 $(TARGET-stage3-target-libvtv)
43687 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
43688 clean-stage3: clean-stage3-target-libvtv
43689 clean-stage3-target-libvtv:
43690 @if [ $(current_stage) = stage3 ]; then \
43691 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43692 else \
43693 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
43694 $(MAKE) stage3-start; \
43695 fi; \
43696 cd $(TARGET_SUBDIR)/libvtv && \
43697 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43698 @endif target-libvtv-bootstrap
43701 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
43702 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
43703 maybe-all-stage4-target-libvtv:
43704 maybe-clean-stage4-target-libvtv:
43705 @if target-libvtv-bootstrap
43706 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
43707 all-stage4: all-stage4-target-libvtv
43708 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
43709 all-stage4-target-libvtv: configure-stage4-target-libvtv
43710 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43711 @r=`${PWD_COMMAND}`; export r; \
43712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43713 TFLAGS="$(STAGE4_TFLAGS)"; \
43714 $(RAW_CXX_TARGET_EXPORTS) \
43716 cd $(TARGET_SUBDIR)/libvtv && \
43718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43719 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43720 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43721 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43725 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43726 TFLAGS="$(STAGE4_TFLAGS)" \
43727 $(TARGET-stage4-target-libvtv)
43729 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
43730 clean-stage4: clean-stage4-target-libvtv
43731 clean-stage4-target-libvtv:
43732 @if [ $(current_stage) = stage4 ]; then \
43733 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43734 else \
43735 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
43736 $(MAKE) stage4-start; \
43737 fi; \
43738 cd $(TARGET_SUBDIR)/libvtv && \
43739 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43740 @endif target-libvtv-bootstrap
43743 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
43744 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
43745 maybe-all-stageprofile-target-libvtv:
43746 maybe-clean-stageprofile-target-libvtv:
43747 @if target-libvtv-bootstrap
43748 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
43749 all-stageprofile: all-stageprofile-target-libvtv
43750 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
43751 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
43752 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43753 @r=`${PWD_COMMAND}`; export r; \
43754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43755 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43756 $(RAW_CXX_TARGET_EXPORTS) \
43758 cd $(TARGET_SUBDIR)/libvtv && \
43760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43761 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43762 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43763 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43764 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43765 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43766 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43767 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43768 TFLAGS="$(STAGEprofile_TFLAGS)" \
43769 $(TARGET-stageprofile-target-libvtv)
43771 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
43772 clean-stageprofile: clean-stageprofile-target-libvtv
43773 clean-stageprofile-target-libvtv:
43774 @if [ $(current_stage) = stageprofile ]; then \
43775 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43776 else \
43777 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
43778 $(MAKE) stageprofile-start; \
43779 fi; \
43780 cd $(TARGET_SUBDIR)/libvtv && \
43781 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43782 @endif target-libvtv-bootstrap
43785 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
43786 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
43787 maybe-all-stagetrain-target-libvtv:
43788 maybe-clean-stagetrain-target-libvtv:
43789 @if target-libvtv-bootstrap
43790 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
43791 all-stagetrain: all-stagetrain-target-libvtv
43792 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
43793 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
43794 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43795 @r=`${PWD_COMMAND}`; export r; \
43796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43797 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43798 $(RAW_CXX_TARGET_EXPORTS) \
43800 cd $(TARGET_SUBDIR)/libvtv && \
43802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43803 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43804 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43805 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43809 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43810 TFLAGS="$(STAGEtrain_TFLAGS)" \
43811 $(TARGET-stagetrain-target-libvtv)
43813 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
43814 clean-stagetrain: clean-stagetrain-target-libvtv
43815 clean-stagetrain-target-libvtv:
43816 @if [ $(current_stage) = stagetrain ]; then \
43817 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43818 else \
43819 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
43820 $(MAKE) stagetrain-start; \
43821 fi; \
43822 cd $(TARGET_SUBDIR)/libvtv && \
43823 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43824 @endif target-libvtv-bootstrap
43827 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
43828 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
43829 maybe-all-stagefeedback-target-libvtv:
43830 maybe-clean-stagefeedback-target-libvtv:
43831 @if target-libvtv-bootstrap
43832 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
43833 all-stagefeedback: all-stagefeedback-target-libvtv
43834 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
43835 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
43836 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43837 @r=`${PWD_COMMAND}`; export r; \
43838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43839 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43840 $(RAW_CXX_TARGET_EXPORTS) \
43842 cd $(TARGET_SUBDIR)/libvtv && \
43844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43845 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43846 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43847 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43851 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43852 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43853 $(TARGET-stagefeedback-target-libvtv)
43855 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
43856 clean-stagefeedback: clean-stagefeedback-target-libvtv
43857 clean-stagefeedback-target-libvtv:
43858 @if [ $(current_stage) = stagefeedback ]; then \
43859 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43860 else \
43861 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
43862 $(MAKE) stagefeedback-start; \
43863 fi; \
43864 cd $(TARGET_SUBDIR)/libvtv && \
43865 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43866 @endif target-libvtv-bootstrap
43869 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
43870 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
43871 maybe-all-stageautoprofile-target-libvtv:
43872 maybe-clean-stageautoprofile-target-libvtv:
43873 @if target-libvtv-bootstrap
43874 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
43875 all-stageautoprofile: all-stageautoprofile-target-libvtv
43876 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
43877 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
43878 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43879 @r=`${PWD_COMMAND}`; export r; \
43880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43881 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43882 $(RAW_CXX_TARGET_EXPORTS) \
43884 cd $(TARGET_SUBDIR)/libvtv && \
43885 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43887 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43888 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43889 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43893 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43894 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43895 $(TARGET-stageautoprofile-target-libvtv)
43897 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
43898 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
43899 clean-stageautoprofile-target-libvtv:
43900 @if [ $(current_stage) = stageautoprofile ]; then \
43901 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43902 else \
43903 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
43904 $(MAKE) stageautoprofile-start; \
43905 fi; \
43906 cd $(TARGET_SUBDIR)/libvtv && \
43907 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43908 @endif target-libvtv-bootstrap
43911 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
43912 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
43913 maybe-all-stageautofeedback-target-libvtv:
43914 maybe-clean-stageautofeedback-target-libvtv:
43915 @if target-libvtv-bootstrap
43916 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
43917 all-stageautofeedback: all-stageautofeedback-target-libvtv
43918 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
43919 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
43920 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43921 @r=`${PWD_COMMAND}`; export r; \
43922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43923 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43924 $(RAW_CXX_TARGET_EXPORTS) \
43926 cd $(TARGET_SUBDIR)/libvtv && \
43928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43929 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43930 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43931 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43935 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43936 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43937 $(TARGET-stageautofeedback-target-libvtv)
43939 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
43940 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
43941 clean-stageautofeedback-target-libvtv:
43942 @if [ $(current_stage) = stageautofeedback ]; then \
43943 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43944 else \
43945 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
43946 $(MAKE) stageautofeedback-start; \
43947 fi; \
43948 cd $(TARGET_SUBDIR)/libvtv && \
43949 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43950 @endif target-libvtv-bootstrap
43957 .PHONY: check-target-libvtv maybe-check-target-libvtv
43958 maybe-check-target-libvtv:
43959 @if target-libvtv
43960 maybe-check-target-libvtv: check-target-libvtv
43962 check-target-libvtv:
43963 @: $(MAKE); $(unstage)
43964 @r=`${PWD_COMMAND}`; export r; \
43965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43966 $(RAW_CXX_TARGET_EXPORTS) \
43967 (cd $(TARGET_SUBDIR)/libvtv && \
43968 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
43970 @endif target-libvtv
43972 .PHONY: install-target-libvtv maybe-install-target-libvtv
43973 maybe-install-target-libvtv:
43974 @if target-libvtv
43975 maybe-install-target-libvtv: install-target-libvtv
43977 install-target-libvtv: installdirs
43978 @: $(MAKE); $(unstage)
43979 @r=`${PWD_COMMAND}`; export r; \
43980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43981 $(RAW_CXX_TARGET_EXPORTS) \
43982 (cd $(TARGET_SUBDIR)/libvtv && \
43983 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43985 @endif target-libvtv
43987 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
43988 maybe-install-strip-target-libvtv:
43989 @if target-libvtv
43990 maybe-install-strip-target-libvtv: install-strip-target-libvtv
43992 install-strip-target-libvtv: installdirs
43993 @: $(MAKE); $(unstage)
43994 @r=`${PWD_COMMAND}`; export r; \
43995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43996 $(RAW_CXX_TARGET_EXPORTS) \
43997 (cd $(TARGET_SUBDIR)/libvtv && \
43998 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44000 @endif target-libvtv
44002 # Other targets (info, dvi, pdf, etc.)
44004 .PHONY: maybe-info-target-libvtv info-target-libvtv
44005 maybe-info-target-libvtv:
44006 @if target-libvtv
44007 maybe-info-target-libvtv: info-target-libvtv
44009 info-target-libvtv: \
44010 configure-target-libvtv
44011 @: $(MAKE); $(unstage)
44012 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44013 r=`${PWD_COMMAND}`; export r; \
44014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44015 $(RAW_CXX_TARGET_EXPORTS) \
44016 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
44017 for flag in $(EXTRA_TARGET_FLAGS); do \
44018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44019 done; \
44020 (cd $(TARGET_SUBDIR)/libvtv && \
44021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44023 "RANLIB=$${RANLIB}" \
44024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44025 info) \
44026 || exit 1
44028 @endif target-libvtv
44030 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
44031 maybe-dvi-target-libvtv:
44032 @if target-libvtv
44033 maybe-dvi-target-libvtv: dvi-target-libvtv
44035 dvi-target-libvtv: \
44036 configure-target-libvtv
44037 @: $(MAKE); $(unstage)
44038 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44039 r=`${PWD_COMMAND}`; export r; \
44040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44041 $(RAW_CXX_TARGET_EXPORTS) \
44042 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
44043 for flag in $(EXTRA_TARGET_FLAGS); do \
44044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44045 done; \
44046 (cd $(TARGET_SUBDIR)/libvtv && \
44047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44049 "RANLIB=$${RANLIB}" \
44050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44051 dvi) \
44052 || exit 1
44054 @endif target-libvtv
44056 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
44057 maybe-pdf-target-libvtv:
44058 @if target-libvtv
44059 maybe-pdf-target-libvtv: pdf-target-libvtv
44061 pdf-target-libvtv: \
44062 configure-target-libvtv
44063 @: $(MAKE); $(unstage)
44064 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44065 r=`${PWD_COMMAND}`; export r; \
44066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44067 $(RAW_CXX_TARGET_EXPORTS) \
44068 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
44069 for flag in $(EXTRA_TARGET_FLAGS); do \
44070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44071 done; \
44072 (cd $(TARGET_SUBDIR)/libvtv && \
44073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44075 "RANLIB=$${RANLIB}" \
44076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44077 pdf) \
44078 || exit 1
44080 @endif target-libvtv
44082 .PHONY: maybe-html-target-libvtv html-target-libvtv
44083 maybe-html-target-libvtv:
44084 @if target-libvtv
44085 maybe-html-target-libvtv: html-target-libvtv
44087 html-target-libvtv: \
44088 configure-target-libvtv
44089 @: $(MAKE); $(unstage)
44090 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44091 r=`${PWD_COMMAND}`; export r; \
44092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44093 $(RAW_CXX_TARGET_EXPORTS) \
44094 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
44095 for flag in $(EXTRA_TARGET_FLAGS); do \
44096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44097 done; \
44098 (cd $(TARGET_SUBDIR)/libvtv && \
44099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44101 "RANLIB=$${RANLIB}" \
44102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44103 html) \
44104 || exit 1
44106 @endif target-libvtv
44108 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
44109 maybe-TAGS-target-libvtv:
44110 @if target-libvtv
44111 maybe-TAGS-target-libvtv: TAGS-target-libvtv
44113 TAGS-target-libvtv: \
44114 configure-target-libvtv
44115 @: $(MAKE); $(unstage)
44116 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44117 r=`${PWD_COMMAND}`; export r; \
44118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44119 $(RAW_CXX_TARGET_EXPORTS) \
44120 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
44121 for flag in $(EXTRA_TARGET_FLAGS); do \
44122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44123 done; \
44124 (cd $(TARGET_SUBDIR)/libvtv && \
44125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44127 "RANLIB=$${RANLIB}" \
44128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44129 TAGS) \
44130 || exit 1
44132 @endif target-libvtv
44134 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
44135 maybe-install-info-target-libvtv:
44136 @if target-libvtv
44137 maybe-install-info-target-libvtv: install-info-target-libvtv
44139 install-info-target-libvtv: \
44140 configure-target-libvtv \
44141 info-target-libvtv
44142 @: $(MAKE); $(unstage)
44143 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44144 r=`${PWD_COMMAND}`; export r; \
44145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44146 $(RAW_CXX_TARGET_EXPORTS) \
44147 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
44148 for flag in $(EXTRA_TARGET_FLAGS); do \
44149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44150 done; \
44151 (cd $(TARGET_SUBDIR)/libvtv && \
44152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44154 "RANLIB=$${RANLIB}" \
44155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44156 install-info) \
44157 || exit 1
44159 @endif target-libvtv
44161 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
44162 maybe-install-pdf-target-libvtv:
44163 @if target-libvtv
44164 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
44166 install-pdf-target-libvtv: \
44167 configure-target-libvtv \
44168 pdf-target-libvtv
44169 @: $(MAKE); $(unstage)
44170 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44171 r=`${PWD_COMMAND}`; export r; \
44172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44173 $(RAW_CXX_TARGET_EXPORTS) \
44174 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
44175 for flag in $(EXTRA_TARGET_FLAGS); do \
44176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44177 done; \
44178 (cd $(TARGET_SUBDIR)/libvtv && \
44179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44181 "RANLIB=$${RANLIB}" \
44182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44183 install-pdf) \
44184 || exit 1
44186 @endif target-libvtv
44188 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
44189 maybe-install-html-target-libvtv:
44190 @if target-libvtv
44191 maybe-install-html-target-libvtv: install-html-target-libvtv
44193 install-html-target-libvtv: \
44194 configure-target-libvtv \
44195 html-target-libvtv
44196 @: $(MAKE); $(unstage)
44197 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44198 r=`${PWD_COMMAND}`; export r; \
44199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44200 $(RAW_CXX_TARGET_EXPORTS) \
44201 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
44202 for flag in $(EXTRA_TARGET_FLAGS); do \
44203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44204 done; \
44205 (cd $(TARGET_SUBDIR)/libvtv && \
44206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44208 "RANLIB=$${RANLIB}" \
44209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44210 install-html) \
44211 || exit 1
44213 @endif target-libvtv
44215 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
44216 maybe-installcheck-target-libvtv:
44217 @if target-libvtv
44218 maybe-installcheck-target-libvtv: installcheck-target-libvtv
44220 installcheck-target-libvtv: \
44221 configure-target-libvtv
44222 @: $(MAKE); $(unstage)
44223 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44224 r=`${PWD_COMMAND}`; export r; \
44225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44226 $(RAW_CXX_TARGET_EXPORTS) \
44227 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
44228 for flag in $(EXTRA_TARGET_FLAGS); do \
44229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44230 done; \
44231 (cd $(TARGET_SUBDIR)/libvtv && \
44232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44234 "RANLIB=$${RANLIB}" \
44235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44236 installcheck) \
44237 || exit 1
44239 @endif target-libvtv
44241 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
44242 maybe-mostlyclean-target-libvtv:
44243 @if target-libvtv
44244 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
44246 mostlyclean-target-libvtv:
44247 @: $(MAKE); $(unstage)
44248 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44249 r=`${PWD_COMMAND}`; export r; \
44250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44251 $(RAW_CXX_TARGET_EXPORTS) \
44252 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
44253 for flag in $(EXTRA_TARGET_FLAGS); do \
44254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44255 done; \
44256 (cd $(TARGET_SUBDIR)/libvtv && \
44257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44259 "RANLIB=$${RANLIB}" \
44260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44261 mostlyclean) \
44262 || exit 1
44264 @endif target-libvtv
44266 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
44267 maybe-clean-target-libvtv:
44268 @if target-libvtv
44269 maybe-clean-target-libvtv: clean-target-libvtv
44271 clean-target-libvtv:
44272 @: $(MAKE); $(unstage)
44273 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44274 r=`${PWD_COMMAND}`; export r; \
44275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44276 $(RAW_CXX_TARGET_EXPORTS) \
44277 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
44278 for flag in $(EXTRA_TARGET_FLAGS); do \
44279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44280 done; \
44281 (cd $(TARGET_SUBDIR)/libvtv && \
44282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44284 "RANLIB=$${RANLIB}" \
44285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44286 clean) \
44287 || exit 1
44289 @endif target-libvtv
44291 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
44292 maybe-distclean-target-libvtv:
44293 @if target-libvtv
44294 maybe-distclean-target-libvtv: distclean-target-libvtv
44296 distclean-target-libvtv:
44297 @: $(MAKE); $(unstage)
44298 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44299 r=`${PWD_COMMAND}`; export r; \
44300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44301 $(RAW_CXX_TARGET_EXPORTS) \
44302 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
44303 for flag in $(EXTRA_TARGET_FLAGS); do \
44304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44305 done; \
44306 (cd $(TARGET_SUBDIR)/libvtv && \
44307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44309 "RANLIB=$${RANLIB}" \
44310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44311 distclean) \
44312 || exit 1
44314 @endif target-libvtv
44316 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
44317 maybe-maintainer-clean-target-libvtv:
44318 @if target-libvtv
44319 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
44321 maintainer-clean-target-libvtv:
44322 @: $(MAKE); $(unstage)
44323 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
44324 r=`${PWD_COMMAND}`; export r; \
44325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44326 $(RAW_CXX_TARGET_EXPORTS) \
44327 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
44328 for flag in $(EXTRA_TARGET_FLAGS); do \
44329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44330 done; \
44331 (cd $(TARGET_SUBDIR)/libvtv && \
44332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44334 "RANLIB=$${RANLIB}" \
44335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44336 maintainer-clean) \
44337 || exit 1
44339 @endif target-libvtv
44345 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
44346 maybe-configure-target-liboffloadmic:
44347 @if gcc-bootstrap
44348 configure-target-liboffloadmic: stage_current
44349 @endif gcc-bootstrap
44350 @if target-liboffloadmic
44351 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
44352 configure-target-liboffloadmic:
44353 @: $(MAKE); $(unstage)
44354 @r=`${PWD_COMMAND}`; export r; \
44355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44356 echo "Checking multilib configuration for liboffloadmic..."; \
44357 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
44358 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
44359 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
44360 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
44361 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
44362 else \
44363 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
44364 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
44365 fi; \
44366 else \
44367 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
44368 fi; \
44369 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
44370 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
44371 $(NORMAL_TARGET_EXPORTS) \
44372 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
44373 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
44374 case $(srcdir) in \
44375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44376 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
44377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44378 esac; \
44379 module_srcdir=liboffloadmic; \
44380 rm -f no-such-file || : ; \
44381 CONFIG_SITE=no-such-file $(SHELL) \
44382 $$s/$$module_srcdir/configure \
44383 --srcdir=$${topdir}/$$module_srcdir \
44384 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44385 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
44386 || exit 1
44387 @endif target-liboffloadmic
44393 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
44394 maybe-all-target-liboffloadmic:
44395 @if gcc-bootstrap
44396 all-target-liboffloadmic: stage_current
44397 @endif gcc-bootstrap
44398 @if target-liboffloadmic
44399 TARGET-target-liboffloadmic=all
44400 maybe-all-target-liboffloadmic: all-target-liboffloadmic
44401 all-target-liboffloadmic: configure-target-liboffloadmic
44402 @: $(MAKE); $(unstage)
44403 @r=`${PWD_COMMAND}`; export r; \
44404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44405 $(NORMAL_TARGET_EXPORTS) \
44406 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44407 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44408 $(TARGET-target-liboffloadmic))
44409 @endif target-liboffloadmic
44415 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
44416 maybe-check-target-liboffloadmic:
44417 @if target-liboffloadmic
44418 maybe-check-target-liboffloadmic: check-target-liboffloadmic
44420 check-target-liboffloadmic:
44421 @: $(MAKE); $(unstage)
44422 @r=`${PWD_COMMAND}`; export r; \
44423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44424 $(NORMAL_TARGET_EXPORTS) \
44425 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44426 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44428 @endif target-liboffloadmic
44430 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
44431 maybe-install-target-liboffloadmic:
44432 @if target-liboffloadmic
44433 maybe-install-target-liboffloadmic: install-target-liboffloadmic
44435 install-target-liboffloadmic: installdirs
44436 @: $(MAKE); $(unstage)
44437 @r=`${PWD_COMMAND}`; export r; \
44438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44439 $(NORMAL_TARGET_EXPORTS) \
44440 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44441 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44443 @endif target-liboffloadmic
44445 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
44446 maybe-install-strip-target-liboffloadmic:
44447 @if target-liboffloadmic
44448 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
44450 install-strip-target-liboffloadmic: installdirs
44451 @: $(MAKE); $(unstage)
44452 @r=`${PWD_COMMAND}`; export r; \
44453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44454 $(NORMAL_TARGET_EXPORTS) \
44455 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44456 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44458 @endif target-liboffloadmic
44460 # Other targets (info, dvi, pdf, etc.)
44462 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
44463 maybe-info-target-liboffloadmic:
44464 @if target-liboffloadmic
44465 maybe-info-target-liboffloadmic: info-target-liboffloadmic
44467 info-target-liboffloadmic: \
44468 configure-target-liboffloadmic
44469 @: $(MAKE); $(unstage)
44470 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44471 r=`${PWD_COMMAND}`; export r; \
44472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44473 $(NORMAL_TARGET_EXPORTS) \
44474 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
44475 for flag in $(EXTRA_TARGET_FLAGS); do \
44476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44477 done; \
44478 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44481 "RANLIB=$${RANLIB}" \
44482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44483 info) \
44484 || exit 1
44486 @endif target-liboffloadmic
44488 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
44489 maybe-dvi-target-liboffloadmic:
44490 @if target-liboffloadmic
44491 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
44493 dvi-target-liboffloadmic: \
44494 configure-target-liboffloadmic
44495 @: $(MAKE); $(unstage)
44496 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44497 r=`${PWD_COMMAND}`; export r; \
44498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44499 $(NORMAL_TARGET_EXPORTS) \
44500 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
44501 for flag in $(EXTRA_TARGET_FLAGS); do \
44502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44503 done; \
44504 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44507 "RANLIB=$${RANLIB}" \
44508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44509 dvi) \
44510 || exit 1
44512 @endif target-liboffloadmic
44514 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
44515 maybe-pdf-target-liboffloadmic:
44516 @if target-liboffloadmic
44517 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
44519 pdf-target-liboffloadmic: \
44520 configure-target-liboffloadmic
44521 @: $(MAKE); $(unstage)
44522 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44523 r=`${PWD_COMMAND}`; export r; \
44524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44525 $(NORMAL_TARGET_EXPORTS) \
44526 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
44527 for flag in $(EXTRA_TARGET_FLAGS); do \
44528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44529 done; \
44530 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44533 "RANLIB=$${RANLIB}" \
44534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44535 pdf) \
44536 || exit 1
44538 @endif target-liboffloadmic
44540 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
44541 maybe-html-target-liboffloadmic:
44542 @if target-liboffloadmic
44543 maybe-html-target-liboffloadmic: html-target-liboffloadmic
44545 html-target-liboffloadmic: \
44546 configure-target-liboffloadmic
44547 @: $(MAKE); $(unstage)
44548 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44549 r=`${PWD_COMMAND}`; export r; \
44550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44551 $(NORMAL_TARGET_EXPORTS) \
44552 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
44553 for flag in $(EXTRA_TARGET_FLAGS); do \
44554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44555 done; \
44556 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44559 "RANLIB=$${RANLIB}" \
44560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44561 html) \
44562 || exit 1
44564 @endif target-liboffloadmic
44566 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
44567 maybe-TAGS-target-liboffloadmic:
44568 @if target-liboffloadmic
44569 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
44571 TAGS-target-liboffloadmic: \
44572 configure-target-liboffloadmic
44573 @: $(MAKE); $(unstage)
44574 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44575 r=`${PWD_COMMAND}`; export r; \
44576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44577 $(NORMAL_TARGET_EXPORTS) \
44578 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
44579 for flag in $(EXTRA_TARGET_FLAGS); do \
44580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44581 done; \
44582 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44585 "RANLIB=$${RANLIB}" \
44586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44587 TAGS) \
44588 || exit 1
44590 @endif target-liboffloadmic
44592 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
44593 maybe-install-info-target-liboffloadmic:
44594 @if target-liboffloadmic
44595 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
44597 install-info-target-liboffloadmic: \
44598 configure-target-liboffloadmic \
44599 info-target-liboffloadmic
44600 @: $(MAKE); $(unstage)
44601 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44602 r=`${PWD_COMMAND}`; export r; \
44603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44604 $(NORMAL_TARGET_EXPORTS) \
44605 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
44606 for flag in $(EXTRA_TARGET_FLAGS); do \
44607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44608 done; \
44609 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44612 "RANLIB=$${RANLIB}" \
44613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44614 install-info) \
44615 || exit 1
44617 @endif target-liboffloadmic
44619 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
44620 maybe-install-pdf-target-liboffloadmic:
44621 @if target-liboffloadmic
44622 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
44624 install-pdf-target-liboffloadmic: \
44625 configure-target-liboffloadmic \
44626 pdf-target-liboffloadmic
44627 @: $(MAKE); $(unstage)
44628 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44629 r=`${PWD_COMMAND}`; export r; \
44630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44631 $(NORMAL_TARGET_EXPORTS) \
44632 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
44633 for flag in $(EXTRA_TARGET_FLAGS); do \
44634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44635 done; \
44636 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44639 "RANLIB=$${RANLIB}" \
44640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44641 install-pdf) \
44642 || exit 1
44644 @endif target-liboffloadmic
44646 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
44647 maybe-install-html-target-liboffloadmic:
44648 @if target-liboffloadmic
44649 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
44651 install-html-target-liboffloadmic: \
44652 configure-target-liboffloadmic \
44653 html-target-liboffloadmic
44654 @: $(MAKE); $(unstage)
44655 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44656 r=`${PWD_COMMAND}`; export r; \
44657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44658 $(NORMAL_TARGET_EXPORTS) \
44659 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
44660 for flag in $(EXTRA_TARGET_FLAGS); do \
44661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44662 done; \
44663 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44666 "RANLIB=$${RANLIB}" \
44667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44668 install-html) \
44669 || exit 1
44671 @endif target-liboffloadmic
44673 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
44674 maybe-installcheck-target-liboffloadmic:
44675 @if target-liboffloadmic
44676 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
44678 installcheck-target-liboffloadmic: \
44679 configure-target-liboffloadmic
44680 @: $(MAKE); $(unstage)
44681 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44682 r=`${PWD_COMMAND}`; export r; \
44683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44684 $(NORMAL_TARGET_EXPORTS) \
44685 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
44686 for flag in $(EXTRA_TARGET_FLAGS); do \
44687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44688 done; \
44689 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44692 "RANLIB=$${RANLIB}" \
44693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44694 installcheck) \
44695 || exit 1
44697 @endif target-liboffloadmic
44699 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
44700 maybe-mostlyclean-target-liboffloadmic:
44701 @if target-liboffloadmic
44702 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
44704 mostlyclean-target-liboffloadmic:
44705 @: $(MAKE); $(unstage)
44706 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44707 r=`${PWD_COMMAND}`; export r; \
44708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44709 $(NORMAL_TARGET_EXPORTS) \
44710 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
44711 for flag in $(EXTRA_TARGET_FLAGS); do \
44712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44713 done; \
44714 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44717 "RANLIB=$${RANLIB}" \
44718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44719 mostlyclean) \
44720 || exit 1
44722 @endif target-liboffloadmic
44724 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
44725 maybe-clean-target-liboffloadmic:
44726 @if target-liboffloadmic
44727 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
44729 clean-target-liboffloadmic:
44730 @: $(MAKE); $(unstage)
44731 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44732 r=`${PWD_COMMAND}`; export r; \
44733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44734 $(NORMAL_TARGET_EXPORTS) \
44735 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
44736 for flag in $(EXTRA_TARGET_FLAGS); do \
44737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44738 done; \
44739 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44742 "RANLIB=$${RANLIB}" \
44743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44744 clean) \
44745 || exit 1
44747 @endif target-liboffloadmic
44749 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
44750 maybe-distclean-target-liboffloadmic:
44751 @if target-liboffloadmic
44752 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
44754 distclean-target-liboffloadmic:
44755 @: $(MAKE); $(unstage)
44756 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44757 r=`${PWD_COMMAND}`; export r; \
44758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44759 $(NORMAL_TARGET_EXPORTS) \
44760 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
44761 for flag in $(EXTRA_TARGET_FLAGS); do \
44762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44763 done; \
44764 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44767 "RANLIB=$${RANLIB}" \
44768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44769 distclean) \
44770 || exit 1
44772 @endif target-liboffloadmic
44774 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
44775 maybe-maintainer-clean-target-liboffloadmic:
44776 @if target-liboffloadmic
44777 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
44779 maintainer-clean-target-liboffloadmic:
44780 @: $(MAKE); $(unstage)
44781 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
44782 r=`${PWD_COMMAND}`; export r; \
44783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44784 $(NORMAL_TARGET_EXPORTS) \
44785 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
44786 for flag in $(EXTRA_TARGET_FLAGS); do \
44787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44788 done; \
44789 (cd $(TARGET_SUBDIR)/liboffloadmic && \
44790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44792 "RANLIB=$${RANLIB}" \
44793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44794 maintainer-clean) \
44795 || exit 1
44797 @endif target-liboffloadmic
44803 .PHONY: configure-target-libssp maybe-configure-target-libssp
44804 maybe-configure-target-libssp:
44805 @if gcc-bootstrap
44806 configure-target-libssp: stage_current
44807 @endif gcc-bootstrap
44808 @if target-libssp
44809 maybe-configure-target-libssp: configure-target-libssp
44810 configure-target-libssp:
44811 @: $(MAKE); $(unstage)
44812 @r=`${PWD_COMMAND}`; export r; \
44813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44814 echo "Checking multilib configuration for libssp..."; \
44815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
44816 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
44817 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
44818 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
44819 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
44820 else \
44821 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
44822 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
44823 fi; \
44824 else \
44825 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
44826 fi; \
44827 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
44828 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
44829 $(NORMAL_TARGET_EXPORTS) \
44830 echo Configuring in $(TARGET_SUBDIR)/libssp; \
44831 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
44832 case $(srcdir) in \
44833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44834 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
44835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44836 esac; \
44837 module_srcdir=libssp; \
44838 rm -f no-such-file || : ; \
44839 CONFIG_SITE=no-such-file $(SHELL) \
44840 $$s/$$module_srcdir/configure \
44841 --srcdir=$${topdir}/$$module_srcdir \
44842 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44843 --target=${target_alias} \
44844 || exit 1
44845 @endif target-libssp
44851 .PHONY: all-target-libssp maybe-all-target-libssp
44852 maybe-all-target-libssp:
44853 @if gcc-bootstrap
44854 all-target-libssp: stage_current
44855 @endif gcc-bootstrap
44856 @if target-libssp
44857 TARGET-target-libssp=all
44858 maybe-all-target-libssp: all-target-libssp
44859 all-target-libssp: configure-target-libssp
44860 @: $(MAKE); $(unstage)
44861 @r=`${PWD_COMMAND}`; export r; \
44862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44863 $(NORMAL_TARGET_EXPORTS) \
44864 (cd $(TARGET_SUBDIR)/libssp && \
44865 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44866 $(TARGET-target-libssp))
44867 @endif target-libssp
44873 .PHONY: check-target-libssp maybe-check-target-libssp
44874 maybe-check-target-libssp:
44875 @if target-libssp
44876 maybe-check-target-libssp: check-target-libssp
44878 check-target-libssp:
44879 @: $(MAKE); $(unstage)
44880 @r=`${PWD_COMMAND}`; export r; \
44881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44882 $(NORMAL_TARGET_EXPORTS) \
44883 (cd $(TARGET_SUBDIR)/libssp && \
44884 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44886 @endif target-libssp
44888 .PHONY: install-target-libssp maybe-install-target-libssp
44889 maybe-install-target-libssp:
44890 @if target-libssp
44891 maybe-install-target-libssp: install-target-libssp
44893 install-target-libssp: installdirs
44894 @: $(MAKE); $(unstage)
44895 @r=`${PWD_COMMAND}`; export r; \
44896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44897 $(NORMAL_TARGET_EXPORTS) \
44898 (cd $(TARGET_SUBDIR)/libssp && \
44899 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44901 @endif target-libssp
44903 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
44904 maybe-install-strip-target-libssp:
44905 @if target-libssp
44906 maybe-install-strip-target-libssp: install-strip-target-libssp
44908 install-strip-target-libssp: installdirs
44909 @: $(MAKE); $(unstage)
44910 @r=`${PWD_COMMAND}`; export r; \
44911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44912 $(NORMAL_TARGET_EXPORTS) \
44913 (cd $(TARGET_SUBDIR)/libssp && \
44914 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44916 @endif target-libssp
44918 # Other targets (info, dvi, pdf, etc.)
44920 .PHONY: maybe-info-target-libssp info-target-libssp
44921 maybe-info-target-libssp:
44922 @if target-libssp
44923 maybe-info-target-libssp: info-target-libssp
44925 info-target-libssp: \
44926 configure-target-libssp
44927 @: $(MAKE); $(unstage)
44928 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44929 r=`${PWD_COMMAND}`; export r; \
44930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44931 $(NORMAL_TARGET_EXPORTS) \
44932 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
44933 for flag in $(EXTRA_TARGET_FLAGS); do \
44934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44935 done; \
44936 (cd $(TARGET_SUBDIR)/libssp && \
44937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44939 "RANLIB=$${RANLIB}" \
44940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44941 info) \
44942 || exit 1
44944 @endif target-libssp
44946 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
44947 maybe-dvi-target-libssp:
44948 @if target-libssp
44949 maybe-dvi-target-libssp: dvi-target-libssp
44951 dvi-target-libssp: \
44952 configure-target-libssp
44953 @: $(MAKE); $(unstage)
44954 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44955 r=`${PWD_COMMAND}`; export r; \
44956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44957 $(NORMAL_TARGET_EXPORTS) \
44958 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
44959 for flag in $(EXTRA_TARGET_FLAGS); do \
44960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44961 done; \
44962 (cd $(TARGET_SUBDIR)/libssp && \
44963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44965 "RANLIB=$${RANLIB}" \
44966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44967 dvi) \
44968 || exit 1
44970 @endif target-libssp
44972 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
44973 maybe-pdf-target-libssp:
44974 @if target-libssp
44975 maybe-pdf-target-libssp: pdf-target-libssp
44977 pdf-target-libssp: \
44978 configure-target-libssp
44979 @: $(MAKE); $(unstage)
44980 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44981 r=`${PWD_COMMAND}`; export r; \
44982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44983 $(NORMAL_TARGET_EXPORTS) \
44984 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
44985 for flag in $(EXTRA_TARGET_FLAGS); do \
44986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44987 done; \
44988 (cd $(TARGET_SUBDIR)/libssp && \
44989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44991 "RANLIB=$${RANLIB}" \
44992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44993 pdf) \
44994 || exit 1
44996 @endif target-libssp
44998 .PHONY: maybe-html-target-libssp html-target-libssp
44999 maybe-html-target-libssp:
45000 @if target-libssp
45001 maybe-html-target-libssp: html-target-libssp
45003 html-target-libssp: \
45004 configure-target-libssp
45005 @: $(MAKE); $(unstage)
45006 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45007 r=`${PWD_COMMAND}`; export r; \
45008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45009 $(NORMAL_TARGET_EXPORTS) \
45010 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
45011 for flag in $(EXTRA_TARGET_FLAGS); do \
45012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45013 done; \
45014 (cd $(TARGET_SUBDIR)/libssp && \
45015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45017 "RANLIB=$${RANLIB}" \
45018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45019 html) \
45020 || exit 1
45022 @endif target-libssp
45024 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
45025 maybe-TAGS-target-libssp:
45026 @if target-libssp
45027 maybe-TAGS-target-libssp: TAGS-target-libssp
45029 TAGS-target-libssp: \
45030 configure-target-libssp
45031 @: $(MAKE); $(unstage)
45032 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45033 r=`${PWD_COMMAND}`; export r; \
45034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45035 $(NORMAL_TARGET_EXPORTS) \
45036 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
45037 for flag in $(EXTRA_TARGET_FLAGS); do \
45038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45039 done; \
45040 (cd $(TARGET_SUBDIR)/libssp && \
45041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45043 "RANLIB=$${RANLIB}" \
45044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45045 TAGS) \
45046 || exit 1
45048 @endif target-libssp
45050 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
45051 maybe-install-info-target-libssp:
45052 @if target-libssp
45053 maybe-install-info-target-libssp: install-info-target-libssp
45055 install-info-target-libssp: \
45056 configure-target-libssp \
45057 info-target-libssp
45058 @: $(MAKE); $(unstage)
45059 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45060 r=`${PWD_COMMAND}`; export r; \
45061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45062 $(NORMAL_TARGET_EXPORTS) \
45063 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
45064 for flag in $(EXTRA_TARGET_FLAGS); do \
45065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45066 done; \
45067 (cd $(TARGET_SUBDIR)/libssp && \
45068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45070 "RANLIB=$${RANLIB}" \
45071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45072 install-info) \
45073 || exit 1
45075 @endif target-libssp
45077 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
45078 maybe-install-pdf-target-libssp:
45079 @if target-libssp
45080 maybe-install-pdf-target-libssp: install-pdf-target-libssp
45082 install-pdf-target-libssp: \
45083 configure-target-libssp \
45084 pdf-target-libssp
45085 @: $(MAKE); $(unstage)
45086 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45087 r=`${PWD_COMMAND}`; export r; \
45088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45089 $(NORMAL_TARGET_EXPORTS) \
45090 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
45091 for flag in $(EXTRA_TARGET_FLAGS); do \
45092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45093 done; \
45094 (cd $(TARGET_SUBDIR)/libssp && \
45095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45097 "RANLIB=$${RANLIB}" \
45098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45099 install-pdf) \
45100 || exit 1
45102 @endif target-libssp
45104 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
45105 maybe-install-html-target-libssp:
45106 @if target-libssp
45107 maybe-install-html-target-libssp: install-html-target-libssp
45109 install-html-target-libssp: \
45110 configure-target-libssp \
45111 html-target-libssp
45112 @: $(MAKE); $(unstage)
45113 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45114 r=`${PWD_COMMAND}`; export r; \
45115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45116 $(NORMAL_TARGET_EXPORTS) \
45117 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
45118 for flag in $(EXTRA_TARGET_FLAGS); do \
45119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45120 done; \
45121 (cd $(TARGET_SUBDIR)/libssp && \
45122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45124 "RANLIB=$${RANLIB}" \
45125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45126 install-html) \
45127 || exit 1
45129 @endif target-libssp
45131 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
45132 maybe-installcheck-target-libssp:
45133 @if target-libssp
45134 maybe-installcheck-target-libssp: installcheck-target-libssp
45136 installcheck-target-libssp: \
45137 configure-target-libssp
45138 @: $(MAKE); $(unstage)
45139 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45140 r=`${PWD_COMMAND}`; export r; \
45141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45142 $(NORMAL_TARGET_EXPORTS) \
45143 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
45144 for flag in $(EXTRA_TARGET_FLAGS); do \
45145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45146 done; \
45147 (cd $(TARGET_SUBDIR)/libssp && \
45148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45150 "RANLIB=$${RANLIB}" \
45151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45152 installcheck) \
45153 || exit 1
45155 @endif target-libssp
45157 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
45158 maybe-mostlyclean-target-libssp:
45159 @if target-libssp
45160 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
45162 mostlyclean-target-libssp:
45163 @: $(MAKE); $(unstage)
45164 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45165 r=`${PWD_COMMAND}`; export r; \
45166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45167 $(NORMAL_TARGET_EXPORTS) \
45168 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
45169 for flag in $(EXTRA_TARGET_FLAGS); do \
45170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45171 done; \
45172 (cd $(TARGET_SUBDIR)/libssp && \
45173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45175 "RANLIB=$${RANLIB}" \
45176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45177 mostlyclean) \
45178 || exit 1
45180 @endif target-libssp
45182 .PHONY: maybe-clean-target-libssp clean-target-libssp
45183 maybe-clean-target-libssp:
45184 @if target-libssp
45185 maybe-clean-target-libssp: clean-target-libssp
45187 clean-target-libssp:
45188 @: $(MAKE); $(unstage)
45189 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45190 r=`${PWD_COMMAND}`; export r; \
45191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45192 $(NORMAL_TARGET_EXPORTS) \
45193 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
45194 for flag in $(EXTRA_TARGET_FLAGS); do \
45195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45196 done; \
45197 (cd $(TARGET_SUBDIR)/libssp && \
45198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45200 "RANLIB=$${RANLIB}" \
45201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45202 clean) \
45203 || exit 1
45205 @endif target-libssp
45207 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
45208 maybe-distclean-target-libssp:
45209 @if target-libssp
45210 maybe-distclean-target-libssp: distclean-target-libssp
45212 distclean-target-libssp:
45213 @: $(MAKE); $(unstage)
45214 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45215 r=`${PWD_COMMAND}`; export r; \
45216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45217 $(NORMAL_TARGET_EXPORTS) \
45218 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
45219 for flag in $(EXTRA_TARGET_FLAGS); do \
45220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45221 done; \
45222 (cd $(TARGET_SUBDIR)/libssp && \
45223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45225 "RANLIB=$${RANLIB}" \
45226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45227 distclean) \
45228 || exit 1
45230 @endif target-libssp
45232 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
45233 maybe-maintainer-clean-target-libssp:
45234 @if target-libssp
45235 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
45237 maintainer-clean-target-libssp:
45238 @: $(MAKE); $(unstage)
45239 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
45240 r=`${PWD_COMMAND}`; export r; \
45241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45242 $(NORMAL_TARGET_EXPORTS) \
45243 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
45244 for flag in $(EXTRA_TARGET_FLAGS); do \
45245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45246 done; \
45247 (cd $(TARGET_SUBDIR)/libssp && \
45248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45250 "RANLIB=$${RANLIB}" \
45251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45252 maintainer-clean) \
45253 || exit 1
45255 @endif target-libssp
45261 .PHONY: configure-target-newlib maybe-configure-target-newlib
45262 maybe-configure-target-newlib:
45263 @if gcc-bootstrap
45264 configure-target-newlib: stage_current
45265 @endif gcc-bootstrap
45266 @if target-newlib
45267 maybe-configure-target-newlib: configure-target-newlib
45268 configure-target-newlib:
45269 @: $(MAKE); $(unstage)
45270 @r=`${PWD_COMMAND}`; export r; \
45271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45272 echo "Checking multilib configuration for newlib..."; \
45273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
45274 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
45275 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
45276 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
45277 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
45278 else \
45279 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
45280 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
45281 fi; \
45282 else \
45283 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
45284 fi; \
45285 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
45286 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
45287 $(NORMAL_TARGET_EXPORTS) \
45288 echo Configuring in $(TARGET_SUBDIR)/newlib; \
45289 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
45290 case $(srcdir) in \
45291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45292 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
45293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45294 esac; \
45295 module_srcdir=newlib; \
45296 rm -f no-such-file || : ; \
45297 CONFIG_SITE=no-such-file $(SHELL) \
45298 $$s/$$module_srcdir/configure \
45299 --srcdir=$${topdir}/$$module_srcdir \
45300 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45301 --target=${target_alias} \
45302 || exit 1
45303 @endif target-newlib
45309 .PHONY: all-target-newlib maybe-all-target-newlib
45310 maybe-all-target-newlib:
45311 @if gcc-bootstrap
45312 all-target-newlib: stage_current
45313 @endif gcc-bootstrap
45314 @if target-newlib
45315 TARGET-target-newlib=all
45316 maybe-all-target-newlib: all-target-newlib
45317 all-target-newlib: configure-target-newlib
45318 @: $(MAKE); $(unstage)
45319 @r=`${PWD_COMMAND}`; export r; \
45320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45321 $(NORMAL_TARGET_EXPORTS) \
45322 (cd $(TARGET_SUBDIR)/newlib && \
45323 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45324 $(TARGET-target-newlib))
45325 @endif target-newlib
45331 .PHONY: check-target-newlib maybe-check-target-newlib
45332 maybe-check-target-newlib:
45333 @if target-newlib
45334 maybe-check-target-newlib: check-target-newlib
45336 check-target-newlib:
45337 @: $(MAKE); $(unstage)
45338 @r=`${PWD_COMMAND}`; export r; \
45339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45340 $(NORMAL_TARGET_EXPORTS) \
45341 (cd $(TARGET_SUBDIR)/newlib && \
45342 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45344 @endif target-newlib
45346 .PHONY: install-target-newlib maybe-install-target-newlib
45347 maybe-install-target-newlib:
45348 @if target-newlib
45349 maybe-install-target-newlib: install-target-newlib
45351 install-target-newlib: installdirs
45352 @: $(MAKE); $(unstage)
45353 @r=`${PWD_COMMAND}`; export r; \
45354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45355 $(NORMAL_TARGET_EXPORTS) \
45356 (cd $(TARGET_SUBDIR)/newlib && \
45357 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45359 @endif target-newlib
45361 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
45362 maybe-install-strip-target-newlib:
45363 @if target-newlib
45364 maybe-install-strip-target-newlib: install-strip-target-newlib
45366 install-strip-target-newlib: installdirs
45367 @: $(MAKE); $(unstage)
45368 @r=`${PWD_COMMAND}`; export r; \
45369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45370 $(NORMAL_TARGET_EXPORTS) \
45371 (cd $(TARGET_SUBDIR)/newlib && \
45372 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45374 @endif target-newlib
45376 # Other targets (info, dvi, pdf, etc.)
45378 .PHONY: maybe-info-target-newlib info-target-newlib
45379 maybe-info-target-newlib:
45380 @if target-newlib
45381 maybe-info-target-newlib: info-target-newlib
45383 info-target-newlib: \
45384 configure-target-newlib
45385 @: $(MAKE); $(unstage)
45386 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45387 r=`${PWD_COMMAND}`; export r; \
45388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45389 $(NORMAL_TARGET_EXPORTS) \
45390 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
45391 for flag in $(EXTRA_TARGET_FLAGS); do \
45392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45393 done; \
45394 (cd $(TARGET_SUBDIR)/newlib && \
45395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45397 "RANLIB=$${RANLIB}" \
45398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45399 info) \
45400 || exit 1
45402 @endif target-newlib
45404 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
45405 maybe-dvi-target-newlib:
45406 @if target-newlib
45407 maybe-dvi-target-newlib: dvi-target-newlib
45409 dvi-target-newlib: \
45410 configure-target-newlib
45411 @: $(MAKE); $(unstage)
45412 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45413 r=`${PWD_COMMAND}`; export r; \
45414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45415 $(NORMAL_TARGET_EXPORTS) \
45416 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
45417 for flag in $(EXTRA_TARGET_FLAGS); do \
45418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45419 done; \
45420 (cd $(TARGET_SUBDIR)/newlib && \
45421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45423 "RANLIB=$${RANLIB}" \
45424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45425 dvi) \
45426 || exit 1
45428 @endif target-newlib
45430 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
45431 maybe-pdf-target-newlib:
45432 @if target-newlib
45433 maybe-pdf-target-newlib: pdf-target-newlib
45435 pdf-target-newlib: \
45436 configure-target-newlib
45437 @: $(MAKE); $(unstage)
45438 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45439 r=`${PWD_COMMAND}`; export r; \
45440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45441 $(NORMAL_TARGET_EXPORTS) \
45442 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
45443 for flag in $(EXTRA_TARGET_FLAGS); do \
45444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45445 done; \
45446 (cd $(TARGET_SUBDIR)/newlib && \
45447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45449 "RANLIB=$${RANLIB}" \
45450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45451 pdf) \
45452 || exit 1
45454 @endif target-newlib
45456 .PHONY: maybe-html-target-newlib html-target-newlib
45457 maybe-html-target-newlib:
45458 @if target-newlib
45459 maybe-html-target-newlib: html-target-newlib
45461 html-target-newlib: \
45462 configure-target-newlib
45463 @: $(MAKE); $(unstage)
45464 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45465 r=`${PWD_COMMAND}`; export r; \
45466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45467 $(NORMAL_TARGET_EXPORTS) \
45468 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
45469 for flag in $(EXTRA_TARGET_FLAGS); do \
45470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45471 done; \
45472 (cd $(TARGET_SUBDIR)/newlib && \
45473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45475 "RANLIB=$${RANLIB}" \
45476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45477 html) \
45478 || exit 1
45480 @endif target-newlib
45482 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
45483 maybe-TAGS-target-newlib:
45484 @if target-newlib
45485 maybe-TAGS-target-newlib: TAGS-target-newlib
45487 TAGS-target-newlib: \
45488 configure-target-newlib
45489 @: $(MAKE); $(unstage)
45490 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45491 r=`${PWD_COMMAND}`; export r; \
45492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45493 $(NORMAL_TARGET_EXPORTS) \
45494 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
45495 for flag in $(EXTRA_TARGET_FLAGS); do \
45496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45497 done; \
45498 (cd $(TARGET_SUBDIR)/newlib && \
45499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45501 "RANLIB=$${RANLIB}" \
45502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45503 TAGS) \
45504 || exit 1
45506 @endif target-newlib
45508 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
45509 maybe-install-info-target-newlib:
45510 @if target-newlib
45511 maybe-install-info-target-newlib: install-info-target-newlib
45513 install-info-target-newlib: \
45514 configure-target-newlib \
45515 info-target-newlib
45516 @: $(MAKE); $(unstage)
45517 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45518 r=`${PWD_COMMAND}`; export r; \
45519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45520 $(NORMAL_TARGET_EXPORTS) \
45521 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
45522 for flag in $(EXTRA_TARGET_FLAGS); do \
45523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45524 done; \
45525 (cd $(TARGET_SUBDIR)/newlib && \
45526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45528 "RANLIB=$${RANLIB}" \
45529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45530 install-info) \
45531 || exit 1
45533 @endif target-newlib
45535 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
45536 maybe-install-pdf-target-newlib:
45537 @if target-newlib
45538 maybe-install-pdf-target-newlib: install-pdf-target-newlib
45540 install-pdf-target-newlib: \
45541 configure-target-newlib \
45542 pdf-target-newlib
45543 @: $(MAKE); $(unstage)
45544 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45545 r=`${PWD_COMMAND}`; export r; \
45546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45547 $(NORMAL_TARGET_EXPORTS) \
45548 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
45549 for flag in $(EXTRA_TARGET_FLAGS); do \
45550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45551 done; \
45552 (cd $(TARGET_SUBDIR)/newlib && \
45553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45555 "RANLIB=$${RANLIB}" \
45556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45557 install-pdf) \
45558 || exit 1
45560 @endif target-newlib
45562 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
45563 maybe-install-html-target-newlib:
45564 @if target-newlib
45565 maybe-install-html-target-newlib: install-html-target-newlib
45567 install-html-target-newlib: \
45568 configure-target-newlib \
45569 html-target-newlib
45570 @: $(MAKE); $(unstage)
45571 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45572 r=`${PWD_COMMAND}`; export r; \
45573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45574 $(NORMAL_TARGET_EXPORTS) \
45575 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
45576 for flag in $(EXTRA_TARGET_FLAGS); do \
45577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45578 done; \
45579 (cd $(TARGET_SUBDIR)/newlib && \
45580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45582 "RANLIB=$${RANLIB}" \
45583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45584 install-html) \
45585 || exit 1
45587 @endif target-newlib
45589 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
45590 maybe-installcheck-target-newlib:
45591 @if target-newlib
45592 maybe-installcheck-target-newlib: installcheck-target-newlib
45594 installcheck-target-newlib: \
45595 configure-target-newlib
45596 @: $(MAKE); $(unstage)
45597 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45598 r=`${PWD_COMMAND}`; export r; \
45599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45600 $(NORMAL_TARGET_EXPORTS) \
45601 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
45602 for flag in $(EXTRA_TARGET_FLAGS); do \
45603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45604 done; \
45605 (cd $(TARGET_SUBDIR)/newlib && \
45606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45608 "RANLIB=$${RANLIB}" \
45609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45610 installcheck) \
45611 || exit 1
45613 @endif target-newlib
45615 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
45616 maybe-mostlyclean-target-newlib:
45617 @if target-newlib
45618 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
45620 mostlyclean-target-newlib:
45621 @: $(MAKE); $(unstage)
45622 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45623 r=`${PWD_COMMAND}`; export r; \
45624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45625 $(NORMAL_TARGET_EXPORTS) \
45626 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
45627 for flag in $(EXTRA_TARGET_FLAGS); do \
45628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45629 done; \
45630 (cd $(TARGET_SUBDIR)/newlib && \
45631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45633 "RANLIB=$${RANLIB}" \
45634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45635 mostlyclean) \
45636 || exit 1
45638 @endif target-newlib
45640 .PHONY: maybe-clean-target-newlib clean-target-newlib
45641 maybe-clean-target-newlib:
45642 @if target-newlib
45643 maybe-clean-target-newlib: clean-target-newlib
45645 clean-target-newlib:
45646 @: $(MAKE); $(unstage)
45647 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45648 r=`${PWD_COMMAND}`; export r; \
45649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45650 $(NORMAL_TARGET_EXPORTS) \
45651 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
45652 for flag in $(EXTRA_TARGET_FLAGS); do \
45653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45654 done; \
45655 (cd $(TARGET_SUBDIR)/newlib && \
45656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45658 "RANLIB=$${RANLIB}" \
45659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45660 clean) \
45661 || exit 1
45663 @endif target-newlib
45665 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
45666 maybe-distclean-target-newlib:
45667 @if target-newlib
45668 maybe-distclean-target-newlib: distclean-target-newlib
45670 distclean-target-newlib:
45671 @: $(MAKE); $(unstage)
45672 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45673 r=`${PWD_COMMAND}`; export r; \
45674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45675 $(NORMAL_TARGET_EXPORTS) \
45676 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
45677 for flag in $(EXTRA_TARGET_FLAGS); do \
45678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45679 done; \
45680 (cd $(TARGET_SUBDIR)/newlib && \
45681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45683 "RANLIB=$${RANLIB}" \
45684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45685 distclean) \
45686 || exit 1
45688 @endif target-newlib
45690 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
45691 maybe-maintainer-clean-target-newlib:
45692 @if target-newlib
45693 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
45695 maintainer-clean-target-newlib:
45696 @: $(MAKE); $(unstage)
45697 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
45698 r=`${PWD_COMMAND}`; export r; \
45699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45700 $(NORMAL_TARGET_EXPORTS) \
45701 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
45702 for flag in $(EXTRA_TARGET_FLAGS); do \
45703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45704 done; \
45705 (cd $(TARGET_SUBDIR)/newlib && \
45706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45708 "RANLIB=$${RANLIB}" \
45709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45710 maintainer-clean) \
45711 || exit 1
45713 @endif target-newlib
45719 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
45720 maybe-configure-target-libgcc:
45721 @if gcc-bootstrap
45722 configure-target-libgcc: stage_current
45723 @endif gcc-bootstrap
45724 @if target-libgcc
45725 maybe-configure-target-libgcc: configure-target-libgcc
45726 configure-target-libgcc:
45727 @r=`${PWD_COMMAND}`; export r; \
45728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45729 echo "Checking multilib configuration for libgcc..."; \
45730 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45731 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45732 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45733 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45734 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45735 else \
45736 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45737 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45738 fi; \
45739 else \
45740 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45741 fi; \
45742 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45743 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45744 $(NORMAL_TARGET_EXPORTS) \
45745 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
45746 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
45747 case $(srcdir) in \
45748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45749 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45751 esac; \
45752 module_srcdir=libgcc; \
45753 rm -f no-such-file || : ; \
45754 CONFIG_SITE=no-such-file $(SHELL) \
45755 $$s/$$module_srcdir/configure \
45756 --srcdir=$${topdir}/$$module_srcdir \
45757 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45758 --target=${target_alias} \
45759 || exit 1
45760 @endif target-libgcc
45764 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
45765 maybe-configure-stage1-target-libgcc:
45766 @if target-libgcc-bootstrap
45767 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
45768 configure-stage1-target-libgcc:
45769 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45770 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45771 @r=`${PWD_COMMAND}`; export r; \
45772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45773 TFLAGS="$(STAGE1_TFLAGS)"; \
45774 echo "Checking multilib configuration for libgcc..."; \
45775 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45776 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45777 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45778 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45779 else \
45780 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45781 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45782 fi; \
45783 else \
45784 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45785 fi; \
45786 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45787 $(NORMAL_TARGET_EXPORTS) \
45788 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45789 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45790 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45791 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
45792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45793 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45794 case $(srcdir) in \
45795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45796 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45798 esac; \
45799 module_srcdir=libgcc; \
45800 $(SHELL) $$s/$$module_srcdir/configure \
45801 --srcdir=$${topdir}/$$module_srcdir \
45802 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45803 --target=${target_alias} \
45805 $(STAGE1_CONFIGURE_FLAGS)
45806 @endif target-libgcc-bootstrap
45808 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
45809 maybe-configure-stage2-target-libgcc:
45810 @if target-libgcc-bootstrap
45811 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
45812 configure-stage2-target-libgcc:
45813 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45814 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45815 @r=`${PWD_COMMAND}`; export r; \
45816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45817 TFLAGS="$(STAGE2_TFLAGS)"; \
45818 echo "Checking multilib configuration for libgcc..."; \
45819 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45820 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45821 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45822 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45823 else \
45824 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45825 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45826 fi; \
45827 else \
45828 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45829 fi; \
45830 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45831 $(NORMAL_TARGET_EXPORTS) \
45833 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45834 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45835 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45836 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
45837 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45838 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45839 case $(srcdir) in \
45840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45841 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45843 esac; \
45844 module_srcdir=libgcc; \
45845 $(SHELL) $$s/$$module_srcdir/configure \
45846 --srcdir=$${topdir}/$$module_srcdir \
45847 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45848 --target=${target_alias} \
45849 --with-build-libsubdir=$(HOST_SUBDIR) \
45850 $(STAGE2_CONFIGURE_FLAGS)
45851 @endif target-libgcc-bootstrap
45853 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
45854 maybe-configure-stage3-target-libgcc:
45855 @if target-libgcc-bootstrap
45856 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
45857 configure-stage3-target-libgcc:
45858 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45859 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45860 @r=`${PWD_COMMAND}`; export r; \
45861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45862 TFLAGS="$(STAGE3_TFLAGS)"; \
45863 echo "Checking multilib configuration for libgcc..."; \
45864 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45865 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45866 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45867 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45868 else \
45869 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45870 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45871 fi; \
45872 else \
45873 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45874 fi; \
45875 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45876 $(NORMAL_TARGET_EXPORTS) \
45878 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45879 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45880 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45881 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
45882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45883 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45884 case $(srcdir) in \
45885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45886 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45888 esac; \
45889 module_srcdir=libgcc; \
45890 $(SHELL) $$s/$$module_srcdir/configure \
45891 --srcdir=$${topdir}/$$module_srcdir \
45892 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45893 --target=${target_alias} \
45894 --with-build-libsubdir=$(HOST_SUBDIR) \
45895 $(STAGE3_CONFIGURE_FLAGS)
45896 @endif target-libgcc-bootstrap
45898 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
45899 maybe-configure-stage4-target-libgcc:
45900 @if target-libgcc-bootstrap
45901 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
45902 configure-stage4-target-libgcc:
45903 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45904 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45905 @r=`${PWD_COMMAND}`; export r; \
45906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45907 TFLAGS="$(STAGE4_TFLAGS)"; \
45908 echo "Checking multilib configuration for libgcc..."; \
45909 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45910 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45911 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45912 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45913 else \
45914 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45915 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45916 fi; \
45917 else \
45918 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45919 fi; \
45920 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45921 $(NORMAL_TARGET_EXPORTS) \
45923 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45924 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45925 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45926 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
45927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45928 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45929 case $(srcdir) in \
45930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45931 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45933 esac; \
45934 module_srcdir=libgcc; \
45935 $(SHELL) $$s/$$module_srcdir/configure \
45936 --srcdir=$${topdir}/$$module_srcdir \
45937 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45938 --target=${target_alias} \
45939 --with-build-libsubdir=$(HOST_SUBDIR) \
45940 $(STAGE4_CONFIGURE_FLAGS)
45941 @endif target-libgcc-bootstrap
45943 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
45944 maybe-configure-stageprofile-target-libgcc:
45945 @if target-libgcc-bootstrap
45946 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45947 configure-stageprofile-target-libgcc:
45948 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45949 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45950 @r=`${PWD_COMMAND}`; export r; \
45951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45952 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45953 echo "Checking multilib configuration for libgcc..."; \
45954 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45955 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45956 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45957 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45958 else \
45959 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45960 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45961 fi; \
45962 else \
45963 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45964 fi; \
45965 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45966 $(NORMAL_TARGET_EXPORTS) \
45968 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45969 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45970 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45971 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
45972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45973 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45974 case $(srcdir) in \
45975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45976 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45978 esac; \
45979 module_srcdir=libgcc; \
45980 $(SHELL) $$s/$$module_srcdir/configure \
45981 --srcdir=$${topdir}/$$module_srcdir \
45982 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45983 --target=${target_alias} \
45984 --with-build-libsubdir=$(HOST_SUBDIR) \
45985 $(STAGEprofile_CONFIGURE_FLAGS)
45986 @endif target-libgcc-bootstrap
45988 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
45989 maybe-configure-stagetrain-target-libgcc:
45990 @if target-libgcc-bootstrap
45991 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
45992 configure-stagetrain-target-libgcc:
45993 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45994 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45995 @r=`${PWD_COMMAND}`; export r; \
45996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45997 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45998 echo "Checking multilib configuration for libgcc..."; \
45999 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
46000 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46001 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46002 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
46003 else \
46004 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
46005 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46006 fi; \
46007 else \
46008 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46009 fi; \
46010 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
46011 $(NORMAL_TARGET_EXPORTS) \
46013 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46014 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46015 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46016 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
46017 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
46018 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
46019 case $(srcdir) in \
46020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46021 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
46022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46023 esac; \
46024 module_srcdir=libgcc; \
46025 $(SHELL) $$s/$$module_srcdir/configure \
46026 --srcdir=$${topdir}/$$module_srcdir \
46027 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46028 --target=${target_alias} \
46029 --with-build-libsubdir=$(HOST_SUBDIR) \
46030 $(STAGEtrain_CONFIGURE_FLAGS)
46031 @endif target-libgcc-bootstrap
46033 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
46034 maybe-configure-stagefeedback-target-libgcc:
46035 @if target-libgcc-bootstrap
46036 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
46037 configure-stagefeedback-target-libgcc:
46038 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46039 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
46040 @r=`${PWD_COMMAND}`; export r; \
46041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46042 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46043 echo "Checking multilib configuration for libgcc..."; \
46044 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
46045 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46046 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46047 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
46048 else \
46049 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
46050 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46051 fi; \
46052 else \
46053 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46054 fi; \
46055 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
46056 $(NORMAL_TARGET_EXPORTS) \
46058 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46059 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46060 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46061 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
46062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
46063 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
46064 case $(srcdir) in \
46065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46066 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
46067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46068 esac; \
46069 module_srcdir=libgcc; \
46070 $(SHELL) $$s/$$module_srcdir/configure \
46071 --srcdir=$${topdir}/$$module_srcdir \
46072 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46073 --target=${target_alias} \
46074 --with-build-libsubdir=$(HOST_SUBDIR) \
46075 $(STAGEfeedback_CONFIGURE_FLAGS)
46076 @endif target-libgcc-bootstrap
46078 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
46079 maybe-configure-stageautoprofile-target-libgcc:
46080 @if target-libgcc-bootstrap
46081 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
46082 configure-stageautoprofile-target-libgcc:
46083 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
46084 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
46085 @r=`${PWD_COMMAND}`; export r; \
46086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46087 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
46088 echo "Checking multilib configuration for libgcc..."; \
46089 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
46090 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46091 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46092 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
46093 else \
46094 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
46095 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46096 fi; \
46097 else \
46098 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46099 fi; \
46100 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
46101 $(NORMAL_TARGET_EXPORTS) \
46103 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46104 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46105 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46106 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
46107 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
46108 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
46109 case $(srcdir) in \
46110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46111 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
46112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46113 esac; \
46114 module_srcdir=libgcc; \
46115 $(SHELL) $$s/$$module_srcdir/configure \
46116 --srcdir=$${topdir}/$$module_srcdir \
46117 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46118 --target=${target_alias} \
46119 --with-build-libsubdir=$(HOST_SUBDIR) \
46120 $(STAGEautoprofile_CONFIGURE_FLAGS)
46121 @endif target-libgcc-bootstrap
46123 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
46124 maybe-configure-stageautofeedback-target-libgcc:
46125 @if target-libgcc-bootstrap
46126 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
46127 configure-stageautofeedback-target-libgcc:
46128 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
46129 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
46130 @r=`${PWD_COMMAND}`; export r; \
46131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46132 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
46133 echo "Checking multilib configuration for libgcc..."; \
46134 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
46135 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46136 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
46137 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
46138 else \
46139 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
46140 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46141 fi; \
46142 else \
46143 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
46144 fi; \
46145 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
46146 $(NORMAL_TARGET_EXPORTS) \
46148 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46149 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46150 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46151 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
46152 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
46153 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
46154 case $(srcdir) in \
46155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46156 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
46157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46158 esac; \
46159 module_srcdir=libgcc; \
46160 $(SHELL) $$s/$$module_srcdir/configure \
46161 --srcdir=$${topdir}/$$module_srcdir \
46162 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46163 --target=${target_alias} \
46164 --with-build-libsubdir=$(HOST_SUBDIR) \
46165 $(STAGEautofeedback_CONFIGURE_FLAGS)
46166 @endif target-libgcc-bootstrap
46172 .PHONY: all-target-libgcc maybe-all-target-libgcc
46173 maybe-all-target-libgcc:
46174 @if gcc-bootstrap
46175 all-target-libgcc: stage_current
46176 @endif gcc-bootstrap
46177 @if target-libgcc
46178 TARGET-target-libgcc=all
46179 maybe-all-target-libgcc: all-target-libgcc
46180 all-target-libgcc: configure-target-libgcc
46181 @r=`${PWD_COMMAND}`; export r; \
46182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46183 $(NORMAL_TARGET_EXPORTS) \
46184 (cd $(TARGET_SUBDIR)/libgcc && \
46185 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46186 $(TARGET-target-libgcc))
46187 @endif target-libgcc
46191 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
46192 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
46193 maybe-all-stage1-target-libgcc:
46194 maybe-clean-stage1-target-libgcc:
46195 @if target-libgcc-bootstrap
46196 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
46197 all-stage1: all-stage1-target-libgcc
46198 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
46199 all-stage1-target-libgcc: configure-stage1-target-libgcc
46200 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46201 @r=`${PWD_COMMAND}`; export r; \
46202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46203 TFLAGS="$(STAGE1_TFLAGS)"; \
46204 $(NORMAL_TARGET_EXPORTS) \
46205 cd $(TARGET_SUBDIR)/libgcc && \
46207 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46208 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46209 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46210 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46211 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46212 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46213 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46214 $(EXTRA_TARGET_FLAGS) \
46216 TFLAGS="$(STAGE1_TFLAGS)" \
46217 $(TARGET-stage1-target-libgcc)
46219 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
46220 clean-stage1: clean-stage1-target-libgcc
46221 clean-stage1-target-libgcc:
46222 @if [ $(current_stage) = stage1 ]; then \
46223 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46224 else \
46225 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
46226 $(MAKE) stage1-start; \
46227 fi; \
46228 cd $(TARGET_SUBDIR)/libgcc && \
46229 $(MAKE) $(EXTRA_TARGET_FLAGS) \
46230 clean
46231 @endif target-libgcc-bootstrap
46234 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
46235 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
46236 maybe-all-stage2-target-libgcc:
46237 maybe-clean-stage2-target-libgcc:
46238 @if target-libgcc-bootstrap
46239 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
46240 all-stage2: all-stage2-target-libgcc
46241 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
46242 all-stage2-target-libgcc: configure-stage2-target-libgcc
46243 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46244 @r=`${PWD_COMMAND}`; export r; \
46245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46246 TFLAGS="$(STAGE2_TFLAGS)"; \
46247 $(NORMAL_TARGET_EXPORTS) \
46249 cd $(TARGET_SUBDIR)/libgcc && \
46251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46252 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46253 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46254 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46255 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46256 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46257 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46258 $(EXTRA_TARGET_FLAGS) \
46259 TFLAGS="$(STAGE2_TFLAGS)" \
46260 $(TARGET-stage2-target-libgcc)
46262 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
46263 clean-stage2: clean-stage2-target-libgcc
46264 clean-stage2-target-libgcc:
46265 @if [ $(current_stage) = stage2 ]; then \
46266 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46267 else \
46268 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
46269 $(MAKE) stage2-start; \
46270 fi; \
46271 cd $(TARGET_SUBDIR)/libgcc && \
46272 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46273 @endif target-libgcc-bootstrap
46276 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
46277 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
46278 maybe-all-stage3-target-libgcc:
46279 maybe-clean-stage3-target-libgcc:
46280 @if target-libgcc-bootstrap
46281 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
46282 all-stage3: all-stage3-target-libgcc
46283 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
46284 all-stage3-target-libgcc: configure-stage3-target-libgcc
46285 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46286 @r=`${PWD_COMMAND}`; export r; \
46287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46288 TFLAGS="$(STAGE3_TFLAGS)"; \
46289 $(NORMAL_TARGET_EXPORTS) \
46291 cd $(TARGET_SUBDIR)/libgcc && \
46293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46294 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46295 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46296 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46300 $(EXTRA_TARGET_FLAGS) \
46301 TFLAGS="$(STAGE3_TFLAGS)" \
46302 $(TARGET-stage3-target-libgcc)
46304 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
46305 clean-stage3: clean-stage3-target-libgcc
46306 clean-stage3-target-libgcc:
46307 @if [ $(current_stage) = stage3 ]; then \
46308 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46309 else \
46310 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
46311 $(MAKE) stage3-start; \
46312 fi; \
46313 cd $(TARGET_SUBDIR)/libgcc && \
46314 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46315 @endif target-libgcc-bootstrap
46318 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
46319 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
46320 maybe-all-stage4-target-libgcc:
46321 maybe-clean-stage4-target-libgcc:
46322 @if target-libgcc-bootstrap
46323 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
46324 all-stage4: all-stage4-target-libgcc
46325 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
46326 all-stage4-target-libgcc: configure-stage4-target-libgcc
46327 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46328 @r=`${PWD_COMMAND}`; export r; \
46329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46330 TFLAGS="$(STAGE4_TFLAGS)"; \
46331 $(NORMAL_TARGET_EXPORTS) \
46333 cd $(TARGET_SUBDIR)/libgcc && \
46335 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46336 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46337 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46338 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46339 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46340 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46341 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46342 $(EXTRA_TARGET_FLAGS) \
46343 TFLAGS="$(STAGE4_TFLAGS)" \
46344 $(TARGET-stage4-target-libgcc)
46346 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
46347 clean-stage4: clean-stage4-target-libgcc
46348 clean-stage4-target-libgcc:
46349 @if [ $(current_stage) = stage4 ]; then \
46350 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46351 else \
46352 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
46353 $(MAKE) stage4-start; \
46354 fi; \
46355 cd $(TARGET_SUBDIR)/libgcc && \
46356 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46357 @endif target-libgcc-bootstrap
46360 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
46361 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
46362 maybe-all-stageprofile-target-libgcc:
46363 maybe-clean-stageprofile-target-libgcc:
46364 @if target-libgcc-bootstrap
46365 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
46366 all-stageprofile: all-stageprofile-target-libgcc
46367 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
46368 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
46369 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46370 @r=`${PWD_COMMAND}`; export r; \
46371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46372 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46373 $(NORMAL_TARGET_EXPORTS) \
46375 cd $(TARGET_SUBDIR)/libgcc && \
46377 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46378 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46379 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46380 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46381 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46382 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46383 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46384 $(EXTRA_TARGET_FLAGS) \
46385 TFLAGS="$(STAGEprofile_TFLAGS)" \
46386 $(TARGET-stageprofile-target-libgcc)
46388 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
46389 clean-stageprofile: clean-stageprofile-target-libgcc
46390 clean-stageprofile-target-libgcc:
46391 @if [ $(current_stage) = stageprofile ]; then \
46392 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46393 else \
46394 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
46395 $(MAKE) stageprofile-start; \
46396 fi; \
46397 cd $(TARGET_SUBDIR)/libgcc && \
46398 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46399 @endif target-libgcc-bootstrap
46402 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
46403 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
46404 maybe-all-stagetrain-target-libgcc:
46405 maybe-clean-stagetrain-target-libgcc:
46406 @if target-libgcc-bootstrap
46407 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
46408 all-stagetrain: all-stagetrain-target-libgcc
46409 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
46410 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
46411 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
46412 @r=`${PWD_COMMAND}`; export r; \
46413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46414 TFLAGS="$(STAGEtrain_TFLAGS)"; \
46415 $(NORMAL_TARGET_EXPORTS) \
46417 cd $(TARGET_SUBDIR)/libgcc && \
46419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46420 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46421 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46422 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46423 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46424 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46425 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46426 $(EXTRA_TARGET_FLAGS) \
46427 TFLAGS="$(STAGEtrain_TFLAGS)" \
46428 $(TARGET-stagetrain-target-libgcc)
46430 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
46431 clean-stagetrain: clean-stagetrain-target-libgcc
46432 clean-stagetrain-target-libgcc:
46433 @if [ $(current_stage) = stagetrain ]; then \
46434 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46435 else \
46436 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
46437 $(MAKE) stagetrain-start; \
46438 fi; \
46439 cd $(TARGET_SUBDIR)/libgcc && \
46440 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46441 @endif target-libgcc-bootstrap
46444 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
46445 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
46446 maybe-all-stagefeedback-target-libgcc:
46447 maybe-clean-stagefeedback-target-libgcc:
46448 @if target-libgcc-bootstrap
46449 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
46450 all-stagefeedback: all-stagefeedback-target-libgcc
46451 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
46452 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
46453 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46454 @r=`${PWD_COMMAND}`; export r; \
46455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46456 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46457 $(NORMAL_TARGET_EXPORTS) \
46459 cd $(TARGET_SUBDIR)/libgcc && \
46461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46462 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46463 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46464 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46468 $(EXTRA_TARGET_FLAGS) \
46469 TFLAGS="$(STAGEfeedback_TFLAGS)" \
46470 $(TARGET-stagefeedback-target-libgcc)
46472 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
46473 clean-stagefeedback: clean-stagefeedback-target-libgcc
46474 clean-stagefeedback-target-libgcc:
46475 @if [ $(current_stage) = stagefeedback ]; then \
46476 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46477 else \
46478 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
46479 $(MAKE) stagefeedback-start; \
46480 fi; \
46481 cd $(TARGET_SUBDIR)/libgcc && \
46482 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46483 @endif target-libgcc-bootstrap
46486 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
46487 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
46488 maybe-all-stageautoprofile-target-libgcc:
46489 maybe-clean-stageautoprofile-target-libgcc:
46490 @if target-libgcc-bootstrap
46491 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
46492 all-stageautoprofile: all-stageautoprofile-target-libgcc
46493 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
46494 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
46495 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
46496 @r=`${PWD_COMMAND}`; export r; \
46497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46498 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
46499 $(NORMAL_TARGET_EXPORTS) \
46501 cd $(TARGET_SUBDIR)/libgcc && \
46502 $$s/gcc/config/i386/$(AUTO_PROFILE) \
46503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46504 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46505 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46506 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46510 $(EXTRA_TARGET_FLAGS) \
46511 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
46512 $(TARGET-stageautoprofile-target-libgcc)
46514 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
46515 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
46516 clean-stageautoprofile-target-libgcc:
46517 @if [ $(current_stage) = stageautoprofile ]; then \
46518 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46519 else \
46520 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
46521 $(MAKE) stageautoprofile-start; \
46522 fi; \
46523 cd $(TARGET_SUBDIR)/libgcc && \
46524 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46525 @endif target-libgcc-bootstrap
46528 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
46529 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
46530 maybe-all-stageautofeedback-target-libgcc:
46531 maybe-clean-stageautofeedback-target-libgcc:
46532 @if target-libgcc-bootstrap
46533 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
46534 all-stageautofeedback: all-stageautofeedback-target-libgcc
46535 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
46536 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
46537 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
46538 @r=`${PWD_COMMAND}`; export r; \
46539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46540 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
46541 $(NORMAL_TARGET_EXPORTS) \
46543 cd $(TARGET_SUBDIR)/libgcc && \
46545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46546 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46547 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46548 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46552 $(EXTRA_TARGET_FLAGS) \
46553 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
46554 $(TARGET-stageautofeedback-target-libgcc)
46556 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
46557 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
46558 clean-stageautofeedback-target-libgcc:
46559 @if [ $(current_stage) = stageautofeedback ]; then \
46560 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46561 else \
46562 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
46563 $(MAKE) stageautofeedback-start; \
46564 fi; \
46565 cd $(TARGET_SUBDIR)/libgcc && \
46566 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46567 @endif target-libgcc-bootstrap
46574 .PHONY: check-target-libgcc maybe-check-target-libgcc
46575 maybe-check-target-libgcc:
46576 @if target-libgcc
46577 maybe-check-target-libgcc: check-target-libgcc
46579 # Dummy target for uncheckable module.
46580 check-target-libgcc:
46582 @endif target-libgcc
46584 .PHONY: install-target-libgcc maybe-install-target-libgcc
46585 maybe-install-target-libgcc:
46586 @if target-libgcc
46587 maybe-install-target-libgcc: install-target-libgcc
46589 install-target-libgcc: installdirs
46590 @: $(MAKE); $(unstage)
46591 @r=`${PWD_COMMAND}`; export r; \
46592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46593 $(NORMAL_TARGET_EXPORTS) \
46594 (cd $(TARGET_SUBDIR)/libgcc && \
46595 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46597 @endif target-libgcc
46599 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
46600 maybe-install-strip-target-libgcc:
46601 @if target-libgcc
46602 maybe-install-strip-target-libgcc: install-strip-target-libgcc
46604 install-strip-target-libgcc: installdirs
46605 @: $(MAKE); $(unstage)
46606 @r=`${PWD_COMMAND}`; export r; \
46607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46608 $(NORMAL_TARGET_EXPORTS) \
46609 (cd $(TARGET_SUBDIR)/libgcc && \
46610 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46612 @endif target-libgcc
46614 # Other targets (info, dvi, pdf, etc.)
46616 .PHONY: maybe-info-target-libgcc info-target-libgcc
46617 maybe-info-target-libgcc:
46618 @if target-libgcc
46619 maybe-info-target-libgcc: info-target-libgcc
46621 info-target-libgcc: \
46622 configure-target-libgcc
46623 @: $(MAKE); $(unstage)
46624 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46625 r=`${PWD_COMMAND}`; export r; \
46626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46627 $(NORMAL_TARGET_EXPORTS) \
46628 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
46629 for flag in $(EXTRA_TARGET_FLAGS); do \
46630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46631 done; \
46632 (cd $(TARGET_SUBDIR)/libgcc && \
46633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46635 "RANLIB=$${RANLIB}" \
46636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46637 info) \
46638 || exit 1
46640 @endif target-libgcc
46642 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
46643 maybe-dvi-target-libgcc:
46644 @if target-libgcc
46645 maybe-dvi-target-libgcc: dvi-target-libgcc
46647 dvi-target-libgcc: \
46648 configure-target-libgcc
46649 @: $(MAKE); $(unstage)
46650 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46651 r=`${PWD_COMMAND}`; export r; \
46652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46653 $(NORMAL_TARGET_EXPORTS) \
46654 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
46655 for flag in $(EXTRA_TARGET_FLAGS); do \
46656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46657 done; \
46658 (cd $(TARGET_SUBDIR)/libgcc && \
46659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46661 "RANLIB=$${RANLIB}" \
46662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46663 dvi) \
46664 || exit 1
46666 @endif target-libgcc
46668 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
46669 maybe-pdf-target-libgcc:
46670 @if target-libgcc
46671 maybe-pdf-target-libgcc: pdf-target-libgcc
46673 pdf-target-libgcc: \
46674 configure-target-libgcc
46675 @: $(MAKE); $(unstage)
46676 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46677 r=`${PWD_COMMAND}`; export r; \
46678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46679 $(NORMAL_TARGET_EXPORTS) \
46680 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
46681 for flag in $(EXTRA_TARGET_FLAGS); do \
46682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46683 done; \
46684 (cd $(TARGET_SUBDIR)/libgcc && \
46685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46687 "RANLIB=$${RANLIB}" \
46688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46689 pdf) \
46690 || exit 1
46692 @endif target-libgcc
46694 .PHONY: maybe-html-target-libgcc html-target-libgcc
46695 maybe-html-target-libgcc:
46696 @if target-libgcc
46697 maybe-html-target-libgcc: html-target-libgcc
46699 html-target-libgcc: \
46700 configure-target-libgcc
46701 @: $(MAKE); $(unstage)
46702 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46703 r=`${PWD_COMMAND}`; export r; \
46704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46705 $(NORMAL_TARGET_EXPORTS) \
46706 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
46707 for flag in $(EXTRA_TARGET_FLAGS); do \
46708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46709 done; \
46710 (cd $(TARGET_SUBDIR)/libgcc && \
46711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46713 "RANLIB=$${RANLIB}" \
46714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46715 html) \
46716 || exit 1
46718 @endif target-libgcc
46720 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
46721 maybe-TAGS-target-libgcc:
46722 @if target-libgcc
46723 maybe-TAGS-target-libgcc: TAGS-target-libgcc
46725 TAGS-target-libgcc: \
46726 configure-target-libgcc
46727 @: $(MAKE); $(unstage)
46728 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46729 r=`${PWD_COMMAND}`; export r; \
46730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46731 $(NORMAL_TARGET_EXPORTS) \
46732 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
46733 for flag in $(EXTRA_TARGET_FLAGS); do \
46734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46735 done; \
46736 (cd $(TARGET_SUBDIR)/libgcc && \
46737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46739 "RANLIB=$${RANLIB}" \
46740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46741 TAGS) \
46742 || exit 1
46744 @endif target-libgcc
46746 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
46747 maybe-install-info-target-libgcc:
46748 @if target-libgcc
46749 maybe-install-info-target-libgcc: install-info-target-libgcc
46751 install-info-target-libgcc: \
46752 configure-target-libgcc \
46753 info-target-libgcc
46754 @: $(MAKE); $(unstage)
46755 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46756 r=`${PWD_COMMAND}`; export r; \
46757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46758 $(NORMAL_TARGET_EXPORTS) \
46759 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
46760 for flag in $(EXTRA_TARGET_FLAGS); do \
46761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46762 done; \
46763 (cd $(TARGET_SUBDIR)/libgcc && \
46764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46766 "RANLIB=$${RANLIB}" \
46767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46768 install-info) \
46769 || exit 1
46771 @endif target-libgcc
46773 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
46774 maybe-install-pdf-target-libgcc:
46775 @if target-libgcc
46776 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
46778 install-pdf-target-libgcc: \
46779 configure-target-libgcc \
46780 pdf-target-libgcc
46781 @: $(MAKE); $(unstage)
46782 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46783 r=`${PWD_COMMAND}`; export r; \
46784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46785 $(NORMAL_TARGET_EXPORTS) \
46786 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
46787 for flag in $(EXTRA_TARGET_FLAGS); do \
46788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46789 done; \
46790 (cd $(TARGET_SUBDIR)/libgcc && \
46791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46793 "RANLIB=$${RANLIB}" \
46794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46795 install-pdf) \
46796 || exit 1
46798 @endif target-libgcc
46800 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
46801 maybe-install-html-target-libgcc:
46802 @if target-libgcc
46803 maybe-install-html-target-libgcc: install-html-target-libgcc
46805 install-html-target-libgcc: \
46806 configure-target-libgcc \
46807 html-target-libgcc
46808 @: $(MAKE); $(unstage)
46809 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46810 r=`${PWD_COMMAND}`; export r; \
46811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46812 $(NORMAL_TARGET_EXPORTS) \
46813 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
46814 for flag in $(EXTRA_TARGET_FLAGS); do \
46815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46816 done; \
46817 (cd $(TARGET_SUBDIR)/libgcc && \
46818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46820 "RANLIB=$${RANLIB}" \
46821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46822 install-html) \
46823 || exit 1
46825 @endif target-libgcc
46827 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
46828 maybe-installcheck-target-libgcc:
46829 @if target-libgcc
46830 maybe-installcheck-target-libgcc: installcheck-target-libgcc
46832 installcheck-target-libgcc: \
46833 configure-target-libgcc
46834 @: $(MAKE); $(unstage)
46835 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46836 r=`${PWD_COMMAND}`; export r; \
46837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46838 $(NORMAL_TARGET_EXPORTS) \
46839 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
46840 for flag in $(EXTRA_TARGET_FLAGS); do \
46841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46842 done; \
46843 (cd $(TARGET_SUBDIR)/libgcc && \
46844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46846 "RANLIB=$${RANLIB}" \
46847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46848 installcheck) \
46849 || exit 1
46851 @endif target-libgcc
46853 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
46854 maybe-mostlyclean-target-libgcc:
46855 @if target-libgcc
46856 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
46858 mostlyclean-target-libgcc:
46859 @: $(MAKE); $(unstage)
46860 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46861 r=`${PWD_COMMAND}`; export r; \
46862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46863 $(NORMAL_TARGET_EXPORTS) \
46864 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
46865 for flag in $(EXTRA_TARGET_FLAGS); do \
46866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46867 done; \
46868 (cd $(TARGET_SUBDIR)/libgcc && \
46869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46871 "RANLIB=$${RANLIB}" \
46872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46873 mostlyclean) \
46874 || exit 1
46876 @endif target-libgcc
46878 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
46879 maybe-clean-target-libgcc:
46880 @if target-libgcc
46881 maybe-clean-target-libgcc: clean-target-libgcc
46883 clean-target-libgcc:
46884 @: $(MAKE); $(unstage)
46885 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46886 r=`${PWD_COMMAND}`; export r; \
46887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46888 $(NORMAL_TARGET_EXPORTS) \
46889 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
46890 for flag in $(EXTRA_TARGET_FLAGS); do \
46891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46892 done; \
46893 (cd $(TARGET_SUBDIR)/libgcc && \
46894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46896 "RANLIB=$${RANLIB}" \
46897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46898 clean) \
46899 || exit 1
46901 @endif target-libgcc
46903 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
46904 maybe-distclean-target-libgcc:
46905 @if target-libgcc
46906 maybe-distclean-target-libgcc: distclean-target-libgcc
46908 distclean-target-libgcc:
46909 @: $(MAKE); $(unstage)
46910 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46911 r=`${PWD_COMMAND}`; export r; \
46912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46913 $(NORMAL_TARGET_EXPORTS) \
46914 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
46915 for flag in $(EXTRA_TARGET_FLAGS); do \
46916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46917 done; \
46918 (cd $(TARGET_SUBDIR)/libgcc && \
46919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46921 "RANLIB=$${RANLIB}" \
46922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46923 distclean) \
46924 || exit 1
46926 @endif target-libgcc
46928 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
46929 maybe-maintainer-clean-target-libgcc:
46930 @if target-libgcc
46931 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
46933 maintainer-clean-target-libgcc:
46934 @: $(MAKE); $(unstage)
46935 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46936 r=`${PWD_COMMAND}`; export r; \
46937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46938 $(NORMAL_TARGET_EXPORTS) \
46939 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
46940 for flag in $(EXTRA_TARGET_FLAGS); do \
46941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46942 done; \
46943 (cd $(TARGET_SUBDIR)/libgcc && \
46944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46946 "RANLIB=$${RANLIB}" \
46947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46948 maintainer-clean) \
46949 || exit 1
46951 @endif target-libgcc
46957 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
46958 maybe-configure-target-libbacktrace:
46959 @if gcc-bootstrap
46960 configure-target-libbacktrace: stage_current
46961 @endif gcc-bootstrap
46962 @if target-libbacktrace
46963 maybe-configure-target-libbacktrace: configure-target-libbacktrace
46964 configure-target-libbacktrace:
46965 @: $(MAKE); $(unstage)
46966 @r=`${PWD_COMMAND}`; export r; \
46967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46968 echo "Checking multilib configuration for libbacktrace..."; \
46969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
46970 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
46971 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
46972 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
46973 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
46974 else \
46975 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
46976 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
46977 fi; \
46978 else \
46979 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
46980 fi; \
46981 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
46982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
46983 $(NORMAL_TARGET_EXPORTS) \
46984 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
46985 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
46986 case $(srcdir) in \
46987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46988 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
46989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46990 esac; \
46991 module_srcdir=libbacktrace; \
46992 rm -f no-such-file || : ; \
46993 CONFIG_SITE=no-such-file $(SHELL) \
46994 $$s/$$module_srcdir/configure \
46995 --srcdir=$${topdir}/$$module_srcdir \
46996 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46997 --target=${target_alias} \
46998 || exit 1
46999 @endif target-libbacktrace
47005 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
47006 maybe-all-target-libbacktrace:
47007 @if gcc-bootstrap
47008 all-target-libbacktrace: stage_current
47009 @endif gcc-bootstrap
47010 @if target-libbacktrace
47011 TARGET-target-libbacktrace=all
47012 maybe-all-target-libbacktrace: all-target-libbacktrace
47013 all-target-libbacktrace: configure-target-libbacktrace
47014 @: $(MAKE); $(unstage)
47015 @r=`${PWD_COMMAND}`; export r; \
47016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47017 $(NORMAL_TARGET_EXPORTS) \
47018 (cd $(TARGET_SUBDIR)/libbacktrace && \
47019 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47020 $(TARGET-target-libbacktrace))
47021 @endif target-libbacktrace
47027 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
47028 maybe-check-target-libbacktrace:
47029 @if target-libbacktrace
47030 maybe-check-target-libbacktrace: check-target-libbacktrace
47032 check-target-libbacktrace:
47033 @: $(MAKE); $(unstage)
47034 @r=`${PWD_COMMAND}`; export r; \
47035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47036 $(NORMAL_TARGET_EXPORTS) \
47037 (cd $(TARGET_SUBDIR)/libbacktrace && \
47038 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47040 @endif target-libbacktrace
47042 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
47043 maybe-install-target-libbacktrace:
47044 @if target-libbacktrace
47045 maybe-install-target-libbacktrace: install-target-libbacktrace
47047 install-target-libbacktrace: installdirs
47048 @: $(MAKE); $(unstage)
47049 @r=`${PWD_COMMAND}`; export r; \
47050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47051 $(NORMAL_TARGET_EXPORTS) \
47052 (cd $(TARGET_SUBDIR)/libbacktrace && \
47053 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47055 @endif target-libbacktrace
47057 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
47058 maybe-install-strip-target-libbacktrace:
47059 @if target-libbacktrace
47060 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
47062 install-strip-target-libbacktrace: installdirs
47063 @: $(MAKE); $(unstage)
47064 @r=`${PWD_COMMAND}`; export r; \
47065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47066 $(NORMAL_TARGET_EXPORTS) \
47067 (cd $(TARGET_SUBDIR)/libbacktrace && \
47068 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47070 @endif target-libbacktrace
47072 # Other targets (info, dvi, pdf, etc.)
47074 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
47075 maybe-info-target-libbacktrace:
47076 @if target-libbacktrace
47077 maybe-info-target-libbacktrace: info-target-libbacktrace
47079 info-target-libbacktrace: \
47080 configure-target-libbacktrace
47081 @: $(MAKE); $(unstage)
47082 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47083 r=`${PWD_COMMAND}`; export r; \
47084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47085 $(NORMAL_TARGET_EXPORTS) \
47086 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
47087 for flag in $(EXTRA_TARGET_FLAGS); do \
47088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47089 done; \
47090 (cd $(TARGET_SUBDIR)/libbacktrace && \
47091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47093 "RANLIB=$${RANLIB}" \
47094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47095 info) \
47096 || exit 1
47098 @endif target-libbacktrace
47100 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
47101 maybe-dvi-target-libbacktrace:
47102 @if target-libbacktrace
47103 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
47105 dvi-target-libbacktrace: \
47106 configure-target-libbacktrace
47107 @: $(MAKE); $(unstage)
47108 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47109 r=`${PWD_COMMAND}`; export r; \
47110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47111 $(NORMAL_TARGET_EXPORTS) \
47112 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
47113 for flag in $(EXTRA_TARGET_FLAGS); do \
47114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47115 done; \
47116 (cd $(TARGET_SUBDIR)/libbacktrace && \
47117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47119 "RANLIB=$${RANLIB}" \
47120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47121 dvi) \
47122 || exit 1
47124 @endif target-libbacktrace
47126 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
47127 maybe-pdf-target-libbacktrace:
47128 @if target-libbacktrace
47129 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
47131 pdf-target-libbacktrace: \
47132 configure-target-libbacktrace
47133 @: $(MAKE); $(unstage)
47134 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47135 r=`${PWD_COMMAND}`; export r; \
47136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47137 $(NORMAL_TARGET_EXPORTS) \
47138 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
47139 for flag in $(EXTRA_TARGET_FLAGS); do \
47140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47141 done; \
47142 (cd $(TARGET_SUBDIR)/libbacktrace && \
47143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47145 "RANLIB=$${RANLIB}" \
47146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47147 pdf) \
47148 || exit 1
47150 @endif target-libbacktrace
47152 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
47153 maybe-html-target-libbacktrace:
47154 @if target-libbacktrace
47155 maybe-html-target-libbacktrace: html-target-libbacktrace
47157 html-target-libbacktrace: \
47158 configure-target-libbacktrace
47159 @: $(MAKE); $(unstage)
47160 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47161 r=`${PWD_COMMAND}`; export r; \
47162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47163 $(NORMAL_TARGET_EXPORTS) \
47164 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
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)/libbacktrace && \
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 html) \
47174 || exit 1
47176 @endif target-libbacktrace
47178 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
47179 maybe-TAGS-target-libbacktrace:
47180 @if target-libbacktrace
47181 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
47183 TAGS-target-libbacktrace: \
47184 configure-target-libbacktrace
47185 @: $(MAKE); $(unstage)
47186 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47187 r=`${PWD_COMMAND}`; export r; \
47188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47189 $(NORMAL_TARGET_EXPORTS) \
47190 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
47191 for flag in $(EXTRA_TARGET_FLAGS); do \
47192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47193 done; \
47194 (cd $(TARGET_SUBDIR)/libbacktrace && \
47195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47197 "RANLIB=$${RANLIB}" \
47198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47199 TAGS) \
47200 || exit 1
47202 @endif target-libbacktrace
47204 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
47205 maybe-install-info-target-libbacktrace:
47206 @if target-libbacktrace
47207 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
47209 install-info-target-libbacktrace: \
47210 configure-target-libbacktrace \
47211 info-target-libbacktrace
47212 @: $(MAKE); $(unstage)
47213 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47214 r=`${PWD_COMMAND}`; export r; \
47215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47216 $(NORMAL_TARGET_EXPORTS) \
47217 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
47218 for flag in $(EXTRA_TARGET_FLAGS); do \
47219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47220 done; \
47221 (cd $(TARGET_SUBDIR)/libbacktrace && \
47222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47224 "RANLIB=$${RANLIB}" \
47225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47226 install-info) \
47227 || exit 1
47229 @endif target-libbacktrace
47231 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
47232 maybe-install-pdf-target-libbacktrace:
47233 @if target-libbacktrace
47234 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
47236 install-pdf-target-libbacktrace: \
47237 configure-target-libbacktrace \
47238 pdf-target-libbacktrace
47239 @: $(MAKE); $(unstage)
47240 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47241 r=`${PWD_COMMAND}`; export r; \
47242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47243 $(NORMAL_TARGET_EXPORTS) \
47244 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
47245 for flag in $(EXTRA_TARGET_FLAGS); do \
47246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47247 done; \
47248 (cd $(TARGET_SUBDIR)/libbacktrace && \
47249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47251 "RANLIB=$${RANLIB}" \
47252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47253 install-pdf) \
47254 || exit 1
47256 @endif target-libbacktrace
47258 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
47259 maybe-install-html-target-libbacktrace:
47260 @if target-libbacktrace
47261 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
47263 install-html-target-libbacktrace: \
47264 configure-target-libbacktrace \
47265 html-target-libbacktrace
47266 @: $(MAKE); $(unstage)
47267 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47268 r=`${PWD_COMMAND}`; export r; \
47269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47270 $(NORMAL_TARGET_EXPORTS) \
47271 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
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)/libbacktrace && \
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 install-html) \
47281 || exit 1
47283 @endif target-libbacktrace
47285 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
47286 maybe-installcheck-target-libbacktrace:
47287 @if target-libbacktrace
47288 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
47290 installcheck-target-libbacktrace: \
47291 configure-target-libbacktrace
47292 @: $(MAKE); $(unstage)
47293 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47294 r=`${PWD_COMMAND}`; export r; \
47295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47296 $(NORMAL_TARGET_EXPORTS) \
47297 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
47298 for flag in $(EXTRA_TARGET_FLAGS); do \
47299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47300 done; \
47301 (cd $(TARGET_SUBDIR)/libbacktrace && \
47302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47304 "RANLIB=$${RANLIB}" \
47305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47306 installcheck) \
47307 || exit 1
47309 @endif target-libbacktrace
47311 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
47312 maybe-mostlyclean-target-libbacktrace:
47313 @if target-libbacktrace
47314 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
47316 mostlyclean-target-libbacktrace:
47317 @: $(MAKE); $(unstage)
47318 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47319 r=`${PWD_COMMAND}`; export r; \
47320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47321 $(NORMAL_TARGET_EXPORTS) \
47322 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
47323 for flag in $(EXTRA_TARGET_FLAGS); do \
47324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47325 done; \
47326 (cd $(TARGET_SUBDIR)/libbacktrace && \
47327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47329 "RANLIB=$${RANLIB}" \
47330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47331 mostlyclean) \
47332 || exit 1
47334 @endif target-libbacktrace
47336 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
47337 maybe-clean-target-libbacktrace:
47338 @if target-libbacktrace
47339 maybe-clean-target-libbacktrace: clean-target-libbacktrace
47341 clean-target-libbacktrace:
47342 @: $(MAKE); $(unstage)
47343 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47344 r=`${PWD_COMMAND}`; export r; \
47345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47346 $(NORMAL_TARGET_EXPORTS) \
47347 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
47348 for flag in $(EXTRA_TARGET_FLAGS); do \
47349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47350 done; \
47351 (cd $(TARGET_SUBDIR)/libbacktrace && \
47352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47354 "RANLIB=$${RANLIB}" \
47355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47356 clean) \
47357 || exit 1
47359 @endif target-libbacktrace
47361 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
47362 maybe-distclean-target-libbacktrace:
47363 @if target-libbacktrace
47364 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
47366 distclean-target-libbacktrace:
47367 @: $(MAKE); $(unstage)
47368 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47369 r=`${PWD_COMMAND}`; export r; \
47370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47371 $(NORMAL_TARGET_EXPORTS) \
47372 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
47373 for flag in $(EXTRA_TARGET_FLAGS); do \
47374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47375 done; \
47376 (cd $(TARGET_SUBDIR)/libbacktrace && \
47377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47379 "RANLIB=$${RANLIB}" \
47380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47381 distclean) \
47382 || exit 1
47384 @endif target-libbacktrace
47386 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
47387 maybe-maintainer-clean-target-libbacktrace:
47388 @if target-libbacktrace
47389 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
47391 maintainer-clean-target-libbacktrace:
47392 @: $(MAKE); $(unstage)
47393 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
47394 r=`${PWD_COMMAND}`; export r; \
47395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47396 $(NORMAL_TARGET_EXPORTS) \
47397 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
47398 for flag in $(EXTRA_TARGET_FLAGS); do \
47399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47400 done; \
47401 (cd $(TARGET_SUBDIR)/libbacktrace && \
47402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47404 "RANLIB=$${RANLIB}" \
47405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47406 maintainer-clean) \
47407 || exit 1
47409 @endif target-libbacktrace
47415 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
47416 maybe-configure-target-libquadmath:
47417 @if gcc-bootstrap
47418 configure-target-libquadmath: stage_current
47419 @endif gcc-bootstrap
47420 @if target-libquadmath
47421 maybe-configure-target-libquadmath: configure-target-libquadmath
47422 configure-target-libquadmath:
47423 @: $(MAKE); $(unstage)
47424 @r=`${PWD_COMMAND}`; export r; \
47425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47426 echo "Checking multilib configuration for libquadmath..."; \
47427 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
47428 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
47429 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
47430 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
47431 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
47432 else \
47433 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
47434 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
47435 fi; \
47436 else \
47437 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
47438 fi; \
47439 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
47440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
47441 $(NORMAL_TARGET_EXPORTS) \
47442 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
47443 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
47444 case $(srcdir) in \
47445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47446 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
47447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47448 esac; \
47449 module_srcdir=libquadmath; \
47450 rm -f no-such-file || : ; \
47451 CONFIG_SITE=no-such-file $(SHELL) \
47452 $$s/$$module_srcdir/configure \
47453 --srcdir=$${topdir}/$$module_srcdir \
47454 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47455 --target=${target_alias} \
47456 || exit 1
47457 @endif target-libquadmath
47463 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
47464 maybe-all-target-libquadmath:
47465 @if gcc-bootstrap
47466 all-target-libquadmath: stage_current
47467 @endif gcc-bootstrap
47468 @if target-libquadmath
47469 TARGET-target-libquadmath=all
47470 maybe-all-target-libquadmath: all-target-libquadmath
47471 all-target-libquadmath: configure-target-libquadmath
47472 @: $(MAKE); $(unstage)
47473 @r=`${PWD_COMMAND}`; export r; \
47474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47475 $(NORMAL_TARGET_EXPORTS) \
47476 (cd $(TARGET_SUBDIR)/libquadmath && \
47477 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47478 $(TARGET-target-libquadmath))
47479 @endif target-libquadmath
47485 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
47486 maybe-check-target-libquadmath:
47487 @if target-libquadmath
47488 maybe-check-target-libquadmath: check-target-libquadmath
47490 check-target-libquadmath:
47491 @: $(MAKE); $(unstage)
47492 @r=`${PWD_COMMAND}`; export r; \
47493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47494 $(NORMAL_TARGET_EXPORTS) \
47495 (cd $(TARGET_SUBDIR)/libquadmath && \
47496 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47498 @endif target-libquadmath
47500 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
47501 maybe-install-target-libquadmath:
47502 @if target-libquadmath
47503 maybe-install-target-libquadmath: install-target-libquadmath
47505 install-target-libquadmath: installdirs
47506 @: $(MAKE); $(unstage)
47507 @r=`${PWD_COMMAND}`; export r; \
47508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47509 $(NORMAL_TARGET_EXPORTS) \
47510 (cd $(TARGET_SUBDIR)/libquadmath && \
47511 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47513 @endif target-libquadmath
47515 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
47516 maybe-install-strip-target-libquadmath:
47517 @if target-libquadmath
47518 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
47520 install-strip-target-libquadmath: installdirs
47521 @: $(MAKE); $(unstage)
47522 @r=`${PWD_COMMAND}`; export r; \
47523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47524 $(NORMAL_TARGET_EXPORTS) \
47525 (cd $(TARGET_SUBDIR)/libquadmath && \
47526 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47528 @endif target-libquadmath
47530 # Other targets (info, dvi, pdf, etc.)
47532 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
47533 maybe-info-target-libquadmath:
47534 @if target-libquadmath
47535 maybe-info-target-libquadmath: info-target-libquadmath
47537 info-target-libquadmath: \
47538 configure-target-libquadmath
47539 @: $(MAKE); $(unstage)
47540 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47541 r=`${PWD_COMMAND}`; export r; \
47542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47543 $(NORMAL_TARGET_EXPORTS) \
47544 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
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)/libquadmath && \
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 info) \
47554 || exit 1
47556 @endif target-libquadmath
47558 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
47559 maybe-dvi-target-libquadmath:
47560 @if target-libquadmath
47561 maybe-dvi-target-libquadmath: dvi-target-libquadmath
47563 dvi-target-libquadmath: \
47564 configure-target-libquadmath
47565 @: $(MAKE); $(unstage)
47566 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47567 r=`${PWD_COMMAND}`; export r; \
47568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47569 $(NORMAL_TARGET_EXPORTS) \
47570 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
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)/libquadmath && \
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 dvi) \
47580 || exit 1
47582 @endif target-libquadmath
47584 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
47585 maybe-pdf-target-libquadmath:
47586 @if target-libquadmath
47587 maybe-pdf-target-libquadmath: pdf-target-libquadmath
47589 pdf-target-libquadmath: \
47590 configure-target-libquadmath
47591 @: $(MAKE); $(unstage)
47592 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47593 r=`${PWD_COMMAND}`; export r; \
47594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47595 $(NORMAL_TARGET_EXPORTS) \
47596 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
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)/libquadmath && \
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 pdf) \
47606 || exit 1
47608 @endif target-libquadmath
47610 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
47611 maybe-html-target-libquadmath:
47612 @if target-libquadmath
47613 maybe-html-target-libquadmath: html-target-libquadmath
47615 html-target-libquadmath: \
47616 configure-target-libquadmath
47617 @: $(MAKE); $(unstage)
47618 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47619 r=`${PWD_COMMAND}`; export r; \
47620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47621 $(NORMAL_TARGET_EXPORTS) \
47622 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
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)/libquadmath && \
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 html) \
47632 || exit 1
47634 @endif target-libquadmath
47636 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
47637 maybe-TAGS-target-libquadmath:
47638 @if target-libquadmath
47639 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
47641 TAGS-target-libquadmath: \
47642 configure-target-libquadmath
47643 @: $(MAKE); $(unstage)
47644 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47645 r=`${PWD_COMMAND}`; export r; \
47646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47647 $(NORMAL_TARGET_EXPORTS) \
47648 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
47649 for flag in $(EXTRA_TARGET_FLAGS); do \
47650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47651 done; \
47652 (cd $(TARGET_SUBDIR)/libquadmath && \
47653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47655 "RANLIB=$${RANLIB}" \
47656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47657 TAGS) \
47658 || exit 1
47660 @endif target-libquadmath
47662 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
47663 maybe-install-info-target-libquadmath:
47664 @if target-libquadmath
47665 maybe-install-info-target-libquadmath: install-info-target-libquadmath
47667 install-info-target-libquadmath: \
47668 configure-target-libquadmath \
47669 info-target-libquadmath
47670 @: $(MAKE); $(unstage)
47671 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47672 r=`${PWD_COMMAND}`; export r; \
47673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47674 $(NORMAL_TARGET_EXPORTS) \
47675 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
47676 for flag in $(EXTRA_TARGET_FLAGS); do \
47677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47678 done; \
47679 (cd $(TARGET_SUBDIR)/libquadmath && \
47680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47682 "RANLIB=$${RANLIB}" \
47683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47684 install-info) \
47685 || exit 1
47687 @endif target-libquadmath
47689 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
47690 maybe-install-pdf-target-libquadmath:
47691 @if target-libquadmath
47692 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
47694 install-pdf-target-libquadmath: \
47695 configure-target-libquadmath \
47696 pdf-target-libquadmath
47697 @: $(MAKE); $(unstage)
47698 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47699 r=`${PWD_COMMAND}`; export r; \
47700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47701 $(NORMAL_TARGET_EXPORTS) \
47702 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
47703 for flag in $(EXTRA_TARGET_FLAGS); do \
47704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47705 done; \
47706 (cd $(TARGET_SUBDIR)/libquadmath && \
47707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47709 "RANLIB=$${RANLIB}" \
47710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47711 install-pdf) \
47712 || exit 1
47714 @endif target-libquadmath
47716 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
47717 maybe-install-html-target-libquadmath:
47718 @if target-libquadmath
47719 maybe-install-html-target-libquadmath: install-html-target-libquadmath
47721 install-html-target-libquadmath: \
47722 configure-target-libquadmath \
47723 html-target-libquadmath
47724 @: $(MAKE); $(unstage)
47725 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47726 r=`${PWD_COMMAND}`; export r; \
47727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47728 $(NORMAL_TARGET_EXPORTS) \
47729 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
47730 for flag in $(EXTRA_TARGET_FLAGS); do \
47731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47732 done; \
47733 (cd $(TARGET_SUBDIR)/libquadmath && \
47734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47736 "RANLIB=$${RANLIB}" \
47737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47738 install-html) \
47739 || exit 1
47741 @endif target-libquadmath
47743 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
47744 maybe-installcheck-target-libquadmath:
47745 @if target-libquadmath
47746 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
47748 installcheck-target-libquadmath: \
47749 configure-target-libquadmath
47750 @: $(MAKE); $(unstage)
47751 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47752 r=`${PWD_COMMAND}`; export r; \
47753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47754 $(NORMAL_TARGET_EXPORTS) \
47755 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
47756 for flag in $(EXTRA_TARGET_FLAGS); do \
47757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47758 done; \
47759 (cd $(TARGET_SUBDIR)/libquadmath && \
47760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47762 "RANLIB=$${RANLIB}" \
47763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47764 installcheck) \
47765 || exit 1
47767 @endif target-libquadmath
47769 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
47770 maybe-mostlyclean-target-libquadmath:
47771 @if target-libquadmath
47772 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
47774 mostlyclean-target-libquadmath:
47775 @: $(MAKE); $(unstage)
47776 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47777 r=`${PWD_COMMAND}`; export r; \
47778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47779 $(NORMAL_TARGET_EXPORTS) \
47780 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
47781 for flag in $(EXTRA_TARGET_FLAGS); do \
47782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47783 done; \
47784 (cd $(TARGET_SUBDIR)/libquadmath && \
47785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47787 "RANLIB=$${RANLIB}" \
47788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47789 mostlyclean) \
47790 || exit 1
47792 @endif target-libquadmath
47794 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
47795 maybe-clean-target-libquadmath:
47796 @if target-libquadmath
47797 maybe-clean-target-libquadmath: clean-target-libquadmath
47799 clean-target-libquadmath:
47800 @: $(MAKE); $(unstage)
47801 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47802 r=`${PWD_COMMAND}`; export r; \
47803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47804 $(NORMAL_TARGET_EXPORTS) \
47805 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
47806 for flag in $(EXTRA_TARGET_FLAGS); do \
47807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47808 done; \
47809 (cd $(TARGET_SUBDIR)/libquadmath && \
47810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47812 "RANLIB=$${RANLIB}" \
47813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47814 clean) \
47815 || exit 1
47817 @endif target-libquadmath
47819 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
47820 maybe-distclean-target-libquadmath:
47821 @if target-libquadmath
47822 maybe-distclean-target-libquadmath: distclean-target-libquadmath
47824 distclean-target-libquadmath:
47825 @: $(MAKE); $(unstage)
47826 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47827 r=`${PWD_COMMAND}`; export r; \
47828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47829 $(NORMAL_TARGET_EXPORTS) \
47830 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
47831 for flag in $(EXTRA_TARGET_FLAGS); do \
47832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47833 done; \
47834 (cd $(TARGET_SUBDIR)/libquadmath && \
47835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47837 "RANLIB=$${RANLIB}" \
47838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47839 distclean) \
47840 || exit 1
47842 @endif target-libquadmath
47844 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
47845 maybe-maintainer-clean-target-libquadmath:
47846 @if target-libquadmath
47847 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
47849 maintainer-clean-target-libquadmath:
47850 @: $(MAKE); $(unstage)
47851 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
47852 r=`${PWD_COMMAND}`; export r; \
47853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47854 $(NORMAL_TARGET_EXPORTS) \
47855 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
47856 for flag in $(EXTRA_TARGET_FLAGS); do \
47857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47858 done; \
47859 (cd $(TARGET_SUBDIR)/libquadmath && \
47860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47862 "RANLIB=$${RANLIB}" \
47863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47864 maintainer-clean) \
47865 || exit 1
47867 @endif target-libquadmath
47873 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
47874 maybe-configure-target-libgfortran:
47875 @if gcc-bootstrap
47876 configure-target-libgfortran: stage_current
47877 @endif gcc-bootstrap
47878 @if target-libgfortran
47879 maybe-configure-target-libgfortran: configure-target-libgfortran
47880 configure-target-libgfortran:
47881 @: $(MAKE); $(unstage)
47882 @r=`${PWD_COMMAND}`; export r; \
47883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47884 echo "Checking multilib configuration for libgfortran..."; \
47885 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
47886 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
47887 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
47888 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
47889 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
47890 else \
47891 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
47892 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
47893 fi; \
47894 else \
47895 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
47896 fi; \
47897 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
47898 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
47899 $(NORMAL_TARGET_EXPORTS) \
47900 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
47901 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
47902 case $(srcdir) in \
47903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47904 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
47905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47906 esac; \
47907 module_srcdir=libgfortran; \
47908 rm -f no-such-file || : ; \
47909 CONFIG_SITE=no-such-file $(SHELL) \
47910 $$s/$$module_srcdir/configure \
47911 --srcdir=$${topdir}/$$module_srcdir \
47912 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47913 --target=${target_alias} \
47914 || exit 1
47915 @endif target-libgfortran
47921 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
47922 maybe-all-target-libgfortran:
47923 @if gcc-bootstrap
47924 all-target-libgfortran: stage_current
47925 @endif gcc-bootstrap
47926 @if target-libgfortran
47927 TARGET-target-libgfortran=all
47928 maybe-all-target-libgfortran: all-target-libgfortran
47929 all-target-libgfortran: configure-target-libgfortran
47930 @: $(MAKE); $(unstage)
47931 @r=`${PWD_COMMAND}`; export r; \
47932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47933 $(NORMAL_TARGET_EXPORTS) \
47934 (cd $(TARGET_SUBDIR)/libgfortran && \
47935 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47936 $(TARGET-target-libgfortran))
47937 @endif target-libgfortran
47943 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
47944 maybe-check-target-libgfortran:
47945 @if target-libgfortran
47946 maybe-check-target-libgfortran: check-target-libgfortran
47948 check-target-libgfortran:
47949 @: $(MAKE); $(unstage)
47950 @r=`${PWD_COMMAND}`; export r; \
47951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47952 $(NORMAL_TARGET_EXPORTS) \
47953 (cd $(TARGET_SUBDIR)/libgfortran && \
47954 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47956 @endif target-libgfortran
47958 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
47959 maybe-install-target-libgfortran:
47960 @if target-libgfortran
47961 maybe-install-target-libgfortran: install-target-libgfortran
47963 install-target-libgfortran: installdirs
47964 @: $(MAKE); $(unstage)
47965 @r=`${PWD_COMMAND}`; export r; \
47966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47967 $(NORMAL_TARGET_EXPORTS) \
47968 (cd $(TARGET_SUBDIR)/libgfortran && \
47969 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47971 @endif target-libgfortran
47973 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
47974 maybe-install-strip-target-libgfortran:
47975 @if target-libgfortran
47976 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
47978 install-strip-target-libgfortran: installdirs
47979 @: $(MAKE); $(unstage)
47980 @r=`${PWD_COMMAND}`; export r; \
47981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47982 $(NORMAL_TARGET_EXPORTS) \
47983 (cd $(TARGET_SUBDIR)/libgfortran && \
47984 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47986 @endif target-libgfortran
47988 # Other targets (info, dvi, pdf, etc.)
47990 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
47991 maybe-info-target-libgfortran:
47992 @if target-libgfortran
47993 maybe-info-target-libgfortran: info-target-libgfortran
47995 info-target-libgfortran: \
47996 configure-target-libgfortran
47997 @: $(MAKE); $(unstage)
47998 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47999 r=`${PWD_COMMAND}`; export r; \
48000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48001 $(NORMAL_TARGET_EXPORTS) \
48002 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
48003 for flag in $(EXTRA_TARGET_FLAGS); do \
48004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48005 done; \
48006 (cd $(TARGET_SUBDIR)/libgfortran && \
48007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48009 "RANLIB=$${RANLIB}" \
48010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48011 info) \
48012 || exit 1
48014 @endif target-libgfortran
48016 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
48017 maybe-dvi-target-libgfortran:
48018 @if target-libgfortran
48019 maybe-dvi-target-libgfortran: dvi-target-libgfortran
48021 dvi-target-libgfortran: \
48022 configure-target-libgfortran
48023 @: $(MAKE); $(unstage)
48024 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48025 r=`${PWD_COMMAND}`; export r; \
48026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48027 $(NORMAL_TARGET_EXPORTS) \
48028 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
48029 for flag in $(EXTRA_TARGET_FLAGS); do \
48030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48031 done; \
48032 (cd $(TARGET_SUBDIR)/libgfortran && \
48033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48035 "RANLIB=$${RANLIB}" \
48036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48037 dvi) \
48038 || exit 1
48040 @endif target-libgfortran
48042 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
48043 maybe-pdf-target-libgfortran:
48044 @if target-libgfortran
48045 maybe-pdf-target-libgfortran: pdf-target-libgfortran
48047 pdf-target-libgfortran: \
48048 configure-target-libgfortran
48049 @: $(MAKE); $(unstage)
48050 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48051 r=`${PWD_COMMAND}`; export r; \
48052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48053 $(NORMAL_TARGET_EXPORTS) \
48054 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
48055 for flag in $(EXTRA_TARGET_FLAGS); do \
48056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48057 done; \
48058 (cd $(TARGET_SUBDIR)/libgfortran && \
48059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48061 "RANLIB=$${RANLIB}" \
48062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48063 pdf) \
48064 || exit 1
48066 @endif target-libgfortran
48068 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
48069 maybe-html-target-libgfortran:
48070 @if target-libgfortran
48071 maybe-html-target-libgfortran: html-target-libgfortran
48073 html-target-libgfortran: \
48074 configure-target-libgfortran
48075 @: $(MAKE); $(unstage)
48076 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48077 r=`${PWD_COMMAND}`; export r; \
48078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48079 $(NORMAL_TARGET_EXPORTS) \
48080 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
48081 for flag in $(EXTRA_TARGET_FLAGS); do \
48082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48083 done; \
48084 (cd $(TARGET_SUBDIR)/libgfortran && \
48085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48087 "RANLIB=$${RANLIB}" \
48088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48089 html) \
48090 || exit 1
48092 @endif target-libgfortran
48094 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
48095 maybe-TAGS-target-libgfortran:
48096 @if target-libgfortran
48097 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
48099 TAGS-target-libgfortran: \
48100 configure-target-libgfortran
48101 @: $(MAKE); $(unstage)
48102 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48103 r=`${PWD_COMMAND}`; export r; \
48104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48105 $(NORMAL_TARGET_EXPORTS) \
48106 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
48107 for flag in $(EXTRA_TARGET_FLAGS); do \
48108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48109 done; \
48110 (cd $(TARGET_SUBDIR)/libgfortran && \
48111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48113 "RANLIB=$${RANLIB}" \
48114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48115 TAGS) \
48116 || exit 1
48118 @endif target-libgfortran
48120 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
48121 maybe-install-info-target-libgfortran:
48122 @if target-libgfortran
48123 maybe-install-info-target-libgfortran: install-info-target-libgfortran
48125 install-info-target-libgfortran: \
48126 configure-target-libgfortran \
48127 info-target-libgfortran
48128 @: $(MAKE); $(unstage)
48129 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48130 r=`${PWD_COMMAND}`; export r; \
48131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48132 $(NORMAL_TARGET_EXPORTS) \
48133 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
48134 for flag in $(EXTRA_TARGET_FLAGS); do \
48135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48136 done; \
48137 (cd $(TARGET_SUBDIR)/libgfortran && \
48138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48140 "RANLIB=$${RANLIB}" \
48141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48142 install-info) \
48143 || exit 1
48145 @endif target-libgfortran
48147 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
48148 maybe-install-pdf-target-libgfortran:
48149 @if target-libgfortran
48150 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
48152 install-pdf-target-libgfortran: \
48153 configure-target-libgfortran \
48154 pdf-target-libgfortran
48155 @: $(MAKE); $(unstage)
48156 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48157 r=`${PWD_COMMAND}`; export r; \
48158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48159 $(NORMAL_TARGET_EXPORTS) \
48160 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
48161 for flag in $(EXTRA_TARGET_FLAGS); do \
48162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48163 done; \
48164 (cd $(TARGET_SUBDIR)/libgfortran && \
48165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48167 "RANLIB=$${RANLIB}" \
48168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48169 install-pdf) \
48170 || exit 1
48172 @endif target-libgfortran
48174 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
48175 maybe-install-html-target-libgfortran:
48176 @if target-libgfortran
48177 maybe-install-html-target-libgfortran: install-html-target-libgfortran
48179 install-html-target-libgfortran: \
48180 configure-target-libgfortran \
48181 html-target-libgfortran
48182 @: $(MAKE); $(unstage)
48183 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48184 r=`${PWD_COMMAND}`; export r; \
48185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48186 $(NORMAL_TARGET_EXPORTS) \
48187 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
48188 for flag in $(EXTRA_TARGET_FLAGS); do \
48189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48190 done; \
48191 (cd $(TARGET_SUBDIR)/libgfortran && \
48192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48194 "RANLIB=$${RANLIB}" \
48195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48196 install-html) \
48197 || exit 1
48199 @endif target-libgfortran
48201 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
48202 maybe-installcheck-target-libgfortran:
48203 @if target-libgfortran
48204 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
48206 installcheck-target-libgfortran: \
48207 configure-target-libgfortran
48208 @: $(MAKE); $(unstage)
48209 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48210 r=`${PWD_COMMAND}`; export r; \
48211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48212 $(NORMAL_TARGET_EXPORTS) \
48213 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
48214 for flag in $(EXTRA_TARGET_FLAGS); do \
48215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48216 done; \
48217 (cd $(TARGET_SUBDIR)/libgfortran && \
48218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48220 "RANLIB=$${RANLIB}" \
48221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48222 installcheck) \
48223 || exit 1
48225 @endif target-libgfortran
48227 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
48228 maybe-mostlyclean-target-libgfortran:
48229 @if target-libgfortran
48230 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
48232 mostlyclean-target-libgfortran:
48233 @: $(MAKE); $(unstage)
48234 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48235 r=`${PWD_COMMAND}`; export r; \
48236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48237 $(NORMAL_TARGET_EXPORTS) \
48238 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
48239 for flag in $(EXTRA_TARGET_FLAGS); do \
48240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48241 done; \
48242 (cd $(TARGET_SUBDIR)/libgfortran && \
48243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48245 "RANLIB=$${RANLIB}" \
48246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48247 mostlyclean) \
48248 || exit 1
48250 @endif target-libgfortran
48252 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
48253 maybe-clean-target-libgfortran:
48254 @if target-libgfortran
48255 maybe-clean-target-libgfortran: clean-target-libgfortran
48257 clean-target-libgfortran:
48258 @: $(MAKE); $(unstage)
48259 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48260 r=`${PWD_COMMAND}`; export r; \
48261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48262 $(NORMAL_TARGET_EXPORTS) \
48263 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
48264 for flag in $(EXTRA_TARGET_FLAGS); do \
48265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48266 done; \
48267 (cd $(TARGET_SUBDIR)/libgfortran && \
48268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48270 "RANLIB=$${RANLIB}" \
48271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48272 clean) \
48273 || exit 1
48275 @endif target-libgfortran
48277 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
48278 maybe-distclean-target-libgfortran:
48279 @if target-libgfortran
48280 maybe-distclean-target-libgfortran: distclean-target-libgfortran
48282 distclean-target-libgfortran:
48283 @: $(MAKE); $(unstage)
48284 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48285 r=`${PWD_COMMAND}`; export r; \
48286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48287 $(NORMAL_TARGET_EXPORTS) \
48288 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
48289 for flag in $(EXTRA_TARGET_FLAGS); do \
48290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48291 done; \
48292 (cd $(TARGET_SUBDIR)/libgfortran && \
48293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48295 "RANLIB=$${RANLIB}" \
48296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48297 distclean) \
48298 || exit 1
48300 @endif target-libgfortran
48302 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
48303 maybe-maintainer-clean-target-libgfortran:
48304 @if target-libgfortran
48305 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
48307 maintainer-clean-target-libgfortran:
48308 @: $(MAKE); $(unstage)
48309 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
48310 r=`${PWD_COMMAND}`; export r; \
48311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48312 $(NORMAL_TARGET_EXPORTS) \
48313 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
48314 for flag in $(EXTRA_TARGET_FLAGS); do \
48315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48316 done; \
48317 (cd $(TARGET_SUBDIR)/libgfortran && \
48318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48320 "RANLIB=$${RANLIB}" \
48321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48322 maintainer-clean) \
48323 || exit 1
48325 @endif target-libgfortran
48331 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
48332 maybe-configure-target-libobjc:
48333 @if gcc-bootstrap
48334 configure-target-libobjc: stage_current
48335 @endif gcc-bootstrap
48336 @if target-libobjc
48337 maybe-configure-target-libobjc: configure-target-libobjc
48338 configure-target-libobjc:
48339 @: $(MAKE); $(unstage)
48340 @r=`${PWD_COMMAND}`; export r; \
48341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48342 echo "Checking multilib configuration for libobjc..."; \
48343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
48344 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
48345 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
48346 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
48347 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
48348 else \
48349 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
48350 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
48351 fi; \
48352 else \
48353 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
48354 fi; \
48355 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
48356 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
48357 $(NORMAL_TARGET_EXPORTS) \
48358 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
48359 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
48360 case $(srcdir) in \
48361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48362 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
48363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48364 esac; \
48365 module_srcdir=libobjc; \
48366 rm -f no-such-file || : ; \
48367 CONFIG_SITE=no-such-file $(SHELL) \
48368 $$s/$$module_srcdir/configure \
48369 --srcdir=$${topdir}/$$module_srcdir \
48370 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48371 --target=${target_alias} \
48372 || exit 1
48373 @endif target-libobjc
48379 .PHONY: all-target-libobjc maybe-all-target-libobjc
48380 maybe-all-target-libobjc:
48381 @if gcc-bootstrap
48382 all-target-libobjc: stage_current
48383 @endif gcc-bootstrap
48384 @if target-libobjc
48385 TARGET-target-libobjc=all
48386 maybe-all-target-libobjc: all-target-libobjc
48387 all-target-libobjc: configure-target-libobjc
48388 @: $(MAKE); $(unstage)
48389 @r=`${PWD_COMMAND}`; export r; \
48390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48391 $(NORMAL_TARGET_EXPORTS) \
48392 (cd $(TARGET_SUBDIR)/libobjc && \
48393 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48394 $(TARGET-target-libobjc))
48395 @endif target-libobjc
48401 .PHONY: check-target-libobjc maybe-check-target-libobjc
48402 maybe-check-target-libobjc:
48403 @if target-libobjc
48404 maybe-check-target-libobjc: check-target-libobjc
48406 check-target-libobjc:
48407 @: $(MAKE); $(unstage)
48408 @r=`${PWD_COMMAND}`; export r; \
48409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48410 $(NORMAL_TARGET_EXPORTS) \
48411 (cd $(TARGET_SUBDIR)/libobjc && \
48412 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48414 @endif target-libobjc
48416 .PHONY: install-target-libobjc maybe-install-target-libobjc
48417 maybe-install-target-libobjc:
48418 @if target-libobjc
48419 maybe-install-target-libobjc: install-target-libobjc
48421 install-target-libobjc: installdirs
48422 @: $(MAKE); $(unstage)
48423 @r=`${PWD_COMMAND}`; export r; \
48424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48425 $(NORMAL_TARGET_EXPORTS) \
48426 (cd $(TARGET_SUBDIR)/libobjc && \
48427 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48429 @endif target-libobjc
48431 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
48432 maybe-install-strip-target-libobjc:
48433 @if target-libobjc
48434 maybe-install-strip-target-libobjc: install-strip-target-libobjc
48436 install-strip-target-libobjc: installdirs
48437 @: $(MAKE); $(unstage)
48438 @r=`${PWD_COMMAND}`; export r; \
48439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48440 $(NORMAL_TARGET_EXPORTS) \
48441 (cd $(TARGET_SUBDIR)/libobjc && \
48442 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48444 @endif target-libobjc
48446 # Other targets (info, dvi, pdf, etc.)
48448 .PHONY: maybe-info-target-libobjc info-target-libobjc
48449 maybe-info-target-libobjc:
48450 @if target-libobjc
48451 maybe-info-target-libobjc: info-target-libobjc
48453 info-target-libobjc: \
48454 configure-target-libobjc
48455 @: $(MAKE); $(unstage)
48456 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48457 r=`${PWD_COMMAND}`; export r; \
48458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48459 $(NORMAL_TARGET_EXPORTS) \
48460 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
48461 for flag in $(EXTRA_TARGET_FLAGS); do \
48462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48463 done; \
48464 (cd $(TARGET_SUBDIR)/libobjc && \
48465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48467 "RANLIB=$${RANLIB}" \
48468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48469 info) \
48470 || exit 1
48472 @endif target-libobjc
48474 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
48475 maybe-dvi-target-libobjc:
48476 @if target-libobjc
48477 maybe-dvi-target-libobjc: dvi-target-libobjc
48479 dvi-target-libobjc: \
48480 configure-target-libobjc
48481 @: $(MAKE); $(unstage)
48482 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48483 r=`${PWD_COMMAND}`; export r; \
48484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48485 $(NORMAL_TARGET_EXPORTS) \
48486 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
48487 for flag in $(EXTRA_TARGET_FLAGS); do \
48488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48489 done; \
48490 (cd $(TARGET_SUBDIR)/libobjc && \
48491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48493 "RANLIB=$${RANLIB}" \
48494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48495 dvi) \
48496 || exit 1
48498 @endif target-libobjc
48500 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
48501 maybe-pdf-target-libobjc:
48502 @if target-libobjc
48503 maybe-pdf-target-libobjc: pdf-target-libobjc
48505 pdf-target-libobjc: \
48506 configure-target-libobjc
48507 @: $(MAKE); $(unstage)
48508 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48509 r=`${PWD_COMMAND}`; export r; \
48510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48511 $(NORMAL_TARGET_EXPORTS) \
48512 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
48513 for flag in $(EXTRA_TARGET_FLAGS); do \
48514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48515 done; \
48516 (cd $(TARGET_SUBDIR)/libobjc && \
48517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48519 "RANLIB=$${RANLIB}" \
48520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48521 pdf) \
48522 || exit 1
48524 @endif target-libobjc
48526 .PHONY: maybe-html-target-libobjc html-target-libobjc
48527 maybe-html-target-libobjc:
48528 @if target-libobjc
48529 maybe-html-target-libobjc: html-target-libobjc
48531 html-target-libobjc: \
48532 configure-target-libobjc
48533 @: $(MAKE); $(unstage)
48534 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48535 r=`${PWD_COMMAND}`; export r; \
48536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48537 $(NORMAL_TARGET_EXPORTS) \
48538 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
48539 for flag in $(EXTRA_TARGET_FLAGS); do \
48540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48541 done; \
48542 (cd $(TARGET_SUBDIR)/libobjc && \
48543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48545 "RANLIB=$${RANLIB}" \
48546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48547 html) \
48548 || exit 1
48550 @endif target-libobjc
48552 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
48553 maybe-TAGS-target-libobjc:
48554 @if target-libobjc
48555 maybe-TAGS-target-libobjc: TAGS-target-libobjc
48557 TAGS-target-libobjc: \
48558 configure-target-libobjc
48559 @: $(MAKE); $(unstage)
48560 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48561 r=`${PWD_COMMAND}`; export r; \
48562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48563 $(NORMAL_TARGET_EXPORTS) \
48564 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
48565 for flag in $(EXTRA_TARGET_FLAGS); do \
48566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48567 done; \
48568 (cd $(TARGET_SUBDIR)/libobjc && \
48569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48571 "RANLIB=$${RANLIB}" \
48572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48573 TAGS) \
48574 || exit 1
48576 @endif target-libobjc
48578 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
48579 maybe-install-info-target-libobjc:
48580 @if target-libobjc
48581 maybe-install-info-target-libobjc: install-info-target-libobjc
48583 install-info-target-libobjc: \
48584 configure-target-libobjc \
48585 info-target-libobjc
48586 @: $(MAKE); $(unstage)
48587 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48588 r=`${PWD_COMMAND}`; export r; \
48589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48590 $(NORMAL_TARGET_EXPORTS) \
48591 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
48592 for flag in $(EXTRA_TARGET_FLAGS); do \
48593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48594 done; \
48595 (cd $(TARGET_SUBDIR)/libobjc && \
48596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48598 "RANLIB=$${RANLIB}" \
48599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48600 install-info) \
48601 || exit 1
48603 @endif target-libobjc
48605 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
48606 maybe-install-pdf-target-libobjc:
48607 @if target-libobjc
48608 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
48610 install-pdf-target-libobjc: \
48611 configure-target-libobjc \
48612 pdf-target-libobjc
48613 @: $(MAKE); $(unstage)
48614 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48615 r=`${PWD_COMMAND}`; export r; \
48616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48617 $(NORMAL_TARGET_EXPORTS) \
48618 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
48619 for flag in $(EXTRA_TARGET_FLAGS); do \
48620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48621 done; \
48622 (cd $(TARGET_SUBDIR)/libobjc && \
48623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48625 "RANLIB=$${RANLIB}" \
48626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48627 install-pdf) \
48628 || exit 1
48630 @endif target-libobjc
48632 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
48633 maybe-install-html-target-libobjc:
48634 @if target-libobjc
48635 maybe-install-html-target-libobjc: install-html-target-libobjc
48637 install-html-target-libobjc: \
48638 configure-target-libobjc \
48639 html-target-libobjc
48640 @: $(MAKE); $(unstage)
48641 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48642 r=`${PWD_COMMAND}`; export r; \
48643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48644 $(NORMAL_TARGET_EXPORTS) \
48645 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
48646 for flag in $(EXTRA_TARGET_FLAGS); do \
48647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48648 done; \
48649 (cd $(TARGET_SUBDIR)/libobjc && \
48650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48652 "RANLIB=$${RANLIB}" \
48653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48654 install-html) \
48655 || exit 1
48657 @endif target-libobjc
48659 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
48660 maybe-installcheck-target-libobjc:
48661 @if target-libobjc
48662 maybe-installcheck-target-libobjc: installcheck-target-libobjc
48664 installcheck-target-libobjc: \
48665 configure-target-libobjc
48666 @: $(MAKE); $(unstage)
48667 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48668 r=`${PWD_COMMAND}`; export r; \
48669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48670 $(NORMAL_TARGET_EXPORTS) \
48671 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
48672 for flag in $(EXTRA_TARGET_FLAGS); do \
48673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48674 done; \
48675 (cd $(TARGET_SUBDIR)/libobjc && \
48676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48678 "RANLIB=$${RANLIB}" \
48679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48680 installcheck) \
48681 || exit 1
48683 @endif target-libobjc
48685 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
48686 maybe-mostlyclean-target-libobjc:
48687 @if target-libobjc
48688 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
48690 mostlyclean-target-libobjc:
48691 @: $(MAKE); $(unstage)
48692 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48693 r=`${PWD_COMMAND}`; export r; \
48694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48695 $(NORMAL_TARGET_EXPORTS) \
48696 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
48697 for flag in $(EXTRA_TARGET_FLAGS); do \
48698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48699 done; \
48700 (cd $(TARGET_SUBDIR)/libobjc && \
48701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48703 "RANLIB=$${RANLIB}" \
48704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48705 mostlyclean) \
48706 || exit 1
48708 @endif target-libobjc
48710 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
48711 maybe-clean-target-libobjc:
48712 @if target-libobjc
48713 maybe-clean-target-libobjc: clean-target-libobjc
48715 clean-target-libobjc:
48716 @: $(MAKE); $(unstage)
48717 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48718 r=`${PWD_COMMAND}`; export r; \
48719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48720 $(NORMAL_TARGET_EXPORTS) \
48721 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
48722 for flag in $(EXTRA_TARGET_FLAGS); do \
48723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48724 done; \
48725 (cd $(TARGET_SUBDIR)/libobjc && \
48726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48728 "RANLIB=$${RANLIB}" \
48729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48730 clean) \
48731 || exit 1
48733 @endif target-libobjc
48735 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
48736 maybe-distclean-target-libobjc:
48737 @if target-libobjc
48738 maybe-distclean-target-libobjc: distclean-target-libobjc
48740 distclean-target-libobjc:
48741 @: $(MAKE); $(unstage)
48742 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48743 r=`${PWD_COMMAND}`; export r; \
48744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48745 $(NORMAL_TARGET_EXPORTS) \
48746 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
48747 for flag in $(EXTRA_TARGET_FLAGS); do \
48748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48749 done; \
48750 (cd $(TARGET_SUBDIR)/libobjc && \
48751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48753 "RANLIB=$${RANLIB}" \
48754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48755 distclean) \
48756 || exit 1
48758 @endif target-libobjc
48760 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
48761 maybe-maintainer-clean-target-libobjc:
48762 @if target-libobjc
48763 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
48765 maintainer-clean-target-libobjc:
48766 @: $(MAKE); $(unstage)
48767 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
48768 r=`${PWD_COMMAND}`; export r; \
48769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48770 $(NORMAL_TARGET_EXPORTS) \
48771 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
48772 for flag in $(EXTRA_TARGET_FLAGS); do \
48773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48774 done; \
48775 (cd $(TARGET_SUBDIR)/libobjc && \
48776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48778 "RANLIB=$${RANLIB}" \
48779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48780 maintainer-clean) \
48781 || exit 1
48783 @endif target-libobjc
48789 .PHONY: configure-target-libgo maybe-configure-target-libgo
48790 maybe-configure-target-libgo:
48791 @if gcc-bootstrap
48792 configure-target-libgo: stage_current
48793 @endif gcc-bootstrap
48794 @if target-libgo
48795 maybe-configure-target-libgo: configure-target-libgo
48796 configure-target-libgo:
48797 @: $(MAKE); $(unstage)
48798 @r=`${PWD_COMMAND}`; export r; \
48799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48800 echo "Checking multilib configuration for libgo..."; \
48801 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
48802 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
48803 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
48804 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
48805 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
48806 else \
48807 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
48808 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
48809 fi; \
48810 else \
48811 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
48812 fi; \
48813 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
48814 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
48815 $(NORMAL_TARGET_EXPORTS) \
48816 echo Configuring in $(TARGET_SUBDIR)/libgo; \
48817 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
48818 case $(srcdir) in \
48819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48820 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
48821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48822 esac; \
48823 module_srcdir=libgo; \
48824 rm -f no-such-file || : ; \
48825 CONFIG_SITE=no-such-file $(SHELL) \
48826 $$s/$$module_srcdir/configure \
48827 --srcdir=$${topdir}/$$module_srcdir \
48828 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48829 --target=${target_alias} \
48830 || exit 1
48831 @endif target-libgo
48837 .PHONY: all-target-libgo maybe-all-target-libgo
48838 maybe-all-target-libgo:
48839 @if gcc-bootstrap
48840 all-target-libgo: stage_current
48841 @endif gcc-bootstrap
48842 @if target-libgo
48843 TARGET-target-libgo=all
48844 maybe-all-target-libgo: all-target-libgo
48845 all-target-libgo: configure-target-libgo
48846 @: $(MAKE); $(unstage)
48847 @r=`${PWD_COMMAND}`; export r; \
48848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48849 $(NORMAL_TARGET_EXPORTS) \
48850 (cd $(TARGET_SUBDIR)/libgo && \
48851 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48852 $(TARGET-target-libgo))
48853 @endif target-libgo
48859 .PHONY: check-target-libgo maybe-check-target-libgo
48860 maybe-check-target-libgo:
48861 @if target-libgo
48862 maybe-check-target-libgo: check-target-libgo
48864 check-target-libgo:
48865 @: $(MAKE); $(unstage)
48866 @r=`${PWD_COMMAND}`; export r; \
48867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48868 $(NORMAL_TARGET_EXPORTS) \
48869 (cd $(TARGET_SUBDIR)/libgo && \
48870 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48872 @endif target-libgo
48874 .PHONY: install-target-libgo maybe-install-target-libgo
48875 maybe-install-target-libgo:
48876 @if target-libgo
48877 maybe-install-target-libgo: install-target-libgo
48879 install-target-libgo: installdirs
48880 @: $(MAKE); $(unstage)
48881 @r=`${PWD_COMMAND}`; export r; \
48882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48883 $(NORMAL_TARGET_EXPORTS) \
48884 (cd $(TARGET_SUBDIR)/libgo && \
48885 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48887 @endif target-libgo
48889 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
48890 maybe-install-strip-target-libgo:
48891 @if target-libgo
48892 maybe-install-strip-target-libgo: install-strip-target-libgo
48894 install-strip-target-libgo: installdirs
48895 @: $(MAKE); $(unstage)
48896 @r=`${PWD_COMMAND}`; export r; \
48897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48898 $(NORMAL_TARGET_EXPORTS) \
48899 (cd $(TARGET_SUBDIR)/libgo && \
48900 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48902 @endif target-libgo
48904 # Other targets (info, dvi, pdf, etc.)
48906 .PHONY: maybe-info-target-libgo info-target-libgo
48907 maybe-info-target-libgo:
48908 @if target-libgo
48909 maybe-info-target-libgo: info-target-libgo
48911 info-target-libgo: \
48912 configure-target-libgo
48913 @: $(MAKE); $(unstage)
48914 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48915 r=`${PWD_COMMAND}`; export r; \
48916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48917 $(NORMAL_TARGET_EXPORTS) \
48918 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
48919 for flag in $(EXTRA_TARGET_FLAGS); do \
48920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48921 done; \
48922 (cd $(TARGET_SUBDIR)/libgo && \
48923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48925 "RANLIB=$${RANLIB}" \
48926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48927 info) \
48928 || exit 1
48930 @endif target-libgo
48932 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
48933 maybe-dvi-target-libgo:
48934 @if target-libgo
48935 maybe-dvi-target-libgo: dvi-target-libgo
48937 dvi-target-libgo: \
48938 configure-target-libgo
48939 @: $(MAKE); $(unstage)
48940 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48941 r=`${PWD_COMMAND}`; export r; \
48942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48943 $(NORMAL_TARGET_EXPORTS) \
48944 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
48945 for flag in $(EXTRA_TARGET_FLAGS); do \
48946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48947 done; \
48948 (cd $(TARGET_SUBDIR)/libgo && \
48949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48951 "RANLIB=$${RANLIB}" \
48952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48953 dvi) \
48954 || exit 1
48956 @endif target-libgo
48958 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
48959 maybe-pdf-target-libgo:
48960 @if target-libgo
48961 maybe-pdf-target-libgo: pdf-target-libgo
48963 pdf-target-libgo: \
48964 configure-target-libgo
48965 @: $(MAKE); $(unstage)
48966 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48967 r=`${PWD_COMMAND}`; export r; \
48968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48969 $(NORMAL_TARGET_EXPORTS) \
48970 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
48971 for flag in $(EXTRA_TARGET_FLAGS); do \
48972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48973 done; \
48974 (cd $(TARGET_SUBDIR)/libgo && \
48975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48977 "RANLIB=$${RANLIB}" \
48978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48979 pdf) \
48980 || exit 1
48982 @endif target-libgo
48984 .PHONY: maybe-html-target-libgo html-target-libgo
48985 maybe-html-target-libgo:
48986 @if target-libgo
48987 maybe-html-target-libgo: html-target-libgo
48989 html-target-libgo: \
48990 configure-target-libgo
48991 @: $(MAKE); $(unstage)
48992 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48993 r=`${PWD_COMMAND}`; export r; \
48994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48995 $(NORMAL_TARGET_EXPORTS) \
48996 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
48997 for flag in $(EXTRA_TARGET_FLAGS); do \
48998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48999 done; \
49000 (cd $(TARGET_SUBDIR)/libgo && \
49001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49003 "RANLIB=$${RANLIB}" \
49004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49005 html) \
49006 || exit 1
49008 @endif target-libgo
49010 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
49011 maybe-TAGS-target-libgo:
49012 @if target-libgo
49013 maybe-TAGS-target-libgo: TAGS-target-libgo
49015 TAGS-target-libgo: \
49016 configure-target-libgo
49017 @: $(MAKE); $(unstage)
49018 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49019 r=`${PWD_COMMAND}`; export r; \
49020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49021 $(NORMAL_TARGET_EXPORTS) \
49022 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
49023 for flag in $(EXTRA_TARGET_FLAGS); do \
49024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49025 done; \
49026 (cd $(TARGET_SUBDIR)/libgo && \
49027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49029 "RANLIB=$${RANLIB}" \
49030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49031 TAGS) \
49032 || exit 1
49034 @endif target-libgo
49036 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
49037 maybe-install-info-target-libgo:
49038 @if target-libgo
49039 maybe-install-info-target-libgo: install-info-target-libgo
49041 install-info-target-libgo: \
49042 configure-target-libgo \
49043 info-target-libgo
49044 @: $(MAKE); $(unstage)
49045 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49046 r=`${PWD_COMMAND}`; export r; \
49047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49048 $(NORMAL_TARGET_EXPORTS) \
49049 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
49050 for flag in $(EXTRA_TARGET_FLAGS); do \
49051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49052 done; \
49053 (cd $(TARGET_SUBDIR)/libgo && \
49054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49056 "RANLIB=$${RANLIB}" \
49057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49058 install-info) \
49059 || exit 1
49061 @endif target-libgo
49063 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
49064 maybe-install-pdf-target-libgo:
49065 @if target-libgo
49066 maybe-install-pdf-target-libgo: install-pdf-target-libgo
49068 install-pdf-target-libgo: \
49069 configure-target-libgo \
49070 pdf-target-libgo
49071 @: $(MAKE); $(unstage)
49072 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49073 r=`${PWD_COMMAND}`; export r; \
49074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49075 $(NORMAL_TARGET_EXPORTS) \
49076 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
49077 for flag in $(EXTRA_TARGET_FLAGS); do \
49078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49079 done; \
49080 (cd $(TARGET_SUBDIR)/libgo && \
49081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49083 "RANLIB=$${RANLIB}" \
49084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49085 install-pdf) \
49086 || exit 1
49088 @endif target-libgo
49090 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
49091 maybe-install-html-target-libgo:
49092 @if target-libgo
49093 maybe-install-html-target-libgo: install-html-target-libgo
49095 install-html-target-libgo: \
49096 configure-target-libgo \
49097 html-target-libgo
49098 @: $(MAKE); $(unstage)
49099 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49100 r=`${PWD_COMMAND}`; export r; \
49101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49102 $(NORMAL_TARGET_EXPORTS) \
49103 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
49104 for flag in $(EXTRA_TARGET_FLAGS); do \
49105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49106 done; \
49107 (cd $(TARGET_SUBDIR)/libgo && \
49108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49110 "RANLIB=$${RANLIB}" \
49111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49112 install-html) \
49113 || exit 1
49115 @endif target-libgo
49117 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
49118 maybe-installcheck-target-libgo:
49119 @if target-libgo
49120 maybe-installcheck-target-libgo: installcheck-target-libgo
49122 installcheck-target-libgo: \
49123 configure-target-libgo
49124 @: $(MAKE); $(unstage)
49125 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49126 r=`${PWD_COMMAND}`; export r; \
49127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49128 $(NORMAL_TARGET_EXPORTS) \
49129 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
49130 for flag in $(EXTRA_TARGET_FLAGS); do \
49131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49132 done; \
49133 (cd $(TARGET_SUBDIR)/libgo && \
49134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49136 "RANLIB=$${RANLIB}" \
49137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49138 installcheck) \
49139 || exit 1
49141 @endif target-libgo
49143 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
49144 maybe-mostlyclean-target-libgo:
49145 @if target-libgo
49146 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
49148 mostlyclean-target-libgo:
49149 @: $(MAKE); $(unstage)
49150 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49151 r=`${PWD_COMMAND}`; export r; \
49152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49153 $(NORMAL_TARGET_EXPORTS) \
49154 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
49155 for flag in $(EXTRA_TARGET_FLAGS); do \
49156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49157 done; \
49158 (cd $(TARGET_SUBDIR)/libgo && \
49159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49161 "RANLIB=$${RANLIB}" \
49162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49163 mostlyclean) \
49164 || exit 1
49166 @endif target-libgo
49168 .PHONY: maybe-clean-target-libgo clean-target-libgo
49169 maybe-clean-target-libgo:
49170 @if target-libgo
49171 maybe-clean-target-libgo: clean-target-libgo
49173 clean-target-libgo:
49174 @: $(MAKE); $(unstage)
49175 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49176 r=`${PWD_COMMAND}`; export r; \
49177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49178 $(NORMAL_TARGET_EXPORTS) \
49179 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
49180 for flag in $(EXTRA_TARGET_FLAGS); do \
49181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49182 done; \
49183 (cd $(TARGET_SUBDIR)/libgo && \
49184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49186 "RANLIB=$${RANLIB}" \
49187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49188 clean) \
49189 || exit 1
49191 @endif target-libgo
49193 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
49194 maybe-distclean-target-libgo:
49195 @if target-libgo
49196 maybe-distclean-target-libgo: distclean-target-libgo
49198 distclean-target-libgo:
49199 @: $(MAKE); $(unstage)
49200 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49201 r=`${PWD_COMMAND}`; export r; \
49202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49203 $(NORMAL_TARGET_EXPORTS) \
49204 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
49205 for flag in $(EXTRA_TARGET_FLAGS); do \
49206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49207 done; \
49208 (cd $(TARGET_SUBDIR)/libgo && \
49209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49211 "RANLIB=$${RANLIB}" \
49212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49213 distclean) \
49214 || exit 1
49216 @endif target-libgo
49218 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
49219 maybe-maintainer-clean-target-libgo:
49220 @if target-libgo
49221 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
49223 maintainer-clean-target-libgo:
49224 @: $(MAKE); $(unstage)
49225 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
49226 r=`${PWD_COMMAND}`; export r; \
49227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49228 $(NORMAL_TARGET_EXPORTS) \
49229 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
49230 for flag in $(EXTRA_TARGET_FLAGS); do \
49231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49232 done; \
49233 (cd $(TARGET_SUBDIR)/libgo && \
49234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49236 "RANLIB=$${RANLIB}" \
49237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49238 maintainer-clean) \
49239 || exit 1
49241 @endif target-libgo
49247 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
49248 maybe-configure-target-libhsail-rt:
49249 @if gcc-bootstrap
49250 configure-target-libhsail-rt: stage_current
49251 @endif gcc-bootstrap
49252 @if target-libhsail-rt
49253 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
49254 configure-target-libhsail-rt:
49255 @: $(MAKE); $(unstage)
49256 @r=`${PWD_COMMAND}`; export r; \
49257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49258 echo "Checking multilib configuration for libhsail-rt..."; \
49259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
49260 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
49261 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
49262 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
49263 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
49264 else \
49265 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
49266 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
49267 fi; \
49268 else \
49269 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
49270 fi; \
49271 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
49272 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
49273 $(NORMAL_TARGET_EXPORTS) \
49274 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
49275 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
49276 case $(srcdir) in \
49277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49278 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
49279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49280 esac; \
49281 module_srcdir=libhsail-rt; \
49282 rm -f no-such-file || : ; \
49283 CONFIG_SITE=no-such-file $(SHELL) \
49284 $$s/$$module_srcdir/configure \
49285 --srcdir=$${topdir}/$$module_srcdir \
49286 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49287 --target=${target_alias} \
49288 || exit 1
49289 @endif target-libhsail-rt
49295 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
49296 maybe-all-target-libhsail-rt:
49297 @if gcc-bootstrap
49298 all-target-libhsail-rt: stage_current
49299 @endif gcc-bootstrap
49300 @if target-libhsail-rt
49301 TARGET-target-libhsail-rt=all
49302 maybe-all-target-libhsail-rt: all-target-libhsail-rt
49303 all-target-libhsail-rt: configure-target-libhsail-rt
49304 @: $(MAKE); $(unstage)
49305 @r=`${PWD_COMMAND}`; export r; \
49306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49307 $(NORMAL_TARGET_EXPORTS) \
49308 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49309 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49310 $(TARGET-target-libhsail-rt))
49311 @endif target-libhsail-rt
49317 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
49318 maybe-check-target-libhsail-rt:
49319 @if target-libhsail-rt
49320 maybe-check-target-libhsail-rt: check-target-libhsail-rt
49322 check-target-libhsail-rt:
49323 @: $(MAKE); $(unstage)
49324 @r=`${PWD_COMMAND}`; export r; \
49325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49326 $(NORMAL_TARGET_EXPORTS) \
49327 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49328 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49330 @endif target-libhsail-rt
49332 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
49333 maybe-install-target-libhsail-rt:
49334 @if target-libhsail-rt
49335 maybe-install-target-libhsail-rt: install-target-libhsail-rt
49337 install-target-libhsail-rt: installdirs
49338 @: $(MAKE); $(unstage)
49339 @r=`${PWD_COMMAND}`; export r; \
49340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49341 $(NORMAL_TARGET_EXPORTS) \
49342 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49343 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49345 @endif target-libhsail-rt
49347 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
49348 maybe-install-strip-target-libhsail-rt:
49349 @if target-libhsail-rt
49350 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
49352 install-strip-target-libhsail-rt: installdirs
49353 @: $(MAKE); $(unstage)
49354 @r=`${PWD_COMMAND}`; export r; \
49355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49356 $(NORMAL_TARGET_EXPORTS) \
49357 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49358 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49360 @endif target-libhsail-rt
49362 # Other targets (info, dvi, pdf, etc.)
49364 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
49365 maybe-info-target-libhsail-rt:
49366 @if target-libhsail-rt
49367 maybe-info-target-libhsail-rt: info-target-libhsail-rt
49369 info-target-libhsail-rt: \
49370 configure-target-libhsail-rt
49371 @: $(MAKE); $(unstage)
49372 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49373 r=`${PWD_COMMAND}`; export r; \
49374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49375 $(NORMAL_TARGET_EXPORTS) \
49376 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
49377 for flag in $(EXTRA_TARGET_FLAGS); do \
49378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49379 done; \
49380 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49383 "RANLIB=$${RANLIB}" \
49384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49385 info) \
49386 || exit 1
49388 @endif target-libhsail-rt
49390 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
49391 maybe-dvi-target-libhsail-rt:
49392 @if target-libhsail-rt
49393 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
49395 dvi-target-libhsail-rt: \
49396 configure-target-libhsail-rt
49397 @: $(MAKE); $(unstage)
49398 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49399 r=`${PWD_COMMAND}`; export r; \
49400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49401 $(NORMAL_TARGET_EXPORTS) \
49402 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
49403 for flag in $(EXTRA_TARGET_FLAGS); do \
49404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49405 done; \
49406 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49409 "RANLIB=$${RANLIB}" \
49410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49411 dvi) \
49412 || exit 1
49414 @endif target-libhsail-rt
49416 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
49417 maybe-pdf-target-libhsail-rt:
49418 @if target-libhsail-rt
49419 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
49421 pdf-target-libhsail-rt: \
49422 configure-target-libhsail-rt
49423 @: $(MAKE); $(unstage)
49424 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49425 r=`${PWD_COMMAND}`; export r; \
49426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49427 $(NORMAL_TARGET_EXPORTS) \
49428 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
49429 for flag in $(EXTRA_TARGET_FLAGS); do \
49430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49431 done; \
49432 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49435 "RANLIB=$${RANLIB}" \
49436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49437 pdf) \
49438 || exit 1
49440 @endif target-libhsail-rt
49442 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
49443 maybe-html-target-libhsail-rt:
49444 @if target-libhsail-rt
49445 maybe-html-target-libhsail-rt: html-target-libhsail-rt
49447 html-target-libhsail-rt: \
49448 configure-target-libhsail-rt
49449 @: $(MAKE); $(unstage)
49450 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49451 r=`${PWD_COMMAND}`; export r; \
49452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49453 $(NORMAL_TARGET_EXPORTS) \
49454 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
49455 for flag in $(EXTRA_TARGET_FLAGS); do \
49456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49457 done; \
49458 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49461 "RANLIB=$${RANLIB}" \
49462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49463 html) \
49464 || exit 1
49466 @endif target-libhsail-rt
49468 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
49469 maybe-TAGS-target-libhsail-rt:
49470 @if target-libhsail-rt
49471 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
49473 TAGS-target-libhsail-rt: \
49474 configure-target-libhsail-rt
49475 @: $(MAKE); $(unstage)
49476 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49477 r=`${PWD_COMMAND}`; export r; \
49478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49479 $(NORMAL_TARGET_EXPORTS) \
49480 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
49481 for flag in $(EXTRA_TARGET_FLAGS); do \
49482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49483 done; \
49484 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49487 "RANLIB=$${RANLIB}" \
49488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49489 TAGS) \
49490 || exit 1
49492 @endif target-libhsail-rt
49494 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
49495 maybe-install-info-target-libhsail-rt:
49496 @if target-libhsail-rt
49497 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
49499 install-info-target-libhsail-rt: \
49500 configure-target-libhsail-rt \
49501 info-target-libhsail-rt
49502 @: $(MAKE); $(unstage)
49503 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49504 r=`${PWD_COMMAND}`; export r; \
49505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49506 $(NORMAL_TARGET_EXPORTS) \
49507 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
49508 for flag in $(EXTRA_TARGET_FLAGS); do \
49509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49510 done; \
49511 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49514 "RANLIB=$${RANLIB}" \
49515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49516 install-info) \
49517 || exit 1
49519 @endif target-libhsail-rt
49521 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
49522 maybe-install-pdf-target-libhsail-rt:
49523 @if target-libhsail-rt
49524 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
49526 install-pdf-target-libhsail-rt: \
49527 configure-target-libhsail-rt \
49528 pdf-target-libhsail-rt
49529 @: $(MAKE); $(unstage)
49530 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49531 r=`${PWD_COMMAND}`; export r; \
49532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49533 $(NORMAL_TARGET_EXPORTS) \
49534 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
49535 for flag in $(EXTRA_TARGET_FLAGS); do \
49536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49537 done; \
49538 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49541 "RANLIB=$${RANLIB}" \
49542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49543 install-pdf) \
49544 || exit 1
49546 @endif target-libhsail-rt
49548 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
49549 maybe-install-html-target-libhsail-rt:
49550 @if target-libhsail-rt
49551 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
49553 install-html-target-libhsail-rt: \
49554 configure-target-libhsail-rt \
49555 html-target-libhsail-rt
49556 @: $(MAKE); $(unstage)
49557 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49558 r=`${PWD_COMMAND}`; export r; \
49559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49560 $(NORMAL_TARGET_EXPORTS) \
49561 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
49562 for flag in $(EXTRA_TARGET_FLAGS); do \
49563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49564 done; \
49565 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49568 "RANLIB=$${RANLIB}" \
49569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49570 install-html) \
49571 || exit 1
49573 @endif target-libhsail-rt
49575 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
49576 maybe-installcheck-target-libhsail-rt:
49577 @if target-libhsail-rt
49578 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
49580 installcheck-target-libhsail-rt: \
49581 configure-target-libhsail-rt
49582 @: $(MAKE); $(unstage)
49583 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49584 r=`${PWD_COMMAND}`; export r; \
49585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49586 $(NORMAL_TARGET_EXPORTS) \
49587 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
49588 for flag in $(EXTRA_TARGET_FLAGS); do \
49589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49590 done; \
49591 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49594 "RANLIB=$${RANLIB}" \
49595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49596 installcheck) \
49597 || exit 1
49599 @endif target-libhsail-rt
49601 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
49602 maybe-mostlyclean-target-libhsail-rt:
49603 @if target-libhsail-rt
49604 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
49606 mostlyclean-target-libhsail-rt:
49607 @: $(MAKE); $(unstage)
49608 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49609 r=`${PWD_COMMAND}`; export r; \
49610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49611 $(NORMAL_TARGET_EXPORTS) \
49612 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
49613 for flag in $(EXTRA_TARGET_FLAGS); do \
49614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49615 done; \
49616 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49619 "RANLIB=$${RANLIB}" \
49620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49621 mostlyclean) \
49622 || exit 1
49624 @endif target-libhsail-rt
49626 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
49627 maybe-clean-target-libhsail-rt:
49628 @if target-libhsail-rt
49629 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
49631 clean-target-libhsail-rt:
49632 @: $(MAKE); $(unstage)
49633 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49634 r=`${PWD_COMMAND}`; export r; \
49635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49636 $(NORMAL_TARGET_EXPORTS) \
49637 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
49638 for flag in $(EXTRA_TARGET_FLAGS); do \
49639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49640 done; \
49641 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49644 "RANLIB=$${RANLIB}" \
49645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49646 clean) \
49647 || exit 1
49649 @endif target-libhsail-rt
49651 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
49652 maybe-distclean-target-libhsail-rt:
49653 @if target-libhsail-rt
49654 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
49656 distclean-target-libhsail-rt:
49657 @: $(MAKE); $(unstage)
49658 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49659 r=`${PWD_COMMAND}`; export r; \
49660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49661 $(NORMAL_TARGET_EXPORTS) \
49662 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
49663 for flag in $(EXTRA_TARGET_FLAGS); do \
49664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49665 done; \
49666 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49669 "RANLIB=$${RANLIB}" \
49670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49671 distclean) \
49672 || exit 1
49674 @endif target-libhsail-rt
49676 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
49677 maybe-maintainer-clean-target-libhsail-rt:
49678 @if target-libhsail-rt
49679 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
49681 maintainer-clean-target-libhsail-rt:
49682 @: $(MAKE); $(unstage)
49683 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
49684 r=`${PWD_COMMAND}`; export r; \
49685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49686 $(NORMAL_TARGET_EXPORTS) \
49687 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
49688 for flag in $(EXTRA_TARGET_FLAGS); do \
49689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49690 done; \
49691 (cd $(TARGET_SUBDIR)/libhsail-rt && \
49692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49694 "RANLIB=$${RANLIB}" \
49695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49696 maintainer-clean) \
49697 || exit 1
49699 @endif target-libhsail-rt
49705 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
49706 maybe-configure-target-libphobos:
49707 @if gcc-bootstrap
49708 configure-target-libphobos: stage_current
49709 @endif gcc-bootstrap
49710 @if target-libphobos
49711 maybe-configure-target-libphobos: configure-target-libphobos
49712 configure-target-libphobos:
49713 @: $(MAKE); $(unstage)
49714 @r=`${PWD_COMMAND}`; export r; \
49715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49716 echo "Checking multilib configuration for libphobos..."; \
49717 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
49718 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
49719 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
49720 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
49721 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
49722 else \
49723 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
49724 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
49725 fi; \
49726 else \
49727 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
49728 fi; \
49729 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
49730 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
49731 $(NORMAL_TARGET_EXPORTS) \
49732 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
49733 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
49734 case $(srcdir) in \
49735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49736 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
49737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49738 esac; \
49739 module_srcdir=libphobos; \
49740 rm -f no-such-file || : ; \
49741 CONFIG_SITE=no-such-file $(SHELL) \
49742 $$s/$$module_srcdir/configure \
49743 --srcdir=$${topdir}/$$module_srcdir \
49744 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49745 --target=${target_alias} \
49746 || exit 1
49747 @endif target-libphobos
49753 .PHONY: all-target-libphobos maybe-all-target-libphobos
49754 maybe-all-target-libphobos:
49755 @if gcc-bootstrap
49756 all-target-libphobos: stage_current
49757 @endif gcc-bootstrap
49758 @if target-libphobos
49759 TARGET-target-libphobos=all
49760 maybe-all-target-libphobos: all-target-libphobos
49761 all-target-libphobos: configure-target-libphobos
49762 @: $(MAKE); $(unstage)
49763 @r=`${PWD_COMMAND}`; export r; \
49764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49765 $(NORMAL_TARGET_EXPORTS) \
49766 (cd $(TARGET_SUBDIR)/libphobos && \
49767 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49768 $(TARGET-target-libphobos))
49769 @endif target-libphobos
49775 .PHONY: check-target-libphobos maybe-check-target-libphobos
49776 maybe-check-target-libphobos:
49777 @if target-libphobos
49778 maybe-check-target-libphobos: check-target-libphobos
49780 check-target-libphobos:
49781 @: $(MAKE); $(unstage)
49782 @r=`${PWD_COMMAND}`; export r; \
49783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49784 $(NORMAL_TARGET_EXPORTS) \
49785 (cd $(TARGET_SUBDIR)/libphobos && \
49786 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49788 @endif target-libphobos
49790 .PHONY: install-target-libphobos maybe-install-target-libphobos
49791 maybe-install-target-libphobos:
49792 @if target-libphobos
49793 maybe-install-target-libphobos: install-target-libphobos
49795 install-target-libphobos: installdirs
49796 @: $(MAKE); $(unstage)
49797 @r=`${PWD_COMMAND}`; export r; \
49798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49799 $(NORMAL_TARGET_EXPORTS) \
49800 (cd $(TARGET_SUBDIR)/libphobos && \
49801 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49803 @endif target-libphobos
49805 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
49806 maybe-install-strip-target-libphobos:
49807 @if target-libphobos
49808 maybe-install-strip-target-libphobos: install-strip-target-libphobos
49810 install-strip-target-libphobos: installdirs
49811 @: $(MAKE); $(unstage)
49812 @r=`${PWD_COMMAND}`; export r; \
49813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49814 $(NORMAL_TARGET_EXPORTS) \
49815 (cd $(TARGET_SUBDIR)/libphobos && \
49816 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49818 @endif target-libphobos
49820 # Other targets (info, dvi, pdf, etc.)
49822 .PHONY: maybe-info-target-libphobos info-target-libphobos
49823 maybe-info-target-libphobos:
49824 @if target-libphobos
49825 maybe-info-target-libphobos: info-target-libphobos
49827 info-target-libphobos: \
49828 configure-target-libphobos
49829 @: $(MAKE); $(unstage)
49830 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49831 r=`${PWD_COMMAND}`; export r; \
49832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49833 $(NORMAL_TARGET_EXPORTS) \
49834 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
49835 for flag in $(EXTRA_TARGET_FLAGS); do \
49836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49837 done; \
49838 (cd $(TARGET_SUBDIR)/libphobos && \
49839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49841 "RANLIB=$${RANLIB}" \
49842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49843 info) \
49844 || exit 1
49846 @endif target-libphobos
49848 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
49849 maybe-dvi-target-libphobos:
49850 @if target-libphobos
49851 maybe-dvi-target-libphobos: dvi-target-libphobos
49853 dvi-target-libphobos: \
49854 configure-target-libphobos
49855 @: $(MAKE); $(unstage)
49856 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49857 r=`${PWD_COMMAND}`; export r; \
49858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49859 $(NORMAL_TARGET_EXPORTS) \
49860 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
49861 for flag in $(EXTRA_TARGET_FLAGS); do \
49862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49863 done; \
49864 (cd $(TARGET_SUBDIR)/libphobos && \
49865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49867 "RANLIB=$${RANLIB}" \
49868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49869 dvi) \
49870 || exit 1
49872 @endif target-libphobos
49874 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
49875 maybe-pdf-target-libphobos:
49876 @if target-libphobos
49877 maybe-pdf-target-libphobos: pdf-target-libphobos
49879 pdf-target-libphobos: \
49880 configure-target-libphobos
49881 @: $(MAKE); $(unstage)
49882 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49883 r=`${PWD_COMMAND}`; export r; \
49884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49885 $(NORMAL_TARGET_EXPORTS) \
49886 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
49887 for flag in $(EXTRA_TARGET_FLAGS); do \
49888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49889 done; \
49890 (cd $(TARGET_SUBDIR)/libphobos && \
49891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49893 "RANLIB=$${RANLIB}" \
49894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49895 pdf) \
49896 || exit 1
49898 @endif target-libphobos
49900 .PHONY: maybe-html-target-libphobos html-target-libphobos
49901 maybe-html-target-libphobos:
49902 @if target-libphobos
49903 maybe-html-target-libphobos: html-target-libphobos
49905 html-target-libphobos: \
49906 configure-target-libphobos
49907 @: $(MAKE); $(unstage)
49908 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49909 r=`${PWD_COMMAND}`; export r; \
49910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49911 $(NORMAL_TARGET_EXPORTS) \
49912 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
49913 for flag in $(EXTRA_TARGET_FLAGS); do \
49914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49915 done; \
49916 (cd $(TARGET_SUBDIR)/libphobos && \
49917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49919 "RANLIB=$${RANLIB}" \
49920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49921 html) \
49922 || exit 1
49924 @endif target-libphobos
49926 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
49927 maybe-TAGS-target-libphobos:
49928 @if target-libphobos
49929 maybe-TAGS-target-libphobos: TAGS-target-libphobos
49931 TAGS-target-libphobos: \
49932 configure-target-libphobos
49933 @: $(MAKE); $(unstage)
49934 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49935 r=`${PWD_COMMAND}`; export r; \
49936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49937 $(NORMAL_TARGET_EXPORTS) \
49938 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
49939 for flag in $(EXTRA_TARGET_FLAGS); do \
49940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49941 done; \
49942 (cd $(TARGET_SUBDIR)/libphobos && \
49943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49945 "RANLIB=$${RANLIB}" \
49946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49947 TAGS) \
49948 || exit 1
49950 @endif target-libphobos
49952 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
49953 maybe-install-info-target-libphobos:
49954 @if target-libphobos
49955 maybe-install-info-target-libphobos: install-info-target-libphobos
49957 install-info-target-libphobos: \
49958 configure-target-libphobos \
49959 info-target-libphobos
49960 @: $(MAKE); $(unstage)
49961 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49962 r=`${PWD_COMMAND}`; export r; \
49963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49964 $(NORMAL_TARGET_EXPORTS) \
49965 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
49966 for flag in $(EXTRA_TARGET_FLAGS); do \
49967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49968 done; \
49969 (cd $(TARGET_SUBDIR)/libphobos && \
49970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49972 "RANLIB=$${RANLIB}" \
49973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49974 install-info) \
49975 || exit 1
49977 @endif target-libphobos
49979 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
49980 maybe-install-pdf-target-libphobos:
49981 @if target-libphobos
49982 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
49984 install-pdf-target-libphobos: \
49985 configure-target-libphobos \
49986 pdf-target-libphobos
49987 @: $(MAKE); $(unstage)
49988 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49989 r=`${PWD_COMMAND}`; export r; \
49990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49991 $(NORMAL_TARGET_EXPORTS) \
49992 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
49993 for flag in $(EXTRA_TARGET_FLAGS); do \
49994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49995 done; \
49996 (cd $(TARGET_SUBDIR)/libphobos && \
49997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49999 "RANLIB=$${RANLIB}" \
50000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50001 install-pdf) \
50002 || exit 1
50004 @endif target-libphobos
50006 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
50007 maybe-install-html-target-libphobos:
50008 @if target-libphobos
50009 maybe-install-html-target-libphobos: install-html-target-libphobos
50011 install-html-target-libphobos: \
50012 configure-target-libphobos \
50013 html-target-libphobos
50014 @: $(MAKE); $(unstage)
50015 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
50016 r=`${PWD_COMMAND}`; export r; \
50017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50018 $(NORMAL_TARGET_EXPORTS) \
50019 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
50020 for flag in $(EXTRA_TARGET_FLAGS); do \
50021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50022 done; \
50023 (cd $(TARGET_SUBDIR)/libphobos && \
50024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50026 "RANLIB=$${RANLIB}" \
50027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50028 install-html) \
50029 || exit 1
50031 @endif target-libphobos
50033 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
50034 maybe-installcheck-target-libphobos:
50035 @if target-libphobos
50036 maybe-installcheck-target-libphobos: installcheck-target-libphobos
50038 installcheck-target-libphobos: \
50039 configure-target-libphobos
50040 @: $(MAKE); $(unstage)
50041 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
50042 r=`${PWD_COMMAND}`; export r; \
50043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50044 $(NORMAL_TARGET_EXPORTS) \
50045 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
50046 for flag in $(EXTRA_TARGET_FLAGS); do \
50047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50048 done; \
50049 (cd $(TARGET_SUBDIR)/libphobos && \
50050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50052 "RANLIB=$${RANLIB}" \
50053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50054 installcheck) \
50055 || exit 1
50057 @endif target-libphobos
50059 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
50060 maybe-mostlyclean-target-libphobos:
50061 @if target-libphobos
50062 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
50064 mostlyclean-target-libphobos:
50065 @: $(MAKE); $(unstage)
50066 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
50067 r=`${PWD_COMMAND}`; export r; \
50068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50069 $(NORMAL_TARGET_EXPORTS) \
50070 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
50071 for flag in $(EXTRA_TARGET_FLAGS); do \
50072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50073 done; \
50074 (cd $(TARGET_SUBDIR)/libphobos && \
50075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50077 "RANLIB=$${RANLIB}" \
50078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50079 mostlyclean) \
50080 || exit 1
50082 @endif target-libphobos
50084 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
50085 maybe-clean-target-libphobos:
50086 @if target-libphobos
50087 maybe-clean-target-libphobos: clean-target-libphobos
50089 clean-target-libphobos:
50090 @: $(MAKE); $(unstage)
50091 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
50092 r=`${PWD_COMMAND}`; export r; \
50093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50094 $(NORMAL_TARGET_EXPORTS) \
50095 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
50096 for flag in $(EXTRA_TARGET_FLAGS); do \
50097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50098 done; \
50099 (cd $(TARGET_SUBDIR)/libphobos && \
50100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50102 "RANLIB=$${RANLIB}" \
50103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50104 clean) \
50105 || exit 1
50107 @endif target-libphobos
50109 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
50110 maybe-distclean-target-libphobos:
50111 @if target-libphobos
50112 maybe-distclean-target-libphobos: distclean-target-libphobos
50114 distclean-target-libphobos:
50115 @: $(MAKE); $(unstage)
50116 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
50117 r=`${PWD_COMMAND}`; export r; \
50118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50119 $(NORMAL_TARGET_EXPORTS) \
50120 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
50121 for flag in $(EXTRA_TARGET_FLAGS); do \
50122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50123 done; \
50124 (cd $(TARGET_SUBDIR)/libphobos && \
50125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50127 "RANLIB=$${RANLIB}" \
50128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50129 distclean) \
50130 || exit 1
50132 @endif target-libphobos
50134 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
50135 maybe-maintainer-clean-target-libphobos:
50136 @if target-libphobos
50137 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
50139 maintainer-clean-target-libphobos:
50140 @: $(MAKE); $(unstage)
50141 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
50142 r=`${PWD_COMMAND}`; export r; \
50143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50144 $(NORMAL_TARGET_EXPORTS) \
50145 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
50146 for flag in $(EXTRA_TARGET_FLAGS); do \
50147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50148 done; \
50149 (cd $(TARGET_SUBDIR)/libphobos && \
50150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50152 "RANLIB=$${RANLIB}" \
50153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50154 maintainer-clean) \
50155 || exit 1
50157 @endif target-libphobos
50163 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
50164 maybe-configure-target-libtermcap:
50165 @if gcc-bootstrap
50166 configure-target-libtermcap: stage_current
50167 @endif gcc-bootstrap
50168 @if target-libtermcap
50169 maybe-configure-target-libtermcap: configure-target-libtermcap
50170 configure-target-libtermcap:
50171 @: $(MAKE); $(unstage)
50172 @r=`${PWD_COMMAND}`; export r; \
50173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50174 echo "Checking multilib configuration for libtermcap..."; \
50175 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
50176 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
50177 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
50178 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
50179 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
50180 else \
50181 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
50182 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
50183 fi; \
50184 else \
50185 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
50186 fi; \
50187 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
50188 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
50189 $(NORMAL_TARGET_EXPORTS) \
50190 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
50191 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
50192 case $(srcdir) in \
50193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50194 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
50195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50196 esac; \
50197 module_srcdir=libtermcap; \
50198 rm -f no-such-file || : ; \
50199 CONFIG_SITE=no-such-file $(SHELL) \
50200 $$s/$$module_srcdir/configure \
50201 --srcdir=$${topdir}/$$module_srcdir \
50202 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50203 --target=${target_alias} \
50204 || exit 1
50205 @endif target-libtermcap
50211 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
50212 maybe-all-target-libtermcap:
50213 @if gcc-bootstrap
50214 all-target-libtermcap: stage_current
50215 @endif gcc-bootstrap
50216 @if target-libtermcap
50217 TARGET-target-libtermcap=all
50218 maybe-all-target-libtermcap: all-target-libtermcap
50219 all-target-libtermcap: configure-target-libtermcap
50220 @: $(MAKE); $(unstage)
50221 @r=`${PWD_COMMAND}`; export r; \
50222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50223 $(NORMAL_TARGET_EXPORTS) \
50224 (cd $(TARGET_SUBDIR)/libtermcap && \
50225 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50226 $(TARGET-target-libtermcap))
50227 @endif target-libtermcap
50233 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
50234 maybe-check-target-libtermcap:
50235 @if target-libtermcap
50236 maybe-check-target-libtermcap: check-target-libtermcap
50238 # Dummy target for uncheckable module.
50239 check-target-libtermcap:
50241 @endif target-libtermcap
50243 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
50244 maybe-install-target-libtermcap:
50245 @if target-libtermcap
50246 maybe-install-target-libtermcap: install-target-libtermcap
50248 install-target-libtermcap: installdirs
50249 @: $(MAKE); $(unstage)
50250 @r=`${PWD_COMMAND}`; export r; \
50251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50252 $(NORMAL_TARGET_EXPORTS) \
50253 (cd $(TARGET_SUBDIR)/libtermcap && \
50254 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50256 @endif target-libtermcap
50258 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
50259 maybe-install-strip-target-libtermcap:
50260 @if target-libtermcap
50261 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
50263 install-strip-target-libtermcap: installdirs
50264 @: $(MAKE); $(unstage)
50265 @r=`${PWD_COMMAND}`; export r; \
50266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50267 $(NORMAL_TARGET_EXPORTS) \
50268 (cd $(TARGET_SUBDIR)/libtermcap && \
50269 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50271 @endif target-libtermcap
50273 # Other targets (info, dvi, pdf, etc.)
50275 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
50276 maybe-info-target-libtermcap:
50277 @if target-libtermcap
50278 maybe-info-target-libtermcap: info-target-libtermcap
50280 info-target-libtermcap: \
50281 configure-target-libtermcap
50282 @: $(MAKE); $(unstage)
50283 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50284 r=`${PWD_COMMAND}`; export r; \
50285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50286 $(NORMAL_TARGET_EXPORTS) \
50287 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
50288 for flag in $(EXTRA_TARGET_FLAGS); do \
50289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50290 done; \
50291 (cd $(TARGET_SUBDIR)/libtermcap && \
50292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50294 "RANLIB=$${RANLIB}" \
50295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50296 info) \
50297 || exit 1
50299 @endif target-libtermcap
50301 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
50302 maybe-dvi-target-libtermcap:
50303 @if target-libtermcap
50304 maybe-dvi-target-libtermcap: dvi-target-libtermcap
50306 dvi-target-libtermcap: \
50307 configure-target-libtermcap
50308 @: $(MAKE); $(unstage)
50309 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50310 r=`${PWD_COMMAND}`; export r; \
50311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50312 $(NORMAL_TARGET_EXPORTS) \
50313 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
50314 for flag in $(EXTRA_TARGET_FLAGS); do \
50315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50316 done; \
50317 (cd $(TARGET_SUBDIR)/libtermcap && \
50318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50320 "RANLIB=$${RANLIB}" \
50321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50322 dvi) \
50323 || exit 1
50325 @endif target-libtermcap
50327 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
50328 maybe-pdf-target-libtermcap:
50329 @if target-libtermcap
50330 maybe-pdf-target-libtermcap: pdf-target-libtermcap
50332 pdf-target-libtermcap: \
50333 configure-target-libtermcap
50334 @: $(MAKE); $(unstage)
50335 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50336 r=`${PWD_COMMAND}`; export r; \
50337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50338 $(NORMAL_TARGET_EXPORTS) \
50339 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
50340 for flag in $(EXTRA_TARGET_FLAGS); do \
50341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50342 done; \
50343 (cd $(TARGET_SUBDIR)/libtermcap && \
50344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50346 "RANLIB=$${RANLIB}" \
50347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50348 pdf) \
50349 || exit 1
50351 @endif target-libtermcap
50353 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
50354 maybe-html-target-libtermcap:
50355 @if target-libtermcap
50356 maybe-html-target-libtermcap: html-target-libtermcap
50358 html-target-libtermcap: \
50359 configure-target-libtermcap
50360 @: $(MAKE); $(unstage)
50361 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50362 r=`${PWD_COMMAND}`; export r; \
50363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50364 $(NORMAL_TARGET_EXPORTS) \
50365 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
50366 for flag in $(EXTRA_TARGET_FLAGS); do \
50367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50368 done; \
50369 (cd $(TARGET_SUBDIR)/libtermcap && \
50370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50372 "RANLIB=$${RANLIB}" \
50373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50374 html) \
50375 || exit 1
50377 @endif target-libtermcap
50379 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
50380 maybe-TAGS-target-libtermcap:
50381 @if target-libtermcap
50382 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
50384 TAGS-target-libtermcap: \
50385 configure-target-libtermcap
50386 @: $(MAKE); $(unstage)
50387 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50388 r=`${PWD_COMMAND}`; export r; \
50389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50390 $(NORMAL_TARGET_EXPORTS) \
50391 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
50392 for flag in $(EXTRA_TARGET_FLAGS); do \
50393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50394 done; \
50395 (cd $(TARGET_SUBDIR)/libtermcap && \
50396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50398 "RANLIB=$${RANLIB}" \
50399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50400 TAGS) \
50401 || exit 1
50403 @endif target-libtermcap
50405 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
50406 maybe-install-info-target-libtermcap:
50407 @if target-libtermcap
50408 maybe-install-info-target-libtermcap: install-info-target-libtermcap
50410 install-info-target-libtermcap: \
50411 configure-target-libtermcap \
50412 info-target-libtermcap
50413 @: $(MAKE); $(unstage)
50414 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50415 r=`${PWD_COMMAND}`; export r; \
50416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50417 $(NORMAL_TARGET_EXPORTS) \
50418 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
50419 for flag in $(EXTRA_TARGET_FLAGS); do \
50420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50421 done; \
50422 (cd $(TARGET_SUBDIR)/libtermcap && \
50423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50425 "RANLIB=$${RANLIB}" \
50426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50427 install-info) \
50428 || exit 1
50430 @endif target-libtermcap
50432 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
50433 maybe-install-pdf-target-libtermcap:
50434 @if target-libtermcap
50435 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
50437 install-pdf-target-libtermcap: \
50438 configure-target-libtermcap \
50439 pdf-target-libtermcap
50440 @: $(MAKE); $(unstage)
50441 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50442 r=`${PWD_COMMAND}`; export r; \
50443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50444 $(NORMAL_TARGET_EXPORTS) \
50445 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
50446 for flag in $(EXTRA_TARGET_FLAGS); do \
50447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50448 done; \
50449 (cd $(TARGET_SUBDIR)/libtermcap && \
50450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50452 "RANLIB=$${RANLIB}" \
50453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50454 install-pdf) \
50455 || exit 1
50457 @endif target-libtermcap
50459 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
50460 maybe-install-html-target-libtermcap:
50461 @if target-libtermcap
50462 maybe-install-html-target-libtermcap: install-html-target-libtermcap
50464 install-html-target-libtermcap: \
50465 configure-target-libtermcap \
50466 html-target-libtermcap
50467 @: $(MAKE); $(unstage)
50468 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50469 r=`${PWD_COMMAND}`; export r; \
50470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50471 $(NORMAL_TARGET_EXPORTS) \
50472 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
50473 for flag in $(EXTRA_TARGET_FLAGS); do \
50474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50475 done; \
50476 (cd $(TARGET_SUBDIR)/libtermcap && \
50477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50479 "RANLIB=$${RANLIB}" \
50480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50481 install-html) \
50482 || exit 1
50484 @endif target-libtermcap
50486 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
50487 maybe-installcheck-target-libtermcap:
50488 @if target-libtermcap
50489 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
50491 installcheck-target-libtermcap: \
50492 configure-target-libtermcap
50493 @: $(MAKE); $(unstage)
50494 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
50495 r=`${PWD_COMMAND}`; export r; \
50496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50497 $(NORMAL_TARGET_EXPORTS) \
50498 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
50499 for flag in $(EXTRA_TARGET_FLAGS); do \
50500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50501 done; \
50502 (cd $(TARGET_SUBDIR)/libtermcap && \
50503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50505 "RANLIB=$${RANLIB}" \
50506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50507 installcheck) \
50508 || exit 1
50510 @endif target-libtermcap
50512 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
50513 maybe-mostlyclean-target-libtermcap:
50514 @if target-libtermcap
50515 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
50517 # libtermcap doesn't support mostlyclean.
50518 mostlyclean-target-libtermcap:
50520 @endif target-libtermcap
50522 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
50523 maybe-clean-target-libtermcap:
50524 @if target-libtermcap
50525 maybe-clean-target-libtermcap: clean-target-libtermcap
50527 # libtermcap doesn't support clean.
50528 clean-target-libtermcap:
50530 @endif target-libtermcap
50532 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
50533 maybe-distclean-target-libtermcap:
50534 @if target-libtermcap
50535 maybe-distclean-target-libtermcap: distclean-target-libtermcap
50537 # libtermcap doesn't support distclean.
50538 distclean-target-libtermcap:
50540 @endif target-libtermcap
50542 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
50543 maybe-maintainer-clean-target-libtermcap:
50544 @if target-libtermcap
50545 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
50547 # libtermcap doesn't support maintainer-clean.
50548 maintainer-clean-target-libtermcap:
50550 @endif target-libtermcap
50556 .PHONY: configure-target-winsup maybe-configure-target-winsup
50557 maybe-configure-target-winsup:
50558 @if gcc-bootstrap
50559 configure-target-winsup: stage_current
50560 @endif gcc-bootstrap
50561 @if target-winsup
50562 maybe-configure-target-winsup: configure-target-winsup
50563 configure-target-winsup:
50564 @: $(MAKE); $(unstage)
50565 @r=`${PWD_COMMAND}`; export r; \
50566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50567 echo "Checking multilib configuration for winsup..."; \
50568 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
50569 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
50570 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
50571 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
50572 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
50573 else \
50574 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
50575 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
50576 fi; \
50577 else \
50578 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
50579 fi; \
50580 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
50581 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
50582 $(NORMAL_TARGET_EXPORTS) \
50583 echo Configuring in $(TARGET_SUBDIR)/winsup; \
50584 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
50585 case $(srcdir) in \
50586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50587 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
50588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50589 esac; \
50590 module_srcdir=winsup; \
50591 rm -f no-such-file || : ; \
50592 CONFIG_SITE=no-such-file $(SHELL) \
50593 $$s/$$module_srcdir/configure \
50594 --srcdir=$${topdir}/$$module_srcdir \
50595 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50596 --target=${target_alias} \
50597 || exit 1
50598 @endif target-winsup
50604 .PHONY: all-target-winsup maybe-all-target-winsup
50605 maybe-all-target-winsup:
50606 @if gcc-bootstrap
50607 all-target-winsup: stage_current
50608 @endif gcc-bootstrap
50609 @if target-winsup
50610 TARGET-target-winsup=all
50611 maybe-all-target-winsup: all-target-winsup
50612 all-target-winsup: configure-target-winsup
50613 @: $(MAKE); $(unstage)
50614 @r=`${PWD_COMMAND}`; export r; \
50615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50616 $(NORMAL_TARGET_EXPORTS) \
50617 (cd $(TARGET_SUBDIR)/winsup && \
50618 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50619 $(TARGET-target-winsup))
50620 @endif target-winsup
50626 .PHONY: check-target-winsup maybe-check-target-winsup
50627 maybe-check-target-winsup:
50628 @if target-winsup
50629 maybe-check-target-winsup: check-target-winsup
50631 check-target-winsup:
50632 @: $(MAKE); $(unstage)
50633 @r=`${PWD_COMMAND}`; export r; \
50634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50635 $(NORMAL_TARGET_EXPORTS) \
50636 (cd $(TARGET_SUBDIR)/winsup && \
50637 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50639 @endif target-winsup
50641 .PHONY: install-target-winsup maybe-install-target-winsup
50642 maybe-install-target-winsup:
50643 @if target-winsup
50644 maybe-install-target-winsup: install-target-winsup
50646 install-target-winsup: installdirs
50647 @: $(MAKE); $(unstage)
50648 @r=`${PWD_COMMAND}`; export r; \
50649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50650 $(NORMAL_TARGET_EXPORTS) \
50651 (cd $(TARGET_SUBDIR)/winsup && \
50652 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50654 @endif target-winsup
50656 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
50657 maybe-install-strip-target-winsup:
50658 @if target-winsup
50659 maybe-install-strip-target-winsup: install-strip-target-winsup
50661 install-strip-target-winsup: installdirs
50662 @: $(MAKE); $(unstage)
50663 @r=`${PWD_COMMAND}`; export r; \
50664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50665 $(NORMAL_TARGET_EXPORTS) \
50666 (cd $(TARGET_SUBDIR)/winsup && \
50667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50669 @endif target-winsup
50671 # Other targets (info, dvi, pdf, etc.)
50673 .PHONY: maybe-info-target-winsup info-target-winsup
50674 maybe-info-target-winsup:
50675 @if target-winsup
50676 maybe-info-target-winsup: info-target-winsup
50678 info-target-winsup: \
50679 configure-target-winsup
50680 @: $(MAKE); $(unstage)
50681 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50682 r=`${PWD_COMMAND}`; export r; \
50683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50684 $(NORMAL_TARGET_EXPORTS) \
50685 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
50686 for flag in $(EXTRA_TARGET_FLAGS); do \
50687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50688 done; \
50689 (cd $(TARGET_SUBDIR)/winsup && \
50690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50692 "RANLIB=$${RANLIB}" \
50693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50694 info) \
50695 || exit 1
50697 @endif target-winsup
50699 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
50700 maybe-dvi-target-winsup:
50701 @if target-winsup
50702 maybe-dvi-target-winsup: dvi-target-winsup
50704 dvi-target-winsup: \
50705 configure-target-winsup
50706 @: $(MAKE); $(unstage)
50707 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50708 r=`${PWD_COMMAND}`; export r; \
50709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50710 $(NORMAL_TARGET_EXPORTS) \
50711 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
50712 for flag in $(EXTRA_TARGET_FLAGS); do \
50713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50714 done; \
50715 (cd $(TARGET_SUBDIR)/winsup && \
50716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50718 "RANLIB=$${RANLIB}" \
50719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50720 dvi) \
50721 || exit 1
50723 @endif target-winsup
50725 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
50726 maybe-pdf-target-winsup:
50727 @if target-winsup
50728 maybe-pdf-target-winsup: pdf-target-winsup
50730 pdf-target-winsup: \
50731 configure-target-winsup
50732 @: $(MAKE); $(unstage)
50733 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50734 r=`${PWD_COMMAND}`; export r; \
50735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50736 $(NORMAL_TARGET_EXPORTS) \
50737 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
50738 for flag in $(EXTRA_TARGET_FLAGS); do \
50739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50740 done; \
50741 (cd $(TARGET_SUBDIR)/winsup && \
50742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50744 "RANLIB=$${RANLIB}" \
50745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50746 pdf) \
50747 || exit 1
50749 @endif target-winsup
50751 .PHONY: maybe-html-target-winsup html-target-winsup
50752 maybe-html-target-winsup:
50753 @if target-winsup
50754 maybe-html-target-winsup: html-target-winsup
50756 html-target-winsup: \
50757 configure-target-winsup
50758 @: $(MAKE); $(unstage)
50759 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50760 r=`${PWD_COMMAND}`; export r; \
50761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50762 $(NORMAL_TARGET_EXPORTS) \
50763 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
50764 for flag in $(EXTRA_TARGET_FLAGS); do \
50765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50766 done; \
50767 (cd $(TARGET_SUBDIR)/winsup && \
50768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50770 "RANLIB=$${RANLIB}" \
50771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50772 html) \
50773 || exit 1
50775 @endif target-winsup
50777 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
50778 maybe-TAGS-target-winsup:
50779 @if target-winsup
50780 maybe-TAGS-target-winsup: TAGS-target-winsup
50782 TAGS-target-winsup: \
50783 configure-target-winsup
50784 @: $(MAKE); $(unstage)
50785 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50786 r=`${PWD_COMMAND}`; export r; \
50787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50788 $(NORMAL_TARGET_EXPORTS) \
50789 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
50790 for flag in $(EXTRA_TARGET_FLAGS); do \
50791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50792 done; \
50793 (cd $(TARGET_SUBDIR)/winsup && \
50794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50796 "RANLIB=$${RANLIB}" \
50797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50798 TAGS) \
50799 || exit 1
50801 @endif target-winsup
50803 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
50804 maybe-install-info-target-winsup:
50805 @if target-winsup
50806 maybe-install-info-target-winsup: install-info-target-winsup
50808 install-info-target-winsup: \
50809 configure-target-winsup \
50810 info-target-winsup
50811 @: $(MAKE); $(unstage)
50812 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50813 r=`${PWD_COMMAND}`; export r; \
50814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50815 $(NORMAL_TARGET_EXPORTS) \
50816 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
50817 for flag in $(EXTRA_TARGET_FLAGS); do \
50818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50819 done; \
50820 (cd $(TARGET_SUBDIR)/winsup && \
50821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50823 "RANLIB=$${RANLIB}" \
50824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50825 install-info) \
50826 || exit 1
50828 @endif target-winsup
50830 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
50831 maybe-install-pdf-target-winsup:
50832 @if target-winsup
50833 maybe-install-pdf-target-winsup: install-pdf-target-winsup
50835 install-pdf-target-winsup: \
50836 configure-target-winsup \
50837 pdf-target-winsup
50838 @: $(MAKE); $(unstage)
50839 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50840 r=`${PWD_COMMAND}`; export r; \
50841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50842 $(NORMAL_TARGET_EXPORTS) \
50843 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
50844 for flag in $(EXTRA_TARGET_FLAGS); do \
50845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50846 done; \
50847 (cd $(TARGET_SUBDIR)/winsup && \
50848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50850 "RANLIB=$${RANLIB}" \
50851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50852 install-pdf) \
50853 || exit 1
50855 @endif target-winsup
50857 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
50858 maybe-install-html-target-winsup:
50859 @if target-winsup
50860 maybe-install-html-target-winsup: install-html-target-winsup
50862 install-html-target-winsup: \
50863 configure-target-winsup \
50864 html-target-winsup
50865 @: $(MAKE); $(unstage)
50866 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50867 r=`${PWD_COMMAND}`; export r; \
50868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50869 $(NORMAL_TARGET_EXPORTS) \
50870 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
50871 for flag in $(EXTRA_TARGET_FLAGS); do \
50872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50873 done; \
50874 (cd $(TARGET_SUBDIR)/winsup && \
50875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50877 "RANLIB=$${RANLIB}" \
50878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50879 install-html) \
50880 || exit 1
50882 @endif target-winsup
50884 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
50885 maybe-installcheck-target-winsup:
50886 @if target-winsup
50887 maybe-installcheck-target-winsup: installcheck-target-winsup
50889 installcheck-target-winsup: \
50890 configure-target-winsup
50891 @: $(MAKE); $(unstage)
50892 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50893 r=`${PWD_COMMAND}`; export r; \
50894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50895 $(NORMAL_TARGET_EXPORTS) \
50896 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
50897 for flag in $(EXTRA_TARGET_FLAGS); do \
50898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50899 done; \
50900 (cd $(TARGET_SUBDIR)/winsup && \
50901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50903 "RANLIB=$${RANLIB}" \
50904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50905 installcheck) \
50906 || exit 1
50908 @endif target-winsup
50910 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
50911 maybe-mostlyclean-target-winsup:
50912 @if target-winsup
50913 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
50915 mostlyclean-target-winsup:
50916 @: $(MAKE); $(unstage)
50917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50918 r=`${PWD_COMMAND}`; export r; \
50919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50920 $(NORMAL_TARGET_EXPORTS) \
50921 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
50922 for flag in $(EXTRA_TARGET_FLAGS); do \
50923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50924 done; \
50925 (cd $(TARGET_SUBDIR)/winsup && \
50926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50928 "RANLIB=$${RANLIB}" \
50929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50930 mostlyclean) \
50931 || exit 1
50933 @endif target-winsup
50935 .PHONY: maybe-clean-target-winsup clean-target-winsup
50936 maybe-clean-target-winsup:
50937 @if target-winsup
50938 maybe-clean-target-winsup: clean-target-winsup
50940 clean-target-winsup:
50941 @: $(MAKE); $(unstage)
50942 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50943 r=`${PWD_COMMAND}`; export r; \
50944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50945 $(NORMAL_TARGET_EXPORTS) \
50946 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
50947 for flag in $(EXTRA_TARGET_FLAGS); do \
50948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50949 done; \
50950 (cd $(TARGET_SUBDIR)/winsup && \
50951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50953 "RANLIB=$${RANLIB}" \
50954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50955 clean) \
50956 || exit 1
50958 @endif target-winsup
50960 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
50961 maybe-distclean-target-winsup:
50962 @if target-winsup
50963 maybe-distclean-target-winsup: distclean-target-winsup
50965 distclean-target-winsup:
50966 @: $(MAKE); $(unstage)
50967 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50968 r=`${PWD_COMMAND}`; export r; \
50969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50970 $(NORMAL_TARGET_EXPORTS) \
50971 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
50972 for flag in $(EXTRA_TARGET_FLAGS); do \
50973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50974 done; \
50975 (cd $(TARGET_SUBDIR)/winsup && \
50976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50978 "RANLIB=$${RANLIB}" \
50979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50980 distclean) \
50981 || exit 1
50983 @endif target-winsup
50985 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
50986 maybe-maintainer-clean-target-winsup:
50987 @if target-winsup
50988 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
50990 maintainer-clean-target-winsup:
50991 @: $(MAKE); $(unstage)
50992 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50993 r=`${PWD_COMMAND}`; export r; \
50994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50995 $(NORMAL_TARGET_EXPORTS) \
50996 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
50997 for flag in $(EXTRA_TARGET_FLAGS); do \
50998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50999 done; \
51000 (cd $(TARGET_SUBDIR)/winsup && \
51001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51003 "RANLIB=$${RANLIB}" \
51004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51005 maintainer-clean) \
51006 || exit 1
51008 @endif target-winsup
51014 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
51015 maybe-configure-target-libgloss:
51016 @if gcc-bootstrap
51017 configure-target-libgloss: stage_current
51018 @endif gcc-bootstrap
51019 @if target-libgloss
51020 maybe-configure-target-libgloss: configure-target-libgloss
51021 configure-target-libgloss:
51022 @: $(MAKE); $(unstage)
51023 @r=`${PWD_COMMAND}`; export r; \
51024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51025 echo "Checking multilib configuration for libgloss..."; \
51026 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
51027 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
51028 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
51029 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
51030 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
51031 else \
51032 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
51033 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
51034 fi; \
51035 else \
51036 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
51037 fi; \
51038 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
51039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
51040 $(NORMAL_TARGET_EXPORTS) \
51041 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
51042 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
51043 case $(srcdir) in \
51044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51045 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
51046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51047 esac; \
51048 module_srcdir=libgloss; \
51049 rm -f no-such-file || : ; \
51050 CONFIG_SITE=no-such-file $(SHELL) \
51051 $$s/$$module_srcdir/configure \
51052 --srcdir=$${topdir}/$$module_srcdir \
51053 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51054 --target=${target_alias} \
51055 || exit 1
51056 @endif target-libgloss
51062 .PHONY: all-target-libgloss maybe-all-target-libgloss
51063 maybe-all-target-libgloss:
51064 @if gcc-bootstrap
51065 all-target-libgloss: stage_current
51066 @endif gcc-bootstrap
51067 @if target-libgloss
51068 TARGET-target-libgloss=all
51069 maybe-all-target-libgloss: all-target-libgloss
51070 all-target-libgloss: configure-target-libgloss
51071 @: $(MAKE); $(unstage)
51072 @r=`${PWD_COMMAND}`; export r; \
51073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51074 $(NORMAL_TARGET_EXPORTS) \
51075 (cd $(TARGET_SUBDIR)/libgloss && \
51076 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51077 $(TARGET-target-libgloss))
51078 @endif target-libgloss
51084 .PHONY: check-target-libgloss maybe-check-target-libgloss
51085 maybe-check-target-libgloss:
51086 @if target-libgloss
51087 maybe-check-target-libgloss: check-target-libgloss
51089 # Dummy target for uncheckable module.
51090 check-target-libgloss:
51092 @endif target-libgloss
51094 .PHONY: install-target-libgloss maybe-install-target-libgloss
51095 maybe-install-target-libgloss:
51096 @if target-libgloss
51097 maybe-install-target-libgloss: install-target-libgloss
51099 install-target-libgloss: installdirs
51100 @: $(MAKE); $(unstage)
51101 @r=`${PWD_COMMAND}`; export r; \
51102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51103 $(NORMAL_TARGET_EXPORTS) \
51104 (cd $(TARGET_SUBDIR)/libgloss && \
51105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51107 @endif target-libgloss
51109 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
51110 maybe-install-strip-target-libgloss:
51111 @if target-libgloss
51112 maybe-install-strip-target-libgloss: install-strip-target-libgloss
51114 install-strip-target-libgloss: installdirs
51115 @: $(MAKE); $(unstage)
51116 @r=`${PWD_COMMAND}`; export r; \
51117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51118 $(NORMAL_TARGET_EXPORTS) \
51119 (cd $(TARGET_SUBDIR)/libgloss && \
51120 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51122 @endif target-libgloss
51124 # Other targets (info, dvi, pdf, etc.)
51126 .PHONY: maybe-info-target-libgloss info-target-libgloss
51127 maybe-info-target-libgloss:
51128 @if target-libgloss
51129 maybe-info-target-libgloss: info-target-libgloss
51131 info-target-libgloss: \
51132 configure-target-libgloss
51133 @: $(MAKE); $(unstage)
51134 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51135 r=`${PWD_COMMAND}`; export r; \
51136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51137 $(NORMAL_TARGET_EXPORTS) \
51138 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
51139 for flag in $(EXTRA_TARGET_FLAGS); do \
51140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51141 done; \
51142 (cd $(TARGET_SUBDIR)/libgloss && \
51143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51145 "RANLIB=$${RANLIB}" \
51146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51147 info) \
51148 || exit 1
51150 @endif target-libgloss
51152 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
51153 maybe-dvi-target-libgloss:
51154 @if target-libgloss
51155 maybe-dvi-target-libgloss: dvi-target-libgloss
51157 dvi-target-libgloss: \
51158 configure-target-libgloss
51159 @: $(MAKE); $(unstage)
51160 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51161 r=`${PWD_COMMAND}`; export r; \
51162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51163 $(NORMAL_TARGET_EXPORTS) \
51164 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
51165 for flag in $(EXTRA_TARGET_FLAGS); do \
51166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51167 done; \
51168 (cd $(TARGET_SUBDIR)/libgloss && \
51169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51171 "RANLIB=$${RANLIB}" \
51172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51173 dvi) \
51174 || exit 1
51176 @endif target-libgloss
51178 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
51179 maybe-pdf-target-libgloss:
51180 @if target-libgloss
51181 maybe-pdf-target-libgloss: pdf-target-libgloss
51183 pdf-target-libgloss: \
51184 configure-target-libgloss
51185 @: $(MAKE); $(unstage)
51186 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51187 r=`${PWD_COMMAND}`; export r; \
51188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51189 $(NORMAL_TARGET_EXPORTS) \
51190 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
51191 for flag in $(EXTRA_TARGET_FLAGS); do \
51192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51193 done; \
51194 (cd $(TARGET_SUBDIR)/libgloss && \
51195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51197 "RANLIB=$${RANLIB}" \
51198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51199 pdf) \
51200 || exit 1
51202 @endif target-libgloss
51204 .PHONY: maybe-html-target-libgloss html-target-libgloss
51205 maybe-html-target-libgloss:
51206 @if target-libgloss
51207 maybe-html-target-libgloss: html-target-libgloss
51209 html-target-libgloss: \
51210 configure-target-libgloss
51211 @: $(MAKE); $(unstage)
51212 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51213 r=`${PWD_COMMAND}`; export r; \
51214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51215 $(NORMAL_TARGET_EXPORTS) \
51216 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
51217 for flag in $(EXTRA_TARGET_FLAGS); do \
51218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51219 done; \
51220 (cd $(TARGET_SUBDIR)/libgloss && \
51221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51223 "RANLIB=$${RANLIB}" \
51224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51225 html) \
51226 || exit 1
51228 @endif target-libgloss
51230 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
51231 maybe-TAGS-target-libgloss:
51232 @if target-libgloss
51233 maybe-TAGS-target-libgloss: TAGS-target-libgloss
51235 TAGS-target-libgloss: \
51236 configure-target-libgloss
51237 @: $(MAKE); $(unstage)
51238 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51239 r=`${PWD_COMMAND}`; export r; \
51240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51241 $(NORMAL_TARGET_EXPORTS) \
51242 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
51243 for flag in $(EXTRA_TARGET_FLAGS); do \
51244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51245 done; \
51246 (cd $(TARGET_SUBDIR)/libgloss && \
51247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51249 "RANLIB=$${RANLIB}" \
51250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51251 TAGS) \
51252 || exit 1
51254 @endif target-libgloss
51256 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
51257 maybe-install-info-target-libgloss:
51258 @if target-libgloss
51259 maybe-install-info-target-libgloss: install-info-target-libgloss
51261 install-info-target-libgloss: \
51262 configure-target-libgloss \
51263 info-target-libgloss
51264 @: $(MAKE); $(unstage)
51265 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51266 r=`${PWD_COMMAND}`; export r; \
51267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51268 $(NORMAL_TARGET_EXPORTS) \
51269 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
51270 for flag in $(EXTRA_TARGET_FLAGS); do \
51271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51272 done; \
51273 (cd $(TARGET_SUBDIR)/libgloss && \
51274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51276 "RANLIB=$${RANLIB}" \
51277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51278 install-info) \
51279 || exit 1
51281 @endif target-libgloss
51283 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
51284 maybe-install-pdf-target-libgloss:
51285 @if target-libgloss
51286 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
51288 install-pdf-target-libgloss: \
51289 configure-target-libgloss \
51290 pdf-target-libgloss
51291 @: $(MAKE); $(unstage)
51292 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51293 r=`${PWD_COMMAND}`; export r; \
51294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51295 $(NORMAL_TARGET_EXPORTS) \
51296 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
51297 for flag in $(EXTRA_TARGET_FLAGS); do \
51298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51299 done; \
51300 (cd $(TARGET_SUBDIR)/libgloss && \
51301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51303 "RANLIB=$${RANLIB}" \
51304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51305 install-pdf) \
51306 || exit 1
51308 @endif target-libgloss
51310 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
51311 maybe-install-html-target-libgloss:
51312 @if target-libgloss
51313 maybe-install-html-target-libgloss: install-html-target-libgloss
51315 install-html-target-libgloss: \
51316 configure-target-libgloss \
51317 html-target-libgloss
51318 @: $(MAKE); $(unstage)
51319 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51320 r=`${PWD_COMMAND}`; export r; \
51321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51322 $(NORMAL_TARGET_EXPORTS) \
51323 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
51324 for flag in $(EXTRA_TARGET_FLAGS); do \
51325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51326 done; \
51327 (cd $(TARGET_SUBDIR)/libgloss && \
51328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51330 "RANLIB=$${RANLIB}" \
51331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51332 install-html) \
51333 || exit 1
51335 @endif target-libgloss
51337 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
51338 maybe-installcheck-target-libgloss:
51339 @if target-libgloss
51340 maybe-installcheck-target-libgloss: installcheck-target-libgloss
51342 installcheck-target-libgloss: \
51343 configure-target-libgloss
51344 @: $(MAKE); $(unstage)
51345 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51346 r=`${PWD_COMMAND}`; export r; \
51347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51348 $(NORMAL_TARGET_EXPORTS) \
51349 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
51350 for flag in $(EXTRA_TARGET_FLAGS); do \
51351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51352 done; \
51353 (cd $(TARGET_SUBDIR)/libgloss && \
51354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51356 "RANLIB=$${RANLIB}" \
51357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51358 installcheck) \
51359 || exit 1
51361 @endif target-libgloss
51363 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
51364 maybe-mostlyclean-target-libgloss:
51365 @if target-libgloss
51366 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
51368 mostlyclean-target-libgloss:
51369 @: $(MAKE); $(unstage)
51370 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51371 r=`${PWD_COMMAND}`; export r; \
51372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51373 $(NORMAL_TARGET_EXPORTS) \
51374 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
51375 for flag in $(EXTRA_TARGET_FLAGS); do \
51376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51377 done; \
51378 (cd $(TARGET_SUBDIR)/libgloss && \
51379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51381 "RANLIB=$${RANLIB}" \
51382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51383 mostlyclean) \
51384 || exit 1
51386 @endif target-libgloss
51388 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
51389 maybe-clean-target-libgloss:
51390 @if target-libgloss
51391 maybe-clean-target-libgloss: clean-target-libgloss
51393 clean-target-libgloss:
51394 @: $(MAKE); $(unstage)
51395 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51396 r=`${PWD_COMMAND}`; export r; \
51397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51398 $(NORMAL_TARGET_EXPORTS) \
51399 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
51400 for flag in $(EXTRA_TARGET_FLAGS); do \
51401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51402 done; \
51403 (cd $(TARGET_SUBDIR)/libgloss && \
51404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51406 "RANLIB=$${RANLIB}" \
51407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51408 clean) \
51409 || exit 1
51411 @endif target-libgloss
51413 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
51414 maybe-distclean-target-libgloss:
51415 @if target-libgloss
51416 maybe-distclean-target-libgloss: distclean-target-libgloss
51418 distclean-target-libgloss:
51419 @: $(MAKE); $(unstage)
51420 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51421 r=`${PWD_COMMAND}`; export r; \
51422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51423 $(NORMAL_TARGET_EXPORTS) \
51424 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
51425 for flag in $(EXTRA_TARGET_FLAGS); do \
51426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51427 done; \
51428 (cd $(TARGET_SUBDIR)/libgloss && \
51429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51431 "RANLIB=$${RANLIB}" \
51432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51433 distclean) \
51434 || exit 1
51436 @endif target-libgloss
51438 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
51439 maybe-maintainer-clean-target-libgloss:
51440 @if target-libgloss
51441 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
51443 maintainer-clean-target-libgloss:
51444 @: $(MAKE); $(unstage)
51445 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
51446 r=`${PWD_COMMAND}`; export r; \
51447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51448 $(NORMAL_TARGET_EXPORTS) \
51449 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
51450 for flag in $(EXTRA_TARGET_FLAGS); do \
51451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51452 done; \
51453 (cd $(TARGET_SUBDIR)/libgloss && \
51454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51456 "RANLIB=$${RANLIB}" \
51457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51458 maintainer-clean) \
51459 || exit 1
51461 @endif target-libgloss
51467 .PHONY: configure-target-libffi maybe-configure-target-libffi
51468 maybe-configure-target-libffi:
51469 @if gcc-bootstrap
51470 configure-target-libffi: stage_current
51471 @endif gcc-bootstrap
51472 @if target-libffi
51473 maybe-configure-target-libffi: configure-target-libffi
51474 configure-target-libffi:
51475 @: $(MAKE); $(unstage)
51476 @r=`${PWD_COMMAND}`; export r; \
51477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51478 echo "Checking multilib configuration for libffi..."; \
51479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
51480 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
51481 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
51482 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
51483 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
51484 else \
51485 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
51486 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
51487 fi; \
51488 else \
51489 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
51490 fi; \
51491 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
51492 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
51493 $(NORMAL_TARGET_EXPORTS) \
51494 echo Configuring in $(TARGET_SUBDIR)/libffi; \
51495 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
51496 case $(srcdir) in \
51497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51498 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
51499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51500 esac; \
51501 module_srcdir=libffi; \
51502 rm -f no-such-file || : ; \
51503 CONFIG_SITE=no-such-file $(SHELL) \
51504 $$s/$$module_srcdir/configure \
51505 --srcdir=$${topdir}/$$module_srcdir \
51506 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51507 --target=${target_alias} \
51508 || exit 1
51509 @endif target-libffi
51515 .PHONY: all-target-libffi maybe-all-target-libffi
51516 maybe-all-target-libffi:
51517 @if gcc-bootstrap
51518 all-target-libffi: stage_current
51519 @endif gcc-bootstrap
51520 @if target-libffi
51521 TARGET-target-libffi=all
51522 maybe-all-target-libffi: all-target-libffi
51523 all-target-libffi: configure-target-libffi
51524 @: $(MAKE); $(unstage)
51525 @r=`${PWD_COMMAND}`; export r; \
51526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51527 $(NORMAL_TARGET_EXPORTS) \
51528 (cd $(TARGET_SUBDIR)/libffi && \
51529 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51530 $(TARGET-target-libffi))
51531 @endif target-libffi
51537 .PHONY: check-target-libffi maybe-check-target-libffi
51538 maybe-check-target-libffi:
51539 @if target-libffi
51540 maybe-check-target-libffi: check-target-libffi
51542 check-target-libffi:
51543 @: $(MAKE); $(unstage)
51544 @r=`${PWD_COMMAND}`; export r; \
51545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51546 $(NORMAL_TARGET_EXPORTS) \
51547 (cd $(TARGET_SUBDIR)/libffi && \
51548 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51550 @endif target-libffi
51552 .PHONY: install-target-libffi maybe-install-target-libffi
51553 maybe-install-target-libffi:
51554 @if target-libffi
51555 maybe-install-target-libffi: install-target-libffi
51557 # Dummy target for uninstallable.
51558 install-target-libffi:
51560 @endif target-libffi
51562 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
51563 maybe-install-strip-target-libffi:
51564 @if target-libffi
51565 maybe-install-strip-target-libffi: install-strip-target-libffi
51567 # Dummy target for uninstallable.
51568 install-strip-target-libffi:
51570 @endif target-libffi
51572 # Other targets (info, dvi, pdf, etc.)
51574 .PHONY: maybe-info-target-libffi info-target-libffi
51575 maybe-info-target-libffi:
51576 @if target-libffi
51577 maybe-info-target-libffi: info-target-libffi
51579 info-target-libffi: \
51580 configure-target-libffi
51581 @: $(MAKE); $(unstage)
51582 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51583 r=`${PWD_COMMAND}`; export r; \
51584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51585 $(NORMAL_TARGET_EXPORTS) \
51586 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
51587 for flag in $(EXTRA_TARGET_FLAGS); do \
51588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51589 done; \
51590 (cd $(TARGET_SUBDIR)/libffi && \
51591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51593 "RANLIB=$${RANLIB}" \
51594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51595 info) \
51596 || exit 1
51598 @endif target-libffi
51600 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
51601 maybe-dvi-target-libffi:
51602 @if target-libffi
51603 maybe-dvi-target-libffi: dvi-target-libffi
51605 dvi-target-libffi: \
51606 configure-target-libffi
51607 @: $(MAKE); $(unstage)
51608 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51609 r=`${PWD_COMMAND}`; export r; \
51610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51611 $(NORMAL_TARGET_EXPORTS) \
51612 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
51613 for flag in $(EXTRA_TARGET_FLAGS); do \
51614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51615 done; \
51616 (cd $(TARGET_SUBDIR)/libffi && \
51617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51619 "RANLIB=$${RANLIB}" \
51620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51621 dvi) \
51622 || exit 1
51624 @endif target-libffi
51626 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
51627 maybe-pdf-target-libffi:
51628 @if target-libffi
51629 maybe-pdf-target-libffi: pdf-target-libffi
51631 pdf-target-libffi: \
51632 configure-target-libffi
51633 @: $(MAKE); $(unstage)
51634 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51635 r=`${PWD_COMMAND}`; export r; \
51636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51637 $(NORMAL_TARGET_EXPORTS) \
51638 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
51639 for flag in $(EXTRA_TARGET_FLAGS); do \
51640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51641 done; \
51642 (cd $(TARGET_SUBDIR)/libffi && \
51643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51645 "RANLIB=$${RANLIB}" \
51646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51647 pdf) \
51648 || exit 1
51650 @endif target-libffi
51652 .PHONY: maybe-html-target-libffi html-target-libffi
51653 maybe-html-target-libffi:
51654 @if target-libffi
51655 maybe-html-target-libffi: html-target-libffi
51657 html-target-libffi: \
51658 configure-target-libffi
51659 @: $(MAKE); $(unstage)
51660 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51661 r=`${PWD_COMMAND}`; export r; \
51662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51663 $(NORMAL_TARGET_EXPORTS) \
51664 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
51665 for flag in $(EXTRA_TARGET_FLAGS); do \
51666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51667 done; \
51668 (cd $(TARGET_SUBDIR)/libffi && \
51669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51671 "RANLIB=$${RANLIB}" \
51672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51673 html) \
51674 || exit 1
51676 @endif target-libffi
51678 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
51679 maybe-TAGS-target-libffi:
51680 @if target-libffi
51681 maybe-TAGS-target-libffi: TAGS-target-libffi
51683 TAGS-target-libffi: \
51684 configure-target-libffi
51685 @: $(MAKE); $(unstage)
51686 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51687 r=`${PWD_COMMAND}`; export r; \
51688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51689 $(NORMAL_TARGET_EXPORTS) \
51690 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
51691 for flag in $(EXTRA_TARGET_FLAGS); do \
51692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51693 done; \
51694 (cd $(TARGET_SUBDIR)/libffi && \
51695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51697 "RANLIB=$${RANLIB}" \
51698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51699 TAGS) \
51700 || exit 1
51702 @endif target-libffi
51704 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
51705 maybe-install-info-target-libffi:
51706 @if target-libffi
51707 maybe-install-info-target-libffi: install-info-target-libffi
51709 install-info-target-libffi: \
51710 configure-target-libffi \
51711 info-target-libffi
51712 @: $(MAKE); $(unstage)
51713 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51714 r=`${PWD_COMMAND}`; export r; \
51715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51716 $(NORMAL_TARGET_EXPORTS) \
51717 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
51718 for flag in $(EXTRA_TARGET_FLAGS); do \
51719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51720 done; \
51721 (cd $(TARGET_SUBDIR)/libffi && \
51722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51724 "RANLIB=$${RANLIB}" \
51725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51726 install-info) \
51727 || exit 1
51729 @endif target-libffi
51731 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
51732 maybe-install-pdf-target-libffi:
51733 @if target-libffi
51734 maybe-install-pdf-target-libffi: install-pdf-target-libffi
51736 install-pdf-target-libffi: \
51737 configure-target-libffi \
51738 pdf-target-libffi
51739 @: $(MAKE); $(unstage)
51740 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51741 r=`${PWD_COMMAND}`; export r; \
51742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51743 $(NORMAL_TARGET_EXPORTS) \
51744 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
51745 for flag in $(EXTRA_TARGET_FLAGS); do \
51746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51747 done; \
51748 (cd $(TARGET_SUBDIR)/libffi && \
51749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51751 "RANLIB=$${RANLIB}" \
51752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51753 install-pdf) \
51754 || exit 1
51756 @endif target-libffi
51758 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
51759 maybe-install-html-target-libffi:
51760 @if target-libffi
51761 maybe-install-html-target-libffi: install-html-target-libffi
51763 install-html-target-libffi: \
51764 configure-target-libffi \
51765 html-target-libffi
51766 @: $(MAKE); $(unstage)
51767 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51768 r=`${PWD_COMMAND}`; export r; \
51769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51770 $(NORMAL_TARGET_EXPORTS) \
51771 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
51772 for flag in $(EXTRA_TARGET_FLAGS); do \
51773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51774 done; \
51775 (cd $(TARGET_SUBDIR)/libffi && \
51776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51778 "RANLIB=$${RANLIB}" \
51779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51780 install-html) \
51781 || exit 1
51783 @endif target-libffi
51785 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
51786 maybe-installcheck-target-libffi:
51787 @if target-libffi
51788 maybe-installcheck-target-libffi: installcheck-target-libffi
51790 installcheck-target-libffi: \
51791 configure-target-libffi
51792 @: $(MAKE); $(unstage)
51793 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51794 r=`${PWD_COMMAND}`; export r; \
51795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51796 $(NORMAL_TARGET_EXPORTS) \
51797 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
51798 for flag in $(EXTRA_TARGET_FLAGS); do \
51799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51800 done; \
51801 (cd $(TARGET_SUBDIR)/libffi && \
51802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51804 "RANLIB=$${RANLIB}" \
51805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51806 installcheck) \
51807 || exit 1
51809 @endif target-libffi
51811 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
51812 maybe-mostlyclean-target-libffi:
51813 @if target-libffi
51814 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
51816 mostlyclean-target-libffi:
51817 @: $(MAKE); $(unstage)
51818 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51819 r=`${PWD_COMMAND}`; export r; \
51820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51821 $(NORMAL_TARGET_EXPORTS) \
51822 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
51823 for flag in $(EXTRA_TARGET_FLAGS); do \
51824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51825 done; \
51826 (cd $(TARGET_SUBDIR)/libffi && \
51827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51829 "RANLIB=$${RANLIB}" \
51830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51831 mostlyclean) \
51832 || exit 1
51834 @endif target-libffi
51836 .PHONY: maybe-clean-target-libffi clean-target-libffi
51837 maybe-clean-target-libffi:
51838 @if target-libffi
51839 maybe-clean-target-libffi: clean-target-libffi
51841 clean-target-libffi:
51842 @: $(MAKE); $(unstage)
51843 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51844 r=`${PWD_COMMAND}`; export r; \
51845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51846 $(NORMAL_TARGET_EXPORTS) \
51847 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
51848 for flag in $(EXTRA_TARGET_FLAGS); do \
51849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51850 done; \
51851 (cd $(TARGET_SUBDIR)/libffi && \
51852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51854 "RANLIB=$${RANLIB}" \
51855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51856 clean) \
51857 || exit 1
51859 @endif target-libffi
51861 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
51862 maybe-distclean-target-libffi:
51863 @if target-libffi
51864 maybe-distclean-target-libffi: distclean-target-libffi
51866 distclean-target-libffi:
51867 @: $(MAKE); $(unstage)
51868 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51869 r=`${PWD_COMMAND}`; export r; \
51870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51871 $(NORMAL_TARGET_EXPORTS) \
51872 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
51873 for flag in $(EXTRA_TARGET_FLAGS); do \
51874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51875 done; \
51876 (cd $(TARGET_SUBDIR)/libffi && \
51877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51879 "RANLIB=$${RANLIB}" \
51880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51881 distclean) \
51882 || exit 1
51884 @endif target-libffi
51886 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
51887 maybe-maintainer-clean-target-libffi:
51888 @if target-libffi
51889 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
51891 maintainer-clean-target-libffi:
51892 @: $(MAKE); $(unstage)
51893 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
51894 r=`${PWD_COMMAND}`; export r; \
51895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51896 $(NORMAL_TARGET_EXPORTS) \
51897 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
51898 for flag in $(EXTRA_TARGET_FLAGS); do \
51899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51900 done; \
51901 (cd $(TARGET_SUBDIR)/libffi && \
51902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51904 "RANLIB=$${RANLIB}" \
51905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51906 maintainer-clean) \
51907 || exit 1
51909 @endif target-libffi
51915 .PHONY: configure-target-zlib maybe-configure-target-zlib
51916 maybe-configure-target-zlib:
51917 @if gcc-bootstrap
51918 configure-target-zlib: stage_current
51919 @endif gcc-bootstrap
51920 @if target-zlib
51921 maybe-configure-target-zlib: configure-target-zlib
51922 configure-target-zlib:
51923 @: $(MAKE); $(unstage)
51924 @r=`${PWD_COMMAND}`; export r; \
51925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51926 echo "Checking multilib configuration for zlib..."; \
51927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
51928 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
51929 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
51930 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
51931 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
51932 else \
51933 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
51934 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
51935 fi; \
51936 else \
51937 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
51938 fi; \
51939 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
51940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
51941 $(NORMAL_TARGET_EXPORTS) \
51942 echo Configuring in $(TARGET_SUBDIR)/zlib; \
51943 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
51944 case $(srcdir) in \
51945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51946 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
51947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51948 esac; \
51949 module_srcdir=zlib; \
51950 rm -f no-such-file || : ; \
51951 CONFIG_SITE=no-such-file $(SHELL) \
51952 $$s/$$module_srcdir/configure \
51953 --srcdir=$${topdir}/$$module_srcdir \
51954 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51955 --target=${target_alias} \
51956 || exit 1
51957 @endif target-zlib
51963 .PHONY: all-target-zlib maybe-all-target-zlib
51964 maybe-all-target-zlib:
51965 @if gcc-bootstrap
51966 all-target-zlib: stage_current
51967 @endif gcc-bootstrap
51968 @if target-zlib
51969 TARGET-target-zlib=all
51970 maybe-all-target-zlib: all-target-zlib
51971 all-target-zlib: configure-target-zlib
51972 @: $(MAKE); $(unstage)
51973 @r=`${PWD_COMMAND}`; export r; \
51974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51975 $(NORMAL_TARGET_EXPORTS) \
51976 (cd $(TARGET_SUBDIR)/zlib && \
51977 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51978 $(TARGET-target-zlib))
51979 @endif target-zlib
51985 .PHONY: check-target-zlib maybe-check-target-zlib
51986 maybe-check-target-zlib:
51987 @if target-zlib
51988 maybe-check-target-zlib: check-target-zlib
51990 check-target-zlib:
51991 @: $(MAKE); $(unstage)
51992 @r=`${PWD_COMMAND}`; export r; \
51993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51994 $(NORMAL_TARGET_EXPORTS) \
51995 (cd $(TARGET_SUBDIR)/zlib && \
51996 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51998 @endif target-zlib
52000 .PHONY: install-target-zlib maybe-install-target-zlib
52001 maybe-install-target-zlib:
52002 @if target-zlib
52003 maybe-install-target-zlib: install-target-zlib
52005 install-target-zlib: installdirs
52006 @: $(MAKE); $(unstage)
52007 @r=`${PWD_COMMAND}`; export r; \
52008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52009 $(NORMAL_TARGET_EXPORTS) \
52010 (cd $(TARGET_SUBDIR)/zlib && \
52011 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52013 @endif target-zlib
52015 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
52016 maybe-install-strip-target-zlib:
52017 @if target-zlib
52018 maybe-install-strip-target-zlib: install-strip-target-zlib
52020 install-strip-target-zlib: installdirs
52021 @: $(MAKE); $(unstage)
52022 @r=`${PWD_COMMAND}`; export r; \
52023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52024 $(NORMAL_TARGET_EXPORTS) \
52025 (cd $(TARGET_SUBDIR)/zlib && \
52026 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52028 @endif target-zlib
52030 # Other targets (info, dvi, pdf, etc.)
52032 .PHONY: maybe-info-target-zlib info-target-zlib
52033 maybe-info-target-zlib:
52034 @if target-zlib
52035 maybe-info-target-zlib: info-target-zlib
52037 info-target-zlib: \
52038 configure-target-zlib
52039 @: $(MAKE); $(unstage)
52040 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52041 r=`${PWD_COMMAND}`; export r; \
52042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52043 $(NORMAL_TARGET_EXPORTS) \
52044 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
52045 for flag in $(EXTRA_TARGET_FLAGS); do \
52046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52047 done; \
52048 (cd $(TARGET_SUBDIR)/zlib && \
52049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52051 "RANLIB=$${RANLIB}" \
52052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52053 info) \
52054 || exit 1
52056 @endif target-zlib
52058 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
52059 maybe-dvi-target-zlib:
52060 @if target-zlib
52061 maybe-dvi-target-zlib: dvi-target-zlib
52063 dvi-target-zlib: \
52064 configure-target-zlib
52065 @: $(MAKE); $(unstage)
52066 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52067 r=`${PWD_COMMAND}`; export r; \
52068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52069 $(NORMAL_TARGET_EXPORTS) \
52070 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
52071 for flag in $(EXTRA_TARGET_FLAGS); do \
52072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52073 done; \
52074 (cd $(TARGET_SUBDIR)/zlib && \
52075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52077 "RANLIB=$${RANLIB}" \
52078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52079 dvi) \
52080 || exit 1
52082 @endif target-zlib
52084 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
52085 maybe-pdf-target-zlib:
52086 @if target-zlib
52087 maybe-pdf-target-zlib: pdf-target-zlib
52089 pdf-target-zlib: \
52090 configure-target-zlib
52091 @: $(MAKE); $(unstage)
52092 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52093 r=`${PWD_COMMAND}`; export r; \
52094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52095 $(NORMAL_TARGET_EXPORTS) \
52096 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
52097 for flag in $(EXTRA_TARGET_FLAGS); do \
52098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52099 done; \
52100 (cd $(TARGET_SUBDIR)/zlib && \
52101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52103 "RANLIB=$${RANLIB}" \
52104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52105 pdf) \
52106 || exit 1
52108 @endif target-zlib
52110 .PHONY: maybe-html-target-zlib html-target-zlib
52111 maybe-html-target-zlib:
52112 @if target-zlib
52113 maybe-html-target-zlib: html-target-zlib
52115 html-target-zlib: \
52116 configure-target-zlib
52117 @: $(MAKE); $(unstage)
52118 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52119 r=`${PWD_COMMAND}`; export r; \
52120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52121 $(NORMAL_TARGET_EXPORTS) \
52122 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
52123 for flag in $(EXTRA_TARGET_FLAGS); do \
52124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52125 done; \
52126 (cd $(TARGET_SUBDIR)/zlib && \
52127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52129 "RANLIB=$${RANLIB}" \
52130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52131 html) \
52132 || exit 1
52134 @endif target-zlib
52136 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
52137 maybe-TAGS-target-zlib:
52138 @if target-zlib
52139 maybe-TAGS-target-zlib: TAGS-target-zlib
52141 TAGS-target-zlib: \
52142 configure-target-zlib
52143 @: $(MAKE); $(unstage)
52144 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52145 r=`${PWD_COMMAND}`; export r; \
52146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52147 $(NORMAL_TARGET_EXPORTS) \
52148 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
52149 for flag in $(EXTRA_TARGET_FLAGS); do \
52150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52151 done; \
52152 (cd $(TARGET_SUBDIR)/zlib && \
52153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52155 "RANLIB=$${RANLIB}" \
52156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52157 TAGS) \
52158 || exit 1
52160 @endif target-zlib
52162 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
52163 maybe-install-info-target-zlib:
52164 @if target-zlib
52165 maybe-install-info-target-zlib: install-info-target-zlib
52167 install-info-target-zlib: \
52168 configure-target-zlib \
52169 info-target-zlib
52170 @: $(MAKE); $(unstage)
52171 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52172 r=`${PWD_COMMAND}`; export r; \
52173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52174 $(NORMAL_TARGET_EXPORTS) \
52175 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
52176 for flag in $(EXTRA_TARGET_FLAGS); do \
52177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52178 done; \
52179 (cd $(TARGET_SUBDIR)/zlib && \
52180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52182 "RANLIB=$${RANLIB}" \
52183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52184 install-info) \
52185 || exit 1
52187 @endif target-zlib
52189 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
52190 maybe-install-pdf-target-zlib:
52191 @if target-zlib
52192 maybe-install-pdf-target-zlib: install-pdf-target-zlib
52194 install-pdf-target-zlib: \
52195 configure-target-zlib \
52196 pdf-target-zlib
52197 @: $(MAKE); $(unstage)
52198 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52199 r=`${PWD_COMMAND}`; export r; \
52200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52201 $(NORMAL_TARGET_EXPORTS) \
52202 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
52203 for flag in $(EXTRA_TARGET_FLAGS); do \
52204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52205 done; \
52206 (cd $(TARGET_SUBDIR)/zlib && \
52207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52209 "RANLIB=$${RANLIB}" \
52210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52211 install-pdf) \
52212 || exit 1
52214 @endif target-zlib
52216 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
52217 maybe-install-html-target-zlib:
52218 @if target-zlib
52219 maybe-install-html-target-zlib: install-html-target-zlib
52221 install-html-target-zlib: \
52222 configure-target-zlib \
52223 html-target-zlib
52224 @: $(MAKE); $(unstage)
52225 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52226 r=`${PWD_COMMAND}`; export r; \
52227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52228 $(NORMAL_TARGET_EXPORTS) \
52229 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
52230 for flag in $(EXTRA_TARGET_FLAGS); do \
52231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52232 done; \
52233 (cd $(TARGET_SUBDIR)/zlib && \
52234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52236 "RANLIB=$${RANLIB}" \
52237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52238 install-html) \
52239 || exit 1
52241 @endif target-zlib
52243 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
52244 maybe-installcheck-target-zlib:
52245 @if target-zlib
52246 maybe-installcheck-target-zlib: installcheck-target-zlib
52248 installcheck-target-zlib: \
52249 configure-target-zlib
52250 @: $(MAKE); $(unstage)
52251 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52252 r=`${PWD_COMMAND}`; export r; \
52253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52254 $(NORMAL_TARGET_EXPORTS) \
52255 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
52256 for flag in $(EXTRA_TARGET_FLAGS); do \
52257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52258 done; \
52259 (cd $(TARGET_SUBDIR)/zlib && \
52260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52262 "RANLIB=$${RANLIB}" \
52263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52264 installcheck) \
52265 || exit 1
52267 @endif target-zlib
52269 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
52270 maybe-mostlyclean-target-zlib:
52271 @if target-zlib
52272 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
52274 mostlyclean-target-zlib:
52275 @: $(MAKE); $(unstage)
52276 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52277 r=`${PWD_COMMAND}`; export r; \
52278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52279 $(NORMAL_TARGET_EXPORTS) \
52280 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
52281 for flag in $(EXTRA_TARGET_FLAGS); do \
52282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52283 done; \
52284 (cd $(TARGET_SUBDIR)/zlib && \
52285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52287 "RANLIB=$${RANLIB}" \
52288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52289 mostlyclean) \
52290 || exit 1
52292 @endif target-zlib
52294 .PHONY: maybe-clean-target-zlib clean-target-zlib
52295 maybe-clean-target-zlib:
52296 @if target-zlib
52297 maybe-clean-target-zlib: clean-target-zlib
52299 clean-target-zlib:
52300 @: $(MAKE); $(unstage)
52301 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52302 r=`${PWD_COMMAND}`; export r; \
52303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52304 $(NORMAL_TARGET_EXPORTS) \
52305 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
52306 for flag in $(EXTRA_TARGET_FLAGS); do \
52307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52308 done; \
52309 (cd $(TARGET_SUBDIR)/zlib && \
52310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52312 "RANLIB=$${RANLIB}" \
52313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52314 clean) \
52315 || exit 1
52317 @endif target-zlib
52319 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
52320 maybe-distclean-target-zlib:
52321 @if target-zlib
52322 maybe-distclean-target-zlib: distclean-target-zlib
52324 distclean-target-zlib:
52325 @: $(MAKE); $(unstage)
52326 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52327 r=`${PWD_COMMAND}`; export r; \
52328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52329 $(NORMAL_TARGET_EXPORTS) \
52330 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
52331 for flag in $(EXTRA_TARGET_FLAGS); do \
52332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52333 done; \
52334 (cd $(TARGET_SUBDIR)/zlib && \
52335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52337 "RANLIB=$${RANLIB}" \
52338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52339 distclean) \
52340 || exit 1
52342 @endif target-zlib
52344 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
52345 maybe-maintainer-clean-target-zlib:
52346 @if target-zlib
52347 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
52349 maintainer-clean-target-zlib:
52350 @: $(MAKE); $(unstage)
52351 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
52352 r=`${PWD_COMMAND}`; export r; \
52353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52354 $(NORMAL_TARGET_EXPORTS) \
52355 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
52356 for flag in $(EXTRA_TARGET_FLAGS); do \
52357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52358 done; \
52359 (cd $(TARGET_SUBDIR)/zlib && \
52360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52362 "RANLIB=$${RANLIB}" \
52363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52364 maintainer-clean) \
52365 || exit 1
52367 @endif target-zlib
52373 .PHONY: configure-target-rda maybe-configure-target-rda
52374 maybe-configure-target-rda:
52375 @if gcc-bootstrap
52376 configure-target-rda: stage_current
52377 @endif gcc-bootstrap
52378 @if target-rda
52379 maybe-configure-target-rda: configure-target-rda
52380 configure-target-rda:
52381 @: $(MAKE); $(unstage)
52382 @r=`${PWD_COMMAND}`; export r; \
52383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52384 echo "Checking multilib configuration for rda..."; \
52385 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
52386 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
52387 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
52388 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
52389 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
52390 else \
52391 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
52392 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
52393 fi; \
52394 else \
52395 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
52396 fi; \
52397 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
52398 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
52399 $(NORMAL_TARGET_EXPORTS) \
52400 echo Configuring in $(TARGET_SUBDIR)/rda; \
52401 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
52402 case $(srcdir) in \
52403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52404 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
52405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52406 esac; \
52407 module_srcdir=rda; \
52408 rm -f no-such-file || : ; \
52409 CONFIG_SITE=no-such-file $(SHELL) \
52410 $$s/$$module_srcdir/configure \
52411 --srcdir=$${topdir}/$$module_srcdir \
52412 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52413 --target=${target_alias} \
52414 || exit 1
52415 @endif target-rda
52421 .PHONY: all-target-rda maybe-all-target-rda
52422 maybe-all-target-rda:
52423 @if gcc-bootstrap
52424 all-target-rda: stage_current
52425 @endif gcc-bootstrap
52426 @if target-rda
52427 TARGET-target-rda=all
52428 maybe-all-target-rda: all-target-rda
52429 all-target-rda: configure-target-rda
52430 @: $(MAKE); $(unstage)
52431 @r=`${PWD_COMMAND}`; export r; \
52432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52433 $(NORMAL_TARGET_EXPORTS) \
52434 (cd $(TARGET_SUBDIR)/rda && \
52435 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52436 $(TARGET-target-rda))
52437 @endif target-rda
52443 .PHONY: check-target-rda maybe-check-target-rda
52444 maybe-check-target-rda:
52445 @if target-rda
52446 maybe-check-target-rda: check-target-rda
52448 check-target-rda:
52449 @: $(MAKE); $(unstage)
52450 @r=`${PWD_COMMAND}`; export r; \
52451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52452 $(NORMAL_TARGET_EXPORTS) \
52453 (cd $(TARGET_SUBDIR)/rda && \
52454 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52456 @endif target-rda
52458 .PHONY: install-target-rda maybe-install-target-rda
52459 maybe-install-target-rda:
52460 @if target-rda
52461 maybe-install-target-rda: install-target-rda
52463 install-target-rda: installdirs
52464 @: $(MAKE); $(unstage)
52465 @r=`${PWD_COMMAND}`; export r; \
52466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52467 $(NORMAL_TARGET_EXPORTS) \
52468 (cd $(TARGET_SUBDIR)/rda && \
52469 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52471 @endif target-rda
52473 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
52474 maybe-install-strip-target-rda:
52475 @if target-rda
52476 maybe-install-strip-target-rda: install-strip-target-rda
52478 install-strip-target-rda: installdirs
52479 @: $(MAKE); $(unstage)
52480 @r=`${PWD_COMMAND}`; export r; \
52481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52482 $(NORMAL_TARGET_EXPORTS) \
52483 (cd $(TARGET_SUBDIR)/rda && \
52484 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52486 @endif target-rda
52488 # Other targets (info, dvi, pdf, etc.)
52490 .PHONY: maybe-info-target-rda info-target-rda
52491 maybe-info-target-rda:
52492 @if target-rda
52493 maybe-info-target-rda: info-target-rda
52495 info-target-rda: \
52496 configure-target-rda
52497 @: $(MAKE); $(unstage)
52498 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52499 r=`${PWD_COMMAND}`; export r; \
52500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52501 $(NORMAL_TARGET_EXPORTS) \
52502 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
52503 for flag in $(EXTRA_TARGET_FLAGS); do \
52504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52505 done; \
52506 (cd $(TARGET_SUBDIR)/rda && \
52507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52509 "RANLIB=$${RANLIB}" \
52510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52511 info) \
52512 || exit 1
52514 @endif target-rda
52516 .PHONY: maybe-dvi-target-rda dvi-target-rda
52517 maybe-dvi-target-rda:
52518 @if target-rda
52519 maybe-dvi-target-rda: dvi-target-rda
52521 dvi-target-rda: \
52522 configure-target-rda
52523 @: $(MAKE); $(unstage)
52524 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52525 r=`${PWD_COMMAND}`; export r; \
52526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52527 $(NORMAL_TARGET_EXPORTS) \
52528 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
52529 for flag in $(EXTRA_TARGET_FLAGS); do \
52530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52531 done; \
52532 (cd $(TARGET_SUBDIR)/rda && \
52533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52535 "RANLIB=$${RANLIB}" \
52536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52537 dvi) \
52538 || exit 1
52540 @endif target-rda
52542 .PHONY: maybe-pdf-target-rda pdf-target-rda
52543 maybe-pdf-target-rda:
52544 @if target-rda
52545 maybe-pdf-target-rda: pdf-target-rda
52547 pdf-target-rda: \
52548 configure-target-rda
52549 @: $(MAKE); $(unstage)
52550 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52551 r=`${PWD_COMMAND}`; export r; \
52552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52553 $(NORMAL_TARGET_EXPORTS) \
52554 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
52555 for flag in $(EXTRA_TARGET_FLAGS); do \
52556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52557 done; \
52558 (cd $(TARGET_SUBDIR)/rda && \
52559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52561 "RANLIB=$${RANLIB}" \
52562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52563 pdf) \
52564 || exit 1
52566 @endif target-rda
52568 .PHONY: maybe-html-target-rda html-target-rda
52569 maybe-html-target-rda:
52570 @if target-rda
52571 maybe-html-target-rda: html-target-rda
52573 html-target-rda: \
52574 configure-target-rda
52575 @: $(MAKE); $(unstage)
52576 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52577 r=`${PWD_COMMAND}`; export r; \
52578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52579 $(NORMAL_TARGET_EXPORTS) \
52580 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
52581 for flag in $(EXTRA_TARGET_FLAGS); do \
52582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52583 done; \
52584 (cd $(TARGET_SUBDIR)/rda && \
52585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52587 "RANLIB=$${RANLIB}" \
52588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52589 html) \
52590 || exit 1
52592 @endif target-rda
52594 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
52595 maybe-TAGS-target-rda:
52596 @if target-rda
52597 maybe-TAGS-target-rda: TAGS-target-rda
52599 TAGS-target-rda: \
52600 configure-target-rda
52601 @: $(MAKE); $(unstage)
52602 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52603 r=`${PWD_COMMAND}`; export r; \
52604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52605 $(NORMAL_TARGET_EXPORTS) \
52606 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
52607 for flag in $(EXTRA_TARGET_FLAGS); do \
52608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52609 done; \
52610 (cd $(TARGET_SUBDIR)/rda && \
52611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52613 "RANLIB=$${RANLIB}" \
52614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52615 TAGS) \
52616 || exit 1
52618 @endif target-rda
52620 .PHONY: maybe-install-info-target-rda install-info-target-rda
52621 maybe-install-info-target-rda:
52622 @if target-rda
52623 maybe-install-info-target-rda: install-info-target-rda
52625 install-info-target-rda: \
52626 configure-target-rda \
52627 info-target-rda
52628 @: $(MAKE); $(unstage)
52629 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52630 r=`${PWD_COMMAND}`; export r; \
52631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52632 $(NORMAL_TARGET_EXPORTS) \
52633 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
52634 for flag in $(EXTRA_TARGET_FLAGS); do \
52635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52636 done; \
52637 (cd $(TARGET_SUBDIR)/rda && \
52638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52640 "RANLIB=$${RANLIB}" \
52641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52642 install-info) \
52643 || exit 1
52645 @endif target-rda
52647 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
52648 maybe-install-pdf-target-rda:
52649 @if target-rda
52650 maybe-install-pdf-target-rda: install-pdf-target-rda
52652 install-pdf-target-rda: \
52653 configure-target-rda \
52654 pdf-target-rda
52655 @: $(MAKE); $(unstage)
52656 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52657 r=`${PWD_COMMAND}`; export r; \
52658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52659 $(NORMAL_TARGET_EXPORTS) \
52660 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
52661 for flag in $(EXTRA_TARGET_FLAGS); do \
52662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52663 done; \
52664 (cd $(TARGET_SUBDIR)/rda && \
52665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52667 "RANLIB=$${RANLIB}" \
52668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52669 install-pdf) \
52670 || exit 1
52672 @endif target-rda
52674 .PHONY: maybe-install-html-target-rda install-html-target-rda
52675 maybe-install-html-target-rda:
52676 @if target-rda
52677 maybe-install-html-target-rda: install-html-target-rda
52679 install-html-target-rda: \
52680 configure-target-rda \
52681 html-target-rda
52682 @: $(MAKE); $(unstage)
52683 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52684 r=`${PWD_COMMAND}`; export r; \
52685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52686 $(NORMAL_TARGET_EXPORTS) \
52687 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
52688 for flag in $(EXTRA_TARGET_FLAGS); do \
52689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52690 done; \
52691 (cd $(TARGET_SUBDIR)/rda && \
52692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52694 "RANLIB=$${RANLIB}" \
52695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52696 install-html) \
52697 || exit 1
52699 @endif target-rda
52701 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
52702 maybe-installcheck-target-rda:
52703 @if target-rda
52704 maybe-installcheck-target-rda: installcheck-target-rda
52706 installcheck-target-rda: \
52707 configure-target-rda
52708 @: $(MAKE); $(unstage)
52709 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52710 r=`${PWD_COMMAND}`; export r; \
52711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52712 $(NORMAL_TARGET_EXPORTS) \
52713 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
52714 for flag in $(EXTRA_TARGET_FLAGS); do \
52715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52716 done; \
52717 (cd $(TARGET_SUBDIR)/rda && \
52718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52720 "RANLIB=$${RANLIB}" \
52721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52722 installcheck) \
52723 || exit 1
52725 @endif target-rda
52727 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
52728 maybe-mostlyclean-target-rda:
52729 @if target-rda
52730 maybe-mostlyclean-target-rda: mostlyclean-target-rda
52732 mostlyclean-target-rda:
52733 @: $(MAKE); $(unstage)
52734 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52735 r=`${PWD_COMMAND}`; export r; \
52736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52737 $(NORMAL_TARGET_EXPORTS) \
52738 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
52739 for flag in $(EXTRA_TARGET_FLAGS); do \
52740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52741 done; \
52742 (cd $(TARGET_SUBDIR)/rda && \
52743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52745 "RANLIB=$${RANLIB}" \
52746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52747 mostlyclean) \
52748 || exit 1
52750 @endif target-rda
52752 .PHONY: maybe-clean-target-rda clean-target-rda
52753 maybe-clean-target-rda:
52754 @if target-rda
52755 maybe-clean-target-rda: clean-target-rda
52757 clean-target-rda:
52758 @: $(MAKE); $(unstage)
52759 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52760 r=`${PWD_COMMAND}`; export r; \
52761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52762 $(NORMAL_TARGET_EXPORTS) \
52763 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
52764 for flag in $(EXTRA_TARGET_FLAGS); do \
52765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52766 done; \
52767 (cd $(TARGET_SUBDIR)/rda && \
52768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52770 "RANLIB=$${RANLIB}" \
52771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52772 clean) \
52773 || exit 1
52775 @endif target-rda
52777 .PHONY: maybe-distclean-target-rda distclean-target-rda
52778 maybe-distclean-target-rda:
52779 @if target-rda
52780 maybe-distclean-target-rda: distclean-target-rda
52782 distclean-target-rda:
52783 @: $(MAKE); $(unstage)
52784 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52785 r=`${PWD_COMMAND}`; export r; \
52786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52787 $(NORMAL_TARGET_EXPORTS) \
52788 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
52789 for flag in $(EXTRA_TARGET_FLAGS); do \
52790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52791 done; \
52792 (cd $(TARGET_SUBDIR)/rda && \
52793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52795 "RANLIB=$${RANLIB}" \
52796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52797 distclean) \
52798 || exit 1
52800 @endif target-rda
52802 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
52803 maybe-maintainer-clean-target-rda:
52804 @if target-rda
52805 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
52807 maintainer-clean-target-rda:
52808 @: $(MAKE); $(unstage)
52809 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
52810 r=`${PWD_COMMAND}`; export r; \
52811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52812 $(NORMAL_TARGET_EXPORTS) \
52813 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
52814 for flag in $(EXTRA_TARGET_FLAGS); do \
52815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52816 done; \
52817 (cd $(TARGET_SUBDIR)/rda && \
52818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52820 "RANLIB=$${RANLIB}" \
52821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52822 maintainer-clean) \
52823 || exit 1
52825 @endif target-rda
52831 .PHONY: configure-target-libada maybe-configure-target-libada
52832 maybe-configure-target-libada:
52833 @if gcc-bootstrap
52834 configure-target-libada: stage_current
52835 @endif gcc-bootstrap
52836 @if target-libada
52837 maybe-configure-target-libada: configure-target-libada
52838 configure-target-libada:
52839 @: $(MAKE); $(unstage)
52840 @r=`${PWD_COMMAND}`; export r; \
52841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52842 echo "Checking multilib configuration for libada..."; \
52843 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
52844 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
52845 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
52846 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
52847 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
52848 else \
52849 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
52850 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
52851 fi; \
52852 else \
52853 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
52854 fi; \
52855 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
52856 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
52857 $(NORMAL_TARGET_EXPORTS) \
52858 echo Configuring in $(TARGET_SUBDIR)/libada; \
52859 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
52860 case $(srcdir) in \
52861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52862 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
52863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52864 esac; \
52865 module_srcdir=libada; \
52866 rm -f no-such-file || : ; \
52867 CONFIG_SITE=no-such-file $(SHELL) \
52868 $$s/$$module_srcdir/configure \
52869 --srcdir=$${topdir}/$$module_srcdir \
52870 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52871 --target=${target_alias} \
52872 || exit 1
52873 @endif target-libada
52879 .PHONY: all-target-libada maybe-all-target-libada
52880 maybe-all-target-libada:
52881 @if gcc-bootstrap
52882 all-target-libada: stage_current
52883 @endif gcc-bootstrap
52884 @if target-libada
52885 TARGET-target-libada=all
52886 maybe-all-target-libada: all-target-libada
52887 all-target-libada: configure-target-libada
52888 @: $(MAKE); $(unstage)
52889 @r=`${PWD_COMMAND}`; export r; \
52890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52891 $(NORMAL_TARGET_EXPORTS) \
52892 (cd $(TARGET_SUBDIR)/libada && \
52893 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52894 $(TARGET-target-libada))
52895 @endif target-libada
52901 .PHONY: check-target-libada maybe-check-target-libada
52902 maybe-check-target-libada:
52903 @if target-libada
52904 maybe-check-target-libada: check-target-libada
52906 check-target-libada:
52907 @: $(MAKE); $(unstage)
52908 @r=`${PWD_COMMAND}`; export r; \
52909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52910 $(NORMAL_TARGET_EXPORTS) \
52911 (cd $(TARGET_SUBDIR)/libada && \
52912 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52914 @endif target-libada
52916 .PHONY: install-target-libada maybe-install-target-libada
52917 maybe-install-target-libada:
52918 @if target-libada
52919 maybe-install-target-libada: install-target-libada
52921 install-target-libada: installdirs
52922 @: $(MAKE); $(unstage)
52923 @r=`${PWD_COMMAND}`; export r; \
52924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52925 $(NORMAL_TARGET_EXPORTS) \
52926 (cd $(TARGET_SUBDIR)/libada && \
52927 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52929 @endif target-libada
52931 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
52932 maybe-install-strip-target-libada:
52933 @if target-libada
52934 maybe-install-strip-target-libada: install-strip-target-libada
52936 install-strip-target-libada: installdirs
52937 @: $(MAKE); $(unstage)
52938 @r=`${PWD_COMMAND}`; export r; \
52939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52940 $(NORMAL_TARGET_EXPORTS) \
52941 (cd $(TARGET_SUBDIR)/libada && \
52942 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52944 @endif target-libada
52946 # Other targets (info, dvi, pdf, etc.)
52948 .PHONY: maybe-info-target-libada info-target-libada
52949 maybe-info-target-libada:
52950 @if target-libada
52951 maybe-info-target-libada: info-target-libada
52953 info-target-libada: \
52954 configure-target-libada
52955 @: $(MAKE); $(unstage)
52956 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52957 r=`${PWD_COMMAND}`; export r; \
52958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52959 $(NORMAL_TARGET_EXPORTS) \
52960 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
52961 for flag in $(EXTRA_TARGET_FLAGS); do \
52962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52963 done; \
52964 (cd $(TARGET_SUBDIR)/libada && \
52965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52967 "RANLIB=$${RANLIB}" \
52968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52969 info) \
52970 || exit 1
52972 @endif target-libada
52974 .PHONY: maybe-dvi-target-libada dvi-target-libada
52975 maybe-dvi-target-libada:
52976 @if target-libada
52977 maybe-dvi-target-libada: dvi-target-libada
52979 dvi-target-libada: \
52980 configure-target-libada
52981 @: $(MAKE); $(unstage)
52982 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52983 r=`${PWD_COMMAND}`; export r; \
52984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52985 $(NORMAL_TARGET_EXPORTS) \
52986 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
52987 for flag in $(EXTRA_TARGET_FLAGS); do \
52988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52989 done; \
52990 (cd $(TARGET_SUBDIR)/libada && \
52991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52993 "RANLIB=$${RANLIB}" \
52994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52995 dvi) \
52996 || exit 1
52998 @endif target-libada
53000 .PHONY: maybe-pdf-target-libada pdf-target-libada
53001 maybe-pdf-target-libada:
53002 @if target-libada
53003 maybe-pdf-target-libada: pdf-target-libada
53005 pdf-target-libada: \
53006 configure-target-libada
53007 @: $(MAKE); $(unstage)
53008 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53009 r=`${PWD_COMMAND}`; export r; \
53010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53011 $(NORMAL_TARGET_EXPORTS) \
53012 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
53013 for flag in $(EXTRA_TARGET_FLAGS); do \
53014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53015 done; \
53016 (cd $(TARGET_SUBDIR)/libada && \
53017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53019 "RANLIB=$${RANLIB}" \
53020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53021 pdf) \
53022 || exit 1
53024 @endif target-libada
53026 .PHONY: maybe-html-target-libada html-target-libada
53027 maybe-html-target-libada:
53028 @if target-libada
53029 maybe-html-target-libada: html-target-libada
53031 html-target-libada: \
53032 configure-target-libada
53033 @: $(MAKE); $(unstage)
53034 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53035 r=`${PWD_COMMAND}`; export r; \
53036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53037 $(NORMAL_TARGET_EXPORTS) \
53038 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
53039 for flag in $(EXTRA_TARGET_FLAGS); do \
53040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53041 done; \
53042 (cd $(TARGET_SUBDIR)/libada && \
53043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53045 "RANLIB=$${RANLIB}" \
53046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53047 html) \
53048 || exit 1
53050 @endif target-libada
53052 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
53053 maybe-TAGS-target-libada:
53054 @if target-libada
53055 maybe-TAGS-target-libada: TAGS-target-libada
53057 TAGS-target-libada: \
53058 configure-target-libada
53059 @: $(MAKE); $(unstage)
53060 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53061 r=`${PWD_COMMAND}`; export r; \
53062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53063 $(NORMAL_TARGET_EXPORTS) \
53064 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
53065 for flag in $(EXTRA_TARGET_FLAGS); do \
53066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53067 done; \
53068 (cd $(TARGET_SUBDIR)/libada && \
53069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53071 "RANLIB=$${RANLIB}" \
53072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53073 TAGS) \
53074 || exit 1
53076 @endif target-libada
53078 .PHONY: maybe-install-info-target-libada install-info-target-libada
53079 maybe-install-info-target-libada:
53080 @if target-libada
53081 maybe-install-info-target-libada: install-info-target-libada
53083 install-info-target-libada: \
53084 configure-target-libada \
53085 info-target-libada
53086 @: $(MAKE); $(unstage)
53087 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53088 r=`${PWD_COMMAND}`; export r; \
53089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53090 $(NORMAL_TARGET_EXPORTS) \
53091 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
53092 for flag in $(EXTRA_TARGET_FLAGS); do \
53093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53094 done; \
53095 (cd $(TARGET_SUBDIR)/libada && \
53096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53098 "RANLIB=$${RANLIB}" \
53099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53100 install-info) \
53101 || exit 1
53103 @endif target-libada
53105 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
53106 maybe-install-pdf-target-libada:
53107 @if target-libada
53108 maybe-install-pdf-target-libada: install-pdf-target-libada
53110 install-pdf-target-libada: \
53111 configure-target-libada \
53112 pdf-target-libada
53113 @: $(MAKE); $(unstage)
53114 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53115 r=`${PWD_COMMAND}`; export r; \
53116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53117 $(NORMAL_TARGET_EXPORTS) \
53118 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
53119 for flag in $(EXTRA_TARGET_FLAGS); do \
53120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53121 done; \
53122 (cd $(TARGET_SUBDIR)/libada && \
53123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53125 "RANLIB=$${RANLIB}" \
53126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53127 install-pdf) \
53128 || exit 1
53130 @endif target-libada
53132 .PHONY: maybe-install-html-target-libada install-html-target-libada
53133 maybe-install-html-target-libada:
53134 @if target-libada
53135 maybe-install-html-target-libada: install-html-target-libada
53137 install-html-target-libada: \
53138 configure-target-libada \
53139 html-target-libada
53140 @: $(MAKE); $(unstage)
53141 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53142 r=`${PWD_COMMAND}`; export r; \
53143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53144 $(NORMAL_TARGET_EXPORTS) \
53145 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
53146 for flag in $(EXTRA_TARGET_FLAGS); do \
53147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53148 done; \
53149 (cd $(TARGET_SUBDIR)/libada && \
53150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53152 "RANLIB=$${RANLIB}" \
53153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53154 install-html) \
53155 || exit 1
53157 @endif target-libada
53159 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
53160 maybe-installcheck-target-libada:
53161 @if target-libada
53162 maybe-installcheck-target-libada: installcheck-target-libada
53164 installcheck-target-libada: \
53165 configure-target-libada
53166 @: $(MAKE); $(unstage)
53167 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53168 r=`${PWD_COMMAND}`; export r; \
53169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53170 $(NORMAL_TARGET_EXPORTS) \
53171 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
53172 for flag in $(EXTRA_TARGET_FLAGS); do \
53173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53174 done; \
53175 (cd $(TARGET_SUBDIR)/libada && \
53176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53178 "RANLIB=$${RANLIB}" \
53179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53180 installcheck) \
53181 || exit 1
53183 @endif target-libada
53185 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
53186 maybe-mostlyclean-target-libada:
53187 @if target-libada
53188 maybe-mostlyclean-target-libada: mostlyclean-target-libada
53190 mostlyclean-target-libada:
53191 @: $(MAKE); $(unstage)
53192 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53193 r=`${PWD_COMMAND}`; export r; \
53194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53195 $(NORMAL_TARGET_EXPORTS) \
53196 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
53197 for flag in $(EXTRA_TARGET_FLAGS); do \
53198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53199 done; \
53200 (cd $(TARGET_SUBDIR)/libada && \
53201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53203 "RANLIB=$${RANLIB}" \
53204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53205 mostlyclean) \
53206 || exit 1
53208 @endif target-libada
53210 .PHONY: maybe-clean-target-libada clean-target-libada
53211 maybe-clean-target-libada:
53212 @if target-libada
53213 maybe-clean-target-libada: clean-target-libada
53215 clean-target-libada:
53216 @: $(MAKE); $(unstage)
53217 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53218 r=`${PWD_COMMAND}`; export r; \
53219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53220 $(NORMAL_TARGET_EXPORTS) \
53221 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
53222 for flag in $(EXTRA_TARGET_FLAGS); do \
53223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53224 done; \
53225 (cd $(TARGET_SUBDIR)/libada && \
53226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53228 "RANLIB=$${RANLIB}" \
53229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53230 clean) \
53231 || exit 1
53233 @endif target-libada
53235 .PHONY: maybe-distclean-target-libada distclean-target-libada
53236 maybe-distclean-target-libada:
53237 @if target-libada
53238 maybe-distclean-target-libada: distclean-target-libada
53240 distclean-target-libada:
53241 @: $(MAKE); $(unstage)
53242 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53243 r=`${PWD_COMMAND}`; export r; \
53244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53245 $(NORMAL_TARGET_EXPORTS) \
53246 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
53247 for flag in $(EXTRA_TARGET_FLAGS); do \
53248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53249 done; \
53250 (cd $(TARGET_SUBDIR)/libada && \
53251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53253 "RANLIB=$${RANLIB}" \
53254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53255 distclean) \
53256 || exit 1
53258 @endif target-libada
53260 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
53261 maybe-maintainer-clean-target-libada:
53262 @if target-libada
53263 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
53265 maintainer-clean-target-libada:
53266 @: $(MAKE); $(unstage)
53267 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
53268 r=`${PWD_COMMAND}`; export r; \
53269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53270 $(NORMAL_TARGET_EXPORTS) \
53271 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
53272 for flag in $(EXTRA_TARGET_FLAGS); do \
53273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53274 done; \
53275 (cd $(TARGET_SUBDIR)/libada && \
53276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53278 "RANLIB=$${RANLIB}" \
53279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53280 maintainer-clean) \
53281 || exit 1
53283 @endif target-libada
53289 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
53290 maybe-configure-target-libgomp:
53291 @if gcc-bootstrap
53292 configure-target-libgomp: stage_current
53293 @endif gcc-bootstrap
53294 @if target-libgomp
53295 maybe-configure-target-libgomp: configure-target-libgomp
53296 configure-target-libgomp:
53297 @r=`${PWD_COMMAND}`; export r; \
53298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53299 echo "Checking multilib configuration for libgomp..."; \
53300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53301 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53302 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53303 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53304 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53305 else \
53306 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53307 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53308 fi; \
53309 else \
53310 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53311 fi; \
53312 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53313 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53314 $(NORMAL_TARGET_EXPORTS) \
53315 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
53316 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
53317 case $(srcdir) in \
53318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53319 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53321 esac; \
53322 module_srcdir=libgomp; \
53323 rm -f no-such-file || : ; \
53324 CONFIG_SITE=no-such-file $(SHELL) \
53325 $$s/$$module_srcdir/configure \
53326 --srcdir=$${topdir}/$$module_srcdir \
53327 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53328 --target=${target_alias} \
53329 || exit 1
53330 @endif target-libgomp
53334 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
53335 maybe-configure-stage1-target-libgomp:
53336 @if target-libgomp-bootstrap
53337 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
53338 configure-stage1-target-libgomp:
53339 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53340 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53341 @r=`${PWD_COMMAND}`; export r; \
53342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53343 TFLAGS="$(STAGE1_TFLAGS)"; \
53344 echo "Checking multilib configuration for libgomp..."; \
53345 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53346 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53347 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53348 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53349 else \
53350 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53351 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53352 fi; \
53353 else \
53354 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53355 fi; \
53356 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53357 $(NORMAL_TARGET_EXPORTS) \
53358 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53359 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53360 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53361 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
53362 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53363 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53364 case $(srcdir) in \
53365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53366 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53368 esac; \
53369 module_srcdir=libgomp; \
53370 $(SHELL) $$s/$$module_srcdir/configure \
53371 --srcdir=$${topdir}/$$module_srcdir \
53372 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53373 --target=${target_alias} \
53375 $(STAGE1_CONFIGURE_FLAGS)
53376 @endif target-libgomp-bootstrap
53378 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
53379 maybe-configure-stage2-target-libgomp:
53380 @if target-libgomp-bootstrap
53381 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
53382 configure-stage2-target-libgomp:
53383 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53384 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53385 @r=`${PWD_COMMAND}`; export r; \
53386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53387 TFLAGS="$(STAGE2_TFLAGS)"; \
53388 echo "Checking multilib configuration for libgomp..."; \
53389 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53390 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53391 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53392 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53393 else \
53394 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53395 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53396 fi; \
53397 else \
53398 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53399 fi; \
53400 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53401 $(NORMAL_TARGET_EXPORTS) \
53403 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53404 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53405 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53406 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
53407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53408 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53409 case $(srcdir) in \
53410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53411 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53413 esac; \
53414 module_srcdir=libgomp; \
53415 $(SHELL) $$s/$$module_srcdir/configure \
53416 --srcdir=$${topdir}/$$module_srcdir \
53417 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53418 --target=${target_alias} \
53419 --with-build-libsubdir=$(HOST_SUBDIR) \
53420 $(STAGE2_CONFIGURE_FLAGS)
53421 @endif target-libgomp-bootstrap
53423 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
53424 maybe-configure-stage3-target-libgomp:
53425 @if target-libgomp-bootstrap
53426 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
53427 configure-stage3-target-libgomp:
53428 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53429 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53430 @r=`${PWD_COMMAND}`; export r; \
53431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53432 TFLAGS="$(STAGE3_TFLAGS)"; \
53433 echo "Checking multilib configuration for libgomp..."; \
53434 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53435 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53436 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53437 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53438 else \
53439 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53440 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53441 fi; \
53442 else \
53443 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53444 fi; \
53445 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53446 $(NORMAL_TARGET_EXPORTS) \
53448 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53449 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53450 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53451 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
53452 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53453 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53454 case $(srcdir) in \
53455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53456 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53458 esac; \
53459 module_srcdir=libgomp; \
53460 $(SHELL) $$s/$$module_srcdir/configure \
53461 --srcdir=$${topdir}/$$module_srcdir \
53462 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53463 --target=${target_alias} \
53464 --with-build-libsubdir=$(HOST_SUBDIR) \
53465 $(STAGE3_CONFIGURE_FLAGS)
53466 @endif target-libgomp-bootstrap
53468 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
53469 maybe-configure-stage4-target-libgomp:
53470 @if target-libgomp-bootstrap
53471 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
53472 configure-stage4-target-libgomp:
53473 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53474 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53475 @r=`${PWD_COMMAND}`; export r; \
53476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53477 TFLAGS="$(STAGE4_TFLAGS)"; \
53478 echo "Checking multilib configuration for libgomp..."; \
53479 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53480 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53481 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53482 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53483 else \
53484 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53485 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53486 fi; \
53487 else \
53488 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53489 fi; \
53490 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53491 $(NORMAL_TARGET_EXPORTS) \
53493 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53494 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53495 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53496 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
53497 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53498 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53499 case $(srcdir) in \
53500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53501 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53503 esac; \
53504 module_srcdir=libgomp; \
53505 $(SHELL) $$s/$$module_srcdir/configure \
53506 --srcdir=$${topdir}/$$module_srcdir \
53507 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53508 --target=${target_alias} \
53509 --with-build-libsubdir=$(HOST_SUBDIR) \
53510 $(STAGE4_CONFIGURE_FLAGS)
53511 @endif target-libgomp-bootstrap
53513 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
53514 maybe-configure-stageprofile-target-libgomp:
53515 @if target-libgomp-bootstrap
53516 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
53517 configure-stageprofile-target-libgomp:
53518 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53519 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53520 @r=`${PWD_COMMAND}`; export r; \
53521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53522 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53523 echo "Checking multilib configuration for libgomp..."; \
53524 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53525 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53526 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53527 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53528 else \
53529 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53530 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53531 fi; \
53532 else \
53533 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53534 fi; \
53535 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53536 $(NORMAL_TARGET_EXPORTS) \
53538 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53539 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53540 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53541 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
53542 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53543 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53544 case $(srcdir) in \
53545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53546 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53548 esac; \
53549 module_srcdir=libgomp; \
53550 $(SHELL) $$s/$$module_srcdir/configure \
53551 --srcdir=$${topdir}/$$module_srcdir \
53552 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53553 --target=${target_alias} \
53554 --with-build-libsubdir=$(HOST_SUBDIR) \
53555 $(STAGEprofile_CONFIGURE_FLAGS)
53556 @endif target-libgomp-bootstrap
53558 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
53559 maybe-configure-stagetrain-target-libgomp:
53560 @if target-libgomp-bootstrap
53561 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
53562 configure-stagetrain-target-libgomp:
53563 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53564 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53565 @r=`${PWD_COMMAND}`; export r; \
53566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53567 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53568 echo "Checking multilib configuration for libgomp..."; \
53569 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53570 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53571 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53572 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53573 else \
53574 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53575 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53576 fi; \
53577 else \
53578 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53579 fi; \
53580 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53581 $(NORMAL_TARGET_EXPORTS) \
53583 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53584 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53585 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53586 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
53587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53588 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53589 case $(srcdir) in \
53590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53591 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53593 esac; \
53594 module_srcdir=libgomp; \
53595 $(SHELL) $$s/$$module_srcdir/configure \
53596 --srcdir=$${topdir}/$$module_srcdir \
53597 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53598 --target=${target_alias} \
53599 --with-build-libsubdir=$(HOST_SUBDIR) \
53600 $(STAGEtrain_CONFIGURE_FLAGS)
53601 @endif target-libgomp-bootstrap
53603 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
53604 maybe-configure-stagefeedback-target-libgomp:
53605 @if target-libgomp-bootstrap
53606 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
53607 configure-stagefeedback-target-libgomp:
53608 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53609 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53610 @r=`${PWD_COMMAND}`; export r; \
53611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53612 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53613 echo "Checking multilib configuration for libgomp..."; \
53614 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53615 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53616 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53617 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53618 else \
53619 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53620 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53621 fi; \
53622 else \
53623 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53624 fi; \
53625 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53626 $(NORMAL_TARGET_EXPORTS) \
53628 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53629 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53630 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53631 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
53632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53633 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53634 case $(srcdir) in \
53635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53636 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53638 esac; \
53639 module_srcdir=libgomp; \
53640 $(SHELL) $$s/$$module_srcdir/configure \
53641 --srcdir=$${topdir}/$$module_srcdir \
53642 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53643 --target=${target_alias} \
53644 --with-build-libsubdir=$(HOST_SUBDIR) \
53645 $(STAGEfeedback_CONFIGURE_FLAGS)
53646 @endif target-libgomp-bootstrap
53648 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
53649 maybe-configure-stageautoprofile-target-libgomp:
53650 @if target-libgomp-bootstrap
53651 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
53652 configure-stageautoprofile-target-libgomp:
53653 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53654 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53655 @r=`${PWD_COMMAND}`; export r; \
53656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53657 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53658 echo "Checking multilib configuration for libgomp..."; \
53659 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53660 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53661 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53662 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53663 else \
53664 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53665 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53666 fi; \
53667 else \
53668 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53669 fi; \
53670 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53671 $(NORMAL_TARGET_EXPORTS) \
53673 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53674 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53675 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53676 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
53677 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53678 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53679 case $(srcdir) in \
53680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53681 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53683 esac; \
53684 module_srcdir=libgomp; \
53685 $(SHELL) $$s/$$module_srcdir/configure \
53686 --srcdir=$${topdir}/$$module_srcdir \
53687 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53688 --target=${target_alias} \
53689 --with-build-libsubdir=$(HOST_SUBDIR) \
53690 $(STAGEautoprofile_CONFIGURE_FLAGS)
53691 @endif target-libgomp-bootstrap
53693 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
53694 maybe-configure-stageautofeedback-target-libgomp:
53695 @if target-libgomp-bootstrap
53696 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
53697 configure-stageautofeedback-target-libgomp:
53698 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
53699 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
53700 @r=`${PWD_COMMAND}`; export r; \
53701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53702 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
53703 echo "Checking multilib configuration for libgomp..."; \
53704 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
53705 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53706 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
53707 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
53708 else \
53709 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
53710 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53711 fi; \
53712 else \
53713 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
53714 fi; \
53715 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
53716 $(NORMAL_TARGET_EXPORTS) \
53718 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53719 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53720 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53721 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
53722 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
53723 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
53724 case $(srcdir) in \
53725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53726 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
53727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53728 esac; \
53729 module_srcdir=libgomp; \
53730 $(SHELL) $$s/$$module_srcdir/configure \
53731 --srcdir=$${topdir}/$$module_srcdir \
53732 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53733 --target=${target_alias} \
53734 --with-build-libsubdir=$(HOST_SUBDIR) \
53735 $(STAGEautofeedback_CONFIGURE_FLAGS)
53736 @endif target-libgomp-bootstrap
53742 .PHONY: all-target-libgomp maybe-all-target-libgomp
53743 maybe-all-target-libgomp:
53744 @if gcc-bootstrap
53745 all-target-libgomp: stage_current
53746 @endif gcc-bootstrap
53747 @if target-libgomp
53748 TARGET-target-libgomp=all
53749 maybe-all-target-libgomp: all-target-libgomp
53750 all-target-libgomp: configure-target-libgomp
53751 @r=`${PWD_COMMAND}`; export r; \
53752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53753 $(NORMAL_TARGET_EXPORTS) \
53754 (cd $(TARGET_SUBDIR)/libgomp && \
53755 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53756 $(TARGET-target-libgomp))
53757 @endif target-libgomp
53761 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
53762 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
53763 maybe-all-stage1-target-libgomp:
53764 maybe-clean-stage1-target-libgomp:
53765 @if target-libgomp-bootstrap
53766 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
53767 all-stage1: all-stage1-target-libgomp
53768 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
53769 all-stage1-target-libgomp: configure-stage1-target-libgomp
53770 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53771 @r=`${PWD_COMMAND}`; export r; \
53772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53773 TFLAGS="$(STAGE1_TFLAGS)"; \
53774 $(NORMAL_TARGET_EXPORTS) \
53775 cd $(TARGET_SUBDIR)/libgomp && \
53777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53778 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53779 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53780 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53784 $(EXTRA_TARGET_FLAGS) \
53786 TFLAGS="$(STAGE1_TFLAGS)" \
53787 $(TARGET-stage1-target-libgomp)
53789 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
53790 clean-stage1: clean-stage1-target-libgomp
53791 clean-stage1-target-libgomp:
53792 @if [ $(current_stage) = stage1 ]; then \
53793 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53794 else \
53795 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
53796 $(MAKE) stage1-start; \
53797 fi; \
53798 cd $(TARGET_SUBDIR)/libgomp && \
53799 $(MAKE) $(EXTRA_TARGET_FLAGS) \
53800 clean
53801 @endif target-libgomp-bootstrap
53804 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
53805 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
53806 maybe-all-stage2-target-libgomp:
53807 maybe-clean-stage2-target-libgomp:
53808 @if target-libgomp-bootstrap
53809 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
53810 all-stage2: all-stage2-target-libgomp
53811 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
53812 all-stage2-target-libgomp: configure-stage2-target-libgomp
53813 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53814 @r=`${PWD_COMMAND}`; export r; \
53815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53816 TFLAGS="$(STAGE2_TFLAGS)"; \
53817 $(NORMAL_TARGET_EXPORTS) \
53819 cd $(TARGET_SUBDIR)/libgomp && \
53821 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53822 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53823 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53824 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53825 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53826 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53827 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53828 $(EXTRA_TARGET_FLAGS) \
53829 TFLAGS="$(STAGE2_TFLAGS)" \
53830 $(TARGET-stage2-target-libgomp)
53832 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
53833 clean-stage2: clean-stage2-target-libgomp
53834 clean-stage2-target-libgomp:
53835 @if [ $(current_stage) = stage2 ]; then \
53836 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53837 else \
53838 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
53839 $(MAKE) stage2-start; \
53840 fi; \
53841 cd $(TARGET_SUBDIR)/libgomp && \
53842 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53843 @endif target-libgomp-bootstrap
53846 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
53847 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
53848 maybe-all-stage3-target-libgomp:
53849 maybe-clean-stage3-target-libgomp:
53850 @if target-libgomp-bootstrap
53851 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
53852 all-stage3: all-stage3-target-libgomp
53853 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
53854 all-stage3-target-libgomp: configure-stage3-target-libgomp
53855 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53856 @r=`${PWD_COMMAND}`; export r; \
53857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53858 TFLAGS="$(STAGE3_TFLAGS)"; \
53859 $(NORMAL_TARGET_EXPORTS) \
53861 cd $(TARGET_SUBDIR)/libgomp && \
53863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53864 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53865 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53866 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53870 $(EXTRA_TARGET_FLAGS) \
53871 TFLAGS="$(STAGE3_TFLAGS)" \
53872 $(TARGET-stage3-target-libgomp)
53874 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
53875 clean-stage3: clean-stage3-target-libgomp
53876 clean-stage3-target-libgomp:
53877 @if [ $(current_stage) = stage3 ]; then \
53878 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53879 else \
53880 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
53881 $(MAKE) stage3-start; \
53882 fi; \
53883 cd $(TARGET_SUBDIR)/libgomp && \
53884 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53885 @endif target-libgomp-bootstrap
53888 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
53889 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
53890 maybe-all-stage4-target-libgomp:
53891 maybe-clean-stage4-target-libgomp:
53892 @if target-libgomp-bootstrap
53893 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
53894 all-stage4: all-stage4-target-libgomp
53895 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
53896 all-stage4-target-libgomp: configure-stage4-target-libgomp
53897 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53898 @r=`${PWD_COMMAND}`; export r; \
53899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53900 TFLAGS="$(STAGE4_TFLAGS)"; \
53901 $(NORMAL_TARGET_EXPORTS) \
53903 cd $(TARGET_SUBDIR)/libgomp && \
53905 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53906 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53907 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53908 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53909 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53910 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53911 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53912 $(EXTRA_TARGET_FLAGS) \
53913 TFLAGS="$(STAGE4_TFLAGS)" \
53914 $(TARGET-stage4-target-libgomp)
53916 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
53917 clean-stage4: clean-stage4-target-libgomp
53918 clean-stage4-target-libgomp:
53919 @if [ $(current_stage) = stage4 ]; then \
53920 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53921 else \
53922 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
53923 $(MAKE) stage4-start; \
53924 fi; \
53925 cd $(TARGET_SUBDIR)/libgomp && \
53926 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53927 @endif target-libgomp-bootstrap
53930 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
53931 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
53932 maybe-all-stageprofile-target-libgomp:
53933 maybe-clean-stageprofile-target-libgomp:
53934 @if target-libgomp-bootstrap
53935 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
53936 all-stageprofile: all-stageprofile-target-libgomp
53937 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
53938 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
53939 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53940 @r=`${PWD_COMMAND}`; export r; \
53941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53942 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53943 $(NORMAL_TARGET_EXPORTS) \
53945 cd $(TARGET_SUBDIR)/libgomp && \
53947 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53948 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53949 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53950 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53951 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53952 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53953 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53954 $(EXTRA_TARGET_FLAGS) \
53955 TFLAGS="$(STAGEprofile_TFLAGS)" \
53956 $(TARGET-stageprofile-target-libgomp)
53958 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
53959 clean-stageprofile: clean-stageprofile-target-libgomp
53960 clean-stageprofile-target-libgomp:
53961 @if [ $(current_stage) = stageprofile ]; then \
53962 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53963 else \
53964 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
53965 $(MAKE) stageprofile-start; \
53966 fi; \
53967 cd $(TARGET_SUBDIR)/libgomp && \
53968 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53969 @endif target-libgomp-bootstrap
53972 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
53973 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
53974 maybe-all-stagetrain-target-libgomp:
53975 maybe-clean-stagetrain-target-libgomp:
53976 @if target-libgomp-bootstrap
53977 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
53978 all-stagetrain: all-stagetrain-target-libgomp
53979 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
53980 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
53981 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53982 @r=`${PWD_COMMAND}`; export r; \
53983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53984 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53985 $(NORMAL_TARGET_EXPORTS) \
53987 cd $(TARGET_SUBDIR)/libgomp && \
53989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53990 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53991 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53992 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53996 $(EXTRA_TARGET_FLAGS) \
53997 TFLAGS="$(STAGEtrain_TFLAGS)" \
53998 $(TARGET-stagetrain-target-libgomp)
54000 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
54001 clean-stagetrain: clean-stagetrain-target-libgomp
54002 clean-stagetrain-target-libgomp:
54003 @if [ $(current_stage) = stagetrain ]; then \
54004 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54005 else \
54006 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
54007 $(MAKE) stagetrain-start; \
54008 fi; \
54009 cd $(TARGET_SUBDIR)/libgomp && \
54010 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54011 @endif target-libgomp-bootstrap
54014 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
54015 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
54016 maybe-all-stagefeedback-target-libgomp:
54017 maybe-clean-stagefeedback-target-libgomp:
54018 @if target-libgomp-bootstrap
54019 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
54020 all-stagefeedback: all-stagefeedback-target-libgomp
54021 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
54022 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
54023 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
54024 @r=`${PWD_COMMAND}`; export r; \
54025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54026 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
54027 $(NORMAL_TARGET_EXPORTS) \
54029 cd $(TARGET_SUBDIR)/libgomp && \
54031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
54032 CFLAGS="$(CFLAGS_FOR_TARGET)" \
54033 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
54034 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
54035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54038 $(EXTRA_TARGET_FLAGS) \
54039 TFLAGS="$(STAGEfeedback_TFLAGS)" \
54040 $(TARGET-stagefeedback-target-libgomp)
54042 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
54043 clean-stagefeedback: clean-stagefeedback-target-libgomp
54044 clean-stagefeedback-target-libgomp:
54045 @if [ $(current_stage) = stagefeedback ]; then \
54046 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54047 else \
54048 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
54049 $(MAKE) stagefeedback-start; \
54050 fi; \
54051 cd $(TARGET_SUBDIR)/libgomp && \
54052 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54053 @endif target-libgomp-bootstrap
54056 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
54057 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
54058 maybe-all-stageautoprofile-target-libgomp:
54059 maybe-clean-stageautoprofile-target-libgomp:
54060 @if target-libgomp-bootstrap
54061 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
54062 all-stageautoprofile: all-stageautoprofile-target-libgomp
54063 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
54064 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
54065 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
54066 @r=`${PWD_COMMAND}`; export r; \
54067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54068 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
54069 $(NORMAL_TARGET_EXPORTS) \
54071 cd $(TARGET_SUBDIR)/libgomp && \
54072 $$s/gcc/config/i386/$(AUTO_PROFILE) \
54073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
54074 CFLAGS="$(CFLAGS_FOR_TARGET)" \
54075 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
54076 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
54077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54080 $(EXTRA_TARGET_FLAGS) \
54081 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
54082 $(TARGET-stageautoprofile-target-libgomp)
54084 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
54085 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
54086 clean-stageautoprofile-target-libgomp:
54087 @if [ $(current_stage) = stageautoprofile ]; then \
54088 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54089 else \
54090 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
54091 $(MAKE) stageautoprofile-start; \
54092 fi; \
54093 cd $(TARGET_SUBDIR)/libgomp && \
54094 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54095 @endif target-libgomp-bootstrap
54098 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
54099 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
54100 maybe-all-stageautofeedback-target-libgomp:
54101 maybe-clean-stageautofeedback-target-libgomp:
54102 @if target-libgomp-bootstrap
54103 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
54104 all-stageautofeedback: all-stageautofeedback-target-libgomp
54105 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
54106 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
54107 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
54108 @r=`${PWD_COMMAND}`; export r; \
54109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54110 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
54111 $(NORMAL_TARGET_EXPORTS) \
54113 cd $(TARGET_SUBDIR)/libgomp && \
54115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
54116 CFLAGS="$(CFLAGS_FOR_TARGET)" \
54117 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
54118 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
54119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54122 $(EXTRA_TARGET_FLAGS) \
54123 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
54124 $(TARGET-stageautofeedback-target-libgomp)
54126 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
54127 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
54128 clean-stageautofeedback-target-libgomp:
54129 @if [ $(current_stage) = stageautofeedback ]; then \
54130 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54131 else \
54132 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
54133 $(MAKE) stageautofeedback-start; \
54134 fi; \
54135 cd $(TARGET_SUBDIR)/libgomp && \
54136 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54137 @endif target-libgomp-bootstrap
54144 .PHONY: check-target-libgomp maybe-check-target-libgomp
54145 maybe-check-target-libgomp:
54146 @if target-libgomp
54147 maybe-check-target-libgomp: check-target-libgomp
54149 check-target-libgomp:
54150 @: $(MAKE); $(unstage)
54151 @r=`${PWD_COMMAND}`; export r; \
54152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54153 $(NORMAL_TARGET_EXPORTS) \
54154 (cd $(TARGET_SUBDIR)/libgomp && \
54155 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54157 @endif target-libgomp
54159 .PHONY: install-target-libgomp maybe-install-target-libgomp
54160 maybe-install-target-libgomp:
54161 @if target-libgomp
54162 maybe-install-target-libgomp: install-target-libgomp
54164 install-target-libgomp: installdirs
54165 @: $(MAKE); $(unstage)
54166 @r=`${PWD_COMMAND}`; export r; \
54167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54168 $(NORMAL_TARGET_EXPORTS) \
54169 (cd $(TARGET_SUBDIR)/libgomp && \
54170 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54172 @endif target-libgomp
54174 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
54175 maybe-install-strip-target-libgomp:
54176 @if target-libgomp
54177 maybe-install-strip-target-libgomp: install-strip-target-libgomp
54179 install-strip-target-libgomp: installdirs
54180 @: $(MAKE); $(unstage)
54181 @r=`${PWD_COMMAND}`; export r; \
54182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54183 $(NORMAL_TARGET_EXPORTS) \
54184 (cd $(TARGET_SUBDIR)/libgomp && \
54185 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54187 @endif target-libgomp
54189 # Other targets (info, dvi, pdf, etc.)
54191 .PHONY: maybe-info-target-libgomp info-target-libgomp
54192 maybe-info-target-libgomp:
54193 @if target-libgomp
54194 maybe-info-target-libgomp: info-target-libgomp
54196 info-target-libgomp: \
54197 configure-target-libgomp
54198 @: $(MAKE); $(unstage)
54199 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54200 r=`${PWD_COMMAND}`; export r; \
54201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54202 $(NORMAL_TARGET_EXPORTS) \
54203 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
54204 for flag in $(EXTRA_TARGET_FLAGS); do \
54205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54206 done; \
54207 (cd $(TARGET_SUBDIR)/libgomp && \
54208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54210 "RANLIB=$${RANLIB}" \
54211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54212 info) \
54213 || exit 1
54215 @endif target-libgomp
54217 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
54218 maybe-dvi-target-libgomp:
54219 @if target-libgomp
54220 maybe-dvi-target-libgomp: dvi-target-libgomp
54222 dvi-target-libgomp: \
54223 configure-target-libgomp
54224 @: $(MAKE); $(unstage)
54225 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54226 r=`${PWD_COMMAND}`; export r; \
54227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54228 $(NORMAL_TARGET_EXPORTS) \
54229 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
54230 for flag in $(EXTRA_TARGET_FLAGS); do \
54231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54232 done; \
54233 (cd $(TARGET_SUBDIR)/libgomp && \
54234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54236 "RANLIB=$${RANLIB}" \
54237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54238 dvi) \
54239 || exit 1
54241 @endif target-libgomp
54243 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
54244 maybe-pdf-target-libgomp:
54245 @if target-libgomp
54246 maybe-pdf-target-libgomp: pdf-target-libgomp
54248 pdf-target-libgomp: \
54249 configure-target-libgomp
54250 @: $(MAKE); $(unstage)
54251 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54252 r=`${PWD_COMMAND}`; export r; \
54253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54254 $(NORMAL_TARGET_EXPORTS) \
54255 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
54256 for flag in $(EXTRA_TARGET_FLAGS); do \
54257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54258 done; \
54259 (cd $(TARGET_SUBDIR)/libgomp && \
54260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54262 "RANLIB=$${RANLIB}" \
54263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54264 pdf) \
54265 || exit 1
54267 @endif target-libgomp
54269 .PHONY: maybe-html-target-libgomp html-target-libgomp
54270 maybe-html-target-libgomp:
54271 @if target-libgomp
54272 maybe-html-target-libgomp: html-target-libgomp
54274 html-target-libgomp: \
54275 configure-target-libgomp
54276 @: $(MAKE); $(unstage)
54277 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54278 r=`${PWD_COMMAND}`; export r; \
54279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54280 $(NORMAL_TARGET_EXPORTS) \
54281 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
54282 for flag in $(EXTRA_TARGET_FLAGS); do \
54283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54284 done; \
54285 (cd $(TARGET_SUBDIR)/libgomp && \
54286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54288 "RANLIB=$${RANLIB}" \
54289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54290 html) \
54291 || exit 1
54293 @endif target-libgomp
54295 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
54296 maybe-TAGS-target-libgomp:
54297 @if target-libgomp
54298 maybe-TAGS-target-libgomp: TAGS-target-libgomp
54300 TAGS-target-libgomp: \
54301 configure-target-libgomp
54302 @: $(MAKE); $(unstage)
54303 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54304 r=`${PWD_COMMAND}`; export r; \
54305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54306 $(NORMAL_TARGET_EXPORTS) \
54307 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
54308 for flag in $(EXTRA_TARGET_FLAGS); do \
54309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54310 done; \
54311 (cd $(TARGET_SUBDIR)/libgomp && \
54312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54314 "RANLIB=$${RANLIB}" \
54315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54316 TAGS) \
54317 || exit 1
54319 @endif target-libgomp
54321 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
54322 maybe-install-info-target-libgomp:
54323 @if target-libgomp
54324 maybe-install-info-target-libgomp: install-info-target-libgomp
54326 install-info-target-libgomp: \
54327 configure-target-libgomp \
54328 info-target-libgomp
54329 @: $(MAKE); $(unstage)
54330 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54331 r=`${PWD_COMMAND}`; export r; \
54332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54333 $(NORMAL_TARGET_EXPORTS) \
54334 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
54335 for flag in $(EXTRA_TARGET_FLAGS); do \
54336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54337 done; \
54338 (cd $(TARGET_SUBDIR)/libgomp && \
54339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54341 "RANLIB=$${RANLIB}" \
54342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54343 install-info) \
54344 || exit 1
54346 @endif target-libgomp
54348 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
54349 maybe-install-pdf-target-libgomp:
54350 @if target-libgomp
54351 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
54353 install-pdf-target-libgomp: \
54354 configure-target-libgomp \
54355 pdf-target-libgomp
54356 @: $(MAKE); $(unstage)
54357 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54358 r=`${PWD_COMMAND}`; export r; \
54359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54360 $(NORMAL_TARGET_EXPORTS) \
54361 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
54362 for flag in $(EXTRA_TARGET_FLAGS); do \
54363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54364 done; \
54365 (cd $(TARGET_SUBDIR)/libgomp && \
54366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54368 "RANLIB=$${RANLIB}" \
54369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54370 install-pdf) \
54371 || exit 1
54373 @endif target-libgomp
54375 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
54376 maybe-install-html-target-libgomp:
54377 @if target-libgomp
54378 maybe-install-html-target-libgomp: install-html-target-libgomp
54380 install-html-target-libgomp: \
54381 configure-target-libgomp \
54382 html-target-libgomp
54383 @: $(MAKE); $(unstage)
54384 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54385 r=`${PWD_COMMAND}`; export r; \
54386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54387 $(NORMAL_TARGET_EXPORTS) \
54388 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
54389 for flag in $(EXTRA_TARGET_FLAGS); do \
54390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54391 done; \
54392 (cd $(TARGET_SUBDIR)/libgomp && \
54393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54395 "RANLIB=$${RANLIB}" \
54396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54397 install-html) \
54398 || exit 1
54400 @endif target-libgomp
54402 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
54403 maybe-installcheck-target-libgomp:
54404 @if target-libgomp
54405 maybe-installcheck-target-libgomp: installcheck-target-libgomp
54407 installcheck-target-libgomp: \
54408 configure-target-libgomp
54409 @: $(MAKE); $(unstage)
54410 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54411 r=`${PWD_COMMAND}`; export r; \
54412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54413 $(NORMAL_TARGET_EXPORTS) \
54414 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
54415 for flag in $(EXTRA_TARGET_FLAGS); do \
54416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54417 done; \
54418 (cd $(TARGET_SUBDIR)/libgomp && \
54419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54421 "RANLIB=$${RANLIB}" \
54422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54423 installcheck) \
54424 || exit 1
54426 @endif target-libgomp
54428 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
54429 maybe-mostlyclean-target-libgomp:
54430 @if target-libgomp
54431 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
54433 mostlyclean-target-libgomp:
54434 @: $(MAKE); $(unstage)
54435 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54436 r=`${PWD_COMMAND}`; export r; \
54437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54438 $(NORMAL_TARGET_EXPORTS) \
54439 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
54440 for flag in $(EXTRA_TARGET_FLAGS); do \
54441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54442 done; \
54443 (cd $(TARGET_SUBDIR)/libgomp && \
54444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54446 "RANLIB=$${RANLIB}" \
54447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54448 mostlyclean) \
54449 || exit 1
54451 @endif target-libgomp
54453 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
54454 maybe-clean-target-libgomp:
54455 @if target-libgomp
54456 maybe-clean-target-libgomp: clean-target-libgomp
54458 clean-target-libgomp:
54459 @: $(MAKE); $(unstage)
54460 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54461 r=`${PWD_COMMAND}`; export r; \
54462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54463 $(NORMAL_TARGET_EXPORTS) \
54464 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
54465 for flag in $(EXTRA_TARGET_FLAGS); do \
54466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54467 done; \
54468 (cd $(TARGET_SUBDIR)/libgomp && \
54469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54471 "RANLIB=$${RANLIB}" \
54472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54473 clean) \
54474 || exit 1
54476 @endif target-libgomp
54478 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
54479 maybe-distclean-target-libgomp:
54480 @if target-libgomp
54481 maybe-distclean-target-libgomp: distclean-target-libgomp
54483 distclean-target-libgomp:
54484 @: $(MAKE); $(unstage)
54485 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54486 r=`${PWD_COMMAND}`; export r; \
54487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54488 $(NORMAL_TARGET_EXPORTS) \
54489 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
54490 for flag in $(EXTRA_TARGET_FLAGS); do \
54491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54492 done; \
54493 (cd $(TARGET_SUBDIR)/libgomp && \
54494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54496 "RANLIB=$${RANLIB}" \
54497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54498 distclean) \
54499 || exit 1
54501 @endif target-libgomp
54503 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
54504 maybe-maintainer-clean-target-libgomp:
54505 @if target-libgomp
54506 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
54508 maintainer-clean-target-libgomp:
54509 @: $(MAKE); $(unstage)
54510 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54511 r=`${PWD_COMMAND}`; export r; \
54512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54513 $(NORMAL_TARGET_EXPORTS) \
54514 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
54515 for flag in $(EXTRA_TARGET_FLAGS); do \
54516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54517 done; \
54518 (cd $(TARGET_SUBDIR)/libgomp && \
54519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54521 "RANLIB=$${RANLIB}" \
54522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54523 maintainer-clean) \
54524 || exit 1
54526 @endif target-libgomp
54532 .PHONY: configure-target-libitm maybe-configure-target-libitm
54533 maybe-configure-target-libitm:
54534 @if gcc-bootstrap
54535 configure-target-libitm: stage_current
54536 @endif gcc-bootstrap
54537 @if target-libitm
54538 maybe-configure-target-libitm: configure-target-libitm
54539 configure-target-libitm:
54540 @: $(MAKE); $(unstage)
54541 @r=`${PWD_COMMAND}`; export r; \
54542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54543 echo "Checking multilib configuration for libitm..."; \
54544 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
54545 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
54546 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
54547 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
54548 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
54549 else \
54550 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
54551 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
54552 fi; \
54553 else \
54554 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
54555 fi; \
54556 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
54557 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
54558 $(NORMAL_TARGET_EXPORTS) \
54559 echo Configuring in $(TARGET_SUBDIR)/libitm; \
54560 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
54561 case $(srcdir) in \
54562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54563 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
54564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54565 esac; \
54566 module_srcdir=libitm; \
54567 rm -f no-such-file || : ; \
54568 CONFIG_SITE=no-such-file $(SHELL) \
54569 $$s/$$module_srcdir/configure \
54570 --srcdir=$${topdir}/$$module_srcdir \
54571 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54572 --target=${target_alias} \
54573 || exit 1
54574 @endif target-libitm
54580 .PHONY: all-target-libitm maybe-all-target-libitm
54581 maybe-all-target-libitm:
54582 @if gcc-bootstrap
54583 all-target-libitm: stage_current
54584 @endif gcc-bootstrap
54585 @if target-libitm
54586 TARGET-target-libitm=all
54587 maybe-all-target-libitm: all-target-libitm
54588 all-target-libitm: configure-target-libitm
54589 @: $(MAKE); $(unstage)
54590 @r=`${PWD_COMMAND}`; export r; \
54591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54592 $(NORMAL_TARGET_EXPORTS) \
54593 (cd $(TARGET_SUBDIR)/libitm && \
54594 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54595 $(TARGET-target-libitm))
54596 @endif target-libitm
54602 .PHONY: check-target-libitm maybe-check-target-libitm
54603 maybe-check-target-libitm:
54604 @if target-libitm
54605 maybe-check-target-libitm: check-target-libitm
54607 check-target-libitm:
54608 @: $(MAKE); $(unstage)
54609 @r=`${PWD_COMMAND}`; export r; \
54610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54611 $(NORMAL_TARGET_EXPORTS) \
54612 (cd $(TARGET_SUBDIR)/libitm && \
54613 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54615 @endif target-libitm
54617 .PHONY: install-target-libitm maybe-install-target-libitm
54618 maybe-install-target-libitm:
54619 @if target-libitm
54620 maybe-install-target-libitm: install-target-libitm
54622 install-target-libitm: installdirs
54623 @: $(MAKE); $(unstage)
54624 @r=`${PWD_COMMAND}`; export r; \
54625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54626 $(NORMAL_TARGET_EXPORTS) \
54627 (cd $(TARGET_SUBDIR)/libitm && \
54628 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54630 @endif target-libitm
54632 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
54633 maybe-install-strip-target-libitm:
54634 @if target-libitm
54635 maybe-install-strip-target-libitm: install-strip-target-libitm
54637 install-strip-target-libitm: installdirs
54638 @: $(MAKE); $(unstage)
54639 @r=`${PWD_COMMAND}`; export r; \
54640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54641 $(NORMAL_TARGET_EXPORTS) \
54642 (cd $(TARGET_SUBDIR)/libitm && \
54643 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54645 @endif target-libitm
54647 # Other targets (info, dvi, pdf, etc.)
54649 .PHONY: maybe-info-target-libitm info-target-libitm
54650 maybe-info-target-libitm:
54651 @if target-libitm
54652 maybe-info-target-libitm: info-target-libitm
54654 info-target-libitm: \
54655 configure-target-libitm
54656 @: $(MAKE); $(unstage)
54657 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54658 r=`${PWD_COMMAND}`; export r; \
54659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54660 $(NORMAL_TARGET_EXPORTS) \
54661 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
54662 for flag in $(EXTRA_TARGET_FLAGS); do \
54663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54664 done; \
54665 (cd $(TARGET_SUBDIR)/libitm && \
54666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54668 "RANLIB=$${RANLIB}" \
54669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54670 info) \
54671 || exit 1
54673 @endif target-libitm
54675 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
54676 maybe-dvi-target-libitm:
54677 @if target-libitm
54678 maybe-dvi-target-libitm: dvi-target-libitm
54680 dvi-target-libitm: \
54681 configure-target-libitm
54682 @: $(MAKE); $(unstage)
54683 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54684 r=`${PWD_COMMAND}`; export r; \
54685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54686 $(NORMAL_TARGET_EXPORTS) \
54687 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
54688 for flag in $(EXTRA_TARGET_FLAGS); do \
54689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54690 done; \
54691 (cd $(TARGET_SUBDIR)/libitm && \
54692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54694 "RANLIB=$${RANLIB}" \
54695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54696 dvi) \
54697 || exit 1
54699 @endif target-libitm
54701 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
54702 maybe-pdf-target-libitm:
54703 @if target-libitm
54704 maybe-pdf-target-libitm: pdf-target-libitm
54706 pdf-target-libitm: \
54707 configure-target-libitm
54708 @: $(MAKE); $(unstage)
54709 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54710 r=`${PWD_COMMAND}`; export r; \
54711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54712 $(NORMAL_TARGET_EXPORTS) \
54713 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
54714 for flag in $(EXTRA_TARGET_FLAGS); do \
54715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54716 done; \
54717 (cd $(TARGET_SUBDIR)/libitm && \
54718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54720 "RANLIB=$${RANLIB}" \
54721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54722 pdf) \
54723 || exit 1
54725 @endif target-libitm
54727 .PHONY: maybe-html-target-libitm html-target-libitm
54728 maybe-html-target-libitm:
54729 @if target-libitm
54730 maybe-html-target-libitm: html-target-libitm
54732 html-target-libitm: \
54733 configure-target-libitm
54734 @: $(MAKE); $(unstage)
54735 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54736 r=`${PWD_COMMAND}`; export r; \
54737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54738 $(NORMAL_TARGET_EXPORTS) \
54739 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
54740 for flag in $(EXTRA_TARGET_FLAGS); do \
54741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54742 done; \
54743 (cd $(TARGET_SUBDIR)/libitm && \
54744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54746 "RANLIB=$${RANLIB}" \
54747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54748 html) \
54749 || exit 1
54751 @endif target-libitm
54753 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
54754 maybe-TAGS-target-libitm:
54755 @if target-libitm
54756 maybe-TAGS-target-libitm: TAGS-target-libitm
54758 TAGS-target-libitm: \
54759 configure-target-libitm
54760 @: $(MAKE); $(unstage)
54761 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54762 r=`${PWD_COMMAND}`; export r; \
54763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54764 $(NORMAL_TARGET_EXPORTS) \
54765 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
54766 for flag in $(EXTRA_TARGET_FLAGS); do \
54767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54768 done; \
54769 (cd $(TARGET_SUBDIR)/libitm && \
54770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54772 "RANLIB=$${RANLIB}" \
54773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54774 TAGS) \
54775 || exit 1
54777 @endif target-libitm
54779 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
54780 maybe-install-info-target-libitm:
54781 @if target-libitm
54782 maybe-install-info-target-libitm: install-info-target-libitm
54784 install-info-target-libitm: \
54785 configure-target-libitm \
54786 info-target-libitm
54787 @: $(MAKE); $(unstage)
54788 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54789 r=`${PWD_COMMAND}`; export r; \
54790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54791 $(NORMAL_TARGET_EXPORTS) \
54792 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
54793 for flag in $(EXTRA_TARGET_FLAGS); do \
54794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54795 done; \
54796 (cd $(TARGET_SUBDIR)/libitm && \
54797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54799 "RANLIB=$${RANLIB}" \
54800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54801 install-info) \
54802 || exit 1
54804 @endif target-libitm
54806 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
54807 maybe-install-pdf-target-libitm:
54808 @if target-libitm
54809 maybe-install-pdf-target-libitm: install-pdf-target-libitm
54811 install-pdf-target-libitm: \
54812 configure-target-libitm \
54813 pdf-target-libitm
54814 @: $(MAKE); $(unstage)
54815 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54816 r=`${PWD_COMMAND}`; export r; \
54817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54818 $(NORMAL_TARGET_EXPORTS) \
54819 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
54820 for flag in $(EXTRA_TARGET_FLAGS); do \
54821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54822 done; \
54823 (cd $(TARGET_SUBDIR)/libitm && \
54824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54826 "RANLIB=$${RANLIB}" \
54827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54828 install-pdf) \
54829 || exit 1
54831 @endif target-libitm
54833 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
54834 maybe-install-html-target-libitm:
54835 @if target-libitm
54836 maybe-install-html-target-libitm: install-html-target-libitm
54838 install-html-target-libitm: \
54839 configure-target-libitm \
54840 html-target-libitm
54841 @: $(MAKE); $(unstage)
54842 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54843 r=`${PWD_COMMAND}`; export r; \
54844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54845 $(NORMAL_TARGET_EXPORTS) \
54846 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
54847 for flag in $(EXTRA_TARGET_FLAGS); do \
54848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54849 done; \
54850 (cd $(TARGET_SUBDIR)/libitm && \
54851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54853 "RANLIB=$${RANLIB}" \
54854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54855 install-html) \
54856 || exit 1
54858 @endif target-libitm
54860 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
54861 maybe-installcheck-target-libitm:
54862 @if target-libitm
54863 maybe-installcheck-target-libitm: installcheck-target-libitm
54865 installcheck-target-libitm: \
54866 configure-target-libitm
54867 @: $(MAKE); $(unstage)
54868 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54869 r=`${PWD_COMMAND}`; export r; \
54870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54871 $(NORMAL_TARGET_EXPORTS) \
54872 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
54873 for flag in $(EXTRA_TARGET_FLAGS); do \
54874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54875 done; \
54876 (cd $(TARGET_SUBDIR)/libitm && \
54877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54879 "RANLIB=$${RANLIB}" \
54880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54881 installcheck) \
54882 || exit 1
54884 @endif target-libitm
54886 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
54887 maybe-mostlyclean-target-libitm:
54888 @if target-libitm
54889 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
54891 mostlyclean-target-libitm:
54892 @: $(MAKE); $(unstage)
54893 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54894 r=`${PWD_COMMAND}`; export r; \
54895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54896 $(NORMAL_TARGET_EXPORTS) \
54897 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
54898 for flag in $(EXTRA_TARGET_FLAGS); do \
54899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54900 done; \
54901 (cd $(TARGET_SUBDIR)/libitm && \
54902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54904 "RANLIB=$${RANLIB}" \
54905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54906 mostlyclean) \
54907 || exit 1
54909 @endif target-libitm
54911 .PHONY: maybe-clean-target-libitm clean-target-libitm
54912 maybe-clean-target-libitm:
54913 @if target-libitm
54914 maybe-clean-target-libitm: clean-target-libitm
54916 clean-target-libitm:
54917 @: $(MAKE); $(unstage)
54918 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54919 r=`${PWD_COMMAND}`; export r; \
54920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54921 $(NORMAL_TARGET_EXPORTS) \
54922 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
54923 for flag in $(EXTRA_TARGET_FLAGS); do \
54924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54925 done; \
54926 (cd $(TARGET_SUBDIR)/libitm && \
54927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54929 "RANLIB=$${RANLIB}" \
54930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54931 clean) \
54932 || exit 1
54934 @endif target-libitm
54936 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
54937 maybe-distclean-target-libitm:
54938 @if target-libitm
54939 maybe-distclean-target-libitm: distclean-target-libitm
54941 distclean-target-libitm:
54942 @: $(MAKE); $(unstage)
54943 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54944 r=`${PWD_COMMAND}`; export r; \
54945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54946 $(NORMAL_TARGET_EXPORTS) \
54947 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
54948 for flag in $(EXTRA_TARGET_FLAGS); do \
54949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54950 done; \
54951 (cd $(TARGET_SUBDIR)/libitm && \
54952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54954 "RANLIB=$${RANLIB}" \
54955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54956 distclean) \
54957 || exit 1
54959 @endif target-libitm
54961 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
54962 maybe-maintainer-clean-target-libitm:
54963 @if target-libitm
54964 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
54966 maintainer-clean-target-libitm:
54967 @: $(MAKE); $(unstage)
54968 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54969 r=`${PWD_COMMAND}`; export r; \
54970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54971 $(NORMAL_TARGET_EXPORTS) \
54972 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
54973 for flag in $(EXTRA_TARGET_FLAGS); do \
54974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54975 done; \
54976 (cd $(TARGET_SUBDIR)/libitm && \
54977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54979 "RANLIB=$${RANLIB}" \
54980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54981 maintainer-clean) \
54982 || exit 1
54984 @endif target-libitm
54990 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
54991 maybe-configure-target-libatomic:
54992 @if gcc-bootstrap
54993 configure-target-libatomic: stage_current
54994 @endif gcc-bootstrap
54995 @if target-libatomic
54996 maybe-configure-target-libatomic: configure-target-libatomic
54997 configure-target-libatomic:
54998 @: $(MAKE); $(unstage)
54999 @r=`${PWD_COMMAND}`; export r; \
55000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55001 echo "Checking multilib configuration for libatomic..."; \
55002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
55003 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
55004 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
55005 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
55006 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
55007 else \
55008 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
55009 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
55010 fi; \
55011 else \
55012 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
55013 fi; \
55014 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
55015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
55016 $(NORMAL_TARGET_EXPORTS) \
55017 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
55018 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
55019 case $(srcdir) in \
55020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55021 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
55022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55023 esac; \
55024 module_srcdir=libatomic; \
55025 rm -f no-such-file || : ; \
55026 CONFIG_SITE=no-such-file $(SHELL) \
55027 $$s/$$module_srcdir/configure \
55028 --srcdir=$${topdir}/$$module_srcdir \
55029 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55030 --target=${target_alias} \
55031 || exit 1
55032 @endif target-libatomic
55038 .PHONY: all-target-libatomic maybe-all-target-libatomic
55039 maybe-all-target-libatomic:
55040 @if gcc-bootstrap
55041 all-target-libatomic: stage_current
55042 @endif gcc-bootstrap
55043 @if target-libatomic
55044 TARGET-target-libatomic=all
55045 maybe-all-target-libatomic: all-target-libatomic
55046 all-target-libatomic: configure-target-libatomic
55047 @: $(MAKE); $(unstage)
55048 @r=`${PWD_COMMAND}`; export r; \
55049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55050 $(NORMAL_TARGET_EXPORTS) \
55051 (cd $(TARGET_SUBDIR)/libatomic && \
55052 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55053 $(TARGET-target-libatomic))
55054 @endif target-libatomic
55060 .PHONY: check-target-libatomic maybe-check-target-libatomic
55061 maybe-check-target-libatomic:
55062 @if target-libatomic
55063 maybe-check-target-libatomic: check-target-libatomic
55065 check-target-libatomic:
55066 @: $(MAKE); $(unstage)
55067 @r=`${PWD_COMMAND}`; export r; \
55068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55069 $(NORMAL_TARGET_EXPORTS) \
55070 (cd $(TARGET_SUBDIR)/libatomic && \
55071 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55073 @endif target-libatomic
55075 .PHONY: install-target-libatomic maybe-install-target-libatomic
55076 maybe-install-target-libatomic:
55077 @if target-libatomic
55078 maybe-install-target-libatomic: install-target-libatomic
55080 install-target-libatomic: installdirs
55081 @: $(MAKE); $(unstage)
55082 @r=`${PWD_COMMAND}`; export r; \
55083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55084 $(NORMAL_TARGET_EXPORTS) \
55085 (cd $(TARGET_SUBDIR)/libatomic && \
55086 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55088 @endif target-libatomic
55090 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
55091 maybe-install-strip-target-libatomic:
55092 @if target-libatomic
55093 maybe-install-strip-target-libatomic: install-strip-target-libatomic
55095 install-strip-target-libatomic: installdirs
55096 @: $(MAKE); $(unstage)
55097 @r=`${PWD_COMMAND}`; export r; \
55098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55099 $(NORMAL_TARGET_EXPORTS) \
55100 (cd $(TARGET_SUBDIR)/libatomic && \
55101 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55103 @endif target-libatomic
55105 # Other targets (info, dvi, pdf, etc.)
55107 .PHONY: maybe-info-target-libatomic info-target-libatomic
55108 maybe-info-target-libatomic:
55109 @if target-libatomic
55110 maybe-info-target-libatomic: info-target-libatomic
55112 info-target-libatomic: \
55113 configure-target-libatomic
55114 @: $(MAKE); $(unstage)
55115 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55116 r=`${PWD_COMMAND}`; export r; \
55117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55118 $(NORMAL_TARGET_EXPORTS) \
55119 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
55120 for flag in $(EXTRA_TARGET_FLAGS); do \
55121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55122 done; \
55123 (cd $(TARGET_SUBDIR)/libatomic && \
55124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55126 "RANLIB=$${RANLIB}" \
55127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55128 info) \
55129 || exit 1
55131 @endif target-libatomic
55133 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
55134 maybe-dvi-target-libatomic:
55135 @if target-libatomic
55136 maybe-dvi-target-libatomic: dvi-target-libatomic
55138 dvi-target-libatomic: \
55139 configure-target-libatomic
55140 @: $(MAKE); $(unstage)
55141 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55142 r=`${PWD_COMMAND}`; export r; \
55143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55144 $(NORMAL_TARGET_EXPORTS) \
55145 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
55146 for flag in $(EXTRA_TARGET_FLAGS); do \
55147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55148 done; \
55149 (cd $(TARGET_SUBDIR)/libatomic && \
55150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55152 "RANLIB=$${RANLIB}" \
55153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55154 dvi) \
55155 || exit 1
55157 @endif target-libatomic
55159 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
55160 maybe-pdf-target-libatomic:
55161 @if target-libatomic
55162 maybe-pdf-target-libatomic: pdf-target-libatomic
55164 pdf-target-libatomic: \
55165 configure-target-libatomic
55166 @: $(MAKE); $(unstage)
55167 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55168 r=`${PWD_COMMAND}`; export r; \
55169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55170 $(NORMAL_TARGET_EXPORTS) \
55171 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
55172 for flag in $(EXTRA_TARGET_FLAGS); do \
55173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55174 done; \
55175 (cd $(TARGET_SUBDIR)/libatomic && \
55176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55178 "RANLIB=$${RANLIB}" \
55179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55180 pdf) \
55181 || exit 1
55183 @endif target-libatomic
55185 .PHONY: maybe-html-target-libatomic html-target-libatomic
55186 maybe-html-target-libatomic:
55187 @if target-libatomic
55188 maybe-html-target-libatomic: html-target-libatomic
55190 html-target-libatomic: \
55191 configure-target-libatomic
55192 @: $(MAKE); $(unstage)
55193 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55194 r=`${PWD_COMMAND}`; export r; \
55195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55196 $(NORMAL_TARGET_EXPORTS) \
55197 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
55198 for flag in $(EXTRA_TARGET_FLAGS); do \
55199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55200 done; \
55201 (cd $(TARGET_SUBDIR)/libatomic && \
55202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55204 "RANLIB=$${RANLIB}" \
55205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55206 html) \
55207 || exit 1
55209 @endif target-libatomic
55211 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
55212 maybe-TAGS-target-libatomic:
55213 @if target-libatomic
55214 maybe-TAGS-target-libatomic: TAGS-target-libatomic
55216 TAGS-target-libatomic: \
55217 configure-target-libatomic
55218 @: $(MAKE); $(unstage)
55219 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55220 r=`${PWD_COMMAND}`; export r; \
55221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55222 $(NORMAL_TARGET_EXPORTS) \
55223 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
55224 for flag in $(EXTRA_TARGET_FLAGS); do \
55225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55226 done; \
55227 (cd $(TARGET_SUBDIR)/libatomic && \
55228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55230 "RANLIB=$${RANLIB}" \
55231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55232 TAGS) \
55233 || exit 1
55235 @endif target-libatomic
55237 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
55238 maybe-install-info-target-libatomic:
55239 @if target-libatomic
55240 maybe-install-info-target-libatomic: install-info-target-libatomic
55242 install-info-target-libatomic: \
55243 configure-target-libatomic \
55244 info-target-libatomic
55245 @: $(MAKE); $(unstage)
55246 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55247 r=`${PWD_COMMAND}`; export r; \
55248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55249 $(NORMAL_TARGET_EXPORTS) \
55250 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
55251 for flag in $(EXTRA_TARGET_FLAGS); do \
55252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55253 done; \
55254 (cd $(TARGET_SUBDIR)/libatomic && \
55255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55257 "RANLIB=$${RANLIB}" \
55258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55259 install-info) \
55260 || exit 1
55262 @endif target-libatomic
55264 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
55265 maybe-install-pdf-target-libatomic:
55266 @if target-libatomic
55267 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
55269 install-pdf-target-libatomic: \
55270 configure-target-libatomic \
55271 pdf-target-libatomic
55272 @: $(MAKE); $(unstage)
55273 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55274 r=`${PWD_COMMAND}`; export r; \
55275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55276 $(NORMAL_TARGET_EXPORTS) \
55277 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
55278 for flag in $(EXTRA_TARGET_FLAGS); do \
55279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55280 done; \
55281 (cd $(TARGET_SUBDIR)/libatomic && \
55282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55284 "RANLIB=$${RANLIB}" \
55285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55286 install-pdf) \
55287 || exit 1
55289 @endif target-libatomic
55291 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
55292 maybe-install-html-target-libatomic:
55293 @if target-libatomic
55294 maybe-install-html-target-libatomic: install-html-target-libatomic
55296 install-html-target-libatomic: \
55297 configure-target-libatomic \
55298 html-target-libatomic
55299 @: $(MAKE); $(unstage)
55300 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55301 r=`${PWD_COMMAND}`; export r; \
55302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55303 $(NORMAL_TARGET_EXPORTS) \
55304 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
55305 for flag in $(EXTRA_TARGET_FLAGS); do \
55306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55307 done; \
55308 (cd $(TARGET_SUBDIR)/libatomic && \
55309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55311 "RANLIB=$${RANLIB}" \
55312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55313 install-html) \
55314 || exit 1
55316 @endif target-libatomic
55318 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
55319 maybe-installcheck-target-libatomic:
55320 @if target-libatomic
55321 maybe-installcheck-target-libatomic: installcheck-target-libatomic
55323 installcheck-target-libatomic: \
55324 configure-target-libatomic
55325 @: $(MAKE); $(unstage)
55326 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55327 r=`${PWD_COMMAND}`; export r; \
55328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55329 $(NORMAL_TARGET_EXPORTS) \
55330 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
55331 for flag in $(EXTRA_TARGET_FLAGS); do \
55332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55333 done; \
55334 (cd $(TARGET_SUBDIR)/libatomic && \
55335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55337 "RANLIB=$${RANLIB}" \
55338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55339 installcheck) \
55340 || exit 1
55342 @endif target-libatomic
55344 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
55345 maybe-mostlyclean-target-libatomic:
55346 @if target-libatomic
55347 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
55349 mostlyclean-target-libatomic:
55350 @: $(MAKE); $(unstage)
55351 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55352 r=`${PWD_COMMAND}`; export r; \
55353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55354 $(NORMAL_TARGET_EXPORTS) \
55355 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
55356 for flag in $(EXTRA_TARGET_FLAGS); do \
55357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55358 done; \
55359 (cd $(TARGET_SUBDIR)/libatomic && \
55360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55362 "RANLIB=$${RANLIB}" \
55363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55364 mostlyclean) \
55365 || exit 1
55367 @endif target-libatomic
55369 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
55370 maybe-clean-target-libatomic:
55371 @if target-libatomic
55372 maybe-clean-target-libatomic: clean-target-libatomic
55374 clean-target-libatomic:
55375 @: $(MAKE); $(unstage)
55376 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55377 r=`${PWD_COMMAND}`; export r; \
55378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55379 $(NORMAL_TARGET_EXPORTS) \
55380 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
55381 for flag in $(EXTRA_TARGET_FLAGS); do \
55382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55383 done; \
55384 (cd $(TARGET_SUBDIR)/libatomic && \
55385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55387 "RANLIB=$${RANLIB}" \
55388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55389 clean) \
55390 || exit 1
55392 @endif target-libatomic
55394 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
55395 maybe-distclean-target-libatomic:
55396 @if target-libatomic
55397 maybe-distclean-target-libatomic: distclean-target-libatomic
55399 distclean-target-libatomic:
55400 @: $(MAKE); $(unstage)
55401 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55402 r=`${PWD_COMMAND}`; export r; \
55403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55404 $(NORMAL_TARGET_EXPORTS) \
55405 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
55406 for flag in $(EXTRA_TARGET_FLAGS); do \
55407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55408 done; \
55409 (cd $(TARGET_SUBDIR)/libatomic && \
55410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55412 "RANLIB=$${RANLIB}" \
55413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55414 distclean) \
55415 || exit 1
55417 @endif target-libatomic
55419 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
55420 maybe-maintainer-clean-target-libatomic:
55421 @if target-libatomic
55422 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
55424 maintainer-clean-target-libatomic:
55425 @: $(MAKE); $(unstage)
55426 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
55427 r=`${PWD_COMMAND}`; export r; \
55428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55429 $(NORMAL_TARGET_EXPORTS) \
55430 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
55431 for flag in $(EXTRA_TARGET_FLAGS); do \
55432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55433 done; \
55434 (cd $(TARGET_SUBDIR)/libatomic && \
55435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55437 "RANLIB=$${RANLIB}" \
55438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55439 maintainer-clean) \
55440 || exit 1
55442 @endif target-libatomic
55446 @if target-libgomp
55447 .PHONY: check-target-libgomp-c++
55448 check-target-libgomp-c++:
55449 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
55451 .PHONY: check-target-libgomp-fortran
55452 check-target-libgomp-fortran:
55453 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
55455 @endif target-libgomp
55457 @if target-libitm
55458 .PHONY: check-target-libitm-c++
55459 check-target-libitm-c++:
55460 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
55462 @endif target-libitm
55464 # ----------
55465 # GCC module
55466 # ----------
55468 @if gcc-no-bootstrap
55469 .PHONY: cross
55470 cross: all-build all-gas all-ld
55471 @r=`${PWD_COMMAND}`; export r; \
55472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55473 $(HOST_EXPORTS) \
55474 echo "Building the C and C++ compiler"; \
55475 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
55476 @r=`${PWD_COMMAND}`; export r; \
55477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55478 echo "Building runtime libraries"; \
55479 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
55480 @endif gcc-no-bootstrap
55482 @if gcc
55484 .PHONY: check-gcc-c check-c
55485 check-gcc-c:
55486 r=`${PWD_COMMAND}`; export r; \
55487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55488 $(HOST_EXPORTS) \
55489 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
55490 check-c: check-gcc-c
55492 .PHONY: check-gcc-c++ check-c++
55493 check-gcc-c++:
55494 r=`${PWD_COMMAND}`; export r; \
55495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55496 $(HOST_EXPORTS) \
55497 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
55498 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
55500 .PHONY: check-gcc-fortran check-fortran
55501 check-gcc-fortran:
55502 r=`${PWD_COMMAND}`; export r; \
55503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55504 $(HOST_EXPORTS) \
55505 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
55506 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
55508 .PHONY: check-gcc-ada check-ada
55509 check-gcc-ada:
55510 r=`${PWD_COMMAND}`; export r; \
55511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55512 $(HOST_EXPORTS) \
55513 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
55514 check-ada: check-gcc-ada check-target-libada
55516 .PHONY: check-gcc-objc check-objc
55517 check-gcc-objc:
55518 r=`${PWD_COMMAND}`; export r; \
55519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55520 $(HOST_EXPORTS) \
55521 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
55522 check-objc: check-gcc-objc check-target-libobjc
55524 .PHONY: check-gcc-obj-c++ check-obj-c++
55525 check-gcc-obj-c++:
55526 r=`${PWD_COMMAND}`; export r; \
55527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55528 $(HOST_EXPORTS) \
55529 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
55530 check-obj-c++: check-gcc-obj-c++
55532 .PHONY: check-gcc-go check-go
55533 check-gcc-go:
55534 r=`${PWD_COMMAND}`; export r; \
55535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55536 $(HOST_EXPORTS) \
55537 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
55538 check-go: check-gcc-go check-target-libgo check-gotools
55540 .PHONY: check-gcc-brig check-brig
55541 check-gcc-brig:
55542 r=`${PWD_COMMAND}`; export r; \
55543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55544 $(HOST_EXPORTS) \
55545 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
55546 check-brig: check-gcc-brig check-target-libhsail-rt
55548 .PHONY: check-gcc-d check-d
55549 check-gcc-d:
55550 r=`${PWD_COMMAND}`; export r; \
55551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55552 $(HOST_EXPORTS) \
55553 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
55554 check-d: check-gcc-d check-target-libphobos
55557 # The gcc part of install-no-fixedincludes, which relies on an intimate
55558 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
55559 .PHONY: gcc-install-no-fixedincludes
55560 gcc-install-no-fixedincludes:
55561 @if [ -f ./gcc/Makefile ]; then \
55562 r=`${PWD_COMMAND}`; export r; \
55563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55564 $(HOST_EXPORTS) \
55565 (cd ./gcc \
55566 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
55567 else true; fi
55568 @endif gcc
55570 # ---------------------
55571 # GCC bootstrap support
55572 # ---------------------
55574 # We track the current stage (the one in 'gcc') in the stage_current file.
55575 # stage_last instead tracks the stage that was built last. These targets
55576 # are dummy when toplevel bootstrap is not active.
55578 # While making host and target tools, symlinks to the final stage must be
55579 # there, so $(unstage) should be run at various points. To avoid excessive
55580 # recursive invocations of make, we "inline" them using a variable. These
55581 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
55582 # to avoid warnings from the GNU Make job server.
55584 unstage = :
55585 stage = :
55586 current_stage = ""
55588 @if gcc-bootstrap
55589 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
55590 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
55591 current_stage = "`cat stage_current 2> /dev/null`"
55592 @endif gcc-bootstrap
55594 .PHONY: unstage stage
55595 unstage:
55596 @: $(MAKE); $(unstage)
55597 stage:
55598 @: $(MAKE); $(stage)
55600 # Disable commands for lean bootstrap.
55601 LEAN = false
55603 # We name the build directories for the various stages "stage1-gcc",
55604 # "stage2-gcc","stage3-gcc", etc.
55606 # Since the 'compare' process will fail (on debugging information) if any
55607 # directory names are different, we need to link the gcc directory for
55608 # the previous stage to a constant name ('prev-gcc'), and to make the name of
55609 # the build directories constant as well. For the latter, we use naked names
55610 # like 'gcc', because the scripts in that directory assume it. We use
55611 # mv on platforms where symlinks to directories do not work or are not
55612 # reliable.
55614 # 'touch' doesn't work right on some platforms.
55615 STAMP = echo timestamp >
55617 # We only want to compare .o files, so set this!
55618 objext = .o
55621 .PHONY: stage1-start stage1-end
55623 stage1-start::
55624 @: $(MAKE); $(stage); \
55625 echo stage1 > stage_current; \
55626 echo stage1 > stage_last; \
55627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55628 @if bfd
55629 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
55630 mkdir stage1-bfd; \
55631 mv stage1-bfd bfd
55632 @endif bfd
55633 @if opcodes
55634 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
55635 mkdir stage1-opcodes; \
55636 mv stage1-opcodes opcodes
55637 @endif opcodes
55638 @if binutils
55639 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
55640 mkdir stage1-binutils; \
55641 mv stage1-binutils binutils
55642 @endif binutils
55643 @if fixincludes
55644 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
55645 mkdir stage1-fixincludes; \
55646 mv stage1-fixincludes fixincludes
55647 @endif fixincludes
55648 @if gas
55649 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
55650 mkdir stage1-gas; \
55651 mv stage1-gas gas
55652 @endif gas
55653 @if gcc
55654 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
55655 mkdir stage1-gcc; \
55656 mv stage1-gcc gcc
55657 @endif gcc
55658 @if gmp
55659 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
55660 mkdir stage1-gmp; \
55661 mv stage1-gmp gmp
55662 @endif gmp
55663 @if mpfr
55664 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
55665 mkdir stage1-mpfr; \
55666 mv stage1-mpfr mpfr
55667 @endif mpfr
55668 @if mpc
55669 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
55670 mkdir stage1-mpc; \
55671 mv stage1-mpc mpc
55672 @endif mpc
55673 @if isl
55674 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
55675 mkdir stage1-isl; \
55676 mv stage1-isl isl
55677 @endif isl
55678 @if libelf
55679 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
55680 mkdir stage1-libelf; \
55681 mv stage1-libelf libelf
55682 @endif libelf
55683 @if gold
55684 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
55685 mkdir stage1-gold; \
55686 mv stage1-gold gold
55687 @endif gold
55688 @if intl
55689 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
55690 mkdir stage1-intl; \
55691 mv stage1-intl intl
55692 @endif intl
55693 @if ld
55694 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
55695 mkdir stage1-ld; \
55696 mv stage1-ld ld
55697 @endif ld
55698 @if libbacktrace
55699 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
55700 mkdir stage1-libbacktrace; \
55701 mv stage1-libbacktrace libbacktrace
55702 @endif libbacktrace
55703 @if libcpp
55704 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
55705 mkdir stage1-libcpp; \
55706 mv stage1-libcpp libcpp
55707 @endif libcpp
55708 @if libdecnumber
55709 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
55710 mkdir stage1-libdecnumber; \
55711 mv stage1-libdecnumber libdecnumber
55712 @endif libdecnumber
55713 @if libiberty
55714 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
55715 mkdir stage1-libiberty; \
55716 mv stage1-libiberty libiberty
55717 @endif libiberty
55718 @if libiberty-linker-plugin
55719 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
55720 mkdir stage1-libiberty-linker-plugin; \
55721 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
55722 @endif libiberty-linker-plugin
55723 @if libiconv
55724 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
55725 mkdir stage1-libiconv; \
55726 mv stage1-libiconv libiconv
55727 @endif libiconv
55728 @if zlib
55729 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
55730 mkdir stage1-zlib; \
55731 mv stage1-zlib zlib
55732 @endif zlib
55733 @if lto-plugin
55734 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
55735 mkdir stage1-lto-plugin; \
55736 mv stage1-lto-plugin lto-plugin
55737 @endif lto-plugin
55738 @if libctf
55739 @cd $(HOST_SUBDIR); [ -d stage1-libctf ] || \
55740 mkdir stage1-libctf; \
55741 mv stage1-libctf libctf
55742 @endif libctf
55743 @[ -d stage1-$(TARGET_SUBDIR) ] || \
55744 mkdir stage1-$(TARGET_SUBDIR); \
55745 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
55747 stage1-end::
55748 @if bfd
55749 @if test -d $(HOST_SUBDIR)/bfd; then \
55750 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
55752 @endif bfd
55753 @if opcodes
55754 @if test -d $(HOST_SUBDIR)/opcodes; then \
55755 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
55757 @endif opcodes
55758 @if binutils
55759 @if test -d $(HOST_SUBDIR)/binutils; then \
55760 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
55762 @endif binutils
55763 @if fixincludes
55764 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55765 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
55767 @endif fixincludes
55768 @if gas
55769 @if test -d $(HOST_SUBDIR)/gas; then \
55770 cd $(HOST_SUBDIR); mv gas stage1-gas; \
55772 @endif gas
55773 @if gcc
55774 @if test -d $(HOST_SUBDIR)/gcc; then \
55775 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
55777 @endif gcc
55778 @if gmp
55779 @if test -d $(HOST_SUBDIR)/gmp; then \
55780 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
55782 @endif gmp
55783 @if mpfr
55784 @if test -d $(HOST_SUBDIR)/mpfr; then \
55785 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
55787 @endif mpfr
55788 @if mpc
55789 @if test -d $(HOST_SUBDIR)/mpc; then \
55790 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
55792 @endif mpc
55793 @if isl
55794 @if test -d $(HOST_SUBDIR)/isl; then \
55795 cd $(HOST_SUBDIR); mv isl stage1-isl; \
55797 @endif isl
55798 @if libelf
55799 @if test -d $(HOST_SUBDIR)/libelf; then \
55800 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
55802 @endif libelf
55803 @if gold
55804 @if test -d $(HOST_SUBDIR)/gold; then \
55805 cd $(HOST_SUBDIR); mv gold stage1-gold; \
55807 @endif gold
55808 @if intl
55809 @if test -d $(HOST_SUBDIR)/intl; then \
55810 cd $(HOST_SUBDIR); mv intl stage1-intl; \
55812 @endif intl
55813 @if ld
55814 @if test -d $(HOST_SUBDIR)/ld; then \
55815 cd $(HOST_SUBDIR); mv ld stage1-ld; \
55817 @endif ld
55818 @if libbacktrace
55819 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55820 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
55822 @endif libbacktrace
55823 @if libcpp
55824 @if test -d $(HOST_SUBDIR)/libcpp; then \
55825 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
55827 @endif libcpp
55828 @if libdecnumber
55829 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55830 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
55832 @endif libdecnumber
55833 @if libiberty
55834 @if test -d $(HOST_SUBDIR)/libiberty; then \
55835 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
55837 @endif libiberty
55838 @if libiberty-linker-plugin
55839 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55840 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
55842 @endif libiberty-linker-plugin
55843 @if libiconv
55844 @if test -d $(HOST_SUBDIR)/libiconv; then \
55845 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
55847 @endif libiconv
55848 @if zlib
55849 @if test -d $(HOST_SUBDIR)/zlib; then \
55850 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
55852 @endif zlib
55853 @if lto-plugin
55854 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55855 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
55857 @endif lto-plugin
55858 @if libctf
55859 @if test -d $(HOST_SUBDIR)/libctf; then \
55860 cd $(HOST_SUBDIR); mv libctf stage1-libctf; \
55862 @endif libctf
55863 @if test -d $(TARGET_SUBDIR); then \
55864 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
55866 rm -f stage_current
55868 # Bubble a bug fix through all the stages up to stage 1. They are
55869 # remade, but not reconfigured. The next stage (if any) will not be
55870 # reconfigured either.
55871 .PHONY: stage1-bubble
55872 stage1-bubble::
55873 @r=`${PWD_COMMAND}`; export r; \
55874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55875 if test -f stage1-lean ; then \
55876 echo Skipping rebuild of stage1; \
55877 else \
55878 $(MAKE) stage1-start; \
55879 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
55882 .PHONY: all-stage1 clean-stage1
55883 do-clean: clean-stage1
55885 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55886 # only possibility, but now it conflicts with no-bootstrap rules
55887 @if gcc-bootstrap
55892 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55894 .PHONY: distclean-stage1
55895 distclean-stage1::
55896 @: $(MAKE); $(stage)
55897 @test "`cat stage_last`" != stage1 || rm -f stage_last
55898 rm -rf stage1-*
55901 @endif gcc-bootstrap
55904 .PHONY: stage2-start stage2-end
55906 stage2-start::
55907 @: $(MAKE); $(stage); \
55908 echo stage2 > stage_current; \
55909 echo stage2 > stage_last; \
55910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55911 @if bfd
55912 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
55913 mkdir stage2-bfd; \
55914 mv stage2-bfd bfd; \
55915 mv stage1-bfd prev-bfd || test -f stage1-lean
55916 @endif bfd
55917 @if opcodes
55918 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
55919 mkdir stage2-opcodes; \
55920 mv stage2-opcodes opcodes; \
55921 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55922 @endif opcodes
55923 @if binutils
55924 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
55925 mkdir stage2-binutils; \
55926 mv stage2-binutils binutils; \
55927 mv stage1-binutils prev-binutils || test -f stage1-lean
55928 @endif binutils
55929 @if fixincludes
55930 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
55931 mkdir stage2-fixincludes; \
55932 mv stage2-fixincludes fixincludes; \
55933 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55934 @endif fixincludes
55935 @if gas
55936 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
55937 mkdir stage2-gas; \
55938 mv stage2-gas gas; \
55939 mv stage1-gas prev-gas || test -f stage1-lean
55940 @endif gas
55941 @if gcc
55942 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
55943 mkdir stage2-gcc; \
55944 mv stage2-gcc gcc; \
55945 mv stage1-gcc prev-gcc || test -f stage1-lean
55946 @endif gcc
55947 @if gmp
55948 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
55949 mkdir stage2-gmp; \
55950 mv stage2-gmp gmp; \
55951 mv stage1-gmp prev-gmp || test -f stage1-lean
55952 @endif gmp
55953 @if mpfr
55954 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
55955 mkdir stage2-mpfr; \
55956 mv stage2-mpfr mpfr; \
55957 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55958 @endif mpfr
55959 @if mpc
55960 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
55961 mkdir stage2-mpc; \
55962 mv stage2-mpc mpc; \
55963 mv stage1-mpc prev-mpc || test -f stage1-lean
55964 @endif mpc
55965 @if isl
55966 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
55967 mkdir stage2-isl; \
55968 mv stage2-isl isl; \
55969 mv stage1-isl prev-isl || test -f stage1-lean
55970 @endif isl
55971 @if libelf
55972 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
55973 mkdir stage2-libelf; \
55974 mv stage2-libelf libelf; \
55975 mv stage1-libelf prev-libelf || test -f stage1-lean
55976 @endif libelf
55977 @if gold
55978 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
55979 mkdir stage2-gold; \
55980 mv stage2-gold gold; \
55981 mv stage1-gold prev-gold || test -f stage1-lean
55982 @endif gold
55983 @if intl
55984 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
55985 mkdir stage2-intl; \
55986 mv stage2-intl intl; \
55987 mv stage1-intl prev-intl || test -f stage1-lean
55988 @endif intl
55989 @if ld
55990 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
55991 mkdir stage2-ld; \
55992 mv stage2-ld ld; \
55993 mv stage1-ld prev-ld || test -f stage1-lean
55994 @endif ld
55995 @if libbacktrace
55996 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
55997 mkdir stage2-libbacktrace; \
55998 mv stage2-libbacktrace libbacktrace; \
55999 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
56000 @endif libbacktrace
56001 @if libcpp
56002 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
56003 mkdir stage2-libcpp; \
56004 mv stage2-libcpp libcpp; \
56005 mv stage1-libcpp prev-libcpp || test -f stage1-lean
56006 @endif libcpp
56007 @if libdecnumber
56008 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
56009 mkdir stage2-libdecnumber; \
56010 mv stage2-libdecnumber libdecnumber; \
56011 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
56012 @endif libdecnumber
56013 @if libiberty
56014 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
56015 mkdir stage2-libiberty; \
56016 mv stage2-libiberty libiberty; \
56017 mv stage1-libiberty prev-libiberty || test -f stage1-lean
56018 @endif libiberty
56019 @if libiberty-linker-plugin
56020 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
56021 mkdir stage2-libiberty-linker-plugin; \
56022 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
56023 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
56024 @endif libiberty-linker-plugin
56025 @if libiconv
56026 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
56027 mkdir stage2-libiconv; \
56028 mv stage2-libiconv libiconv; \
56029 mv stage1-libiconv prev-libiconv || test -f stage1-lean
56030 @endif libiconv
56031 @if zlib
56032 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
56033 mkdir stage2-zlib; \
56034 mv stage2-zlib zlib; \
56035 mv stage1-zlib prev-zlib || test -f stage1-lean
56036 @endif zlib
56037 @if lto-plugin
56038 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
56039 mkdir stage2-lto-plugin; \
56040 mv stage2-lto-plugin lto-plugin; \
56041 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
56042 @endif lto-plugin
56043 @if libctf
56044 @cd $(HOST_SUBDIR); [ -d stage2-libctf ] || \
56045 mkdir stage2-libctf; \
56046 mv stage2-libctf libctf; \
56047 mv stage1-libctf prev-libctf || test -f stage1-lean
56048 @endif libctf
56049 @[ -d stage2-$(TARGET_SUBDIR) ] || \
56050 mkdir stage2-$(TARGET_SUBDIR); \
56051 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56052 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
56054 stage2-end::
56055 @if bfd
56056 @if test -d $(HOST_SUBDIR)/bfd; then \
56057 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
56058 mv prev-bfd stage1-bfd; : ; \
56060 @endif bfd
56061 @if opcodes
56062 @if test -d $(HOST_SUBDIR)/opcodes; then \
56063 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
56064 mv prev-opcodes stage1-opcodes; : ; \
56066 @endif opcodes
56067 @if binutils
56068 @if test -d $(HOST_SUBDIR)/binutils; then \
56069 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
56070 mv prev-binutils stage1-binutils; : ; \
56072 @endif binutils
56073 @if fixincludes
56074 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56075 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
56076 mv prev-fixincludes stage1-fixincludes; : ; \
56078 @endif fixincludes
56079 @if gas
56080 @if test -d $(HOST_SUBDIR)/gas; then \
56081 cd $(HOST_SUBDIR); mv gas stage2-gas; \
56082 mv prev-gas stage1-gas; : ; \
56084 @endif gas
56085 @if gcc
56086 @if test -d $(HOST_SUBDIR)/gcc; then \
56087 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
56088 mv prev-gcc stage1-gcc; : ; \
56090 @endif gcc
56091 @if gmp
56092 @if test -d $(HOST_SUBDIR)/gmp; then \
56093 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
56094 mv prev-gmp stage1-gmp; : ; \
56096 @endif gmp
56097 @if mpfr
56098 @if test -d $(HOST_SUBDIR)/mpfr; then \
56099 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
56100 mv prev-mpfr stage1-mpfr; : ; \
56102 @endif mpfr
56103 @if mpc
56104 @if test -d $(HOST_SUBDIR)/mpc; then \
56105 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
56106 mv prev-mpc stage1-mpc; : ; \
56108 @endif mpc
56109 @if isl
56110 @if test -d $(HOST_SUBDIR)/isl; then \
56111 cd $(HOST_SUBDIR); mv isl stage2-isl; \
56112 mv prev-isl stage1-isl; : ; \
56114 @endif isl
56115 @if libelf
56116 @if test -d $(HOST_SUBDIR)/libelf; then \
56117 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
56118 mv prev-libelf stage1-libelf; : ; \
56120 @endif libelf
56121 @if gold
56122 @if test -d $(HOST_SUBDIR)/gold; then \
56123 cd $(HOST_SUBDIR); mv gold stage2-gold; \
56124 mv prev-gold stage1-gold; : ; \
56126 @endif gold
56127 @if intl
56128 @if test -d $(HOST_SUBDIR)/intl; then \
56129 cd $(HOST_SUBDIR); mv intl stage2-intl; \
56130 mv prev-intl stage1-intl; : ; \
56132 @endif intl
56133 @if ld
56134 @if test -d $(HOST_SUBDIR)/ld; then \
56135 cd $(HOST_SUBDIR); mv ld stage2-ld; \
56136 mv prev-ld stage1-ld; : ; \
56138 @endif ld
56139 @if libbacktrace
56140 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56141 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
56142 mv prev-libbacktrace stage1-libbacktrace; : ; \
56144 @endif libbacktrace
56145 @if libcpp
56146 @if test -d $(HOST_SUBDIR)/libcpp; then \
56147 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
56148 mv prev-libcpp stage1-libcpp; : ; \
56150 @endif libcpp
56151 @if libdecnumber
56152 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56153 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
56154 mv prev-libdecnumber stage1-libdecnumber; : ; \
56156 @endif libdecnumber
56157 @if libiberty
56158 @if test -d $(HOST_SUBDIR)/libiberty; then \
56159 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
56160 mv prev-libiberty stage1-libiberty; : ; \
56162 @endif libiberty
56163 @if libiberty-linker-plugin
56164 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56165 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
56166 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
56168 @endif libiberty-linker-plugin
56169 @if libiconv
56170 @if test -d $(HOST_SUBDIR)/libiconv; then \
56171 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
56172 mv prev-libiconv stage1-libiconv; : ; \
56174 @endif libiconv
56175 @if zlib
56176 @if test -d $(HOST_SUBDIR)/zlib; then \
56177 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
56178 mv prev-zlib stage1-zlib; : ; \
56180 @endif zlib
56181 @if lto-plugin
56182 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56183 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
56184 mv prev-lto-plugin stage1-lto-plugin; : ; \
56186 @endif lto-plugin
56187 @if libctf
56188 @if test -d $(HOST_SUBDIR)/libctf; then \
56189 cd $(HOST_SUBDIR); mv libctf stage2-libctf; \
56190 mv prev-libctf stage1-libctf; : ; \
56192 @endif libctf
56193 @if test -d $(TARGET_SUBDIR); then \
56194 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
56195 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
56197 rm -f stage_current
56199 # Bubble a bug fix through all the stages up to stage 2. They are
56200 # remade, but not reconfigured. The next stage (if any) will not be
56201 # reconfigured either.
56202 .PHONY: stage2-bubble
56203 stage2-bubble:: stage1-bubble
56204 @r=`${PWD_COMMAND}`; export r; \
56205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56206 if test -f stage2-lean || test -f stage1-lean ; then \
56207 echo Skipping rebuild of stage2; \
56208 else \
56209 $(MAKE) stage2-start; \
56210 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
56213 .PHONY: all-stage2 clean-stage2
56214 do-clean: clean-stage2
56216 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56217 # only possibility, but now it conflicts with no-bootstrap rules
56218 @if gcc-bootstrap
56222 .PHONY: bootstrap2 bootstrap2-lean
56223 bootstrap2:
56224 echo stage2 > stage_final
56225 @r=`${PWD_COMMAND}`; export r; \
56226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56227 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
56228 @: $(MAKE); $(unstage)
56229 @r=`${PWD_COMMAND}`; export r; \
56230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56231 TFLAGS="$(STAGE2_TFLAGS)"; \
56232 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56234 bootstrap2-lean:
56235 echo stage2 > stage_final
56236 @r=`${PWD_COMMAND}`; export r; \
56237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56238 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
56239 @: $(MAKE); $(unstage)
56240 @r=`${PWD_COMMAND}`; export r; \
56241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56242 TFLAGS="$(STAGE2_TFLAGS)"; \
56243 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56246 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56247 distclean-stage1:: distclean-stage2
56248 .PHONY: distclean-stage2
56249 distclean-stage2::
56250 @: $(MAKE); $(stage)
56251 @test "`cat stage_last`" != stage2 || rm -f stage_last
56252 rm -rf stage2-*
56255 @endif gcc-bootstrap
56258 .PHONY: stage3-start stage3-end
56260 stage3-start::
56261 @: $(MAKE); $(stage); \
56262 echo stage3 > stage_current; \
56263 echo stage3 > stage_last; \
56264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56265 @if bfd
56266 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
56267 mkdir stage3-bfd; \
56268 mv stage3-bfd bfd; \
56269 mv stage2-bfd prev-bfd || test -f stage2-lean
56270 @endif bfd
56271 @if opcodes
56272 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
56273 mkdir stage3-opcodes; \
56274 mv stage3-opcodes opcodes; \
56275 mv stage2-opcodes prev-opcodes || test -f stage2-lean
56276 @endif opcodes
56277 @if binutils
56278 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
56279 mkdir stage3-binutils; \
56280 mv stage3-binutils binutils; \
56281 mv stage2-binutils prev-binutils || test -f stage2-lean
56282 @endif binutils
56283 @if fixincludes
56284 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
56285 mkdir stage3-fixincludes; \
56286 mv stage3-fixincludes fixincludes; \
56287 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
56288 @endif fixincludes
56289 @if gas
56290 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
56291 mkdir stage3-gas; \
56292 mv stage3-gas gas; \
56293 mv stage2-gas prev-gas || test -f stage2-lean
56294 @endif gas
56295 @if gcc
56296 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
56297 mkdir stage3-gcc; \
56298 mv stage3-gcc gcc; \
56299 mv stage2-gcc prev-gcc || test -f stage2-lean
56300 @endif gcc
56301 @if gmp
56302 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
56303 mkdir stage3-gmp; \
56304 mv stage3-gmp gmp; \
56305 mv stage2-gmp prev-gmp || test -f stage2-lean
56306 @endif gmp
56307 @if mpfr
56308 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
56309 mkdir stage3-mpfr; \
56310 mv stage3-mpfr mpfr; \
56311 mv stage2-mpfr prev-mpfr || test -f stage2-lean
56312 @endif mpfr
56313 @if mpc
56314 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
56315 mkdir stage3-mpc; \
56316 mv stage3-mpc mpc; \
56317 mv stage2-mpc prev-mpc || test -f stage2-lean
56318 @endif mpc
56319 @if isl
56320 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
56321 mkdir stage3-isl; \
56322 mv stage3-isl isl; \
56323 mv stage2-isl prev-isl || test -f stage2-lean
56324 @endif isl
56325 @if libelf
56326 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
56327 mkdir stage3-libelf; \
56328 mv stage3-libelf libelf; \
56329 mv stage2-libelf prev-libelf || test -f stage2-lean
56330 @endif libelf
56331 @if gold
56332 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
56333 mkdir stage3-gold; \
56334 mv stage3-gold gold; \
56335 mv stage2-gold prev-gold || test -f stage2-lean
56336 @endif gold
56337 @if intl
56338 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
56339 mkdir stage3-intl; \
56340 mv stage3-intl intl; \
56341 mv stage2-intl prev-intl || test -f stage2-lean
56342 @endif intl
56343 @if ld
56344 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
56345 mkdir stage3-ld; \
56346 mv stage3-ld ld; \
56347 mv stage2-ld prev-ld || test -f stage2-lean
56348 @endif ld
56349 @if libbacktrace
56350 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
56351 mkdir stage3-libbacktrace; \
56352 mv stage3-libbacktrace libbacktrace; \
56353 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
56354 @endif libbacktrace
56355 @if libcpp
56356 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
56357 mkdir stage3-libcpp; \
56358 mv stage3-libcpp libcpp; \
56359 mv stage2-libcpp prev-libcpp || test -f stage2-lean
56360 @endif libcpp
56361 @if libdecnumber
56362 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
56363 mkdir stage3-libdecnumber; \
56364 mv stage3-libdecnumber libdecnumber; \
56365 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
56366 @endif libdecnumber
56367 @if libiberty
56368 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
56369 mkdir stage3-libiberty; \
56370 mv stage3-libiberty libiberty; \
56371 mv stage2-libiberty prev-libiberty || test -f stage2-lean
56372 @endif libiberty
56373 @if libiberty-linker-plugin
56374 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
56375 mkdir stage3-libiberty-linker-plugin; \
56376 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
56377 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
56378 @endif libiberty-linker-plugin
56379 @if libiconv
56380 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
56381 mkdir stage3-libiconv; \
56382 mv stage3-libiconv libiconv; \
56383 mv stage2-libiconv prev-libiconv || test -f stage2-lean
56384 @endif libiconv
56385 @if zlib
56386 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
56387 mkdir stage3-zlib; \
56388 mv stage3-zlib zlib; \
56389 mv stage2-zlib prev-zlib || test -f stage2-lean
56390 @endif zlib
56391 @if lto-plugin
56392 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
56393 mkdir stage3-lto-plugin; \
56394 mv stage3-lto-plugin lto-plugin; \
56395 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
56396 @endif lto-plugin
56397 @if libctf
56398 @cd $(HOST_SUBDIR); [ -d stage3-libctf ] || \
56399 mkdir stage3-libctf; \
56400 mv stage3-libctf libctf; \
56401 mv stage2-libctf prev-libctf || test -f stage2-lean
56402 @endif libctf
56403 @[ -d stage3-$(TARGET_SUBDIR) ] || \
56404 mkdir stage3-$(TARGET_SUBDIR); \
56405 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56406 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
56408 stage3-end::
56409 @if bfd
56410 @if test -d $(HOST_SUBDIR)/bfd; then \
56411 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
56412 mv prev-bfd stage2-bfd; : ; \
56414 @endif bfd
56415 @if opcodes
56416 @if test -d $(HOST_SUBDIR)/opcodes; then \
56417 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
56418 mv prev-opcodes stage2-opcodes; : ; \
56420 @endif opcodes
56421 @if binutils
56422 @if test -d $(HOST_SUBDIR)/binutils; then \
56423 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
56424 mv prev-binutils stage2-binutils; : ; \
56426 @endif binutils
56427 @if fixincludes
56428 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56429 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
56430 mv prev-fixincludes stage2-fixincludes; : ; \
56432 @endif fixincludes
56433 @if gas
56434 @if test -d $(HOST_SUBDIR)/gas; then \
56435 cd $(HOST_SUBDIR); mv gas stage3-gas; \
56436 mv prev-gas stage2-gas; : ; \
56438 @endif gas
56439 @if gcc
56440 @if test -d $(HOST_SUBDIR)/gcc; then \
56441 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
56442 mv prev-gcc stage2-gcc; : ; \
56444 @endif gcc
56445 @if gmp
56446 @if test -d $(HOST_SUBDIR)/gmp; then \
56447 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
56448 mv prev-gmp stage2-gmp; : ; \
56450 @endif gmp
56451 @if mpfr
56452 @if test -d $(HOST_SUBDIR)/mpfr; then \
56453 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
56454 mv prev-mpfr stage2-mpfr; : ; \
56456 @endif mpfr
56457 @if mpc
56458 @if test -d $(HOST_SUBDIR)/mpc; then \
56459 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
56460 mv prev-mpc stage2-mpc; : ; \
56462 @endif mpc
56463 @if isl
56464 @if test -d $(HOST_SUBDIR)/isl; then \
56465 cd $(HOST_SUBDIR); mv isl stage3-isl; \
56466 mv prev-isl stage2-isl; : ; \
56468 @endif isl
56469 @if libelf
56470 @if test -d $(HOST_SUBDIR)/libelf; then \
56471 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
56472 mv prev-libelf stage2-libelf; : ; \
56474 @endif libelf
56475 @if gold
56476 @if test -d $(HOST_SUBDIR)/gold; then \
56477 cd $(HOST_SUBDIR); mv gold stage3-gold; \
56478 mv prev-gold stage2-gold; : ; \
56480 @endif gold
56481 @if intl
56482 @if test -d $(HOST_SUBDIR)/intl; then \
56483 cd $(HOST_SUBDIR); mv intl stage3-intl; \
56484 mv prev-intl stage2-intl; : ; \
56486 @endif intl
56487 @if ld
56488 @if test -d $(HOST_SUBDIR)/ld; then \
56489 cd $(HOST_SUBDIR); mv ld stage3-ld; \
56490 mv prev-ld stage2-ld; : ; \
56492 @endif ld
56493 @if libbacktrace
56494 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56495 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
56496 mv prev-libbacktrace stage2-libbacktrace; : ; \
56498 @endif libbacktrace
56499 @if libcpp
56500 @if test -d $(HOST_SUBDIR)/libcpp; then \
56501 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
56502 mv prev-libcpp stage2-libcpp; : ; \
56504 @endif libcpp
56505 @if libdecnumber
56506 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56507 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
56508 mv prev-libdecnumber stage2-libdecnumber; : ; \
56510 @endif libdecnumber
56511 @if libiberty
56512 @if test -d $(HOST_SUBDIR)/libiberty; then \
56513 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
56514 mv prev-libiberty stage2-libiberty; : ; \
56516 @endif libiberty
56517 @if libiberty-linker-plugin
56518 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56519 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
56520 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
56522 @endif libiberty-linker-plugin
56523 @if libiconv
56524 @if test -d $(HOST_SUBDIR)/libiconv; then \
56525 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
56526 mv prev-libiconv stage2-libiconv; : ; \
56528 @endif libiconv
56529 @if zlib
56530 @if test -d $(HOST_SUBDIR)/zlib; then \
56531 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
56532 mv prev-zlib stage2-zlib; : ; \
56534 @endif zlib
56535 @if lto-plugin
56536 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56537 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
56538 mv prev-lto-plugin stage2-lto-plugin; : ; \
56540 @endif lto-plugin
56541 @if libctf
56542 @if test -d $(HOST_SUBDIR)/libctf; then \
56543 cd $(HOST_SUBDIR); mv libctf stage3-libctf; \
56544 mv prev-libctf stage2-libctf; : ; \
56546 @endif libctf
56547 @if test -d $(TARGET_SUBDIR); then \
56548 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
56549 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
56551 rm -f stage_current
56553 # Bubble a bug fix through all the stages up to stage 3. They are
56554 # remade, but not reconfigured. The next stage (if any) will not be
56555 # reconfigured either.
56556 .PHONY: stage3-bubble
56557 stage3-bubble:: stage2-bubble
56558 @r=`${PWD_COMMAND}`; export r; \
56559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56560 if test -f stage3-lean || test -f stage2-lean ; then \
56561 echo Skipping rebuild of stage3; \
56562 else \
56563 $(MAKE) stage3-start; \
56564 if $(LEAN); then \
56565 rm -rf stage1-*; \
56566 $(STAMP) stage1-lean; \
56567 fi; \
56568 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
56570 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
56572 .PHONY: all-stage3 clean-stage3
56573 do-clean: clean-stage3
56575 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56576 # only possibility, but now it conflicts with no-bootstrap rules
56577 @if gcc-bootstrap
56579 compare:
56580 @r=`${PWD_COMMAND}`; export r; \
56581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56582 if test -f stage2-lean; then \
56583 echo Cannot compare object files as stage 2 was deleted.; \
56584 exit 0; \
56585 fi; \
56586 : $(MAKE); $(stage); \
56587 rm -f .bad_compare; \
56588 echo Comparing stages 2 and 3; \
56589 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
56590 files=`find stage3-* -name "*$(objext)" -print | \
56591 sed -n s,^stage$$sed-,,p`; \
56592 for file in $${files} ${extra-compare}; do \
56593 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
56594 if test ! -f $$f1; then continue; fi; \
56595 $(do-compare) > /dev/null 2>&1; \
56596 if test $$? -eq 1; then \
56597 case $$file in \
56598 @compare_exclusions@) \
56599 echo warning: $$file differs ;; \
56600 *) \
56601 echo $$file differs >> .bad_compare ;; \
56602 esac; \
56603 fi; \
56604 done; \
56605 if [ -f .bad_compare ]; then \
56606 echo "Bootstrap comparison failure!"; \
56607 cat .bad_compare; \
56608 exit 1; \
56609 else \
56610 echo Comparison successful.; \
56611 fi; \
56612 $(STAMP) compare
56613 if $(LEAN); then \
56614 rm -rf stage2-*; \
56615 $(STAMP) stage2-lean; \
56620 .PHONY: bootstrap bootstrap-lean
56621 bootstrap:
56622 echo stage3 > stage_final
56623 @r=`${PWD_COMMAND}`; export r; \
56624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56625 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
56626 @: $(MAKE); $(unstage)
56627 @r=`${PWD_COMMAND}`; export r; \
56628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56629 TFLAGS="$(STAGE3_TFLAGS)"; \
56630 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56632 bootstrap-lean:
56633 echo stage3 > stage_final
56634 @r=`${PWD_COMMAND}`; export r; \
56635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56636 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
56637 @: $(MAKE); $(unstage)
56638 @r=`${PWD_COMMAND}`; export r; \
56639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56640 TFLAGS="$(STAGE3_TFLAGS)"; \
56641 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56644 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56645 distclean-stage2:: distclean-stage3
56646 .PHONY: distclean-stage3
56647 distclean-stage3::
56648 @: $(MAKE); $(stage)
56649 @test "`cat stage_last`" != stage3 || rm -f stage_last
56650 rm -rf stage3-* compare
56653 .PHONY: cleanstrap
56654 cleanstrap: do-distclean local-clean
56655 echo stage3 > stage_final
56656 @r=`${PWD_COMMAND}`; export r; \
56657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56658 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
56659 @: $(MAKE); $(unstage)
56660 @r=`${PWD_COMMAND}`; export r; \
56661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56662 TFLAGS="$(STAGE3_TFLAGS)"; \
56663 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56665 @endif gcc-bootstrap
56668 .PHONY: stage4-start stage4-end
56670 stage4-start::
56671 @: $(MAKE); $(stage); \
56672 echo stage4 > stage_current; \
56673 echo stage4 > stage_last; \
56674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56675 @if bfd
56676 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
56677 mkdir stage4-bfd; \
56678 mv stage4-bfd bfd; \
56679 mv stage3-bfd prev-bfd || test -f stage3-lean
56680 @endif bfd
56681 @if opcodes
56682 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
56683 mkdir stage4-opcodes; \
56684 mv stage4-opcodes opcodes; \
56685 mv stage3-opcodes prev-opcodes || test -f stage3-lean
56686 @endif opcodes
56687 @if binutils
56688 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
56689 mkdir stage4-binutils; \
56690 mv stage4-binutils binutils; \
56691 mv stage3-binutils prev-binutils || test -f stage3-lean
56692 @endif binutils
56693 @if fixincludes
56694 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
56695 mkdir stage4-fixincludes; \
56696 mv stage4-fixincludes fixincludes; \
56697 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
56698 @endif fixincludes
56699 @if gas
56700 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
56701 mkdir stage4-gas; \
56702 mv stage4-gas gas; \
56703 mv stage3-gas prev-gas || test -f stage3-lean
56704 @endif gas
56705 @if gcc
56706 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
56707 mkdir stage4-gcc; \
56708 mv stage4-gcc gcc; \
56709 mv stage3-gcc prev-gcc || test -f stage3-lean
56710 @endif gcc
56711 @if gmp
56712 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
56713 mkdir stage4-gmp; \
56714 mv stage4-gmp gmp; \
56715 mv stage3-gmp prev-gmp || test -f stage3-lean
56716 @endif gmp
56717 @if mpfr
56718 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
56719 mkdir stage4-mpfr; \
56720 mv stage4-mpfr mpfr; \
56721 mv stage3-mpfr prev-mpfr || test -f stage3-lean
56722 @endif mpfr
56723 @if mpc
56724 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
56725 mkdir stage4-mpc; \
56726 mv stage4-mpc mpc; \
56727 mv stage3-mpc prev-mpc || test -f stage3-lean
56728 @endif mpc
56729 @if isl
56730 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
56731 mkdir stage4-isl; \
56732 mv stage4-isl isl; \
56733 mv stage3-isl prev-isl || test -f stage3-lean
56734 @endif isl
56735 @if libelf
56736 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
56737 mkdir stage4-libelf; \
56738 mv stage4-libelf libelf; \
56739 mv stage3-libelf prev-libelf || test -f stage3-lean
56740 @endif libelf
56741 @if gold
56742 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
56743 mkdir stage4-gold; \
56744 mv stage4-gold gold; \
56745 mv stage3-gold prev-gold || test -f stage3-lean
56746 @endif gold
56747 @if intl
56748 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
56749 mkdir stage4-intl; \
56750 mv stage4-intl intl; \
56751 mv stage3-intl prev-intl || test -f stage3-lean
56752 @endif intl
56753 @if ld
56754 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
56755 mkdir stage4-ld; \
56756 mv stage4-ld ld; \
56757 mv stage3-ld prev-ld || test -f stage3-lean
56758 @endif ld
56759 @if libbacktrace
56760 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
56761 mkdir stage4-libbacktrace; \
56762 mv stage4-libbacktrace libbacktrace; \
56763 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
56764 @endif libbacktrace
56765 @if libcpp
56766 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
56767 mkdir stage4-libcpp; \
56768 mv stage4-libcpp libcpp; \
56769 mv stage3-libcpp prev-libcpp || test -f stage3-lean
56770 @endif libcpp
56771 @if libdecnumber
56772 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
56773 mkdir stage4-libdecnumber; \
56774 mv stage4-libdecnumber libdecnumber; \
56775 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
56776 @endif libdecnumber
56777 @if libiberty
56778 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
56779 mkdir stage4-libiberty; \
56780 mv stage4-libiberty libiberty; \
56781 mv stage3-libiberty prev-libiberty || test -f stage3-lean
56782 @endif libiberty
56783 @if libiberty-linker-plugin
56784 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
56785 mkdir stage4-libiberty-linker-plugin; \
56786 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
56787 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
56788 @endif libiberty-linker-plugin
56789 @if libiconv
56790 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
56791 mkdir stage4-libiconv; \
56792 mv stage4-libiconv libiconv; \
56793 mv stage3-libiconv prev-libiconv || test -f stage3-lean
56794 @endif libiconv
56795 @if zlib
56796 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
56797 mkdir stage4-zlib; \
56798 mv stage4-zlib zlib; \
56799 mv stage3-zlib prev-zlib || test -f stage3-lean
56800 @endif zlib
56801 @if lto-plugin
56802 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
56803 mkdir stage4-lto-plugin; \
56804 mv stage4-lto-plugin lto-plugin; \
56805 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
56806 @endif lto-plugin
56807 @if libctf
56808 @cd $(HOST_SUBDIR); [ -d stage4-libctf ] || \
56809 mkdir stage4-libctf; \
56810 mv stage4-libctf libctf; \
56811 mv stage3-libctf prev-libctf || test -f stage3-lean
56812 @endif libctf
56813 @[ -d stage4-$(TARGET_SUBDIR) ] || \
56814 mkdir stage4-$(TARGET_SUBDIR); \
56815 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56816 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
56818 stage4-end::
56819 @if bfd
56820 @if test -d $(HOST_SUBDIR)/bfd; then \
56821 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
56822 mv prev-bfd stage3-bfd; : ; \
56824 @endif bfd
56825 @if opcodes
56826 @if test -d $(HOST_SUBDIR)/opcodes; then \
56827 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
56828 mv prev-opcodes stage3-opcodes; : ; \
56830 @endif opcodes
56831 @if binutils
56832 @if test -d $(HOST_SUBDIR)/binutils; then \
56833 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
56834 mv prev-binutils stage3-binutils; : ; \
56836 @endif binutils
56837 @if fixincludes
56838 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56839 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
56840 mv prev-fixincludes stage3-fixincludes; : ; \
56842 @endif fixincludes
56843 @if gas
56844 @if test -d $(HOST_SUBDIR)/gas; then \
56845 cd $(HOST_SUBDIR); mv gas stage4-gas; \
56846 mv prev-gas stage3-gas; : ; \
56848 @endif gas
56849 @if gcc
56850 @if test -d $(HOST_SUBDIR)/gcc; then \
56851 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
56852 mv prev-gcc stage3-gcc; : ; \
56854 @endif gcc
56855 @if gmp
56856 @if test -d $(HOST_SUBDIR)/gmp; then \
56857 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
56858 mv prev-gmp stage3-gmp; : ; \
56860 @endif gmp
56861 @if mpfr
56862 @if test -d $(HOST_SUBDIR)/mpfr; then \
56863 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
56864 mv prev-mpfr stage3-mpfr; : ; \
56866 @endif mpfr
56867 @if mpc
56868 @if test -d $(HOST_SUBDIR)/mpc; then \
56869 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
56870 mv prev-mpc stage3-mpc; : ; \
56872 @endif mpc
56873 @if isl
56874 @if test -d $(HOST_SUBDIR)/isl; then \
56875 cd $(HOST_SUBDIR); mv isl stage4-isl; \
56876 mv prev-isl stage3-isl; : ; \
56878 @endif isl
56879 @if libelf
56880 @if test -d $(HOST_SUBDIR)/libelf; then \
56881 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
56882 mv prev-libelf stage3-libelf; : ; \
56884 @endif libelf
56885 @if gold
56886 @if test -d $(HOST_SUBDIR)/gold; then \
56887 cd $(HOST_SUBDIR); mv gold stage4-gold; \
56888 mv prev-gold stage3-gold; : ; \
56890 @endif gold
56891 @if intl
56892 @if test -d $(HOST_SUBDIR)/intl; then \
56893 cd $(HOST_SUBDIR); mv intl stage4-intl; \
56894 mv prev-intl stage3-intl; : ; \
56896 @endif intl
56897 @if ld
56898 @if test -d $(HOST_SUBDIR)/ld; then \
56899 cd $(HOST_SUBDIR); mv ld stage4-ld; \
56900 mv prev-ld stage3-ld; : ; \
56902 @endif ld
56903 @if libbacktrace
56904 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56905 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
56906 mv prev-libbacktrace stage3-libbacktrace; : ; \
56908 @endif libbacktrace
56909 @if libcpp
56910 @if test -d $(HOST_SUBDIR)/libcpp; then \
56911 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
56912 mv prev-libcpp stage3-libcpp; : ; \
56914 @endif libcpp
56915 @if libdecnumber
56916 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56917 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
56918 mv prev-libdecnumber stage3-libdecnumber; : ; \
56920 @endif libdecnumber
56921 @if libiberty
56922 @if test -d $(HOST_SUBDIR)/libiberty; then \
56923 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
56924 mv prev-libiberty stage3-libiberty; : ; \
56926 @endif libiberty
56927 @if libiberty-linker-plugin
56928 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56929 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
56930 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
56932 @endif libiberty-linker-plugin
56933 @if libiconv
56934 @if test -d $(HOST_SUBDIR)/libiconv; then \
56935 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
56936 mv prev-libiconv stage3-libiconv; : ; \
56938 @endif libiconv
56939 @if zlib
56940 @if test -d $(HOST_SUBDIR)/zlib; then \
56941 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
56942 mv prev-zlib stage3-zlib; : ; \
56944 @endif zlib
56945 @if lto-plugin
56946 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56947 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
56948 mv prev-lto-plugin stage3-lto-plugin; : ; \
56950 @endif lto-plugin
56951 @if libctf
56952 @if test -d $(HOST_SUBDIR)/libctf; then \
56953 cd $(HOST_SUBDIR); mv libctf stage4-libctf; \
56954 mv prev-libctf stage3-libctf; : ; \
56956 @endif libctf
56957 @if test -d $(TARGET_SUBDIR); then \
56958 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
56959 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
56961 rm -f stage_current
56963 # Bubble a bug fix through all the stages up to stage 4. They are
56964 # remade, but not reconfigured. The next stage (if any) will not be
56965 # reconfigured either.
56966 .PHONY: stage4-bubble
56967 stage4-bubble:: stage3-bubble
56968 @r=`${PWD_COMMAND}`; export r; \
56969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56970 if test -f stage4-lean || test -f stage3-lean ; then \
56971 echo Skipping rebuild of stage4; \
56972 else \
56973 $(MAKE) stage4-start; \
56974 if $(LEAN); then \
56975 rm -rf stage2-*; \
56976 $(STAMP) stage2-lean; \
56977 fi; \
56978 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
56980 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
56982 .PHONY: all-stage4 clean-stage4
56983 do-clean: clean-stage4
56985 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56986 # only possibility, but now it conflicts with no-bootstrap rules
56987 @if gcc-bootstrap
56989 compare3:
56990 @r=`${PWD_COMMAND}`; export r; \
56991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56992 if test -f stage3-lean; then \
56993 echo Cannot compare object files as stage 3 was deleted.; \
56994 exit 0; \
56995 fi; \
56996 : $(MAKE); $(stage); \
56997 rm -f .bad_compare; \
56998 echo Comparing stages 3 and 4; \
56999 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
57000 files=`find stage4-* -name "*$(objext)" -print | \
57001 sed -n s,^stage$$sed-,,p`; \
57002 for file in $${files} ${extra-compare}; do \
57003 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
57004 if test ! -f $$f1; then continue; fi; \
57005 $(do-compare3) > /dev/null 2>&1; \
57006 if test $$? -eq 1; then \
57007 case $$file in \
57008 @compare_exclusions@) \
57009 echo warning: $$file differs ;; \
57010 *) \
57011 echo $$file differs >> .bad_compare ;; \
57012 esac; \
57013 fi; \
57014 done; \
57015 if [ -f .bad_compare ]; then \
57016 echo "Bootstrap comparison failure!"; \
57017 cat .bad_compare; \
57018 exit 1; \
57019 else \
57020 echo Comparison successful.; \
57021 fi; \
57022 $(STAMP) compare3
57023 if $(LEAN); then \
57024 rm -rf stage3-*; \
57025 $(STAMP) stage3-lean; \
57030 .PHONY: bootstrap4 bootstrap4-lean
57031 bootstrap4:
57032 echo stage4 > stage_final
57033 @r=`${PWD_COMMAND}`; export r; \
57034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57035 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
57036 @: $(MAKE); $(unstage)
57037 @r=`${PWD_COMMAND}`; export r; \
57038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57039 TFLAGS="$(STAGE4_TFLAGS)"; \
57040 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57042 bootstrap4-lean:
57043 echo stage4 > stage_final
57044 @r=`${PWD_COMMAND}`; export r; \
57045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57046 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
57047 @: $(MAKE); $(unstage)
57048 @r=`${PWD_COMMAND}`; export r; \
57049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57050 TFLAGS="$(STAGE4_TFLAGS)"; \
57051 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57054 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57055 distclean-stage3:: distclean-stage4
57056 .PHONY: distclean-stage4
57057 distclean-stage4::
57058 @: $(MAKE); $(stage)
57059 @test "`cat stage_last`" != stage4 || rm -f stage_last
57060 rm -rf stage4-* compare3
57063 @endif gcc-bootstrap
57066 .PHONY: stageprofile-start stageprofile-end
57068 stageprofile-start::
57069 @: $(MAKE); $(stage); \
57070 echo stageprofile > stage_current; \
57071 echo stageprofile > stage_last; \
57072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57073 @if bfd
57074 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
57075 mkdir stageprofile-bfd; \
57076 mv stageprofile-bfd bfd; \
57077 mv stage1-bfd prev-bfd || test -f stage1-lean
57078 @endif bfd
57079 @if opcodes
57080 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
57081 mkdir stageprofile-opcodes; \
57082 mv stageprofile-opcodes opcodes; \
57083 mv stage1-opcodes prev-opcodes || test -f stage1-lean
57084 @endif opcodes
57085 @if binutils
57086 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
57087 mkdir stageprofile-binutils; \
57088 mv stageprofile-binutils binutils; \
57089 mv stage1-binutils prev-binutils || test -f stage1-lean
57090 @endif binutils
57091 @if fixincludes
57092 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
57093 mkdir stageprofile-fixincludes; \
57094 mv stageprofile-fixincludes fixincludes; \
57095 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
57096 @endif fixincludes
57097 @if gas
57098 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
57099 mkdir stageprofile-gas; \
57100 mv stageprofile-gas gas; \
57101 mv stage1-gas prev-gas || test -f stage1-lean
57102 @endif gas
57103 @if gcc
57104 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
57105 mkdir stageprofile-gcc; \
57106 mv stageprofile-gcc gcc; \
57107 mv stage1-gcc prev-gcc || test -f stage1-lean
57108 @endif gcc
57109 @if gmp
57110 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
57111 mkdir stageprofile-gmp; \
57112 mv stageprofile-gmp gmp; \
57113 mv stage1-gmp prev-gmp || test -f stage1-lean
57114 @endif gmp
57115 @if mpfr
57116 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
57117 mkdir stageprofile-mpfr; \
57118 mv stageprofile-mpfr mpfr; \
57119 mv stage1-mpfr prev-mpfr || test -f stage1-lean
57120 @endif mpfr
57121 @if mpc
57122 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
57123 mkdir stageprofile-mpc; \
57124 mv stageprofile-mpc mpc; \
57125 mv stage1-mpc prev-mpc || test -f stage1-lean
57126 @endif mpc
57127 @if isl
57128 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
57129 mkdir stageprofile-isl; \
57130 mv stageprofile-isl isl; \
57131 mv stage1-isl prev-isl || test -f stage1-lean
57132 @endif isl
57133 @if libelf
57134 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
57135 mkdir stageprofile-libelf; \
57136 mv stageprofile-libelf libelf; \
57137 mv stage1-libelf prev-libelf || test -f stage1-lean
57138 @endif libelf
57139 @if gold
57140 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
57141 mkdir stageprofile-gold; \
57142 mv stageprofile-gold gold; \
57143 mv stage1-gold prev-gold || test -f stage1-lean
57144 @endif gold
57145 @if intl
57146 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
57147 mkdir stageprofile-intl; \
57148 mv stageprofile-intl intl; \
57149 mv stage1-intl prev-intl || test -f stage1-lean
57150 @endif intl
57151 @if ld
57152 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
57153 mkdir stageprofile-ld; \
57154 mv stageprofile-ld ld; \
57155 mv stage1-ld prev-ld || test -f stage1-lean
57156 @endif ld
57157 @if libbacktrace
57158 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
57159 mkdir stageprofile-libbacktrace; \
57160 mv stageprofile-libbacktrace libbacktrace; \
57161 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
57162 @endif libbacktrace
57163 @if libcpp
57164 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
57165 mkdir stageprofile-libcpp; \
57166 mv stageprofile-libcpp libcpp; \
57167 mv stage1-libcpp prev-libcpp || test -f stage1-lean
57168 @endif libcpp
57169 @if libdecnumber
57170 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
57171 mkdir stageprofile-libdecnumber; \
57172 mv stageprofile-libdecnumber libdecnumber; \
57173 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
57174 @endif libdecnumber
57175 @if libiberty
57176 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
57177 mkdir stageprofile-libiberty; \
57178 mv stageprofile-libiberty libiberty; \
57179 mv stage1-libiberty prev-libiberty || test -f stage1-lean
57180 @endif libiberty
57181 @if libiberty-linker-plugin
57182 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
57183 mkdir stageprofile-libiberty-linker-plugin; \
57184 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
57185 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
57186 @endif libiberty-linker-plugin
57187 @if libiconv
57188 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
57189 mkdir stageprofile-libiconv; \
57190 mv stageprofile-libiconv libiconv; \
57191 mv stage1-libiconv prev-libiconv || test -f stage1-lean
57192 @endif libiconv
57193 @if zlib
57194 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
57195 mkdir stageprofile-zlib; \
57196 mv stageprofile-zlib zlib; \
57197 mv stage1-zlib prev-zlib || test -f stage1-lean
57198 @endif zlib
57199 @if lto-plugin
57200 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
57201 mkdir stageprofile-lto-plugin; \
57202 mv stageprofile-lto-plugin lto-plugin; \
57203 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
57204 @endif lto-plugin
57205 @if libctf
57206 @cd $(HOST_SUBDIR); [ -d stageprofile-libctf ] || \
57207 mkdir stageprofile-libctf; \
57208 mv stageprofile-libctf libctf; \
57209 mv stage1-libctf prev-libctf || test -f stage1-lean
57210 @endif libctf
57211 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
57212 mkdir stageprofile-$(TARGET_SUBDIR); \
57213 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57214 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
57216 stageprofile-end::
57217 @if bfd
57218 @if test -d $(HOST_SUBDIR)/bfd; then \
57219 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
57220 mv prev-bfd stage1-bfd; : ; \
57222 @endif bfd
57223 @if opcodes
57224 @if test -d $(HOST_SUBDIR)/opcodes; then \
57225 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
57226 mv prev-opcodes stage1-opcodes; : ; \
57228 @endif opcodes
57229 @if binutils
57230 @if test -d $(HOST_SUBDIR)/binutils; then \
57231 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
57232 mv prev-binutils stage1-binutils; : ; \
57234 @endif binutils
57235 @if fixincludes
57236 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57237 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
57238 mv prev-fixincludes stage1-fixincludes; : ; \
57240 @endif fixincludes
57241 @if gas
57242 @if test -d $(HOST_SUBDIR)/gas; then \
57243 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
57244 mv prev-gas stage1-gas; : ; \
57246 @endif gas
57247 @if gcc
57248 @if test -d $(HOST_SUBDIR)/gcc; then \
57249 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
57250 mv prev-gcc stage1-gcc; : ; \
57252 @endif gcc
57253 @if gmp
57254 @if test -d $(HOST_SUBDIR)/gmp; then \
57255 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
57256 mv prev-gmp stage1-gmp; : ; \
57258 @endif gmp
57259 @if mpfr
57260 @if test -d $(HOST_SUBDIR)/mpfr; then \
57261 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
57262 mv prev-mpfr stage1-mpfr; : ; \
57264 @endif mpfr
57265 @if mpc
57266 @if test -d $(HOST_SUBDIR)/mpc; then \
57267 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
57268 mv prev-mpc stage1-mpc; : ; \
57270 @endif mpc
57271 @if isl
57272 @if test -d $(HOST_SUBDIR)/isl; then \
57273 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
57274 mv prev-isl stage1-isl; : ; \
57276 @endif isl
57277 @if libelf
57278 @if test -d $(HOST_SUBDIR)/libelf; then \
57279 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
57280 mv prev-libelf stage1-libelf; : ; \
57282 @endif libelf
57283 @if gold
57284 @if test -d $(HOST_SUBDIR)/gold; then \
57285 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
57286 mv prev-gold stage1-gold; : ; \
57288 @endif gold
57289 @if intl
57290 @if test -d $(HOST_SUBDIR)/intl; then \
57291 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
57292 mv prev-intl stage1-intl; : ; \
57294 @endif intl
57295 @if ld
57296 @if test -d $(HOST_SUBDIR)/ld; then \
57297 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
57298 mv prev-ld stage1-ld; : ; \
57300 @endif ld
57301 @if libbacktrace
57302 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57303 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
57304 mv prev-libbacktrace stage1-libbacktrace; : ; \
57306 @endif libbacktrace
57307 @if libcpp
57308 @if test -d $(HOST_SUBDIR)/libcpp; then \
57309 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
57310 mv prev-libcpp stage1-libcpp; : ; \
57312 @endif libcpp
57313 @if libdecnumber
57314 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57315 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
57316 mv prev-libdecnumber stage1-libdecnumber; : ; \
57318 @endif libdecnumber
57319 @if libiberty
57320 @if test -d $(HOST_SUBDIR)/libiberty; then \
57321 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
57322 mv prev-libiberty stage1-libiberty; : ; \
57324 @endif libiberty
57325 @if libiberty-linker-plugin
57326 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57327 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
57328 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
57330 @endif libiberty-linker-plugin
57331 @if libiconv
57332 @if test -d $(HOST_SUBDIR)/libiconv; then \
57333 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
57334 mv prev-libiconv stage1-libiconv; : ; \
57336 @endif libiconv
57337 @if zlib
57338 @if test -d $(HOST_SUBDIR)/zlib; then \
57339 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
57340 mv prev-zlib stage1-zlib; : ; \
57342 @endif zlib
57343 @if lto-plugin
57344 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57345 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
57346 mv prev-lto-plugin stage1-lto-plugin; : ; \
57348 @endif lto-plugin
57349 @if libctf
57350 @if test -d $(HOST_SUBDIR)/libctf; then \
57351 cd $(HOST_SUBDIR); mv libctf stageprofile-libctf; \
57352 mv prev-libctf stage1-libctf; : ; \
57354 @endif libctf
57355 @if test -d $(TARGET_SUBDIR); then \
57356 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
57357 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
57359 rm -f stage_current
57361 # Bubble a bug fix through all the stages up to stage profile. They are
57362 # remade, but not reconfigured. The next stage (if any) will not be
57363 # reconfigured either.
57364 .PHONY: stageprofile-bubble
57365 stageprofile-bubble:: stage1-bubble
57366 @r=`${PWD_COMMAND}`; export r; \
57367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57368 if test -f stageprofile-lean || test -f stage1-lean ; then \
57369 echo Skipping rebuild of stageprofile; \
57370 else \
57371 $(MAKE) stageprofile-start; \
57372 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
57375 .PHONY: all-stageprofile clean-stageprofile
57376 do-clean: clean-stageprofile
57378 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57379 # only possibility, but now it conflicts with no-bootstrap rules
57380 @if gcc-bootstrap
57385 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57386 distclean-stage1:: distclean-stageprofile
57387 .PHONY: distclean-stageprofile
57388 distclean-stageprofile::
57389 @: $(MAKE); $(stage)
57390 @test "`cat stage_last`" != stageprofile || rm -f stage_last
57391 rm -rf stageprofile-*
57394 @endif gcc-bootstrap
57397 .PHONY: stagetrain-start stagetrain-end
57399 stagetrain-start::
57400 @: $(MAKE); $(stage); \
57401 echo stagetrain > stage_current; \
57402 echo stagetrain > stage_last; \
57403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57404 @if bfd
57405 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
57406 mkdir stagetrain-bfd; \
57407 mv stagetrain-bfd bfd; \
57408 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
57409 @endif bfd
57410 @if opcodes
57411 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
57412 mkdir stagetrain-opcodes; \
57413 mv stagetrain-opcodes opcodes; \
57414 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
57415 @endif opcodes
57416 @if binutils
57417 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
57418 mkdir stagetrain-binutils; \
57419 mv stagetrain-binutils binutils; \
57420 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
57421 @endif binutils
57422 @if fixincludes
57423 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
57424 mkdir stagetrain-fixincludes; \
57425 mv stagetrain-fixincludes fixincludes; \
57426 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
57427 @endif fixincludes
57428 @if gas
57429 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
57430 mkdir stagetrain-gas; \
57431 mv stagetrain-gas gas; \
57432 mv stageprofile-gas prev-gas || test -f stageprofile-lean
57433 @endif gas
57434 @if gcc
57435 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
57436 mkdir stagetrain-gcc; \
57437 mv stagetrain-gcc gcc; \
57438 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
57439 @endif gcc
57440 @if gmp
57441 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
57442 mkdir stagetrain-gmp; \
57443 mv stagetrain-gmp gmp; \
57444 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
57445 @endif gmp
57446 @if mpfr
57447 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
57448 mkdir stagetrain-mpfr; \
57449 mv stagetrain-mpfr mpfr; \
57450 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
57451 @endif mpfr
57452 @if mpc
57453 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
57454 mkdir stagetrain-mpc; \
57455 mv stagetrain-mpc mpc; \
57456 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
57457 @endif mpc
57458 @if isl
57459 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
57460 mkdir stagetrain-isl; \
57461 mv stagetrain-isl isl; \
57462 mv stageprofile-isl prev-isl || test -f stageprofile-lean
57463 @endif isl
57464 @if libelf
57465 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
57466 mkdir stagetrain-libelf; \
57467 mv stagetrain-libelf libelf; \
57468 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
57469 @endif libelf
57470 @if gold
57471 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
57472 mkdir stagetrain-gold; \
57473 mv stagetrain-gold gold; \
57474 mv stageprofile-gold prev-gold || test -f stageprofile-lean
57475 @endif gold
57476 @if intl
57477 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
57478 mkdir stagetrain-intl; \
57479 mv stagetrain-intl intl; \
57480 mv stageprofile-intl prev-intl || test -f stageprofile-lean
57481 @endif intl
57482 @if ld
57483 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
57484 mkdir stagetrain-ld; \
57485 mv stagetrain-ld ld; \
57486 mv stageprofile-ld prev-ld || test -f stageprofile-lean
57487 @endif ld
57488 @if libbacktrace
57489 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
57490 mkdir stagetrain-libbacktrace; \
57491 mv stagetrain-libbacktrace libbacktrace; \
57492 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
57493 @endif libbacktrace
57494 @if libcpp
57495 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
57496 mkdir stagetrain-libcpp; \
57497 mv stagetrain-libcpp libcpp; \
57498 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
57499 @endif libcpp
57500 @if libdecnumber
57501 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
57502 mkdir stagetrain-libdecnumber; \
57503 mv stagetrain-libdecnumber libdecnumber; \
57504 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
57505 @endif libdecnumber
57506 @if libiberty
57507 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
57508 mkdir stagetrain-libiberty; \
57509 mv stagetrain-libiberty libiberty; \
57510 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
57511 @endif libiberty
57512 @if libiberty-linker-plugin
57513 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
57514 mkdir stagetrain-libiberty-linker-plugin; \
57515 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
57516 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
57517 @endif libiberty-linker-plugin
57518 @if libiconv
57519 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
57520 mkdir stagetrain-libiconv; \
57521 mv stagetrain-libiconv libiconv; \
57522 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
57523 @endif libiconv
57524 @if zlib
57525 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
57526 mkdir stagetrain-zlib; \
57527 mv stagetrain-zlib zlib; \
57528 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
57529 @endif zlib
57530 @if lto-plugin
57531 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
57532 mkdir stagetrain-lto-plugin; \
57533 mv stagetrain-lto-plugin lto-plugin; \
57534 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
57535 @endif lto-plugin
57536 @if libctf
57537 @cd $(HOST_SUBDIR); [ -d stagetrain-libctf ] || \
57538 mkdir stagetrain-libctf; \
57539 mv stagetrain-libctf libctf; \
57540 mv stageprofile-libctf prev-libctf || test -f stageprofile-lean
57541 @endif libctf
57542 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
57543 mkdir stagetrain-$(TARGET_SUBDIR); \
57544 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57545 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
57547 stagetrain-end::
57548 @if bfd
57549 @if test -d $(HOST_SUBDIR)/bfd; then \
57550 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
57551 mv prev-bfd stageprofile-bfd; : ; \
57553 @endif bfd
57554 @if opcodes
57555 @if test -d $(HOST_SUBDIR)/opcodes; then \
57556 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
57557 mv prev-opcodes stageprofile-opcodes; : ; \
57559 @endif opcodes
57560 @if binutils
57561 @if test -d $(HOST_SUBDIR)/binutils; then \
57562 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
57563 mv prev-binutils stageprofile-binutils; : ; \
57565 @endif binutils
57566 @if fixincludes
57567 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57568 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
57569 mv prev-fixincludes stageprofile-fixincludes; : ; \
57571 @endif fixincludes
57572 @if gas
57573 @if test -d $(HOST_SUBDIR)/gas; then \
57574 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
57575 mv prev-gas stageprofile-gas; : ; \
57577 @endif gas
57578 @if gcc
57579 @if test -d $(HOST_SUBDIR)/gcc; then \
57580 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
57581 mv prev-gcc stageprofile-gcc; : ; \
57583 @endif gcc
57584 @if gmp
57585 @if test -d $(HOST_SUBDIR)/gmp; then \
57586 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
57587 mv prev-gmp stageprofile-gmp; : ; \
57589 @endif gmp
57590 @if mpfr
57591 @if test -d $(HOST_SUBDIR)/mpfr; then \
57592 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
57593 mv prev-mpfr stageprofile-mpfr; : ; \
57595 @endif mpfr
57596 @if mpc
57597 @if test -d $(HOST_SUBDIR)/mpc; then \
57598 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
57599 mv prev-mpc stageprofile-mpc; : ; \
57601 @endif mpc
57602 @if isl
57603 @if test -d $(HOST_SUBDIR)/isl; then \
57604 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
57605 mv prev-isl stageprofile-isl; : ; \
57607 @endif isl
57608 @if libelf
57609 @if test -d $(HOST_SUBDIR)/libelf; then \
57610 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
57611 mv prev-libelf stageprofile-libelf; : ; \
57613 @endif libelf
57614 @if gold
57615 @if test -d $(HOST_SUBDIR)/gold; then \
57616 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
57617 mv prev-gold stageprofile-gold; : ; \
57619 @endif gold
57620 @if intl
57621 @if test -d $(HOST_SUBDIR)/intl; then \
57622 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
57623 mv prev-intl stageprofile-intl; : ; \
57625 @endif intl
57626 @if ld
57627 @if test -d $(HOST_SUBDIR)/ld; then \
57628 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
57629 mv prev-ld stageprofile-ld; : ; \
57631 @endif ld
57632 @if libbacktrace
57633 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57634 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
57635 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
57637 @endif libbacktrace
57638 @if libcpp
57639 @if test -d $(HOST_SUBDIR)/libcpp; then \
57640 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
57641 mv prev-libcpp stageprofile-libcpp; : ; \
57643 @endif libcpp
57644 @if libdecnumber
57645 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57646 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
57647 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
57649 @endif libdecnumber
57650 @if libiberty
57651 @if test -d $(HOST_SUBDIR)/libiberty; then \
57652 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
57653 mv prev-libiberty stageprofile-libiberty; : ; \
57655 @endif libiberty
57656 @if libiberty-linker-plugin
57657 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57658 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
57659 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
57661 @endif libiberty-linker-plugin
57662 @if libiconv
57663 @if test -d $(HOST_SUBDIR)/libiconv; then \
57664 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
57665 mv prev-libiconv stageprofile-libiconv; : ; \
57667 @endif libiconv
57668 @if zlib
57669 @if test -d $(HOST_SUBDIR)/zlib; then \
57670 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
57671 mv prev-zlib stageprofile-zlib; : ; \
57673 @endif zlib
57674 @if lto-plugin
57675 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57676 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
57677 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
57679 @endif lto-plugin
57680 @if libctf
57681 @if test -d $(HOST_SUBDIR)/libctf; then \
57682 cd $(HOST_SUBDIR); mv libctf stagetrain-libctf; \
57683 mv prev-libctf stageprofile-libctf; : ; \
57685 @endif libctf
57686 @if test -d $(TARGET_SUBDIR); then \
57687 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
57688 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
57690 rm -f stage_current
57692 # Bubble a bug fix through all the stages up to stage train. They are
57693 # remade, but not reconfigured. The next stage (if any) will not be
57694 # reconfigured either.
57695 .PHONY: stagetrain-bubble
57696 stagetrain-bubble:: stageprofile-bubble
57697 @r=`${PWD_COMMAND}`; export r; \
57698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57699 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
57700 echo Skipping rebuild of stagetrain; \
57701 else \
57702 $(MAKE) stagetrain-start; \
57703 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
57706 .PHONY: all-stagetrain clean-stagetrain
57707 do-clean: clean-stagetrain
57709 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57710 # only possibility, but now it conflicts with no-bootstrap rules
57711 @if gcc-bootstrap
57716 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57717 distclean-stageprofile:: distclean-stagetrain
57718 .PHONY: distclean-stagetrain
57719 distclean-stagetrain::
57720 @: $(MAKE); $(stage)
57721 @test "`cat stage_last`" != stagetrain || rm -f stage_last
57722 rm -rf stagetrain-*
57725 @endif gcc-bootstrap
57728 .PHONY: stagefeedback-start stagefeedback-end
57730 stagefeedback-start::
57731 @: $(MAKE); $(stage); \
57732 echo stagefeedback > stage_current; \
57733 echo stagefeedback > stage_last; \
57734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57735 @if bfd
57736 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
57737 mkdir stagefeedback-bfd; \
57738 mv stagefeedback-bfd bfd; \
57739 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
57740 @endif bfd
57741 @if opcodes
57742 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
57743 mkdir stagefeedback-opcodes; \
57744 mv stagefeedback-opcodes opcodes; \
57745 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
57746 @endif opcodes
57747 @if binutils
57748 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
57749 mkdir stagefeedback-binutils; \
57750 mv stagefeedback-binutils binutils; \
57751 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
57752 @endif binutils
57753 @if fixincludes
57754 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
57755 mkdir stagefeedback-fixincludes; \
57756 mv stagefeedback-fixincludes fixincludes; \
57757 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
57758 @endif fixincludes
57759 @if gas
57760 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
57761 mkdir stagefeedback-gas; \
57762 mv stagefeedback-gas gas; \
57763 mv stagetrain-gas prev-gas || test -f stagetrain-lean
57764 @endif gas
57765 @if gcc
57766 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
57767 mkdir stagefeedback-gcc; \
57768 mv stagefeedback-gcc gcc; \
57769 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
57770 @endif gcc
57771 @if gmp
57772 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
57773 mkdir stagefeedback-gmp; \
57774 mv stagefeedback-gmp gmp; \
57775 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
57776 @endif gmp
57777 @if mpfr
57778 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
57779 mkdir stagefeedback-mpfr; \
57780 mv stagefeedback-mpfr mpfr; \
57781 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
57782 @endif mpfr
57783 @if mpc
57784 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
57785 mkdir stagefeedback-mpc; \
57786 mv stagefeedback-mpc mpc; \
57787 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
57788 @endif mpc
57789 @if isl
57790 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
57791 mkdir stagefeedback-isl; \
57792 mv stagefeedback-isl isl; \
57793 mv stagetrain-isl prev-isl || test -f stagetrain-lean
57794 @endif isl
57795 @if libelf
57796 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
57797 mkdir stagefeedback-libelf; \
57798 mv stagefeedback-libelf libelf; \
57799 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
57800 @endif libelf
57801 @if gold
57802 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
57803 mkdir stagefeedback-gold; \
57804 mv stagefeedback-gold gold; \
57805 mv stagetrain-gold prev-gold || test -f stagetrain-lean
57806 @endif gold
57807 @if intl
57808 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
57809 mkdir stagefeedback-intl; \
57810 mv stagefeedback-intl intl; \
57811 mv stagetrain-intl prev-intl || test -f stagetrain-lean
57812 @endif intl
57813 @if ld
57814 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
57815 mkdir stagefeedback-ld; \
57816 mv stagefeedback-ld ld; \
57817 mv stagetrain-ld prev-ld || test -f stagetrain-lean
57818 @endif ld
57819 @if libbacktrace
57820 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
57821 mkdir stagefeedback-libbacktrace; \
57822 mv stagefeedback-libbacktrace libbacktrace; \
57823 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
57824 @endif libbacktrace
57825 @if libcpp
57826 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
57827 mkdir stagefeedback-libcpp; \
57828 mv stagefeedback-libcpp libcpp; \
57829 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
57830 @endif libcpp
57831 @if libdecnumber
57832 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
57833 mkdir stagefeedback-libdecnumber; \
57834 mv stagefeedback-libdecnumber libdecnumber; \
57835 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
57836 @endif libdecnumber
57837 @if libiberty
57838 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
57839 mkdir stagefeedback-libiberty; \
57840 mv stagefeedback-libiberty libiberty; \
57841 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
57842 @endif libiberty
57843 @if libiberty-linker-plugin
57844 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
57845 mkdir stagefeedback-libiberty-linker-plugin; \
57846 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
57847 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
57848 @endif libiberty-linker-plugin
57849 @if libiconv
57850 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
57851 mkdir stagefeedback-libiconv; \
57852 mv stagefeedback-libiconv libiconv; \
57853 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
57854 @endif libiconv
57855 @if zlib
57856 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
57857 mkdir stagefeedback-zlib; \
57858 mv stagefeedback-zlib zlib; \
57859 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
57860 @endif zlib
57861 @if lto-plugin
57862 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
57863 mkdir stagefeedback-lto-plugin; \
57864 mv stagefeedback-lto-plugin lto-plugin; \
57865 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
57866 @endif lto-plugin
57867 @if libctf
57868 @cd $(HOST_SUBDIR); [ -d stagefeedback-libctf ] || \
57869 mkdir stagefeedback-libctf; \
57870 mv stagefeedback-libctf libctf; \
57871 mv stagetrain-libctf prev-libctf || test -f stagetrain-lean
57872 @endif libctf
57873 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
57874 mkdir stagefeedback-$(TARGET_SUBDIR); \
57875 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57876 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
57878 stagefeedback-end::
57879 @if bfd
57880 @if test -d $(HOST_SUBDIR)/bfd; then \
57881 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
57882 mv prev-bfd stagetrain-bfd; : ; \
57884 @endif bfd
57885 @if opcodes
57886 @if test -d $(HOST_SUBDIR)/opcodes; then \
57887 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
57888 mv prev-opcodes stagetrain-opcodes; : ; \
57890 @endif opcodes
57891 @if binutils
57892 @if test -d $(HOST_SUBDIR)/binutils; then \
57893 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
57894 mv prev-binutils stagetrain-binutils; : ; \
57896 @endif binutils
57897 @if fixincludes
57898 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57899 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
57900 mv prev-fixincludes stagetrain-fixincludes; : ; \
57902 @endif fixincludes
57903 @if gas
57904 @if test -d $(HOST_SUBDIR)/gas; then \
57905 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
57906 mv prev-gas stagetrain-gas; : ; \
57908 @endif gas
57909 @if gcc
57910 @if test -d $(HOST_SUBDIR)/gcc; then \
57911 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
57912 mv prev-gcc stagetrain-gcc; : ; \
57914 @endif gcc
57915 @if gmp
57916 @if test -d $(HOST_SUBDIR)/gmp; then \
57917 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
57918 mv prev-gmp stagetrain-gmp; : ; \
57920 @endif gmp
57921 @if mpfr
57922 @if test -d $(HOST_SUBDIR)/mpfr; then \
57923 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
57924 mv prev-mpfr stagetrain-mpfr; : ; \
57926 @endif mpfr
57927 @if mpc
57928 @if test -d $(HOST_SUBDIR)/mpc; then \
57929 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
57930 mv prev-mpc stagetrain-mpc; : ; \
57932 @endif mpc
57933 @if isl
57934 @if test -d $(HOST_SUBDIR)/isl; then \
57935 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
57936 mv prev-isl stagetrain-isl; : ; \
57938 @endif isl
57939 @if libelf
57940 @if test -d $(HOST_SUBDIR)/libelf; then \
57941 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
57942 mv prev-libelf stagetrain-libelf; : ; \
57944 @endif libelf
57945 @if gold
57946 @if test -d $(HOST_SUBDIR)/gold; then \
57947 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
57948 mv prev-gold stagetrain-gold; : ; \
57950 @endif gold
57951 @if intl
57952 @if test -d $(HOST_SUBDIR)/intl; then \
57953 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
57954 mv prev-intl stagetrain-intl; : ; \
57956 @endif intl
57957 @if ld
57958 @if test -d $(HOST_SUBDIR)/ld; then \
57959 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
57960 mv prev-ld stagetrain-ld; : ; \
57962 @endif ld
57963 @if libbacktrace
57964 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57965 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
57966 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
57968 @endif libbacktrace
57969 @if libcpp
57970 @if test -d $(HOST_SUBDIR)/libcpp; then \
57971 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
57972 mv prev-libcpp stagetrain-libcpp; : ; \
57974 @endif libcpp
57975 @if libdecnumber
57976 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57977 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
57978 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
57980 @endif libdecnumber
57981 @if libiberty
57982 @if test -d $(HOST_SUBDIR)/libiberty; then \
57983 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
57984 mv prev-libiberty stagetrain-libiberty; : ; \
57986 @endif libiberty
57987 @if libiberty-linker-plugin
57988 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57989 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
57990 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
57992 @endif libiberty-linker-plugin
57993 @if libiconv
57994 @if test -d $(HOST_SUBDIR)/libiconv; then \
57995 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
57996 mv prev-libiconv stagetrain-libiconv; : ; \
57998 @endif libiconv
57999 @if zlib
58000 @if test -d $(HOST_SUBDIR)/zlib; then \
58001 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
58002 mv prev-zlib stagetrain-zlib; : ; \
58004 @endif zlib
58005 @if lto-plugin
58006 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
58007 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
58008 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
58010 @endif lto-plugin
58011 @if libctf
58012 @if test -d $(HOST_SUBDIR)/libctf; then \
58013 cd $(HOST_SUBDIR); mv libctf stagefeedback-libctf; \
58014 mv prev-libctf stagetrain-libctf; : ; \
58016 @endif libctf
58017 @if test -d $(TARGET_SUBDIR); then \
58018 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
58019 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
58021 rm -f stage_current
58023 # Bubble a bug fix through all the stages up to stage feedback. They are
58024 # remade, but not reconfigured. The next stage (if any) will not be
58025 # reconfigured either.
58026 .PHONY: stagefeedback-bubble
58027 stagefeedback-bubble:: stagetrain-bubble
58028 @r=`${PWD_COMMAND}`; export r; \
58029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58030 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
58031 echo Skipping rebuild of stagefeedback; \
58032 else \
58033 $(MAKE) stagefeedback-start; \
58034 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
58037 .PHONY: all-stagefeedback clean-stagefeedback
58038 do-clean: clean-stagefeedback
58040 # FIXME: Will not need to be conditional when toplevel bootstrap is the
58041 # only possibility, but now it conflicts with no-bootstrap rules
58042 @if gcc-bootstrap
58046 .PHONY: profiledbootstrap profiledbootstrap-lean
58047 profiledbootstrap:
58048 echo stagefeedback > stage_final
58049 @r=`${PWD_COMMAND}`; export r; \
58050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58051 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
58052 @: $(MAKE); $(unstage)
58053 @r=`${PWD_COMMAND}`; export r; \
58054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58055 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
58056 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58058 profiledbootstrap-lean:
58059 echo stagefeedback > stage_final
58060 @r=`${PWD_COMMAND}`; export r; \
58061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58062 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
58063 @: $(MAKE); $(unstage)
58064 @r=`${PWD_COMMAND}`; export r; \
58065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58066 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
58067 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58070 # Rules to wipe a stage and all the following ones, also used for cleanstrap
58071 distclean-stagetrain:: distclean-stagefeedback
58072 .PHONY: distclean-stagefeedback
58073 distclean-stagefeedback::
58074 @: $(MAKE); $(stage)
58075 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
58076 rm -rf stagefeedback-*
58079 @endif gcc-bootstrap
58082 .PHONY: stageautoprofile-start stageautoprofile-end
58084 stageautoprofile-start::
58085 @: $(MAKE); $(stage); \
58086 echo stageautoprofile > stage_current; \
58087 echo stageautoprofile > stage_last; \
58088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58089 @if bfd
58090 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
58091 mkdir stageautoprofile-bfd; \
58092 mv stageautoprofile-bfd bfd; \
58093 mv stage1-bfd prev-bfd || test -f stage1-lean
58094 @endif bfd
58095 @if opcodes
58096 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
58097 mkdir stageautoprofile-opcodes; \
58098 mv stageautoprofile-opcodes opcodes; \
58099 mv stage1-opcodes prev-opcodes || test -f stage1-lean
58100 @endif opcodes
58101 @if binutils
58102 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
58103 mkdir stageautoprofile-binutils; \
58104 mv stageautoprofile-binutils binutils; \
58105 mv stage1-binutils prev-binutils || test -f stage1-lean
58106 @endif binutils
58107 @if fixincludes
58108 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
58109 mkdir stageautoprofile-fixincludes; \
58110 mv stageautoprofile-fixincludes fixincludes; \
58111 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
58112 @endif fixincludes
58113 @if gas
58114 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
58115 mkdir stageautoprofile-gas; \
58116 mv stageautoprofile-gas gas; \
58117 mv stage1-gas prev-gas || test -f stage1-lean
58118 @endif gas
58119 @if gcc
58120 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
58121 mkdir stageautoprofile-gcc; \
58122 mv stageautoprofile-gcc gcc; \
58123 mv stage1-gcc prev-gcc || test -f stage1-lean
58124 @endif gcc
58125 @if gmp
58126 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
58127 mkdir stageautoprofile-gmp; \
58128 mv stageautoprofile-gmp gmp; \
58129 mv stage1-gmp prev-gmp || test -f stage1-lean
58130 @endif gmp
58131 @if mpfr
58132 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
58133 mkdir stageautoprofile-mpfr; \
58134 mv stageautoprofile-mpfr mpfr; \
58135 mv stage1-mpfr prev-mpfr || test -f stage1-lean
58136 @endif mpfr
58137 @if mpc
58138 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
58139 mkdir stageautoprofile-mpc; \
58140 mv stageautoprofile-mpc mpc; \
58141 mv stage1-mpc prev-mpc || test -f stage1-lean
58142 @endif mpc
58143 @if isl
58144 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
58145 mkdir stageautoprofile-isl; \
58146 mv stageautoprofile-isl isl; \
58147 mv stage1-isl prev-isl || test -f stage1-lean
58148 @endif isl
58149 @if libelf
58150 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
58151 mkdir stageautoprofile-libelf; \
58152 mv stageautoprofile-libelf libelf; \
58153 mv stage1-libelf prev-libelf || test -f stage1-lean
58154 @endif libelf
58155 @if gold
58156 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
58157 mkdir stageautoprofile-gold; \
58158 mv stageautoprofile-gold gold; \
58159 mv stage1-gold prev-gold || test -f stage1-lean
58160 @endif gold
58161 @if intl
58162 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
58163 mkdir stageautoprofile-intl; \
58164 mv stageautoprofile-intl intl; \
58165 mv stage1-intl prev-intl || test -f stage1-lean
58166 @endif intl
58167 @if ld
58168 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
58169 mkdir stageautoprofile-ld; \
58170 mv stageautoprofile-ld ld; \
58171 mv stage1-ld prev-ld || test -f stage1-lean
58172 @endif ld
58173 @if libbacktrace
58174 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
58175 mkdir stageautoprofile-libbacktrace; \
58176 mv stageautoprofile-libbacktrace libbacktrace; \
58177 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
58178 @endif libbacktrace
58179 @if libcpp
58180 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
58181 mkdir stageautoprofile-libcpp; \
58182 mv stageautoprofile-libcpp libcpp; \
58183 mv stage1-libcpp prev-libcpp || test -f stage1-lean
58184 @endif libcpp
58185 @if libdecnumber
58186 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
58187 mkdir stageautoprofile-libdecnumber; \
58188 mv stageautoprofile-libdecnumber libdecnumber; \
58189 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
58190 @endif libdecnumber
58191 @if libiberty
58192 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
58193 mkdir stageautoprofile-libiberty; \
58194 mv stageautoprofile-libiberty libiberty; \
58195 mv stage1-libiberty prev-libiberty || test -f stage1-lean
58196 @endif libiberty
58197 @if libiberty-linker-plugin
58198 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
58199 mkdir stageautoprofile-libiberty-linker-plugin; \
58200 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
58201 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
58202 @endif libiberty-linker-plugin
58203 @if libiconv
58204 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
58205 mkdir stageautoprofile-libiconv; \
58206 mv stageautoprofile-libiconv libiconv; \
58207 mv stage1-libiconv prev-libiconv || test -f stage1-lean
58208 @endif libiconv
58209 @if zlib
58210 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
58211 mkdir stageautoprofile-zlib; \
58212 mv stageautoprofile-zlib zlib; \
58213 mv stage1-zlib prev-zlib || test -f stage1-lean
58214 @endif zlib
58215 @if lto-plugin
58216 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
58217 mkdir stageautoprofile-lto-plugin; \
58218 mv stageautoprofile-lto-plugin lto-plugin; \
58219 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
58220 @endif lto-plugin
58221 @if libctf
58222 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libctf ] || \
58223 mkdir stageautoprofile-libctf; \
58224 mv stageautoprofile-libctf libctf; \
58225 mv stage1-libctf prev-libctf || test -f stage1-lean
58226 @endif libctf
58227 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
58228 mkdir stageautoprofile-$(TARGET_SUBDIR); \
58229 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
58230 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
58232 stageautoprofile-end::
58233 @if bfd
58234 @if test -d $(HOST_SUBDIR)/bfd; then \
58235 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
58236 mv prev-bfd stage1-bfd; : ; \
58238 @endif bfd
58239 @if opcodes
58240 @if test -d $(HOST_SUBDIR)/opcodes; then \
58241 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
58242 mv prev-opcodes stage1-opcodes; : ; \
58244 @endif opcodes
58245 @if binutils
58246 @if test -d $(HOST_SUBDIR)/binutils; then \
58247 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
58248 mv prev-binutils stage1-binutils; : ; \
58250 @endif binutils
58251 @if fixincludes
58252 @if test -d $(HOST_SUBDIR)/fixincludes; then \
58253 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
58254 mv prev-fixincludes stage1-fixincludes; : ; \
58256 @endif fixincludes
58257 @if gas
58258 @if test -d $(HOST_SUBDIR)/gas; then \
58259 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
58260 mv prev-gas stage1-gas; : ; \
58262 @endif gas
58263 @if gcc
58264 @if test -d $(HOST_SUBDIR)/gcc; then \
58265 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
58266 mv prev-gcc stage1-gcc; : ; \
58268 @endif gcc
58269 @if gmp
58270 @if test -d $(HOST_SUBDIR)/gmp; then \
58271 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
58272 mv prev-gmp stage1-gmp; : ; \
58274 @endif gmp
58275 @if mpfr
58276 @if test -d $(HOST_SUBDIR)/mpfr; then \
58277 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
58278 mv prev-mpfr stage1-mpfr; : ; \
58280 @endif mpfr
58281 @if mpc
58282 @if test -d $(HOST_SUBDIR)/mpc; then \
58283 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
58284 mv prev-mpc stage1-mpc; : ; \
58286 @endif mpc
58287 @if isl
58288 @if test -d $(HOST_SUBDIR)/isl; then \
58289 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
58290 mv prev-isl stage1-isl; : ; \
58292 @endif isl
58293 @if libelf
58294 @if test -d $(HOST_SUBDIR)/libelf; then \
58295 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
58296 mv prev-libelf stage1-libelf; : ; \
58298 @endif libelf
58299 @if gold
58300 @if test -d $(HOST_SUBDIR)/gold; then \
58301 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
58302 mv prev-gold stage1-gold; : ; \
58304 @endif gold
58305 @if intl
58306 @if test -d $(HOST_SUBDIR)/intl; then \
58307 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
58308 mv prev-intl stage1-intl; : ; \
58310 @endif intl
58311 @if ld
58312 @if test -d $(HOST_SUBDIR)/ld; then \
58313 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
58314 mv prev-ld stage1-ld; : ; \
58316 @endif ld
58317 @if libbacktrace
58318 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
58319 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
58320 mv prev-libbacktrace stage1-libbacktrace; : ; \
58322 @endif libbacktrace
58323 @if libcpp
58324 @if test -d $(HOST_SUBDIR)/libcpp; then \
58325 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
58326 mv prev-libcpp stage1-libcpp; : ; \
58328 @endif libcpp
58329 @if libdecnumber
58330 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
58331 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
58332 mv prev-libdecnumber stage1-libdecnumber; : ; \
58334 @endif libdecnumber
58335 @if libiberty
58336 @if test -d $(HOST_SUBDIR)/libiberty; then \
58337 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
58338 mv prev-libiberty stage1-libiberty; : ; \
58340 @endif libiberty
58341 @if libiberty-linker-plugin
58342 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
58343 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
58344 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
58346 @endif libiberty-linker-plugin
58347 @if libiconv
58348 @if test -d $(HOST_SUBDIR)/libiconv; then \
58349 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
58350 mv prev-libiconv stage1-libiconv; : ; \
58352 @endif libiconv
58353 @if zlib
58354 @if test -d $(HOST_SUBDIR)/zlib; then \
58355 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
58356 mv prev-zlib stage1-zlib; : ; \
58358 @endif zlib
58359 @if lto-plugin
58360 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
58361 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
58362 mv prev-lto-plugin stage1-lto-plugin; : ; \
58364 @endif lto-plugin
58365 @if libctf
58366 @if test -d $(HOST_SUBDIR)/libctf; then \
58367 cd $(HOST_SUBDIR); mv libctf stageautoprofile-libctf; \
58368 mv prev-libctf stage1-libctf; : ; \
58370 @endif libctf
58371 @if test -d $(TARGET_SUBDIR); then \
58372 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
58373 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
58375 rm -f stage_current
58377 # Bubble a bug fix through all the stages up to stage autoprofile. They are
58378 # remade, but not reconfigured. The next stage (if any) will not be
58379 # reconfigured either.
58380 .PHONY: stageautoprofile-bubble
58381 stageautoprofile-bubble:: stage1-bubble
58382 @r=`${PWD_COMMAND}`; export r; \
58383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58384 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
58385 echo Skipping rebuild of stageautoprofile; \
58386 else \
58387 $(MAKE) stageautoprofile-start; \
58388 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
58391 .PHONY: all-stageautoprofile clean-stageautoprofile
58392 do-clean: clean-stageautoprofile
58394 # FIXME: Will not need to be conditional when toplevel bootstrap is the
58395 # only possibility, but now it conflicts with no-bootstrap rules
58396 @if gcc-bootstrap
58401 # Rules to wipe a stage and all the following ones, also used for cleanstrap
58402 distclean-stage1:: distclean-stageautoprofile
58403 .PHONY: distclean-stageautoprofile
58404 distclean-stageautoprofile::
58405 @: $(MAKE); $(stage)
58406 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
58407 rm -rf stageautoprofile-*
58410 @endif gcc-bootstrap
58413 .PHONY: stageautofeedback-start stageautofeedback-end
58415 stageautofeedback-start::
58416 @: $(MAKE); $(stage); \
58417 echo stageautofeedback > stage_current; \
58418 echo stageautofeedback > stage_last; \
58419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58420 @if bfd
58421 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
58422 mkdir stageautofeedback-bfd; \
58423 mv stageautofeedback-bfd bfd; \
58424 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
58425 @endif bfd
58426 @if opcodes
58427 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
58428 mkdir stageautofeedback-opcodes; \
58429 mv stageautofeedback-opcodes opcodes; \
58430 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
58431 @endif opcodes
58432 @if binutils
58433 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
58434 mkdir stageautofeedback-binutils; \
58435 mv stageautofeedback-binutils binutils; \
58436 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
58437 @endif binutils
58438 @if fixincludes
58439 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
58440 mkdir stageautofeedback-fixincludes; \
58441 mv stageautofeedback-fixincludes fixincludes; \
58442 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
58443 @endif fixincludes
58444 @if gas
58445 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
58446 mkdir stageautofeedback-gas; \
58447 mv stageautofeedback-gas gas; \
58448 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
58449 @endif gas
58450 @if gcc
58451 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
58452 mkdir stageautofeedback-gcc; \
58453 mv stageautofeedback-gcc gcc; \
58454 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
58455 @endif gcc
58456 @if gmp
58457 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
58458 mkdir stageautofeedback-gmp; \
58459 mv stageautofeedback-gmp gmp; \
58460 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
58461 @endif gmp
58462 @if mpfr
58463 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
58464 mkdir stageautofeedback-mpfr; \
58465 mv stageautofeedback-mpfr mpfr; \
58466 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
58467 @endif mpfr
58468 @if mpc
58469 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
58470 mkdir stageautofeedback-mpc; \
58471 mv stageautofeedback-mpc mpc; \
58472 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
58473 @endif mpc
58474 @if isl
58475 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
58476 mkdir stageautofeedback-isl; \
58477 mv stageautofeedback-isl isl; \
58478 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
58479 @endif isl
58480 @if libelf
58481 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
58482 mkdir stageautofeedback-libelf; \
58483 mv stageautofeedback-libelf libelf; \
58484 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
58485 @endif libelf
58486 @if gold
58487 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
58488 mkdir stageautofeedback-gold; \
58489 mv stageautofeedback-gold gold; \
58490 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
58491 @endif gold
58492 @if intl
58493 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
58494 mkdir stageautofeedback-intl; \
58495 mv stageautofeedback-intl intl; \
58496 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
58497 @endif intl
58498 @if ld
58499 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
58500 mkdir stageautofeedback-ld; \
58501 mv stageautofeedback-ld ld; \
58502 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
58503 @endif ld
58504 @if libbacktrace
58505 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
58506 mkdir stageautofeedback-libbacktrace; \
58507 mv stageautofeedback-libbacktrace libbacktrace; \
58508 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
58509 @endif libbacktrace
58510 @if libcpp
58511 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
58512 mkdir stageautofeedback-libcpp; \
58513 mv stageautofeedback-libcpp libcpp; \
58514 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
58515 @endif libcpp
58516 @if libdecnumber
58517 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
58518 mkdir stageautofeedback-libdecnumber; \
58519 mv stageautofeedback-libdecnumber libdecnumber; \
58520 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
58521 @endif libdecnumber
58522 @if libiberty
58523 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
58524 mkdir stageautofeedback-libiberty; \
58525 mv stageautofeedback-libiberty libiberty; \
58526 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
58527 @endif libiberty
58528 @if libiberty-linker-plugin
58529 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
58530 mkdir stageautofeedback-libiberty-linker-plugin; \
58531 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
58532 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
58533 @endif libiberty-linker-plugin
58534 @if libiconv
58535 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
58536 mkdir stageautofeedback-libiconv; \
58537 mv stageautofeedback-libiconv libiconv; \
58538 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
58539 @endif libiconv
58540 @if zlib
58541 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
58542 mkdir stageautofeedback-zlib; \
58543 mv stageautofeedback-zlib zlib; \
58544 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
58545 @endif zlib
58546 @if lto-plugin
58547 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
58548 mkdir stageautofeedback-lto-plugin; \
58549 mv stageautofeedback-lto-plugin lto-plugin; \
58550 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
58551 @endif lto-plugin
58552 @if libctf
58553 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libctf ] || \
58554 mkdir stageautofeedback-libctf; \
58555 mv stageautofeedback-libctf libctf; \
58556 mv stageautoprofile-libctf prev-libctf || test -f stageautoprofile-lean
58557 @endif libctf
58558 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
58559 mkdir stageautofeedback-$(TARGET_SUBDIR); \
58560 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
58561 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
58563 stageautofeedback-end::
58564 @if bfd
58565 @if test -d $(HOST_SUBDIR)/bfd; then \
58566 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
58567 mv prev-bfd stageautoprofile-bfd; : ; \
58569 @endif bfd
58570 @if opcodes
58571 @if test -d $(HOST_SUBDIR)/opcodes; then \
58572 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
58573 mv prev-opcodes stageautoprofile-opcodes; : ; \
58575 @endif opcodes
58576 @if binutils
58577 @if test -d $(HOST_SUBDIR)/binutils; then \
58578 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
58579 mv prev-binutils stageautoprofile-binutils; : ; \
58581 @endif binutils
58582 @if fixincludes
58583 @if test -d $(HOST_SUBDIR)/fixincludes; then \
58584 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
58585 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
58587 @endif fixincludes
58588 @if gas
58589 @if test -d $(HOST_SUBDIR)/gas; then \
58590 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
58591 mv prev-gas stageautoprofile-gas; : ; \
58593 @endif gas
58594 @if gcc
58595 @if test -d $(HOST_SUBDIR)/gcc; then \
58596 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
58597 mv prev-gcc stageautoprofile-gcc; : ; \
58599 @endif gcc
58600 @if gmp
58601 @if test -d $(HOST_SUBDIR)/gmp; then \
58602 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
58603 mv prev-gmp stageautoprofile-gmp; : ; \
58605 @endif gmp
58606 @if mpfr
58607 @if test -d $(HOST_SUBDIR)/mpfr; then \
58608 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
58609 mv prev-mpfr stageautoprofile-mpfr; : ; \
58611 @endif mpfr
58612 @if mpc
58613 @if test -d $(HOST_SUBDIR)/mpc; then \
58614 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
58615 mv prev-mpc stageautoprofile-mpc; : ; \
58617 @endif mpc
58618 @if isl
58619 @if test -d $(HOST_SUBDIR)/isl; then \
58620 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
58621 mv prev-isl stageautoprofile-isl; : ; \
58623 @endif isl
58624 @if libelf
58625 @if test -d $(HOST_SUBDIR)/libelf; then \
58626 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
58627 mv prev-libelf stageautoprofile-libelf; : ; \
58629 @endif libelf
58630 @if gold
58631 @if test -d $(HOST_SUBDIR)/gold; then \
58632 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
58633 mv prev-gold stageautoprofile-gold; : ; \
58635 @endif gold
58636 @if intl
58637 @if test -d $(HOST_SUBDIR)/intl; then \
58638 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
58639 mv prev-intl stageautoprofile-intl; : ; \
58641 @endif intl
58642 @if ld
58643 @if test -d $(HOST_SUBDIR)/ld; then \
58644 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
58645 mv prev-ld stageautoprofile-ld; : ; \
58647 @endif ld
58648 @if libbacktrace
58649 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
58650 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
58651 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
58653 @endif libbacktrace
58654 @if libcpp
58655 @if test -d $(HOST_SUBDIR)/libcpp; then \
58656 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
58657 mv prev-libcpp stageautoprofile-libcpp; : ; \
58659 @endif libcpp
58660 @if libdecnumber
58661 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
58662 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
58663 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
58665 @endif libdecnumber
58666 @if libiberty
58667 @if test -d $(HOST_SUBDIR)/libiberty; then \
58668 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
58669 mv prev-libiberty stageautoprofile-libiberty; : ; \
58671 @endif libiberty
58672 @if libiberty-linker-plugin
58673 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
58674 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
58675 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
58677 @endif libiberty-linker-plugin
58678 @if libiconv
58679 @if test -d $(HOST_SUBDIR)/libiconv; then \
58680 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
58681 mv prev-libiconv stageautoprofile-libiconv; : ; \
58683 @endif libiconv
58684 @if zlib
58685 @if test -d $(HOST_SUBDIR)/zlib; then \
58686 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
58687 mv prev-zlib stageautoprofile-zlib; : ; \
58689 @endif zlib
58690 @if lto-plugin
58691 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
58692 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
58693 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
58695 @endif lto-plugin
58696 @if libctf
58697 @if test -d $(HOST_SUBDIR)/libctf; then \
58698 cd $(HOST_SUBDIR); mv libctf stageautofeedback-libctf; \
58699 mv prev-libctf stageautoprofile-libctf; : ; \
58701 @endif libctf
58702 @if test -d $(TARGET_SUBDIR); then \
58703 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
58704 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
58706 rm -f stage_current
58708 # Bubble a bug fix through all the stages up to stage autofeedback. They are
58709 # remade, but not reconfigured. The next stage (if any) will not be
58710 # reconfigured either.
58711 .PHONY: stageautofeedback-bubble
58712 stageautofeedback-bubble:: stageautoprofile-bubble
58713 @r=`${PWD_COMMAND}`; export r; \
58714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58715 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
58716 echo Skipping rebuild of stageautofeedback; \
58717 else \
58718 $(MAKE) stageautofeedback-start; \
58719 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
58722 .PHONY: all-stageautofeedback clean-stageautofeedback
58723 do-clean: clean-stageautofeedback
58725 # FIXME: Will not need to be conditional when toplevel bootstrap is the
58726 # only possibility, but now it conflicts with no-bootstrap rules
58727 @if gcc-bootstrap
58731 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
58732 autoprofiledbootstrap:
58733 echo stageautofeedback > stage_final
58734 @r=`${PWD_COMMAND}`; export r; \
58735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58736 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
58737 @: $(MAKE); $(unstage)
58738 @r=`${PWD_COMMAND}`; export r; \
58739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58740 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
58741 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58743 autoprofiledbootstrap-lean:
58744 echo stageautofeedback > stage_final
58745 @r=`${PWD_COMMAND}`; export r; \
58746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58747 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
58748 @: $(MAKE); $(unstage)
58749 @r=`${PWD_COMMAND}`; export r; \
58750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58751 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
58752 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58755 # Rules to wipe a stage and all the following ones, also used for cleanstrap
58756 distclean-stageautoprofile:: distclean-stageautofeedback
58757 .PHONY: distclean-stageautofeedback
58758 distclean-stageautofeedback::
58759 @: $(MAKE); $(stage)
58760 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
58761 rm -rf stageautofeedback-*
58764 @endif gcc-bootstrap
58768 stageprofile-end::
58769 $(MAKE) distclean-stagefeedback
58771 stagefeedback-start::
58772 @r=`${PWD_COMMAND}`; export r; \
58773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58774 for i in prev-*; do \
58775 j=`echo $$i | sed s/^prev-//`; \
58776 cd $$r/$$i && \
58777 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
58778 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
58779 done
58781 @if gcc-bootstrap
58782 do-distclean: distclean-stage1
58784 # Provide a GCC build when we're building target libraries. This does
58785 # not work as a dependency, just as the minimum necessary to avoid errors.
58786 stage_last:
58787 @r=`${PWD_COMMAND}`; export r; \
58788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58789 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
58791 # Same as unstage, but not phony and defaulting to stage1-start. We place
58792 # it in the dependency so that for example `make -j3 all-gcc' works.
58793 stage_current:
58794 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
58796 .PHONY: restrap
58797 restrap::
58798 @: $(MAKE); $(stage)
58799 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
58800 restrap:: all
58801 @endif gcc-bootstrap
58803 # --------------------------------------
58804 # Dependencies between different modules
58805 # --------------------------------------
58807 # Generic dependencies for target modules on host stuff, especially gcc
58808 @if gcc-bootstrap
58809 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
58810 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
58811 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
58812 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
58813 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
58814 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
58815 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
58816 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
58817 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
58818 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
58819 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
58820 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
58821 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
58822 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
58823 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
58824 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
58825 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
58826 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
58827 configure-stage1-target-libvtv: maybe-all-stage1-gcc
58828 configure-stage2-target-libvtv: maybe-all-stage2-gcc
58829 configure-stage3-target-libvtv: maybe-all-stage3-gcc
58830 configure-stage4-target-libvtv: maybe-all-stage4-gcc
58831 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
58832 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
58833 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
58834 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
58835 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
58836 configure-target-liboffloadmic: stage_last
58837 configure-target-libssp: stage_last
58838 configure-target-newlib: stage_last
58839 configure-stage1-target-libgcc: maybe-all-stage1-gcc
58840 configure-stage2-target-libgcc: maybe-all-stage2-gcc
58841 configure-stage3-target-libgcc: maybe-all-stage3-gcc
58842 configure-stage4-target-libgcc: maybe-all-stage4-gcc
58843 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
58844 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
58845 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
58846 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
58847 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
58848 configure-target-libbacktrace: stage_last
58849 configure-target-libquadmath: stage_last
58850 configure-target-libgfortran: stage_last
58851 configure-target-libobjc: stage_last
58852 configure-target-libgo: stage_last
58853 configure-target-libhsail-rt: stage_last
58854 configure-target-libphobos: stage_last
58855 configure-target-libtermcap: stage_last
58856 configure-target-winsup: stage_last
58857 configure-target-libgloss: stage_last
58858 configure-target-libffi: stage_last
58859 configure-target-zlib: stage_last
58860 configure-target-rda: stage_last
58861 configure-target-libada: stage_last
58862 configure-stage1-target-libgomp: maybe-all-stage1-gcc
58863 configure-stage2-target-libgomp: maybe-all-stage2-gcc
58864 configure-stage3-target-libgomp: maybe-all-stage3-gcc
58865 configure-stage4-target-libgomp: maybe-all-stage4-gcc
58866 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
58867 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
58868 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
58869 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
58870 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
58871 configure-target-libitm: stage_last
58872 configure-target-libatomic: stage_last
58873 @endif gcc-bootstrap
58875 @if gcc-no-bootstrap
58876 configure-target-libstdc++-v3: maybe-all-gcc
58877 configure-target-libsanitizer: maybe-all-gcc
58878 configure-target-libvtv: maybe-all-gcc
58879 configure-target-liboffloadmic: maybe-all-gcc
58880 configure-target-libssp: maybe-all-gcc
58881 configure-target-newlib: maybe-all-gcc
58882 configure-target-libgcc: maybe-all-gcc
58883 configure-target-libbacktrace: maybe-all-gcc
58884 configure-target-libquadmath: maybe-all-gcc
58885 configure-target-libgfortran: maybe-all-gcc
58886 configure-target-libobjc: maybe-all-gcc
58887 configure-target-libgo: maybe-all-gcc
58888 configure-target-libhsail-rt: maybe-all-gcc
58889 configure-target-libphobos: maybe-all-gcc
58890 configure-target-libtermcap: maybe-all-gcc
58891 configure-target-winsup: maybe-all-gcc
58892 configure-target-libgloss: maybe-all-gcc
58893 configure-target-libffi: maybe-all-gcc
58894 configure-target-zlib: maybe-all-gcc
58895 configure-target-rda: maybe-all-gcc
58896 configure-target-libada: maybe-all-gcc
58897 configure-target-libgomp: maybe-all-gcc
58898 configure-target-libitm: maybe-all-gcc
58899 configure-target-libatomic: maybe-all-gcc
58900 @endif gcc-no-bootstrap
58903 # There are two types of dependencies here: 'hard' dependencies, where one
58904 # module simply won't build without the other; and 'soft' dependencies, where
58905 # if the depended-on module is missing, the depending module will do without
58906 # or find a substitute somewhere (perhaps installed). Soft dependencies
58907 # are made here to depend on a 'maybe-' target. If you're not sure,
58908 # it's safer to use a soft dependency.
58915 # With all the machinery above in place, it is pretty easy to generate
58916 # dependencies. Host dependencies are a bit more complex because we have
58917 # to check for bootstrap/prebootstrap dependencies. To resolve
58918 # prebootstrap dependencies, prebootstrap modules are gathered in
58919 # a hash table.
58920 all-build-bison: maybe-all-build-texinfo
58921 all-build-flex: maybe-all-build-texinfo
58922 all-build-flex: maybe-all-build-bison
58923 all-build-flex: maybe-all-build-m4
58924 all-build-libiberty: maybe-all-build-texinfo
58925 all-build-m4: maybe-all-build-texinfo
58926 all-build-fixincludes: maybe-all-build-libiberty
58927 all-build-libcpp: maybe-all-build-libiberty
58928 configure-gcc: maybe-configure-intl
58929 configure-stage1-gcc: maybe-configure-stage1-intl
58930 configure-stage2-gcc: maybe-configure-stage2-intl
58931 configure-stage3-gcc: maybe-configure-stage3-intl
58932 configure-stage4-gcc: maybe-configure-stage4-intl
58933 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
58934 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
58935 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
58936 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
58937 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
58938 configure-gcc: maybe-all-gmp
58939 configure-stage1-gcc: maybe-all-stage1-gmp
58940 configure-stage2-gcc: maybe-all-stage2-gmp
58941 configure-stage3-gcc: maybe-all-stage3-gmp
58942 configure-stage4-gcc: maybe-all-stage4-gmp
58943 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
58944 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
58945 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
58946 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
58947 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
58948 configure-gcc: maybe-all-mpfr
58949 configure-stage1-gcc: maybe-all-stage1-mpfr
58950 configure-stage2-gcc: maybe-all-stage2-mpfr
58951 configure-stage3-gcc: maybe-all-stage3-mpfr
58952 configure-stage4-gcc: maybe-all-stage4-mpfr
58953 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
58954 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
58955 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
58956 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
58957 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
58958 configure-gcc: maybe-all-mpc
58959 configure-stage1-gcc: maybe-all-stage1-mpc
58960 configure-stage2-gcc: maybe-all-stage2-mpc
58961 configure-stage3-gcc: maybe-all-stage3-mpc
58962 configure-stage4-gcc: maybe-all-stage4-mpc
58963 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
58964 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
58965 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
58966 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
58967 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
58968 configure-gcc: maybe-all-isl
58969 configure-stage1-gcc: maybe-all-stage1-isl
58970 configure-stage2-gcc: maybe-all-stage2-isl
58971 configure-stage3-gcc: maybe-all-stage3-isl
58972 configure-stage4-gcc: maybe-all-stage4-isl
58973 configure-stageprofile-gcc: maybe-all-stageprofile-isl
58974 configure-stagetrain-gcc: maybe-all-stagetrain-isl
58975 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
58976 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
58977 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
58978 configure-gcc: maybe-all-lto-plugin
58979 configure-stage1-gcc: maybe-all-stage1-lto-plugin
58980 configure-stage2-gcc: maybe-all-stage2-lto-plugin
58981 configure-stage3-gcc: maybe-all-stage3-lto-plugin
58982 configure-stage4-gcc: maybe-all-stage4-lto-plugin
58983 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
58984 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
58985 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
58986 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
58987 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
58988 configure-gcc: maybe-all-binutils
58989 configure-stage1-gcc: maybe-all-stage1-binutils
58990 configure-stage2-gcc: maybe-all-stage2-binutils
58991 configure-stage3-gcc: maybe-all-stage3-binutils
58992 configure-stage4-gcc: maybe-all-stage4-binutils
58993 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
58994 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
58995 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
58996 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
58997 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
58998 configure-gcc: maybe-all-gas
58999 configure-stage1-gcc: maybe-all-stage1-gas
59000 configure-stage2-gcc: maybe-all-stage2-gas
59001 configure-stage3-gcc: maybe-all-stage3-gas
59002 configure-stage4-gcc: maybe-all-stage4-gas
59003 configure-stageprofile-gcc: maybe-all-stageprofile-gas
59004 configure-stagetrain-gcc: maybe-all-stagetrain-gas
59005 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
59006 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
59007 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
59008 configure-gcc: maybe-all-ld
59009 configure-stage1-gcc: maybe-all-stage1-ld
59010 configure-stage2-gcc: maybe-all-stage2-ld
59011 configure-stage3-gcc: maybe-all-stage3-ld
59012 configure-stage4-gcc: maybe-all-stage4-ld
59013 configure-stageprofile-gcc: maybe-all-stageprofile-ld
59014 configure-stagetrain-gcc: maybe-all-stagetrain-ld
59015 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
59016 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
59017 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
59018 configure-gcc: maybe-all-gold
59019 configure-stage1-gcc: maybe-all-stage1-gold
59020 configure-stage2-gcc: maybe-all-stage2-gold
59021 configure-stage3-gcc: maybe-all-stage3-gold
59022 configure-stage4-gcc: maybe-all-stage4-gold
59023 configure-stageprofile-gcc: maybe-all-stageprofile-gold
59024 configure-stagetrain-gcc: maybe-all-stagetrain-gold
59025 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
59026 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
59027 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
59028 configure-gcc: maybe-all-libelf
59029 configure-stage1-gcc: maybe-all-stage1-libelf
59030 configure-stage2-gcc: maybe-all-stage2-libelf
59031 configure-stage3-gcc: maybe-all-stage3-libelf
59032 configure-stage4-gcc: maybe-all-stage4-libelf
59033 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
59034 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
59035 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
59036 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
59037 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
59038 configure-gcc: maybe-all-libiconv
59039 configure-stage1-gcc: maybe-all-stage1-libiconv
59040 configure-stage2-gcc: maybe-all-stage2-libiconv
59041 configure-stage3-gcc: maybe-all-stage3-libiconv
59042 configure-stage4-gcc: maybe-all-stage4-libiconv
59043 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
59044 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
59045 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
59046 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
59047 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
59048 all-gcc: all-libiberty
59049 all-stage1-gcc: all-stage1-libiberty
59050 all-stage2-gcc: all-stage2-libiberty
59051 all-stage3-gcc: all-stage3-libiberty
59052 all-stage4-gcc: all-stage4-libiberty
59053 all-stageprofile-gcc: all-stageprofile-libiberty
59054 all-stagetrain-gcc: all-stagetrain-libiberty
59055 all-stagefeedback-gcc: all-stagefeedback-libiberty
59056 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
59057 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
59058 all-gcc: maybe-all-intl
59059 all-stage1-gcc: maybe-all-stage1-intl
59060 all-stage2-gcc: maybe-all-stage2-intl
59061 all-stage3-gcc: maybe-all-stage3-intl
59062 all-stage4-gcc: maybe-all-stage4-intl
59063 all-stageprofile-gcc: maybe-all-stageprofile-intl
59064 all-stagetrain-gcc: maybe-all-stagetrain-intl
59065 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
59066 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
59067 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
59068 all-gcc: maybe-all-mpfr
59069 all-stage1-gcc: maybe-all-stage1-mpfr
59070 all-stage2-gcc: maybe-all-stage2-mpfr
59071 all-stage3-gcc: maybe-all-stage3-mpfr
59072 all-stage4-gcc: maybe-all-stage4-mpfr
59073 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
59074 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
59075 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
59076 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
59077 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
59078 all-gcc: maybe-all-mpc
59079 all-stage1-gcc: maybe-all-stage1-mpc
59080 all-stage2-gcc: maybe-all-stage2-mpc
59081 all-stage3-gcc: maybe-all-stage3-mpc
59082 all-stage4-gcc: maybe-all-stage4-mpc
59083 all-stageprofile-gcc: maybe-all-stageprofile-mpc
59084 all-stagetrain-gcc: maybe-all-stagetrain-mpc
59085 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
59086 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
59087 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
59088 all-gcc: maybe-all-isl
59089 all-stage1-gcc: maybe-all-stage1-isl
59090 all-stage2-gcc: maybe-all-stage2-isl
59091 all-stage3-gcc: maybe-all-stage3-isl
59092 all-stage4-gcc: maybe-all-stage4-isl
59093 all-stageprofile-gcc: maybe-all-stageprofile-isl
59094 all-stagetrain-gcc: maybe-all-stagetrain-isl
59095 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
59096 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
59097 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
59098 all-gcc: maybe-all-build-texinfo
59099 all-stage1-gcc: maybe-all-build-texinfo
59100 all-stage2-gcc: maybe-all-build-texinfo
59101 all-stage3-gcc: maybe-all-build-texinfo
59102 all-stage4-gcc: maybe-all-build-texinfo
59103 all-stageprofile-gcc: maybe-all-build-texinfo
59104 all-stagetrain-gcc: maybe-all-build-texinfo
59105 all-stagefeedback-gcc: maybe-all-build-texinfo
59106 all-stageautoprofile-gcc: maybe-all-build-texinfo
59107 all-stageautofeedback-gcc: maybe-all-build-texinfo
59108 all-gcc: maybe-all-build-bison
59109 all-stage1-gcc: maybe-all-build-bison
59110 all-stage2-gcc: maybe-all-build-bison
59111 all-stage3-gcc: maybe-all-build-bison
59112 all-stage4-gcc: maybe-all-build-bison
59113 all-stageprofile-gcc: maybe-all-build-bison
59114 all-stagetrain-gcc: maybe-all-build-bison
59115 all-stagefeedback-gcc: maybe-all-build-bison
59116 all-stageautoprofile-gcc: maybe-all-build-bison
59117 all-stageautofeedback-gcc: maybe-all-build-bison
59118 all-gcc: maybe-all-build-flex
59119 all-stage1-gcc: maybe-all-build-flex
59120 all-stage2-gcc: maybe-all-build-flex
59121 all-stage3-gcc: maybe-all-build-flex
59122 all-stage4-gcc: maybe-all-build-flex
59123 all-stageprofile-gcc: maybe-all-build-flex
59124 all-stagetrain-gcc: maybe-all-build-flex
59125 all-stagefeedback-gcc: maybe-all-build-flex
59126 all-stageautoprofile-gcc: maybe-all-build-flex
59127 all-stageautofeedback-gcc: maybe-all-build-flex
59128 all-gcc: maybe-all-build-libiberty
59129 all-stage1-gcc: maybe-all-build-libiberty
59130 all-stage2-gcc: maybe-all-build-libiberty
59131 all-stage3-gcc: maybe-all-build-libiberty
59132 all-stage4-gcc: maybe-all-build-libiberty
59133 all-stageprofile-gcc: maybe-all-build-libiberty
59134 all-stagetrain-gcc: maybe-all-build-libiberty
59135 all-stagefeedback-gcc: maybe-all-build-libiberty
59136 all-stageautoprofile-gcc: maybe-all-build-libiberty
59137 all-stageautofeedback-gcc: maybe-all-build-libiberty
59138 all-gcc: maybe-all-build-fixincludes
59139 all-stage1-gcc: maybe-all-build-fixincludes
59140 all-stage2-gcc: maybe-all-build-fixincludes
59141 all-stage3-gcc: maybe-all-build-fixincludes
59142 all-stage4-gcc: maybe-all-build-fixincludes
59143 all-stageprofile-gcc: maybe-all-build-fixincludes
59144 all-stagetrain-gcc: maybe-all-build-fixincludes
59145 all-stagefeedback-gcc: maybe-all-build-fixincludes
59146 all-stageautoprofile-gcc: maybe-all-build-fixincludes
59147 all-stageautofeedback-gcc: maybe-all-build-fixincludes
59148 all-gcc: maybe-all-build-libcpp
59149 all-stage1-gcc: maybe-all-build-libcpp
59150 all-stage2-gcc: maybe-all-build-libcpp
59151 all-stage3-gcc: maybe-all-build-libcpp
59152 all-stage4-gcc: maybe-all-build-libcpp
59153 all-stageprofile-gcc: maybe-all-build-libcpp
59154 all-stagetrain-gcc: maybe-all-build-libcpp
59155 all-stagefeedback-gcc: maybe-all-build-libcpp
59156 all-stageautoprofile-gcc: maybe-all-build-libcpp
59157 all-stageautofeedback-gcc: maybe-all-build-libcpp
59158 all-gcc: maybe-all-zlib
59159 all-stage1-gcc: maybe-all-stage1-zlib
59160 all-stage2-gcc: maybe-all-stage2-zlib
59161 all-stage3-gcc: maybe-all-stage3-zlib
59162 all-stage4-gcc: maybe-all-stage4-zlib
59163 all-stageprofile-gcc: maybe-all-stageprofile-zlib
59164 all-stagetrain-gcc: maybe-all-stagetrain-zlib
59165 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
59166 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
59167 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
59168 all-gcc: all-libbacktrace
59169 all-stage1-gcc: all-stage1-libbacktrace
59170 all-stage2-gcc: all-stage2-libbacktrace
59171 all-stage3-gcc: all-stage3-libbacktrace
59172 all-stage4-gcc: all-stage4-libbacktrace
59173 all-stageprofile-gcc: all-stageprofile-libbacktrace
59174 all-stagetrain-gcc: all-stagetrain-libbacktrace
59175 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
59176 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
59177 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
59178 all-gcc: all-libcpp
59179 all-stage1-gcc: all-stage1-libcpp
59180 all-stage2-gcc: all-stage2-libcpp
59181 all-stage3-gcc: all-stage3-libcpp
59182 all-stage4-gcc: all-stage4-libcpp
59183 all-stageprofile-gcc: all-stageprofile-libcpp
59184 all-stagetrain-gcc: all-stagetrain-libcpp
59185 all-stagefeedback-gcc: all-stagefeedback-libcpp
59186 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
59187 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
59188 all-gcc: all-libdecnumber
59189 all-stage1-gcc: all-stage1-libdecnumber
59190 all-stage2-gcc: all-stage2-libdecnumber
59191 all-stage3-gcc: all-stage3-libdecnumber
59192 all-stage4-gcc: all-stage4-libdecnumber
59193 all-stageprofile-gcc: all-stageprofile-libdecnumber
59194 all-stagetrain-gcc: all-stagetrain-libdecnumber
59195 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
59196 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
59197 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
59198 all-gcc: maybe-all-libiberty
59199 all-stage1-gcc: maybe-all-stage1-libiberty
59200 all-stage2-gcc: maybe-all-stage2-libiberty
59201 all-stage3-gcc: maybe-all-stage3-libiberty
59202 all-stage4-gcc: maybe-all-stage4-libiberty
59203 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
59204 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
59205 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
59206 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
59207 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
59208 all-gcc: maybe-all-fixincludes
59209 all-stage1-gcc: maybe-all-stage1-fixincludes
59210 all-stage2-gcc: maybe-all-stage2-fixincludes
59211 all-stage3-gcc: maybe-all-stage3-fixincludes
59212 all-stage4-gcc: maybe-all-stage4-fixincludes
59213 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
59214 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
59215 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
59216 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
59217 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
59218 all-gcc: maybe-all-lto-plugin
59219 all-stage1-gcc: maybe-all-stage1-lto-plugin
59220 all-stage2-gcc: maybe-all-stage2-lto-plugin
59221 all-stage3-gcc: maybe-all-stage3-lto-plugin
59222 all-stage4-gcc: maybe-all-stage4-lto-plugin
59223 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
59224 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
59225 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
59226 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
59227 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
59228 all-gcc: maybe-all-libiconv
59229 all-stage1-gcc: maybe-all-stage1-libiconv
59230 all-stage2-gcc: maybe-all-stage2-libiconv
59231 all-stage3-gcc: maybe-all-stage3-libiconv
59232 all-stage4-gcc: maybe-all-stage4-libiconv
59233 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
59234 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
59235 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
59236 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
59237 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
59238 info-gcc: maybe-all-build-libiberty
59239 info-stage1-gcc: maybe-all-build-libiberty
59240 info-stage2-gcc: maybe-all-build-libiberty
59241 info-stage3-gcc: maybe-all-build-libiberty
59242 info-stage4-gcc: maybe-all-build-libiberty
59243 info-stageprofile-gcc: maybe-all-build-libiberty
59244 info-stagetrain-gcc: maybe-all-build-libiberty
59245 info-stagefeedback-gcc: maybe-all-build-libiberty
59246 info-stageautoprofile-gcc: maybe-all-build-libiberty
59247 info-stageautofeedback-gcc: maybe-all-build-libiberty
59248 dvi-gcc: maybe-all-build-libiberty
59249 dvi-stage1-gcc: maybe-all-build-libiberty
59250 dvi-stage2-gcc: maybe-all-build-libiberty
59251 dvi-stage3-gcc: maybe-all-build-libiberty
59252 dvi-stage4-gcc: maybe-all-build-libiberty
59253 dvi-stageprofile-gcc: maybe-all-build-libiberty
59254 dvi-stagetrain-gcc: maybe-all-build-libiberty
59255 dvi-stagefeedback-gcc: maybe-all-build-libiberty
59256 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
59257 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
59258 pdf-gcc: maybe-all-build-libiberty
59259 pdf-stage1-gcc: maybe-all-build-libiberty
59260 pdf-stage2-gcc: maybe-all-build-libiberty
59261 pdf-stage3-gcc: maybe-all-build-libiberty
59262 pdf-stage4-gcc: maybe-all-build-libiberty
59263 pdf-stageprofile-gcc: maybe-all-build-libiberty
59264 pdf-stagetrain-gcc: maybe-all-build-libiberty
59265 pdf-stagefeedback-gcc: maybe-all-build-libiberty
59266 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
59267 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
59268 html-gcc: maybe-all-build-libiberty
59269 html-stage1-gcc: maybe-all-build-libiberty
59270 html-stage2-gcc: maybe-all-build-libiberty
59271 html-stage3-gcc: maybe-all-build-libiberty
59272 html-stage4-gcc: maybe-all-build-libiberty
59273 html-stageprofile-gcc: maybe-all-build-libiberty
59274 html-stagetrain-gcc: maybe-all-build-libiberty
59275 html-stagefeedback-gcc: maybe-all-build-libiberty
59276 html-stageautoprofile-gcc: maybe-all-build-libiberty
59277 html-stageautofeedback-gcc: maybe-all-build-libiberty
59278 install-gcc: maybe-install-fixincludes
59279 install-gcc: maybe-install-lto-plugin
59280 install-strip-gcc: maybe-install-strip-fixincludes
59281 install-strip-gcc: maybe-install-strip-lto-plugin
59282 configure-libcpp: configure-libiberty
59283 configure-stage1-libcpp: configure-stage1-libiberty
59284 configure-stage2-libcpp: configure-stage2-libiberty
59285 configure-stage3-libcpp: configure-stage3-libiberty
59286 configure-stage4-libcpp: configure-stage4-libiberty
59287 configure-stageprofile-libcpp: configure-stageprofile-libiberty
59288 configure-stagetrain-libcpp: configure-stagetrain-libiberty
59289 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
59290 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
59291 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
59292 configure-libcpp: maybe-configure-intl
59293 configure-stage1-libcpp: maybe-configure-stage1-intl
59294 configure-stage2-libcpp: maybe-configure-stage2-intl
59295 configure-stage3-libcpp: maybe-configure-stage3-intl
59296 configure-stage4-libcpp: maybe-configure-stage4-intl
59297 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
59298 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
59299 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
59300 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
59301 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
59302 configure-libcpp: maybe-all-libiconv
59303 configure-stage1-libcpp: maybe-all-stage1-libiconv
59304 configure-stage2-libcpp: maybe-all-stage2-libiconv
59305 configure-stage3-libcpp: maybe-all-stage3-libiconv
59306 configure-stage4-libcpp: maybe-all-stage4-libiconv
59307 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
59308 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
59309 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
59310 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
59311 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
59312 all-libcpp: all-libiberty
59313 all-stage1-libcpp: all-stage1-libiberty
59314 all-stage2-libcpp: all-stage2-libiberty
59315 all-stage3-libcpp: all-stage3-libiberty
59316 all-stage4-libcpp: all-stage4-libiberty
59317 all-stageprofile-libcpp: all-stageprofile-libiberty
59318 all-stagetrain-libcpp: all-stagetrain-libiberty
59319 all-stagefeedback-libcpp: all-stagefeedback-libiberty
59320 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
59321 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
59322 all-libcpp: maybe-all-intl
59323 all-stage1-libcpp: maybe-all-stage1-intl
59324 all-stage2-libcpp: maybe-all-stage2-intl
59325 all-stage3-libcpp: maybe-all-stage3-intl
59326 all-stage4-libcpp: maybe-all-stage4-intl
59327 all-stageprofile-libcpp: maybe-all-stageprofile-intl
59328 all-stagetrain-libcpp: maybe-all-stagetrain-intl
59329 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
59330 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
59331 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
59332 all-libcpp: maybe-all-libiconv
59333 all-stage1-libcpp: maybe-all-stage1-libiconv
59334 all-stage2-libcpp: maybe-all-stage2-libiconv
59335 all-stage3-libcpp: maybe-all-stage3-libiconv
59336 all-stage4-libcpp: maybe-all-stage4-libiconv
59337 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
59338 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
59339 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
59340 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
59341 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
59342 all-fixincludes: maybe-all-libiberty
59343 all-stage1-fixincludes: maybe-all-stage1-libiberty
59344 all-stage2-fixincludes: maybe-all-stage2-libiberty
59345 all-stage3-fixincludes: maybe-all-stage3-libiberty
59346 all-stage4-fixincludes: maybe-all-stage4-libiberty
59347 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
59348 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
59349 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
59350 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
59351 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
59352 all-gnattools: maybe-all-target-libada
59353 all-lto-plugin: maybe-all-libiberty
59354 all-stage1-lto-plugin: maybe-all-stage1-libiberty
59355 all-stage2-lto-plugin: maybe-all-stage2-libiberty
59356 all-stage3-lto-plugin: maybe-all-stage3-libiberty
59357 all-stage4-lto-plugin: maybe-all-stage4-libiberty
59358 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
59359 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
59360 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
59361 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
59362 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
59363 all-lto-plugin: maybe-all-libiberty-linker-plugin
59364 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
59365 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
59366 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
59367 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
59368 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
59369 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
59370 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
59371 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
59372 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
59373 all-gotools: maybe-all-target-libgo
59374 configure-intl: maybe-all-libiconv
59375 configure-stage1-intl: maybe-all-stage1-libiconv
59376 configure-stage2-intl: maybe-all-stage2-libiconv
59377 configure-stage3-intl: maybe-all-stage3-libiconv
59378 configure-stage4-intl: maybe-all-stage4-libiconv
59379 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
59380 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
59381 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
59382 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
59383 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
59384 configure-mpfr: maybe-all-gmp
59385 configure-stage1-mpfr: maybe-all-stage1-gmp
59386 configure-stage2-mpfr: maybe-all-stage2-gmp
59387 configure-stage3-mpfr: maybe-all-stage3-gmp
59388 configure-stage4-mpfr: maybe-all-stage4-gmp
59389 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
59390 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
59391 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
59392 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
59393 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
59394 configure-mpc: maybe-all-mpfr
59395 configure-stage1-mpc: maybe-all-stage1-mpfr
59396 configure-stage2-mpc: maybe-all-stage2-mpfr
59397 configure-stage3-mpc: maybe-all-stage3-mpfr
59398 configure-stage4-mpc: maybe-all-stage4-mpfr
59399 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
59400 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
59401 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
59402 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
59403 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
59404 configure-isl: maybe-all-gmp
59405 configure-stage1-isl: maybe-all-stage1-gmp
59406 configure-stage2-isl: maybe-all-stage2-gmp
59407 configure-stage3-isl: maybe-all-stage3-gmp
59408 configure-stage4-isl: maybe-all-stage4-gmp
59409 configure-stageprofile-isl: maybe-all-stageprofile-gmp
59410 configure-stagetrain-isl: maybe-all-stagetrain-gmp
59411 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
59412 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
59413 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
59414 all-intl: maybe-all-libiconv
59415 all-stage1-intl: maybe-all-stage1-libiconv
59416 all-stage2-intl: maybe-all-stage2-libiconv
59417 all-stage3-intl: maybe-all-stage3-libiconv
59418 all-stage4-intl: maybe-all-stage4-libiconv
59419 all-stageprofile-intl: maybe-all-stageprofile-libiconv
59420 all-stagetrain-intl: maybe-all-stagetrain-libiconv
59421 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
59422 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
59423 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
59424 configure-gdb: maybe-configure-sim
59425 configure-gdb: maybe-all-gnulib
59426 configure-gdb: maybe-all-gdbsupport
59427 all-gdb: maybe-all-gnulib
59428 all-gdb: maybe-all-gdbsupport
59429 all-gdb: maybe-all-readline
59430 all-gdb: maybe-all-build-bison
59431 all-gdb: maybe-all-sim
59432 all-gdb: maybe-all-libtermcap
59433 configure-gdbserver: maybe-all-gnulib
59434 all-gdbserver: maybe-all-gdbsupport
59435 all-gdbserver: maybe-all-gnulib
59436 configure-libgui: maybe-configure-tcl
59437 configure-libgui: maybe-configure-tk
59438 all-libgui: maybe-all-tcl
59439 all-libgui: maybe-all-tk
59440 all-libgui: maybe-all-itcl
59441 configure-gdbsupport: maybe-configure-gnulib
59442 all-gdbsupport: maybe-all-gnulib
59443 configure-bfd: configure-libiberty
59444 configure-stage1-bfd: configure-stage1-libiberty
59445 configure-stage2-bfd: configure-stage2-libiberty
59446 configure-stage3-bfd: configure-stage3-libiberty
59447 configure-stage4-bfd: configure-stage4-libiberty
59448 configure-stageprofile-bfd: configure-stageprofile-libiberty
59449 configure-stagetrain-bfd: configure-stagetrain-libiberty
59450 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
59451 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
59452 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
59453 configure-bfd: maybe-configure-intl
59454 configure-stage1-bfd: maybe-configure-stage1-intl
59455 configure-stage2-bfd: maybe-configure-stage2-intl
59456 configure-stage3-bfd: maybe-configure-stage3-intl
59457 configure-stage4-bfd: maybe-configure-stage4-intl
59458 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
59459 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
59460 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
59461 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
59462 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
59463 all-bfd: maybe-all-libiberty
59464 all-stage1-bfd: maybe-all-stage1-libiberty
59465 all-stage2-bfd: maybe-all-stage2-libiberty
59466 all-stage3-bfd: maybe-all-stage3-libiberty
59467 all-stage4-bfd: maybe-all-stage4-libiberty
59468 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
59469 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
59470 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
59471 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
59472 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
59473 all-bfd: maybe-all-intl
59474 all-stage1-bfd: maybe-all-stage1-intl
59475 all-stage2-bfd: maybe-all-stage2-intl
59476 all-stage3-bfd: maybe-all-stage3-intl
59477 all-stage4-bfd: maybe-all-stage4-intl
59478 all-stageprofile-bfd: maybe-all-stageprofile-intl
59479 all-stagetrain-bfd: maybe-all-stagetrain-intl
59480 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
59481 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
59482 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
59483 all-bfd: maybe-all-zlib
59484 all-stage1-bfd: maybe-all-stage1-zlib
59485 all-stage2-bfd: maybe-all-stage2-zlib
59486 all-stage3-bfd: maybe-all-stage3-zlib
59487 all-stage4-bfd: maybe-all-stage4-zlib
59488 all-stageprofile-bfd: maybe-all-stageprofile-zlib
59489 all-stagetrain-bfd: maybe-all-stagetrain-zlib
59490 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
59491 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
59492 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
59493 configure-opcodes: configure-libiberty
59494 configure-stage1-opcodes: configure-stage1-libiberty
59495 configure-stage2-opcodes: configure-stage2-libiberty
59496 configure-stage3-opcodes: configure-stage3-libiberty
59497 configure-stage4-opcodes: configure-stage4-libiberty
59498 configure-stageprofile-opcodes: configure-stageprofile-libiberty
59499 configure-stagetrain-opcodes: configure-stagetrain-libiberty
59500 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
59501 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
59502 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
59503 all-opcodes: maybe-all-libiberty
59504 all-stage1-opcodes: maybe-all-stage1-libiberty
59505 all-stage2-opcodes: maybe-all-stage2-libiberty
59506 all-stage3-opcodes: maybe-all-stage3-libiberty
59507 all-stage4-opcodes: maybe-all-stage4-libiberty
59508 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
59509 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
59510 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
59511 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
59512 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
59513 configure-binutils: maybe-configure-intl
59514 configure-stage1-binutils: maybe-configure-stage1-intl
59515 configure-stage2-binutils: maybe-configure-stage2-intl
59516 configure-stage3-binutils: maybe-configure-stage3-intl
59517 configure-stage4-binutils: maybe-configure-stage4-intl
59518 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
59519 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
59520 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
59521 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
59522 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
59523 all-binutils: maybe-all-libiberty
59524 all-stage1-binutils: maybe-all-stage1-libiberty
59525 all-stage2-binutils: maybe-all-stage2-libiberty
59526 all-stage3-binutils: maybe-all-stage3-libiberty
59527 all-stage4-binutils: maybe-all-stage4-libiberty
59528 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
59529 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
59530 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
59531 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
59532 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
59533 all-binutils: maybe-all-opcodes
59534 all-stage1-binutils: maybe-all-stage1-opcodes
59535 all-stage2-binutils: maybe-all-stage2-opcodes
59536 all-stage3-binutils: maybe-all-stage3-opcodes
59537 all-stage4-binutils: maybe-all-stage4-opcodes
59538 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
59539 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
59540 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
59541 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
59542 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
59543 all-binutils: maybe-all-bfd
59544 all-stage1-binutils: maybe-all-stage1-bfd
59545 all-stage2-binutils: maybe-all-stage2-bfd
59546 all-stage3-binutils: maybe-all-stage3-bfd
59547 all-stage4-binutils: maybe-all-stage4-bfd
59548 all-stageprofile-binutils: maybe-all-stageprofile-bfd
59549 all-stagetrain-binutils: maybe-all-stagetrain-bfd
59550 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
59551 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
59552 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
59553 all-binutils: maybe-all-build-flex
59554 all-stage1-binutils: maybe-all-build-flex
59555 all-stage2-binutils: maybe-all-build-flex
59556 all-stage3-binutils: maybe-all-build-flex
59557 all-stage4-binutils: maybe-all-build-flex
59558 all-stageprofile-binutils: maybe-all-build-flex
59559 all-stagetrain-binutils: maybe-all-build-flex
59560 all-stagefeedback-binutils: maybe-all-build-flex
59561 all-stageautoprofile-binutils: maybe-all-build-flex
59562 all-stageautofeedback-binutils: maybe-all-build-flex
59563 all-binutils: maybe-all-build-bison
59564 all-stage1-binutils: maybe-all-build-bison
59565 all-stage2-binutils: maybe-all-build-bison
59566 all-stage3-binutils: maybe-all-build-bison
59567 all-stage4-binutils: maybe-all-build-bison
59568 all-stageprofile-binutils: maybe-all-build-bison
59569 all-stagetrain-binutils: maybe-all-build-bison
59570 all-stagefeedback-binutils: maybe-all-build-bison
59571 all-stageautoprofile-binutils: maybe-all-build-bison
59572 all-stageautofeedback-binutils: maybe-all-build-bison
59573 all-binutils: maybe-all-intl
59574 all-stage1-binutils: maybe-all-stage1-intl
59575 all-stage2-binutils: maybe-all-stage2-intl
59576 all-stage3-binutils: maybe-all-stage3-intl
59577 all-stage4-binutils: maybe-all-stage4-intl
59578 all-stageprofile-binutils: maybe-all-stageprofile-intl
59579 all-stagetrain-binutils: maybe-all-stagetrain-intl
59580 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
59581 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
59582 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
59583 all-binutils: maybe-all-gas
59584 all-stage1-binutils: maybe-all-stage1-gas
59585 all-stage2-binutils: maybe-all-stage2-gas
59586 all-stage3-binutils: maybe-all-stage3-gas
59587 all-stage4-binutils: maybe-all-stage4-gas
59588 all-stageprofile-binutils: maybe-all-stageprofile-gas
59589 all-stagetrain-binutils: maybe-all-stagetrain-gas
59590 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
59591 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
59592 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
59593 all-binutils: maybe-all-libctf
59594 all-stage1-binutils: maybe-all-stage1-libctf
59595 all-stage2-binutils: maybe-all-stage2-libctf
59596 all-stage3-binutils: maybe-all-stage3-libctf
59597 all-stage4-binutils: maybe-all-stage4-libctf
59598 all-stageprofile-binutils: maybe-all-stageprofile-libctf
59599 all-stagetrain-binutils: maybe-all-stagetrain-libctf
59600 all-stagefeedback-binutils: maybe-all-stagefeedback-libctf
59601 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf
59602 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf
59603 install-binutils: maybe-install-opcodes
59604 install-strip-binutils: maybe-install-strip-opcodes
59605 install-opcodes: maybe-install-bfd
59606 install-strip-opcodes: maybe-install-strip-bfd
59607 configure-gas: maybe-configure-intl
59608 configure-stage1-gas: maybe-configure-stage1-intl
59609 configure-stage2-gas: maybe-configure-stage2-intl
59610 configure-stage3-gas: maybe-configure-stage3-intl
59611 configure-stage4-gas: maybe-configure-stage4-intl
59612 configure-stageprofile-gas: maybe-configure-stageprofile-intl
59613 configure-stagetrain-gas: maybe-configure-stagetrain-intl
59614 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
59615 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
59616 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
59617 all-gas: maybe-all-libiberty
59618 all-stage1-gas: maybe-all-stage1-libiberty
59619 all-stage2-gas: maybe-all-stage2-libiberty
59620 all-stage3-gas: maybe-all-stage3-libiberty
59621 all-stage4-gas: maybe-all-stage4-libiberty
59622 all-stageprofile-gas: maybe-all-stageprofile-libiberty
59623 all-stagetrain-gas: maybe-all-stagetrain-libiberty
59624 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
59625 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
59626 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
59627 all-gas: maybe-all-opcodes
59628 all-stage1-gas: maybe-all-stage1-opcodes
59629 all-stage2-gas: maybe-all-stage2-opcodes
59630 all-stage3-gas: maybe-all-stage3-opcodes
59631 all-stage4-gas: maybe-all-stage4-opcodes
59632 all-stageprofile-gas: maybe-all-stageprofile-opcodes
59633 all-stagetrain-gas: maybe-all-stagetrain-opcodes
59634 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
59635 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
59636 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
59637 all-gas: maybe-all-bfd
59638 all-stage1-gas: maybe-all-stage1-bfd
59639 all-stage2-gas: maybe-all-stage2-bfd
59640 all-stage3-gas: maybe-all-stage3-bfd
59641 all-stage4-gas: maybe-all-stage4-bfd
59642 all-stageprofile-gas: maybe-all-stageprofile-bfd
59643 all-stagetrain-gas: maybe-all-stagetrain-bfd
59644 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
59645 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
59646 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
59647 all-gas: maybe-all-intl
59648 all-stage1-gas: maybe-all-stage1-intl
59649 all-stage2-gas: maybe-all-stage2-intl
59650 all-stage3-gas: maybe-all-stage3-intl
59651 all-stage4-gas: maybe-all-stage4-intl
59652 all-stageprofile-gas: maybe-all-stageprofile-intl
59653 all-stagetrain-gas: maybe-all-stagetrain-intl
59654 all-stagefeedback-gas: maybe-all-stagefeedback-intl
59655 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
59656 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
59657 configure-ld: maybe-configure-intl
59658 configure-stage1-ld: maybe-configure-stage1-intl
59659 configure-stage2-ld: maybe-configure-stage2-intl
59660 configure-stage3-ld: maybe-configure-stage3-intl
59661 configure-stage4-ld: maybe-configure-stage4-intl
59662 configure-stageprofile-ld: maybe-configure-stageprofile-intl
59663 configure-stagetrain-ld: maybe-configure-stagetrain-intl
59664 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
59665 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
59666 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
59667 all-ld: maybe-all-libiberty
59668 all-stage1-ld: maybe-all-stage1-libiberty
59669 all-stage2-ld: maybe-all-stage2-libiberty
59670 all-stage3-ld: maybe-all-stage3-libiberty
59671 all-stage4-ld: maybe-all-stage4-libiberty
59672 all-stageprofile-ld: maybe-all-stageprofile-libiberty
59673 all-stagetrain-ld: maybe-all-stagetrain-libiberty
59674 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
59675 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
59676 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
59677 all-ld: maybe-all-bfd
59678 all-stage1-ld: maybe-all-stage1-bfd
59679 all-stage2-ld: maybe-all-stage2-bfd
59680 all-stage3-ld: maybe-all-stage3-bfd
59681 all-stage4-ld: maybe-all-stage4-bfd
59682 all-stageprofile-ld: maybe-all-stageprofile-bfd
59683 all-stagetrain-ld: maybe-all-stagetrain-bfd
59684 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
59685 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
59686 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
59687 all-ld: maybe-all-opcodes
59688 all-stage1-ld: maybe-all-stage1-opcodes
59689 all-stage2-ld: maybe-all-stage2-opcodes
59690 all-stage3-ld: maybe-all-stage3-opcodes
59691 all-stage4-ld: maybe-all-stage4-opcodes
59692 all-stageprofile-ld: maybe-all-stageprofile-opcodes
59693 all-stagetrain-ld: maybe-all-stagetrain-opcodes
59694 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
59695 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
59696 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
59697 all-ld: maybe-all-build-bison
59698 all-stage1-ld: maybe-all-build-bison
59699 all-stage2-ld: maybe-all-build-bison
59700 all-stage3-ld: maybe-all-build-bison
59701 all-stage4-ld: maybe-all-build-bison
59702 all-stageprofile-ld: maybe-all-build-bison
59703 all-stagetrain-ld: maybe-all-build-bison
59704 all-stagefeedback-ld: maybe-all-build-bison
59705 all-stageautoprofile-ld: maybe-all-build-bison
59706 all-stageautofeedback-ld: maybe-all-build-bison
59707 all-ld: maybe-all-build-flex
59708 all-stage1-ld: maybe-all-build-flex
59709 all-stage2-ld: maybe-all-build-flex
59710 all-stage3-ld: maybe-all-build-flex
59711 all-stage4-ld: maybe-all-build-flex
59712 all-stageprofile-ld: maybe-all-build-flex
59713 all-stagetrain-ld: maybe-all-build-flex
59714 all-stagefeedback-ld: maybe-all-build-flex
59715 all-stageautoprofile-ld: maybe-all-build-flex
59716 all-stageautofeedback-ld: maybe-all-build-flex
59717 all-ld: maybe-all-intl
59718 all-stage1-ld: maybe-all-stage1-intl
59719 all-stage2-ld: maybe-all-stage2-intl
59720 all-stage3-ld: maybe-all-stage3-intl
59721 all-stage4-ld: maybe-all-stage4-intl
59722 all-stageprofile-ld: maybe-all-stageprofile-intl
59723 all-stagetrain-ld: maybe-all-stagetrain-intl
59724 all-stagefeedback-ld: maybe-all-stagefeedback-intl
59725 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
59726 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
59727 all-ld: maybe-all-gas
59728 all-stage1-ld: maybe-all-stage1-gas
59729 all-stage2-ld: maybe-all-stage2-gas
59730 all-stage3-ld: maybe-all-stage3-gas
59731 all-stage4-ld: maybe-all-stage4-gas
59732 all-stageprofile-ld: maybe-all-stageprofile-gas
59733 all-stagetrain-ld: maybe-all-stagetrain-gas
59734 all-stagefeedback-ld: maybe-all-stagefeedback-gas
59735 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
59736 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
59737 all-ld: maybe-all-binutils
59738 all-stage1-ld: maybe-all-stage1-binutils
59739 all-stage2-ld: maybe-all-stage2-binutils
59740 all-stage3-ld: maybe-all-stage3-binutils
59741 all-stage4-ld: maybe-all-stage4-binutils
59742 all-stageprofile-ld: maybe-all-stageprofile-binutils
59743 all-stagetrain-ld: maybe-all-stagetrain-binutils
59744 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
59745 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
59746 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
59747 install-ld: maybe-install-gold
59748 install-strip-ld: maybe-install-strip-gold
59749 configure-gold: maybe-configure-intl
59750 configure-stage1-gold: maybe-configure-stage1-intl
59751 configure-stage2-gold: maybe-configure-stage2-intl
59752 configure-stage3-gold: maybe-configure-stage3-intl
59753 configure-stage4-gold: maybe-configure-stage4-intl
59754 configure-stageprofile-gold: maybe-configure-stageprofile-intl
59755 configure-stagetrain-gold: maybe-configure-stagetrain-intl
59756 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
59757 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
59758 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
59759 all-gold: maybe-all-libiberty
59760 all-stage1-gold: maybe-all-stage1-libiberty
59761 all-stage2-gold: maybe-all-stage2-libiberty
59762 all-stage3-gold: maybe-all-stage3-libiberty
59763 all-stage4-gold: maybe-all-stage4-libiberty
59764 all-stageprofile-gold: maybe-all-stageprofile-libiberty
59765 all-stagetrain-gold: maybe-all-stagetrain-libiberty
59766 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
59767 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
59768 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
59769 all-gold: maybe-all-intl
59770 all-stage1-gold: maybe-all-stage1-intl
59771 all-stage2-gold: maybe-all-stage2-intl
59772 all-stage3-gold: maybe-all-stage3-intl
59773 all-stage4-gold: maybe-all-stage4-intl
59774 all-stageprofile-gold: maybe-all-stageprofile-intl
59775 all-stagetrain-gold: maybe-all-stagetrain-intl
59776 all-stagefeedback-gold: maybe-all-stagefeedback-intl
59777 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
59778 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
59779 all-gold: maybe-all-bfd
59780 all-stage1-gold: maybe-all-stage1-bfd
59781 all-stage2-gold: maybe-all-stage2-bfd
59782 all-stage3-gold: maybe-all-stage3-bfd
59783 all-stage4-gold: maybe-all-stage4-bfd
59784 all-stageprofile-gold: maybe-all-stageprofile-bfd
59785 all-stagetrain-gold: maybe-all-stagetrain-bfd
59786 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
59787 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
59788 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
59789 all-gold: maybe-all-build-bison
59790 all-stage1-gold: maybe-all-build-bison
59791 all-stage2-gold: maybe-all-build-bison
59792 all-stage3-gold: maybe-all-build-bison
59793 all-stage4-gold: maybe-all-build-bison
59794 all-stageprofile-gold: maybe-all-build-bison
59795 all-stagetrain-gold: maybe-all-build-bison
59796 all-stagefeedback-gold: maybe-all-build-bison
59797 all-stageautoprofile-gold: maybe-all-build-bison
59798 all-stageautofeedback-gold: maybe-all-build-bison
59799 all-gold: maybe-all-gas
59800 all-stage1-gold: maybe-all-stage1-gas
59801 all-stage2-gold: maybe-all-stage2-gas
59802 all-stage3-gold: maybe-all-stage3-gas
59803 all-stage4-gold: maybe-all-stage4-gas
59804 all-stageprofile-gold: maybe-all-stageprofile-gas
59805 all-stagetrain-gold: maybe-all-stagetrain-gas
59806 all-stagefeedback-gold: maybe-all-stagefeedback-gas
59807 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
59808 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
59809 check-gold: maybe-all-binutils
59810 check-stage1-gold: maybe-all-stage1-binutils
59811 check-stage2-gold: maybe-all-stage2-binutils
59812 check-stage3-gold: maybe-all-stage3-binutils
59813 check-stage4-gold: maybe-all-stage4-binutils
59814 check-stageprofile-gold: maybe-all-stageprofile-binutils
59815 check-stagetrain-gold: maybe-all-stagetrain-binutils
59816 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
59817 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
59818 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
59819 check-gold: maybe-all-gas
59820 check-stage1-gold: maybe-all-stage1-gas
59821 check-stage2-gold: maybe-all-stage2-gas
59822 check-stage3-gold: maybe-all-stage3-gas
59823 check-stage4-gold: maybe-all-stage4-gas
59824 check-stageprofile-gold: maybe-all-stageprofile-gas
59825 check-stagetrain-gold: maybe-all-stagetrain-gas
59826 check-stagefeedback-gold: maybe-all-stagefeedback-gas
59827 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
59828 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
59829 configure-opcodes: maybe-configure-intl
59830 configure-stage1-opcodes: maybe-configure-stage1-intl
59831 configure-stage2-opcodes: maybe-configure-stage2-intl
59832 configure-stage3-opcodes: maybe-configure-stage3-intl
59833 configure-stage4-opcodes: maybe-configure-stage4-intl
59834 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
59835 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
59836 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
59837 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
59838 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
59839 all-opcodes: maybe-all-bfd
59840 all-stage1-opcodes: maybe-all-stage1-bfd
59841 all-stage2-opcodes: maybe-all-stage2-bfd
59842 all-stage3-opcodes: maybe-all-stage3-bfd
59843 all-stage4-opcodes: maybe-all-stage4-bfd
59844 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
59845 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
59846 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
59847 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
59848 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
59849 all-opcodes: maybe-all-libiberty
59850 all-stage1-opcodes: maybe-all-stage1-libiberty
59851 all-stage2-opcodes: maybe-all-stage2-libiberty
59852 all-stage3-opcodes: maybe-all-stage3-libiberty
59853 all-stage4-opcodes: maybe-all-stage4-libiberty
59854 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
59855 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
59856 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
59857 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
59858 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
59859 all-opcodes: maybe-all-intl
59860 all-stage1-opcodes: maybe-all-stage1-intl
59861 all-stage2-opcodes: maybe-all-stage2-intl
59862 all-stage3-opcodes: maybe-all-stage3-intl
59863 all-stage4-opcodes: maybe-all-stage4-intl
59864 all-stageprofile-opcodes: maybe-all-stageprofile-intl
59865 all-stagetrain-opcodes: maybe-all-stagetrain-intl
59866 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
59867 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
59868 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
59869 all-dejagnu: maybe-all-tcl
59870 all-dejagnu: maybe-all-expect
59871 all-dejagnu: maybe-all-tk
59872 configure-expect: maybe-configure-tcl
59873 configure-expect: maybe-configure-tk
59874 all-expect: maybe-all-tcl
59875 all-expect: maybe-all-tk
59876 configure-itcl: maybe-configure-tcl
59877 configure-itcl: maybe-configure-tk
59878 all-itcl: maybe-all-tcl
59879 all-itcl: maybe-all-tk
59880 install-itcl: maybe-install-tcl
59881 install-strip-itcl: maybe-install-strip-tcl
59882 configure-tk: maybe-configure-tcl
59883 all-tk: maybe-all-tcl
59884 all-sid: maybe-all-tcl
59885 all-sid: maybe-all-tk
59886 install-sid: maybe-install-tcl
59887 install-strip-sid: maybe-install-strip-tcl
59888 install-sid: maybe-install-tk
59889 install-strip-sid: maybe-install-strip-tk
59890 all-sim: maybe-all-readline
59891 all-sim: maybe-configure-gdb
59892 all-fastjar: maybe-all-build-texinfo
59893 all-libctf: all-libiberty
59894 all-stage1-libctf: all-stage1-libiberty
59895 all-stage2-libctf: all-stage2-libiberty
59896 all-stage3-libctf: all-stage3-libiberty
59897 all-stage4-libctf: all-stage4-libiberty
59898 all-stageprofile-libctf: all-stageprofile-libiberty
59899 all-stagetrain-libctf: all-stagetrain-libiberty
59900 all-stagefeedback-libctf: all-stagefeedback-libiberty
59901 all-stageautoprofile-libctf: all-stageautoprofile-libiberty
59902 all-stageautofeedback-libctf: all-stageautofeedback-libiberty
59903 all-libctf: maybe-all-bfd
59904 all-stage1-libctf: maybe-all-stage1-bfd
59905 all-stage2-libctf: maybe-all-stage2-bfd
59906 all-stage3-libctf: maybe-all-stage3-bfd
59907 all-stage4-libctf: maybe-all-stage4-bfd
59908 all-stageprofile-libctf: maybe-all-stageprofile-bfd
59909 all-stagetrain-libctf: maybe-all-stagetrain-bfd
59910 all-stagefeedback-libctf: maybe-all-stagefeedback-bfd
59911 all-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
59912 all-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
59913 all-libctf: maybe-all-zlib
59914 all-stage1-libctf: maybe-all-stage1-zlib
59915 all-stage2-libctf: maybe-all-stage2-zlib
59916 all-stage3-libctf: maybe-all-stage3-zlib
59917 all-stage4-libctf: maybe-all-stage4-zlib
59918 all-stageprofile-libctf: maybe-all-stageprofile-zlib
59919 all-stagetrain-libctf: maybe-all-stagetrain-zlib
59920 all-stagefeedback-libctf: maybe-all-stagefeedback-zlib
59921 all-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
59922 all-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
59923 configure-libctf: maybe-all-bfd
59924 configure-stage1-libctf: maybe-all-stage1-bfd
59925 configure-stage2-libctf: maybe-all-stage2-bfd
59926 configure-stage3-libctf: maybe-all-stage3-bfd
59927 configure-stage4-libctf: maybe-all-stage4-bfd
59928 configure-stageprofile-libctf: maybe-all-stageprofile-bfd
59929 configure-stagetrain-libctf: maybe-all-stagetrain-bfd
59930 configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd
59931 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
59932 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
59933 configure-libctf: maybe-all-intl
59934 configure-stage1-libctf: maybe-all-stage1-intl
59935 configure-stage2-libctf: maybe-all-stage2-intl
59936 configure-stage3-libctf: maybe-all-stage3-intl
59937 configure-stage4-libctf: maybe-all-stage4-intl
59938 configure-stageprofile-libctf: maybe-all-stageprofile-intl
59939 configure-stagetrain-libctf: maybe-all-stagetrain-intl
59940 configure-stagefeedback-libctf: maybe-all-stagefeedback-intl
59941 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-intl
59942 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-intl
59943 configure-libctf: maybe-all-zlib
59944 configure-stage1-libctf: maybe-all-stage1-zlib
59945 configure-stage2-libctf: maybe-all-stage2-zlib
59946 configure-stage3-libctf: maybe-all-stage3-zlib
59947 configure-stage4-libctf: maybe-all-stage4-zlib
59948 configure-stageprofile-libctf: maybe-all-stageprofile-zlib
59949 configure-stagetrain-libctf: maybe-all-stagetrain-zlib
59950 configure-stagefeedback-libctf: maybe-all-stagefeedback-zlib
59951 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
59952 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
59953 configure-libctf: maybe-all-libiconv
59954 configure-stage1-libctf: maybe-all-stage1-libiconv
59955 configure-stage2-libctf: maybe-all-stage2-libiconv
59956 configure-stage3-libctf: maybe-all-stage3-libiconv
59957 configure-stage4-libctf: maybe-all-stage4-libiconv
59958 configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
59959 configure-stagetrain-libctf: maybe-all-stagetrain-libiconv
59960 configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
59961 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv
59962 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv
59963 all-bison: maybe-all-build-texinfo
59964 all-flex: maybe-all-build-bison
59965 all-flex: maybe-all-m4
59966 all-flex: maybe-all-build-texinfo
59967 all-m4: maybe-all-build-texinfo
59968 configure-target-fastjar: maybe-configure-target-zlib
59969 all-target-fastjar: maybe-all-target-zlib
59970 configure-target-libgo: maybe-configure-target-libffi
59971 all-target-libgo: maybe-all-target-libbacktrace
59972 all-target-libgo: maybe-all-target-libffi
59973 all-target-libgo: maybe-all-target-libatomic
59974 configure-target-libphobos: maybe-configure-target-libbacktrace
59975 configure-target-libphobos: maybe-configure-target-zlib
59976 all-target-libphobos: maybe-all-target-libbacktrace
59977 all-target-libphobos: maybe-all-target-zlib
59978 all-target-libphobos: maybe-all-target-libatomic
59979 configure-target-libstdc++-v3: maybe-configure-target-libgomp
59980 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
59981 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
59982 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
59983 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
59984 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
59985 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
59986 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
59987 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
59988 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
59989 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
59990 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
59991 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
59992 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
59993 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
59994 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
59995 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
59996 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
59997 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
59998 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
59999 configure-target-libvtv: maybe-all-target-libstdc++-v3
60000 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
60001 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
60002 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
60003 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
60004 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
60005 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
60006 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
60007 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
60008 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
60009 all-target-libstdc++-v3: maybe-configure-target-libgomp
60010 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
60011 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
60012 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
60013 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
60014 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
60015 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
60016 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
60017 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
60018 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
60019 install-target-libgo: maybe-install-target-libatomic
60020 install-target-libgfortran: maybe-install-target-libquadmath
60021 install-target-libgfortran: maybe-install-target-libgcc
60022 install-target-libphobos: maybe-install-target-libatomic
60023 install-target-libsanitizer: maybe-install-target-libstdc++-v3
60024 install-target-libsanitizer: maybe-install-target-libgcc
60025 install-target-libvtv: maybe-install-target-libstdc++-v3
60026 install-target-libvtv: maybe-install-target-libgcc
60027 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
60028 install-target-liboffloadmic: maybe-install-target-libgcc
60029 install-target-libitm: maybe-install-target-libgcc
60030 install-target-libobjc: maybe-install-target-libgcc
60031 install-target-libstdc++-v3: maybe-install-target-libgcc
60032 all-target-libgloss: maybe-all-target-newlib
60033 all-target-winsup: maybe-all-target-libtermcap
60034 configure-target-libgfortran: maybe-all-target-libquadmath
60035 configure-target-libgfortran: maybe-all-target-libbacktrace
60038 @if gcc-bootstrap
60039 configure-gnattools: stage_last
60040 configure-libcc1: stage_last
60041 configure-utils: stage_last
60042 configure-gdb: stage_last
60043 configure-gdbserver: stage_last
60044 configure-gdbsupport: stage_last
60045 configure-gprof: stage_last
60046 configure-sid: stage_last
60047 configure-sim: stage_last
60048 configure-fastjar: stage_last
60049 configure-bison: stage_last
60050 configure-flex: stage_last
60051 configure-m4: stage_last
60052 @endif gcc-bootstrap
60054 @unless gcc-bootstrap
60055 all-gnattools: maybe-all-target-libstdc++-v3
60056 configure-libcc1: maybe-configure-gcc
60057 all-libcc1: maybe-all-gcc
60058 all-utils: maybe-all-libiberty
60059 configure-gdb: maybe-all-intl
60060 configure-gdb: maybe-all-bfd
60061 configure-gdb: maybe-all-libiconv
60062 all-gdb: maybe-all-libiberty
60063 all-gdb: maybe-all-libiconv
60064 all-gdb: maybe-all-opcodes
60065 all-gdb: maybe-all-libdecnumber
60066 all-gdb: maybe-all-libctf
60067 all-gdbserver: maybe-all-libiberty
60068 configure-gdbsupport: maybe-configure-intl
60069 all-gdbsupport: maybe-all-intl
60070 configure-gprof: maybe-configure-intl
60071 all-gprof: maybe-all-libiberty
60072 all-gprof: maybe-all-bfd
60073 all-gprof: maybe-all-opcodes
60074 all-gprof: maybe-all-intl
60075 all-gprof: maybe-all-gas
60076 all-sid: maybe-all-libiberty
60077 all-sid: maybe-all-bfd
60078 all-sid: maybe-all-opcodes
60079 configure-sim: maybe-configure-intl
60080 all-sim: maybe-all-intl
60081 all-sim: maybe-all-libiberty
60082 all-sim: maybe-all-bfd
60083 all-sim: maybe-all-opcodes
60084 all-fastjar: maybe-all-zlib
60085 all-fastjar: maybe-all-libiberty
60086 all-bison: maybe-all-intl
60087 all-flex: maybe-all-intl
60088 all-m4: maybe-all-intl
60089 configure-target-libgo: maybe-all-target-libstdc++-v3
60090 configure-target-liboffloadmic: maybe-configure-target-libgomp
60091 all-target-liboffloadmic: maybe-all-target-libgomp
60092 configure-target-newlib: maybe-all-binutils
60093 configure-target-newlib: maybe-all-ld
60094 @endunless gcc-bootstrap
60096 # Dependencies for target modules on other target modules are
60097 # described by lang_env_dependencies; the defaults apply to anything
60098 # not mentioned there.
60101 @if gcc-bootstrap
60102 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
60103 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
60104 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
60105 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
60106 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
60107 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
60108 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
60109 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
60110 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
60111 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
60112 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
60113 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
60114 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
60115 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
60116 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
60117 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
60118 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
60119 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
60120 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
60121 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
60122 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
60123 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
60124 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
60125 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
60126 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
60127 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
60128 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
60129 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
60130 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
60131 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
60132 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
60133 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
60134 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
60135 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
60136 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
60137 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
60138 @endif gcc-bootstrap
60140 @if gcc-no-bootstrap
60141 configure-target-libstdc++-v3: maybe-all-target-libgcc
60142 configure-target-libsanitizer: maybe-all-target-libgcc
60143 configure-target-libvtv: maybe-all-target-libgcc
60144 configure-target-liboffloadmic: maybe-all-target-libgcc
60145 configure-target-libssp: maybe-all-target-libgcc
60146 configure-target-newlib: maybe-all-target-libgcc
60147 configure-target-libbacktrace: maybe-all-target-libgcc
60148 configure-target-libquadmath: maybe-all-target-libgcc
60149 configure-target-libgfortran: maybe-all-target-libgcc
60150 configure-target-libobjc: maybe-all-target-libgcc
60151 configure-target-libgo: maybe-all-target-libgcc
60152 configure-target-libhsail-rt: maybe-all-target-libgcc
60153 configure-target-libphobos: maybe-all-target-libgcc
60154 configure-target-libtermcap: maybe-all-target-libgcc
60155 configure-target-winsup: maybe-all-target-libgcc
60156 configure-target-libgloss: maybe-all-target-libgcc
60157 configure-target-libffi: maybe-all-target-libgcc
60158 configure-target-zlib: maybe-all-target-libgcc
60159 configure-target-rda: maybe-all-target-libgcc
60160 configure-target-libada: maybe-all-target-libgcc
60161 configure-target-libgomp: maybe-all-target-libgcc
60162 configure-target-libitm: maybe-all-target-libgcc
60163 configure-target-libatomic: maybe-all-target-libgcc
60164 @endif gcc-no-bootstrap
60167 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
60169 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
60171 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
60173 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
60174 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
60176 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
60180 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
60182 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
60184 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
60186 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
60188 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
60190 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
60192 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
60194 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
60196 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
60199 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
60200 configure-target-libffi: maybe-all-target-libstdc++-v3
60202 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
60204 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
60206 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
60208 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
60210 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
60211 configure-target-libitm: maybe-all-target-libstdc++-v3
60213 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
60216 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
60217 GDB_TK = @GDB_TK@
60218 INSTALL_GDB_TK = @INSTALL_GDB_TK@
60219 configure-gdb: $(CONFIGURE_GDB_TK)
60220 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
60221 install-gdb: $(INSTALL_GDB_TK)
60223 # Serialization dependencies. Host configures don't work well in parallel to
60224 # each other, due to contention over config.cache. Target configures and
60225 # build configures are similar.
60226 @serialization_dependencies@
60228 # --------------------------------
60229 # Regenerating top level configury
60230 # --------------------------------
60232 # Rebuilding Makefile.in, using autogen.
60233 AUTOGEN = autogen
60234 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
60235 cd $(srcdir) && $(AUTOGEN) Makefile.def
60237 # Rebuilding Makefile.
60238 Makefile: $(srcdir)/Makefile.in config.status
60239 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
60241 config.status: configure
60242 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
60244 # Rebuilding configure.
60245 AUTOCONF = autoconf
60246 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
60247 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
60248 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
60249 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
60250 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
60251 cd $(srcdir) && $(AUTOCONF)
60253 # ------------------------------
60254 # Special directives to GNU Make
60255 # ------------------------------
60257 # Don't pass command-line variables to submakes.
60258 .NOEXPORT:
60259 MAKEOVERRIDES=
60261 # end of Makefile.in