* tree.c (array_at_struct_end_p): Look through MEM_REF.
[official-gcc.git] / Makefile.in
blobf778d03583e7c3375d0be7710520669791a28083
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 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
217 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
218 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
219 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
220 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
221 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
222 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
223 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
224 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
225 ISLVER="$(HOST_ISLVER)"; export ISLVER; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
228 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
229 @if gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
231 @endif gcc-bootstrap
232 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
234 POSTSTAGE1_CXX_EXPORT = \
235 CXX='$(CXX)'; export CXX; \
236 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
237 @if target-libstdc++-v3-bootstrap
238 # Override the above if we're bootstrapping C++.
239 POSTSTAGE1_CXX_EXPORT = \
240 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
241 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
243 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
245 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
246 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
248 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
249 export CXX; \
250 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
251 @endif target-libstdc++-v3-bootstrap
253 # Similar, for later GCC stages.
254 POSTSTAGE1_HOST_EXPORTS = \
255 $(HOST_EXPORTS) \
256 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
257 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
258 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
259 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
260 $(POSTSTAGE1_CXX_EXPORT) \
261 $(LTO_EXPORTS) \
262 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
263 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
264 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
266 # Target libraries are put under this directory:
267 TARGET_SUBDIR = @target_subdir@
268 # This is set by the configure script to the arguments to use when configuring
269 # directories built for the target.
270 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
271 # This is the list of variables to export in the environment when
272 # configuring subdirectories for the target system.
273 BASE_TARGET_EXPORTS = \
274 $(BASE_EXPORTS) \
275 AR="$(AR_FOR_TARGET)"; export AR; \
276 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
277 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
279 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
280 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
282 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
283 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
284 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
285 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
286 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
287 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
288 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
289 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
290 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
291 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
292 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
293 READELF="$(READELF_FOR_TARGET)"; export READELF; \
294 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
295 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
296 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
297 @if gcc-bootstrap
298 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
299 @endif gcc-bootstrap
300 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
301 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
303 RAW_CXX_TARGET_EXPORTS = \
304 $(BASE_TARGET_EXPORTS) \
305 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
306 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 NORMAL_TARGET_EXPORTS = \
309 $(BASE_TARGET_EXPORTS) \
310 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
312 # Where to find GMP
313 HOST_GMPLIBS = @gmplibs@
314 HOST_GMPINC = @gmpinc@
316 # Where to find isl
317 HOST_ISLLIBS = @isllibs@
318 HOST_ISLINC = @islinc@
319 HOST_ISLVER = @islver@
321 # Where to find libelf
322 HOST_LIBELFLIBS = @libelflibs@
323 HOST_LIBELFINC = @libelfinc@
325 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
327 # ----------------------------------------------
328 # Programs producing files for the BUILD machine
329 # ----------------------------------------------
331 SHELL = @SHELL@
333 # pwd command to use. Allow user to override default by setting PWDCMD in
334 # the environment to account for automounters. The make variable must not
335 # be called PWDCMD, otherwise the value set here is passed to make
336 # subprocesses and overrides the setting from the user's environment.
337 # Don't use PWD since it is a common shell environment variable and we
338 # don't want to corrupt it.
339 PWD_COMMAND = $${PWDCMD-pwd}
341 # compilers to use to create programs which must be run in the build
342 # environment.
343 AR_FOR_BUILD = @AR_FOR_BUILD@
344 AS_FOR_BUILD = @AS_FOR_BUILD@
345 CC_FOR_BUILD = @CC_FOR_BUILD@
346 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
347 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
348 CXX_FOR_BUILD = @CXX_FOR_BUILD@
349 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
350 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
351 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
352 GOC_FOR_BUILD = @GOC_FOR_BUILD@
353 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
354 LD_FOR_BUILD = @LD_FOR_BUILD@
355 NM_FOR_BUILD = @NM_FOR_BUILD@
356 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
357 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
358 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
360 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BUILD_PREFIX = @BUILD_PREFIX@
363 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
365 # Flags to pass to stage2 and later makes. They are defined
366 # here so that they can be overridden by Makefile fragments.
367 BOOT_CFLAGS= -g -O2
368 BOOT_LDFLAGS=
369 BOOT_ADAFLAGS= -gnatpg
371 AWK = @AWK@
372 SED = @SED@
373 BISON = @BISON@
374 YACC = @YACC@
375 FLEX = @FLEX@
376 LEX = @LEX@
377 M4 = @M4@
378 MAKEINFO = @MAKEINFO@
379 EXPECT = @EXPECT@
380 RUNTEST = @RUNTEST@
382 # This just becomes part of the MAKEINFO definition passed down to
383 # sub-makes. It lets flags be given on the command line while still
384 # using the makeinfo from the object tree.
385 # (Default to avoid splitting info files by setting the threshold high.)
386 MAKEINFOFLAGS = --split-size=5000000
388 # ---------------------------------------------
389 # Programs producing files for the HOST machine
390 # ---------------------------------------------
392 AS = @AS@
393 AR = @AR@
394 AR_FLAGS = rc
395 CC = @CC@
396 CXX = @CXX@
397 DLLTOOL = @DLLTOOL@
398 LD = @LD@
399 LIPO = @LIPO@
400 NM = @NM@
401 OBJDUMP = @OBJDUMP@
402 RANLIB = @RANLIB@
403 READELF = @READELF@
404 STRIP = @STRIP@
405 WINDRES = @WINDRES@
406 WINDMC = @WINDMC@
408 GNATBIND = @GNATBIND@
409 GNATMAKE = @GNATMAKE@
411 CFLAGS = @CFLAGS@
412 LDFLAGS = @LDFLAGS@
413 LIBCFLAGS = $(CFLAGS)
414 CXXFLAGS = @CXXFLAGS@
415 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
416 GOCFLAGS = $(CFLAGS)
418 TFLAGS =
420 # Defaults for all stages; some are overridden below.
422 STAGE_CFLAGS = $(BOOT_CFLAGS)
423 STAGE_TFLAGS = $(TFLAGS)
424 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
427 # Defaults for stage 1; some are overridden below.
428 STAGE1_CFLAGS = $(STAGE_CFLAGS)
429 STAGE1_CXXFLAGS = $(CXXFLAGS)
430 @if target-libstdc++-v3-bootstrap
431 # Override the above if we're bootstrapping C++.
432 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
433 @endif target-libstdc++-v3-bootstrap
434 STAGE1_TFLAGS = $(STAGE_TFLAGS)
435 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
437 # Defaults for stage 2; some are overridden below.
438 STAGE2_CFLAGS = $(STAGE_CFLAGS)
439 STAGE2_CXXFLAGS = $(CXXFLAGS)
440 @if target-libstdc++-v3-bootstrap
441 # Override the above if we're bootstrapping C++.
442 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
443 @endif target-libstdc++-v3-bootstrap
444 STAGE2_TFLAGS = $(STAGE_TFLAGS)
445 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
447 # Defaults for stage 3; some are overridden below.
448 STAGE3_CFLAGS = $(STAGE_CFLAGS)
449 STAGE3_CXXFLAGS = $(CXXFLAGS)
450 @if target-libstdc++-v3-bootstrap
451 # Override the above if we're bootstrapping C++.
452 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
453 @endif target-libstdc++-v3-bootstrap
454 STAGE3_TFLAGS = $(STAGE_TFLAGS)
455 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
457 # Defaults for stage 4; some are overridden below.
458 STAGE4_CFLAGS = $(STAGE_CFLAGS)
459 STAGE4_CXXFLAGS = $(CXXFLAGS)
460 @if target-libstdc++-v3-bootstrap
461 # Override the above if we're bootstrapping C++.
462 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
463 @endif target-libstdc++-v3-bootstrap
464 STAGE4_TFLAGS = $(STAGE_TFLAGS)
465 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
467 # Defaults for stage profile; some are overridden below.
468 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
469 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
470 @if target-libstdc++-v3-bootstrap
471 # Override the above if we're bootstrapping C++.
472 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
473 @endif target-libstdc++-v3-bootstrap
474 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
475 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
477 # Defaults for stage feedback; some are overridden below.
478 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
479 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
480 @if target-libstdc++-v3-bootstrap
481 # Override the above if we're bootstrapping C++.
482 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
483 @endif target-libstdc++-v3-bootstrap
484 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
485 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
488 # By default, C and C++ are the only stage1 languages, because they are the
489 # only ones we require to build with the bootstrap compiler, and also the
490 # only ones useful for building stage2.
492 STAGE1_CFLAGS = @stage1_cflags@
493 STAGE1_CHECKING = @stage1_checking@
494 STAGE1_LANGUAGES = @stage1_languages@
495 # * We force-disable intermodule optimizations, even if
496 # --enable-intermodule was passed, since the installed compiler
497 # probably can't handle them. Luckily, autoconf always respects
498 # the last argument when conflicting --enable arguments are passed.
499 # * Likewise, we force-disable coverage flags, since the installed
500 # compiler probably has never heard of them.
501 # * We also disable -Wformat, since older GCCs don't understand newer %s.
502 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
503 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
504 --disable-build-format-warnings
506 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
507 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
509 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
510 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
512 do-compare = @do_compare@
513 do-compare3 = $(do-compare)
515 # -----------------------------------------------
516 # Programs producing files for the TARGET machine
517 # -----------------------------------------------
519 AR_FOR_TARGET=@AR_FOR_TARGET@
520 AS_FOR_TARGET=@AS_FOR_TARGET@
521 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
523 # If GCC_FOR_TARGET is not overriden on the command line, then this
524 # variable is passed down to the gcc Makefile, where it is used to
525 # build libgcc2.a. We define it here so that it can itself be
526 # overridden on the command line.
527 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
528 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
529 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
530 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
531 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
532 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
533 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
534 LD_FOR_TARGET=@LD_FOR_TARGET@
536 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
537 NM_FOR_TARGET=@NM_FOR_TARGET@
538 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
539 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
540 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
541 READELF_FOR_TARGET=@READELF_FOR_TARGET@
542 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
543 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
544 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
546 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
547 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
548 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
550 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
551 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
553 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
554 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
555 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
556 GOCFLAGS_FOR_TARGET = -O2 -g
558 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
559 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
560 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
562 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
564 # ------------------------------------
565 # Miscellaneous targets and flag lists
566 # ------------------------------------
568 # The first rule in the file had better be this one. Don't put any above it.
569 # This lives here to allow makefile fragments to contain dependencies.
570 all:
572 #### host and target specific makefile fragments come in here.
573 @target_makefile_frag@
574 @alphaieee_frag@
575 @ospace_frag@
576 @host_makefile_frag@
579 # This is the list of directories that may be needed in RPATH_ENVVAR
580 # so that programs built for the target machine work.
581 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libmpx)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
583 @if target-libstdc++-v3
584 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
585 @endif target-libstdc++-v3
587 @if target-libsanitizer
588 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
589 @endif target-libsanitizer
591 @if target-libmpx
592 TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
593 @endif target-libmpx
595 @if target-libvtv
596 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
597 @endif target-libvtv
599 @if target-libcilkrts
600 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
601 @endif target-libcilkrts
603 @if target-liboffloadmic
604 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
605 @endif target-liboffloadmic
607 @if target-libssp
608 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
609 @endif target-libssp
611 @if target-libgomp
612 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
613 @endif target-libgomp
615 @if target-libitm
616 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
617 @endif target-libitm
619 @if target-libatomic
620 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
621 @endif target-libatomic
625 # This is the list of directories that may be needed in RPATH_ENVVAR
626 # so that programs built for the host machine work.
627 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
629 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
630 @if gcc
631 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
632 @endif gcc
635 @if gmp
636 HOST_LIB_PATH_gmp = \
637 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
638 @endif gmp
640 @if mpfr
641 HOST_LIB_PATH_mpfr = \
642 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
643 @endif mpfr
645 @if mpc
646 HOST_LIB_PATH_mpc = \
647 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
648 @endif mpc
650 @if isl
651 HOST_LIB_PATH_isl = \
652 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
653 @endif isl
655 @if libelf
656 HOST_LIB_PATH_libelf = \
657 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
658 @endif libelf
661 CXX_FOR_TARGET_FLAG_TO_PASS = \
662 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
663 @if target-libstdc++-v3
664 # CXX_FOR_TARGET is tricky to get right for target libs that require a
665 # functional C++ compiler. When we recurse, if we expand
666 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
667 # libstdc++ include flags from the script. Instead, we get an
668 # -funconfigured-* word, so that we'll get errors if this invalid C++
669 # command line is used for anything, but also so that we can use the
670 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
671 # don't pass it on, sub-make will use the default definition, that
672 # re-expands it at the time of use, so we'll get it right when we need
673 # it. One potential exception is the expansion of CXX_FOR_TARGET
674 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
675 # really work, for C++ host programs can't depend on the current-stage
676 # C++ target library.
677 CXX_FOR_TARGET_FLAG_TO_PASS = \
678 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
679 @endif target-libstdc++-v3
681 # Flags to pass down to all sub-makes. STAGE*FLAGS,
682 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
683 # overrideable (for a bootstrap build stage1 also builds gcc.info).
684 BASE_FLAGS_TO_PASS = \
685 "DESTDIR=$(DESTDIR)" \
686 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
687 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
688 "bindir=$(bindir)" \
689 "datadir=$(datadir)" \
690 "exec_prefix=$(exec_prefix)" \
691 "includedir=$(includedir)" \
692 "datarootdir=$(datarootdir)" \
693 "docdir=$(docdir)" \
694 "infodir=$(infodir)" \
695 "pdfdir=$(pdfdir)" \
696 "htmldir=$(htmldir)" \
697 "libdir=$(libdir)" \
698 "libexecdir=$(libexecdir)" \
699 "lispdir=$(lispdir)" \
700 "localstatedir=$(localstatedir)" \
701 "mandir=$(mandir)" \
702 "oldincludedir=$(oldincludedir)" \
703 "prefix=$(prefix)" \
704 "sbindir=$(sbindir)" \
705 "sharedstatedir=$(sharedstatedir)" \
706 "sysconfdir=$(sysconfdir)" \
707 "tooldir=$(tooldir)" \
708 "build_tooldir=$(build_tooldir)" \
709 "target_alias=$(target_alias)" \
710 "AWK=$(AWK)" \
711 "BISON=$(BISON)" \
712 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
713 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
714 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
715 "EXPECT=$(EXPECT)" \
716 "FLEX=$(FLEX)" \
717 "INSTALL=$(INSTALL)" \
718 "INSTALL_DATA=$(INSTALL_DATA)" \
719 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
720 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
721 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
722 "LEX=$(LEX)" \
723 "M4=$(M4)" \
724 "MAKE=$(MAKE)" \
725 "RUNTEST=$(RUNTEST)" \
726 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
727 "SED=$(SED)" \
728 "SHELL=$(SHELL)" \
729 "YACC=$(YACC)" \
730 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
731 "ADA_CFLAGS=$(ADA_CFLAGS)" \
732 "AR_FLAGS=$(AR_FLAGS)" \
733 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
734 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
735 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
736 "CFLAGS=$(CFLAGS)" \
737 "CXXFLAGS=$(CXXFLAGS)" \
738 "LDFLAGS=$(LDFLAGS)" \
739 "LIBCFLAGS=$(LIBCFLAGS)" \
740 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
741 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
742 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
743 "GNATBIND=$(GNATBIND)" \
744 "GNATMAKE=$(GNATMAKE)" \
745 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
746 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
747 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
748 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
749 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
750 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
751 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
752 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
753 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
754 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
755 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
756 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
757 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
758 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
759 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
760 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
761 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
762 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
763 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
764 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
765 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
766 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
767 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
768 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
769 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
770 "BUILD_CONFIG=$(BUILD_CONFIG)" \
771 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
772 "LEAN=$(LEAN)" \
773 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
774 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
775 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
776 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
777 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
778 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
779 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
780 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
781 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
782 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
783 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
784 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
785 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
786 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
787 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
788 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
789 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
790 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
791 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
792 "TFLAGS=$(TFLAGS)" \
793 "CONFIG_SHELL=$(SHELL)" \
794 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
795 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
797 # We leave this in just in case, but it is not needed anymore.
798 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
800 # Flags to pass down to most sub-makes, in which we're building with
801 # the host environment.
802 EXTRA_HOST_FLAGS = \
803 'AR=$(AR)' \
804 'AS=$(AS)' \
805 'CC=$(CC)' \
806 'CXX=$(CXX)' \
807 'DLLTOOL=$(DLLTOOL)' \
808 'GCJ=$(GCJ)' \
809 'GFORTRAN=$(GFORTRAN)' \
810 'GOC=$(GOC)' \
811 'LD=$(LD)' \
812 'LIPO=$(LIPO)' \
813 'NM=$(NM)' \
814 'OBJDUMP=$(OBJDUMP)' \
815 'RANLIB=$(RANLIB)' \
816 'READELF=$(READELF)' \
817 'STRIP=$(STRIP)' \
818 'WINDRES=$(WINDRES)' \
819 'WINDMC=$(WINDMC)'
821 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
823 # Flags to pass to stage1 or when not bootstrapping.
825 STAGE1_FLAGS_TO_PASS = \
826 LDFLAGS="$${LDFLAGS}" \
827 HOST_LIBS="$${HOST_LIBS}"
829 # Flags to pass to stage2 and later makes.
831 POSTSTAGE1_FLAGS_TO_PASS = \
832 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
833 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
834 GNATBIND="$${GNATBIND}" \
835 LDFLAGS="$${LDFLAGS}" \
836 HOST_LIBS="$${HOST_LIBS}" \
837 $(LTO_FLAGS_TO_PASS) \
838 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
840 @if gcc-bootstrap
841 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
842 $(POSTSTAGE1_HOST_EXPORTS) \
845 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
846 @endif gcc-bootstrap
848 # Flags to pass down to makes which are built with the target environment.
849 # The double $ decreases the length of the command line; those variables
850 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
851 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
852 # so we expand them here.
853 EXTRA_TARGET_FLAGS = \
854 'AR=$$(AR_FOR_TARGET)' \
855 'AS=$(COMPILER_AS_FOR_TARGET)' \
856 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
857 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
858 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
859 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
860 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
861 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
862 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
863 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
864 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
865 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
866 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
867 'LD=$(COMPILER_LD_FOR_TARGET)' \
868 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
869 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
870 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
871 'NM=$(COMPILER_NM_FOR_TARGET)' \
872 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
873 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
874 'RANLIB=$$(RANLIB_FOR_TARGET)' \
875 'READELF=$$(READELF_FOR_TARGET)' \
876 'WINDRES=$$(WINDRES_FOR_TARGET)' \
877 'WINDMC=$$(WINDMC_FOR_TARGET)' \
878 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
879 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
880 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
881 "TFLAGS=$$TFLAGS"
883 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
885 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
886 # unfortunately needs the native compiler and the target ar and
887 # ranlib.
888 # If any variables are added here, they must be added to do-*, below.
889 # The BUILD_* variables are a special case, which are used for the gcc
890 # cross-building scheme.
891 EXTRA_GCC_FLAGS = \
892 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
893 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
894 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
896 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
898 @if gcc
899 BUILD_CONFIG = @BUILD_CONFIG@
900 ifneq ($(BUILD_CONFIG),)
901 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
902 endif
903 @endif gcc
905 .PHONY: configure-host
906 configure-host: \
907 maybe-configure-bfd \
908 maybe-configure-opcodes \
909 maybe-configure-binutils \
910 maybe-configure-bison \
911 maybe-configure-cgen \
912 maybe-configure-dejagnu \
913 maybe-configure-etc \
914 maybe-configure-fastjar \
915 maybe-configure-fixincludes \
916 maybe-configure-flex \
917 maybe-configure-gas \
918 maybe-configure-gcc \
919 maybe-configure-gmp \
920 maybe-configure-mpfr \
921 maybe-configure-mpc \
922 maybe-configure-isl \
923 maybe-configure-libelf \
924 maybe-configure-gold \
925 maybe-configure-gprof \
926 maybe-configure-intl \
927 maybe-configure-tcl \
928 maybe-configure-itcl \
929 maybe-configure-ld \
930 maybe-configure-libbacktrace \
931 maybe-configure-libcpp \
932 maybe-configure-libdecnumber \
933 maybe-configure-libgui \
934 maybe-configure-libiberty \
935 maybe-configure-libiberty-linker-plugin \
936 maybe-configure-libiconv \
937 maybe-configure-m4 \
938 maybe-configure-readline \
939 maybe-configure-sid \
940 maybe-configure-sim \
941 maybe-configure-texinfo \
942 maybe-configure-zlib \
943 maybe-configure-gdb \
944 maybe-configure-expect \
945 maybe-configure-guile \
946 maybe-configure-tk \
947 maybe-configure-libtermcap \
948 maybe-configure-utils \
949 maybe-configure-gnattools \
950 maybe-configure-lto-plugin \
951 maybe-configure-libcc1 \
952 maybe-configure-gotools
953 .PHONY: configure-target
954 configure-target: \
955 maybe-configure-target-libstdc++-v3 \
956 maybe-configure-target-libsanitizer \
957 maybe-configure-target-libmpx \
958 maybe-configure-target-libvtv \
959 maybe-configure-target-libcilkrts \
960 maybe-configure-target-liboffloadmic \
961 maybe-configure-target-libssp \
962 maybe-configure-target-newlib \
963 maybe-configure-target-libgcc \
964 maybe-configure-target-libbacktrace \
965 maybe-configure-target-libquadmath \
966 maybe-configure-target-libgfortran \
967 maybe-configure-target-libobjc \
968 maybe-configure-target-libgo \
969 maybe-configure-target-libtermcap \
970 maybe-configure-target-winsup \
971 maybe-configure-target-libgloss \
972 maybe-configure-target-libffi \
973 maybe-configure-target-libjava \
974 maybe-configure-target-zlib \
975 maybe-configure-target-boehm-gc \
976 maybe-configure-target-rda \
977 maybe-configure-target-libada \
978 maybe-configure-target-libgomp \
979 maybe-configure-target-libitm \
980 maybe-configure-target-libatomic
982 # The target built for a native non-bootstrap build.
983 .PHONY: all
984 all:
985 @if gcc-bootstrap
986 [ -f stage_final ] || echo stage3 > stage_final
987 @r=`${PWD_COMMAND}`; export r; \
988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
989 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
990 @endif gcc-bootstrap
991 @: $(MAKE); $(unstage)
992 @r=`${PWD_COMMAND}`; export r; \
993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
994 @if gcc-bootstrap
995 if [ -f stage_last ]; then \
996 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
997 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
998 else \
999 @endif gcc-bootstrap
1000 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1001 @if gcc-bootstrap
1003 fi \
1004 @endif gcc-bootstrap
1005 && :
1007 .PHONY: all-build
1009 all-build: maybe-all-build-libiberty
1010 all-build: maybe-all-build-bison
1011 all-build: maybe-all-build-flex
1012 all-build: maybe-all-build-m4
1013 all-build: maybe-all-build-texinfo
1014 all-build: maybe-all-build-fixincludes
1015 all-build: maybe-all-build-libcpp
1017 .PHONY: all-host
1019 @if bfd-no-bootstrap
1020 all-host: maybe-all-bfd
1021 @endif bfd-no-bootstrap
1022 @if opcodes-no-bootstrap
1023 all-host: maybe-all-opcodes
1024 @endif opcodes-no-bootstrap
1025 @if binutils-no-bootstrap
1026 all-host: maybe-all-binutils
1027 @endif binutils-no-bootstrap
1028 all-host: maybe-all-bison
1029 all-host: maybe-all-cgen
1030 all-host: maybe-all-dejagnu
1031 all-host: maybe-all-etc
1032 all-host: maybe-all-fastjar
1033 @if fixincludes-no-bootstrap
1034 all-host: maybe-all-fixincludes
1035 @endif fixincludes-no-bootstrap
1036 all-host: maybe-all-flex
1037 @if gas-no-bootstrap
1038 all-host: maybe-all-gas
1039 @endif gas-no-bootstrap
1040 @if gcc-no-bootstrap
1041 all-host: maybe-all-gcc
1042 @endif gcc-no-bootstrap
1043 @if gmp-no-bootstrap
1044 all-host: maybe-all-gmp
1045 @endif gmp-no-bootstrap
1046 @if mpfr-no-bootstrap
1047 all-host: maybe-all-mpfr
1048 @endif mpfr-no-bootstrap
1049 @if mpc-no-bootstrap
1050 all-host: maybe-all-mpc
1051 @endif mpc-no-bootstrap
1052 @if isl-no-bootstrap
1053 all-host: maybe-all-isl
1054 @endif isl-no-bootstrap
1055 @if libelf-no-bootstrap
1056 all-host: maybe-all-libelf
1057 @endif libelf-no-bootstrap
1058 @if gold-no-bootstrap
1059 all-host: maybe-all-gold
1060 @endif gold-no-bootstrap
1061 all-host: maybe-all-gprof
1062 @if intl-no-bootstrap
1063 all-host: maybe-all-intl
1064 @endif intl-no-bootstrap
1065 all-host: maybe-all-tcl
1066 all-host: maybe-all-itcl
1067 @if ld-no-bootstrap
1068 all-host: maybe-all-ld
1069 @endif ld-no-bootstrap
1070 @if libbacktrace-no-bootstrap
1071 all-host: maybe-all-libbacktrace
1072 @endif libbacktrace-no-bootstrap
1073 @if libcpp-no-bootstrap
1074 all-host: maybe-all-libcpp
1075 @endif libcpp-no-bootstrap
1076 @if libdecnumber-no-bootstrap
1077 all-host: maybe-all-libdecnumber
1078 @endif libdecnumber-no-bootstrap
1079 all-host: maybe-all-libgui
1080 @if libiberty-no-bootstrap
1081 all-host: maybe-all-libiberty
1082 @endif libiberty-no-bootstrap
1083 @if libiberty-linker-plugin-no-bootstrap
1084 all-host: maybe-all-libiberty-linker-plugin
1085 @endif libiberty-linker-plugin-no-bootstrap
1086 @if libiconv-no-bootstrap
1087 all-host: maybe-all-libiconv
1088 @endif libiconv-no-bootstrap
1089 all-host: maybe-all-m4
1090 all-host: maybe-all-readline
1091 all-host: maybe-all-sid
1092 all-host: maybe-all-sim
1093 all-host: maybe-all-texinfo
1094 @if zlib-no-bootstrap
1095 all-host: maybe-all-zlib
1096 @endif zlib-no-bootstrap
1097 all-host: maybe-all-gdb
1098 all-host: maybe-all-expect
1099 all-host: maybe-all-guile
1100 all-host: maybe-all-tk
1101 all-host: maybe-all-libtermcap
1102 all-host: maybe-all-utils
1103 all-host: maybe-all-gnattools
1104 @if lto-plugin-no-bootstrap
1105 all-host: maybe-all-lto-plugin
1106 @endif lto-plugin-no-bootstrap
1107 all-host: maybe-all-libcc1
1108 all-host: maybe-all-gotools
1110 .PHONY: all-target
1112 @if target-libstdc++-v3-no-bootstrap
1113 all-target: maybe-all-target-libstdc++-v3
1114 @endif target-libstdc++-v3-no-bootstrap
1115 @if target-libsanitizer-no-bootstrap
1116 all-target: maybe-all-target-libsanitizer
1117 @endif target-libsanitizer-no-bootstrap
1118 @if target-libmpx-no-bootstrap
1119 all-target: maybe-all-target-libmpx
1120 @endif target-libmpx-no-bootstrap
1121 @if target-libvtv-no-bootstrap
1122 all-target: maybe-all-target-libvtv
1123 @endif target-libvtv-no-bootstrap
1124 all-target: maybe-all-target-libcilkrts
1125 all-target: maybe-all-target-liboffloadmic
1126 all-target: maybe-all-target-libssp
1127 all-target: maybe-all-target-newlib
1128 @if target-libgcc-no-bootstrap
1129 all-target: maybe-all-target-libgcc
1130 @endif target-libgcc-no-bootstrap
1131 all-target: maybe-all-target-libbacktrace
1132 all-target: maybe-all-target-libquadmath
1133 all-target: maybe-all-target-libgfortran
1134 all-target: maybe-all-target-libobjc
1135 all-target: maybe-all-target-libgo
1136 all-target: maybe-all-target-libtermcap
1137 all-target: maybe-all-target-winsup
1138 all-target: maybe-all-target-libgloss
1139 all-target: maybe-all-target-libffi
1140 all-target: maybe-all-target-libjava
1141 all-target: maybe-all-target-zlib
1142 all-target: maybe-all-target-boehm-gc
1143 all-target: maybe-all-target-rda
1144 all-target: maybe-all-target-libada
1145 @if target-libgomp-no-bootstrap
1146 all-target: maybe-all-target-libgomp
1147 @endif target-libgomp-no-bootstrap
1148 all-target: maybe-all-target-libitm
1149 all-target: maybe-all-target-libatomic
1151 # Do a target for all the subdirectories. A ``make do-X'' will do a
1152 # ``make X'' in all subdirectories (because, in general, there is a
1153 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1154 # but it may do additional work as well).
1156 .PHONY: do-info
1157 do-info:
1158 @: $(MAKE); $(unstage)
1159 @r=`${PWD_COMMAND}`; export r; \
1160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1161 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1162 info-target
1165 .PHONY: info-host
1167 info-host: maybe-info-bfd
1168 info-host: maybe-info-opcodes
1169 info-host: maybe-info-binutils
1170 info-host: maybe-info-bison
1171 info-host: maybe-info-cgen
1172 info-host: maybe-info-dejagnu
1173 info-host: maybe-info-etc
1174 info-host: maybe-info-fastjar
1175 info-host: maybe-info-fixincludes
1176 info-host: maybe-info-flex
1177 info-host: maybe-info-gas
1178 info-host: maybe-info-gcc
1179 info-host: maybe-info-gmp
1180 info-host: maybe-info-mpfr
1181 info-host: maybe-info-mpc
1182 info-host: maybe-info-isl
1183 info-host: maybe-info-libelf
1184 info-host: maybe-info-gold
1185 info-host: maybe-info-gprof
1186 info-host: maybe-info-intl
1187 info-host: maybe-info-tcl
1188 info-host: maybe-info-itcl
1189 info-host: maybe-info-ld
1190 info-host: maybe-info-libbacktrace
1191 info-host: maybe-info-libcpp
1192 info-host: maybe-info-libdecnumber
1193 info-host: maybe-info-libgui
1194 info-host: maybe-info-libiberty
1195 info-host: maybe-info-libiberty-linker-plugin
1196 info-host: maybe-info-libiconv
1197 info-host: maybe-info-m4
1198 info-host: maybe-info-readline
1199 info-host: maybe-info-sid
1200 info-host: maybe-info-sim
1201 info-host: maybe-info-texinfo
1202 info-host: maybe-info-zlib
1203 info-host: maybe-info-gdb
1204 info-host: maybe-info-expect
1205 info-host: maybe-info-guile
1206 info-host: maybe-info-tk
1207 info-host: maybe-info-libtermcap
1208 info-host: maybe-info-utils
1209 info-host: maybe-info-gnattools
1210 info-host: maybe-info-lto-plugin
1211 info-host: maybe-info-libcc1
1212 info-host: maybe-info-gotools
1214 .PHONY: info-target
1216 info-target: maybe-info-target-libstdc++-v3
1217 info-target: maybe-info-target-libsanitizer
1218 info-target: maybe-info-target-libmpx
1219 info-target: maybe-info-target-libvtv
1220 info-target: maybe-info-target-libcilkrts
1221 info-target: maybe-info-target-liboffloadmic
1222 info-target: maybe-info-target-libssp
1223 info-target: maybe-info-target-newlib
1224 info-target: maybe-info-target-libgcc
1225 info-target: maybe-info-target-libbacktrace
1226 info-target: maybe-info-target-libquadmath
1227 info-target: maybe-info-target-libgfortran
1228 info-target: maybe-info-target-libobjc
1229 info-target: maybe-info-target-libgo
1230 info-target: maybe-info-target-libtermcap
1231 info-target: maybe-info-target-winsup
1232 info-target: maybe-info-target-libgloss
1233 info-target: maybe-info-target-libffi
1234 info-target: maybe-info-target-libjava
1235 info-target: maybe-info-target-zlib
1236 info-target: maybe-info-target-boehm-gc
1237 info-target: maybe-info-target-rda
1238 info-target: maybe-info-target-libada
1239 info-target: maybe-info-target-libgomp
1240 info-target: maybe-info-target-libitm
1241 info-target: maybe-info-target-libatomic
1243 .PHONY: do-dvi
1244 do-dvi:
1245 @: $(MAKE); $(unstage)
1246 @r=`${PWD_COMMAND}`; export r; \
1247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1248 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1249 dvi-target
1252 .PHONY: dvi-host
1254 dvi-host: maybe-dvi-bfd
1255 dvi-host: maybe-dvi-opcodes
1256 dvi-host: maybe-dvi-binutils
1257 dvi-host: maybe-dvi-bison
1258 dvi-host: maybe-dvi-cgen
1259 dvi-host: maybe-dvi-dejagnu
1260 dvi-host: maybe-dvi-etc
1261 dvi-host: maybe-dvi-fastjar
1262 dvi-host: maybe-dvi-fixincludes
1263 dvi-host: maybe-dvi-flex
1264 dvi-host: maybe-dvi-gas
1265 dvi-host: maybe-dvi-gcc
1266 dvi-host: maybe-dvi-gmp
1267 dvi-host: maybe-dvi-mpfr
1268 dvi-host: maybe-dvi-mpc
1269 dvi-host: maybe-dvi-isl
1270 dvi-host: maybe-dvi-libelf
1271 dvi-host: maybe-dvi-gold
1272 dvi-host: maybe-dvi-gprof
1273 dvi-host: maybe-dvi-intl
1274 dvi-host: maybe-dvi-tcl
1275 dvi-host: maybe-dvi-itcl
1276 dvi-host: maybe-dvi-ld
1277 dvi-host: maybe-dvi-libbacktrace
1278 dvi-host: maybe-dvi-libcpp
1279 dvi-host: maybe-dvi-libdecnumber
1280 dvi-host: maybe-dvi-libgui
1281 dvi-host: maybe-dvi-libiberty
1282 dvi-host: maybe-dvi-libiberty-linker-plugin
1283 dvi-host: maybe-dvi-libiconv
1284 dvi-host: maybe-dvi-m4
1285 dvi-host: maybe-dvi-readline
1286 dvi-host: maybe-dvi-sid
1287 dvi-host: maybe-dvi-sim
1288 dvi-host: maybe-dvi-texinfo
1289 dvi-host: maybe-dvi-zlib
1290 dvi-host: maybe-dvi-gdb
1291 dvi-host: maybe-dvi-expect
1292 dvi-host: maybe-dvi-guile
1293 dvi-host: maybe-dvi-tk
1294 dvi-host: maybe-dvi-libtermcap
1295 dvi-host: maybe-dvi-utils
1296 dvi-host: maybe-dvi-gnattools
1297 dvi-host: maybe-dvi-lto-plugin
1298 dvi-host: maybe-dvi-libcc1
1299 dvi-host: maybe-dvi-gotools
1301 .PHONY: dvi-target
1303 dvi-target: maybe-dvi-target-libstdc++-v3
1304 dvi-target: maybe-dvi-target-libsanitizer
1305 dvi-target: maybe-dvi-target-libmpx
1306 dvi-target: maybe-dvi-target-libvtv
1307 dvi-target: maybe-dvi-target-libcilkrts
1308 dvi-target: maybe-dvi-target-liboffloadmic
1309 dvi-target: maybe-dvi-target-libssp
1310 dvi-target: maybe-dvi-target-newlib
1311 dvi-target: maybe-dvi-target-libgcc
1312 dvi-target: maybe-dvi-target-libbacktrace
1313 dvi-target: maybe-dvi-target-libquadmath
1314 dvi-target: maybe-dvi-target-libgfortran
1315 dvi-target: maybe-dvi-target-libobjc
1316 dvi-target: maybe-dvi-target-libgo
1317 dvi-target: maybe-dvi-target-libtermcap
1318 dvi-target: maybe-dvi-target-winsup
1319 dvi-target: maybe-dvi-target-libgloss
1320 dvi-target: maybe-dvi-target-libffi
1321 dvi-target: maybe-dvi-target-libjava
1322 dvi-target: maybe-dvi-target-zlib
1323 dvi-target: maybe-dvi-target-boehm-gc
1324 dvi-target: maybe-dvi-target-rda
1325 dvi-target: maybe-dvi-target-libada
1326 dvi-target: maybe-dvi-target-libgomp
1327 dvi-target: maybe-dvi-target-libitm
1328 dvi-target: maybe-dvi-target-libatomic
1330 .PHONY: do-pdf
1331 do-pdf:
1332 @: $(MAKE); $(unstage)
1333 @r=`${PWD_COMMAND}`; export r; \
1334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1335 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1336 pdf-target
1339 .PHONY: pdf-host
1341 pdf-host: maybe-pdf-bfd
1342 pdf-host: maybe-pdf-opcodes
1343 pdf-host: maybe-pdf-binutils
1344 pdf-host: maybe-pdf-bison
1345 pdf-host: maybe-pdf-cgen
1346 pdf-host: maybe-pdf-dejagnu
1347 pdf-host: maybe-pdf-etc
1348 pdf-host: maybe-pdf-fastjar
1349 pdf-host: maybe-pdf-fixincludes
1350 pdf-host: maybe-pdf-flex
1351 pdf-host: maybe-pdf-gas
1352 pdf-host: maybe-pdf-gcc
1353 pdf-host: maybe-pdf-gmp
1354 pdf-host: maybe-pdf-mpfr
1355 pdf-host: maybe-pdf-mpc
1356 pdf-host: maybe-pdf-isl
1357 pdf-host: maybe-pdf-libelf
1358 pdf-host: maybe-pdf-gold
1359 pdf-host: maybe-pdf-gprof
1360 pdf-host: maybe-pdf-intl
1361 pdf-host: maybe-pdf-tcl
1362 pdf-host: maybe-pdf-itcl
1363 pdf-host: maybe-pdf-ld
1364 pdf-host: maybe-pdf-libbacktrace
1365 pdf-host: maybe-pdf-libcpp
1366 pdf-host: maybe-pdf-libdecnumber
1367 pdf-host: maybe-pdf-libgui
1368 pdf-host: maybe-pdf-libiberty
1369 pdf-host: maybe-pdf-libiberty-linker-plugin
1370 pdf-host: maybe-pdf-libiconv
1371 pdf-host: maybe-pdf-m4
1372 pdf-host: maybe-pdf-readline
1373 pdf-host: maybe-pdf-sid
1374 pdf-host: maybe-pdf-sim
1375 pdf-host: maybe-pdf-texinfo
1376 pdf-host: maybe-pdf-zlib
1377 pdf-host: maybe-pdf-gdb
1378 pdf-host: maybe-pdf-expect
1379 pdf-host: maybe-pdf-guile
1380 pdf-host: maybe-pdf-tk
1381 pdf-host: maybe-pdf-libtermcap
1382 pdf-host: maybe-pdf-utils
1383 pdf-host: maybe-pdf-gnattools
1384 pdf-host: maybe-pdf-lto-plugin
1385 pdf-host: maybe-pdf-libcc1
1386 pdf-host: maybe-pdf-gotools
1388 .PHONY: pdf-target
1390 pdf-target: maybe-pdf-target-libstdc++-v3
1391 pdf-target: maybe-pdf-target-libsanitizer
1392 pdf-target: maybe-pdf-target-libmpx
1393 pdf-target: maybe-pdf-target-libvtv
1394 pdf-target: maybe-pdf-target-libcilkrts
1395 pdf-target: maybe-pdf-target-liboffloadmic
1396 pdf-target: maybe-pdf-target-libssp
1397 pdf-target: maybe-pdf-target-newlib
1398 pdf-target: maybe-pdf-target-libgcc
1399 pdf-target: maybe-pdf-target-libbacktrace
1400 pdf-target: maybe-pdf-target-libquadmath
1401 pdf-target: maybe-pdf-target-libgfortran
1402 pdf-target: maybe-pdf-target-libobjc
1403 pdf-target: maybe-pdf-target-libgo
1404 pdf-target: maybe-pdf-target-libtermcap
1405 pdf-target: maybe-pdf-target-winsup
1406 pdf-target: maybe-pdf-target-libgloss
1407 pdf-target: maybe-pdf-target-libffi
1408 pdf-target: maybe-pdf-target-libjava
1409 pdf-target: maybe-pdf-target-zlib
1410 pdf-target: maybe-pdf-target-boehm-gc
1411 pdf-target: maybe-pdf-target-rda
1412 pdf-target: maybe-pdf-target-libada
1413 pdf-target: maybe-pdf-target-libgomp
1414 pdf-target: maybe-pdf-target-libitm
1415 pdf-target: maybe-pdf-target-libatomic
1417 .PHONY: do-html
1418 do-html:
1419 @: $(MAKE); $(unstage)
1420 @r=`${PWD_COMMAND}`; export r; \
1421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1422 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1423 html-target
1426 .PHONY: html-host
1428 html-host: maybe-html-bfd
1429 html-host: maybe-html-opcodes
1430 html-host: maybe-html-binutils
1431 html-host: maybe-html-bison
1432 html-host: maybe-html-cgen
1433 html-host: maybe-html-dejagnu
1434 html-host: maybe-html-etc
1435 html-host: maybe-html-fastjar
1436 html-host: maybe-html-fixincludes
1437 html-host: maybe-html-flex
1438 html-host: maybe-html-gas
1439 html-host: maybe-html-gcc
1440 html-host: maybe-html-gmp
1441 html-host: maybe-html-mpfr
1442 html-host: maybe-html-mpc
1443 html-host: maybe-html-isl
1444 html-host: maybe-html-libelf
1445 html-host: maybe-html-gold
1446 html-host: maybe-html-gprof
1447 html-host: maybe-html-intl
1448 html-host: maybe-html-tcl
1449 html-host: maybe-html-itcl
1450 html-host: maybe-html-ld
1451 html-host: maybe-html-libbacktrace
1452 html-host: maybe-html-libcpp
1453 html-host: maybe-html-libdecnumber
1454 html-host: maybe-html-libgui
1455 html-host: maybe-html-libiberty
1456 html-host: maybe-html-libiberty-linker-plugin
1457 html-host: maybe-html-libiconv
1458 html-host: maybe-html-m4
1459 html-host: maybe-html-readline
1460 html-host: maybe-html-sid
1461 html-host: maybe-html-sim
1462 html-host: maybe-html-texinfo
1463 html-host: maybe-html-zlib
1464 html-host: maybe-html-gdb
1465 html-host: maybe-html-expect
1466 html-host: maybe-html-guile
1467 html-host: maybe-html-tk
1468 html-host: maybe-html-libtermcap
1469 html-host: maybe-html-utils
1470 html-host: maybe-html-gnattools
1471 html-host: maybe-html-lto-plugin
1472 html-host: maybe-html-libcc1
1473 html-host: maybe-html-gotools
1475 .PHONY: html-target
1477 html-target: maybe-html-target-libstdc++-v3
1478 html-target: maybe-html-target-libsanitizer
1479 html-target: maybe-html-target-libmpx
1480 html-target: maybe-html-target-libvtv
1481 html-target: maybe-html-target-libcilkrts
1482 html-target: maybe-html-target-liboffloadmic
1483 html-target: maybe-html-target-libssp
1484 html-target: maybe-html-target-newlib
1485 html-target: maybe-html-target-libgcc
1486 html-target: maybe-html-target-libbacktrace
1487 html-target: maybe-html-target-libquadmath
1488 html-target: maybe-html-target-libgfortran
1489 html-target: maybe-html-target-libobjc
1490 html-target: maybe-html-target-libgo
1491 html-target: maybe-html-target-libtermcap
1492 html-target: maybe-html-target-winsup
1493 html-target: maybe-html-target-libgloss
1494 html-target: maybe-html-target-libffi
1495 html-target: maybe-html-target-libjava
1496 html-target: maybe-html-target-zlib
1497 html-target: maybe-html-target-boehm-gc
1498 html-target: maybe-html-target-rda
1499 html-target: maybe-html-target-libada
1500 html-target: maybe-html-target-libgomp
1501 html-target: maybe-html-target-libitm
1502 html-target: maybe-html-target-libatomic
1504 .PHONY: do-TAGS
1505 do-TAGS:
1506 @: $(MAKE); $(unstage)
1507 @r=`${PWD_COMMAND}`; export r; \
1508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1509 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1510 TAGS-target
1513 .PHONY: TAGS-host
1515 TAGS-host: maybe-TAGS-bfd
1516 TAGS-host: maybe-TAGS-opcodes
1517 TAGS-host: maybe-TAGS-binutils
1518 TAGS-host: maybe-TAGS-bison
1519 TAGS-host: maybe-TAGS-cgen
1520 TAGS-host: maybe-TAGS-dejagnu
1521 TAGS-host: maybe-TAGS-etc
1522 TAGS-host: maybe-TAGS-fastjar
1523 TAGS-host: maybe-TAGS-fixincludes
1524 TAGS-host: maybe-TAGS-flex
1525 TAGS-host: maybe-TAGS-gas
1526 TAGS-host: maybe-TAGS-gcc
1527 TAGS-host: maybe-TAGS-gmp
1528 TAGS-host: maybe-TAGS-mpfr
1529 TAGS-host: maybe-TAGS-mpc
1530 TAGS-host: maybe-TAGS-isl
1531 TAGS-host: maybe-TAGS-libelf
1532 TAGS-host: maybe-TAGS-gold
1533 TAGS-host: maybe-TAGS-gprof
1534 TAGS-host: maybe-TAGS-intl
1535 TAGS-host: maybe-TAGS-tcl
1536 TAGS-host: maybe-TAGS-itcl
1537 TAGS-host: maybe-TAGS-ld
1538 TAGS-host: maybe-TAGS-libbacktrace
1539 TAGS-host: maybe-TAGS-libcpp
1540 TAGS-host: maybe-TAGS-libdecnumber
1541 TAGS-host: maybe-TAGS-libgui
1542 TAGS-host: maybe-TAGS-libiberty
1543 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1544 TAGS-host: maybe-TAGS-libiconv
1545 TAGS-host: maybe-TAGS-m4
1546 TAGS-host: maybe-TAGS-readline
1547 TAGS-host: maybe-TAGS-sid
1548 TAGS-host: maybe-TAGS-sim
1549 TAGS-host: maybe-TAGS-texinfo
1550 TAGS-host: maybe-TAGS-zlib
1551 TAGS-host: maybe-TAGS-gdb
1552 TAGS-host: maybe-TAGS-expect
1553 TAGS-host: maybe-TAGS-guile
1554 TAGS-host: maybe-TAGS-tk
1555 TAGS-host: maybe-TAGS-libtermcap
1556 TAGS-host: maybe-TAGS-utils
1557 TAGS-host: maybe-TAGS-gnattools
1558 TAGS-host: maybe-TAGS-lto-plugin
1559 TAGS-host: maybe-TAGS-libcc1
1560 TAGS-host: maybe-TAGS-gotools
1562 .PHONY: TAGS-target
1564 TAGS-target: maybe-TAGS-target-libstdc++-v3
1565 TAGS-target: maybe-TAGS-target-libsanitizer
1566 TAGS-target: maybe-TAGS-target-libmpx
1567 TAGS-target: maybe-TAGS-target-libvtv
1568 TAGS-target: maybe-TAGS-target-libcilkrts
1569 TAGS-target: maybe-TAGS-target-liboffloadmic
1570 TAGS-target: maybe-TAGS-target-libssp
1571 TAGS-target: maybe-TAGS-target-newlib
1572 TAGS-target: maybe-TAGS-target-libgcc
1573 TAGS-target: maybe-TAGS-target-libbacktrace
1574 TAGS-target: maybe-TAGS-target-libquadmath
1575 TAGS-target: maybe-TAGS-target-libgfortran
1576 TAGS-target: maybe-TAGS-target-libobjc
1577 TAGS-target: maybe-TAGS-target-libgo
1578 TAGS-target: maybe-TAGS-target-libtermcap
1579 TAGS-target: maybe-TAGS-target-winsup
1580 TAGS-target: maybe-TAGS-target-libgloss
1581 TAGS-target: maybe-TAGS-target-libffi
1582 TAGS-target: maybe-TAGS-target-libjava
1583 TAGS-target: maybe-TAGS-target-zlib
1584 TAGS-target: maybe-TAGS-target-boehm-gc
1585 TAGS-target: maybe-TAGS-target-rda
1586 TAGS-target: maybe-TAGS-target-libada
1587 TAGS-target: maybe-TAGS-target-libgomp
1588 TAGS-target: maybe-TAGS-target-libitm
1589 TAGS-target: maybe-TAGS-target-libatomic
1591 .PHONY: do-install-info
1592 do-install-info:
1593 @: $(MAKE); $(unstage)
1594 @r=`${PWD_COMMAND}`; export r; \
1595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1596 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1597 install-info-target
1600 .PHONY: install-info-host
1602 install-info-host: maybe-install-info-bfd
1603 install-info-host: maybe-install-info-opcodes
1604 install-info-host: maybe-install-info-binutils
1605 install-info-host: maybe-install-info-bison
1606 install-info-host: maybe-install-info-cgen
1607 install-info-host: maybe-install-info-dejagnu
1608 install-info-host: maybe-install-info-etc
1609 install-info-host: maybe-install-info-fastjar
1610 install-info-host: maybe-install-info-fixincludes
1611 install-info-host: maybe-install-info-flex
1612 install-info-host: maybe-install-info-gas
1613 install-info-host: maybe-install-info-gcc
1614 install-info-host: maybe-install-info-gmp
1615 install-info-host: maybe-install-info-mpfr
1616 install-info-host: maybe-install-info-mpc
1617 install-info-host: maybe-install-info-isl
1618 install-info-host: maybe-install-info-libelf
1619 install-info-host: maybe-install-info-gold
1620 install-info-host: maybe-install-info-gprof
1621 install-info-host: maybe-install-info-intl
1622 install-info-host: maybe-install-info-tcl
1623 install-info-host: maybe-install-info-itcl
1624 install-info-host: maybe-install-info-ld
1625 install-info-host: maybe-install-info-libbacktrace
1626 install-info-host: maybe-install-info-libcpp
1627 install-info-host: maybe-install-info-libdecnumber
1628 install-info-host: maybe-install-info-libgui
1629 install-info-host: maybe-install-info-libiberty
1630 install-info-host: maybe-install-info-libiberty-linker-plugin
1631 install-info-host: maybe-install-info-libiconv
1632 install-info-host: maybe-install-info-m4
1633 install-info-host: maybe-install-info-readline
1634 install-info-host: maybe-install-info-sid
1635 install-info-host: maybe-install-info-sim
1636 install-info-host: maybe-install-info-texinfo
1637 install-info-host: maybe-install-info-zlib
1638 install-info-host: maybe-install-info-gdb
1639 install-info-host: maybe-install-info-expect
1640 install-info-host: maybe-install-info-guile
1641 install-info-host: maybe-install-info-tk
1642 install-info-host: maybe-install-info-libtermcap
1643 install-info-host: maybe-install-info-utils
1644 install-info-host: maybe-install-info-gnattools
1645 install-info-host: maybe-install-info-lto-plugin
1646 install-info-host: maybe-install-info-libcc1
1647 install-info-host: maybe-install-info-gotools
1649 .PHONY: install-info-target
1651 install-info-target: maybe-install-info-target-libstdc++-v3
1652 install-info-target: maybe-install-info-target-libsanitizer
1653 install-info-target: maybe-install-info-target-libmpx
1654 install-info-target: maybe-install-info-target-libvtv
1655 install-info-target: maybe-install-info-target-libcilkrts
1656 install-info-target: maybe-install-info-target-liboffloadmic
1657 install-info-target: maybe-install-info-target-libssp
1658 install-info-target: maybe-install-info-target-newlib
1659 install-info-target: maybe-install-info-target-libgcc
1660 install-info-target: maybe-install-info-target-libbacktrace
1661 install-info-target: maybe-install-info-target-libquadmath
1662 install-info-target: maybe-install-info-target-libgfortran
1663 install-info-target: maybe-install-info-target-libobjc
1664 install-info-target: maybe-install-info-target-libgo
1665 install-info-target: maybe-install-info-target-libtermcap
1666 install-info-target: maybe-install-info-target-winsup
1667 install-info-target: maybe-install-info-target-libgloss
1668 install-info-target: maybe-install-info-target-libffi
1669 install-info-target: maybe-install-info-target-libjava
1670 install-info-target: maybe-install-info-target-zlib
1671 install-info-target: maybe-install-info-target-boehm-gc
1672 install-info-target: maybe-install-info-target-rda
1673 install-info-target: maybe-install-info-target-libada
1674 install-info-target: maybe-install-info-target-libgomp
1675 install-info-target: maybe-install-info-target-libitm
1676 install-info-target: maybe-install-info-target-libatomic
1678 .PHONY: do-install-pdf
1679 do-install-pdf:
1680 @: $(MAKE); $(unstage)
1681 @r=`${PWD_COMMAND}`; export r; \
1682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1683 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1684 install-pdf-target
1687 .PHONY: install-pdf-host
1689 install-pdf-host: maybe-install-pdf-bfd
1690 install-pdf-host: maybe-install-pdf-opcodes
1691 install-pdf-host: maybe-install-pdf-binutils
1692 install-pdf-host: maybe-install-pdf-bison
1693 install-pdf-host: maybe-install-pdf-cgen
1694 install-pdf-host: maybe-install-pdf-dejagnu
1695 install-pdf-host: maybe-install-pdf-etc
1696 install-pdf-host: maybe-install-pdf-fastjar
1697 install-pdf-host: maybe-install-pdf-fixincludes
1698 install-pdf-host: maybe-install-pdf-flex
1699 install-pdf-host: maybe-install-pdf-gas
1700 install-pdf-host: maybe-install-pdf-gcc
1701 install-pdf-host: maybe-install-pdf-gmp
1702 install-pdf-host: maybe-install-pdf-mpfr
1703 install-pdf-host: maybe-install-pdf-mpc
1704 install-pdf-host: maybe-install-pdf-isl
1705 install-pdf-host: maybe-install-pdf-libelf
1706 install-pdf-host: maybe-install-pdf-gold
1707 install-pdf-host: maybe-install-pdf-gprof
1708 install-pdf-host: maybe-install-pdf-intl
1709 install-pdf-host: maybe-install-pdf-tcl
1710 install-pdf-host: maybe-install-pdf-itcl
1711 install-pdf-host: maybe-install-pdf-ld
1712 install-pdf-host: maybe-install-pdf-libbacktrace
1713 install-pdf-host: maybe-install-pdf-libcpp
1714 install-pdf-host: maybe-install-pdf-libdecnumber
1715 install-pdf-host: maybe-install-pdf-libgui
1716 install-pdf-host: maybe-install-pdf-libiberty
1717 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1718 install-pdf-host: maybe-install-pdf-libiconv
1719 install-pdf-host: maybe-install-pdf-m4
1720 install-pdf-host: maybe-install-pdf-readline
1721 install-pdf-host: maybe-install-pdf-sid
1722 install-pdf-host: maybe-install-pdf-sim
1723 install-pdf-host: maybe-install-pdf-texinfo
1724 install-pdf-host: maybe-install-pdf-zlib
1725 install-pdf-host: maybe-install-pdf-gdb
1726 install-pdf-host: maybe-install-pdf-expect
1727 install-pdf-host: maybe-install-pdf-guile
1728 install-pdf-host: maybe-install-pdf-tk
1729 install-pdf-host: maybe-install-pdf-libtermcap
1730 install-pdf-host: maybe-install-pdf-utils
1731 install-pdf-host: maybe-install-pdf-gnattools
1732 install-pdf-host: maybe-install-pdf-lto-plugin
1733 install-pdf-host: maybe-install-pdf-libcc1
1734 install-pdf-host: maybe-install-pdf-gotools
1736 .PHONY: install-pdf-target
1738 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1739 install-pdf-target: maybe-install-pdf-target-libsanitizer
1740 install-pdf-target: maybe-install-pdf-target-libmpx
1741 install-pdf-target: maybe-install-pdf-target-libvtv
1742 install-pdf-target: maybe-install-pdf-target-libcilkrts
1743 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1744 install-pdf-target: maybe-install-pdf-target-libssp
1745 install-pdf-target: maybe-install-pdf-target-newlib
1746 install-pdf-target: maybe-install-pdf-target-libgcc
1747 install-pdf-target: maybe-install-pdf-target-libbacktrace
1748 install-pdf-target: maybe-install-pdf-target-libquadmath
1749 install-pdf-target: maybe-install-pdf-target-libgfortran
1750 install-pdf-target: maybe-install-pdf-target-libobjc
1751 install-pdf-target: maybe-install-pdf-target-libgo
1752 install-pdf-target: maybe-install-pdf-target-libtermcap
1753 install-pdf-target: maybe-install-pdf-target-winsup
1754 install-pdf-target: maybe-install-pdf-target-libgloss
1755 install-pdf-target: maybe-install-pdf-target-libffi
1756 install-pdf-target: maybe-install-pdf-target-libjava
1757 install-pdf-target: maybe-install-pdf-target-zlib
1758 install-pdf-target: maybe-install-pdf-target-boehm-gc
1759 install-pdf-target: maybe-install-pdf-target-rda
1760 install-pdf-target: maybe-install-pdf-target-libada
1761 install-pdf-target: maybe-install-pdf-target-libgomp
1762 install-pdf-target: maybe-install-pdf-target-libitm
1763 install-pdf-target: maybe-install-pdf-target-libatomic
1765 .PHONY: do-install-html
1766 do-install-html:
1767 @: $(MAKE); $(unstage)
1768 @r=`${PWD_COMMAND}`; export r; \
1769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1770 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1771 install-html-target
1774 .PHONY: install-html-host
1776 install-html-host: maybe-install-html-bfd
1777 install-html-host: maybe-install-html-opcodes
1778 install-html-host: maybe-install-html-binutils
1779 install-html-host: maybe-install-html-bison
1780 install-html-host: maybe-install-html-cgen
1781 install-html-host: maybe-install-html-dejagnu
1782 install-html-host: maybe-install-html-etc
1783 install-html-host: maybe-install-html-fastjar
1784 install-html-host: maybe-install-html-fixincludes
1785 install-html-host: maybe-install-html-flex
1786 install-html-host: maybe-install-html-gas
1787 install-html-host: maybe-install-html-gcc
1788 install-html-host: maybe-install-html-gmp
1789 install-html-host: maybe-install-html-mpfr
1790 install-html-host: maybe-install-html-mpc
1791 install-html-host: maybe-install-html-isl
1792 install-html-host: maybe-install-html-libelf
1793 install-html-host: maybe-install-html-gold
1794 install-html-host: maybe-install-html-gprof
1795 install-html-host: maybe-install-html-intl
1796 install-html-host: maybe-install-html-tcl
1797 install-html-host: maybe-install-html-itcl
1798 install-html-host: maybe-install-html-ld
1799 install-html-host: maybe-install-html-libbacktrace
1800 install-html-host: maybe-install-html-libcpp
1801 install-html-host: maybe-install-html-libdecnumber
1802 install-html-host: maybe-install-html-libgui
1803 install-html-host: maybe-install-html-libiberty
1804 install-html-host: maybe-install-html-libiberty-linker-plugin
1805 install-html-host: maybe-install-html-libiconv
1806 install-html-host: maybe-install-html-m4
1807 install-html-host: maybe-install-html-readline
1808 install-html-host: maybe-install-html-sid
1809 install-html-host: maybe-install-html-sim
1810 install-html-host: maybe-install-html-texinfo
1811 install-html-host: maybe-install-html-zlib
1812 install-html-host: maybe-install-html-gdb
1813 install-html-host: maybe-install-html-expect
1814 install-html-host: maybe-install-html-guile
1815 install-html-host: maybe-install-html-tk
1816 install-html-host: maybe-install-html-libtermcap
1817 install-html-host: maybe-install-html-utils
1818 install-html-host: maybe-install-html-gnattools
1819 install-html-host: maybe-install-html-lto-plugin
1820 install-html-host: maybe-install-html-libcc1
1821 install-html-host: maybe-install-html-gotools
1823 .PHONY: install-html-target
1825 install-html-target: maybe-install-html-target-libstdc++-v3
1826 install-html-target: maybe-install-html-target-libsanitizer
1827 install-html-target: maybe-install-html-target-libmpx
1828 install-html-target: maybe-install-html-target-libvtv
1829 install-html-target: maybe-install-html-target-libcilkrts
1830 install-html-target: maybe-install-html-target-liboffloadmic
1831 install-html-target: maybe-install-html-target-libssp
1832 install-html-target: maybe-install-html-target-newlib
1833 install-html-target: maybe-install-html-target-libgcc
1834 install-html-target: maybe-install-html-target-libbacktrace
1835 install-html-target: maybe-install-html-target-libquadmath
1836 install-html-target: maybe-install-html-target-libgfortran
1837 install-html-target: maybe-install-html-target-libobjc
1838 install-html-target: maybe-install-html-target-libgo
1839 install-html-target: maybe-install-html-target-libtermcap
1840 install-html-target: maybe-install-html-target-winsup
1841 install-html-target: maybe-install-html-target-libgloss
1842 install-html-target: maybe-install-html-target-libffi
1843 install-html-target: maybe-install-html-target-libjava
1844 install-html-target: maybe-install-html-target-zlib
1845 install-html-target: maybe-install-html-target-boehm-gc
1846 install-html-target: maybe-install-html-target-rda
1847 install-html-target: maybe-install-html-target-libada
1848 install-html-target: maybe-install-html-target-libgomp
1849 install-html-target: maybe-install-html-target-libitm
1850 install-html-target: maybe-install-html-target-libatomic
1852 .PHONY: do-installcheck
1853 do-installcheck:
1854 @: $(MAKE); $(unstage)
1855 @r=`${PWD_COMMAND}`; export r; \
1856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1857 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1858 installcheck-target
1861 .PHONY: installcheck-host
1863 installcheck-host: maybe-installcheck-bfd
1864 installcheck-host: maybe-installcheck-opcodes
1865 installcheck-host: maybe-installcheck-binutils
1866 installcheck-host: maybe-installcheck-bison
1867 installcheck-host: maybe-installcheck-cgen
1868 installcheck-host: maybe-installcheck-dejagnu
1869 installcheck-host: maybe-installcheck-etc
1870 installcheck-host: maybe-installcheck-fastjar
1871 installcheck-host: maybe-installcheck-fixincludes
1872 installcheck-host: maybe-installcheck-flex
1873 installcheck-host: maybe-installcheck-gas
1874 installcheck-host: maybe-installcheck-gcc
1875 installcheck-host: maybe-installcheck-gmp
1876 installcheck-host: maybe-installcheck-mpfr
1877 installcheck-host: maybe-installcheck-mpc
1878 installcheck-host: maybe-installcheck-isl
1879 installcheck-host: maybe-installcheck-libelf
1880 installcheck-host: maybe-installcheck-gold
1881 installcheck-host: maybe-installcheck-gprof
1882 installcheck-host: maybe-installcheck-intl
1883 installcheck-host: maybe-installcheck-tcl
1884 installcheck-host: maybe-installcheck-itcl
1885 installcheck-host: maybe-installcheck-ld
1886 installcheck-host: maybe-installcheck-libbacktrace
1887 installcheck-host: maybe-installcheck-libcpp
1888 installcheck-host: maybe-installcheck-libdecnumber
1889 installcheck-host: maybe-installcheck-libgui
1890 installcheck-host: maybe-installcheck-libiberty
1891 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1892 installcheck-host: maybe-installcheck-libiconv
1893 installcheck-host: maybe-installcheck-m4
1894 installcheck-host: maybe-installcheck-readline
1895 installcheck-host: maybe-installcheck-sid
1896 installcheck-host: maybe-installcheck-sim
1897 installcheck-host: maybe-installcheck-texinfo
1898 installcheck-host: maybe-installcheck-zlib
1899 installcheck-host: maybe-installcheck-gdb
1900 installcheck-host: maybe-installcheck-expect
1901 installcheck-host: maybe-installcheck-guile
1902 installcheck-host: maybe-installcheck-tk
1903 installcheck-host: maybe-installcheck-libtermcap
1904 installcheck-host: maybe-installcheck-utils
1905 installcheck-host: maybe-installcheck-gnattools
1906 installcheck-host: maybe-installcheck-lto-plugin
1907 installcheck-host: maybe-installcheck-libcc1
1908 installcheck-host: maybe-installcheck-gotools
1910 .PHONY: installcheck-target
1912 installcheck-target: maybe-installcheck-target-libstdc++-v3
1913 installcheck-target: maybe-installcheck-target-libsanitizer
1914 installcheck-target: maybe-installcheck-target-libmpx
1915 installcheck-target: maybe-installcheck-target-libvtv
1916 installcheck-target: maybe-installcheck-target-libcilkrts
1917 installcheck-target: maybe-installcheck-target-liboffloadmic
1918 installcheck-target: maybe-installcheck-target-libssp
1919 installcheck-target: maybe-installcheck-target-newlib
1920 installcheck-target: maybe-installcheck-target-libgcc
1921 installcheck-target: maybe-installcheck-target-libbacktrace
1922 installcheck-target: maybe-installcheck-target-libquadmath
1923 installcheck-target: maybe-installcheck-target-libgfortran
1924 installcheck-target: maybe-installcheck-target-libobjc
1925 installcheck-target: maybe-installcheck-target-libgo
1926 installcheck-target: maybe-installcheck-target-libtermcap
1927 installcheck-target: maybe-installcheck-target-winsup
1928 installcheck-target: maybe-installcheck-target-libgloss
1929 installcheck-target: maybe-installcheck-target-libffi
1930 installcheck-target: maybe-installcheck-target-libjava
1931 installcheck-target: maybe-installcheck-target-zlib
1932 installcheck-target: maybe-installcheck-target-boehm-gc
1933 installcheck-target: maybe-installcheck-target-rda
1934 installcheck-target: maybe-installcheck-target-libada
1935 installcheck-target: maybe-installcheck-target-libgomp
1936 installcheck-target: maybe-installcheck-target-libitm
1937 installcheck-target: maybe-installcheck-target-libatomic
1939 .PHONY: do-mostlyclean
1940 do-mostlyclean:
1941 @: $(MAKE); $(unstage)
1942 @r=`${PWD_COMMAND}`; export r; \
1943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1944 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1945 mostlyclean-target
1948 .PHONY: mostlyclean-host
1950 mostlyclean-host: maybe-mostlyclean-bfd
1951 mostlyclean-host: maybe-mostlyclean-opcodes
1952 mostlyclean-host: maybe-mostlyclean-binutils
1953 mostlyclean-host: maybe-mostlyclean-bison
1954 mostlyclean-host: maybe-mostlyclean-cgen
1955 mostlyclean-host: maybe-mostlyclean-dejagnu
1956 mostlyclean-host: maybe-mostlyclean-etc
1957 mostlyclean-host: maybe-mostlyclean-fastjar
1958 mostlyclean-host: maybe-mostlyclean-fixincludes
1959 mostlyclean-host: maybe-mostlyclean-flex
1960 mostlyclean-host: maybe-mostlyclean-gas
1961 mostlyclean-host: maybe-mostlyclean-gcc
1962 mostlyclean-host: maybe-mostlyclean-gmp
1963 mostlyclean-host: maybe-mostlyclean-mpfr
1964 mostlyclean-host: maybe-mostlyclean-mpc
1965 mostlyclean-host: maybe-mostlyclean-isl
1966 mostlyclean-host: maybe-mostlyclean-libelf
1967 mostlyclean-host: maybe-mostlyclean-gold
1968 mostlyclean-host: maybe-mostlyclean-gprof
1969 mostlyclean-host: maybe-mostlyclean-intl
1970 mostlyclean-host: maybe-mostlyclean-tcl
1971 mostlyclean-host: maybe-mostlyclean-itcl
1972 mostlyclean-host: maybe-mostlyclean-ld
1973 mostlyclean-host: maybe-mostlyclean-libbacktrace
1974 mostlyclean-host: maybe-mostlyclean-libcpp
1975 mostlyclean-host: maybe-mostlyclean-libdecnumber
1976 mostlyclean-host: maybe-mostlyclean-libgui
1977 mostlyclean-host: maybe-mostlyclean-libiberty
1978 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1979 mostlyclean-host: maybe-mostlyclean-libiconv
1980 mostlyclean-host: maybe-mostlyclean-m4
1981 mostlyclean-host: maybe-mostlyclean-readline
1982 mostlyclean-host: maybe-mostlyclean-sid
1983 mostlyclean-host: maybe-mostlyclean-sim
1984 mostlyclean-host: maybe-mostlyclean-texinfo
1985 mostlyclean-host: maybe-mostlyclean-zlib
1986 mostlyclean-host: maybe-mostlyclean-gdb
1987 mostlyclean-host: maybe-mostlyclean-expect
1988 mostlyclean-host: maybe-mostlyclean-guile
1989 mostlyclean-host: maybe-mostlyclean-tk
1990 mostlyclean-host: maybe-mostlyclean-libtermcap
1991 mostlyclean-host: maybe-mostlyclean-utils
1992 mostlyclean-host: maybe-mostlyclean-gnattools
1993 mostlyclean-host: maybe-mostlyclean-lto-plugin
1994 mostlyclean-host: maybe-mostlyclean-libcc1
1995 mostlyclean-host: maybe-mostlyclean-gotools
1997 .PHONY: mostlyclean-target
1999 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2000 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2001 mostlyclean-target: maybe-mostlyclean-target-libmpx
2002 mostlyclean-target: maybe-mostlyclean-target-libvtv
2003 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
2004 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2005 mostlyclean-target: maybe-mostlyclean-target-libssp
2006 mostlyclean-target: maybe-mostlyclean-target-newlib
2007 mostlyclean-target: maybe-mostlyclean-target-libgcc
2008 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2009 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2010 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2011 mostlyclean-target: maybe-mostlyclean-target-libobjc
2012 mostlyclean-target: maybe-mostlyclean-target-libgo
2013 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2014 mostlyclean-target: maybe-mostlyclean-target-winsup
2015 mostlyclean-target: maybe-mostlyclean-target-libgloss
2016 mostlyclean-target: maybe-mostlyclean-target-libffi
2017 mostlyclean-target: maybe-mostlyclean-target-libjava
2018 mostlyclean-target: maybe-mostlyclean-target-zlib
2019 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2020 mostlyclean-target: maybe-mostlyclean-target-rda
2021 mostlyclean-target: maybe-mostlyclean-target-libada
2022 mostlyclean-target: maybe-mostlyclean-target-libgomp
2023 mostlyclean-target: maybe-mostlyclean-target-libitm
2024 mostlyclean-target: maybe-mostlyclean-target-libatomic
2026 .PHONY: do-clean
2027 do-clean:
2028 @: $(MAKE); $(unstage)
2029 @r=`${PWD_COMMAND}`; export r; \
2030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2031 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2032 clean-target
2035 .PHONY: clean-host
2037 clean-host: maybe-clean-bfd
2038 clean-host: maybe-clean-opcodes
2039 clean-host: maybe-clean-binutils
2040 clean-host: maybe-clean-bison
2041 clean-host: maybe-clean-cgen
2042 clean-host: maybe-clean-dejagnu
2043 clean-host: maybe-clean-etc
2044 clean-host: maybe-clean-fastjar
2045 clean-host: maybe-clean-fixincludes
2046 clean-host: maybe-clean-flex
2047 clean-host: maybe-clean-gas
2048 clean-host: maybe-clean-gcc
2049 clean-host: maybe-clean-gmp
2050 clean-host: maybe-clean-mpfr
2051 clean-host: maybe-clean-mpc
2052 clean-host: maybe-clean-isl
2053 clean-host: maybe-clean-libelf
2054 clean-host: maybe-clean-gold
2055 clean-host: maybe-clean-gprof
2056 clean-host: maybe-clean-intl
2057 clean-host: maybe-clean-tcl
2058 clean-host: maybe-clean-itcl
2059 clean-host: maybe-clean-ld
2060 clean-host: maybe-clean-libbacktrace
2061 clean-host: maybe-clean-libcpp
2062 clean-host: maybe-clean-libdecnumber
2063 clean-host: maybe-clean-libgui
2064 clean-host: maybe-clean-libiberty
2065 clean-host: maybe-clean-libiberty-linker-plugin
2066 clean-host: maybe-clean-libiconv
2067 clean-host: maybe-clean-m4
2068 clean-host: maybe-clean-readline
2069 clean-host: maybe-clean-sid
2070 clean-host: maybe-clean-sim
2071 clean-host: maybe-clean-texinfo
2072 clean-host: maybe-clean-zlib
2073 clean-host: maybe-clean-gdb
2074 clean-host: maybe-clean-expect
2075 clean-host: maybe-clean-guile
2076 clean-host: maybe-clean-tk
2077 clean-host: maybe-clean-libtermcap
2078 clean-host: maybe-clean-utils
2079 clean-host: maybe-clean-gnattools
2080 clean-host: maybe-clean-lto-plugin
2081 clean-host: maybe-clean-libcc1
2082 clean-host: maybe-clean-gotools
2084 .PHONY: clean-target
2086 clean-target: maybe-clean-target-libstdc++-v3
2087 clean-target: maybe-clean-target-libsanitizer
2088 clean-target: maybe-clean-target-libmpx
2089 clean-target: maybe-clean-target-libvtv
2090 clean-target: maybe-clean-target-libcilkrts
2091 clean-target: maybe-clean-target-liboffloadmic
2092 clean-target: maybe-clean-target-libssp
2093 clean-target: maybe-clean-target-newlib
2094 clean-target: maybe-clean-target-libgcc
2095 clean-target: maybe-clean-target-libbacktrace
2096 clean-target: maybe-clean-target-libquadmath
2097 clean-target: maybe-clean-target-libgfortran
2098 clean-target: maybe-clean-target-libobjc
2099 clean-target: maybe-clean-target-libgo
2100 clean-target: maybe-clean-target-libtermcap
2101 clean-target: maybe-clean-target-winsup
2102 clean-target: maybe-clean-target-libgloss
2103 clean-target: maybe-clean-target-libffi
2104 clean-target: maybe-clean-target-libjava
2105 clean-target: maybe-clean-target-zlib
2106 clean-target: maybe-clean-target-boehm-gc
2107 clean-target: maybe-clean-target-rda
2108 clean-target: maybe-clean-target-libada
2109 clean-target: maybe-clean-target-libgomp
2110 clean-target: maybe-clean-target-libitm
2111 clean-target: maybe-clean-target-libatomic
2113 .PHONY: do-distclean
2114 do-distclean:
2115 @: $(MAKE); $(unstage)
2116 @r=`${PWD_COMMAND}`; export r; \
2117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2118 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2119 distclean-target
2122 .PHONY: distclean-host
2124 distclean-host: maybe-distclean-bfd
2125 distclean-host: maybe-distclean-opcodes
2126 distclean-host: maybe-distclean-binutils
2127 distclean-host: maybe-distclean-bison
2128 distclean-host: maybe-distclean-cgen
2129 distclean-host: maybe-distclean-dejagnu
2130 distclean-host: maybe-distclean-etc
2131 distclean-host: maybe-distclean-fastjar
2132 distclean-host: maybe-distclean-fixincludes
2133 distclean-host: maybe-distclean-flex
2134 distclean-host: maybe-distclean-gas
2135 distclean-host: maybe-distclean-gcc
2136 distclean-host: maybe-distclean-gmp
2137 distclean-host: maybe-distclean-mpfr
2138 distclean-host: maybe-distclean-mpc
2139 distclean-host: maybe-distclean-isl
2140 distclean-host: maybe-distclean-libelf
2141 distclean-host: maybe-distclean-gold
2142 distclean-host: maybe-distclean-gprof
2143 distclean-host: maybe-distclean-intl
2144 distclean-host: maybe-distclean-tcl
2145 distclean-host: maybe-distclean-itcl
2146 distclean-host: maybe-distclean-ld
2147 distclean-host: maybe-distclean-libbacktrace
2148 distclean-host: maybe-distclean-libcpp
2149 distclean-host: maybe-distclean-libdecnumber
2150 distclean-host: maybe-distclean-libgui
2151 distclean-host: maybe-distclean-libiberty
2152 distclean-host: maybe-distclean-libiberty-linker-plugin
2153 distclean-host: maybe-distclean-libiconv
2154 distclean-host: maybe-distclean-m4
2155 distclean-host: maybe-distclean-readline
2156 distclean-host: maybe-distclean-sid
2157 distclean-host: maybe-distclean-sim
2158 distclean-host: maybe-distclean-texinfo
2159 distclean-host: maybe-distclean-zlib
2160 distclean-host: maybe-distclean-gdb
2161 distclean-host: maybe-distclean-expect
2162 distclean-host: maybe-distclean-guile
2163 distclean-host: maybe-distclean-tk
2164 distclean-host: maybe-distclean-libtermcap
2165 distclean-host: maybe-distclean-utils
2166 distclean-host: maybe-distclean-gnattools
2167 distclean-host: maybe-distclean-lto-plugin
2168 distclean-host: maybe-distclean-libcc1
2169 distclean-host: maybe-distclean-gotools
2171 .PHONY: distclean-target
2173 distclean-target: maybe-distclean-target-libstdc++-v3
2174 distclean-target: maybe-distclean-target-libsanitizer
2175 distclean-target: maybe-distclean-target-libmpx
2176 distclean-target: maybe-distclean-target-libvtv
2177 distclean-target: maybe-distclean-target-libcilkrts
2178 distclean-target: maybe-distclean-target-liboffloadmic
2179 distclean-target: maybe-distclean-target-libssp
2180 distclean-target: maybe-distclean-target-newlib
2181 distclean-target: maybe-distclean-target-libgcc
2182 distclean-target: maybe-distclean-target-libbacktrace
2183 distclean-target: maybe-distclean-target-libquadmath
2184 distclean-target: maybe-distclean-target-libgfortran
2185 distclean-target: maybe-distclean-target-libobjc
2186 distclean-target: maybe-distclean-target-libgo
2187 distclean-target: maybe-distclean-target-libtermcap
2188 distclean-target: maybe-distclean-target-winsup
2189 distclean-target: maybe-distclean-target-libgloss
2190 distclean-target: maybe-distclean-target-libffi
2191 distclean-target: maybe-distclean-target-libjava
2192 distclean-target: maybe-distclean-target-zlib
2193 distclean-target: maybe-distclean-target-boehm-gc
2194 distclean-target: maybe-distclean-target-rda
2195 distclean-target: maybe-distclean-target-libada
2196 distclean-target: maybe-distclean-target-libgomp
2197 distclean-target: maybe-distclean-target-libitm
2198 distclean-target: maybe-distclean-target-libatomic
2200 .PHONY: do-maintainer-clean
2201 do-maintainer-clean:
2202 @: $(MAKE); $(unstage)
2203 @r=`${PWD_COMMAND}`; export r; \
2204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2205 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2206 maintainer-clean-target
2209 .PHONY: maintainer-clean-host
2211 maintainer-clean-host: maybe-maintainer-clean-bfd
2212 maintainer-clean-host: maybe-maintainer-clean-opcodes
2213 maintainer-clean-host: maybe-maintainer-clean-binutils
2214 maintainer-clean-host: maybe-maintainer-clean-bison
2215 maintainer-clean-host: maybe-maintainer-clean-cgen
2216 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2217 maintainer-clean-host: maybe-maintainer-clean-etc
2218 maintainer-clean-host: maybe-maintainer-clean-fastjar
2219 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2220 maintainer-clean-host: maybe-maintainer-clean-flex
2221 maintainer-clean-host: maybe-maintainer-clean-gas
2222 maintainer-clean-host: maybe-maintainer-clean-gcc
2223 maintainer-clean-host: maybe-maintainer-clean-gmp
2224 maintainer-clean-host: maybe-maintainer-clean-mpfr
2225 maintainer-clean-host: maybe-maintainer-clean-mpc
2226 maintainer-clean-host: maybe-maintainer-clean-isl
2227 maintainer-clean-host: maybe-maintainer-clean-libelf
2228 maintainer-clean-host: maybe-maintainer-clean-gold
2229 maintainer-clean-host: maybe-maintainer-clean-gprof
2230 maintainer-clean-host: maybe-maintainer-clean-intl
2231 maintainer-clean-host: maybe-maintainer-clean-tcl
2232 maintainer-clean-host: maybe-maintainer-clean-itcl
2233 maintainer-clean-host: maybe-maintainer-clean-ld
2234 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2235 maintainer-clean-host: maybe-maintainer-clean-libcpp
2236 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2237 maintainer-clean-host: maybe-maintainer-clean-libgui
2238 maintainer-clean-host: maybe-maintainer-clean-libiberty
2239 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2240 maintainer-clean-host: maybe-maintainer-clean-libiconv
2241 maintainer-clean-host: maybe-maintainer-clean-m4
2242 maintainer-clean-host: maybe-maintainer-clean-readline
2243 maintainer-clean-host: maybe-maintainer-clean-sid
2244 maintainer-clean-host: maybe-maintainer-clean-sim
2245 maintainer-clean-host: maybe-maintainer-clean-texinfo
2246 maintainer-clean-host: maybe-maintainer-clean-zlib
2247 maintainer-clean-host: maybe-maintainer-clean-gdb
2248 maintainer-clean-host: maybe-maintainer-clean-expect
2249 maintainer-clean-host: maybe-maintainer-clean-guile
2250 maintainer-clean-host: maybe-maintainer-clean-tk
2251 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2252 maintainer-clean-host: maybe-maintainer-clean-utils
2253 maintainer-clean-host: maybe-maintainer-clean-gnattools
2254 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2255 maintainer-clean-host: maybe-maintainer-clean-libcc1
2256 maintainer-clean-host: maybe-maintainer-clean-gotools
2258 .PHONY: maintainer-clean-target
2260 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2261 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2262 maintainer-clean-target: maybe-maintainer-clean-target-libmpx
2263 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2264 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2265 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2266 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2267 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2268 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2269 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2270 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2271 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2272 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2273 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2274 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2275 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2276 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2277 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2278 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2279 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2280 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2281 maintainer-clean-target: maybe-maintainer-clean-target-rda
2282 maintainer-clean-target: maybe-maintainer-clean-target-libada
2283 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2284 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2285 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2288 # Here are the targets which correspond to the do-X targets.
2290 .PHONY: info installcheck dvi pdf html
2291 .PHONY: install-info install-pdf install-html
2292 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2293 .PHONY: local-clean local-distclean local-maintainer-clean
2294 info: do-info
2295 installcheck: do-installcheck
2296 dvi: do-dvi
2297 pdf: do-pdf
2298 html: do-html
2300 # Make sure makeinfo is built before we do a `make info', if we're
2301 # in fact building texinfo.
2302 do-info: maybe-all-texinfo
2304 install-info: do-install-info dir.info
2305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2306 if [ -f dir.info ]; then \
2307 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2308 else true; fi
2310 install-pdf: do-install-pdf
2312 install-html: do-install-html
2314 local-clean:
2315 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2317 local-distclean:
2318 -rm -f Makefile config.status config.cache mh-frag mt-frag
2319 -rm -f maybedep.tmp serdep.tmp stage_final
2320 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2321 rm -rf $(TARGET_SUBDIR); \
2322 else true; fi
2323 -rm -rf $(BUILD_SUBDIR)
2324 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2325 rm -rf $(HOST_SUBDIR); \
2326 else true; fi
2327 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2328 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2329 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2330 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2331 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2332 -rmdir texinfo zlib 2>/dev/null
2333 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2335 local-maintainer-clean:
2336 @echo "This command is intended for maintainers to use;"
2337 @echo "it deletes files that may require special tools to rebuild."
2339 clean: do-clean local-clean
2340 mostlyclean: do-mostlyclean local-clean
2341 distclean: do-distclean local-clean local-distclean
2342 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2343 maintainer-clean: local-distclean
2344 realclean: maintainer-clean
2346 # Check target.
2348 .PHONY: check do-check
2349 check: do-check
2351 # Only include modules actually being configured and built.
2352 .PHONY: check-host
2353 check-host: \
2354 maybe-check-bfd \
2355 maybe-check-opcodes \
2356 maybe-check-binutils \
2357 maybe-check-bison \
2358 maybe-check-cgen \
2359 maybe-check-dejagnu \
2360 maybe-check-etc \
2361 maybe-check-fastjar \
2362 maybe-check-fixincludes \
2363 maybe-check-flex \
2364 maybe-check-gas \
2365 maybe-check-gcc \
2366 maybe-check-gmp \
2367 maybe-check-mpfr \
2368 maybe-check-mpc \
2369 maybe-check-isl \
2370 maybe-check-libelf \
2371 maybe-check-gold \
2372 maybe-check-gprof \
2373 maybe-check-intl \
2374 maybe-check-tcl \
2375 maybe-check-itcl \
2376 maybe-check-ld \
2377 maybe-check-libbacktrace \
2378 maybe-check-libcpp \
2379 maybe-check-libdecnumber \
2380 maybe-check-libgui \
2381 maybe-check-libiberty \
2382 maybe-check-libiberty-linker-plugin \
2383 maybe-check-libiconv \
2384 maybe-check-m4 \
2385 maybe-check-readline \
2386 maybe-check-sid \
2387 maybe-check-sim \
2388 maybe-check-texinfo \
2389 maybe-check-zlib \
2390 maybe-check-gdb \
2391 maybe-check-expect \
2392 maybe-check-guile \
2393 maybe-check-tk \
2394 maybe-check-libtermcap \
2395 maybe-check-utils \
2396 maybe-check-gnattools \
2397 maybe-check-lto-plugin \
2398 maybe-check-libcc1 \
2399 maybe-check-gotools
2401 .PHONY: check-target
2402 check-target: \
2403 maybe-check-target-libstdc++-v3 \
2404 maybe-check-target-libsanitizer \
2405 maybe-check-target-libmpx \
2406 maybe-check-target-libvtv \
2407 maybe-check-target-libcilkrts \
2408 maybe-check-target-liboffloadmic \
2409 maybe-check-target-libssp \
2410 maybe-check-target-newlib \
2411 maybe-check-target-libgcc \
2412 maybe-check-target-libbacktrace \
2413 maybe-check-target-libquadmath \
2414 maybe-check-target-libgfortran \
2415 maybe-check-target-libobjc \
2416 maybe-check-target-libgo \
2417 maybe-check-target-libtermcap \
2418 maybe-check-target-winsup \
2419 maybe-check-target-libgloss \
2420 maybe-check-target-libffi \
2421 maybe-check-target-libjava \
2422 maybe-check-target-zlib \
2423 maybe-check-target-boehm-gc \
2424 maybe-check-target-rda \
2425 maybe-check-target-libada \
2426 maybe-check-target-libgomp \
2427 maybe-check-target-libitm \
2428 maybe-check-target-libatomic
2430 do-check:
2431 @: $(MAKE); $(unstage)
2432 @r=`${PWD_COMMAND}`; export r; \
2433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2434 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2436 # Automated reporting of test results.
2438 warning.log: build.log
2439 $(srcdir)/contrib/warn_summary build.log > $@
2441 mail-report.log:
2442 if test x'$(BOOT_CFLAGS)' != x''; then \
2443 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2444 fi; \
2445 $(srcdir)/contrib/test_summary -t >$@
2446 chmod +x $@
2447 echo If you really want to send e-mail, run ./$@ now
2449 mail-report-with-warnings.log: warning.log
2450 if test x'$(BOOT_CFLAGS)' != x''; then \
2451 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2452 fi; \
2453 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2454 chmod +x $@
2455 echo If you really want to send e-mail, run ./$@ now
2457 # Local Vim config
2459 $(srcdir)/.local.vimrc:
2460 $(LN_S) contrib/vimrc $@
2462 $(srcdir)/.lvimrc:
2463 $(LN_S) contrib/vimrc $@
2465 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2467 .PHONY: vimrc
2469 # clang-format config
2471 $(srcdir)/.clang-format:
2472 $(LN_S) contrib/clang-format $@
2474 clang-format: $(srcdir)/.clang-format
2476 .PHONY: clang-format
2478 # Installation targets.
2480 .PHONY: install uninstall
2481 install:
2482 @: $(MAKE); $(unstage)
2483 @r=`${PWD_COMMAND}`; export r; \
2484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2485 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2487 .PHONY: install-host-nogcc
2488 install-host-nogcc: \
2489 maybe-install-bfd \
2490 maybe-install-opcodes \
2491 maybe-install-binutils \
2492 maybe-install-bison \
2493 maybe-install-cgen \
2494 maybe-install-dejagnu \
2495 maybe-install-etc \
2496 maybe-install-fastjar \
2497 maybe-install-fixincludes \
2498 maybe-install-flex \
2499 maybe-install-gas \
2500 maybe-install-gmp \
2501 maybe-install-mpfr \
2502 maybe-install-mpc \
2503 maybe-install-isl \
2504 maybe-install-libelf \
2505 maybe-install-gold \
2506 maybe-install-gprof \
2507 maybe-install-intl \
2508 maybe-install-tcl \
2509 maybe-install-itcl \
2510 maybe-install-ld \
2511 maybe-install-libbacktrace \
2512 maybe-install-libcpp \
2513 maybe-install-libdecnumber \
2514 maybe-install-libgui \
2515 maybe-install-libiberty \
2516 maybe-install-libiberty-linker-plugin \
2517 maybe-install-libiconv \
2518 maybe-install-m4 \
2519 maybe-install-readline \
2520 maybe-install-sid \
2521 maybe-install-sim \
2522 maybe-install-texinfo \
2523 maybe-install-zlib \
2524 maybe-install-gdb \
2525 maybe-install-expect \
2526 maybe-install-guile \
2527 maybe-install-tk \
2528 maybe-install-libtermcap \
2529 maybe-install-utils \
2530 maybe-install-gnattools \
2531 maybe-install-lto-plugin \
2532 maybe-install-libcc1 \
2533 maybe-install-gotools
2535 .PHONY: install-host
2536 install-host: \
2537 maybe-install-bfd \
2538 maybe-install-opcodes \
2539 maybe-install-binutils \
2540 maybe-install-bison \
2541 maybe-install-cgen \
2542 maybe-install-dejagnu \
2543 maybe-install-etc \
2544 maybe-install-fastjar \
2545 maybe-install-fixincludes \
2546 maybe-install-flex \
2547 maybe-install-gas \
2548 maybe-install-gcc \
2549 maybe-install-gmp \
2550 maybe-install-mpfr \
2551 maybe-install-mpc \
2552 maybe-install-isl \
2553 maybe-install-libelf \
2554 maybe-install-gold \
2555 maybe-install-gprof \
2556 maybe-install-intl \
2557 maybe-install-tcl \
2558 maybe-install-itcl \
2559 maybe-install-ld \
2560 maybe-install-libbacktrace \
2561 maybe-install-libcpp \
2562 maybe-install-libdecnumber \
2563 maybe-install-libgui \
2564 maybe-install-libiberty \
2565 maybe-install-libiberty-linker-plugin \
2566 maybe-install-libiconv \
2567 maybe-install-m4 \
2568 maybe-install-readline \
2569 maybe-install-sid \
2570 maybe-install-sim \
2571 maybe-install-texinfo \
2572 maybe-install-zlib \
2573 maybe-install-gdb \
2574 maybe-install-expect \
2575 maybe-install-guile \
2576 maybe-install-tk \
2577 maybe-install-libtermcap \
2578 maybe-install-utils \
2579 maybe-install-gnattools \
2580 maybe-install-lto-plugin \
2581 maybe-install-libcc1 \
2582 maybe-install-gotools
2584 .PHONY: install-target
2585 install-target: \
2586 maybe-install-target-libstdc++-v3 \
2587 maybe-install-target-libsanitizer \
2588 maybe-install-target-libmpx \
2589 maybe-install-target-libvtv \
2590 maybe-install-target-libcilkrts \
2591 maybe-install-target-liboffloadmic \
2592 maybe-install-target-libssp \
2593 maybe-install-target-newlib \
2594 maybe-install-target-libgcc \
2595 maybe-install-target-libbacktrace \
2596 maybe-install-target-libquadmath \
2597 maybe-install-target-libgfortran \
2598 maybe-install-target-libobjc \
2599 maybe-install-target-libgo \
2600 maybe-install-target-libtermcap \
2601 maybe-install-target-winsup \
2602 maybe-install-target-libgloss \
2603 maybe-install-target-libffi \
2604 maybe-install-target-libjava \
2605 maybe-install-target-zlib \
2606 maybe-install-target-boehm-gc \
2607 maybe-install-target-rda \
2608 maybe-install-target-libada \
2609 maybe-install-target-libgomp \
2610 maybe-install-target-libitm \
2611 maybe-install-target-libatomic
2613 uninstall:
2614 @echo "the uninstall target is not supported in this tree"
2616 .PHONY: install.all
2617 install.all: install-no-fixedincludes
2618 @if [ -f ./gcc/Makefile ]; then \
2619 r=`${PWD_COMMAND}`; export r; \
2620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2621 $(HOST_EXPORTS) \
2622 (cd ./gcc && \
2623 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2624 else \
2625 true; \
2628 # install-no-fixedincludes is used to allow the elaboration of binary packages
2629 # suitable for distribution, where we cannot include the fixed system header
2630 # files.
2631 .PHONY: install-no-fixedincludes
2632 install-no-fixedincludes: installdirs install-host-nogcc \
2633 install-target gcc-install-no-fixedincludes
2635 .PHONY: install-strip
2636 install-strip:
2637 @: $(MAKE); $(unstage)
2638 @r=`${PWD_COMMAND}`; export r; \
2639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2640 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2642 .PHONY: install-strip-host
2643 install-strip-host: \
2644 maybe-install-strip-bfd \
2645 maybe-install-strip-opcodes \
2646 maybe-install-strip-binutils \
2647 maybe-install-strip-bison \
2648 maybe-install-strip-cgen \
2649 maybe-install-strip-dejagnu \
2650 maybe-install-strip-etc \
2651 maybe-install-strip-fastjar \
2652 maybe-install-strip-fixincludes \
2653 maybe-install-strip-flex \
2654 maybe-install-strip-gas \
2655 maybe-install-strip-gcc \
2656 maybe-install-strip-gmp \
2657 maybe-install-strip-mpfr \
2658 maybe-install-strip-mpc \
2659 maybe-install-strip-isl \
2660 maybe-install-strip-libelf \
2661 maybe-install-strip-gold \
2662 maybe-install-strip-gprof \
2663 maybe-install-strip-intl \
2664 maybe-install-strip-tcl \
2665 maybe-install-strip-itcl \
2666 maybe-install-strip-ld \
2667 maybe-install-strip-libbacktrace \
2668 maybe-install-strip-libcpp \
2669 maybe-install-strip-libdecnumber \
2670 maybe-install-strip-libgui \
2671 maybe-install-strip-libiberty \
2672 maybe-install-strip-libiberty-linker-plugin \
2673 maybe-install-strip-libiconv \
2674 maybe-install-strip-m4 \
2675 maybe-install-strip-readline \
2676 maybe-install-strip-sid \
2677 maybe-install-strip-sim \
2678 maybe-install-strip-texinfo \
2679 maybe-install-strip-zlib \
2680 maybe-install-strip-gdb \
2681 maybe-install-strip-expect \
2682 maybe-install-strip-guile \
2683 maybe-install-strip-tk \
2684 maybe-install-strip-libtermcap \
2685 maybe-install-strip-utils \
2686 maybe-install-strip-gnattools \
2687 maybe-install-strip-lto-plugin \
2688 maybe-install-strip-libcc1 \
2689 maybe-install-strip-gotools
2691 .PHONY: install-strip-target
2692 install-strip-target: \
2693 maybe-install-strip-target-libstdc++-v3 \
2694 maybe-install-strip-target-libsanitizer \
2695 maybe-install-strip-target-libmpx \
2696 maybe-install-strip-target-libvtv \
2697 maybe-install-strip-target-libcilkrts \
2698 maybe-install-strip-target-liboffloadmic \
2699 maybe-install-strip-target-libssp \
2700 maybe-install-strip-target-newlib \
2701 maybe-install-strip-target-libgcc \
2702 maybe-install-strip-target-libbacktrace \
2703 maybe-install-strip-target-libquadmath \
2704 maybe-install-strip-target-libgfortran \
2705 maybe-install-strip-target-libobjc \
2706 maybe-install-strip-target-libgo \
2707 maybe-install-strip-target-libtermcap \
2708 maybe-install-strip-target-winsup \
2709 maybe-install-strip-target-libgloss \
2710 maybe-install-strip-target-libffi \
2711 maybe-install-strip-target-libjava \
2712 maybe-install-strip-target-zlib \
2713 maybe-install-strip-target-boehm-gc \
2714 maybe-install-strip-target-rda \
2715 maybe-install-strip-target-libada \
2716 maybe-install-strip-target-libgomp \
2717 maybe-install-strip-target-libitm \
2718 maybe-install-strip-target-libatomic
2721 ### other supporting targets
2723 MAKEDIRS= \
2724 $(DESTDIR)$(prefix) \
2725 $(DESTDIR)$(exec_prefix)
2726 .PHONY: installdirs
2727 installdirs: mkinstalldirs
2728 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2730 dir.info: do-install-info
2731 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2732 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2733 mv -f dir.info.new dir.info; \
2734 else true; \
2737 dist:
2738 @echo "Building a full distribution of this tree isn't done"
2739 @echo "via 'make dist'. Check out the etc/ subdirectory"
2741 etags tags: TAGS
2743 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2744 # ability to use several tags files at once, so there is probably no need
2745 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2746 # (if we felt like it) have this Makefile write a piece of elisp which
2747 # the user could load to tell emacs19 where all the TAGS files we just
2748 # built are.
2749 TAGS: do-TAGS
2751 # ------------------------------------
2752 # Macros for configure and all targets
2753 # ------------------------------------
2759 # --------------------------------------
2760 # Modules which run on the build machine
2761 # --------------------------------------
2764 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2765 maybe-configure-build-libiberty:
2766 @if gcc-bootstrap
2767 configure-build-libiberty: stage_current
2768 @endif gcc-bootstrap
2769 @if build-libiberty
2770 maybe-configure-build-libiberty: configure-build-libiberty
2771 configure-build-libiberty:
2772 @: $(MAKE); $(unstage)
2773 @r=`${PWD_COMMAND}`; export r; \
2774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2775 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2776 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2777 $(BUILD_EXPORTS) \
2778 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2779 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2780 case $(srcdir) in \
2781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2782 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2784 esac; \
2785 module_srcdir=libiberty; \
2786 rm -f no-such-file || : ; \
2787 CONFIG_SITE=no-such-file $(SHELL) \
2788 $$s/$$module_srcdir/configure \
2789 --srcdir=$${topdir}/$$module_srcdir \
2790 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2791 --target=${target_alias} \
2792 || exit 1
2793 @endif build-libiberty
2799 .PHONY: all-build-libiberty maybe-all-build-libiberty
2800 maybe-all-build-libiberty:
2801 @if gcc-bootstrap
2802 all-build-libiberty: stage_current
2803 @endif gcc-bootstrap
2804 @if build-libiberty
2805 TARGET-build-libiberty=all
2806 maybe-all-build-libiberty: all-build-libiberty
2807 all-build-libiberty: configure-build-libiberty
2808 @: $(MAKE); $(unstage)
2809 @r=`${PWD_COMMAND}`; export r; \
2810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2811 $(BUILD_EXPORTS) \
2812 (cd $(BUILD_SUBDIR)/libiberty && \
2813 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2814 $(TARGET-build-libiberty))
2815 @endif build-libiberty
2821 .PHONY: configure-build-bison maybe-configure-build-bison
2822 maybe-configure-build-bison:
2823 @if gcc-bootstrap
2824 configure-build-bison: stage_current
2825 @endif gcc-bootstrap
2826 @if build-bison
2827 maybe-configure-build-bison: configure-build-bison
2828 configure-build-bison:
2829 @: $(MAKE); $(unstage)
2830 @r=`${PWD_COMMAND}`; export r; \
2831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2832 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2833 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2834 $(BUILD_EXPORTS) \
2835 echo Configuring in $(BUILD_SUBDIR)/bison; \
2836 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2837 case $(srcdir) in \
2838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2839 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2841 esac; \
2842 module_srcdir=bison; \
2843 rm -f no-such-file || : ; \
2844 CONFIG_SITE=no-such-file $(SHELL) \
2845 $$s/$$module_srcdir/configure \
2846 --srcdir=$${topdir}/$$module_srcdir \
2847 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2848 --target=${target_alias} \
2849 || exit 1
2850 @endif build-bison
2856 .PHONY: all-build-bison maybe-all-build-bison
2857 maybe-all-build-bison:
2858 @if gcc-bootstrap
2859 all-build-bison: stage_current
2860 @endif gcc-bootstrap
2861 @if build-bison
2862 TARGET-build-bison=all
2863 maybe-all-build-bison: all-build-bison
2864 all-build-bison: configure-build-bison
2865 @: $(MAKE); $(unstage)
2866 @r=`${PWD_COMMAND}`; export r; \
2867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2868 $(BUILD_EXPORTS) \
2869 (cd $(BUILD_SUBDIR)/bison && \
2870 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2871 $(TARGET-build-bison))
2872 @endif build-bison
2878 .PHONY: configure-build-flex maybe-configure-build-flex
2879 maybe-configure-build-flex:
2880 @if gcc-bootstrap
2881 configure-build-flex: stage_current
2882 @endif gcc-bootstrap
2883 @if build-flex
2884 maybe-configure-build-flex: configure-build-flex
2885 configure-build-flex:
2886 @: $(MAKE); $(unstage)
2887 @r=`${PWD_COMMAND}`; export r; \
2888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2889 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2890 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2891 $(BUILD_EXPORTS) \
2892 echo Configuring in $(BUILD_SUBDIR)/flex; \
2893 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2894 case $(srcdir) in \
2895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2896 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2898 esac; \
2899 module_srcdir=flex; \
2900 rm -f no-such-file || : ; \
2901 CONFIG_SITE=no-such-file $(SHELL) \
2902 $$s/$$module_srcdir/configure \
2903 --srcdir=$${topdir}/$$module_srcdir \
2904 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2905 --target=${target_alias} \
2906 || exit 1
2907 @endif build-flex
2913 .PHONY: all-build-flex maybe-all-build-flex
2914 maybe-all-build-flex:
2915 @if gcc-bootstrap
2916 all-build-flex: stage_current
2917 @endif gcc-bootstrap
2918 @if build-flex
2919 TARGET-build-flex=all
2920 maybe-all-build-flex: all-build-flex
2921 all-build-flex: configure-build-flex
2922 @: $(MAKE); $(unstage)
2923 @r=`${PWD_COMMAND}`; export r; \
2924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2925 $(BUILD_EXPORTS) \
2926 (cd $(BUILD_SUBDIR)/flex && \
2927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2928 $(TARGET-build-flex))
2929 @endif build-flex
2935 .PHONY: configure-build-m4 maybe-configure-build-m4
2936 maybe-configure-build-m4:
2937 @if gcc-bootstrap
2938 configure-build-m4: stage_current
2939 @endif gcc-bootstrap
2940 @if build-m4
2941 maybe-configure-build-m4: configure-build-m4
2942 configure-build-m4:
2943 @: $(MAKE); $(unstage)
2944 @r=`${PWD_COMMAND}`; export r; \
2945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2946 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2947 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2948 $(BUILD_EXPORTS) \
2949 echo Configuring in $(BUILD_SUBDIR)/m4; \
2950 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2951 case $(srcdir) in \
2952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2953 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2955 esac; \
2956 module_srcdir=m4; \
2957 rm -f no-such-file || : ; \
2958 CONFIG_SITE=no-such-file $(SHELL) \
2959 $$s/$$module_srcdir/configure \
2960 --srcdir=$${topdir}/$$module_srcdir \
2961 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2962 --target=${target_alias} \
2963 || exit 1
2964 @endif build-m4
2970 .PHONY: all-build-m4 maybe-all-build-m4
2971 maybe-all-build-m4:
2972 @if gcc-bootstrap
2973 all-build-m4: stage_current
2974 @endif gcc-bootstrap
2975 @if build-m4
2976 TARGET-build-m4=all
2977 maybe-all-build-m4: all-build-m4
2978 all-build-m4: configure-build-m4
2979 @: $(MAKE); $(unstage)
2980 @r=`${PWD_COMMAND}`; export r; \
2981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2982 $(BUILD_EXPORTS) \
2983 (cd $(BUILD_SUBDIR)/m4 && \
2984 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2985 $(TARGET-build-m4))
2986 @endif build-m4
2992 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2993 maybe-configure-build-texinfo:
2994 @if gcc-bootstrap
2995 configure-build-texinfo: stage_current
2996 @endif gcc-bootstrap
2997 @if build-texinfo
2998 maybe-configure-build-texinfo: configure-build-texinfo
2999 configure-build-texinfo:
3000 @: $(MAKE); $(unstage)
3001 @r=`${PWD_COMMAND}`; export r; \
3002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3003 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3004 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3005 $(BUILD_EXPORTS) \
3006 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3007 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3008 case $(srcdir) in \
3009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3010 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3012 esac; \
3013 module_srcdir=texinfo; \
3014 rm -f no-such-file || : ; \
3015 CONFIG_SITE=no-such-file $(SHELL) \
3016 $$s/$$module_srcdir/configure \
3017 --srcdir=$${topdir}/$$module_srcdir \
3018 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3019 --target=${target_alias} \
3020 || exit 1
3021 @endif build-texinfo
3027 .PHONY: all-build-texinfo maybe-all-build-texinfo
3028 maybe-all-build-texinfo:
3029 @if gcc-bootstrap
3030 all-build-texinfo: stage_current
3031 @endif gcc-bootstrap
3032 @if build-texinfo
3033 TARGET-build-texinfo=all
3034 maybe-all-build-texinfo: all-build-texinfo
3035 all-build-texinfo: configure-build-texinfo
3036 @: $(MAKE); $(unstage)
3037 @r=`${PWD_COMMAND}`; export r; \
3038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3039 $(BUILD_EXPORTS) \
3040 (cd $(BUILD_SUBDIR)/texinfo && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3042 $(TARGET-build-texinfo))
3043 @endif build-texinfo
3049 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3050 maybe-configure-build-fixincludes:
3051 @if gcc-bootstrap
3052 configure-build-fixincludes: stage_current
3053 @endif gcc-bootstrap
3054 @if build-fixincludes
3055 maybe-configure-build-fixincludes: configure-build-fixincludes
3056 configure-build-fixincludes:
3057 @: $(MAKE); $(unstage)
3058 @r=`${PWD_COMMAND}`; export r; \
3059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3060 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3061 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3062 $(BUILD_EXPORTS) \
3063 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3064 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3065 case $(srcdir) in \
3066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3067 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3069 esac; \
3070 module_srcdir=fixincludes; \
3071 rm -f no-such-file || : ; \
3072 CONFIG_SITE=no-such-file $(SHELL) \
3073 $$s/$$module_srcdir/configure \
3074 --srcdir=$${topdir}/$$module_srcdir \
3075 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3076 --target=${target_alias} \
3077 || exit 1
3078 @endif build-fixincludes
3084 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3085 maybe-all-build-fixincludes:
3086 @if gcc-bootstrap
3087 all-build-fixincludes: stage_current
3088 @endif gcc-bootstrap
3089 @if build-fixincludes
3090 TARGET-build-fixincludes=all
3091 maybe-all-build-fixincludes: all-build-fixincludes
3092 all-build-fixincludes: configure-build-fixincludes
3093 @: $(MAKE); $(unstage)
3094 @r=`${PWD_COMMAND}`; export r; \
3095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3096 $(BUILD_EXPORTS) \
3097 (cd $(BUILD_SUBDIR)/fixincludes && \
3098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3099 $(TARGET-build-fixincludes))
3100 @endif build-fixincludes
3106 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3107 maybe-configure-build-libcpp:
3108 @if gcc-bootstrap
3109 configure-build-libcpp: stage_current
3110 @endif gcc-bootstrap
3111 @if build-libcpp
3112 maybe-configure-build-libcpp: configure-build-libcpp
3113 configure-build-libcpp:
3114 @: $(MAKE); $(unstage)
3115 @r=`${PWD_COMMAND}`; export r; \
3116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3117 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3118 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3119 $(BUILD_EXPORTS) \
3120 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3121 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3122 case $(srcdir) in \
3123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3124 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3126 esac; \
3127 module_srcdir=libcpp; \
3128 rm -f no-such-file || : ; \
3129 CONFIG_SITE=no-such-file $(SHELL) \
3130 $$s/$$module_srcdir/configure \
3131 --srcdir=$${topdir}/$$module_srcdir \
3132 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3133 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3134 || exit 1
3135 @endif build-libcpp
3141 .PHONY: all-build-libcpp maybe-all-build-libcpp
3142 maybe-all-build-libcpp:
3143 @if gcc-bootstrap
3144 all-build-libcpp: stage_current
3145 @endif gcc-bootstrap
3146 @if build-libcpp
3147 TARGET-build-libcpp=all
3148 maybe-all-build-libcpp: all-build-libcpp
3149 all-build-libcpp: configure-build-libcpp
3150 @: $(MAKE); $(unstage)
3151 @r=`${PWD_COMMAND}`; export r; \
3152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3153 $(BUILD_EXPORTS) \
3154 (cd $(BUILD_SUBDIR)/libcpp && \
3155 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3156 $(TARGET-build-libcpp))
3157 @endif build-libcpp
3163 # --------------------------------------
3164 # Modules which run on the host machine
3165 # --------------------------------------
3168 .PHONY: configure-bfd maybe-configure-bfd
3169 maybe-configure-bfd:
3170 @if gcc-bootstrap
3171 configure-bfd: stage_current
3172 @endif gcc-bootstrap
3173 @if bfd
3174 maybe-configure-bfd: configure-bfd
3175 configure-bfd:
3176 @r=`${PWD_COMMAND}`; export r; \
3177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3180 $(HOST_EXPORTS) \
3181 echo Configuring in $(HOST_SUBDIR)/bfd; \
3182 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3183 case $(srcdir) in \
3184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3185 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3187 esac; \
3188 module_srcdir=bfd; \
3189 $(SHELL) \
3190 $$s/$$module_srcdir/configure \
3191 --srcdir=$${topdir}/$$module_srcdir \
3192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3193 --target=${target_alias} \
3194 || exit 1
3195 @endif bfd
3199 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3200 maybe-configure-stage1-bfd:
3201 @if bfd-bootstrap
3202 maybe-configure-stage1-bfd: configure-stage1-bfd
3203 configure-stage1-bfd:
3204 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3206 @r=`${PWD_COMMAND}`; export r; \
3207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3208 TFLAGS="$(STAGE1_TFLAGS)"; \
3209 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3210 $(HOST_EXPORTS) \
3211 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3212 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3213 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3214 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3216 cd $(HOST_SUBDIR)/bfd || exit 1; \
3217 case $(srcdir) in \
3218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3219 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3221 esac; \
3222 module_srcdir=bfd; \
3223 $(SHELL) $$s/$$module_srcdir/configure \
3224 --srcdir=$${topdir}/$$module_srcdir \
3225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3226 --target=${target_alias} \
3228 $(STAGE1_CONFIGURE_FLAGS)
3229 @endif bfd-bootstrap
3231 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3232 maybe-configure-stage2-bfd:
3233 @if bfd-bootstrap
3234 maybe-configure-stage2-bfd: configure-stage2-bfd
3235 configure-stage2-bfd:
3236 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3238 @r=`${PWD_COMMAND}`; export r; \
3239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3240 TFLAGS="$(STAGE2_TFLAGS)"; \
3241 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3242 $(HOST_EXPORTS) \
3243 $(POSTSTAGE1_HOST_EXPORTS) \
3244 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3245 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3246 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3247 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3249 cd $(HOST_SUBDIR)/bfd || exit 1; \
3250 case $(srcdir) in \
3251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3252 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3254 esac; \
3255 module_srcdir=bfd; \
3256 $(SHELL) $$s/$$module_srcdir/configure \
3257 --srcdir=$${topdir}/$$module_srcdir \
3258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3259 --target=${target_alias} \
3260 --with-build-libsubdir=$(HOST_SUBDIR) \
3261 $(STAGE2_CONFIGURE_FLAGS)
3262 @endif bfd-bootstrap
3264 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3265 maybe-configure-stage3-bfd:
3266 @if bfd-bootstrap
3267 maybe-configure-stage3-bfd: configure-stage3-bfd
3268 configure-stage3-bfd:
3269 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3271 @r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 TFLAGS="$(STAGE3_TFLAGS)"; \
3274 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3275 $(HOST_EXPORTS) \
3276 $(POSTSTAGE1_HOST_EXPORTS) \
3277 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3278 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3279 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3280 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3282 cd $(HOST_SUBDIR)/bfd || exit 1; \
3283 case $(srcdir) in \
3284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3285 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3287 esac; \
3288 module_srcdir=bfd; \
3289 $(SHELL) $$s/$$module_srcdir/configure \
3290 --srcdir=$${topdir}/$$module_srcdir \
3291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3292 --target=${target_alias} \
3293 --with-build-libsubdir=$(HOST_SUBDIR) \
3294 $(STAGE3_CONFIGURE_FLAGS)
3295 @endif bfd-bootstrap
3297 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3298 maybe-configure-stage4-bfd:
3299 @if bfd-bootstrap
3300 maybe-configure-stage4-bfd: configure-stage4-bfd
3301 configure-stage4-bfd:
3302 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3304 @r=`${PWD_COMMAND}`; export r; \
3305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3306 TFLAGS="$(STAGE4_TFLAGS)"; \
3307 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3308 $(HOST_EXPORTS) \
3309 $(POSTSTAGE1_HOST_EXPORTS) \
3310 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3311 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3312 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3313 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3315 cd $(HOST_SUBDIR)/bfd || exit 1; \
3316 case $(srcdir) in \
3317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3318 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3320 esac; \
3321 module_srcdir=bfd; \
3322 $(SHELL) $$s/$$module_srcdir/configure \
3323 --srcdir=$${topdir}/$$module_srcdir \
3324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3325 --target=${target_alias} \
3326 --with-build-libsubdir=$(HOST_SUBDIR) \
3327 $(STAGE4_CONFIGURE_FLAGS)
3328 @endif bfd-bootstrap
3330 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3331 maybe-configure-stageprofile-bfd:
3332 @if bfd-bootstrap
3333 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3334 configure-stageprofile-bfd:
3335 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3337 @r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3340 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3341 $(HOST_EXPORTS) \
3342 $(POSTSTAGE1_HOST_EXPORTS) \
3343 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3344 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3345 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3346 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3348 cd $(HOST_SUBDIR)/bfd || exit 1; \
3349 case $(srcdir) in \
3350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3351 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3353 esac; \
3354 module_srcdir=bfd; \
3355 $(SHELL) $$s/$$module_srcdir/configure \
3356 --srcdir=$${topdir}/$$module_srcdir \
3357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3358 --target=${target_alias} \
3359 --with-build-libsubdir=$(HOST_SUBDIR) \
3360 $(STAGEprofile_CONFIGURE_FLAGS)
3361 @endif bfd-bootstrap
3363 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3364 maybe-configure-stagefeedback-bfd:
3365 @if bfd-bootstrap
3366 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3367 configure-stagefeedback-bfd:
3368 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3370 @r=`${PWD_COMMAND}`; export r; \
3371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3372 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3373 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3374 $(HOST_EXPORTS) \
3375 $(POSTSTAGE1_HOST_EXPORTS) \
3376 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3377 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3378 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3379 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3381 cd $(HOST_SUBDIR)/bfd || exit 1; \
3382 case $(srcdir) in \
3383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3384 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3386 esac; \
3387 module_srcdir=bfd; \
3388 $(SHELL) $$s/$$module_srcdir/configure \
3389 --srcdir=$${topdir}/$$module_srcdir \
3390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3391 --target=${target_alias} \
3392 --with-build-libsubdir=$(HOST_SUBDIR) \
3393 $(STAGEfeedback_CONFIGURE_FLAGS)
3394 @endif bfd-bootstrap
3400 .PHONY: all-bfd maybe-all-bfd
3401 maybe-all-bfd:
3402 @if gcc-bootstrap
3403 all-bfd: stage_current
3404 @endif gcc-bootstrap
3405 @if bfd
3406 TARGET-bfd=all
3407 maybe-all-bfd: all-bfd
3408 all-bfd: configure-bfd
3409 @r=`${PWD_COMMAND}`; export r; \
3410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3411 $(HOST_EXPORTS) \
3412 (cd $(HOST_SUBDIR)/bfd && \
3413 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3414 $(TARGET-bfd))
3415 @endif bfd
3419 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3420 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3421 maybe-all-stage1-bfd:
3422 maybe-clean-stage1-bfd:
3423 @if bfd-bootstrap
3424 maybe-all-stage1-bfd: all-stage1-bfd
3425 all-stage1: all-stage1-bfd
3426 TARGET-stage1-bfd = $(TARGET-bfd)
3427 all-stage1-bfd: configure-stage1-bfd
3428 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3429 @r=`${PWD_COMMAND}`; export r; \
3430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3431 TFLAGS="$(STAGE1_TFLAGS)"; \
3432 $(HOST_EXPORTS) \
3433 cd $(HOST_SUBDIR)/bfd && \
3434 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3435 CFLAGS="$(STAGE1_CFLAGS)" \
3436 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3437 LIBCFLAGS="$(LIBCFLAGS)" \
3438 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3439 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3440 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3441 $(EXTRA_HOST_FLAGS) \
3442 $(STAGE1_FLAGS_TO_PASS) \
3443 TFLAGS="$(STAGE1_TFLAGS)" \
3444 $(TARGET-stage1-bfd)
3446 maybe-clean-stage1-bfd: clean-stage1-bfd
3447 clean-stage1: clean-stage1-bfd
3448 clean-stage1-bfd:
3449 @if [ $(current_stage) = stage1 ]; then \
3450 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3451 else \
3452 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3453 $(MAKE) stage1-start; \
3454 fi; \
3455 cd $(HOST_SUBDIR)/bfd && \
3456 $(MAKE) $(EXTRA_HOST_FLAGS) \
3457 $(STAGE1_FLAGS_TO_PASS) clean
3458 @endif bfd-bootstrap
3461 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3462 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3463 maybe-all-stage2-bfd:
3464 maybe-clean-stage2-bfd:
3465 @if bfd-bootstrap
3466 maybe-all-stage2-bfd: all-stage2-bfd
3467 all-stage2: all-stage2-bfd
3468 TARGET-stage2-bfd = $(TARGET-bfd)
3469 all-stage2-bfd: configure-stage2-bfd
3470 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3471 @r=`${PWD_COMMAND}`; export r; \
3472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3473 TFLAGS="$(STAGE2_TFLAGS)"; \
3474 $(HOST_EXPORTS) \
3475 $(POSTSTAGE1_HOST_EXPORTS) \
3476 cd $(HOST_SUBDIR)/bfd && \
3477 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3478 CFLAGS="$(STAGE2_CFLAGS)" \
3479 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3480 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3481 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3482 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3483 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3484 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3485 TFLAGS="$(STAGE2_TFLAGS)" \
3486 $(TARGET-stage2-bfd)
3488 maybe-clean-stage2-bfd: clean-stage2-bfd
3489 clean-stage2: clean-stage2-bfd
3490 clean-stage2-bfd:
3491 @if [ $(current_stage) = stage2 ]; then \
3492 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3493 else \
3494 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3495 $(MAKE) stage2-start; \
3496 fi; \
3497 cd $(HOST_SUBDIR)/bfd && \
3498 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3499 @endif bfd-bootstrap
3502 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3503 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3504 maybe-all-stage3-bfd:
3505 maybe-clean-stage3-bfd:
3506 @if bfd-bootstrap
3507 maybe-all-stage3-bfd: all-stage3-bfd
3508 all-stage3: all-stage3-bfd
3509 TARGET-stage3-bfd = $(TARGET-bfd)
3510 all-stage3-bfd: configure-stage3-bfd
3511 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3512 @r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 TFLAGS="$(STAGE3_TFLAGS)"; \
3515 $(HOST_EXPORTS) \
3516 $(POSTSTAGE1_HOST_EXPORTS) \
3517 cd $(HOST_SUBDIR)/bfd && \
3518 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3519 CFLAGS="$(STAGE3_CFLAGS)" \
3520 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3521 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3522 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3523 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3524 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3525 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3526 TFLAGS="$(STAGE3_TFLAGS)" \
3527 $(TARGET-stage3-bfd)
3529 maybe-clean-stage3-bfd: clean-stage3-bfd
3530 clean-stage3: clean-stage3-bfd
3531 clean-stage3-bfd:
3532 @if [ $(current_stage) = stage3 ]; then \
3533 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3534 else \
3535 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3536 $(MAKE) stage3-start; \
3537 fi; \
3538 cd $(HOST_SUBDIR)/bfd && \
3539 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3540 @endif bfd-bootstrap
3543 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3544 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3545 maybe-all-stage4-bfd:
3546 maybe-clean-stage4-bfd:
3547 @if bfd-bootstrap
3548 maybe-all-stage4-bfd: all-stage4-bfd
3549 all-stage4: all-stage4-bfd
3550 TARGET-stage4-bfd = $(TARGET-bfd)
3551 all-stage4-bfd: configure-stage4-bfd
3552 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3553 @r=`${PWD_COMMAND}`; export r; \
3554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3555 TFLAGS="$(STAGE4_TFLAGS)"; \
3556 $(HOST_EXPORTS) \
3557 $(POSTSTAGE1_HOST_EXPORTS) \
3558 cd $(HOST_SUBDIR)/bfd && \
3559 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3560 CFLAGS="$(STAGE4_CFLAGS)" \
3561 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3562 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3563 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3566 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3567 TFLAGS="$(STAGE4_TFLAGS)" \
3568 $(TARGET-stage4-bfd)
3570 maybe-clean-stage4-bfd: clean-stage4-bfd
3571 clean-stage4: clean-stage4-bfd
3572 clean-stage4-bfd:
3573 @if [ $(current_stage) = stage4 ]; then \
3574 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3575 else \
3576 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3577 $(MAKE) stage4-start; \
3578 fi; \
3579 cd $(HOST_SUBDIR)/bfd && \
3580 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3581 @endif bfd-bootstrap
3584 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3585 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3586 maybe-all-stageprofile-bfd:
3587 maybe-clean-stageprofile-bfd:
3588 @if bfd-bootstrap
3589 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3590 all-stageprofile: all-stageprofile-bfd
3591 TARGET-stageprofile-bfd = $(TARGET-bfd)
3592 all-stageprofile-bfd: configure-stageprofile-bfd
3593 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3594 @r=`${PWD_COMMAND}`; export r; \
3595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3596 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3597 $(HOST_EXPORTS) \
3598 $(POSTSTAGE1_HOST_EXPORTS) \
3599 cd $(HOST_SUBDIR)/bfd && \
3600 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3601 CFLAGS="$(STAGEprofile_CFLAGS)" \
3602 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3603 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3604 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3605 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3606 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3607 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3608 TFLAGS="$(STAGEprofile_TFLAGS)" \
3609 $(TARGET-stageprofile-bfd)
3611 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3612 clean-stageprofile: clean-stageprofile-bfd
3613 clean-stageprofile-bfd:
3614 @if [ $(current_stage) = stageprofile ]; then \
3615 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3616 else \
3617 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3618 $(MAKE) stageprofile-start; \
3619 fi; \
3620 cd $(HOST_SUBDIR)/bfd && \
3621 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3622 @endif bfd-bootstrap
3625 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3626 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3627 maybe-all-stagefeedback-bfd:
3628 maybe-clean-stagefeedback-bfd:
3629 @if bfd-bootstrap
3630 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3631 all-stagefeedback: all-stagefeedback-bfd
3632 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3633 all-stagefeedback-bfd: configure-stagefeedback-bfd
3634 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3635 @r=`${PWD_COMMAND}`; export r; \
3636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3637 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3638 $(HOST_EXPORTS) \
3639 $(POSTSTAGE1_HOST_EXPORTS) \
3640 cd $(HOST_SUBDIR)/bfd && \
3641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3642 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3643 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3644 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3649 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3650 $(TARGET-stagefeedback-bfd)
3652 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3653 clean-stagefeedback: clean-stagefeedback-bfd
3654 clean-stagefeedback-bfd:
3655 @if [ $(current_stage) = stagefeedback ]; then \
3656 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3657 else \
3658 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3659 $(MAKE) stagefeedback-start; \
3660 fi; \
3661 cd $(HOST_SUBDIR)/bfd && \
3662 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3663 @endif bfd-bootstrap
3669 .PHONY: check-bfd maybe-check-bfd
3670 maybe-check-bfd:
3671 @if bfd
3672 maybe-check-bfd: check-bfd
3674 check-bfd:
3675 @: $(MAKE); $(unstage)
3676 @r=`${PWD_COMMAND}`; export r; \
3677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3679 (cd $(HOST_SUBDIR)/bfd && \
3680 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3682 @endif bfd
3684 .PHONY: install-bfd maybe-install-bfd
3685 maybe-install-bfd:
3686 @if bfd
3687 maybe-install-bfd: install-bfd
3689 install-bfd: installdirs
3690 @: $(MAKE); $(unstage)
3691 @r=`${PWD_COMMAND}`; export r; \
3692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3693 $(HOST_EXPORTS) \
3694 (cd $(HOST_SUBDIR)/bfd && \
3695 $(MAKE) $(FLAGS_TO_PASS) install)
3697 @endif bfd
3699 .PHONY: install-strip-bfd maybe-install-strip-bfd
3700 maybe-install-strip-bfd:
3701 @if bfd
3702 maybe-install-strip-bfd: install-strip-bfd
3704 install-strip-bfd: installdirs
3705 @: $(MAKE); $(unstage)
3706 @r=`${PWD_COMMAND}`; export r; \
3707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3708 $(HOST_EXPORTS) \
3709 (cd $(HOST_SUBDIR)/bfd && \
3710 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3712 @endif bfd
3714 # Other targets (info, dvi, pdf, etc.)
3716 .PHONY: maybe-info-bfd info-bfd
3717 maybe-info-bfd:
3718 @if bfd
3719 maybe-info-bfd: info-bfd
3721 info-bfd: \
3722 configure-bfd
3723 @[ -f ./bfd/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(HOST_EXPORTS) \
3727 for flag in $(EXTRA_HOST_FLAGS) ; do \
3728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3729 done; \
3730 echo "Doing info in bfd"; \
3731 (cd $(HOST_SUBDIR)/bfd && \
3732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3734 "RANLIB=$${RANLIB}" \
3735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3736 info) \
3737 || exit 1
3739 @endif bfd
3741 .PHONY: maybe-dvi-bfd dvi-bfd
3742 maybe-dvi-bfd:
3743 @if bfd
3744 maybe-dvi-bfd: dvi-bfd
3746 dvi-bfd: \
3747 configure-bfd
3748 @[ -f ./bfd/Makefile ] || exit 0; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3751 $(HOST_EXPORTS) \
3752 for flag in $(EXTRA_HOST_FLAGS) ; do \
3753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3754 done; \
3755 echo "Doing dvi in bfd"; \
3756 (cd $(HOST_SUBDIR)/bfd && \
3757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3759 "RANLIB=$${RANLIB}" \
3760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3761 dvi) \
3762 || exit 1
3764 @endif bfd
3766 .PHONY: maybe-pdf-bfd pdf-bfd
3767 maybe-pdf-bfd:
3768 @if bfd
3769 maybe-pdf-bfd: pdf-bfd
3771 pdf-bfd: \
3772 configure-bfd
3773 @[ -f ./bfd/Makefile ] || exit 0; \
3774 r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 $(HOST_EXPORTS) \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 done; \
3780 echo "Doing pdf in bfd"; \
3781 (cd $(HOST_SUBDIR)/bfd && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3786 pdf) \
3787 || exit 1
3789 @endif bfd
3791 .PHONY: maybe-html-bfd html-bfd
3792 maybe-html-bfd:
3793 @if bfd
3794 maybe-html-bfd: html-bfd
3796 html-bfd: \
3797 configure-bfd
3798 @[ -f ./bfd/Makefile ] || exit 0; \
3799 r=`${PWD_COMMAND}`; export r; \
3800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3801 $(HOST_EXPORTS) \
3802 for flag in $(EXTRA_HOST_FLAGS) ; do \
3803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3804 done; \
3805 echo "Doing html in bfd"; \
3806 (cd $(HOST_SUBDIR)/bfd && \
3807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3809 "RANLIB=$${RANLIB}" \
3810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3811 html) \
3812 || exit 1
3814 @endif bfd
3816 .PHONY: maybe-TAGS-bfd TAGS-bfd
3817 maybe-TAGS-bfd:
3818 @if bfd
3819 maybe-TAGS-bfd: TAGS-bfd
3821 TAGS-bfd: \
3822 configure-bfd
3823 @[ -f ./bfd/Makefile ] || exit 0; \
3824 r=`${PWD_COMMAND}`; export r; \
3825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 $(HOST_EXPORTS) \
3827 for flag in $(EXTRA_HOST_FLAGS) ; do \
3828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3829 done; \
3830 echo "Doing TAGS in bfd"; \
3831 (cd $(HOST_SUBDIR)/bfd && \
3832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3834 "RANLIB=$${RANLIB}" \
3835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3836 TAGS) \
3837 || exit 1
3839 @endif bfd
3841 .PHONY: maybe-install-info-bfd install-info-bfd
3842 maybe-install-info-bfd:
3843 @if bfd
3844 maybe-install-info-bfd: install-info-bfd
3846 install-info-bfd: \
3847 configure-bfd \
3848 info-bfd
3849 @[ -f ./bfd/Makefile ] || exit 0; \
3850 r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852 $(HOST_EXPORTS) \
3853 for flag in $(EXTRA_HOST_FLAGS) ; do \
3854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3855 done; \
3856 echo "Doing install-info in bfd"; \
3857 (cd $(HOST_SUBDIR)/bfd && \
3858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3860 "RANLIB=$${RANLIB}" \
3861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3862 install-info) \
3863 || exit 1
3865 @endif bfd
3867 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3868 maybe-install-pdf-bfd:
3869 @if bfd
3870 maybe-install-pdf-bfd: install-pdf-bfd
3872 install-pdf-bfd: \
3873 configure-bfd \
3874 pdf-bfd
3875 @[ -f ./bfd/Makefile ] || exit 0; \
3876 r=`${PWD_COMMAND}`; export r; \
3877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3878 $(HOST_EXPORTS) \
3879 for flag in $(EXTRA_HOST_FLAGS) ; do \
3880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3881 done; \
3882 echo "Doing install-pdf in bfd"; \
3883 (cd $(HOST_SUBDIR)/bfd && \
3884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3886 "RANLIB=$${RANLIB}" \
3887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3888 install-pdf) \
3889 || exit 1
3891 @endif bfd
3893 .PHONY: maybe-install-html-bfd install-html-bfd
3894 maybe-install-html-bfd:
3895 @if bfd
3896 maybe-install-html-bfd: install-html-bfd
3898 install-html-bfd: \
3899 configure-bfd \
3900 html-bfd
3901 @[ -f ./bfd/Makefile ] || exit 0; \
3902 r=`${PWD_COMMAND}`; export r; \
3903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3904 $(HOST_EXPORTS) \
3905 for flag in $(EXTRA_HOST_FLAGS) ; do \
3906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3907 done; \
3908 echo "Doing install-html in bfd"; \
3909 (cd $(HOST_SUBDIR)/bfd && \
3910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3912 "RANLIB=$${RANLIB}" \
3913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3914 install-html) \
3915 || exit 1
3917 @endif bfd
3919 .PHONY: maybe-installcheck-bfd installcheck-bfd
3920 maybe-installcheck-bfd:
3921 @if bfd
3922 maybe-installcheck-bfd: installcheck-bfd
3924 installcheck-bfd: \
3925 configure-bfd
3926 @[ -f ./bfd/Makefile ] || exit 0; \
3927 r=`${PWD_COMMAND}`; export r; \
3928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3929 $(HOST_EXPORTS) \
3930 for flag in $(EXTRA_HOST_FLAGS) ; do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3932 done; \
3933 echo "Doing installcheck in bfd"; \
3934 (cd $(HOST_SUBDIR)/bfd && \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3939 installcheck) \
3940 || exit 1
3942 @endif bfd
3944 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3945 maybe-mostlyclean-bfd:
3946 @if bfd
3947 maybe-mostlyclean-bfd: mostlyclean-bfd
3949 mostlyclean-bfd:
3950 @[ -f ./bfd/Makefile ] || exit 0; \
3951 r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 $(HOST_EXPORTS) \
3954 for flag in $(EXTRA_HOST_FLAGS) ; do \
3955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3956 done; \
3957 echo "Doing mostlyclean in bfd"; \
3958 (cd $(HOST_SUBDIR)/bfd && \
3959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3961 "RANLIB=$${RANLIB}" \
3962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3963 mostlyclean) \
3964 || exit 1
3966 @endif bfd
3968 .PHONY: maybe-clean-bfd clean-bfd
3969 maybe-clean-bfd:
3970 @if bfd
3971 maybe-clean-bfd: clean-bfd
3973 clean-bfd:
3974 @[ -f ./bfd/Makefile ] || exit 0; \
3975 r=`${PWD_COMMAND}`; export r; \
3976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3977 $(HOST_EXPORTS) \
3978 for flag in $(EXTRA_HOST_FLAGS) ; do \
3979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3980 done; \
3981 echo "Doing clean in bfd"; \
3982 (cd $(HOST_SUBDIR)/bfd && \
3983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3985 "RANLIB=$${RANLIB}" \
3986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3987 clean) \
3988 || exit 1
3990 @endif bfd
3992 .PHONY: maybe-distclean-bfd distclean-bfd
3993 maybe-distclean-bfd:
3994 @if bfd
3995 maybe-distclean-bfd: distclean-bfd
3997 distclean-bfd:
3998 @[ -f ./bfd/Makefile ] || exit 0; \
3999 r=`${PWD_COMMAND}`; export r; \
4000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4001 $(HOST_EXPORTS) \
4002 for flag in $(EXTRA_HOST_FLAGS) ; do \
4003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4004 done; \
4005 echo "Doing distclean in bfd"; \
4006 (cd $(HOST_SUBDIR)/bfd && \
4007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4009 "RANLIB=$${RANLIB}" \
4010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4011 distclean) \
4012 || exit 1
4014 @endif bfd
4016 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4017 maybe-maintainer-clean-bfd:
4018 @if bfd
4019 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4021 maintainer-clean-bfd:
4022 @[ -f ./bfd/Makefile ] || exit 0; \
4023 r=`${PWD_COMMAND}`; export r; \
4024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4025 $(HOST_EXPORTS) \
4026 for flag in $(EXTRA_HOST_FLAGS) ; do \
4027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4028 done; \
4029 echo "Doing maintainer-clean in bfd"; \
4030 (cd $(HOST_SUBDIR)/bfd && \
4031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4033 "RANLIB=$${RANLIB}" \
4034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4035 maintainer-clean) \
4036 || exit 1
4038 @endif bfd
4042 .PHONY: configure-opcodes maybe-configure-opcodes
4043 maybe-configure-opcodes:
4044 @if gcc-bootstrap
4045 configure-opcodes: stage_current
4046 @endif gcc-bootstrap
4047 @if opcodes
4048 maybe-configure-opcodes: configure-opcodes
4049 configure-opcodes:
4050 @r=`${PWD_COMMAND}`; export r; \
4051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4052 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4054 $(HOST_EXPORTS) \
4055 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4056 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4057 case $(srcdir) in \
4058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4059 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4061 esac; \
4062 module_srcdir=opcodes; \
4063 $(SHELL) \
4064 $$s/$$module_srcdir/configure \
4065 --srcdir=$${topdir}/$$module_srcdir \
4066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4067 --target=${target_alias} \
4068 || exit 1
4069 @endif opcodes
4073 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4074 maybe-configure-stage1-opcodes:
4075 @if opcodes-bootstrap
4076 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4077 configure-stage1-opcodes:
4078 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4080 @r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4082 TFLAGS="$(STAGE1_TFLAGS)"; \
4083 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4084 $(HOST_EXPORTS) \
4085 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4086 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4087 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4088 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4090 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4091 case $(srcdir) in \
4092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4093 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4095 esac; \
4096 module_srcdir=opcodes; \
4097 $(SHELL) $$s/$$module_srcdir/configure \
4098 --srcdir=$${topdir}/$$module_srcdir \
4099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4100 --target=${target_alias} \
4102 $(STAGE1_CONFIGURE_FLAGS)
4103 @endif opcodes-bootstrap
4105 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4106 maybe-configure-stage2-opcodes:
4107 @if opcodes-bootstrap
4108 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4109 configure-stage2-opcodes:
4110 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4112 @r=`${PWD_COMMAND}`; export r; \
4113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4114 TFLAGS="$(STAGE2_TFLAGS)"; \
4115 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4116 $(HOST_EXPORTS) \
4117 $(POSTSTAGE1_HOST_EXPORTS) \
4118 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4119 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4120 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4121 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4123 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4124 case $(srcdir) in \
4125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4126 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4128 esac; \
4129 module_srcdir=opcodes; \
4130 $(SHELL) $$s/$$module_srcdir/configure \
4131 --srcdir=$${topdir}/$$module_srcdir \
4132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4133 --target=${target_alias} \
4134 --with-build-libsubdir=$(HOST_SUBDIR) \
4135 $(STAGE2_CONFIGURE_FLAGS)
4136 @endif opcodes-bootstrap
4138 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4139 maybe-configure-stage3-opcodes:
4140 @if opcodes-bootstrap
4141 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4142 configure-stage3-opcodes:
4143 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4145 @r=`${PWD_COMMAND}`; export r; \
4146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4147 TFLAGS="$(STAGE3_TFLAGS)"; \
4148 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4149 $(HOST_EXPORTS) \
4150 $(POSTSTAGE1_HOST_EXPORTS) \
4151 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4152 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4153 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4154 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4156 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4157 case $(srcdir) in \
4158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4159 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4161 esac; \
4162 module_srcdir=opcodes; \
4163 $(SHELL) $$s/$$module_srcdir/configure \
4164 --srcdir=$${topdir}/$$module_srcdir \
4165 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4166 --target=${target_alias} \
4167 --with-build-libsubdir=$(HOST_SUBDIR) \
4168 $(STAGE3_CONFIGURE_FLAGS)
4169 @endif opcodes-bootstrap
4171 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4172 maybe-configure-stage4-opcodes:
4173 @if opcodes-bootstrap
4174 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4175 configure-stage4-opcodes:
4176 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4178 @r=`${PWD_COMMAND}`; export r; \
4179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4180 TFLAGS="$(STAGE4_TFLAGS)"; \
4181 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4182 $(HOST_EXPORTS) \
4183 $(POSTSTAGE1_HOST_EXPORTS) \
4184 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4185 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4186 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4187 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4189 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4190 case $(srcdir) in \
4191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4192 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4194 esac; \
4195 module_srcdir=opcodes; \
4196 $(SHELL) $$s/$$module_srcdir/configure \
4197 --srcdir=$${topdir}/$$module_srcdir \
4198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4199 --target=${target_alias} \
4200 --with-build-libsubdir=$(HOST_SUBDIR) \
4201 $(STAGE4_CONFIGURE_FLAGS)
4202 @endif opcodes-bootstrap
4204 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4205 maybe-configure-stageprofile-opcodes:
4206 @if opcodes-bootstrap
4207 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4208 configure-stageprofile-opcodes:
4209 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4211 @r=`${PWD_COMMAND}`; export r; \
4212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4213 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4214 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4215 $(HOST_EXPORTS) \
4216 $(POSTSTAGE1_HOST_EXPORTS) \
4217 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4218 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4219 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4220 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4222 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4223 case $(srcdir) in \
4224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4225 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4227 esac; \
4228 module_srcdir=opcodes; \
4229 $(SHELL) $$s/$$module_srcdir/configure \
4230 --srcdir=$${topdir}/$$module_srcdir \
4231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4232 --target=${target_alias} \
4233 --with-build-libsubdir=$(HOST_SUBDIR) \
4234 $(STAGEprofile_CONFIGURE_FLAGS)
4235 @endif opcodes-bootstrap
4237 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4238 maybe-configure-stagefeedback-opcodes:
4239 @if opcodes-bootstrap
4240 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4241 configure-stagefeedback-opcodes:
4242 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4243 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4244 @r=`${PWD_COMMAND}`; export r; \
4245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4246 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4247 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4248 $(HOST_EXPORTS) \
4249 $(POSTSTAGE1_HOST_EXPORTS) \
4250 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4251 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4252 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4253 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4255 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4256 case $(srcdir) in \
4257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4258 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4260 esac; \
4261 module_srcdir=opcodes; \
4262 $(SHELL) $$s/$$module_srcdir/configure \
4263 --srcdir=$${topdir}/$$module_srcdir \
4264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4265 --target=${target_alias} \
4266 --with-build-libsubdir=$(HOST_SUBDIR) \
4267 $(STAGEfeedback_CONFIGURE_FLAGS)
4268 @endif opcodes-bootstrap
4274 .PHONY: all-opcodes maybe-all-opcodes
4275 maybe-all-opcodes:
4276 @if gcc-bootstrap
4277 all-opcodes: stage_current
4278 @endif gcc-bootstrap
4279 @if opcodes
4280 TARGET-opcodes=all
4281 maybe-all-opcodes: all-opcodes
4282 all-opcodes: configure-opcodes
4283 @r=`${PWD_COMMAND}`; export r; \
4284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4285 $(HOST_EXPORTS) \
4286 (cd $(HOST_SUBDIR)/opcodes && \
4287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4288 $(TARGET-opcodes))
4289 @endif opcodes
4293 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4294 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4295 maybe-all-stage1-opcodes:
4296 maybe-clean-stage1-opcodes:
4297 @if opcodes-bootstrap
4298 maybe-all-stage1-opcodes: all-stage1-opcodes
4299 all-stage1: all-stage1-opcodes
4300 TARGET-stage1-opcodes = $(TARGET-opcodes)
4301 all-stage1-opcodes: configure-stage1-opcodes
4302 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4303 @r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4305 TFLAGS="$(STAGE1_TFLAGS)"; \
4306 $(HOST_EXPORTS) \
4307 cd $(HOST_SUBDIR)/opcodes && \
4308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4309 CFLAGS="$(STAGE1_CFLAGS)" \
4310 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4311 LIBCFLAGS="$(LIBCFLAGS)" \
4312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4315 $(EXTRA_HOST_FLAGS) \
4316 $(STAGE1_FLAGS_TO_PASS) \
4317 TFLAGS="$(STAGE1_TFLAGS)" \
4318 $(TARGET-stage1-opcodes)
4320 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4321 clean-stage1: clean-stage1-opcodes
4322 clean-stage1-opcodes:
4323 @if [ $(current_stage) = stage1 ]; then \
4324 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4325 else \
4326 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4327 $(MAKE) stage1-start; \
4328 fi; \
4329 cd $(HOST_SUBDIR)/opcodes && \
4330 $(MAKE) $(EXTRA_HOST_FLAGS) \
4331 $(STAGE1_FLAGS_TO_PASS) clean
4332 @endif opcodes-bootstrap
4335 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4336 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4337 maybe-all-stage2-opcodes:
4338 maybe-clean-stage2-opcodes:
4339 @if opcodes-bootstrap
4340 maybe-all-stage2-opcodes: all-stage2-opcodes
4341 all-stage2: all-stage2-opcodes
4342 TARGET-stage2-opcodes = $(TARGET-opcodes)
4343 all-stage2-opcodes: configure-stage2-opcodes
4344 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4345 @r=`${PWD_COMMAND}`; export r; \
4346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4347 TFLAGS="$(STAGE2_TFLAGS)"; \
4348 $(HOST_EXPORTS) \
4349 $(POSTSTAGE1_HOST_EXPORTS) \
4350 cd $(HOST_SUBDIR)/opcodes && \
4351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4352 CFLAGS="$(STAGE2_CFLAGS)" \
4353 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4354 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4359 TFLAGS="$(STAGE2_TFLAGS)" \
4360 $(TARGET-stage2-opcodes)
4362 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4363 clean-stage2: clean-stage2-opcodes
4364 clean-stage2-opcodes:
4365 @if [ $(current_stage) = stage2 ]; then \
4366 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4367 else \
4368 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4369 $(MAKE) stage2-start; \
4370 fi; \
4371 cd $(HOST_SUBDIR)/opcodes && \
4372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4373 @endif opcodes-bootstrap
4376 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4377 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4378 maybe-all-stage3-opcodes:
4379 maybe-clean-stage3-opcodes:
4380 @if opcodes-bootstrap
4381 maybe-all-stage3-opcodes: all-stage3-opcodes
4382 all-stage3: all-stage3-opcodes
4383 TARGET-stage3-opcodes = $(TARGET-opcodes)
4384 all-stage3-opcodes: configure-stage3-opcodes
4385 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4386 @r=`${PWD_COMMAND}`; export r; \
4387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4388 TFLAGS="$(STAGE3_TFLAGS)"; \
4389 $(HOST_EXPORTS) \
4390 $(POSTSTAGE1_HOST_EXPORTS) \
4391 cd $(HOST_SUBDIR)/opcodes && \
4392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4393 CFLAGS="$(STAGE3_CFLAGS)" \
4394 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4395 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4400 TFLAGS="$(STAGE3_TFLAGS)" \
4401 $(TARGET-stage3-opcodes)
4403 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4404 clean-stage3: clean-stage3-opcodes
4405 clean-stage3-opcodes:
4406 @if [ $(current_stage) = stage3 ]; then \
4407 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4408 else \
4409 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4410 $(MAKE) stage3-start; \
4411 fi; \
4412 cd $(HOST_SUBDIR)/opcodes && \
4413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4414 @endif opcodes-bootstrap
4417 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4418 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4419 maybe-all-stage4-opcodes:
4420 maybe-clean-stage4-opcodes:
4421 @if opcodes-bootstrap
4422 maybe-all-stage4-opcodes: all-stage4-opcodes
4423 all-stage4: all-stage4-opcodes
4424 TARGET-stage4-opcodes = $(TARGET-opcodes)
4425 all-stage4-opcodes: configure-stage4-opcodes
4426 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4427 @r=`${PWD_COMMAND}`; export r; \
4428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4429 TFLAGS="$(STAGE4_TFLAGS)"; \
4430 $(HOST_EXPORTS) \
4431 $(POSTSTAGE1_HOST_EXPORTS) \
4432 cd $(HOST_SUBDIR)/opcodes && \
4433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4434 CFLAGS="$(STAGE4_CFLAGS)" \
4435 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4436 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4441 TFLAGS="$(STAGE4_TFLAGS)" \
4442 $(TARGET-stage4-opcodes)
4444 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4445 clean-stage4: clean-stage4-opcodes
4446 clean-stage4-opcodes:
4447 @if [ $(current_stage) = stage4 ]; then \
4448 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4449 else \
4450 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4451 $(MAKE) stage4-start; \
4452 fi; \
4453 cd $(HOST_SUBDIR)/opcodes && \
4454 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4455 @endif opcodes-bootstrap
4458 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4459 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4460 maybe-all-stageprofile-opcodes:
4461 maybe-clean-stageprofile-opcodes:
4462 @if opcodes-bootstrap
4463 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4464 all-stageprofile: all-stageprofile-opcodes
4465 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4466 all-stageprofile-opcodes: configure-stageprofile-opcodes
4467 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4468 @r=`${PWD_COMMAND}`; export r; \
4469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4470 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4471 $(HOST_EXPORTS) \
4472 $(POSTSTAGE1_HOST_EXPORTS) \
4473 cd $(HOST_SUBDIR)/opcodes && \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4475 CFLAGS="$(STAGEprofile_CFLAGS)" \
4476 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4477 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4482 TFLAGS="$(STAGEprofile_TFLAGS)" \
4483 $(TARGET-stageprofile-opcodes)
4485 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4486 clean-stageprofile: clean-stageprofile-opcodes
4487 clean-stageprofile-opcodes:
4488 @if [ $(current_stage) = stageprofile ]; then \
4489 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4490 else \
4491 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4492 $(MAKE) stageprofile-start; \
4493 fi; \
4494 cd $(HOST_SUBDIR)/opcodes && \
4495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4496 @endif opcodes-bootstrap
4499 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4500 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4501 maybe-all-stagefeedback-opcodes:
4502 maybe-clean-stagefeedback-opcodes:
4503 @if opcodes-bootstrap
4504 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4505 all-stagefeedback: all-stagefeedback-opcodes
4506 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4507 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4508 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4509 @r=`${PWD_COMMAND}`; export r; \
4510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4511 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4512 $(HOST_EXPORTS) \
4513 $(POSTSTAGE1_HOST_EXPORTS) \
4514 cd $(HOST_SUBDIR)/opcodes && \
4515 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4516 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4517 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4518 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4519 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4522 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4523 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4524 $(TARGET-stagefeedback-opcodes)
4526 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4527 clean-stagefeedback: clean-stagefeedback-opcodes
4528 clean-stagefeedback-opcodes:
4529 @if [ $(current_stage) = stagefeedback ]; then \
4530 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4531 else \
4532 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4533 $(MAKE) stagefeedback-start; \
4534 fi; \
4535 cd $(HOST_SUBDIR)/opcodes && \
4536 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4537 @endif opcodes-bootstrap
4543 .PHONY: check-opcodes maybe-check-opcodes
4544 maybe-check-opcodes:
4545 @if opcodes
4546 maybe-check-opcodes: check-opcodes
4548 check-opcodes:
4549 @: $(MAKE); $(unstage)
4550 @r=`${PWD_COMMAND}`; export r; \
4551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4552 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4553 (cd $(HOST_SUBDIR)/opcodes && \
4554 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4556 @endif opcodes
4558 .PHONY: install-opcodes maybe-install-opcodes
4559 maybe-install-opcodes:
4560 @if opcodes
4561 maybe-install-opcodes: install-opcodes
4563 install-opcodes: installdirs
4564 @: $(MAKE); $(unstage)
4565 @r=`${PWD_COMMAND}`; export r; \
4566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4567 $(HOST_EXPORTS) \
4568 (cd $(HOST_SUBDIR)/opcodes && \
4569 $(MAKE) $(FLAGS_TO_PASS) install)
4571 @endif opcodes
4573 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4574 maybe-install-strip-opcodes:
4575 @if opcodes
4576 maybe-install-strip-opcodes: install-strip-opcodes
4578 install-strip-opcodes: installdirs
4579 @: $(MAKE); $(unstage)
4580 @r=`${PWD_COMMAND}`; export r; \
4581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4582 $(HOST_EXPORTS) \
4583 (cd $(HOST_SUBDIR)/opcodes && \
4584 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4586 @endif opcodes
4588 # Other targets (info, dvi, pdf, etc.)
4590 .PHONY: maybe-info-opcodes info-opcodes
4591 maybe-info-opcodes:
4592 @if opcodes
4593 maybe-info-opcodes: info-opcodes
4595 info-opcodes: \
4596 configure-opcodes
4597 @[ -f ./opcodes/Makefile ] || exit 0; \
4598 r=`${PWD_COMMAND}`; export r; \
4599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4600 $(HOST_EXPORTS) \
4601 for flag in $(EXTRA_HOST_FLAGS) ; do \
4602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4603 done; \
4604 echo "Doing info in opcodes"; \
4605 (cd $(HOST_SUBDIR)/opcodes && \
4606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4608 "RANLIB=$${RANLIB}" \
4609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4610 info) \
4611 || exit 1
4613 @endif opcodes
4615 .PHONY: maybe-dvi-opcodes dvi-opcodes
4616 maybe-dvi-opcodes:
4617 @if opcodes
4618 maybe-dvi-opcodes: dvi-opcodes
4620 dvi-opcodes: \
4621 configure-opcodes
4622 @[ -f ./opcodes/Makefile ] || exit 0; \
4623 r=`${PWD_COMMAND}`; export r; \
4624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4625 $(HOST_EXPORTS) \
4626 for flag in $(EXTRA_HOST_FLAGS) ; do \
4627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4628 done; \
4629 echo "Doing dvi in opcodes"; \
4630 (cd $(HOST_SUBDIR)/opcodes && \
4631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4633 "RANLIB=$${RANLIB}" \
4634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4635 dvi) \
4636 || exit 1
4638 @endif opcodes
4640 .PHONY: maybe-pdf-opcodes pdf-opcodes
4641 maybe-pdf-opcodes:
4642 @if opcodes
4643 maybe-pdf-opcodes: pdf-opcodes
4645 pdf-opcodes: \
4646 configure-opcodes
4647 @[ -f ./opcodes/Makefile ] || exit 0; \
4648 r=`${PWD_COMMAND}`; export r; \
4649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4650 $(HOST_EXPORTS) \
4651 for flag in $(EXTRA_HOST_FLAGS) ; do \
4652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4653 done; \
4654 echo "Doing pdf in opcodes"; \
4655 (cd $(HOST_SUBDIR)/opcodes && \
4656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4658 "RANLIB=$${RANLIB}" \
4659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4660 pdf) \
4661 || exit 1
4663 @endif opcodes
4665 .PHONY: maybe-html-opcodes html-opcodes
4666 maybe-html-opcodes:
4667 @if opcodes
4668 maybe-html-opcodes: html-opcodes
4670 html-opcodes: \
4671 configure-opcodes
4672 @[ -f ./opcodes/Makefile ] || exit 0; \
4673 r=`${PWD_COMMAND}`; export r; \
4674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4675 $(HOST_EXPORTS) \
4676 for flag in $(EXTRA_HOST_FLAGS) ; do \
4677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4678 done; \
4679 echo "Doing html in opcodes"; \
4680 (cd $(HOST_SUBDIR)/opcodes && \
4681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4683 "RANLIB=$${RANLIB}" \
4684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4685 html) \
4686 || exit 1
4688 @endif opcodes
4690 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4691 maybe-TAGS-opcodes:
4692 @if opcodes
4693 maybe-TAGS-opcodes: TAGS-opcodes
4695 TAGS-opcodes: \
4696 configure-opcodes
4697 @[ -f ./opcodes/Makefile ] || exit 0; \
4698 r=`${PWD_COMMAND}`; export r; \
4699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4700 $(HOST_EXPORTS) \
4701 for flag in $(EXTRA_HOST_FLAGS) ; do \
4702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4703 done; \
4704 echo "Doing TAGS in opcodes"; \
4705 (cd $(HOST_SUBDIR)/opcodes && \
4706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4708 "RANLIB=$${RANLIB}" \
4709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4710 TAGS) \
4711 || exit 1
4713 @endif opcodes
4715 .PHONY: maybe-install-info-opcodes install-info-opcodes
4716 maybe-install-info-opcodes:
4717 @if opcodes
4718 maybe-install-info-opcodes: install-info-opcodes
4720 install-info-opcodes: \
4721 configure-opcodes \
4722 info-opcodes
4723 @[ -f ./opcodes/Makefile ] || exit 0; \
4724 r=`${PWD_COMMAND}`; export r; \
4725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4726 $(HOST_EXPORTS) \
4727 for flag in $(EXTRA_HOST_FLAGS) ; do \
4728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4729 done; \
4730 echo "Doing install-info in opcodes"; \
4731 (cd $(HOST_SUBDIR)/opcodes && \
4732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4734 "RANLIB=$${RANLIB}" \
4735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4736 install-info) \
4737 || exit 1
4739 @endif opcodes
4741 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4742 maybe-install-pdf-opcodes:
4743 @if opcodes
4744 maybe-install-pdf-opcodes: install-pdf-opcodes
4746 install-pdf-opcodes: \
4747 configure-opcodes \
4748 pdf-opcodes
4749 @[ -f ./opcodes/Makefile ] || exit 0; \
4750 r=`${PWD_COMMAND}`; export r; \
4751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4752 $(HOST_EXPORTS) \
4753 for flag in $(EXTRA_HOST_FLAGS) ; do \
4754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4755 done; \
4756 echo "Doing install-pdf in opcodes"; \
4757 (cd $(HOST_SUBDIR)/opcodes && \
4758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4760 "RANLIB=$${RANLIB}" \
4761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4762 install-pdf) \
4763 || exit 1
4765 @endif opcodes
4767 .PHONY: maybe-install-html-opcodes install-html-opcodes
4768 maybe-install-html-opcodes:
4769 @if opcodes
4770 maybe-install-html-opcodes: install-html-opcodes
4772 install-html-opcodes: \
4773 configure-opcodes \
4774 html-opcodes
4775 @[ -f ./opcodes/Makefile ] || exit 0; \
4776 r=`${PWD_COMMAND}`; export r; \
4777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4778 $(HOST_EXPORTS) \
4779 for flag in $(EXTRA_HOST_FLAGS) ; do \
4780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4781 done; \
4782 echo "Doing install-html in opcodes"; \
4783 (cd $(HOST_SUBDIR)/opcodes && \
4784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4786 "RANLIB=$${RANLIB}" \
4787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4788 install-html) \
4789 || exit 1
4791 @endif opcodes
4793 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4794 maybe-installcheck-opcodes:
4795 @if opcodes
4796 maybe-installcheck-opcodes: installcheck-opcodes
4798 installcheck-opcodes: \
4799 configure-opcodes
4800 @[ -f ./opcodes/Makefile ] || exit 0; \
4801 r=`${PWD_COMMAND}`; export r; \
4802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4803 $(HOST_EXPORTS) \
4804 for flag in $(EXTRA_HOST_FLAGS) ; do \
4805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4806 done; \
4807 echo "Doing installcheck in opcodes"; \
4808 (cd $(HOST_SUBDIR)/opcodes && \
4809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4811 "RANLIB=$${RANLIB}" \
4812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4813 installcheck) \
4814 || exit 1
4816 @endif opcodes
4818 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4819 maybe-mostlyclean-opcodes:
4820 @if opcodes
4821 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4823 mostlyclean-opcodes:
4824 @[ -f ./opcodes/Makefile ] || exit 0; \
4825 r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 $(HOST_EXPORTS) \
4828 for flag in $(EXTRA_HOST_FLAGS) ; do \
4829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4830 done; \
4831 echo "Doing mostlyclean in opcodes"; \
4832 (cd $(HOST_SUBDIR)/opcodes && \
4833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4835 "RANLIB=$${RANLIB}" \
4836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4837 mostlyclean) \
4838 || exit 1
4840 @endif opcodes
4842 .PHONY: maybe-clean-opcodes clean-opcodes
4843 maybe-clean-opcodes:
4844 @if opcodes
4845 maybe-clean-opcodes: clean-opcodes
4847 clean-opcodes:
4848 @[ -f ./opcodes/Makefile ] || exit 0; \
4849 r=`${PWD_COMMAND}`; export r; \
4850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4851 $(HOST_EXPORTS) \
4852 for flag in $(EXTRA_HOST_FLAGS) ; do \
4853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4854 done; \
4855 echo "Doing clean in opcodes"; \
4856 (cd $(HOST_SUBDIR)/opcodes && \
4857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4859 "RANLIB=$${RANLIB}" \
4860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4861 clean) \
4862 || exit 1
4864 @endif opcodes
4866 .PHONY: maybe-distclean-opcodes distclean-opcodes
4867 maybe-distclean-opcodes:
4868 @if opcodes
4869 maybe-distclean-opcodes: distclean-opcodes
4871 distclean-opcodes:
4872 @[ -f ./opcodes/Makefile ] || exit 0; \
4873 r=`${PWD_COMMAND}`; export r; \
4874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4875 $(HOST_EXPORTS) \
4876 for flag in $(EXTRA_HOST_FLAGS) ; do \
4877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4878 done; \
4879 echo "Doing distclean in opcodes"; \
4880 (cd $(HOST_SUBDIR)/opcodes && \
4881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4883 "RANLIB=$${RANLIB}" \
4884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4885 distclean) \
4886 || exit 1
4888 @endif opcodes
4890 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4891 maybe-maintainer-clean-opcodes:
4892 @if opcodes
4893 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4895 maintainer-clean-opcodes:
4896 @[ -f ./opcodes/Makefile ] || exit 0; \
4897 r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 $(HOST_EXPORTS) \
4900 for flag in $(EXTRA_HOST_FLAGS) ; do \
4901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4902 done; \
4903 echo "Doing maintainer-clean in opcodes"; \
4904 (cd $(HOST_SUBDIR)/opcodes && \
4905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4907 "RANLIB=$${RANLIB}" \
4908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4909 maintainer-clean) \
4910 || exit 1
4912 @endif opcodes
4916 .PHONY: configure-binutils maybe-configure-binutils
4917 maybe-configure-binutils:
4918 @if gcc-bootstrap
4919 configure-binutils: stage_current
4920 @endif gcc-bootstrap
4921 @if binutils
4922 maybe-configure-binutils: configure-binutils
4923 configure-binutils:
4924 @r=`${PWD_COMMAND}`; export r; \
4925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4926 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
4928 $(HOST_EXPORTS) \
4929 echo Configuring in $(HOST_SUBDIR)/binutils; \
4930 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4931 case $(srcdir) in \
4932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4933 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4935 esac; \
4936 module_srcdir=binutils; \
4937 $(SHELL) \
4938 $$s/$$module_srcdir/configure \
4939 --srcdir=$${topdir}/$$module_srcdir \
4940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4941 --target=${target_alias} \
4942 || exit 1
4943 @endif binutils
4947 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4948 maybe-configure-stage1-binutils:
4949 @if binutils-bootstrap
4950 maybe-configure-stage1-binutils: configure-stage1-binutils
4951 configure-stage1-binutils:
4952 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4954 @r=`${PWD_COMMAND}`; export r; \
4955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4956 TFLAGS="$(STAGE1_TFLAGS)"; \
4957 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4958 $(HOST_EXPORTS) \
4959 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4960 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4961 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4962 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
4963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
4964 cd $(HOST_SUBDIR)/binutils || exit 1; \
4965 case $(srcdir) in \
4966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4967 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4969 esac; \
4970 module_srcdir=binutils; \
4971 $(SHELL) $$s/$$module_srcdir/configure \
4972 --srcdir=$${topdir}/$$module_srcdir \
4973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4974 --target=${target_alias} \
4976 $(STAGE1_CONFIGURE_FLAGS)
4977 @endif binutils-bootstrap
4979 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4980 maybe-configure-stage2-binutils:
4981 @if binutils-bootstrap
4982 maybe-configure-stage2-binutils: configure-stage2-binutils
4983 configure-stage2-binutils:
4984 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4986 @r=`${PWD_COMMAND}`; export r; \
4987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4988 TFLAGS="$(STAGE2_TFLAGS)"; \
4989 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4990 $(HOST_EXPORTS) \
4991 $(POSTSTAGE1_HOST_EXPORTS) \
4992 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4993 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4994 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4995 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
4996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
4997 cd $(HOST_SUBDIR)/binutils || exit 1; \
4998 case $(srcdir) in \
4999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5000 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5002 esac; \
5003 module_srcdir=binutils; \
5004 $(SHELL) $$s/$$module_srcdir/configure \
5005 --srcdir=$${topdir}/$$module_srcdir \
5006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5007 --target=${target_alias} \
5008 --with-build-libsubdir=$(HOST_SUBDIR) \
5009 $(STAGE2_CONFIGURE_FLAGS)
5010 @endif binutils-bootstrap
5012 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5013 maybe-configure-stage3-binutils:
5014 @if binutils-bootstrap
5015 maybe-configure-stage3-binutils: configure-stage3-binutils
5016 configure-stage3-binutils:
5017 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5019 @r=`${PWD_COMMAND}`; export r; \
5020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5021 TFLAGS="$(STAGE3_TFLAGS)"; \
5022 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5023 $(HOST_EXPORTS) \
5024 $(POSTSTAGE1_HOST_EXPORTS) \
5025 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5026 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5027 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5028 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5030 cd $(HOST_SUBDIR)/binutils || exit 1; \
5031 case $(srcdir) in \
5032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5033 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5035 esac; \
5036 module_srcdir=binutils; \
5037 $(SHELL) $$s/$$module_srcdir/configure \
5038 --srcdir=$${topdir}/$$module_srcdir \
5039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5040 --target=${target_alias} \
5041 --with-build-libsubdir=$(HOST_SUBDIR) \
5042 $(STAGE3_CONFIGURE_FLAGS)
5043 @endif binutils-bootstrap
5045 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5046 maybe-configure-stage4-binutils:
5047 @if binutils-bootstrap
5048 maybe-configure-stage4-binutils: configure-stage4-binutils
5049 configure-stage4-binutils:
5050 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5052 @r=`${PWD_COMMAND}`; export r; \
5053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5054 TFLAGS="$(STAGE4_TFLAGS)"; \
5055 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5056 $(HOST_EXPORTS) \
5057 $(POSTSTAGE1_HOST_EXPORTS) \
5058 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5059 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5060 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5061 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5063 cd $(HOST_SUBDIR)/binutils || exit 1; \
5064 case $(srcdir) in \
5065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5066 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5068 esac; \
5069 module_srcdir=binutils; \
5070 $(SHELL) $$s/$$module_srcdir/configure \
5071 --srcdir=$${topdir}/$$module_srcdir \
5072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5073 --target=${target_alias} \
5074 --with-build-libsubdir=$(HOST_SUBDIR) \
5075 $(STAGE4_CONFIGURE_FLAGS)
5076 @endif binutils-bootstrap
5078 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5079 maybe-configure-stageprofile-binutils:
5080 @if binutils-bootstrap
5081 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5082 configure-stageprofile-binutils:
5083 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5085 @r=`${PWD_COMMAND}`; export r; \
5086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5087 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5088 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5089 $(HOST_EXPORTS) \
5090 $(POSTSTAGE1_HOST_EXPORTS) \
5091 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5092 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5093 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5094 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5096 cd $(HOST_SUBDIR)/binutils || exit 1; \
5097 case $(srcdir) in \
5098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5099 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5101 esac; \
5102 module_srcdir=binutils; \
5103 $(SHELL) $$s/$$module_srcdir/configure \
5104 --srcdir=$${topdir}/$$module_srcdir \
5105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5106 --target=${target_alias} \
5107 --with-build-libsubdir=$(HOST_SUBDIR) \
5108 $(STAGEprofile_CONFIGURE_FLAGS)
5109 @endif binutils-bootstrap
5111 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5112 maybe-configure-stagefeedback-binutils:
5113 @if binutils-bootstrap
5114 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5115 configure-stagefeedback-binutils:
5116 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5118 @r=`${PWD_COMMAND}`; export r; \
5119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5120 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5121 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5122 $(HOST_EXPORTS) \
5123 $(POSTSTAGE1_HOST_EXPORTS) \
5124 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5125 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5126 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5127 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5129 cd $(HOST_SUBDIR)/binutils || exit 1; \
5130 case $(srcdir) in \
5131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5132 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5134 esac; \
5135 module_srcdir=binutils; \
5136 $(SHELL) $$s/$$module_srcdir/configure \
5137 --srcdir=$${topdir}/$$module_srcdir \
5138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5139 --target=${target_alias} \
5140 --with-build-libsubdir=$(HOST_SUBDIR) \
5141 $(STAGEfeedback_CONFIGURE_FLAGS)
5142 @endif binutils-bootstrap
5148 .PHONY: all-binutils maybe-all-binutils
5149 maybe-all-binutils:
5150 @if gcc-bootstrap
5151 all-binutils: stage_current
5152 @endif gcc-bootstrap
5153 @if binutils
5154 TARGET-binutils=all
5155 maybe-all-binutils: all-binutils
5156 all-binutils: configure-binutils
5157 @r=`${PWD_COMMAND}`; export r; \
5158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5159 $(HOST_EXPORTS) \
5160 (cd $(HOST_SUBDIR)/binutils && \
5161 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5162 $(TARGET-binutils))
5163 @endif binutils
5167 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5168 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5169 maybe-all-stage1-binutils:
5170 maybe-clean-stage1-binutils:
5171 @if binutils-bootstrap
5172 maybe-all-stage1-binutils: all-stage1-binutils
5173 all-stage1: all-stage1-binutils
5174 TARGET-stage1-binutils = $(TARGET-binutils)
5175 all-stage1-binutils: configure-stage1-binutils
5176 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5177 @r=`${PWD_COMMAND}`; export r; \
5178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5179 TFLAGS="$(STAGE1_TFLAGS)"; \
5180 $(HOST_EXPORTS) \
5181 cd $(HOST_SUBDIR)/binutils && \
5182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5183 CFLAGS="$(STAGE1_CFLAGS)" \
5184 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5185 LIBCFLAGS="$(LIBCFLAGS)" \
5186 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5187 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5189 $(EXTRA_HOST_FLAGS) \
5190 $(STAGE1_FLAGS_TO_PASS) \
5191 TFLAGS="$(STAGE1_TFLAGS)" \
5192 $(TARGET-stage1-binutils)
5194 maybe-clean-stage1-binutils: clean-stage1-binutils
5195 clean-stage1: clean-stage1-binutils
5196 clean-stage1-binutils:
5197 @if [ $(current_stage) = stage1 ]; then \
5198 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5199 else \
5200 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5201 $(MAKE) stage1-start; \
5202 fi; \
5203 cd $(HOST_SUBDIR)/binutils && \
5204 $(MAKE) $(EXTRA_HOST_FLAGS) \
5205 $(STAGE1_FLAGS_TO_PASS) clean
5206 @endif binutils-bootstrap
5209 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5210 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5211 maybe-all-stage2-binutils:
5212 maybe-clean-stage2-binutils:
5213 @if binutils-bootstrap
5214 maybe-all-stage2-binutils: all-stage2-binutils
5215 all-stage2: all-stage2-binutils
5216 TARGET-stage2-binutils = $(TARGET-binutils)
5217 all-stage2-binutils: configure-stage2-binutils
5218 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5219 @r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221 TFLAGS="$(STAGE2_TFLAGS)"; \
5222 $(HOST_EXPORTS) \
5223 $(POSTSTAGE1_HOST_EXPORTS) \
5224 cd $(HOST_SUBDIR)/binutils && \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5226 CFLAGS="$(STAGE2_CFLAGS)" \
5227 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5228 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5232 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5233 TFLAGS="$(STAGE2_TFLAGS)" \
5234 $(TARGET-stage2-binutils)
5236 maybe-clean-stage2-binutils: clean-stage2-binutils
5237 clean-stage2: clean-stage2-binutils
5238 clean-stage2-binutils:
5239 @if [ $(current_stage) = stage2 ]; then \
5240 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5241 else \
5242 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5243 $(MAKE) stage2-start; \
5244 fi; \
5245 cd $(HOST_SUBDIR)/binutils && \
5246 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5247 @endif binutils-bootstrap
5250 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5251 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5252 maybe-all-stage3-binutils:
5253 maybe-clean-stage3-binutils:
5254 @if binutils-bootstrap
5255 maybe-all-stage3-binutils: all-stage3-binutils
5256 all-stage3: all-stage3-binutils
5257 TARGET-stage3-binutils = $(TARGET-binutils)
5258 all-stage3-binutils: configure-stage3-binutils
5259 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5260 @r=`${PWD_COMMAND}`; export r; \
5261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 TFLAGS="$(STAGE3_TFLAGS)"; \
5263 $(HOST_EXPORTS) \
5264 $(POSTSTAGE1_HOST_EXPORTS) \
5265 cd $(HOST_SUBDIR)/binutils && \
5266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5267 CFLAGS="$(STAGE3_CFLAGS)" \
5268 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5269 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5274 TFLAGS="$(STAGE3_TFLAGS)" \
5275 $(TARGET-stage3-binutils)
5277 maybe-clean-stage3-binutils: clean-stage3-binutils
5278 clean-stage3: clean-stage3-binutils
5279 clean-stage3-binutils:
5280 @if [ $(current_stage) = stage3 ]; then \
5281 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5282 else \
5283 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5284 $(MAKE) stage3-start; \
5285 fi; \
5286 cd $(HOST_SUBDIR)/binutils && \
5287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5288 @endif binutils-bootstrap
5291 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5292 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5293 maybe-all-stage4-binutils:
5294 maybe-clean-stage4-binutils:
5295 @if binutils-bootstrap
5296 maybe-all-stage4-binutils: all-stage4-binutils
5297 all-stage4: all-stage4-binutils
5298 TARGET-stage4-binutils = $(TARGET-binutils)
5299 all-stage4-binutils: configure-stage4-binutils
5300 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5301 @r=`${PWD_COMMAND}`; export r; \
5302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5303 TFLAGS="$(STAGE4_TFLAGS)"; \
5304 $(HOST_EXPORTS) \
5305 $(POSTSTAGE1_HOST_EXPORTS) \
5306 cd $(HOST_SUBDIR)/binutils && \
5307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5308 CFLAGS="$(STAGE4_CFLAGS)" \
5309 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5310 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5311 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5314 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5315 TFLAGS="$(STAGE4_TFLAGS)" \
5316 $(TARGET-stage4-binutils)
5318 maybe-clean-stage4-binutils: clean-stage4-binutils
5319 clean-stage4: clean-stage4-binutils
5320 clean-stage4-binutils:
5321 @if [ $(current_stage) = stage4 ]; then \
5322 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5323 else \
5324 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5325 $(MAKE) stage4-start; \
5326 fi; \
5327 cd $(HOST_SUBDIR)/binutils && \
5328 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5329 @endif binutils-bootstrap
5332 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5333 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5334 maybe-all-stageprofile-binutils:
5335 maybe-clean-stageprofile-binutils:
5336 @if binutils-bootstrap
5337 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5338 all-stageprofile: all-stageprofile-binutils
5339 TARGET-stageprofile-binutils = $(TARGET-binutils)
5340 all-stageprofile-binutils: configure-stageprofile-binutils
5341 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5342 @r=`${PWD_COMMAND}`; export r; \
5343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5344 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5345 $(HOST_EXPORTS) \
5346 $(POSTSTAGE1_HOST_EXPORTS) \
5347 cd $(HOST_SUBDIR)/binutils && \
5348 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5349 CFLAGS="$(STAGEprofile_CFLAGS)" \
5350 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5351 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5355 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5356 TFLAGS="$(STAGEprofile_TFLAGS)" \
5357 $(TARGET-stageprofile-binutils)
5359 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5360 clean-stageprofile: clean-stageprofile-binutils
5361 clean-stageprofile-binutils:
5362 @if [ $(current_stage) = stageprofile ]; then \
5363 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5364 else \
5365 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5366 $(MAKE) stageprofile-start; \
5367 fi; \
5368 cd $(HOST_SUBDIR)/binutils && \
5369 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5370 @endif binutils-bootstrap
5373 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5374 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5375 maybe-all-stagefeedback-binutils:
5376 maybe-clean-stagefeedback-binutils:
5377 @if binutils-bootstrap
5378 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5379 all-stagefeedback: all-stagefeedback-binutils
5380 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5381 all-stagefeedback-binutils: configure-stagefeedback-binutils
5382 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5383 @r=`${PWD_COMMAND}`; export r; \
5384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5385 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5386 $(HOST_EXPORTS) \
5387 $(POSTSTAGE1_HOST_EXPORTS) \
5388 cd $(HOST_SUBDIR)/binutils && \
5389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5390 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5391 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5392 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5397 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5398 $(TARGET-stagefeedback-binutils)
5400 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5401 clean-stagefeedback: clean-stagefeedback-binutils
5402 clean-stagefeedback-binutils:
5403 @if [ $(current_stage) = stagefeedback ]; then \
5404 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5405 else \
5406 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5407 $(MAKE) stagefeedback-start; \
5408 fi; \
5409 cd $(HOST_SUBDIR)/binutils && \
5410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5411 @endif binutils-bootstrap
5417 .PHONY: check-binutils maybe-check-binutils
5418 maybe-check-binutils:
5419 @if binutils
5420 maybe-check-binutils: check-binutils
5422 check-binutils:
5423 @: $(MAKE); $(unstage)
5424 @r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5427 (cd $(HOST_SUBDIR)/binutils && \
5428 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5430 @endif binutils
5432 .PHONY: install-binutils maybe-install-binutils
5433 maybe-install-binutils:
5434 @if binutils
5435 maybe-install-binutils: install-binutils
5437 install-binutils: installdirs
5438 @: $(MAKE); $(unstage)
5439 @r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441 $(HOST_EXPORTS) \
5442 (cd $(HOST_SUBDIR)/binutils && \
5443 $(MAKE) $(FLAGS_TO_PASS) install)
5445 @endif binutils
5447 .PHONY: install-strip-binutils maybe-install-strip-binutils
5448 maybe-install-strip-binutils:
5449 @if binutils
5450 maybe-install-strip-binutils: install-strip-binutils
5452 install-strip-binutils: installdirs
5453 @: $(MAKE); $(unstage)
5454 @r=`${PWD_COMMAND}`; export r; \
5455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5456 $(HOST_EXPORTS) \
5457 (cd $(HOST_SUBDIR)/binutils && \
5458 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5460 @endif binutils
5462 # Other targets (info, dvi, pdf, etc.)
5464 .PHONY: maybe-info-binutils info-binutils
5465 maybe-info-binutils:
5466 @if binutils
5467 maybe-info-binutils: info-binutils
5469 info-binutils: \
5470 configure-binutils
5471 @[ -f ./binutils/Makefile ] || exit 0; \
5472 r=`${PWD_COMMAND}`; export r; \
5473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5474 $(HOST_EXPORTS) \
5475 for flag in $(EXTRA_HOST_FLAGS) ; do \
5476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5477 done; \
5478 echo "Doing info in binutils"; \
5479 (cd $(HOST_SUBDIR)/binutils && \
5480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5482 "RANLIB=$${RANLIB}" \
5483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5484 info) \
5485 || exit 1
5487 @endif binutils
5489 .PHONY: maybe-dvi-binutils dvi-binutils
5490 maybe-dvi-binutils:
5491 @if binutils
5492 maybe-dvi-binutils: dvi-binutils
5494 dvi-binutils: \
5495 configure-binutils
5496 @[ -f ./binutils/Makefile ] || exit 0; \
5497 r=`${PWD_COMMAND}`; export r; \
5498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5499 $(HOST_EXPORTS) \
5500 for flag in $(EXTRA_HOST_FLAGS) ; do \
5501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5502 done; \
5503 echo "Doing dvi in binutils"; \
5504 (cd $(HOST_SUBDIR)/binutils && \
5505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5507 "RANLIB=$${RANLIB}" \
5508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5509 dvi) \
5510 || exit 1
5512 @endif binutils
5514 .PHONY: maybe-pdf-binutils pdf-binutils
5515 maybe-pdf-binutils:
5516 @if binutils
5517 maybe-pdf-binutils: pdf-binutils
5519 pdf-binutils: \
5520 configure-binutils
5521 @[ -f ./binutils/Makefile ] || exit 0; \
5522 r=`${PWD_COMMAND}`; export r; \
5523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5524 $(HOST_EXPORTS) \
5525 for flag in $(EXTRA_HOST_FLAGS) ; do \
5526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5527 done; \
5528 echo "Doing pdf in binutils"; \
5529 (cd $(HOST_SUBDIR)/binutils && \
5530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5532 "RANLIB=$${RANLIB}" \
5533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5534 pdf) \
5535 || exit 1
5537 @endif binutils
5539 .PHONY: maybe-html-binutils html-binutils
5540 maybe-html-binutils:
5541 @if binutils
5542 maybe-html-binutils: html-binutils
5544 html-binutils: \
5545 configure-binutils
5546 @[ -f ./binutils/Makefile ] || exit 0; \
5547 r=`${PWD_COMMAND}`; export r; \
5548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5549 $(HOST_EXPORTS) \
5550 for flag in $(EXTRA_HOST_FLAGS) ; do \
5551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5552 done; \
5553 echo "Doing html in binutils"; \
5554 (cd $(HOST_SUBDIR)/binutils && \
5555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5557 "RANLIB=$${RANLIB}" \
5558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5559 html) \
5560 || exit 1
5562 @endif binutils
5564 .PHONY: maybe-TAGS-binutils TAGS-binutils
5565 maybe-TAGS-binutils:
5566 @if binutils
5567 maybe-TAGS-binutils: TAGS-binutils
5569 TAGS-binutils: \
5570 configure-binutils
5571 @[ -f ./binutils/Makefile ] || exit 0; \
5572 r=`${PWD_COMMAND}`; export r; \
5573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5574 $(HOST_EXPORTS) \
5575 for flag in $(EXTRA_HOST_FLAGS) ; do \
5576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5577 done; \
5578 echo "Doing TAGS in binutils"; \
5579 (cd $(HOST_SUBDIR)/binutils && \
5580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5582 "RANLIB=$${RANLIB}" \
5583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5584 TAGS) \
5585 || exit 1
5587 @endif binutils
5589 .PHONY: maybe-install-info-binutils install-info-binutils
5590 maybe-install-info-binutils:
5591 @if binutils
5592 maybe-install-info-binutils: install-info-binutils
5594 install-info-binutils: \
5595 configure-binutils \
5596 info-binutils
5597 @[ -f ./binutils/Makefile ] || exit 0; \
5598 r=`${PWD_COMMAND}`; export r; \
5599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5600 $(HOST_EXPORTS) \
5601 for flag in $(EXTRA_HOST_FLAGS) ; do \
5602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5603 done; \
5604 echo "Doing install-info in binutils"; \
5605 (cd $(HOST_SUBDIR)/binutils && \
5606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5608 "RANLIB=$${RANLIB}" \
5609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5610 install-info) \
5611 || exit 1
5613 @endif binutils
5615 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5616 maybe-install-pdf-binutils:
5617 @if binutils
5618 maybe-install-pdf-binutils: install-pdf-binutils
5620 install-pdf-binutils: \
5621 configure-binutils \
5622 pdf-binutils
5623 @[ -f ./binutils/Makefile ] || exit 0; \
5624 r=`${PWD_COMMAND}`; export r; \
5625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5626 $(HOST_EXPORTS) \
5627 for flag in $(EXTRA_HOST_FLAGS) ; do \
5628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5629 done; \
5630 echo "Doing install-pdf in binutils"; \
5631 (cd $(HOST_SUBDIR)/binutils && \
5632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5634 "RANLIB=$${RANLIB}" \
5635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5636 install-pdf) \
5637 || exit 1
5639 @endif binutils
5641 .PHONY: maybe-install-html-binutils install-html-binutils
5642 maybe-install-html-binutils:
5643 @if binutils
5644 maybe-install-html-binutils: install-html-binutils
5646 install-html-binutils: \
5647 configure-binutils \
5648 html-binutils
5649 @[ -f ./binutils/Makefile ] || exit 0; \
5650 r=`${PWD_COMMAND}`; export r; \
5651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5652 $(HOST_EXPORTS) \
5653 for flag in $(EXTRA_HOST_FLAGS) ; do \
5654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5655 done; \
5656 echo "Doing install-html in binutils"; \
5657 (cd $(HOST_SUBDIR)/binutils && \
5658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5660 "RANLIB=$${RANLIB}" \
5661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5662 install-html) \
5663 || exit 1
5665 @endif binutils
5667 .PHONY: maybe-installcheck-binutils installcheck-binutils
5668 maybe-installcheck-binutils:
5669 @if binutils
5670 maybe-installcheck-binutils: installcheck-binutils
5672 installcheck-binutils: \
5673 configure-binutils
5674 @[ -f ./binutils/Makefile ] || exit 0; \
5675 r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 for flag in $(EXTRA_HOST_FLAGS) ; do \
5679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5680 done; \
5681 echo "Doing installcheck in binutils"; \
5682 (cd $(HOST_SUBDIR)/binutils && \
5683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5685 "RANLIB=$${RANLIB}" \
5686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5687 installcheck) \
5688 || exit 1
5690 @endif binutils
5692 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5693 maybe-mostlyclean-binutils:
5694 @if binutils
5695 maybe-mostlyclean-binutils: mostlyclean-binutils
5697 mostlyclean-binutils:
5698 @[ -f ./binutils/Makefile ] || exit 0; \
5699 r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701 $(HOST_EXPORTS) \
5702 for flag in $(EXTRA_HOST_FLAGS) ; do \
5703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5704 done; \
5705 echo "Doing mostlyclean in binutils"; \
5706 (cd $(HOST_SUBDIR)/binutils && \
5707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5709 "RANLIB=$${RANLIB}" \
5710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5711 mostlyclean) \
5712 || exit 1
5714 @endif binutils
5716 .PHONY: maybe-clean-binutils clean-binutils
5717 maybe-clean-binutils:
5718 @if binutils
5719 maybe-clean-binutils: clean-binutils
5721 clean-binutils:
5722 @[ -f ./binutils/Makefile ] || exit 0; \
5723 r=`${PWD_COMMAND}`; export r; \
5724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5725 $(HOST_EXPORTS) \
5726 for flag in $(EXTRA_HOST_FLAGS) ; do \
5727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5728 done; \
5729 echo "Doing clean in binutils"; \
5730 (cd $(HOST_SUBDIR)/binutils && \
5731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5733 "RANLIB=$${RANLIB}" \
5734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5735 clean) \
5736 || exit 1
5738 @endif binutils
5740 .PHONY: maybe-distclean-binutils distclean-binutils
5741 maybe-distclean-binutils:
5742 @if binutils
5743 maybe-distclean-binutils: distclean-binutils
5745 distclean-binutils:
5746 @[ -f ./binutils/Makefile ] || exit 0; \
5747 r=`${PWD_COMMAND}`; export r; \
5748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5749 $(HOST_EXPORTS) \
5750 for flag in $(EXTRA_HOST_FLAGS) ; do \
5751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5752 done; \
5753 echo "Doing distclean in binutils"; \
5754 (cd $(HOST_SUBDIR)/binutils && \
5755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5757 "RANLIB=$${RANLIB}" \
5758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5759 distclean) \
5760 || exit 1
5762 @endif binutils
5764 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5765 maybe-maintainer-clean-binutils:
5766 @if binutils
5767 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5769 maintainer-clean-binutils:
5770 @[ -f ./binutils/Makefile ] || exit 0; \
5771 r=`${PWD_COMMAND}`; export r; \
5772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5773 $(HOST_EXPORTS) \
5774 for flag in $(EXTRA_HOST_FLAGS) ; do \
5775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5776 done; \
5777 echo "Doing maintainer-clean in binutils"; \
5778 (cd $(HOST_SUBDIR)/binutils && \
5779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5781 "RANLIB=$${RANLIB}" \
5782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5783 maintainer-clean) \
5784 || exit 1
5786 @endif binutils
5790 .PHONY: configure-bison maybe-configure-bison
5791 maybe-configure-bison:
5792 @if gcc-bootstrap
5793 configure-bison: stage_current
5794 @endif gcc-bootstrap
5795 @if bison
5796 maybe-configure-bison: configure-bison
5797 configure-bison:
5798 @: $(MAKE); $(unstage)
5799 @r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5801 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
5803 $(HOST_EXPORTS) \
5804 echo Configuring in $(HOST_SUBDIR)/bison; \
5805 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5806 case $(srcdir) in \
5807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5808 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5810 esac; \
5811 module_srcdir=bison; \
5812 $(SHELL) \
5813 $$s/$$module_srcdir/configure \
5814 --srcdir=$${topdir}/$$module_srcdir \
5815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5816 --target=${target_alias} \
5817 || exit 1
5818 @endif bison
5824 .PHONY: all-bison maybe-all-bison
5825 maybe-all-bison:
5826 @if gcc-bootstrap
5827 all-bison: stage_current
5828 @endif gcc-bootstrap
5829 @if bison
5830 TARGET-bison=all
5831 maybe-all-bison: all-bison
5832 all-bison: configure-bison
5833 @: $(MAKE); $(unstage)
5834 @r=`${PWD_COMMAND}`; export r; \
5835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5836 $(HOST_EXPORTS) \
5837 (cd $(HOST_SUBDIR)/bison && \
5838 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5839 $(TARGET-bison))
5840 @endif bison
5845 .PHONY: check-bison maybe-check-bison
5846 maybe-check-bison:
5847 @if bison
5848 maybe-check-bison: check-bison
5850 # This module is only tested in a native toolchain.
5851 check-bison:
5852 @: $(MAKE); $(unstage)
5853 @if [ '$(host)' = '$(target)' ]; then \
5854 r=`${PWD_COMMAND}`; export r; \
5855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 $(HOST_EXPORTS) \
5857 (cd $(HOST_SUBDIR)/bison && \
5858 $(MAKE) $(FLAGS_TO_PASS) check)
5861 @endif bison
5863 .PHONY: install-bison maybe-install-bison
5864 maybe-install-bison:
5865 @if bison
5866 maybe-install-bison: install-bison
5868 install-bison: installdirs
5869 @: $(MAKE); $(unstage)
5870 @r=`${PWD_COMMAND}`; export r; \
5871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5872 $(HOST_EXPORTS) \
5873 (cd $(HOST_SUBDIR)/bison && \
5874 $(MAKE) $(FLAGS_TO_PASS) install)
5876 @endif bison
5878 .PHONY: install-strip-bison maybe-install-strip-bison
5879 maybe-install-strip-bison:
5880 @if bison
5881 maybe-install-strip-bison: install-strip-bison
5883 install-strip-bison: installdirs
5884 @: $(MAKE); $(unstage)
5885 @r=`${PWD_COMMAND}`; export r; \
5886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5887 $(HOST_EXPORTS) \
5888 (cd $(HOST_SUBDIR)/bison && \
5889 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5891 @endif bison
5893 # Other targets (info, dvi, pdf, etc.)
5895 .PHONY: maybe-info-bison info-bison
5896 maybe-info-bison:
5897 @if bison
5898 maybe-info-bison: info-bison
5900 info-bison: \
5901 configure-bison
5902 @: $(MAKE); $(unstage)
5903 @[ -f ./bison/Makefile ] || exit 0; \
5904 r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5906 $(HOST_EXPORTS) \
5907 for flag in $(EXTRA_HOST_FLAGS) ; do \
5908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5909 done; \
5910 echo "Doing info in bison"; \
5911 (cd $(HOST_SUBDIR)/bison && \
5912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5914 "RANLIB=$${RANLIB}" \
5915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5916 info) \
5917 || exit 1
5919 @endif bison
5921 .PHONY: maybe-dvi-bison dvi-bison
5922 maybe-dvi-bison:
5923 @if bison
5924 maybe-dvi-bison: dvi-bison
5926 dvi-bison: \
5927 configure-bison
5928 @: $(MAKE); $(unstage)
5929 @[ -f ./bison/Makefile ] || exit 0; \
5930 r=`${PWD_COMMAND}`; export r; \
5931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 $(HOST_EXPORTS) \
5933 for flag in $(EXTRA_HOST_FLAGS) ; do \
5934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5935 done; \
5936 echo "Doing dvi in bison"; \
5937 (cd $(HOST_SUBDIR)/bison && \
5938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5940 "RANLIB=$${RANLIB}" \
5941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5942 dvi) \
5943 || exit 1
5945 @endif bison
5947 .PHONY: maybe-pdf-bison pdf-bison
5948 maybe-pdf-bison:
5949 @if bison
5950 maybe-pdf-bison: pdf-bison
5952 pdf-bison: \
5953 configure-bison
5954 @: $(MAKE); $(unstage)
5955 @[ -f ./bison/Makefile ] || exit 0; \
5956 r=`${PWD_COMMAND}`; export r; \
5957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5958 $(HOST_EXPORTS) \
5959 for flag in $(EXTRA_HOST_FLAGS) ; do \
5960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5961 done; \
5962 echo "Doing pdf in bison"; \
5963 (cd $(HOST_SUBDIR)/bison && \
5964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5966 "RANLIB=$${RANLIB}" \
5967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5968 pdf) \
5969 || exit 1
5971 @endif bison
5973 .PHONY: maybe-html-bison html-bison
5974 maybe-html-bison:
5975 @if bison
5976 maybe-html-bison: html-bison
5978 html-bison: \
5979 configure-bison
5980 @: $(MAKE); $(unstage)
5981 @[ -f ./bison/Makefile ] || exit 0; \
5982 r=`${PWD_COMMAND}`; export r; \
5983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5984 $(HOST_EXPORTS) \
5985 for flag in $(EXTRA_HOST_FLAGS) ; do \
5986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5987 done; \
5988 echo "Doing html in bison"; \
5989 (cd $(HOST_SUBDIR)/bison && \
5990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5992 "RANLIB=$${RANLIB}" \
5993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5994 html) \
5995 || exit 1
5997 @endif bison
5999 .PHONY: maybe-TAGS-bison TAGS-bison
6000 maybe-TAGS-bison:
6001 @if bison
6002 maybe-TAGS-bison: TAGS-bison
6004 TAGS-bison: \
6005 configure-bison
6006 @: $(MAKE); $(unstage)
6007 @[ -f ./bison/Makefile ] || exit 0; \
6008 r=`${PWD_COMMAND}`; export r; \
6009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6010 $(HOST_EXPORTS) \
6011 for flag in $(EXTRA_HOST_FLAGS) ; do \
6012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6013 done; \
6014 echo "Doing TAGS in bison"; \
6015 (cd $(HOST_SUBDIR)/bison && \
6016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6018 "RANLIB=$${RANLIB}" \
6019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6020 TAGS) \
6021 || exit 1
6023 @endif bison
6025 .PHONY: maybe-install-info-bison install-info-bison
6026 maybe-install-info-bison:
6027 @if bison
6028 maybe-install-info-bison: install-info-bison
6030 install-info-bison: \
6031 configure-bison \
6032 info-bison
6033 @: $(MAKE); $(unstage)
6034 @[ -f ./bison/Makefile ] || exit 0; \
6035 r=`${PWD_COMMAND}`; export r; \
6036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6037 $(HOST_EXPORTS) \
6038 for flag in $(EXTRA_HOST_FLAGS) ; do \
6039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6040 done; \
6041 echo "Doing install-info in bison"; \
6042 (cd $(HOST_SUBDIR)/bison && \
6043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6045 "RANLIB=$${RANLIB}" \
6046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6047 install-info) \
6048 || exit 1
6050 @endif bison
6052 .PHONY: maybe-install-pdf-bison install-pdf-bison
6053 maybe-install-pdf-bison:
6054 @if bison
6055 maybe-install-pdf-bison: install-pdf-bison
6057 install-pdf-bison: \
6058 configure-bison \
6059 pdf-bison
6060 @: $(MAKE); $(unstage)
6061 @[ -f ./bison/Makefile ] || exit 0; \
6062 r=`${PWD_COMMAND}`; export r; \
6063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6064 $(HOST_EXPORTS) \
6065 for flag in $(EXTRA_HOST_FLAGS) ; do \
6066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6067 done; \
6068 echo "Doing install-pdf in bison"; \
6069 (cd $(HOST_SUBDIR)/bison && \
6070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6072 "RANLIB=$${RANLIB}" \
6073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6074 install-pdf) \
6075 || exit 1
6077 @endif bison
6079 .PHONY: maybe-install-html-bison install-html-bison
6080 maybe-install-html-bison:
6081 @if bison
6082 maybe-install-html-bison: install-html-bison
6084 install-html-bison: \
6085 configure-bison \
6086 html-bison
6087 @: $(MAKE); $(unstage)
6088 @[ -f ./bison/Makefile ] || exit 0; \
6089 r=`${PWD_COMMAND}`; export r; \
6090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6091 $(HOST_EXPORTS) \
6092 for flag in $(EXTRA_HOST_FLAGS) ; do \
6093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6094 done; \
6095 echo "Doing install-html in bison"; \
6096 (cd $(HOST_SUBDIR)/bison && \
6097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6099 "RANLIB=$${RANLIB}" \
6100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6101 install-html) \
6102 || exit 1
6104 @endif bison
6106 .PHONY: maybe-installcheck-bison installcheck-bison
6107 maybe-installcheck-bison:
6108 @if bison
6109 maybe-installcheck-bison: installcheck-bison
6111 installcheck-bison: \
6112 configure-bison
6113 @: $(MAKE); $(unstage)
6114 @[ -f ./bison/Makefile ] || exit 0; \
6115 r=`${PWD_COMMAND}`; export r; \
6116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6117 $(HOST_EXPORTS) \
6118 for flag in $(EXTRA_HOST_FLAGS) ; do \
6119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6120 done; \
6121 echo "Doing installcheck in bison"; \
6122 (cd $(HOST_SUBDIR)/bison && \
6123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6125 "RANLIB=$${RANLIB}" \
6126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6127 installcheck) \
6128 || exit 1
6130 @endif bison
6132 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6133 maybe-mostlyclean-bison:
6134 @if bison
6135 maybe-mostlyclean-bison: mostlyclean-bison
6137 mostlyclean-bison:
6138 @: $(MAKE); $(unstage)
6139 @[ -f ./bison/Makefile ] || exit 0; \
6140 r=`${PWD_COMMAND}`; export r; \
6141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6142 $(HOST_EXPORTS) \
6143 for flag in $(EXTRA_HOST_FLAGS) ; do \
6144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6145 done; \
6146 echo "Doing mostlyclean in bison"; \
6147 (cd $(HOST_SUBDIR)/bison && \
6148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6150 "RANLIB=$${RANLIB}" \
6151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6152 mostlyclean) \
6153 || exit 1
6155 @endif bison
6157 .PHONY: maybe-clean-bison clean-bison
6158 maybe-clean-bison:
6159 @if bison
6160 maybe-clean-bison: clean-bison
6162 clean-bison:
6163 @: $(MAKE); $(unstage)
6164 @[ -f ./bison/Makefile ] || exit 0; \
6165 r=`${PWD_COMMAND}`; export r; \
6166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6167 $(HOST_EXPORTS) \
6168 for flag in $(EXTRA_HOST_FLAGS) ; do \
6169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6170 done; \
6171 echo "Doing clean in bison"; \
6172 (cd $(HOST_SUBDIR)/bison && \
6173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6175 "RANLIB=$${RANLIB}" \
6176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6177 clean) \
6178 || exit 1
6180 @endif bison
6182 .PHONY: maybe-distclean-bison distclean-bison
6183 maybe-distclean-bison:
6184 @if bison
6185 maybe-distclean-bison: distclean-bison
6187 distclean-bison:
6188 @: $(MAKE); $(unstage)
6189 @[ -f ./bison/Makefile ] || exit 0; \
6190 r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(HOST_EXPORTS) \
6193 for flag in $(EXTRA_HOST_FLAGS) ; do \
6194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6195 done; \
6196 echo "Doing distclean in bison"; \
6197 (cd $(HOST_SUBDIR)/bison && \
6198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6200 "RANLIB=$${RANLIB}" \
6201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6202 distclean) \
6203 || exit 1
6205 @endif bison
6207 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6208 maybe-maintainer-clean-bison:
6209 @if bison
6210 maybe-maintainer-clean-bison: maintainer-clean-bison
6212 maintainer-clean-bison:
6213 @: $(MAKE); $(unstage)
6214 @[ -f ./bison/Makefile ] || exit 0; \
6215 r=`${PWD_COMMAND}`; export r; \
6216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6217 $(HOST_EXPORTS) \
6218 for flag in $(EXTRA_HOST_FLAGS) ; do \
6219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6220 done; \
6221 echo "Doing maintainer-clean in bison"; \
6222 (cd $(HOST_SUBDIR)/bison && \
6223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6225 "RANLIB=$${RANLIB}" \
6226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6227 maintainer-clean) \
6228 || exit 1
6230 @endif bison
6234 .PHONY: configure-cgen maybe-configure-cgen
6235 maybe-configure-cgen:
6236 @if gcc-bootstrap
6237 configure-cgen: stage_current
6238 @endif gcc-bootstrap
6239 @if cgen
6240 maybe-configure-cgen: configure-cgen
6241 configure-cgen:
6242 @: $(MAKE); $(unstage)
6243 @r=`${PWD_COMMAND}`; export r; \
6244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6245 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6247 $(HOST_EXPORTS) \
6248 echo Configuring in $(HOST_SUBDIR)/cgen; \
6249 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6250 case $(srcdir) in \
6251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6252 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6254 esac; \
6255 module_srcdir=cgen; \
6256 $(SHELL) \
6257 $$s/$$module_srcdir/configure \
6258 --srcdir=$${topdir}/$$module_srcdir \
6259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6260 --target=${target_alias} \
6261 || exit 1
6262 @endif cgen
6268 .PHONY: all-cgen maybe-all-cgen
6269 maybe-all-cgen:
6270 @if gcc-bootstrap
6271 all-cgen: stage_current
6272 @endif gcc-bootstrap
6273 @if cgen
6274 TARGET-cgen=all
6275 maybe-all-cgen: all-cgen
6276 all-cgen: configure-cgen
6277 @: $(MAKE); $(unstage)
6278 @r=`${PWD_COMMAND}`; export r; \
6279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6280 $(HOST_EXPORTS) \
6281 (cd $(HOST_SUBDIR)/cgen && \
6282 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6283 $(TARGET-cgen))
6284 @endif cgen
6289 .PHONY: check-cgen maybe-check-cgen
6290 maybe-check-cgen:
6291 @if cgen
6292 maybe-check-cgen: check-cgen
6294 check-cgen:
6295 @: $(MAKE); $(unstage)
6296 @r=`${PWD_COMMAND}`; export r; \
6297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6298 $(HOST_EXPORTS) \
6299 (cd $(HOST_SUBDIR)/cgen && \
6300 $(MAKE) $(FLAGS_TO_PASS) check)
6302 @endif cgen
6304 .PHONY: install-cgen maybe-install-cgen
6305 maybe-install-cgen:
6306 @if cgen
6307 maybe-install-cgen: install-cgen
6309 install-cgen: installdirs
6310 @: $(MAKE); $(unstage)
6311 @r=`${PWD_COMMAND}`; export r; \
6312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6313 $(HOST_EXPORTS) \
6314 (cd $(HOST_SUBDIR)/cgen && \
6315 $(MAKE) $(FLAGS_TO_PASS) install)
6317 @endif cgen
6319 .PHONY: install-strip-cgen maybe-install-strip-cgen
6320 maybe-install-strip-cgen:
6321 @if cgen
6322 maybe-install-strip-cgen: install-strip-cgen
6324 install-strip-cgen: installdirs
6325 @: $(MAKE); $(unstage)
6326 @r=`${PWD_COMMAND}`; export r; \
6327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6328 $(HOST_EXPORTS) \
6329 (cd $(HOST_SUBDIR)/cgen && \
6330 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6332 @endif cgen
6334 # Other targets (info, dvi, pdf, etc.)
6336 .PHONY: maybe-info-cgen info-cgen
6337 maybe-info-cgen:
6338 @if cgen
6339 maybe-info-cgen: info-cgen
6341 info-cgen: \
6342 configure-cgen
6343 @: $(MAKE); $(unstage)
6344 @[ -f ./cgen/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 info in cgen"; \
6352 (cd $(HOST_SUBDIR)/cgen && \
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 info) \
6358 || exit 1
6360 @endif cgen
6362 .PHONY: maybe-dvi-cgen dvi-cgen
6363 maybe-dvi-cgen:
6364 @if cgen
6365 maybe-dvi-cgen: dvi-cgen
6367 dvi-cgen: \
6368 configure-cgen
6369 @: $(MAKE); $(unstage)
6370 @[ -f ./cgen/Makefile ] || exit 0; \
6371 r=`${PWD_COMMAND}`; export r; \
6372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6373 $(HOST_EXPORTS) \
6374 for flag in $(EXTRA_HOST_FLAGS) ; do \
6375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6376 done; \
6377 echo "Doing dvi in cgen"; \
6378 (cd $(HOST_SUBDIR)/cgen && \
6379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6381 "RANLIB=$${RANLIB}" \
6382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6383 dvi) \
6384 || exit 1
6386 @endif cgen
6388 .PHONY: maybe-pdf-cgen pdf-cgen
6389 maybe-pdf-cgen:
6390 @if cgen
6391 maybe-pdf-cgen: pdf-cgen
6393 pdf-cgen: \
6394 configure-cgen
6395 @: $(MAKE); $(unstage)
6396 @[ -f ./cgen/Makefile ] || exit 0; \
6397 r=`${PWD_COMMAND}`; export r; \
6398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6399 $(HOST_EXPORTS) \
6400 for flag in $(EXTRA_HOST_FLAGS) ; do \
6401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6402 done; \
6403 echo "Doing pdf in cgen"; \
6404 (cd $(HOST_SUBDIR)/cgen && \
6405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6407 "RANLIB=$${RANLIB}" \
6408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6409 pdf) \
6410 || exit 1
6412 @endif cgen
6414 .PHONY: maybe-html-cgen html-cgen
6415 maybe-html-cgen:
6416 @if cgen
6417 maybe-html-cgen: html-cgen
6419 html-cgen: \
6420 configure-cgen
6421 @: $(MAKE); $(unstage)
6422 @[ -f ./cgen/Makefile ] || exit 0; \
6423 r=`${PWD_COMMAND}`; export r; \
6424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6425 $(HOST_EXPORTS) \
6426 for flag in $(EXTRA_HOST_FLAGS) ; do \
6427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6428 done; \
6429 echo "Doing html in cgen"; \
6430 (cd $(HOST_SUBDIR)/cgen && \
6431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6433 "RANLIB=$${RANLIB}" \
6434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6435 html) \
6436 || exit 1
6438 @endif cgen
6440 .PHONY: maybe-TAGS-cgen TAGS-cgen
6441 maybe-TAGS-cgen:
6442 @if cgen
6443 maybe-TAGS-cgen: TAGS-cgen
6445 TAGS-cgen: \
6446 configure-cgen
6447 @: $(MAKE); $(unstage)
6448 @[ -f ./cgen/Makefile ] || exit 0; \
6449 r=`${PWD_COMMAND}`; export r; \
6450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6451 $(HOST_EXPORTS) \
6452 for flag in $(EXTRA_HOST_FLAGS) ; do \
6453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6454 done; \
6455 echo "Doing TAGS in cgen"; \
6456 (cd $(HOST_SUBDIR)/cgen && \
6457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6459 "RANLIB=$${RANLIB}" \
6460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6461 TAGS) \
6462 || exit 1
6464 @endif cgen
6466 .PHONY: maybe-install-info-cgen install-info-cgen
6467 maybe-install-info-cgen:
6468 @if cgen
6469 maybe-install-info-cgen: install-info-cgen
6471 install-info-cgen: \
6472 configure-cgen \
6473 info-cgen
6474 @: $(MAKE); $(unstage)
6475 @[ -f ./cgen/Makefile ] || exit 0; \
6476 r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6478 $(HOST_EXPORTS) \
6479 for flag in $(EXTRA_HOST_FLAGS) ; do \
6480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6481 done; \
6482 echo "Doing install-info in cgen"; \
6483 (cd $(HOST_SUBDIR)/cgen && \
6484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6486 "RANLIB=$${RANLIB}" \
6487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6488 install-info) \
6489 || exit 1
6491 @endif cgen
6493 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6494 maybe-install-pdf-cgen:
6495 @if cgen
6496 maybe-install-pdf-cgen: install-pdf-cgen
6498 install-pdf-cgen: \
6499 configure-cgen \
6500 pdf-cgen
6501 @: $(MAKE); $(unstage)
6502 @[ -f ./cgen/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(HOST_EXPORTS) \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6508 done; \
6509 echo "Doing install-pdf in cgen"; \
6510 (cd $(HOST_SUBDIR)/cgen && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6515 install-pdf) \
6516 || exit 1
6518 @endif cgen
6520 .PHONY: maybe-install-html-cgen install-html-cgen
6521 maybe-install-html-cgen:
6522 @if cgen
6523 maybe-install-html-cgen: install-html-cgen
6525 install-html-cgen: \
6526 configure-cgen \
6527 html-cgen
6528 @: $(MAKE); $(unstage)
6529 @[ -f ./cgen/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 for flag in $(EXTRA_HOST_FLAGS) ; do \
6534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535 done; \
6536 echo "Doing install-html in cgen"; \
6537 (cd $(HOST_SUBDIR)/cgen && \
6538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540 "RANLIB=$${RANLIB}" \
6541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6542 install-html) \
6543 || exit 1
6545 @endif cgen
6547 .PHONY: maybe-installcheck-cgen installcheck-cgen
6548 maybe-installcheck-cgen:
6549 @if cgen
6550 maybe-installcheck-cgen: installcheck-cgen
6552 installcheck-cgen: \
6553 configure-cgen
6554 @: $(MAKE); $(unstage)
6555 @[ -f ./cgen/Makefile ] || exit 0; \
6556 r=`${PWD_COMMAND}`; export r; \
6557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 $(HOST_EXPORTS) \
6559 for flag in $(EXTRA_HOST_FLAGS) ; do \
6560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 done; \
6562 echo "Doing installcheck in cgen"; \
6563 (cd $(HOST_SUBDIR)/cgen && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6566 "RANLIB=$${RANLIB}" \
6567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6568 installcheck) \
6569 || exit 1
6571 @endif cgen
6573 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6574 maybe-mostlyclean-cgen:
6575 @if cgen
6576 maybe-mostlyclean-cgen: mostlyclean-cgen
6578 mostlyclean-cgen:
6579 @: $(MAKE); $(unstage)
6580 @[ -f ./cgen/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(HOST_EXPORTS) \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586 done; \
6587 echo "Doing mostlyclean in cgen"; \
6588 (cd $(HOST_SUBDIR)/cgen && \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6593 mostlyclean) \
6594 || exit 1
6596 @endif cgen
6598 .PHONY: maybe-clean-cgen clean-cgen
6599 maybe-clean-cgen:
6600 @if cgen
6601 maybe-clean-cgen: clean-cgen
6603 clean-cgen:
6604 @: $(MAKE); $(unstage)
6605 @[ -f ./cgen/Makefile ] || exit 0; \
6606 r=`${PWD_COMMAND}`; export r; \
6607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608 $(HOST_EXPORTS) \
6609 for flag in $(EXTRA_HOST_FLAGS) ; do \
6610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 done; \
6612 echo "Doing clean in cgen"; \
6613 (cd $(HOST_SUBDIR)/cgen && \
6614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6616 "RANLIB=$${RANLIB}" \
6617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6618 clean) \
6619 || exit 1
6621 @endif cgen
6623 .PHONY: maybe-distclean-cgen distclean-cgen
6624 maybe-distclean-cgen:
6625 @if cgen
6626 maybe-distclean-cgen: distclean-cgen
6628 distclean-cgen:
6629 @: $(MAKE); $(unstage)
6630 @[ -f ./cgen/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing distclean in cgen"; \
6638 (cd $(HOST_SUBDIR)/cgen && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6643 distclean) \
6644 || exit 1
6646 @endif cgen
6648 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6649 maybe-maintainer-clean-cgen:
6650 @if cgen
6651 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6653 maintainer-clean-cgen:
6654 @: $(MAKE); $(unstage)
6655 @[ -f ./cgen/Makefile ] || exit 0; \
6656 r=`${PWD_COMMAND}`; export r; \
6657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6658 $(HOST_EXPORTS) \
6659 for flag in $(EXTRA_HOST_FLAGS) ; do \
6660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6661 done; \
6662 echo "Doing maintainer-clean in cgen"; \
6663 (cd $(HOST_SUBDIR)/cgen && \
6664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6666 "RANLIB=$${RANLIB}" \
6667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6668 maintainer-clean) \
6669 || exit 1
6671 @endif cgen
6675 .PHONY: configure-dejagnu maybe-configure-dejagnu
6676 maybe-configure-dejagnu:
6677 @if gcc-bootstrap
6678 configure-dejagnu: stage_current
6679 @endif gcc-bootstrap
6680 @if dejagnu
6681 maybe-configure-dejagnu: configure-dejagnu
6682 configure-dejagnu:
6683 @: $(MAKE); $(unstage)
6684 @r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
6688 $(HOST_EXPORTS) \
6689 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6690 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6691 case $(srcdir) in \
6692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6693 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6695 esac; \
6696 module_srcdir=dejagnu; \
6697 $(SHELL) \
6698 $$s/$$module_srcdir/configure \
6699 --srcdir=$${topdir}/$$module_srcdir \
6700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6701 --target=${target_alias} \
6702 || exit 1
6703 @endif dejagnu
6709 .PHONY: all-dejagnu maybe-all-dejagnu
6710 maybe-all-dejagnu:
6711 @if gcc-bootstrap
6712 all-dejagnu: stage_current
6713 @endif gcc-bootstrap
6714 @if dejagnu
6715 TARGET-dejagnu=all
6716 maybe-all-dejagnu: all-dejagnu
6717 all-dejagnu: configure-dejagnu
6718 @: $(MAKE); $(unstage)
6719 @r=`${PWD_COMMAND}`; export r; \
6720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6721 $(HOST_EXPORTS) \
6722 (cd $(HOST_SUBDIR)/dejagnu && \
6723 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6724 $(TARGET-dejagnu))
6725 @endif dejagnu
6730 .PHONY: check-dejagnu maybe-check-dejagnu
6731 maybe-check-dejagnu:
6732 @if dejagnu
6733 maybe-check-dejagnu: check-dejagnu
6735 check-dejagnu:
6736 @: $(MAKE); $(unstage)
6737 @r=`${PWD_COMMAND}`; export r; \
6738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6739 $(HOST_EXPORTS) \
6740 (cd $(HOST_SUBDIR)/dejagnu && \
6741 $(MAKE) $(FLAGS_TO_PASS) check)
6743 @endif dejagnu
6745 .PHONY: install-dejagnu maybe-install-dejagnu
6746 maybe-install-dejagnu:
6747 @if dejagnu
6748 maybe-install-dejagnu: install-dejagnu
6750 install-dejagnu: installdirs
6751 @: $(MAKE); $(unstage)
6752 @r=`${PWD_COMMAND}`; export r; \
6753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6754 $(HOST_EXPORTS) \
6755 (cd $(HOST_SUBDIR)/dejagnu && \
6756 $(MAKE) $(FLAGS_TO_PASS) install)
6758 @endif dejagnu
6760 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6761 maybe-install-strip-dejagnu:
6762 @if dejagnu
6763 maybe-install-strip-dejagnu: install-strip-dejagnu
6765 install-strip-dejagnu: installdirs
6766 @: $(MAKE); $(unstage)
6767 @r=`${PWD_COMMAND}`; export r; \
6768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6769 $(HOST_EXPORTS) \
6770 (cd $(HOST_SUBDIR)/dejagnu && \
6771 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6773 @endif dejagnu
6775 # Other targets (info, dvi, pdf, etc.)
6777 .PHONY: maybe-info-dejagnu info-dejagnu
6778 maybe-info-dejagnu:
6779 @if dejagnu
6780 maybe-info-dejagnu: info-dejagnu
6782 info-dejagnu: \
6783 configure-dejagnu
6784 @: $(MAKE); $(unstage)
6785 @[ -f ./dejagnu/Makefile ] || exit 0; \
6786 r=`${PWD_COMMAND}`; export r; \
6787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6788 $(HOST_EXPORTS) \
6789 for flag in $(EXTRA_HOST_FLAGS) ; do \
6790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6791 done; \
6792 echo "Doing info in dejagnu"; \
6793 (cd $(HOST_SUBDIR)/dejagnu && \
6794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6796 "RANLIB=$${RANLIB}" \
6797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6798 info) \
6799 || exit 1
6801 @endif dejagnu
6803 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6804 maybe-dvi-dejagnu:
6805 @if dejagnu
6806 maybe-dvi-dejagnu: dvi-dejagnu
6808 dvi-dejagnu: \
6809 configure-dejagnu
6810 @: $(MAKE); $(unstage)
6811 @[ -f ./dejagnu/Makefile ] || exit 0; \
6812 r=`${PWD_COMMAND}`; export r; \
6813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6814 $(HOST_EXPORTS) \
6815 for flag in $(EXTRA_HOST_FLAGS) ; do \
6816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6817 done; \
6818 echo "Doing dvi in dejagnu"; \
6819 (cd $(HOST_SUBDIR)/dejagnu && \
6820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6822 "RANLIB=$${RANLIB}" \
6823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6824 dvi) \
6825 || exit 1
6827 @endif dejagnu
6829 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6830 maybe-pdf-dejagnu:
6831 @if dejagnu
6832 maybe-pdf-dejagnu: pdf-dejagnu
6834 pdf-dejagnu: \
6835 configure-dejagnu
6836 @: $(MAKE); $(unstage)
6837 @[ -f ./dejagnu/Makefile ] || exit 0; \
6838 r=`${PWD_COMMAND}`; export r; \
6839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6840 $(HOST_EXPORTS) \
6841 for flag in $(EXTRA_HOST_FLAGS) ; do \
6842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6843 done; \
6844 echo "Doing pdf in dejagnu"; \
6845 (cd $(HOST_SUBDIR)/dejagnu && \
6846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6848 "RANLIB=$${RANLIB}" \
6849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6850 pdf) \
6851 || exit 1
6853 @endif dejagnu
6855 .PHONY: maybe-html-dejagnu html-dejagnu
6856 maybe-html-dejagnu:
6857 @if dejagnu
6858 maybe-html-dejagnu: html-dejagnu
6860 html-dejagnu: \
6861 configure-dejagnu
6862 @: $(MAKE); $(unstage)
6863 @[ -f ./dejagnu/Makefile ] || exit 0; \
6864 r=`${PWD_COMMAND}`; export r; \
6865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6866 $(HOST_EXPORTS) \
6867 for flag in $(EXTRA_HOST_FLAGS) ; do \
6868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6869 done; \
6870 echo "Doing html in dejagnu"; \
6871 (cd $(HOST_SUBDIR)/dejagnu && \
6872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6874 "RANLIB=$${RANLIB}" \
6875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6876 html) \
6877 || exit 1
6879 @endif dejagnu
6881 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6882 maybe-TAGS-dejagnu:
6883 @if dejagnu
6884 maybe-TAGS-dejagnu: TAGS-dejagnu
6886 TAGS-dejagnu: \
6887 configure-dejagnu
6888 @: $(MAKE); $(unstage)
6889 @[ -f ./dejagnu/Makefile ] || exit 0; \
6890 r=`${PWD_COMMAND}`; export r; \
6891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6892 $(HOST_EXPORTS) \
6893 for flag in $(EXTRA_HOST_FLAGS) ; do \
6894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6895 done; \
6896 echo "Doing TAGS in dejagnu"; \
6897 (cd $(HOST_SUBDIR)/dejagnu && \
6898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6900 "RANLIB=$${RANLIB}" \
6901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6902 TAGS) \
6903 || exit 1
6905 @endif dejagnu
6907 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6908 maybe-install-info-dejagnu:
6909 @if dejagnu
6910 maybe-install-info-dejagnu: install-info-dejagnu
6912 install-info-dejagnu: \
6913 configure-dejagnu \
6914 info-dejagnu
6915 @: $(MAKE); $(unstage)
6916 @[ -f ./dejagnu/Makefile ] || exit 0; \
6917 r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 $(HOST_EXPORTS) \
6920 for flag in $(EXTRA_HOST_FLAGS) ; do \
6921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6922 done; \
6923 echo "Doing install-info in dejagnu"; \
6924 (cd $(HOST_SUBDIR)/dejagnu && \
6925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6927 "RANLIB=$${RANLIB}" \
6928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6929 install-info) \
6930 || exit 1
6932 @endif dejagnu
6934 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6935 maybe-install-pdf-dejagnu:
6936 @if dejagnu
6937 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6939 install-pdf-dejagnu: \
6940 configure-dejagnu \
6941 pdf-dejagnu
6942 @: $(MAKE); $(unstage)
6943 @[ -f ./dejagnu/Makefile ] || exit 0; \
6944 r=`${PWD_COMMAND}`; export r; \
6945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6946 $(HOST_EXPORTS) \
6947 for flag in $(EXTRA_HOST_FLAGS) ; do \
6948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6949 done; \
6950 echo "Doing install-pdf in dejagnu"; \
6951 (cd $(HOST_SUBDIR)/dejagnu && \
6952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6954 "RANLIB=$${RANLIB}" \
6955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6956 install-pdf) \
6957 || exit 1
6959 @endif dejagnu
6961 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6962 maybe-install-html-dejagnu:
6963 @if dejagnu
6964 maybe-install-html-dejagnu: install-html-dejagnu
6966 install-html-dejagnu: \
6967 configure-dejagnu \
6968 html-dejagnu
6969 @: $(MAKE); $(unstage)
6970 @[ -f ./dejagnu/Makefile ] || exit 0; \
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(HOST_EXPORTS) \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing install-html in dejagnu"; \
6978 (cd $(HOST_SUBDIR)/dejagnu && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6983 install-html) \
6984 || exit 1
6986 @endif dejagnu
6988 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6989 maybe-installcheck-dejagnu:
6990 @if dejagnu
6991 maybe-installcheck-dejagnu: installcheck-dejagnu
6993 installcheck-dejagnu: \
6994 configure-dejagnu
6995 @: $(MAKE); $(unstage)
6996 @[ -f ./dejagnu/Makefile ] || exit 0; \
6997 r=`${PWD_COMMAND}`; export r; \
6998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6999 $(HOST_EXPORTS) \
7000 for flag in $(EXTRA_HOST_FLAGS) ; do \
7001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7002 done; \
7003 echo "Doing installcheck in dejagnu"; \
7004 (cd $(HOST_SUBDIR)/dejagnu && \
7005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7007 "RANLIB=$${RANLIB}" \
7008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7009 installcheck) \
7010 || exit 1
7012 @endif dejagnu
7014 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7015 maybe-mostlyclean-dejagnu:
7016 @if dejagnu
7017 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7019 mostlyclean-dejagnu:
7020 @: $(MAKE); $(unstage)
7021 @[ -f ./dejagnu/Makefile ] || exit 0; \
7022 r=`${PWD_COMMAND}`; export r; \
7023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7024 $(HOST_EXPORTS) \
7025 for flag in $(EXTRA_HOST_FLAGS) ; do \
7026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7027 done; \
7028 echo "Doing mostlyclean in dejagnu"; \
7029 (cd $(HOST_SUBDIR)/dejagnu && \
7030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7032 "RANLIB=$${RANLIB}" \
7033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7034 mostlyclean) \
7035 || exit 1
7037 @endif dejagnu
7039 .PHONY: maybe-clean-dejagnu clean-dejagnu
7040 maybe-clean-dejagnu:
7041 @if dejagnu
7042 maybe-clean-dejagnu: clean-dejagnu
7044 clean-dejagnu:
7045 @: $(MAKE); $(unstage)
7046 @[ -f ./dejagnu/Makefile ] || exit 0; \
7047 r=`${PWD_COMMAND}`; export r; \
7048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7049 $(HOST_EXPORTS) \
7050 for flag in $(EXTRA_HOST_FLAGS) ; do \
7051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7052 done; \
7053 echo "Doing clean in dejagnu"; \
7054 (cd $(HOST_SUBDIR)/dejagnu && \
7055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7057 "RANLIB=$${RANLIB}" \
7058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7059 clean) \
7060 || exit 1
7062 @endif dejagnu
7064 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7065 maybe-distclean-dejagnu:
7066 @if dejagnu
7067 maybe-distclean-dejagnu: distclean-dejagnu
7069 distclean-dejagnu:
7070 @: $(MAKE); $(unstage)
7071 @[ -f ./dejagnu/Makefile ] || exit 0; \
7072 r=`${PWD_COMMAND}`; export r; \
7073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 $(HOST_EXPORTS) \
7075 for flag in $(EXTRA_HOST_FLAGS) ; do \
7076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7077 done; \
7078 echo "Doing distclean in dejagnu"; \
7079 (cd $(HOST_SUBDIR)/dejagnu && \
7080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7082 "RANLIB=$${RANLIB}" \
7083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7084 distclean) \
7085 || exit 1
7087 @endif dejagnu
7089 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7090 maybe-maintainer-clean-dejagnu:
7091 @if dejagnu
7092 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7094 maintainer-clean-dejagnu:
7095 @: $(MAKE); $(unstage)
7096 @[ -f ./dejagnu/Makefile ] || exit 0; \
7097 r=`${PWD_COMMAND}`; export r; \
7098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 $(HOST_EXPORTS) \
7100 for flag in $(EXTRA_HOST_FLAGS) ; do \
7101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7102 done; \
7103 echo "Doing maintainer-clean in dejagnu"; \
7104 (cd $(HOST_SUBDIR)/dejagnu && \
7105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7107 "RANLIB=$${RANLIB}" \
7108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7109 maintainer-clean) \
7110 || exit 1
7112 @endif dejagnu
7116 .PHONY: configure-etc maybe-configure-etc
7117 maybe-configure-etc:
7118 @if gcc-bootstrap
7119 configure-etc: stage_current
7120 @endif gcc-bootstrap
7121 @if etc
7122 maybe-configure-etc: configure-etc
7123 configure-etc:
7124 @: $(MAKE); $(unstage)
7125 @r=`${PWD_COMMAND}`; export r; \
7126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7127 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7129 $(HOST_EXPORTS) \
7130 echo Configuring in $(HOST_SUBDIR)/etc; \
7131 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7132 case $(srcdir) in \
7133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7134 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7136 esac; \
7137 module_srcdir=etc; \
7138 $(SHELL) \
7139 $$s/$$module_srcdir/configure \
7140 --srcdir=$${topdir}/$$module_srcdir \
7141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7142 --target=${target_alias} \
7143 || exit 1
7144 @endif etc
7150 .PHONY: all-etc maybe-all-etc
7151 maybe-all-etc:
7152 @if gcc-bootstrap
7153 all-etc: stage_current
7154 @endif gcc-bootstrap
7155 @if etc
7156 TARGET-etc=all
7157 maybe-all-etc: all-etc
7158 all-etc: configure-etc
7159 @: $(MAKE); $(unstage)
7160 @r=`${PWD_COMMAND}`; export r; \
7161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7162 $(HOST_EXPORTS) \
7163 (cd $(HOST_SUBDIR)/etc && \
7164 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7165 $(TARGET-etc))
7166 @endif etc
7171 .PHONY: check-etc maybe-check-etc
7172 maybe-check-etc:
7173 @if etc
7174 maybe-check-etc: check-etc
7176 check-etc:
7177 @: $(MAKE); $(unstage)
7178 @r=`${PWD_COMMAND}`; export r; \
7179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7180 $(HOST_EXPORTS) \
7181 (cd $(HOST_SUBDIR)/etc && \
7182 $(MAKE) $(FLAGS_TO_PASS) check)
7184 @endif etc
7186 .PHONY: install-etc maybe-install-etc
7187 maybe-install-etc:
7188 @if etc
7189 maybe-install-etc: install-etc
7191 install-etc: installdirs
7192 @: $(MAKE); $(unstage)
7193 @r=`${PWD_COMMAND}`; export r; \
7194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7195 $(HOST_EXPORTS) \
7196 (cd $(HOST_SUBDIR)/etc && \
7197 $(MAKE) $(FLAGS_TO_PASS) install)
7199 @endif etc
7201 .PHONY: install-strip-etc maybe-install-strip-etc
7202 maybe-install-strip-etc:
7203 @if etc
7204 maybe-install-strip-etc: install-strip-etc
7206 install-strip-etc: installdirs
7207 @: $(MAKE); $(unstage)
7208 @r=`${PWD_COMMAND}`; export r; \
7209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7210 $(HOST_EXPORTS) \
7211 (cd $(HOST_SUBDIR)/etc && \
7212 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7214 @endif etc
7216 # Other targets (info, dvi, pdf, etc.)
7218 .PHONY: maybe-info-etc info-etc
7219 maybe-info-etc:
7220 @if etc
7221 maybe-info-etc: info-etc
7223 info-etc: \
7224 configure-etc
7225 @: $(MAKE); $(unstage)
7226 @[ -f ./etc/Makefile ] || exit 0; \
7227 r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7229 $(HOST_EXPORTS) \
7230 for flag in $(EXTRA_HOST_FLAGS) ; do \
7231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7232 done; \
7233 echo "Doing info in etc"; \
7234 (cd $(HOST_SUBDIR)/etc && \
7235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7237 "RANLIB=$${RANLIB}" \
7238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7239 info) \
7240 || exit 1
7242 @endif etc
7244 .PHONY: maybe-dvi-etc dvi-etc
7245 maybe-dvi-etc:
7246 @if etc
7247 maybe-dvi-etc: dvi-etc
7249 dvi-etc: \
7250 configure-etc
7251 @: $(MAKE); $(unstage)
7252 @[ -f ./etc/Makefile ] || exit 0; \
7253 r=`${PWD_COMMAND}`; export r; \
7254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7255 $(HOST_EXPORTS) \
7256 for flag in $(EXTRA_HOST_FLAGS) ; do \
7257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7258 done; \
7259 echo "Doing dvi in etc"; \
7260 (cd $(HOST_SUBDIR)/etc && \
7261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7263 "RANLIB=$${RANLIB}" \
7264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7265 dvi) \
7266 || exit 1
7268 @endif etc
7270 .PHONY: maybe-pdf-etc pdf-etc
7271 maybe-pdf-etc:
7272 @if etc
7273 maybe-pdf-etc: pdf-etc
7275 pdf-etc: \
7276 configure-etc
7277 @: $(MAKE); $(unstage)
7278 @[ -f ./etc/Makefile ] || exit 0; \
7279 r=`${PWD_COMMAND}`; export r; \
7280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7281 $(HOST_EXPORTS) \
7282 for flag in $(EXTRA_HOST_FLAGS) ; do \
7283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7284 done; \
7285 echo "Doing pdf in etc"; \
7286 (cd $(HOST_SUBDIR)/etc && \
7287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7289 "RANLIB=$${RANLIB}" \
7290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7291 pdf) \
7292 || exit 1
7294 @endif etc
7296 .PHONY: maybe-html-etc html-etc
7297 maybe-html-etc:
7298 @if etc
7299 maybe-html-etc: html-etc
7301 html-etc: \
7302 configure-etc
7303 @: $(MAKE); $(unstage)
7304 @[ -f ./etc/Makefile ] || exit 0; \
7305 r=`${PWD_COMMAND}`; export r; \
7306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7307 $(HOST_EXPORTS) \
7308 for flag in $(EXTRA_HOST_FLAGS) ; do \
7309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7310 done; \
7311 echo "Doing html in etc"; \
7312 (cd $(HOST_SUBDIR)/etc && \
7313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7315 "RANLIB=$${RANLIB}" \
7316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7317 html) \
7318 || exit 1
7320 @endif etc
7322 .PHONY: maybe-TAGS-etc TAGS-etc
7323 maybe-TAGS-etc:
7324 @if etc
7325 maybe-TAGS-etc: TAGS-etc
7327 TAGS-etc: \
7328 configure-etc
7329 @: $(MAKE); $(unstage)
7330 @[ -f ./etc/Makefile ] || exit 0; \
7331 r=`${PWD_COMMAND}`; export r; \
7332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7333 $(HOST_EXPORTS) \
7334 for flag in $(EXTRA_HOST_FLAGS) ; do \
7335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7336 done; \
7337 echo "Doing TAGS in etc"; \
7338 (cd $(HOST_SUBDIR)/etc && \
7339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7341 "RANLIB=$${RANLIB}" \
7342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7343 TAGS) \
7344 || exit 1
7346 @endif etc
7348 .PHONY: maybe-install-info-etc install-info-etc
7349 maybe-install-info-etc:
7350 @if etc
7351 maybe-install-info-etc: install-info-etc
7353 install-info-etc: \
7354 configure-etc \
7355 info-etc
7356 @: $(MAKE); $(unstage)
7357 @[ -f ./etc/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 $(HOST_EXPORTS) \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7363 done; \
7364 echo "Doing install-info in etc"; \
7365 (cd $(HOST_SUBDIR)/etc && \
7366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7368 "RANLIB=$${RANLIB}" \
7369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7370 install-info) \
7371 || exit 1
7373 @endif etc
7375 .PHONY: maybe-install-pdf-etc install-pdf-etc
7376 maybe-install-pdf-etc:
7377 @if etc
7378 maybe-install-pdf-etc: install-pdf-etc
7380 install-pdf-etc: \
7381 configure-etc \
7382 pdf-etc
7383 @: $(MAKE); $(unstage)
7384 @[ -f ./etc/Makefile ] || exit 0; \
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(HOST_EXPORTS) \
7388 for flag in $(EXTRA_HOST_FLAGS) ; do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing install-pdf in etc"; \
7392 (cd $(HOST_SUBDIR)/etc && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7397 install-pdf) \
7398 || exit 1
7400 @endif etc
7402 .PHONY: maybe-install-html-etc install-html-etc
7403 maybe-install-html-etc:
7404 @if etc
7405 maybe-install-html-etc: install-html-etc
7407 install-html-etc: \
7408 configure-etc \
7409 html-etc
7410 @: $(MAKE); $(unstage)
7411 @[ -f ./etc/Makefile ] || exit 0; \
7412 r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7414 $(HOST_EXPORTS) \
7415 for flag in $(EXTRA_HOST_FLAGS) ; do \
7416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7417 done; \
7418 echo "Doing install-html in etc"; \
7419 (cd $(HOST_SUBDIR)/etc && \
7420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7422 "RANLIB=$${RANLIB}" \
7423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7424 install-html) \
7425 || exit 1
7427 @endif etc
7429 .PHONY: maybe-installcheck-etc installcheck-etc
7430 maybe-installcheck-etc:
7431 @if etc
7432 maybe-installcheck-etc: installcheck-etc
7434 installcheck-etc: \
7435 configure-etc
7436 @: $(MAKE); $(unstage)
7437 @[ -f ./etc/Makefile ] || exit 0; \
7438 r=`${PWD_COMMAND}`; export r; \
7439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7440 $(HOST_EXPORTS) \
7441 for flag in $(EXTRA_HOST_FLAGS) ; do \
7442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7443 done; \
7444 echo "Doing installcheck in etc"; \
7445 (cd $(HOST_SUBDIR)/etc && \
7446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7448 "RANLIB=$${RANLIB}" \
7449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7450 installcheck) \
7451 || exit 1
7453 @endif etc
7455 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7456 maybe-mostlyclean-etc:
7457 @if etc
7458 maybe-mostlyclean-etc: mostlyclean-etc
7460 mostlyclean-etc:
7461 @: $(MAKE); $(unstage)
7462 @[ -f ./etc/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(HOST_EXPORTS) \
7466 for flag in $(EXTRA_HOST_FLAGS) ; do \
7467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7468 done; \
7469 echo "Doing mostlyclean in etc"; \
7470 (cd $(HOST_SUBDIR)/etc && \
7471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7473 "RANLIB=$${RANLIB}" \
7474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7475 mostlyclean) \
7476 || exit 1
7478 @endif etc
7480 .PHONY: maybe-clean-etc clean-etc
7481 maybe-clean-etc:
7482 @if etc
7483 maybe-clean-etc: clean-etc
7485 clean-etc:
7486 @: $(MAKE); $(unstage)
7487 @[ -f ./etc/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing clean in etc"; \
7495 (cd $(HOST_SUBDIR)/etc && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7500 clean) \
7501 || exit 1
7503 @endif etc
7505 .PHONY: maybe-distclean-etc distclean-etc
7506 maybe-distclean-etc:
7507 @if etc
7508 maybe-distclean-etc: distclean-etc
7510 distclean-etc:
7511 @: $(MAKE); $(unstage)
7512 @[ -f ./etc/Makefile ] || exit 0; \
7513 r=`${PWD_COMMAND}`; export r; \
7514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7515 $(HOST_EXPORTS) \
7516 for flag in $(EXTRA_HOST_FLAGS) ; do \
7517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7518 done; \
7519 echo "Doing distclean in etc"; \
7520 (cd $(HOST_SUBDIR)/etc && \
7521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7523 "RANLIB=$${RANLIB}" \
7524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7525 distclean) \
7526 || exit 1
7528 @endif etc
7530 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7531 maybe-maintainer-clean-etc:
7532 @if etc
7533 maybe-maintainer-clean-etc: maintainer-clean-etc
7535 maintainer-clean-etc:
7536 @: $(MAKE); $(unstage)
7537 @[ -f ./etc/Makefile ] || exit 0; \
7538 r=`${PWD_COMMAND}`; export r; \
7539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7540 $(HOST_EXPORTS) \
7541 for flag in $(EXTRA_HOST_FLAGS) ; do \
7542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7543 done; \
7544 echo "Doing maintainer-clean in etc"; \
7545 (cd $(HOST_SUBDIR)/etc && \
7546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7548 "RANLIB=$${RANLIB}" \
7549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7550 maintainer-clean) \
7551 || exit 1
7553 @endif etc
7557 .PHONY: configure-fastjar maybe-configure-fastjar
7558 maybe-configure-fastjar:
7559 @if gcc-bootstrap
7560 configure-fastjar: stage_current
7561 @endif gcc-bootstrap
7562 @if fastjar
7563 maybe-configure-fastjar: configure-fastjar
7564 configure-fastjar:
7565 @: $(MAKE); $(unstage)
7566 @r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7568 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
7570 $(HOST_EXPORTS) \
7571 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7572 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7573 case $(srcdir) in \
7574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7575 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7577 esac; \
7578 module_srcdir=fastjar; \
7579 $(SHELL) \
7580 $$s/$$module_srcdir/configure \
7581 --srcdir=$${topdir}/$$module_srcdir \
7582 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7583 --target=${target_alias} \
7584 || exit 1
7585 @endif fastjar
7591 .PHONY: all-fastjar maybe-all-fastjar
7592 maybe-all-fastjar:
7593 @if gcc-bootstrap
7594 all-fastjar: stage_current
7595 @endif gcc-bootstrap
7596 @if fastjar
7597 TARGET-fastjar=all
7598 maybe-all-fastjar: all-fastjar
7599 all-fastjar: configure-fastjar
7600 @: $(MAKE); $(unstage)
7601 @r=`${PWD_COMMAND}`; export r; \
7602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7603 $(HOST_EXPORTS) \
7604 (cd $(HOST_SUBDIR)/fastjar && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7606 $(TARGET-fastjar))
7607 @endif fastjar
7612 .PHONY: check-fastjar maybe-check-fastjar
7613 maybe-check-fastjar:
7614 @if fastjar
7615 maybe-check-fastjar: check-fastjar
7617 # This module is only tested in a native toolchain.
7618 check-fastjar:
7619 @: $(MAKE); $(unstage)
7620 @if [ '$(host)' = '$(target)' ]; then \
7621 r=`${PWD_COMMAND}`; export r; \
7622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 $(HOST_EXPORTS) \
7624 (cd $(HOST_SUBDIR)/fastjar && \
7625 $(MAKE) $(FLAGS_TO_PASS) check)
7628 @endif fastjar
7630 .PHONY: install-fastjar maybe-install-fastjar
7631 maybe-install-fastjar:
7632 @if fastjar
7633 maybe-install-fastjar: install-fastjar
7635 install-fastjar: installdirs
7636 @: $(MAKE); $(unstage)
7637 @r=`${PWD_COMMAND}`; export r; \
7638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7639 $(HOST_EXPORTS) \
7640 (cd $(HOST_SUBDIR)/fastjar && \
7641 $(MAKE) $(FLAGS_TO_PASS) install)
7643 @endif fastjar
7645 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7646 maybe-install-strip-fastjar:
7647 @if fastjar
7648 maybe-install-strip-fastjar: install-strip-fastjar
7650 install-strip-fastjar: installdirs
7651 @: $(MAKE); $(unstage)
7652 @r=`${PWD_COMMAND}`; export r; \
7653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7654 $(HOST_EXPORTS) \
7655 (cd $(HOST_SUBDIR)/fastjar && \
7656 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7658 @endif fastjar
7660 # Other targets (info, dvi, pdf, etc.)
7662 .PHONY: maybe-info-fastjar info-fastjar
7663 maybe-info-fastjar:
7664 @if fastjar
7665 maybe-info-fastjar: info-fastjar
7667 info-fastjar: \
7668 configure-fastjar
7669 @: $(MAKE); $(unstage)
7670 @[ -f ./fastjar/Makefile ] || exit 0; \
7671 r=`${PWD_COMMAND}`; export r; \
7672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 $(HOST_EXPORTS) \
7674 for flag in $(EXTRA_HOST_FLAGS) ; do \
7675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7676 done; \
7677 echo "Doing info in fastjar"; \
7678 (cd $(HOST_SUBDIR)/fastjar && \
7679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7681 "RANLIB=$${RANLIB}" \
7682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7683 info) \
7684 || exit 1
7686 @endif fastjar
7688 .PHONY: maybe-dvi-fastjar dvi-fastjar
7689 maybe-dvi-fastjar:
7690 @if fastjar
7691 maybe-dvi-fastjar: dvi-fastjar
7693 dvi-fastjar: \
7694 configure-fastjar
7695 @: $(MAKE); $(unstage)
7696 @[ -f ./fastjar/Makefile ] || exit 0; \
7697 r=`${PWD_COMMAND}`; export r; \
7698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7699 $(HOST_EXPORTS) \
7700 for flag in $(EXTRA_HOST_FLAGS) ; do \
7701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7702 done; \
7703 echo "Doing dvi in fastjar"; \
7704 (cd $(HOST_SUBDIR)/fastjar && \
7705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7707 "RANLIB=$${RANLIB}" \
7708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7709 dvi) \
7710 || exit 1
7712 @endif fastjar
7714 .PHONY: maybe-pdf-fastjar pdf-fastjar
7715 maybe-pdf-fastjar:
7716 @if fastjar
7717 maybe-pdf-fastjar: pdf-fastjar
7719 pdf-fastjar: \
7720 configure-fastjar
7721 @: $(MAKE); $(unstage)
7722 @[ -f ./fastjar/Makefile ] || exit 0; \
7723 r=`${PWD_COMMAND}`; export r; \
7724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7725 $(HOST_EXPORTS) \
7726 for flag in $(EXTRA_HOST_FLAGS) ; do \
7727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7728 done; \
7729 echo "Doing pdf in fastjar"; \
7730 (cd $(HOST_SUBDIR)/fastjar && \
7731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7733 "RANLIB=$${RANLIB}" \
7734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7735 pdf) \
7736 || exit 1
7738 @endif fastjar
7740 .PHONY: maybe-html-fastjar html-fastjar
7741 maybe-html-fastjar:
7742 @if fastjar
7743 maybe-html-fastjar: html-fastjar
7745 html-fastjar: \
7746 configure-fastjar
7747 @: $(MAKE); $(unstage)
7748 @[ -f ./fastjar/Makefile ] || exit 0; \
7749 r=`${PWD_COMMAND}`; export r; \
7750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7751 $(HOST_EXPORTS) \
7752 for flag in $(EXTRA_HOST_FLAGS) ; do \
7753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7754 done; \
7755 echo "Doing html in fastjar"; \
7756 (cd $(HOST_SUBDIR)/fastjar && \
7757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7759 "RANLIB=$${RANLIB}" \
7760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7761 html) \
7762 || exit 1
7764 @endif fastjar
7766 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7767 maybe-TAGS-fastjar:
7768 @if fastjar
7769 maybe-TAGS-fastjar: TAGS-fastjar
7771 TAGS-fastjar: \
7772 configure-fastjar
7773 @: $(MAKE); $(unstage)
7774 @[ -f ./fastjar/Makefile ] || exit 0; \
7775 r=`${PWD_COMMAND}`; export r; \
7776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7777 $(HOST_EXPORTS) \
7778 for flag in $(EXTRA_HOST_FLAGS) ; do \
7779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7780 done; \
7781 echo "Doing TAGS in fastjar"; \
7782 (cd $(HOST_SUBDIR)/fastjar && \
7783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7785 "RANLIB=$${RANLIB}" \
7786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7787 TAGS) \
7788 || exit 1
7790 @endif fastjar
7792 .PHONY: maybe-install-info-fastjar install-info-fastjar
7793 maybe-install-info-fastjar:
7794 @if fastjar
7795 maybe-install-info-fastjar: install-info-fastjar
7797 install-info-fastjar: \
7798 configure-fastjar \
7799 info-fastjar
7800 @: $(MAKE); $(unstage)
7801 @[ -f ./fastjar/Makefile ] || exit 0; \
7802 r=`${PWD_COMMAND}`; export r; \
7803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7804 $(HOST_EXPORTS) \
7805 for flag in $(EXTRA_HOST_FLAGS) ; do \
7806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7807 done; \
7808 echo "Doing install-info in fastjar"; \
7809 (cd $(HOST_SUBDIR)/fastjar && \
7810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7812 "RANLIB=$${RANLIB}" \
7813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7814 install-info) \
7815 || exit 1
7817 @endif fastjar
7819 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7820 maybe-install-pdf-fastjar:
7821 @if fastjar
7822 maybe-install-pdf-fastjar: install-pdf-fastjar
7824 install-pdf-fastjar: \
7825 configure-fastjar \
7826 pdf-fastjar
7827 @: $(MAKE); $(unstage)
7828 @[ -f ./fastjar/Makefile ] || exit 0; \
7829 r=`${PWD_COMMAND}`; export r; \
7830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7831 $(HOST_EXPORTS) \
7832 for flag in $(EXTRA_HOST_FLAGS) ; do \
7833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7834 done; \
7835 echo "Doing install-pdf in fastjar"; \
7836 (cd $(HOST_SUBDIR)/fastjar && \
7837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7839 "RANLIB=$${RANLIB}" \
7840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7841 install-pdf) \
7842 || exit 1
7844 @endif fastjar
7846 .PHONY: maybe-install-html-fastjar install-html-fastjar
7847 maybe-install-html-fastjar:
7848 @if fastjar
7849 maybe-install-html-fastjar: install-html-fastjar
7851 install-html-fastjar: \
7852 configure-fastjar \
7853 html-fastjar
7854 @: $(MAKE); $(unstage)
7855 @[ -f ./fastjar/Makefile ] || exit 0; \
7856 r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 $(HOST_EXPORTS) \
7859 for flag in $(EXTRA_HOST_FLAGS) ; do \
7860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7861 done; \
7862 echo "Doing install-html in fastjar"; \
7863 (cd $(HOST_SUBDIR)/fastjar && \
7864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7866 "RANLIB=$${RANLIB}" \
7867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7868 install-html) \
7869 || exit 1
7871 @endif fastjar
7873 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7874 maybe-installcheck-fastjar:
7875 @if fastjar
7876 maybe-installcheck-fastjar: installcheck-fastjar
7878 installcheck-fastjar: \
7879 configure-fastjar
7880 @: $(MAKE); $(unstage)
7881 @[ -f ./fastjar/Makefile ] || exit 0; \
7882 r=`${PWD_COMMAND}`; export r; \
7883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7884 $(HOST_EXPORTS) \
7885 for flag in $(EXTRA_HOST_FLAGS) ; do \
7886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7887 done; \
7888 echo "Doing installcheck in fastjar"; \
7889 (cd $(HOST_SUBDIR)/fastjar && \
7890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7892 "RANLIB=$${RANLIB}" \
7893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7894 installcheck) \
7895 || exit 1
7897 @endif fastjar
7899 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7900 maybe-mostlyclean-fastjar:
7901 @if fastjar
7902 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7904 mostlyclean-fastjar:
7905 @: $(MAKE); $(unstage)
7906 @[ -f ./fastjar/Makefile ] || exit 0; \
7907 r=`${PWD_COMMAND}`; export r; \
7908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7909 $(HOST_EXPORTS) \
7910 for flag in $(EXTRA_HOST_FLAGS) ; do \
7911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7912 done; \
7913 echo "Doing mostlyclean in fastjar"; \
7914 (cd $(HOST_SUBDIR)/fastjar && \
7915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7917 "RANLIB=$${RANLIB}" \
7918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7919 mostlyclean) \
7920 || exit 1
7922 @endif fastjar
7924 .PHONY: maybe-clean-fastjar clean-fastjar
7925 maybe-clean-fastjar:
7926 @if fastjar
7927 maybe-clean-fastjar: clean-fastjar
7929 clean-fastjar:
7930 @: $(MAKE); $(unstage)
7931 @[ -f ./fastjar/Makefile ] || exit 0; \
7932 r=`${PWD_COMMAND}`; export r; \
7933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7934 $(HOST_EXPORTS) \
7935 for flag in $(EXTRA_HOST_FLAGS) ; do \
7936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7937 done; \
7938 echo "Doing clean in fastjar"; \
7939 (cd $(HOST_SUBDIR)/fastjar && \
7940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7942 "RANLIB=$${RANLIB}" \
7943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7944 clean) \
7945 || exit 1
7947 @endif fastjar
7949 .PHONY: maybe-distclean-fastjar distclean-fastjar
7950 maybe-distclean-fastjar:
7951 @if fastjar
7952 maybe-distclean-fastjar: distclean-fastjar
7954 distclean-fastjar:
7955 @: $(MAKE); $(unstage)
7956 @[ -f ./fastjar/Makefile ] || exit 0; \
7957 r=`${PWD_COMMAND}`; export r; \
7958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7959 $(HOST_EXPORTS) \
7960 for flag in $(EXTRA_HOST_FLAGS) ; do \
7961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7962 done; \
7963 echo "Doing distclean in fastjar"; \
7964 (cd $(HOST_SUBDIR)/fastjar && \
7965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7967 "RANLIB=$${RANLIB}" \
7968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7969 distclean) \
7970 || exit 1
7972 @endif fastjar
7974 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7975 maybe-maintainer-clean-fastjar:
7976 @if fastjar
7977 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7979 maintainer-clean-fastjar:
7980 @: $(MAKE); $(unstage)
7981 @[ -f ./fastjar/Makefile ] || exit 0; \
7982 r=`${PWD_COMMAND}`; export r; \
7983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7984 $(HOST_EXPORTS) \
7985 for flag in $(EXTRA_HOST_FLAGS) ; do \
7986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7987 done; \
7988 echo "Doing maintainer-clean in fastjar"; \
7989 (cd $(HOST_SUBDIR)/fastjar && \
7990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7992 "RANLIB=$${RANLIB}" \
7993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7994 maintainer-clean) \
7995 || exit 1
7997 @endif fastjar
8001 .PHONY: configure-fixincludes maybe-configure-fixincludes
8002 maybe-configure-fixincludes:
8003 @if gcc-bootstrap
8004 configure-fixincludes: stage_current
8005 @endif gcc-bootstrap
8006 @if fixincludes
8007 maybe-configure-fixincludes: configure-fixincludes
8008 configure-fixincludes:
8009 @r=`${PWD_COMMAND}`; export r; \
8010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8011 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8013 $(HOST_EXPORTS) \
8014 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8015 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8016 case $(srcdir) in \
8017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8018 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8020 esac; \
8021 module_srcdir=fixincludes; \
8022 $(SHELL) \
8023 $$s/$$module_srcdir/configure \
8024 --srcdir=$${topdir}/$$module_srcdir \
8025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8026 --target=${target_alias} \
8027 || exit 1
8028 @endif fixincludes
8032 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8033 maybe-configure-stage1-fixincludes:
8034 @if fixincludes-bootstrap
8035 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8036 configure-stage1-fixincludes:
8037 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8038 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8039 @r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 TFLAGS="$(STAGE1_TFLAGS)"; \
8042 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8043 $(HOST_EXPORTS) \
8044 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8045 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8046 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8047 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8049 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8050 case $(srcdir) in \
8051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8052 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8054 esac; \
8055 module_srcdir=fixincludes; \
8056 $(SHELL) $$s/$$module_srcdir/configure \
8057 --srcdir=$${topdir}/$$module_srcdir \
8058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8059 --target=${target_alias} \
8061 $(STAGE1_CONFIGURE_FLAGS)
8062 @endif fixincludes-bootstrap
8064 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8065 maybe-configure-stage2-fixincludes:
8066 @if fixincludes-bootstrap
8067 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8068 configure-stage2-fixincludes:
8069 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8071 @r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 TFLAGS="$(STAGE2_TFLAGS)"; \
8074 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8075 $(HOST_EXPORTS) \
8076 $(POSTSTAGE1_HOST_EXPORTS) \
8077 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8078 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8079 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8080 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8082 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8083 case $(srcdir) in \
8084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8085 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8087 esac; \
8088 module_srcdir=fixincludes; \
8089 $(SHELL) $$s/$$module_srcdir/configure \
8090 --srcdir=$${topdir}/$$module_srcdir \
8091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8092 --target=${target_alias} \
8093 --with-build-libsubdir=$(HOST_SUBDIR) \
8094 $(STAGE2_CONFIGURE_FLAGS)
8095 @endif fixincludes-bootstrap
8097 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8098 maybe-configure-stage3-fixincludes:
8099 @if fixincludes-bootstrap
8100 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8101 configure-stage3-fixincludes:
8102 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8104 @r=`${PWD_COMMAND}`; export r; \
8105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8106 TFLAGS="$(STAGE3_TFLAGS)"; \
8107 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8108 $(HOST_EXPORTS) \
8109 $(POSTSTAGE1_HOST_EXPORTS) \
8110 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8111 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8112 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8113 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8115 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8116 case $(srcdir) in \
8117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8118 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8120 esac; \
8121 module_srcdir=fixincludes; \
8122 $(SHELL) $$s/$$module_srcdir/configure \
8123 --srcdir=$${topdir}/$$module_srcdir \
8124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8125 --target=${target_alias} \
8126 --with-build-libsubdir=$(HOST_SUBDIR) \
8127 $(STAGE3_CONFIGURE_FLAGS)
8128 @endif fixincludes-bootstrap
8130 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8131 maybe-configure-stage4-fixincludes:
8132 @if fixincludes-bootstrap
8133 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8134 configure-stage4-fixincludes:
8135 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8137 @r=`${PWD_COMMAND}`; export r; \
8138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8139 TFLAGS="$(STAGE4_TFLAGS)"; \
8140 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8141 $(HOST_EXPORTS) \
8142 $(POSTSTAGE1_HOST_EXPORTS) \
8143 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8144 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8145 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8146 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8148 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8149 case $(srcdir) in \
8150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8151 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8153 esac; \
8154 module_srcdir=fixincludes; \
8155 $(SHELL) $$s/$$module_srcdir/configure \
8156 --srcdir=$${topdir}/$$module_srcdir \
8157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8158 --target=${target_alias} \
8159 --with-build-libsubdir=$(HOST_SUBDIR) \
8160 $(STAGE4_CONFIGURE_FLAGS)
8161 @endif fixincludes-bootstrap
8163 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8164 maybe-configure-stageprofile-fixincludes:
8165 @if fixincludes-bootstrap
8166 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8167 configure-stageprofile-fixincludes:
8168 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8170 @r=`${PWD_COMMAND}`; export r; \
8171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8172 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8173 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8174 $(HOST_EXPORTS) \
8175 $(POSTSTAGE1_HOST_EXPORTS) \
8176 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8177 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8178 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8179 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8181 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8182 case $(srcdir) in \
8183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8184 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8186 esac; \
8187 module_srcdir=fixincludes; \
8188 $(SHELL) $$s/$$module_srcdir/configure \
8189 --srcdir=$${topdir}/$$module_srcdir \
8190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8191 --target=${target_alias} \
8192 --with-build-libsubdir=$(HOST_SUBDIR) \
8193 $(STAGEprofile_CONFIGURE_FLAGS)
8194 @endif fixincludes-bootstrap
8196 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8197 maybe-configure-stagefeedback-fixincludes:
8198 @if fixincludes-bootstrap
8199 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8200 configure-stagefeedback-fixincludes:
8201 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8203 @r=`${PWD_COMMAND}`; export r; \
8204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8205 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8206 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8207 $(HOST_EXPORTS) \
8208 $(POSTSTAGE1_HOST_EXPORTS) \
8209 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8210 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8211 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8212 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8214 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8215 case $(srcdir) in \
8216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8217 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8219 esac; \
8220 module_srcdir=fixincludes; \
8221 $(SHELL) $$s/$$module_srcdir/configure \
8222 --srcdir=$${topdir}/$$module_srcdir \
8223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8224 --target=${target_alias} \
8225 --with-build-libsubdir=$(HOST_SUBDIR) \
8226 $(STAGEfeedback_CONFIGURE_FLAGS)
8227 @endif fixincludes-bootstrap
8233 .PHONY: all-fixincludes maybe-all-fixincludes
8234 maybe-all-fixincludes:
8235 @if gcc-bootstrap
8236 all-fixincludes: stage_current
8237 @endif gcc-bootstrap
8238 @if fixincludes
8239 TARGET-fixincludes=all
8240 maybe-all-fixincludes: all-fixincludes
8241 all-fixincludes: configure-fixincludes
8242 @r=`${PWD_COMMAND}`; export r; \
8243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8244 $(HOST_EXPORTS) \
8245 (cd $(HOST_SUBDIR)/fixincludes && \
8246 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8247 $(TARGET-fixincludes))
8248 @endif fixincludes
8252 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8253 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8254 maybe-all-stage1-fixincludes:
8255 maybe-clean-stage1-fixincludes:
8256 @if fixincludes-bootstrap
8257 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8258 all-stage1: all-stage1-fixincludes
8259 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8260 all-stage1-fixincludes: configure-stage1-fixincludes
8261 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8262 @r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8264 TFLAGS="$(STAGE1_TFLAGS)"; \
8265 $(HOST_EXPORTS) \
8266 cd $(HOST_SUBDIR)/fixincludes && \
8267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8268 CFLAGS="$(STAGE1_CFLAGS)" \
8269 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8270 LIBCFLAGS="$(LIBCFLAGS)" \
8271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8274 $(EXTRA_HOST_FLAGS) \
8275 $(STAGE1_FLAGS_TO_PASS) \
8276 TFLAGS="$(STAGE1_TFLAGS)" \
8277 $(TARGET-stage1-fixincludes)
8279 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8280 clean-stage1: clean-stage1-fixincludes
8281 clean-stage1-fixincludes:
8282 @if [ $(current_stage) = stage1 ]; then \
8283 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8284 else \
8285 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8286 $(MAKE) stage1-start; \
8287 fi; \
8288 cd $(HOST_SUBDIR)/fixincludes && \
8289 $(MAKE) $(EXTRA_HOST_FLAGS) \
8290 $(STAGE1_FLAGS_TO_PASS) clean
8291 @endif fixincludes-bootstrap
8294 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8295 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8296 maybe-all-stage2-fixincludes:
8297 maybe-clean-stage2-fixincludes:
8298 @if fixincludes-bootstrap
8299 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8300 all-stage2: all-stage2-fixincludes
8301 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8302 all-stage2-fixincludes: configure-stage2-fixincludes
8303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8304 @r=`${PWD_COMMAND}`; export r; \
8305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8306 TFLAGS="$(STAGE2_TFLAGS)"; \
8307 $(HOST_EXPORTS) \
8308 $(POSTSTAGE1_HOST_EXPORTS) \
8309 cd $(HOST_SUBDIR)/fixincludes && \
8310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8311 CFLAGS="$(STAGE2_CFLAGS)" \
8312 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8313 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8318 TFLAGS="$(STAGE2_TFLAGS)" \
8319 $(TARGET-stage2-fixincludes)
8321 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8322 clean-stage2: clean-stage2-fixincludes
8323 clean-stage2-fixincludes:
8324 @if [ $(current_stage) = stage2 ]; then \
8325 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8326 else \
8327 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8328 $(MAKE) stage2-start; \
8329 fi; \
8330 cd $(HOST_SUBDIR)/fixincludes && \
8331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8332 @endif fixincludes-bootstrap
8335 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8336 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8337 maybe-all-stage3-fixincludes:
8338 maybe-clean-stage3-fixincludes:
8339 @if fixincludes-bootstrap
8340 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8341 all-stage3: all-stage3-fixincludes
8342 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8343 all-stage3-fixincludes: configure-stage3-fixincludes
8344 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8345 @r=`${PWD_COMMAND}`; export r; \
8346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8347 TFLAGS="$(STAGE3_TFLAGS)"; \
8348 $(HOST_EXPORTS) \
8349 $(POSTSTAGE1_HOST_EXPORTS) \
8350 cd $(HOST_SUBDIR)/fixincludes && \
8351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8352 CFLAGS="$(STAGE3_CFLAGS)" \
8353 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8354 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8359 TFLAGS="$(STAGE3_TFLAGS)" \
8360 $(TARGET-stage3-fixincludes)
8362 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8363 clean-stage3: clean-stage3-fixincludes
8364 clean-stage3-fixincludes:
8365 @if [ $(current_stage) = stage3 ]; then \
8366 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8367 else \
8368 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8369 $(MAKE) stage3-start; \
8370 fi; \
8371 cd $(HOST_SUBDIR)/fixincludes && \
8372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8373 @endif fixincludes-bootstrap
8376 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8377 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8378 maybe-all-stage4-fixincludes:
8379 maybe-clean-stage4-fixincludes:
8380 @if fixincludes-bootstrap
8381 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8382 all-stage4: all-stage4-fixincludes
8383 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8384 all-stage4-fixincludes: configure-stage4-fixincludes
8385 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8386 @r=`${PWD_COMMAND}`; export r; \
8387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8388 TFLAGS="$(STAGE4_TFLAGS)"; \
8389 $(HOST_EXPORTS) \
8390 $(POSTSTAGE1_HOST_EXPORTS) \
8391 cd $(HOST_SUBDIR)/fixincludes && \
8392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8393 CFLAGS="$(STAGE4_CFLAGS)" \
8394 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8395 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8400 TFLAGS="$(STAGE4_TFLAGS)" \
8401 $(TARGET-stage4-fixincludes)
8403 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8404 clean-stage4: clean-stage4-fixincludes
8405 clean-stage4-fixincludes:
8406 @if [ $(current_stage) = stage4 ]; then \
8407 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8408 else \
8409 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8410 $(MAKE) stage4-start; \
8411 fi; \
8412 cd $(HOST_SUBDIR)/fixincludes && \
8413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8414 @endif fixincludes-bootstrap
8417 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8418 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8419 maybe-all-stageprofile-fixincludes:
8420 maybe-clean-stageprofile-fixincludes:
8421 @if fixincludes-bootstrap
8422 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8423 all-stageprofile: all-stageprofile-fixincludes
8424 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8425 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8426 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8427 @r=`${PWD_COMMAND}`; export r; \
8428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8429 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8430 $(HOST_EXPORTS) \
8431 $(POSTSTAGE1_HOST_EXPORTS) \
8432 cd $(HOST_SUBDIR)/fixincludes && \
8433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8434 CFLAGS="$(STAGEprofile_CFLAGS)" \
8435 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8436 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8441 TFLAGS="$(STAGEprofile_TFLAGS)" \
8442 $(TARGET-stageprofile-fixincludes)
8444 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8445 clean-stageprofile: clean-stageprofile-fixincludes
8446 clean-stageprofile-fixincludes:
8447 @if [ $(current_stage) = stageprofile ]; then \
8448 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8449 else \
8450 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8451 $(MAKE) stageprofile-start; \
8452 fi; \
8453 cd $(HOST_SUBDIR)/fixincludes && \
8454 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8455 @endif fixincludes-bootstrap
8458 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8459 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8460 maybe-all-stagefeedback-fixincludes:
8461 maybe-clean-stagefeedback-fixincludes:
8462 @if fixincludes-bootstrap
8463 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8464 all-stagefeedback: all-stagefeedback-fixincludes
8465 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8466 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8467 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8468 @r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8471 $(HOST_EXPORTS) \
8472 $(POSTSTAGE1_HOST_EXPORTS) \
8473 cd $(HOST_SUBDIR)/fixincludes && \
8474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8475 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8476 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8477 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8482 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8483 $(TARGET-stagefeedback-fixincludes)
8485 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8486 clean-stagefeedback: clean-stagefeedback-fixincludes
8487 clean-stagefeedback-fixincludes:
8488 @if [ $(current_stage) = stagefeedback ]; then \
8489 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8490 else \
8491 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8492 $(MAKE) stagefeedback-start; \
8493 fi; \
8494 cd $(HOST_SUBDIR)/fixincludes && \
8495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8496 @endif fixincludes-bootstrap
8502 .PHONY: check-fixincludes maybe-check-fixincludes
8503 maybe-check-fixincludes:
8504 @if fixincludes
8505 maybe-check-fixincludes: check-fixincludes
8507 check-fixincludes:
8508 @: $(MAKE); $(unstage)
8509 @r=`${PWD_COMMAND}`; export r; \
8510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
8512 (cd $(HOST_SUBDIR)/fixincludes && \
8513 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
8515 @endif fixincludes
8517 .PHONY: install-fixincludes maybe-install-fixincludes
8518 maybe-install-fixincludes:
8519 @if fixincludes
8520 maybe-install-fixincludes: install-fixincludes
8522 install-fixincludes: installdirs
8523 @: $(MAKE); $(unstage)
8524 @r=`${PWD_COMMAND}`; export r; \
8525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8526 $(HOST_EXPORTS) \
8527 (cd $(HOST_SUBDIR)/fixincludes && \
8528 $(MAKE) $(FLAGS_TO_PASS) install)
8530 @endif fixincludes
8532 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8533 maybe-install-strip-fixincludes:
8534 @if fixincludes
8535 maybe-install-strip-fixincludes: install-strip-fixincludes
8537 install-strip-fixincludes: installdirs
8538 @: $(MAKE); $(unstage)
8539 @r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 (cd $(HOST_SUBDIR)/fixincludes && \
8543 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8545 @endif fixincludes
8547 # Other targets (info, dvi, pdf, etc.)
8549 .PHONY: maybe-info-fixincludes info-fixincludes
8550 maybe-info-fixincludes:
8551 @if fixincludes
8552 maybe-info-fixincludes: info-fixincludes
8554 info-fixincludes: \
8555 configure-fixincludes
8556 @[ -f ./fixincludes/Makefile ] || exit 0; \
8557 r=`${PWD_COMMAND}`; export r; \
8558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8559 $(HOST_EXPORTS) \
8560 for flag in $(EXTRA_HOST_FLAGS) ; do \
8561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8562 done; \
8563 echo "Doing info in fixincludes"; \
8564 (cd $(HOST_SUBDIR)/fixincludes && \
8565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8567 "RANLIB=$${RANLIB}" \
8568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8569 info) \
8570 || exit 1
8572 @endif fixincludes
8574 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8575 maybe-dvi-fixincludes:
8576 @if fixincludes
8577 maybe-dvi-fixincludes: dvi-fixincludes
8579 dvi-fixincludes: \
8580 configure-fixincludes
8581 @[ -f ./fixincludes/Makefile ] || exit 0; \
8582 r=`${PWD_COMMAND}`; export r; \
8583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8584 $(HOST_EXPORTS) \
8585 for flag in $(EXTRA_HOST_FLAGS) ; do \
8586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8587 done; \
8588 echo "Doing dvi in fixincludes"; \
8589 (cd $(HOST_SUBDIR)/fixincludes && \
8590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8592 "RANLIB=$${RANLIB}" \
8593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8594 dvi) \
8595 || exit 1
8597 @endif fixincludes
8599 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8600 maybe-pdf-fixincludes:
8601 @if fixincludes
8602 maybe-pdf-fixincludes: pdf-fixincludes
8604 pdf-fixincludes: \
8605 configure-fixincludes
8606 @[ -f ./fixincludes/Makefile ] || exit 0; \
8607 r=`${PWD_COMMAND}`; export r; \
8608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8609 $(HOST_EXPORTS) \
8610 for flag in $(EXTRA_HOST_FLAGS) ; do \
8611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8612 done; \
8613 echo "Doing pdf in fixincludes"; \
8614 (cd $(HOST_SUBDIR)/fixincludes && \
8615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8617 "RANLIB=$${RANLIB}" \
8618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8619 pdf) \
8620 || exit 1
8622 @endif fixincludes
8624 .PHONY: maybe-html-fixincludes html-fixincludes
8625 maybe-html-fixincludes:
8626 @if fixincludes
8627 maybe-html-fixincludes: html-fixincludes
8629 html-fixincludes: \
8630 configure-fixincludes
8631 @[ -f ./fixincludes/Makefile ] || exit 0; \
8632 r=`${PWD_COMMAND}`; export r; \
8633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8634 $(HOST_EXPORTS) \
8635 for flag in $(EXTRA_HOST_FLAGS) ; do \
8636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8637 done; \
8638 echo "Doing html in fixincludes"; \
8639 (cd $(HOST_SUBDIR)/fixincludes && \
8640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8642 "RANLIB=$${RANLIB}" \
8643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8644 html) \
8645 || exit 1
8647 @endif fixincludes
8649 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8650 maybe-TAGS-fixincludes:
8651 @if fixincludes
8652 maybe-TAGS-fixincludes: TAGS-fixincludes
8654 # fixincludes doesn't support TAGS.
8655 TAGS-fixincludes:
8657 @endif fixincludes
8659 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8660 maybe-install-info-fixincludes:
8661 @if fixincludes
8662 maybe-install-info-fixincludes: install-info-fixincludes
8664 install-info-fixincludes: \
8665 configure-fixincludes \
8666 info-fixincludes
8667 @[ -f ./fixincludes/Makefile ] || exit 0; \
8668 r=`${PWD_COMMAND}`; export r; \
8669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8670 $(HOST_EXPORTS) \
8671 for flag in $(EXTRA_HOST_FLAGS) ; do \
8672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8673 done; \
8674 echo "Doing install-info in fixincludes"; \
8675 (cd $(HOST_SUBDIR)/fixincludes && \
8676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8678 "RANLIB=$${RANLIB}" \
8679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8680 install-info) \
8681 || exit 1
8683 @endif fixincludes
8685 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8686 maybe-install-pdf-fixincludes:
8687 @if fixincludes
8688 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8690 install-pdf-fixincludes: \
8691 configure-fixincludes \
8692 pdf-fixincludes
8693 @[ -f ./fixincludes/Makefile ] || exit 0; \
8694 r=`${PWD_COMMAND}`; export r; \
8695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8696 $(HOST_EXPORTS) \
8697 for flag in $(EXTRA_HOST_FLAGS) ; do \
8698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8699 done; \
8700 echo "Doing install-pdf in fixincludes"; \
8701 (cd $(HOST_SUBDIR)/fixincludes && \
8702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8704 "RANLIB=$${RANLIB}" \
8705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8706 install-pdf) \
8707 || exit 1
8709 @endif fixincludes
8711 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8712 maybe-install-html-fixincludes:
8713 @if fixincludes
8714 maybe-install-html-fixincludes: install-html-fixincludes
8716 install-html-fixincludes: \
8717 configure-fixincludes \
8718 html-fixincludes
8719 @[ -f ./fixincludes/Makefile ] || exit 0; \
8720 r=`${PWD_COMMAND}`; export r; \
8721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8722 $(HOST_EXPORTS) \
8723 for flag in $(EXTRA_HOST_FLAGS) ; do \
8724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8725 done; \
8726 echo "Doing install-html in fixincludes"; \
8727 (cd $(HOST_SUBDIR)/fixincludes && \
8728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8730 "RANLIB=$${RANLIB}" \
8731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8732 install-html) \
8733 || exit 1
8735 @endif fixincludes
8737 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8738 maybe-installcheck-fixincludes:
8739 @if fixincludes
8740 maybe-installcheck-fixincludes: installcheck-fixincludes
8742 installcheck-fixincludes: \
8743 configure-fixincludes
8744 @[ -f ./fixincludes/Makefile ] || exit 0; \
8745 r=`${PWD_COMMAND}`; export r; \
8746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8747 $(HOST_EXPORTS) \
8748 for flag in $(EXTRA_HOST_FLAGS) ; do \
8749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8750 done; \
8751 echo "Doing installcheck in fixincludes"; \
8752 (cd $(HOST_SUBDIR)/fixincludes && \
8753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8755 "RANLIB=$${RANLIB}" \
8756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8757 installcheck) \
8758 || exit 1
8760 @endif fixincludes
8762 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8763 maybe-mostlyclean-fixincludes:
8764 @if fixincludes
8765 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8767 mostlyclean-fixincludes:
8768 @[ -f ./fixincludes/Makefile ] || exit 0; \
8769 r=`${PWD_COMMAND}`; export r; \
8770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8771 $(HOST_EXPORTS) \
8772 for flag in $(EXTRA_HOST_FLAGS) ; do \
8773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8774 done; \
8775 echo "Doing mostlyclean in fixincludes"; \
8776 (cd $(HOST_SUBDIR)/fixincludes && \
8777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8779 "RANLIB=$${RANLIB}" \
8780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8781 mostlyclean) \
8782 || exit 1
8784 @endif fixincludes
8786 .PHONY: maybe-clean-fixincludes clean-fixincludes
8787 maybe-clean-fixincludes:
8788 @if fixincludes
8789 maybe-clean-fixincludes: clean-fixincludes
8791 clean-fixincludes:
8792 @[ -f ./fixincludes/Makefile ] || exit 0; \
8793 r=`${PWD_COMMAND}`; export r; \
8794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8795 $(HOST_EXPORTS) \
8796 for flag in $(EXTRA_HOST_FLAGS) ; do \
8797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8798 done; \
8799 echo "Doing clean in fixincludes"; \
8800 (cd $(HOST_SUBDIR)/fixincludes && \
8801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8803 "RANLIB=$${RANLIB}" \
8804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8805 clean) \
8806 || exit 1
8808 @endif fixincludes
8810 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8811 maybe-distclean-fixincludes:
8812 @if fixincludes
8813 maybe-distclean-fixincludes: distclean-fixincludes
8815 distclean-fixincludes:
8816 @[ -f ./fixincludes/Makefile ] || exit 0; \
8817 r=`${PWD_COMMAND}`; export r; \
8818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8819 $(HOST_EXPORTS) \
8820 for flag in $(EXTRA_HOST_FLAGS) ; do \
8821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8822 done; \
8823 echo "Doing distclean in fixincludes"; \
8824 (cd $(HOST_SUBDIR)/fixincludes && \
8825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8827 "RANLIB=$${RANLIB}" \
8828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8829 distclean) \
8830 || exit 1
8832 @endif fixincludes
8834 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8835 maybe-maintainer-clean-fixincludes:
8836 @if fixincludes
8837 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8839 maintainer-clean-fixincludes:
8840 @[ -f ./fixincludes/Makefile ] || exit 0; \
8841 r=`${PWD_COMMAND}`; export r; \
8842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 $(HOST_EXPORTS) \
8844 for flag in $(EXTRA_HOST_FLAGS) ; do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 done; \
8847 echo "Doing maintainer-clean in fixincludes"; \
8848 (cd $(HOST_SUBDIR)/fixincludes && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8853 maintainer-clean) \
8854 || exit 1
8856 @endif fixincludes
8860 .PHONY: configure-flex maybe-configure-flex
8861 maybe-configure-flex:
8862 @if gcc-bootstrap
8863 configure-flex: stage_current
8864 @endif gcc-bootstrap
8865 @if flex
8866 maybe-configure-flex: configure-flex
8867 configure-flex:
8868 @: $(MAKE); $(unstage)
8869 @r=`${PWD_COMMAND}`; export r; \
8870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8871 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
8873 $(HOST_EXPORTS) \
8874 echo Configuring in $(HOST_SUBDIR)/flex; \
8875 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8876 case $(srcdir) in \
8877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8878 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8880 esac; \
8881 module_srcdir=flex; \
8882 $(SHELL) \
8883 $$s/$$module_srcdir/configure \
8884 --srcdir=$${topdir}/$$module_srcdir \
8885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8886 --target=${target_alias} \
8887 || exit 1
8888 @endif flex
8894 .PHONY: all-flex maybe-all-flex
8895 maybe-all-flex:
8896 @if gcc-bootstrap
8897 all-flex: stage_current
8898 @endif gcc-bootstrap
8899 @if flex
8900 TARGET-flex=all
8901 maybe-all-flex: all-flex
8902 all-flex: configure-flex
8903 @: $(MAKE); $(unstage)
8904 @r=`${PWD_COMMAND}`; export r; \
8905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8906 $(HOST_EXPORTS) \
8907 (cd $(HOST_SUBDIR)/flex && \
8908 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8909 $(TARGET-flex))
8910 @endif flex
8915 .PHONY: check-flex maybe-check-flex
8916 maybe-check-flex:
8917 @if flex
8918 maybe-check-flex: check-flex
8920 # This module is only tested in a native toolchain.
8921 check-flex:
8922 @: $(MAKE); $(unstage)
8923 @if [ '$(host)' = '$(target)' ]; then \
8924 r=`${PWD_COMMAND}`; export r; \
8925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8926 $(HOST_EXPORTS) \
8927 (cd $(HOST_SUBDIR)/flex && \
8928 $(MAKE) $(FLAGS_TO_PASS) check)
8931 @endif flex
8933 .PHONY: install-flex maybe-install-flex
8934 maybe-install-flex:
8935 @if flex
8936 maybe-install-flex: install-flex
8938 install-flex: installdirs
8939 @: $(MAKE); $(unstage)
8940 @r=`${PWD_COMMAND}`; export r; \
8941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8942 $(HOST_EXPORTS) \
8943 (cd $(HOST_SUBDIR)/flex && \
8944 $(MAKE) $(FLAGS_TO_PASS) install)
8946 @endif flex
8948 .PHONY: install-strip-flex maybe-install-strip-flex
8949 maybe-install-strip-flex:
8950 @if flex
8951 maybe-install-strip-flex: install-strip-flex
8953 install-strip-flex: installdirs
8954 @: $(MAKE); $(unstage)
8955 @r=`${PWD_COMMAND}`; export r; \
8956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8957 $(HOST_EXPORTS) \
8958 (cd $(HOST_SUBDIR)/flex && \
8959 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8961 @endif flex
8963 # Other targets (info, dvi, pdf, etc.)
8965 .PHONY: maybe-info-flex info-flex
8966 maybe-info-flex:
8967 @if flex
8968 maybe-info-flex: info-flex
8970 info-flex: \
8971 configure-flex
8972 @: $(MAKE); $(unstage)
8973 @[ -f ./flex/Makefile ] || exit 0; \
8974 r=`${PWD_COMMAND}`; export r; \
8975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8976 $(HOST_EXPORTS) \
8977 for flag in $(EXTRA_HOST_FLAGS) ; do \
8978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8979 done; \
8980 echo "Doing info in flex"; \
8981 (cd $(HOST_SUBDIR)/flex && \
8982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8984 "RANLIB=$${RANLIB}" \
8985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8986 info) \
8987 || exit 1
8989 @endif flex
8991 .PHONY: maybe-dvi-flex dvi-flex
8992 maybe-dvi-flex:
8993 @if flex
8994 maybe-dvi-flex: dvi-flex
8996 dvi-flex: \
8997 configure-flex
8998 @: $(MAKE); $(unstage)
8999 @[ -f ./flex/Makefile ] || exit 0; \
9000 r=`${PWD_COMMAND}`; export r; \
9001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9002 $(HOST_EXPORTS) \
9003 for flag in $(EXTRA_HOST_FLAGS) ; do \
9004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9005 done; \
9006 echo "Doing dvi in flex"; \
9007 (cd $(HOST_SUBDIR)/flex && \
9008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9010 "RANLIB=$${RANLIB}" \
9011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9012 dvi) \
9013 || exit 1
9015 @endif flex
9017 .PHONY: maybe-pdf-flex pdf-flex
9018 maybe-pdf-flex:
9019 @if flex
9020 maybe-pdf-flex: pdf-flex
9022 pdf-flex: \
9023 configure-flex
9024 @: $(MAKE); $(unstage)
9025 @[ -f ./flex/Makefile ] || exit 0; \
9026 r=`${PWD_COMMAND}`; export r; \
9027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9028 $(HOST_EXPORTS) \
9029 for flag in $(EXTRA_HOST_FLAGS) ; do \
9030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9031 done; \
9032 echo "Doing pdf in flex"; \
9033 (cd $(HOST_SUBDIR)/flex && \
9034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9036 "RANLIB=$${RANLIB}" \
9037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9038 pdf) \
9039 || exit 1
9041 @endif flex
9043 .PHONY: maybe-html-flex html-flex
9044 maybe-html-flex:
9045 @if flex
9046 maybe-html-flex: html-flex
9048 html-flex: \
9049 configure-flex
9050 @: $(MAKE); $(unstage)
9051 @[ -f ./flex/Makefile ] || exit 0; \
9052 r=`${PWD_COMMAND}`; export r; \
9053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9054 $(HOST_EXPORTS) \
9055 for flag in $(EXTRA_HOST_FLAGS) ; do \
9056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9057 done; \
9058 echo "Doing html in flex"; \
9059 (cd $(HOST_SUBDIR)/flex && \
9060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9062 "RANLIB=$${RANLIB}" \
9063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9064 html) \
9065 || exit 1
9067 @endif flex
9069 .PHONY: maybe-TAGS-flex TAGS-flex
9070 maybe-TAGS-flex:
9071 @if flex
9072 maybe-TAGS-flex: TAGS-flex
9074 TAGS-flex: \
9075 configure-flex
9076 @: $(MAKE); $(unstage)
9077 @[ -f ./flex/Makefile ] || exit 0; \
9078 r=`${PWD_COMMAND}`; export r; \
9079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9080 $(HOST_EXPORTS) \
9081 for flag in $(EXTRA_HOST_FLAGS) ; do \
9082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9083 done; \
9084 echo "Doing TAGS in flex"; \
9085 (cd $(HOST_SUBDIR)/flex && \
9086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9088 "RANLIB=$${RANLIB}" \
9089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9090 TAGS) \
9091 || exit 1
9093 @endif flex
9095 .PHONY: maybe-install-info-flex install-info-flex
9096 maybe-install-info-flex:
9097 @if flex
9098 maybe-install-info-flex: install-info-flex
9100 install-info-flex: \
9101 configure-flex \
9102 info-flex
9103 @: $(MAKE); $(unstage)
9104 @[ -f ./flex/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(HOST_EXPORTS) \
9108 for flag in $(EXTRA_HOST_FLAGS) ; do \
9109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9110 done; \
9111 echo "Doing install-info in flex"; \
9112 (cd $(HOST_SUBDIR)/flex && \
9113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9115 "RANLIB=$${RANLIB}" \
9116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9117 install-info) \
9118 || exit 1
9120 @endif flex
9122 .PHONY: maybe-install-pdf-flex install-pdf-flex
9123 maybe-install-pdf-flex:
9124 @if flex
9125 maybe-install-pdf-flex: install-pdf-flex
9127 install-pdf-flex: \
9128 configure-flex \
9129 pdf-flex
9130 @: $(MAKE); $(unstage)
9131 @[ -f ./flex/Makefile ] || exit 0; \
9132 r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9134 $(HOST_EXPORTS) \
9135 for flag in $(EXTRA_HOST_FLAGS) ; do \
9136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9137 done; \
9138 echo "Doing install-pdf in flex"; \
9139 (cd $(HOST_SUBDIR)/flex && \
9140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9142 "RANLIB=$${RANLIB}" \
9143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9144 install-pdf) \
9145 || exit 1
9147 @endif flex
9149 .PHONY: maybe-install-html-flex install-html-flex
9150 maybe-install-html-flex:
9151 @if flex
9152 maybe-install-html-flex: install-html-flex
9154 install-html-flex: \
9155 configure-flex \
9156 html-flex
9157 @: $(MAKE); $(unstage)
9158 @[ -f ./flex/Makefile ] || exit 0; \
9159 r=`${PWD_COMMAND}`; export r; \
9160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9161 $(HOST_EXPORTS) \
9162 for flag in $(EXTRA_HOST_FLAGS) ; do \
9163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9164 done; \
9165 echo "Doing install-html in flex"; \
9166 (cd $(HOST_SUBDIR)/flex && \
9167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9169 "RANLIB=$${RANLIB}" \
9170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9171 install-html) \
9172 || exit 1
9174 @endif flex
9176 .PHONY: maybe-installcheck-flex installcheck-flex
9177 maybe-installcheck-flex:
9178 @if flex
9179 maybe-installcheck-flex: installcheck-flex
9181 installcheck-flex: \
9182 configure-flex
9183 @: $(MAKE); $(unstage)
9184 @[ -f ./flex/Makefile ] || exit 0; \
9185 r=`${PWD_COMMAND}`; export r; \
9186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9187 $(HOST_EXPORTS) \
9188 for flag in $(EXTRA_HOST_FLAGS) ; do \
9189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9190 done; \
9191 echo "Doing installcheck in flex"; \
9192 (cd $(HOST_SUBDIR)/flex && \
9193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9195 "RANLIB=$${RANLIB}" \
9196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9197 installcheck) \
9198 || exit 1
9200 @endif flex
9202 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9203 maybe-mostlyclean-flex:
9204 @if flex
9205 maybe-mostlyclean-flex: mostlyclean-flex
9207 mostlyclean-flex:
9208 @: $(MAKE); $(unstage)
9209 @[ -f ./flex/Makefile ] || exit 0; \
9210 r=`${PWD_COMMAND}`; export r; \
9211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 $(HOST_EXPORTS) \
9213 for flag in $(EXTRA_HOST_FLAGS) ; do \
9214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9215 done; \
9216 echo "Doing mostlyclean in flex"; \
9217 (cd $(HOST_SUBDIR)/flex && \
9218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9220 "RANLIB=$${RANLIB}" \
9221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9222 mostlyclean) \
9223 || exit 1
9225 @endif flex
9227 .PHONY: maybe-clean-flex clean-flex
9228 maybe-clean-flex:
9229 @if flex
9230 maybe-clean-flex: clean-flex
9232 clean-flex:
9233 @: $(MAKE); $(unstage)
9234 @[ -f ./flex/Makefile ] || exit 0; \
9235 r=`${PWD_COMMAND}`; export r; \
9236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9237 $(HOST_EXPORTS) \
9238 for flag in $(EXTRA_HOST_FLAGS) ; do \
9239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9240 done; \
9241 echo "Doing clean in flex"; \
9242 (cd $(HOST_SUBDIR)/flex && \
9243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9245 "RANLIB=$${RANLIB}" \
9246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9247 clean) \
9248 || exit 1
9250 @endif flex
9252 .PHONY: maybe-distclean-flex distclean-flex
9253 maybe-distclean-flex:
9254 @if flex
9255 maybe-distclean-flex: distclean-flex
9257 distclean-flex:
9258 @: $(MAKE); $(unstage)
9259 @[ -f ./flex/Makefile ] || exit 0; \
9260 r=`${PWD_COMMAND}`; export r; \
9261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9262 $(HOST_EXPORTS) \
9263 for flag in $(EXTRA_HOST_FLAGS) ; do \
9264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9265 done; \
9266 echo "Doing distclean in flex"; \
9267 (cd $(HOST_SUBDIR)/flex && \
9268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9270 "RANLIB=$${RANLIB}" \
9271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9272 distclean) \
9273 || exit 1
9275 @endif flex
9277 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9278 maybe-maintainer-clean-flex:
9279 @if flex
9280 maybe-maintainer-clean-flex: maintainer-clean-flex
9282 maintainer-clean-flex:
9283 @: $(MAKE); $(unstage)
9284 @[ -f ./flex/Makefile ] || exit 0; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287 $(HOST_EXPORTS) \
9288 for flag in $(EXTRA_HOST_FLAGS) ; do \
9289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9290 done; \
9291 echo "Doing maintainer-clean in flex"; \
9292 (cd $(HOST_SUBDIR)/flex && \
9293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9295 "RANLIB=$${RANLIB}" \
9296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9297 maintainer-clean) \
9298 || exit 1
9300 @endif flex
9304 .PHONY: configure-gas maybe-configure-gas
9305 maybe-configure-gas:
9306 @if gcc-bootstrap
9307 configure-gas: stage_current
9308 @endif gcc-bootstrap
9309 @if gas
9310 maybe-configure-gas: configure-gas
9311 configure-gas:
9312 @r=`${PWD_COMMAND}`; export r; \
9313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9314 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9316 $(HOST_EXPORTS) \
9317 echo Configuring in $(HOST_SUBDIR)/gas; \
9318 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9319 case $(srcdir) in \
9320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9321 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9323 esac; \
9324 module_srcdir=gas; \
9325 $(SHELL) \
9326 $$s/$$module_srcdir/configure \
9327 --srcdir=$${topdir}/$$module_srcdir \
9328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9329 --target=${target_alias} \
9330 || exit 1
9331 @endif gas
9335 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9336 maybe-configure-stage1-gas:
9337 @if gas-bootstrap
9338 maybe-configure-stage1-gas: configure-stage1-gas
9339 configure-stage1-gas:
9340 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9342 @r=`${PWD_COMMAND}`; export r; \
9343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9344 TFLAGS="$(STAGE1_TFLAGS)"; \
9345 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9346 $(HOST_EXPORTS) \
9347 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9348 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9349 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9350 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
9351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9352 cd $(HOST_SUBDIR)/gas || exit 1; \
9353 case $(srcdir) in \
9354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9355 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9357 esac; \
9358 module_srcdir=gas; \
9359 $(SHELL) $$s/$$module_srcdir/configure \
9360 --srcdir=$${topdir}/$$module_srcdir \
9361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9362 --target=${target_alias} \
9364 $(STAGE1_CONFIGURE_FLAGS)
9365 @endif gas-bootstrap
9367 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9368 maybe-configure-stage2-gas:
9369 @if gas-bootstrap
9370 maybe-configure-stage2-gas: configure-stage2-gas
9371 configure-stage2-gas:
9372 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9374 @r=`${PWD_COMMAND}`; export r; \
9375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9376 TFLAGS="$(STAGE2_TFLAGS)"; \
9377 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9378 $(HOST_EXPORTS) \
9379 $(POSTSTAGE1_HOST_EXPORTS) \
9380 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9381 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9382 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9383 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
9384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9385 cd $(HOST_SUBDIR)/gas || exit 1; \
9386 case $(srcdir) in \
9387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9388 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9390 esac; \
9391 module_srcdir=gas; \
9392 $(SHELL) $$s/$$module_srcdir/configure \
9393 --srcdir=$${topdir}/$$module_srcdir \
9394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9395 --target=${target_alias} \
9396 --with-build-libsubdir=$(HOST_SUBDIR) \
9397 $(STAGE2_CONFIGURE_FLAGS)
9398 @endif gas-bootstrap
9400 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9401 maybe-configure-stage3-gas:
9402 @if gas-bootstrap
9403 maybe-configure-stage3-gas: configure-stage3-gas
9404 configure-stage3-gas:
9405 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9407 @r=`${PWD_COMMAND}`; export r; \
9408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9409 TFLAGS="$(STAGE3_TFLAGS)"; \
9410 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9411 $(HOST_EXPORTS) \
9412 $(POSTSTAGE1_HOST_EXPORTS) \
9413 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9414 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9415 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9416 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
9417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9418 cd $(HOST_SUBDIR)/gas || exit 1; \
9419 case $(srcdir) in \
9420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9421 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9423 esac; \
9424 module_srcdir=gas; \
9425 $(SHELL) $$s/$$module_srcdir/configure \
9426 --srcdir=$${topdir}/$$module_srcdir \
9427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9428 --target=${target_alias} \
9429 --with-build-libsubdir=$(HOST_SUBDIR) \
9430 $(STAGE3_CONFIGURE_FLAGS)
9431 @endif gas-bootstrap
9433 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9434 maybe-configure-stage4-gas:
9435 @if gas-bootstrap
9436 maybe-configure-stage4-gas: configure-stage4-gas
9437 configure-stage4-gas:
9438 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9440 @r=`${PWD_COMMAND}`; export r; \
9441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9442 TFLAGS="$(STAGE4_TFLAGS)"; \
9443 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9444 $(HOST_EXPORTS) \
9445 $(POSTSTAGE1_HOST_EXPORTS) \
9446 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9447 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9448 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9449 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
9450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9451 cd $(HOST_SUBDIR)/gas || exit 1; \
9452 case $(srcdir) in \
9453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9454 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9456 esac; \
9457 module_srcdir=gas; \
9458 $(SHELL) $$s/$$module_srcdir/configure \
9459 --srcdir=$${topdir}/$$module_srcdir \
9460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9461 --target=${target_alias} \
9462 --with-build-libsubdir=$(HOST_SUBDIR) \
9463 $(STAGE4_CONFIGURE_FLAGS)
9464 @endif gas-bootstrap
9466 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9467 maybe-configure-stageprofile-gas:
9468 @if gas-bootstrap
9469 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9470 configure-stageprofile-gas:
9471 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9473 @r=`${PWD_COMMAND}`; export r; \
9474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9476 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9477 $(HOST_EXPORTS) \
9478 $(POSTSTAGE1_HOST_EXPORTS) \
9479 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9480 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9481 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9482 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
9483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9484 cd $(HOST_SUBDIR)/gas || exit 1; \
9485 case $(srcdir) in \
9486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9487 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9489 esac; \
9490 module_srcdir=gas; \
9491 $(SHELL) $$s/$$module_srcdir/configure \
9492 --srcdir=$${topdir}/$$module_srcdir \
9493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9494 --target=${target_alias} \
9495 --with-build-libsubdir=$(HOST_SUBDIR) \
9496 $(STAGEprofile_CONFIGURE_FLAGS)
9497 @endif gas-bootstrap
9499 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9500 maybe-configure-stagefeedback-gas:
9501 @if gas-bootstrap
9502 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9503 configure-stagefeedback-gas:
9504 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9506 @r=`${PWD_COMMAND}`; export r; \
9507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9508 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9509 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9510 $(HOST_EXPORTS) \
9511 $(POSTSTAGE1_HOST_EXPORTS) \
9512 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9513 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9514 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9515 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
9516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9517 cd $(HOST_SUBDIR)/gas || exit 1; \
9518 case $(srcdir) in \
9519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9520 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9522 esac; \
9523 module_srcdir=gas; \
9524 $(SHELL) $$s/$$module_srcdir/configure \
9525 --srcdir=$${topdir}/$$module_srcdir \
9526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9527 --target=${target_alias} \
9528 --with-build-libsubdir=$(HOST_SUBDIR) \
9529 $(STAGEfeedback_CONFIGURE_FLAGS)
9530 @endif gas-bootstrap
9536 .PHONY: all-gas maybe-all-gas
9537 maybe-all-gas:
9538 @if gcc-bootstrap
9539 all-gas: stage_current
9540 @endif gcc-bootstrap
9541 @if gas
9542 TARGET-gas=all
9543 maybe-all-gas: all-gas
9544 all-gas: configure-gas
9545 @r=`${PWD_COMMAND}`; export r; \
9546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9547 $(HOST_EXPORTS) \
9548 (cd $(HOST_SUBDIR)/gas && \
9549 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9550 $(TARGET-gas))
9551 @endif gas
9555 .PHONY: all-stage1-gas maybe-all-stage1-gas
9556 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9557 maybe-all-stage1-gas:
9558 maybe-clean-stage1-gas:
9559 @if gas-bootstrap
9560 maybe-all-stage1-gas: all-stage1-gas
9561 all-stage1: all-stage1-gas
9562 TARGET-stage1-gas = $(TARGET-gas)
9563 all-stage1-gas: configure-stage1-gas
9564 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9565 @r=`${PWD_COMMAND}`; export r; \
9566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 TFLAGS="$(STAGE1_TFLAGS)"; \
9568 $(HOST_EXPORTS) \
9569 cd $(HOST_SUBDIR)/gas && \
9570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9571 CFLAGS="$(STAGE1_CFLAGS)" \
9572 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9573 LIBCFLAGS="$(LIBCFLAGS)" \
9574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9577 $(EXTRA_HOST_FLAGS) \
9578 $(STAGE1_FLAGS_TO_PASS) \
9579 TFLAGS="$(STAGE1_TFLAGS)" \
9580 $(TARGET-stage1-gas)
9582 maybe-clean-stage1-gas: clean-stage1-gas
9583 clean-stage1: clean-stage1-gas
9584 clean-stage1-gas:
9585 @if [ $(current_stage) = stage1 ]; then \
9586 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9587 else \
9588 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9589 $(MAKE) stage1-start; \
9590 fi; \
9591 cd $(HOST_SUBDIR)/gas && \
9592 $(MAKE) $(EXTRA_HOST_FLAGS) \
9593 $(STAGE1_FLAGS_TO_PASS) clean
9594 @endif gas-bootstrap
9597 .PHONY: all-stage2-gas maybe-all-stage2-gas
9598 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9599 maybe-all-stage2-gas:
9600 maybe-clean-stage2-gas:
9601 @if gas-bootstrap
9602 maybe-all-stage2-gas: all-stage2-gas
9603 all-stage2: all-stage2-gas
9604 TARGET-stage2-gas = $(TARGET-gas)
9605 all-stage2-gas: configure-stage2-gas
9606 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9607 @r=`${PWD_COMMAND}`; export r; \
9608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9609 TFLAGS="$(STAGE2_TFLAGS)"; \
9610 $(HOST_EXPORTS) \
9611 $(POSTSTAGE1_HOST_EXPORTS) \
9612 cd $(HOST_SUBDIR)/gas && \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9614 CFLAGS="$(STAGE2_CFLAGS)" \
9615 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9616 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9620 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9621 TFLAGS="$(STAGE2_TFLAGS)" \
9622 $(TARGET-stage2-gas)
9624 maybe-clean-stage2-gas: clean-stage2-gas
9625 clean-stage2: clean-stage2-gas
9626 clean-stage2-gas:
9627 @if [ $(current_stage) = stage2 ]; then \
9628 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9629 else \
9630 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9631 $(MAKE) stage2-start; \
9632 fi; \
9633 cd $(HOST_SUBDIR)/gas && \
9634 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9635 @endif gas-bootstrap
9638 .PHONY: all-stage3-gas maybe-all-stage3-gas
9639 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9640 maybe-all-stage3-gas:
9641 maybe-clean-stage3-gas:
9642 @if gas-bootstrap
9643 maybe-all-stage3-gas: all-stage3-gas
9644 all-stage3: all-stage3-gas
9645 TARGET-stage3-gas = $(TARGET-gas)
9646 all-stage3-gas: configure-stage3-gas
9647 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9648 @r=`${PWD_COMMAND}`; export r; \
9649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9650 TFLAGS="$(STAGE3_TFLAGS)"; \
9651 $(HOST_EXPORTS) \
9652 $(POSTSTAGE1_HOST_EXPORTS) \
9653 cd $(HOST_SUBDIR)/gas && \
9654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9655 CFLAGS="$(STAGE3_CFLAGS)" \
9656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9657 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9662 TFLAGS="$(STAGE3_TFLAGS)" \
9663 $(TARGET-stage3-gas)
9665 maybe-clean-stage3-gas: clean-stage3-gas
9666 clean-stage3: clean-stage3-gas
9667 clean-stage3-gas:
9668 @if [ $(current_stage) = stage3 ]; then \
9669 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9670 else \
9671 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9672 $(MAKE) stage3-start; \
9673 fi; \
9674 cd $(HOST_SUBDIR)/gas && \
9675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9676 @endif gas-bootstrap
9679 .PHONY: all-stage4-gas maybe-all-stage4-gas
9680 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9681 maybe-all-stage4-gas:
9682 maybe-clean-stage4-gas:
9683 @if gas-bootstrap
9684 maybe-all-stage4-gas: all-stage4-gas
9685 all-stage4: all-stage4-gas
9686 TARGET-stage4-gas = $(TARGET-gas)
9687 all-stage4-gas: configure-stage4-gas
9688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9689 @r=`${PWD_COMMAND}`; export r; \
9690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9691 TFLAGS="$(STAGE4_TFLAGS)"; \
9692 $(HOST_EXPORTS) \
9693 $(POSTSTAGE1_HOST_EXPORTS) \
9694 cd $(HOST_SUBDIR)/gas && \
9695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9696 CFLAGS="$(STAGE4_CFLAGS)" \
9697 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9698 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9702 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9703 TFLAGS="$(STAGE4_TFLAGS)" \
9704 $(TARGET-stage4-gas)
9706 maybe-clean-stage4-gas: clean-stage4-gas
9707 clean-stage4: clean-stage4-gas
9708 clean-stage4-gas:
9709 @if [ $(current_stage) = stage4 ]; then \
9710 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9711 else \
9712 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9713 $(MAKE) stage4-start; \
9714 fi; \
9715 cd $(HOST_SUBDIR)/gas && \
9716 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9717 @endif gas-bootstrap
9720 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9721 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9722 maybe-all-stageprofile-gas:
9723 maybe-clean-stageprofile-gas:
9724 @if gas-bootstrap
9725 maybe-all-stageprofile-gas: all-stageprofile-gas
9726 all-stageprofile: all-stageprofile-gas
9727 TARGET-stageprofile-gas = $(TARGET-gas)
9728 all-stageprofile-gas: configure-stageprofile-gas
9729 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9730 @r=`${PWD_COMMAND}`; export r; \
9731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9732 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9733 $(HOST_EXPORTS) \
9734 $(POSTSTAGE1_HOST_EXPORTS) \
9735 cd $(HOST_SUBDIR)/gas && \
9736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9737 CFLAGS="$(STAGEprofile_CFLAGS)" \
9738 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9739 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9744 TFLAGS="$(STAGEprofile_TFLAGS)" \
9745 $(TARGET-stageprofile-gas)
9747 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9748 clean-stageprofile: clean-stageprofile-gas
9749 clean-stageprofile-gas:
9750 @if [ $(current_stage) = stageprofile ]; then \
9751 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9752 else \
9753 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9754 $(MAKE) stageprofile-start; \
9755 fi; \
9756 cd $(HOST_SUBDIR)/gas && \
9757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9758 @endif gas-bootstrap
9761 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9762 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9763 maybe-all-stagefeedback-gas:
9764 maybe-clean-stagefeedback-gas:
9765 @if gas-bootstrap
9766 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9767 all-stagefeedback: all-stagefeedback-gas
9768 TARGET-stagefeedback-gas = $(TARGET-gas)
9769 all-stagefeedback-gas: configure-stagefeedback-gas
9770 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9771 @r=`${PWD_COMMAND}`; export r; \
9772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9773 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9774 $(HOST_EXPORTS) \
9775 $(POSTSTAGE1_HOST_EXPORTS) \
9776 cd $(HOST_SUBDIR)/gas && \
9777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9778 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9779 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9780 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9785 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9786 $(TARGET-stagefeedback-gas)
9788 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9789 clean-stagefeedback: clean-stagefeedback-gas
9790 clean-stagefeedback-gas:
9791 @if [ $(current_stage) = stagefeedback ]; then \
9792 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9793 else \
9794 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9795 $(MAKE) stagefeedback-start; \
9796 fi; \
9797 cd $(HOST_SUBDIR)/gas && \
9798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9799 @endif gas-bootstrap
9805 .PHONY: check-gas maybe-check-gas
9806 maybe-check-gas:
9807 @if gas
9808 maybe-check-gas: check-gas
9810 check-gas:
9811 @: $(MAKE); $(unstage)
9812 @r=`${PWD_COMMAND}`; export r; \
9813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9814 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9815 (cd $(HOST_SUBDIR)/gas && \
9816 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9818 @endif gas
9820 .PHONY: install-gas maybe-install-gas
9821 maybe-install-gas:
9822 @if gas
9823 maybe-install-gas: install-gas
9825 install-gas: installdirs
9826 @: $(MAKE); $(unstage)
9827 @r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 $(HOST_EXPORTS) \
9830 (cd $(HOST_SUBDIR)/gas && \
9831 $(MAKE) $(FLAGS_TO_PASS) install)
9833 @endif gas
9835 .PHONY: install-strip-gas maybe-install-strip-gas
9836 maybe-install-strip-gas:
9837 @if gas
9838 maybe-install-strip-gas: install-strip-gas
9840 install-strip-gas: installdirs
9841 @: $(MAKE); $(unstage)
9842 @r=`${PWD_COMMAND}`; export r; \
9843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9844 $(HOST_EXPORTS) \
9845 (cd $(HOST_SUBDIR)/gas && \
9846 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9848 @endif gas
9850 # Other targets (info, dvi, pdf, etc.)
9852 .PHONY: maybe-info-gas info-gas
9853 maybe-info-gas:
9854 @if gas
9855 maybe-info-gas: info-gas
9857 info-gas: \
9858 configure-gas
9859 @[ -f ./gas/Makefile ] || exit 0; \
9860 r=`${PWD_COMMAND}`; export r; \
9861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9862 $(HOST_EXPORTS) \
9863 for flag in $(EXTRA_HOST_FLAGS) ; do \
9864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9865 done; \
9866 echo "Doing info in gas"; \
9867 (cd $(HOST_SUBDIR)/gas && \
9868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9870 "RANLIB=$${RANLIB}" \
9871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9872 info) \
9873 || exit 1
9875 @endif gas
9877 .PHONY: maybe-dvi-gas dvi-gas
9878 maybe-dvi-gas:
9879 @if gas
9880 maybe-dvi-gas: dvi-gas
9882 dvi-gas: \
9883 configure-gas
9884 @[ -f ./gas/Makefile ] || exit 0; \
9885 r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(HOST_EXPORTS) \
9888 for flag in $(EXTRA_HOST_FLAGS) ; do \
9889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9890 done; \
9891 echo "Doing dvi in gas"; \
9892 (cd $(HOST_SUBDIR)/gas && \
9893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9895 "RANLIB=$${RANLIB}" \
9896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9897 dvi) \
9898 || exit 1
9900 @endif gas
9902 .PHONY: maybe-pdf-gas pdf-gas
9903 maybe-pdf-gas:
9904 @if gas
9905 maybe-pdf-gas: pdf-gas
9907 pdf-gas: \
9908 configure-gas
9909 @[ -f ./gas/Makefile ] || exit 0; \
9910 r=`${PWD_COMMAND}`; export r; \
9911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9912 $(HOST_EXPORTS) \
9913 for flag in $(EXTRA_HOST_FLAGS) ; do \
9914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9915 done; \
9916 echo "Doing pdf in gas"; \
9917 (cd $(HOST_SUBDIR)/gas && \
9918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9920 "RANLIB=$${RANLIB}" \
9921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9922 pdf) \
9923 || exit 1
9925 @endif gas
9927 .PHONY: maybe-html-gas html-gas
9928 maybe-html-gas:
9929 @if gas
9930 maybe-html-gas: html-gas
9932 html-gas: \
9933 configure-gas
9934 @[ -f ./gas/Makefile ] || exit 0; \
9935 r=`${PWD_COMMAND}`; export r; \
9936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9937 $(HOST_EXPORTS) \
9938 for flag in $(EXTRA_HOST_FLAGS) ; do \
9939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9940 done; \
9941 echo "Doing html in gas"; \
9942 (cd $(HOST_SUBDIR)/gas && \
9943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9945 "RANLIB=$${RANLIB}" \
9946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9947 html) \
9948 || exit 1
9950 @endif gas
9952 .PHONY: maybe-TAGS-gas TAGS-gas
9953 maybe-TAGS-gas:
9954 @if gas
9955 maybe-TAGS-gas: TAGS-gas
9957 TAGS-gas: \
9958 configure-gas
9959 @[ -f ./gas/Makefile ] || exit 0; \
9960 r=`${PWD_COMMAND}`; export r; \
9961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9962 $(HOST_EXPORTS) \
9963 for flag in $(EXTRA_HOST_FLAGS) ; do \
9964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9965 done; \
9966 echo "Doing TAGS in gas"; \
9967 (cd $(HOST_SUBDIR)/gas && \
9968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9970 "RANLIB=$${RANLIB}" \
9971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9972 TAGS) \
9973 || exit 1
9975 @endif gas
9977 .PHONY: maybe-install-info-gas install-info-gas
9978 maybe-install-info-gas:
9979 @if gas
9980 maybe-install-info-gas: install-info-gas
9982 install-info-gas: \
9983 configure-gas \
9984 info-gas
9985 @[ -f ./gas/Makefile ] || exit 0; \
9986 r=`${PWD_COMMAND}`; export r; \
9987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 $(HOST_EXPORTS) \
9989 for flag in $(EXTRA_HOST_FLAGS) ; do \
9990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9991 done; \
9992 echo "Doing install-info in gas"; \
9993 (cd $(HOST_SUBDIR)/gas && \
9994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9996 "RANLIB=$${RANLIB}" \
9997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9998 install-info) \
9999 || exit 1
10001 @endif gas
10003 .PHONY: maybe-install-pdf-gas install-pdf-gas
10004 maybe-install-pdf-gas:
10005 @if gas
10006 maybe-install-pdf-gas: install-pdf-gas
10008 install-pdf-gas: \
10009 configure-gas \
10010 pdf-gas
10011 @[ -f ./gas/Makefile ] || exit 0; \
10012 r=`${PWD_COMMAND}`; export r; \
10013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10014 $(HOST_EXPORTS) \
10015 for flag in $(EXTRA_HOST_FLAGS) ; do \
10016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10017 done; \
10018 echo "Doing install-pdf in gas"; \
10019 (cd $(HOST_SUBDIR)/gas && \
10020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10022 "RANLIB=$${RANLIB}" \
10023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10024 install-pdf) \
10025 || exit 1
10027 @endif gas
10029 .PHONY: maybe-install-html-gas install-html-gas
10030 maybe-install-html-gas:
10031 @if gas
10032 maybe-install-html-gas: install-html-gas
10034 install-html-gas: \
10035 configure-gas \
10036 html-gas
10037 @[ -f ./gas/Makefile ] || exit 0; \
10038 r=`${PWD_COMMAND}`; export r; \
10039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10040 $(HOST_EXPORTS) \
10041 for flag in $(EXTRA_HOST_FLAGS) ; do \
10042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10043 done; \
10044 echo "Doing install-html in gas"; \
10045 (cd $(HOST_SUBDIR)/gas && \
10046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10048 "RANLIB=$${RANLIB}" \
10049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10050 install-html) \
10051 || exit 1
10053 @endif gas
10055 .PHONY: maybe-installcheck-gas installcheck-gas
10056 maybe-installcheck-gas:
10057 @if gas
10058 maybe-installcheck-gas: installcheck-gas
10060 installcheck-gas: \
10061 configure-gas
10062 @[ -f ./gas/Makefile ] || exit 0; \
10063 r=`${PWD_COMMAND}`; export r; \
10064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065 $(HOST_EXPORTS) \
10066 for flag in $(EXTRA_HOST_FLAGS) ; do \
10067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10068 done; \
10069 echo "Doing installcheck in gas"; \
10070 (cd $(HOST_SUBDIR)/gas && \
10071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10073 "RANLIB=$${RANLIB}" \
10074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10075 installcheck) \
10076 || exit 1
10078 @endif gas
10080 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10081 maybe-mostlyclean-gas:
10082 @if gas
10083 maybe-mostlyclean-gas: mostlyclean-gas
10085 mostlyclean-gas:
10086 @[ -f ./gas/Makefile ] || exit 0; \
10087 r=`${PWD_COMMAND}`; export r; \
10088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10089 $(HOST_EXPORTS) \
10090 for flag in $(EXTRA_HOST_FLAGS) ; do \
10091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10092 done; \
10093 echo "Doing mostlyclean in gas"; \
10094 (cd $(HOST_SUBDIR)/gas && \
10095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10097 "RANLIB=$${RANLIB}" \
10098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10099 mostlyclean) \
10100 || exit 1
10102 @endif gas
10104 .PHONY: maybe-clean-gas clean-gas
10105 maybe-clean-gas:
10106 @if gas
10107 maybe-clean-gas: clean-gas
10109 clean-gas:
10110 @[ -f ./gas/Makefile ] || exit 0; \
10111 r=`${PWD_COMMAND}`; export r; \
10112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10113 $(HOST_EXPORTS) \
10114 for flag in $(EXTRA_HOST_FLAGS) ; do \
10115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10116 done; \
10117 echo "Doing clean in gas"; \
10118 (cd $(HOST_SUBDIR)/gas && \
10119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10121 "RANLIB=$${RANLIB}" \
10122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10123 clean) \
10124 || exit 1
10126 @endif gas
10128 .PHONY: maybe-distclean-gas distclean-gas
10129 maybe-distclean-gas:
10130 @if gas
10131 maybe-distclean-gas: distclean-gas
10133 distclean-gas:
10134 @[ -f ./gas/Makefile ] || exit 0; \
10135 r=`${PWD_COMMAND}`; export r; \
10136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10137 $(HOST_EXPORTS) \
10138 for flag in $(EXTRA_HOST_FLAGS) ; do \
10139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10140 done; \
10141 echo "Doing distclean in gas"; \
10142 (cd $(HOST_SUBDIR)/gas && \
10143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10145 "RANLIB=$${RANLIB}" \
10146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10147 distclean) \
10148 || exit 1
10150 @endif gas
10152 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10153 maybe-maintainer-clean-gas:
10154 @if gas
10155 maybe-maintainer-clean-gas: maintainer-clean-gas
10157 maintainer-clean-gas:
10158 @[ -f ./gas/Makefile ] || exit 0; \
10159 r=`${PWD_COMMAND}`; export r; \
10160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10161 $(HOST_EXPORTS) \
10162 for flag in $(EXTRA_HOST_FLAGS) ; do \
10163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10164 done; \
10165 echo "Doing maintainer-clean in gas"; \
10166 (cd $(HOST_SUBDIR)/gas && \
10167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10169 "RANLIB=$${RANLIB}" \
10170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10171 maintainer-clean) \
10172 || exit 1
10174 @endif gas
10178 .PHONY: configure-gcc maybe-configure-gcc
10179 maybe-configure-gcc:
10180 @if gcc-bootstrap
10181 configure-gcc: stage_current
10182 @endif gcc-bootstrap
10183 @if gcc
10184 maybe-configure-gcc: configure-gcc
10185 configure-gcc:
10186 @r=`${PWD_COMMAND}`; export r; \
10187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10188 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10190 $(HOST_EXPORTS) \
10191 echo Configuring in $(HOST_SUBDIR)/gcc; \
10192 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10193 case $(srcdir) in \
10194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10195 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10197 esac; \
10198 module_srcdir=gcc; \
10199 $(SHELL) \
10200 $$s/$$module_srcdir/configure \
10201 --srcdir=$${topdir}/$$module_srcdir \
10202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10203 --target=${target_alias} \
10204 || exit 1
10205 @endif gcc
10209 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10210 maybe-configure-stage1-gcc:
10211 @if gcc-bootstrap
10212 maybe-configure-stage1-gcc: configure-stage1-gcc
10213 configure-stage1-gcc:
10214 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10216 @r=`${PWD_COMMAND}`; export r; \
10217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10218 TFLAGS="$(STAGE1_TFLAGS)"; \
10219 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10220 $(HOST_EXPORTS) \
10221 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10222 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10223 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10224 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
10225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10226 cd $(HOST_SUBDIR)/gcc || exit 1; \
10227 case $(srcdir) in \
10228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10229 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10231 esac; \
10232 module_srcdir=gcc; \
10233 $(SHELL) $$s/$$module_srcdir/configure \
10234 --srcdir=$${topdir}/$$module_srcdir \
10235 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10236 --target=${target_alias} \
10238 $(STAGE1_CONFIGURE_FLAGS)
10239 @endif gcc-bootstrap
10241 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10242 maybe-configure-stage2-gcc:
10243 @if gcc-bootstrap
10244 maybe-configure-stage2-gcc: configure-stage2-gcc
10245 configure-stage2-gcc:
10246 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10248 @r=`${PWD_COMMAND}`; export r; \
10249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10250 TFLAGS="$(STAGE2_TFLAGS)"; \
10251 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10252 $(HOST_EXPORTS) \
10253 $(POSTSTAGE1_HOST_EXPORTS) \
10254 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10255 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10256 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10257 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
10258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10259 cd $(HOST_SUBDIR)/gcc || exit 1; \
10260 case $(srcdir) in \
10261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10262 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10264 esac; \
10265 module_srcdir=gcc; \
10266 $(SHELL) $$s/$$module_srcdir/configure \
10267 --srcdir=$${topdir}/$$module_srcdir \
10268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10269 --target=${target_alias} \
10270 --with-build-libsubdir=$(HOST_SUBDIR) \
10271 $(STAGE2_CONFIGURE_FLAGS)
10272 @endif gcc-bootstrap
10274 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10275 maybe-configure-stage3-gcc:
10276 @if gcc-bootstrap
10277 maybe-configure-stage3-gcc: configure-stage3-gcc
10278 configure-stage3-gcc:
10279 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10280 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10281 @r=`${PWD_COMMAND}`; export r; \
10282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10283 TFLAGS="$(STAGE3_TFLAGS)"; \
10284 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10285 $(HOST_EXPORTS) \
10286 $(POSTSTAGE1_HOST_EXPORTS) \
10287 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10288 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10289 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10290 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
10291 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10292 cd $(HOST_SUBDIR)/gcc || exit 1; \
10293 case $(srcdir) in \
10294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10295 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10297 esac; \
10298 module_srcdir=gcc; \
10299 $(SHELL) $$s/$$module_srcdir/configure \
10300 --srcdir=$${topdir}/$$module_srcdir \
10301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10302 --target=${target_alias} \
10303 --with-build-libsubdir=$(HOST_SUBDIR) \
10304 $(STAGE3_CONFIGURE_FLAGS)
10305 @endif gcc-bootstrap
10307 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10308 maybe-configure-stage4-gcc:
10309 @if gcc-bootstrap
10310 maybe-configure-stage4-gcc: configure-stage4-gcc
10311 configure-stage4-gcc:
10312 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10313 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10314 @r=`${PWD_COMMAND}`; export r; \
10315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10316 TFLAGS="$(STAGE4_TFLAGS)"; \
10317 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10318 $(HOST_EXPORTS) \
10319 $(POSTSTAGE1_HOST_EXPORTS) \
10320 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10321 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10322 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10323 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
10324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10325 cd $(HOST_SUBDIR)/gcc || exit 1; \
10326 case $(srcdir) in \
10327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10328 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10330 esac; \
10331 module_srcdir=gcc; \
10332 $(SHELL) $$s/$$module_srcdir/configure \
10333 --srcdir=$${topdir}/$$module_srcdir \
10334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10335 --target=${target_alias} \
10336 --with-build-libsubdir=$(HOST_SUBDIR) \
10337 $(STAGE4_CONFIGURE_FLAGS)
10338 @endif gcc-bootstrap
10340 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10341 maybe-configure-stageprofile-gcc:
10342 @if gcc-bootstrap
10343 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10344 configure-stageprofile-gcc:
10345 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10347 @r=`${PWD_COMMAND}`; export r; \
10348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10349 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10350 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10351 $(HOST_EXPORTS) \
10352 $(POSTSTAGE1_HOST_EXPORTS) \
10353 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10354 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10355 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10356 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
10357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10358 cd $(HOST_SUBDIR)/gcc || exit 1; \
10359 case $(srcdir) in \
10360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10361 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10363 esac; \
10364 module_srcdir=gcc; \
10365 $(SHELL) $$s/$$module_srcdir/configure \
10366 --srcdir=$${topdir}/$$module_srcdir \
10367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10368 --target=${target_alias} \
10369 --with-build-libsubdir=$(HOST_SUBDIR) \
10370 $(STAGEprofile_CONFIGURE_FLAGS)
10371 @endif gcc-bootstrap
10373 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10374 maybe-configure-stagefeedback-gcc:
10375 @if gcc-bootstrap
10376 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10377 configure-stagefeedback-gcc:
10378 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10380 @r=`${PWD_COMMAND}`; export r; \
10381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10382 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10383 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10384 $(HOST_EXPORTS) \
10385 $(POSTSTAGE1_HOST_EXPORTS) \
10386 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10387 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10388 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10389 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
10390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10391 cd $(HOST_SUBDIR)/gcc || exit 1; \
10392 case $(srcdir) in \
10393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10394 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10396 esac; \
10397 module_srcdir=gcc; \
10398 $(SHELL) $$s/$$module_srcdir/configure \
10399 --srcdir=$${topdir}/$$module_srcdir \
10400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10401 --target=${target_alias} \
10402 --with-build-libsubdir=$(HOST_SUBDIR) \
10403 $(STAGEfeedback_CONFIGURE_FLAGS)
10404 @endif gcc-bootstrap
10410 .PHONY: all-gcc maybe-all-gcc
10411 maybe-all-gcc:
10412 @if gcc-bootstrap
10413 all-gcc: stage_current
10414 @endif gcc-bootstrap
10415 @if gcc
10416 TARGET-gcc=all
10417 maybe-all-gcc: all-gcc
10418 all-gcc: configure-gcc
10419 @r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 $(HOST_EXPORTS) \
10422 (cd $(HOST_SUBDIR)/gcc && \
10423 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10424 $(TARGET-gcc))
10425 @endif gcc
10429 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10430 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10431 maybe-all-stage1-gcc:
10432 maybe-clean-stage1-gcc:
10433 @if gcc-bootstrap
10434 maybe-all-stage1-gcc: all-stage1-gcc
10435 all-stage1: all-stage1-gcc
10436 TARGET-stage1-gcc = $(TARGET-gcc)
10437 all-stage1-gcc: configure-stage1-gcc
10438 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10439 @r=`${PWD_COMMAND}`; export r; \
10440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10441 TFLAGS="$(STAGE1_TFLAGS)"; \
10442 $(HOST_EXPORTS) \
10443 cd $(HOST_SUBDIR)/gcc && \
10444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10445 CFLAGS="$(STAGE1_CFLAGS)" \
10446 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10447 LIBCFLAGS="$(LIBCFLAGS)" \
10448 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10449 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10450 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10451 $(EXTRA_HOST_FLAGS) \
10452 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10453 TFLAGS="$(STAGE1_TFLAGS)" \
10454 $(TARGET-stage1-gcc)
10456 maybe-clean-stage1-gcc: clean-stage1-gcc
10457 clean-stage1: clean-stage1-gcc
10458 clean-stage1-gcc:
10459 @if [ $(current_stage) = stage1 ]; then \
10460 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10461 else \
10462 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10463 $(MAKE) stage1-start; \
10464 fi; \
10465 cd $(HOST_SUBDIR)/gcc && \
10466 $(MAKE) $(EXTRA_HOST_FLAGS) \
10467 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10468 @endif gcc-bootstrap
10471 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10472 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10473 maybe-all-stage2-gcc:
10474 maybe-clean-stage2-gcc:
10475 @if gcc-bootstrap
10476 maybe-all-stage2-gcc: all-stage2-gcc
10477 all-stage2: all-stage2-gcc
10478 TARGET-stage2-gcc = $(TARGET-gcc)
10479 all-stage2-gcc: configure-stage2-gcc
10480 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10481 @r=`${PWD_COMMAND}`; export r; \
10482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10483 TFLAGS="$(STAGE2_TFLAGS)"; \
10484 $(HOST_EXPORTS) \
10485 $(POSTSTAGE1_HOST_EXPORTS) \
10486 cd $(HOST_SUBDIR)/gcc && \
10487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10488 CFLAGS="$(STAGE2_CFLAGS)" \
10489 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10490 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10491 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10494 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10495 TFLAGS="$(STAGE2_TFLAGS)" \
10496 $(TARGET-stage2-gcc)
10498 maybe-clean-stage2-gcc: clean-stage2-gcc
10499 clean-stage2: clean-stage2-gcc
10500 clean-stage2-gcc:
10501 @if [ $(current_stage) = stage2 ]; then \
10502 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10503 else \
10504 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10505 $(MAKE) stage2-start; \
10506 fi; \
10507 cd $(HOST_SUBDIR)/gcc && \
10508 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10509 @endif gcc-bootstrap
10512 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10513 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10514 maybe-all-stage3-gcc:
10515 maybe-clean-stage3-gcc:
10516 @if gcc-bootstrap
10517 maybe-all-stage3-gcc: all-stage3-gcc
10518 all-stage3: all-stage3-gcc
10519 TARGET-stage3-gcc = $(TARGET-gcc)
10520 all-stage3-gcc: configure-stage3-gcc
10521 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10522 @r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10524 TFLAGS="$(STAGE3_TFLAGS)"; \
10525 $(HOST_EXPORTS) \
10526 $(POSTSTAGE1_HOST_EXPORTS) \
10527 cd $(HOST_SUBDIR)/gcc && \
10528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10529 CFLAGS="$(STAGE3_CFLAGS)" \
10530 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10531 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10536 TFLAGS="$(STAGE3_TFLAGS)" \
10537 $(TARGET-stage3-gcc)
10539 maybe-clean-stage3-gcc: clean-stage3-gcc
10540 clean-stage3: clean-stage3-gcc
10541 clean-stage3-gcc:
10542 @if [ $(current_stage) = stage3 ]; then \
10543 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10544 else \
10545 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10546 $(MAKE) stage3-start; \
10547 fi; \
10548 cd $(HOST_SUBDIR)/gcc && \
10549 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10550 @endif gcc-bootstrap
10553 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10554 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10555 maybe-all-stage4-gcc:
10556 maybe-clean-stage4-gcc:
10557 @if gcc-bootstrap
10558 maybe-all-stage4-gcc: all-stage4-gcc
10559 all-stage4: all-stage4-gcc
10560 TARGET-stage4-gcc = $(TARGET-gcc)
10561 all-stage4-gcc: configure-stage4-gcc
10562 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10563 @r=`${PWD_COMMAND}`; export r; \
10564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10565 TFLAGS="$(STAGE4_TFLAGS)"; \
10566 $(HOST_EXPORTS) \
10567 $(POSTSTAGE1_HOST_EXPORTS) \
10568 cd $(HOST_SUBDIR)/gcc && \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10570 CFLAGS="$(STAGE4_CFLAGS)" \
10571 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10572 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10573 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10574 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10575 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10576 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10577 TFLAGS="$(STAGE4_TFLAGS)" \
10578 $(TARGET-stage4-gcc)
10580 maybe-clean-stage4-gcc: clean-stage4-gcc
10581 clean-stage4: clean-stage4-gcc
10582 clean-stage4-gcc:
10583 @if [ $(current_stage) = stage4 ]; then \
10584 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10585 else \
10586 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10587 $(MAKE) stage4-start; \
10588 fi; \
10589 cd $(HOST_SUBDIR)/gcc && \
10590 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10591 @endif gcc-bootstrap
10594 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10595 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10596 maybe-all-stageprofile-gcc:
10597 maybe-clean-stageprofile-gcc:
10598 @if gcc-bootstrap
10599 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10600 all-stageprofile: all-stageprofile-gcc
10601 TARGET-stageprofile-gcc = $(TARGET-gcc)
10602 all-stageprofile-gcc: configure-stageprofile-gcc
10603 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10604 @r=`${PWD_COMMAND}`; export r; \
10605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10606 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10607 $(HOST_EXPORTS) \
10608 $(POSTSTAGE1_HOST_EXPORTS) \
10609 cd $(HOST_SUBDIR)/gcc && \
10610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10611 CFLAGS="$(STAGEprofile_CFLAGS)" \
10612 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10613 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10614 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10617 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10618 TFLAGS="$(STAGEprofile_TFLAGS)" \
10619 $(TARGET-stageprofile-gcc)
10621 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10622 clean-stageprofile: clean-stageprofile-gcc
10623 clean-stageprofile-gcc:
10624 @if [ $(current_stage) = stageprofile ]; then \
10625 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10626 else \
10627 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10628 $(MAKE) stageprofile-start; \
10629 fi; \
10630 cd $(HOST_SUBDIR)/gcc && \
10631 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10632 @endif gcc-bootstrap
10635 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10636 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10637 maybe-all-stagefeedback-gcc:
10638 maybe-clean-stagefeedback-gcc:
10639 @if gcc-bootstrap
10640 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10641 all-stagefeedback: all-stagefeedback-gcc
10642 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10643 all-stagefeedback-gcc: configure-stagefeedback-gcc
10644 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10645 @r=`${PWD_COMMAND}`; export r; \
10646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10647 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10648 $(HOST_EXPORTS) \
10649 $(POSTSTAGE1_HOST_EXPORTS) \
10650 cd $(HOST_SUBDIR)/gcc && \
10651 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10652 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10653 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10654 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10655 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10656 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10657 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10658 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10659 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10660 $(TARGET-stagefeedback-gcc)
10662 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10663 clean-stagefeedback: clean-stagefeedback-gcc
10664 clean-stagefeedback-gcc:
10665 @if [ $(current_stage) = stagefeedback ]; then \
10666 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10667 else \
10668 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10669 $(MAKE) stagefeedback-start; \
10670 fi; \
10671 cd $(HOST_SUBDIR)/gcc && \
10672 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10673 @endif gcc-bootstrap
10679 .PHONY: check-gcc maybe-check-gcc
10680 maybe-check-gcc:
10681 @if gcc
10682 maybe-check-gcc: check-gcc
10684 check-gcc:
10685 @: $(MAKE); $(unstage)
10686 @r=`${PWD_COMMAND}`; export r; \
10687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10688 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10689 (cd $(HOST_SUBDIR)/gcc && \
10690 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10692 @endif gcc
10694 .PHONY: install-gcc maybe-install-gcc
10695 maybe-install-gcc:
10696 @if gcc
10697 maybe-install-gcc: install-gcc
10699 install-gcc: installdirs
10700 @: $(MAKE); $(unstage)
10701 @r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 $(HOST_EXPORTS) \
10704 (cd $(HOST_SUBDIR)/gcc && \
10705 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10707 @endif gcc
10709 .PHONY: install-strip-gcc maybe-install-strip-gcc
10710 maybe-install-strip-gcc:
10711 @if gcc
10712 maybe-install-strip-gcc: install-strip-gcc
10714 install-strip-gcc: installdirs
10715 @: $(MAKE); $(unstage)
10716 @r=`${PWD_COMMAND}`; export r; \
10717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10718 $(HOST_EXPORTS) \
10719 (cd $(HOST_SUBDIR)/gcc && \
10720 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10722 @endif gcc
10724 # Other targets (info, dvi, pdf, etc.)
10726 .PHONY: maybe-info-gcc info-gcc
10727 maybe-info-gcc:
10728 @if gcc
10729 maybe-info-gcc: info-gcc
10731 info-gcc: \
10732 configure-gcc
10733 @[ -f ./gcc/Makefile ] || exit 0; \
10734 r=`${PWD_COMMAND}`; export r; \
10735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10736 $(HOST_EXPORTS) \
10737 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10739 done; \
10740 echo "Doing info in gcc"; \
10741 (cd $(HOST_SUBDIR)/gcc && \
10742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10744 "RANLIB=$${RANLIB}" \
10745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10746 info) \
10747 || exit 1
10749 @endif gcc
10751 .PHONY: maybe-dvi-gcc dvi-gcc
10752 maybe-dvi-gcc:
10753 @if gcc
10754 maybe-dvi-gcc: dvi-gcc
10756 dvi-gcc: \
10757 configure-gcc
10758 @[ -f ./gcc/Makefile ] || exit 0; \
10759 r=`${PWD_COMMAND}`; export r; \
10760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10761 $(HOST_EXPORTS) \
10762 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10764 done; \
10765 echo "Doing dvi in gcc"; \
10766 (cd $(HOST_SUBDIR)/gcc && \
10767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10769 "RANLIB=$${RANLIB}" \
10770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10771 dvi) \
10772 || exit 1
10774 @endif gcc
10776 .PHONY: maybe-pdf-gcc pdf-gcc
10777 maybe-pdf-gcc:
10778 @if gcc
10779 maybe-pdf-gcc: pdf-gcc
10781 pdf-gcc: \
10782 configure-gcc
10783 @[ -f ./gcc/Makefile ] || exit 0; \
10784 r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786 $(HOST_EXPORTS) \
10787 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10789 done; \
10790 echo "Doing pdf in gcc"; \
10791 (cd $(HOST_SUBDIR)/gcc && \
10792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10794 "RANLIB=$${RANLIB}" \
10795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10796 pdf) \
10797 || exit 1
10799 @endif gcc
10801 .PHONY: maybe-html-gcc html-gcc
10802 maybe-html-gcc:
10803 @if gcc
10804 maybe-html-gcc: html-gcc
10806 html-gcc: \
10807 configure-gcc
10808 @[ -f ./gcc/Makefile ] || exit 0; \
10809 r=`${PWD_COMMAND}`; export r; \
10810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10811 $(HOST_EXPORTS) \
10812 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10814 done; \
10815 echo "Doing html in gcc"; \
10816 (cd $(HOST_SUBDIR)/gcc && \
10817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10819 "RANLIB=$${RANLIB}" \
10820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10821 html) \
10822 || exit 1
10824 @endif gcc
10826 .PHONY: maybe-TAGS-gcc TAGS-gcc
10827 maybe-TAGS-gcc:
10828 @if gcc
10829 maybe-TAGS-gcc: TAGS-gcc
10831 TAGS-gcc: \
10832 configure-gcc
10833 @[ -f ./gcc/Makefile ] || exit 0; \
10834 r=`${PWD_COMMAND}`; export r; \
10835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10836 $(HOST_EXPORTS) \
10837 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10839 done; \
10840 echo "Doing TAGS in gcc"; \
10841 (cd $(HOST_SUBDIR)/gcc && \
10842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10844 "RANLIB=$${RANLIB}" \
10845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10846 TAGS) \
10847 || exit 1
10849 @endif gcc
10851 .PHONY: maybe-install-info-gcc install-info-gcc
10852 maybe-install-info-gcc:
10853 @if gcc
10854 maybe-install-info-gcc: install-info-gcc
10856 install-info-gcc: \
10857 configure-gcc \
10858 info-gcc
10859 @[ -f ./gcc/Makefile ] || exit 0; \
10860 r=`${PWD_COMMAND}`; export r; \
10861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10862 $(HOST_EXPORTS) \
10863 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10865 done; \
10866 echo "Doing install-info in gcc"; \
10867 (cd $(HOST_SUBDIR)/gcc && \
10868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10870 "RANLIB=$${RANLIB}" \
10871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10872 install-info) \
10873 || exit 1
10875 @endif gcc
10877 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10878 maybe-install-pdf-gcc:
10879 @if gcc
10880 maybe-install-pdf-gcc: install-pdf-gcc
10882 install-pdf-gcc: \
10883 configure-gcc \
10884 pdf-gcc
10885 @[ -f ./gcc/Makefile ] || exit 0; \
10886 r=`${PWD_COMMAND}`; export r; \
10887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10888 $(HOST_EXPORTS) \
10889 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10891 done; \
10892 echo "Doing install-pdf in gcc"; \
10893 (cd $(HOST_SUBDIR)/gcc && \
10894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10896 "RANLIB=$${RANLIB}" \
10897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10898 install-pdf) \
10899 || exit 1
10901 @endif gcc
10903 .PHONY: maybe-install-html-gcc install-html-gcc
10904 maybe-install-html-gcc:
10905 @if gcc
10906 maybe-install-html-gcc: install-html-gcc
10908 install-html-gcc: \
10909 configure-gcc \
10910 html-gcc
10911 @[ -f ./gcc/Makefile ] || exit 0; \
10912 r=`${PWD_COMMAND}`; export r; \
10913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10914 $(HOST_EXPORTS) \
10915 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10917 done; \
10918 echo "Doing install-html in gcc"; \
10919 (cd $(HOST_SUBDIR)/gcc && \
10920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10922 "RANLIB=$${RANLIB}" \
10923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10924 install-html) \
10925 || exit 1
10927 @endif gcc
10929 .PHONY: maybe-installcheck-gcc installcheck-gcc
10930 maybe-installcheck-gcc:
10931 @if gcc
10932 maybe-installcheck-gcc: installcheck-gcc
10934 installcheck-gcc: \
10935 configure-gcc
10936 @[ -f ./gcc/Makefile ] || exit 0; \
10937 r=`${PWD_COMMAND}`; export r; \
10938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10939 $(HOST_EXPORTS) \
10940 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10942 done; \
10943 echo "Doing installcheck in gcc"; \
10944 (cd $(HOST_SUBDIR)/gcc && \
10945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10947 "RANLIB=$${RANLIB}" \
10948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10949 installcheck) \
10950 || exit 1
10952 @endif gcc
10954 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10955 maybe-mostlyclean-gcc:
10956 @if gcc
10957 maybe-mostlyclean-gcc: mostlyclean-gcc
10959 mostlyclean-gcc:
10960 @[ -f ./gcc/Makefile ] || exit 0; \
10961 r=`${PWD_COMMAND}`; export r; \
10962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10963 $(HOST_EXPORTS) \
10964 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10966 done; \
10967 echo "Doing mostlyclean in gcc"; \
10968 (cd $(HOST_SUBDIR)/gcc && \
10969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10971 "RANLIB=$${RANLIB}" \
10972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10973 mostlyclean) \
10974 || exit 1
10976 @endif gcc
10978 .PHONY: maybe-clean-gcc clean-gcc
10979 maybe-clean-gcc:
10980 @if gcc
10981 maybe-clean-gcc: clean-gcc
10983 clean-gcc:
10984 @[ -f ./gcc/Makefile ] || exit 0; \
10985 r=`${PWD_COMMAND}`; export r; \
10986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10987 $(HOST_EXPORTS) \
10988 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10990 done; \
10991 echo "Doing clean in gcc"; \
10992 (cd $(HOST_SUBDIR)/gcc && \
10993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10995 "RANLIB=$${RANLIB}" \
10996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10997 clean) \
10998 || exit 1
11000 @endif gcc
11002 .PHONY: maybe-distclean-gcc distclean-gcc
11003 maybe-distclean-gcc:
11004 @if gcc
11005 maybe-distclean-gcc: distclean-gcc
11007 distclean-gcc:
11008 @[ -f ./gcc/Makefile ] || exit 0; \
11009 r=`${PWD_COMMAND}`; export r; \
11010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11011 $(HOST_EXPORTS) \
11012 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11014 done; \
11015 echo "Doing distclean in gcc"; \
11016 (cd $(HOST_SUBDIR)/gcc && \
11017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11019 "RANLIB=$${RANLIB}" \
11020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11021 distclean) \
11022 || exit 1
11024 @endif gcc
11026 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11027 maybe-maintainer-clean-gcc:
11028 @if gcc
11029 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11031 maintainer-clean-gcc:
11032 @[ -f ./gcc/Makefile ] || exit 0; \
11033 r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11035 $(HOST_EXPORTS) \
11036 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11038 done; \
11039 echo "Doing maintainer-clean in gcc"; \
11040 (cd $(HOST_SUBDIR)/gcc && \
11041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11043 "RANLIB=$${RANLIB}" \
11044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11045 maintainer-clean) \
11046 || exit 1
11048 @endif gcc
11052 .PHONY: configure-gmp maybe-configure-gmp
11053 maybe-configure-gmp:
11054 @if gcc-bootstrap
11055 configure-gmp: stage_current
11056 @endif gcc-bootstrap
11057 @if gmp
11058 maybe-configure-gmp: configure-gmp
11059 configure-gmp:
11060 @r=`${PWD_COMMAND}`; export r; \
11061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11062 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11064 $(HOST_EXPORTS) \
11065 echo Configuring in $(HOST_SUBDIR)/gmp; \
11066 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
11067 case $(srcdir) in \
11068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11069 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11071 esac; \
11072 module_srcdir=gmp; \
11073 $(SHELL) \
11074 $$s/$$module_srcdir/configure \
11075 --srcdir=$${topdir}/$$module_srcdir \
11076 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11077 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
11078 || exit 1
11079 @endif gmp
11083 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
11084 maybe-configure-stage1-gmp:
11085 @if gmp-bootstrap
11086 maybe-configure-stage1-gmp: configure-stage1-gmp
11087 configure-stage1-gmp:
11088 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11090 @r=`${PWD_COMMAND}`; export r; \
11091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11092 TFLAGS="$(STAGE1_TFLAGS)"; \
11093 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11094 $(HOST_EXPORTS) \
11095 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11096 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11097 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11098 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
11099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11100 cd $(HOST_SUBDIR)/gmp || exit 1; \
11101 case $(srcdir) in \
11102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11103 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11105 esac; \
11106 module_srcdir=gmp; \
11107 $(SHELL) $$s/$$module_srcdir/configure \
11108 --srcdir=$${topdir}/$$module_srcdir \
11109 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11110 --target=none-${host_vendor}-${host_os} \
11112 $(STAGE1_CONFIGURE_FLAGS) \
11113 --disable-shared LEX="touch lex.yy.c"
11114 @endif gmp-bootstrap
11116 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
11117 maybe-configure-stage2-gmp:
11118 @if gmp-bootstrap
11119 maybe-configure-stage2-gmp: configure-stage2-gmp
11120 configure-stage2-gmp:
11121 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11123 @r=`${PWD_COMMAND}`; export r; \
11124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11125 TFLAGS="$(STAGE2_TFLAGS)"; \
11126 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11127 $(HOST_EXPORTS) \
11128 $(POSTSTAGE1_HOST_EXPORTS) \
11129 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11130 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11131 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11132 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
11133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11134 cd $(HOST_SUBDIR)/gmp || exit 1; \
11135 case $(srcdir) in \
11136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11137 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11139 esac; \
11140 module_srcdir=gmp; \
11141 $(SHELL) $$s/$$module_srcdir/configure \
11142 --srcdir=$${topdir}/$$module_srcdir \
11143 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11144 --target=none-${host_vendor}-${host_os} \
11145 --with-build-libsubdir=$(HOST_SUBDIR) \
11146 $(STAGE2_CONFIGURE_FLAGS) \
11147 --disable-shared LEX="touch lex.yy.c"
11148 @endif gmp-bootstrap
11150 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
11151 maybe-configure-stage3-gmp:
11152 @if gmp-bootstrap
11153 maybe-configure-stage3-gmp: configure-stage3-gmp
11154 configure-stage3-gmp:
11155 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11157 @r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 TFLAGS="$(STAGE3_TFLAGS)"; \
11160 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11161 $(HOST_EXPORTS) \
11162 $(POSTSTAGE1_HOST_EXPORTS) \
11163 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11164 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11165 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11166 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
11167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11168 cd $(HOST_SUBDIR)/gmp || exit 1; \
11169 case $(srcdir) in \
11170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11171 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11173 esac; \
11174 module_srcdir=gmp; \
11175 $(SHELL) $$s/$$module_srcdir/configure \
11176 --srcdir=$${topdir}/$$module_srcdir \
11177 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11178 --target=none-${host_vendor}-${host_os} \
11179 --with-build-libsubdir=$(HOST_SUBDIR) \
11180 $(STAGE3_CONFIGURE_FLAGS) \
11181 --disable-shared LEX="touch lex.yy.c"
11182 @endif gmp-bootstrap
11184 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11185 maybe-configure-stage4-gmp:
11186 @if gmp-bootstrap
11187 maybe-configure-stage4-gmp: configure-stage4-gmp
11188 configure-stage4-gmp:
11189 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11190 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11191 @r=`${PWD_COMMAND}`; export r; \
11192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11193 TFLAGS="$(STAGE4_TFLAGS)"; \
11194 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11195 $(HOST_EXPORTS) \
11196 $(POSTSTAGE1_HOST_EXPORTS) \
11197 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11198 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11199 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11200 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
11201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11202 cd $(HOST_SUBDIR)/gmp || exit 1; \
11203 case $(srcdir) in \
11204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11205 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11207 esac; \
11208 module_srcdir=gmp; \
11209 $(SHELL) $$s/$$module_srcdir/configure \
11210 --srcdir=$${topdir}/$$module_srcdir \
11211 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11212 --target=none-${host_vendor}-${host_os} \
11213 --with-build-libsubdir=$(HOST_SUBDIR) \
11214 $(STAGE4_CONFIGURE_FLAGS) \
11215 --disable-shared LEX="touch lex.yy.c"
11216 @endif gmp-bootstrap
11218 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11219 maybe-configure-stageprofile-gmp:
11220 @if gmp-bootstrap
11221 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11222 configure-stageprofile-gmp:
11223 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11225 @r=`${PWD_COMMAND}`; export r; \
11226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11227 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11228 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11229 $(HOST_EXPORTS) \
11230 $(POSTSTAGE1_HOST_EXPORTS) \
11231 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11232 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11233 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11234 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
11235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11236 cd $(HOST_SUBDIR)/gmp || exit 1; \
11237 case $(srcdir) in \
11238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11239 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11241 esac; \
11242 module_srcdir=gmp; \
11243 $(SHELL) $$s/$$module_srcdir/configure \
11244 --srcdir=$${topdir}/$$module_srcdir \
11245 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11246 --target=none-${host_vendor}-${host_os} \
11247 --with-build-libsubdir=$(HOST_SUBDIR) \
11248 $(STAGEprofile_CONFIGURE_FLAGS) \
11249 --disable-shared LEX="touch lex.yy.c"
11250 @endif gmp-bootstrap
11252 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11253 maybe-configure-stagefeedback-gmp:
11254 @if gmp-bootstrap
11255 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11256 configure-stagefeedback-gmp:
11257 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11259 @r=`${PWD_COMMAND}`; export r; \
11260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11261 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11262 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11263 $(HOST_EXPORTS) \
11264 $(POSTSTAGE1_HOST_EXPORTS) \
11265 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11266 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11267 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11268 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
11269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11270 cd $(HOST_SUBDIR)/gmp || exit 1; \
11271 case $(srcdir) in \
11272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11273 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11275 esac; \
11276 module_srcdir=gmp; \
11277 $(SHELL) $$s/$$module_srcdir/configure \
11278 --srcdir=$${topdir}/$$module_srcdir \
11279 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11280 --target=none-${host_vendor}-${host_os} \
11281 --with-build-libsubdir=$(HOST_SUBDIR) \
11282 $(STAGEfeedback_CONFIGURE_FLAGS) \
11283 --disable-shared LEX="touch lex.yy.c"
11284 @endif gmp-bootstrap
11290 .PHONY: all-gmp maybe-all-gmp
11291 maybe-all-gmp:
11292 @if gcc-bootstrap
11293 all-gmp: stage_current
11294 @endif gcc-bootstrap
11295 @if gmp
11296 TARGET-gmp=all
11297 maybe-all-gmp: all-gmp
11298 all-gmp: configure-gmp
11299 @r=`${PWD_COMMAND}`; export r; \
11300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11301 $(HOST_EXPORTS) \
11302 (cd $(HOST_SUBDIR)/gmp && \
11303 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11304 $(TARGET-gmp))
11305 @endif gmp
11309 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11310 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11311 maybe-all-stage1-gmp:
11312 maybe-clean-stage1-gmp:
11313 @if gmp-bootstrap
11314 maybe-all-stage1-gmp: all-stage1-gmp
11315 all-stage1: all-stage1-gmp
11316 TARGET-stage1-gmp = $(TARGET-gmp)
11317 all-stage1-gmp: configure-stage1-gmp
11318 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11319 @r=`${PWD_COMMAND}`; export r; \
11320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11321 TFLAGS="$(STAGE1_TFLAGS)"; \
11322 $(HOST_EXPORTS) \
11323 cd $(HOST_SUBDIR)/gmp && \
11324 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11325 CFLAGS="$(STAGE1_CFLAGS)" \
11326 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11327 LIBCFLAGS="$(LIBCFLAGS)" \
11328 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11329 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11330 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11331 $(EXTRA_HOST_FLAGS) \
11332 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11333 TFLAGS="$(STAGE1_TFLAGS)" \
11334 $(TARGET-stage1-gmp)
11336 maybe-clean-stage1-gmp: clean-stage1-gmp
11337 clean-stage1: clean-stage1-gmp
11338 clean-stage1-gmp:
11339 @if [ $(current_stage) = stage1 ]; then \
11340 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11341 else \
11342 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11343 $(MAKE) stage1-start; \
11344 fi; \
11345 cd $(HOST_SUBDIR)/gmp && \
11346 $(MAKE) $(EXTRA_HOST_FLAGS) \
11347 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
11348 @endif gmp-bootstrap
11351 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11352 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11353 maybe-all-stage2-gmp:
11354 maybe-clean-stage2-gmp:
11355 @if gmp-bootstrap
11356 maybe-all-stage2-gmp: all-stage2-gmp
11357 all-stage2: all-stage2-gmp
11358 TARGET-stage2-gmp = $(TARGET-gmp)
11359 all-stage2-gmp: configure-stage2-gmp
11360 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11361 @r=`${PWD_COMMAND}`; export r; \
11362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11363 TFLAGS="$(STAGE2_TFLAGS)"; \
11364 $(HOST_EXPORTS) \
11365 $(POSTSTAGE1_HOST_EXPORTS) \
11366 cd $(HOST_SUBDIR)/gmp && \
11367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11368 CFLAGS="$(STAGE2_CFLAGS)" \
11369 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11370 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11375 TFLAGS="$(STAGE2_TFLAGS)" \
11376 $(TARGET-stage2-gmp)
11378 maybe-clean-stage2-gmp: clean-stage2-gmp
11379 clean-stage2: clean-stage2-gmp
11380 clean-stage2-gmp:
11381 @if [ $(current_stage) = stage2 ]; then \
11382 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11383 else \
11384 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11385 $(MAKE) stage2-start; \
11386 fi; \
11387 cd $(HOST_SUBDIR)/gmp && \
11388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
11389 @endif gmp-bootstrap
11392 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11393 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11394 maybe-all-stage3-gmp:
11395 maybe-clean-stage3-gmp:
11396 @if gmp-bootstrap
11397 maybe-all-stage3-gmp: all-stage3-gmp
11398 all-stage3: all-stage3-gmp
11399 TARGET-stage3-gmp = $(TARGET-gmp)
11400 all-stage3-gmp: configure-stage3-gmp
11401 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11402 @r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11404 TFLAGS="$(STAGE3_TFLAGS)"; \
11405 $(HOST_EXPORTS) \
11406 $(POSTSTAGE1_HOST_EXPORTS) \
11407 cd $(HOST_SUBDIR)/gmp && \
11408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11409 CFLAGS="$(STAGE3_CFLAGS)" \
11410 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11411 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11412 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11413 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11414 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11415 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11416 TFLAGS="$(STAGE3_TFLAGS)" \
11417 $(TARGET-stage3-gmp)
11419 maybe-clean-stage3-gmp: clean-stage3-gmp
11420 clean-stage3: clean-stage3-gmp
11421 clean-stage3-gmp:
11422 @if [ $(current_stage) = stage3 ]; then \
11423 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11424 else \
11425 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11426 $(MAKE) stage3-start; \
11427 fi; \
11428 cd $(HOST_SUBDIR)/gmp && \
11429 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
11430 @endif gmp-bootstrap
11433 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11434 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11435 maybe-all-stage4-gmp:
11436 maybe-clean-stage4-gmp:
11437 @if gmp-bootstrap
11438 maybe-all-stage4-gmp: all-stage4-gmp
11439 all-stage4: all-stage4-gmp
11440 TARGET-stage4-gmp = $(TARGET-gmp)
11441 all-stage4-gmp: configure-stage4-gmp
11442 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11443 @r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11445 TFLAGS="$(STAGE4_TFLAGS)"; \
11446 $(HOST_EXPORTS) \
11447 $(POSTSTAGE1_HOST_EXPORTS) \
11448 cd $(HOST_SUBDIR)/gmp && \
11449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11450 CFLAGS="$(STAGE4_CFLAGS)" \
11451 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11452 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11457 TFLAGS="$(STAGE4_TFLAGS)" \
11458 $(TARGET-stage4-gmp)
11460 maybe-clean-stage4-gmp: clean-stage4-gmp
11461 clean-stage4: clean-stage4-gmp
11462 clean-stage4-gmp:
11463 @if [ $(current_stage) = stage4 ]; then \
11464 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11465 else \
11466 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11467 $(MAKE) stage4-start; \
11468 fi; \
11469 cd $(HOST_SUBDIR)/gmp && \
11470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
11471 @endif gmp-bootstrap
11474 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11475 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11476 maybe-all-stageprofile-gmp:
11477 maybe-clean-stageprofile-gmp:
11478 @if gmp-bootstrap
11479 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11480 all-stageprofile: all-stageprofile-gmp
11481 TARGET-stageprofile-gmp = $(TARGET-gmp)
11482 all-stageprofile-gmp: configure-stageprofile-gmp
11483 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11484 @r=`${PWD_COMMAND}`; export r; \
11485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11486 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11487 $(HOST_EXPORTS) \
11488 $(POSTSTAGE1_HOST_EXPORTS) \
11489 cd $(HOST_SUBDIR)/gmp && \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11491 CFLAGS="$(STAGEprofile_CFLAGS)" \
11492 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11493 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11498 TFLAGS="$(STAGEprofile_TFLAGS)" \
11499 $(TARGET-stageprofile-gmp)
11501 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11502 clean-stageprofile: clean-stageprofile-gmp
11503 clean-stageprofile-gmp:
11504 @if [ $(current_stage) = stageprofile ]; then \
11505 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11506 else \
11507 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11508 $(MAKE) stageprofile-start; \
11509 fi; \
11510 cd $(HOST_SUBDIR)/gmp && \
11511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
11512 @endif gmp-bootstrap
11515 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11516 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11517 maybe-all-stagefeedback-gmp:
11518 maybe-clean-stagefeedback-gmp:
11519 @if gmp-bootstrap
11520 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11521 all-stagefeedback: all-stagefeedback-gmp
11522 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11523 all-stagefeedback-gmp: configure-stagefeedback-gmp
11524 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11525 @r=`${PWD_COMMAND}`; export r; \
11526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11527 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11528 $(HOST_EXPORTS) \
11529 $(POSTSTAGE1_HOST_EXPORTS) \
11530 cd $(HOST_SUBDIR)/gmp && \
11531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11532 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11533 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11534 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11539 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11540 $(TARGET-stagefeedback-gmp)
11542 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11543 clean-stagefeedback: clean-stagefeedback-gmp
11544 clean-stagefeedback-gmp:
11545 @if [ $(current_stage) = stagefeedback ]; then \
11546 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11547 else \
11548 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11549 $(MAKE) stagefeedback-start; \
11550 fi; \
11551 cd $(HOST_SUBDIR)/gmp && \
11552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
11553 @endif gmp-bootstrap
11559 .PHONY: check-gmp maybe-check-gmp
11560 maybe-check-gmp:
11561 @if gmp
11562 maybe-check-gmp: check-gmp
11564 check-gmp:
11565 @: $(MAKE); $(unstage)
11566 @r=`${PWD_COMMAND}`; export r; \
11567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11568 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11569 (cd $(HOST_SUBDIR)/gmp && \
11570 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
11572 @endif gmp
11574 .PHONY: install-gmp maybe-install-gmp
11575 maybe-install-gmp:
11576 @if gmp
11577 maybe-install-gmp: install-gmp
11579 install-gmp:
11581 @endif gmp
11583 .PHONY: install-strip-gmp maybe-install-strip-gmp
11584 maybe-install-strip-gmp:
11585 @if gmp
11586 maybe-install-strip-gmp: install-strip-gmp
11588 install-strip-gmp:
11590 @endif gmp
11592 # Other targets (info, dvi, pdf, etc.)
11594 .PHONY: maybe-info-gmp info-gmp
11595 maybe-info-gmp:
11596 @if gmp
11597 maybe-info-gmp: info-gmp
11599 info-gmp: \
11600 configure-gmp
11601 @[ -f ./gmp/Makefile ] || exit 0; \
11602 r=`${PWD_COMMAND}`; export r; \
11603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11604 $(HOST_EXPORTS) \
11605 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11607 done; \
11608 echo "Doing info in gmp"; \
11609 (cd $(HOST_SUBDIR)/gmp && \
11610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11612 "RANLIB=$${RANLIB}" \
11613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11614 info) \
11615 || exit 1
11617 @endif gmp
11619 .PHONY: maybe-dvi-gmp dvi-gmp
11620 maybe-dvi-gmp:
11621 @if gmp
11622 maybe-dvi-gmp: dvi-gmp
11624 dvi-gmp: \
11625 configure-gmp
11626 @[ -f ./gmp/Makefile ] || exit 0; \
11627 r=`${PWD_COMMAND}`; export r; \
11628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11629 $(HOST_EXPORTS) \
11630 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11632 done; \
11633 echo "Doing dvi in gmp"; \
11634 (cd $(HOST_SUBDIR)/gmp && \
11635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11637 "RANLIB=$${RANLIB}" \
11638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11639 dvi) \
11640 || exit 1
11642 @endif gmp
11644 .PHONY: maybe-pdf-gmp pdf-gmp
11645 maybe-pdf-gmp:
11646 @if gmp
11647 maybe-pdf-gmp: pdf-gmp
11649 pdf-gmp: \
11650 configure-gmp
11651 @[ -f ./gmp/Makefile ] || exit 0; \
11652 r=`${PWD_COMMAND}`; export r; \
11653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11654 $(HOST_EXPORTS) \
11655 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11657 done; \
11658 echo "Doing pdf in gmp"; \
11659 (cd $(HOST_SUBDIR)/gmp && \
11660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11662 "RANLIB=$${RANLIB}" \
11663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11664 pdf) \
11665 || exit 1
11667 @endif gmp
11669 .PHONY: maybe-html-gmp html-gmp
11670 maybe-html-gmp:
11671 @if gmp
11672 maybe-html-gmp: html-gmp
11674 html-gmp: \
11675 configure-gmp
11676 @[ -f ./gmp/Makefile ] || exit 0; \
11677 r=`${PWD_COMMAND}`; export r; \
11678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11679 $(HOST_EXPORTS) \
11680 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11682 done; \
11683 echo "Doing html in gmp"; \
11684 (cd $(HOST_SUBDIR)/gmp && \
11685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11687 "RANLIB=$${RANLIB}" \
11688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11689 html) \
11690 || exit 1
11692 @endif gmp
11694 .PHONY: maybe-TAGS-gmp TAGS-gmp
11695 maybe-TAGS-gmp:
11696 @if gmp
11697 maybe-TAGS-gmp: TAGS-gmp
11699 TAGS-gmp: \
11700 configure-gmp
11701 @[ -f ./gmp/Makefile ] || exit 0; \
11702 r=`${PWD_COMMAND}`; export r; \
11703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11704 $(HOST_EXPORTS) \
11705 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11707 done; \
11708 echo "Doing TAGS in gmp"; \
11709 (cd $(HOST_SUBDIR)/gmp && \
11710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11712 "RANLIB=$${RANLIB}" \
11713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11714 TAGS) \
11715 || exit 1
11717 @endif gmp
11719 .PHONY: maybe-install-info-gmp install-info-gmp
11720 maybe-install-info-gmp:
11721 @if gmp
11722 maybe-install-info-gmp: install-info-gmp
11724 install-info-gmp: \
11725 configure-gmp \
11726 info-gmp
11727 @[ -f ./gmp/Makefile ] || exit 0; \
11728 r=`${PWD_COMMAND}`; export r; \
11729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11730 $(HOST_EXPORTS) \
11731 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11733 done; \
11734 echo "Doing install-info in gmp"; \
11735 (cd $(HOST_SUBDIR)/gmp && \
11736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11738 "RANLIB=$${RANLIB}" \
11739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11740 install-info) \
11741 || exit 1
11743 @endif gmp
11745 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11746 maybe-install-pdf-gmp:
11747 @if gmp
11748 maybe-install-pdf-gmp: install-pdf-gmp
11750 install-pdf-gmp: \
11751 configure-gmp \
11752 pdf-gmp
11753 @[ -f ./gmp/Makefile ] || exit 0; \
11754 r=`${PWD_COMMAND}`; export r; \
11755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11756 $(HOST_EXPORTS) \
11757 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11759 done; \
11760 echo "Doing install-pdf in gmp"; \
11761 (cd $(HOST_SUBDIR)/gmp && \
11762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11764 "RANLIB=$${RANLIB}" \
11765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11766 install-pdf) \
11767 || exit 1
11769 @endif gmp
11771 .PHONY: maybe-install-html-gmp install-html-gmp
11772 maybe-install-html-gmp:
11773 @if gmp
11774 maybe-install-html-gmp: install-html-gmp
11776 install-html-gmp: \
11777 configure-gmp \
11778 html-gmp
11779 @[ -f ./gmp/Makefile ] || exit 0; \
11780 r=`${PWD_COMMAND}`; export r; \
11781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11782 $(HOST_EXPORTS) \
11783 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11785 done; \
11786 echo "Doing install-html in gmp"; \
11787 (cd $(HOST_SUBDIR)/gmp && \
11788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11790 "RANLIB=$${RANLIB}" \
11791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11792 install-html) \
11793 || exit 1
11795 @endif gmp
11797 .PHONY: maybe-installcheck-gmp installcheck-gmp
11798 maybe-installcheck-gmp:
11799 @if gmp
11800 maybe-installcheck-gmp: installcheck-gmp
11802 installcheck-gmp: \
11803 configure-gmp
11804 @[ -f ./gmp/Makefile ] || exit 0; \
11805 r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 $(HOST_EXPORTS) \
11808 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11810 done; \
11811 echo "Doing installcheck in gmp"; \
11812 (cd $(HOST_SUBDIR)/gmp && \
11813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11815 "RANLIB=$${RANLIB}" \
11816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11817 installcheck) \
11818 || exit 1
11820 @endif gmp
11822 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11823 maybe-mostlyclean-gmp:
11824 @if gmp
11825 maybe-mostlyclean-gmp: mostlyclean-gmp
11827 mostlyclean-gmp:
11828 @[ -f ./gmp/Makefile ] || exit 0; \
11829 r=`${PWD_COMMAND}`; export r; \
11830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 $(HOST_EXPORTS) \
11832 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 done; \
11835 echo "Doing mostlyclean in gmp"; \
11836 (cd $(HOST_SUBDIR)/gmp && \
11837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11839 "RANLIB=$${RANLIB}" \
11840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11841 mostlyclean) \
11842 || exit 1
11844 @endif gmp
11846 .PHONY: maybe-clean-gmp clean-gmp
11847 maybe-clean-gmp:
11848 @if gmp
11849 maybe-clean-gmp: clean-gmp
11851 clean-gmp:
11852 @[ -f ./gmp/Makefile ] || exit 0; \
11853 r=`${PWD_COMMAND}`; export r; \
11854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11855 $(HOST_EXPORTS) \
11856 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11858 done; \
11859 echo "Doing clean in gmp"; \
11860 (cd $(HOST_SUBDIR)/gmp && \
11861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11863 "RANLIB=$${RANLIB}" \
11864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11865 clean) \
11866 || exit 1
11868 @endif gmp
11870 .PHONY: maybe-distclean-gmp distclean-gmp
11871 maybe-distclean-gmp:
11872 @if gmp
11873 maybe-distclean-gmp: distclean-gmp
11875 distclean-gmp:
11876 @[ -f ./gmp/Makefile ] || exit 0; \
11877 r=`${PWD_COMMAND}`; export r; \
11878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11879 $(HOST_EXPORTS) \
11880 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11882 done; \
11883 echo "Doing distclean in gmp"; \
11884 (cd $(HOST_SUBDIR)/gmp && \
11885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11887 "RANLIB=$${RANLIB}" \
11888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11889 distclean) \
11890 || exit 1
11892 @endif gmp
11894 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11895 maybe-maintainer-clean-gmp:
11896 @if gmp
11897 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11899 maintainer-clean-gmp:
11900 @[ -f ./gmp/Makefile ] || exit 0; \
11901 r=`${PWD_COMMAND}`; export r; \
11902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11903 $(HOST_EXPORTS) \
11904 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
11905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11906 done; \
11907 echo "Doing maintainer-clean in gmp"; \
11908 (cd $(HOST_SUBDIR)/gmp && \
11909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11911 "RANLIB=$${RANLIB}" \
11912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11913 maintainer-clean) \
11914 || exit 1
11916 @endif gmp
11920 .PHONY: configure-mpfr maybe-configure-mpfr
11921 maybe-configure-mpfr:
11922 @if gcc-bootstrap
11923 configure-mpfr: stage_current
11924 @endif gcc-bootstrap
11925 @if mpfr
11926 maybe-configure-mpfr: configure-mpfr
11927 configure-mpfr:
11928 @r=`${PWD_COMMAND}`; export r; \
11929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11930 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
11932 $(HOST_EXPORTS) \
11933 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11934 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11935 case $(srcdir) in \
11936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11937 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11939 esac; \
11940 module_srcdir=mpfr; \
11941 $(SHELL) \
11942 $$s/$$module_srcdir/configure \
11943 --srcdir=$${topdir}/$$module_srcdir \
11944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11945 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11946 || exit 1
11947 @endif mpfr
11951 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11952 maybe-configure-stage1-mpfr:
11953 @if mpfr-bootstrap
11954 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11955 configure-stage1-mpfr:
11956 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11957 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11958 @r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11960 TFLAGS="$(STAGE1_TFLAGS)"; \
11961 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11962 $(HOST_EXPORTS) \
11963 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11964 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11965 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11966 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
11967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
11968 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11969 case $(srcdir) in \
11970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11971 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11973 esac; \
11974 module_srcdir=mpfr; \
11975 $(SHELL) $$s/$$module_srcdir/configure \
11976 --srcdir=$${topdir}/$$module_srcdir \
11977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11978 --target=${target_alias} \
11980 $(STAGE1_CONFIGURE_FLAGS) \
11981 --disable-shared @extra_mpfr_configure_flags@
11982 @endif mpfr-bootstrap
11984 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11985 maybe-configure-stage2-mpfr:
11986 @if mpfr-bootstrap
11987 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11988 configure-stage2-mpfr:
11989 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11991 @r=`${PWD_COMMAND}`; export r; \
11992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11993 TFLAGS="$(STAGE2_TFLAGS)"; \
11994 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11995 $(HOST_EXPORTS) \
11996 $(POSTSTAGE1_HOST_EXPORTS) \
11997 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11998 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11999 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12000 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
12001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12002 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12003 case $(srcdir) in \
12004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12005 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12007 esac; \
12008 module_srcdir=mpfr; \
12009 $(SHELL) $$s/$$module_srcdir/configure \
12010 --srcdir=$${topdir}/$$module_srcdir \
12011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12012 --target=${target_alias} \
12013 --with-build-libsubdir=$(HOST_SUBDIR) \
12014 $(STAGE2_CONFIGURE_FLAGS) \
12015 --disable-shared @extra_mpfr_configure_flags@
12016 @endif mpfr-bootstrap
12018 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
12019 maybe-configure-stage3-mpfr:
12020 @if mpfr-bootstrap
12021 maybe-configure-stage3-mpfr: configure-stage3-mpfr
12022 configure-stage3-mpfr:
12023 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12025 @r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12027 TFLAGS="$(STAGE3_TFLAGS)"; \
12028 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12029 $(HOST_EXPORTS) \
12030 $(POSTSTAGE1_HOST_EXPORTS) \
12031 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12032 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12033 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12034 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
12035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12036 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12037 case $(srcdir) in \
12038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12039 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12041 esac; \
12042 module_srcdir=mpfr; \
12043 $(SHELL) $$s/$$module_srcdir/configure \
12044 --srcdir=$${topdir}/$$module_srcdir \
12045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12046 --target=${target_alias} \
12047 --with-build-libsubdir=$(HOST_SUBDIR) \
12048 $(STAGE3_CONFIGURE_FLAGS) \
12049 --disable-shared @extra_mpfr_configure_flags@
12050 @endif mpfr-bootstrap
12052 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
12053 maybe-configure-stage4-mpfr:
12054 @if mpfr-bootstrap
12055 maybe-configure-stage4-mpfr: configure-stage4-mpfr
12056 configure-stage4-mpfr:
12057 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12059 @r=`${PWD_COMMAND}`; export r; \
12060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12061 TFLAGS="$(STAGE4_TFLAGS)"; \
12062 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12063 $(HOST_EXPORTS) \
12064 $(POSTSTAGE1_HOST_EXPORTS) \
12065 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12066 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12067 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12068 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
12069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12070 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12071 case $(srcdir) in \
12072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12073 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12075 esac; \
12076 module_srcdir=mpfr; \
12077 $(SHELL) $$s/$$module_srcdir/configure \
12078 --srcdir=$${topdir}/$$module_srcdir \
12079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12080 --target=${target_alias} \
12081 --with-build-libsubdir=$(HOST_SUBDIR) \
12082 $(STAGE4_CONFIGURE_FLAGS) \
12083 --disable-shared @extra_mpfr_configure_flags@
12084 @endif mpfr-bootstrap
12086 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
12087 maybe-configure-stageprofile-mpfr:
12088 @if mpfr-bootstrap
12089 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
12090 configure-stageprofile-mpfr:
12091 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12093 @r=`${PWD_COMMAND}`; export r; \
12094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12095 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12096 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12097 $(HOST_EXPORTS) \
12098 $(POSTSTAGE1_HOST_EXPORTS) \
12099 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12100 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12101 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12102 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
12103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12104 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12105 case $(srcdir) in \
12106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12107 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12109 esac; \
12110 module_srcdir=mpfr; \
12111 $(SHELL) $$s/$$module_srcdir/configure \
12112 --srcdir=$${topdir}/$$module_srcdir \
12113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12114 --target=${target_alias} \
12115 --with-build-libsubdir=$(HOST_SUBDIR) \
12116 $(STAGEprofile_CONFIGURE_FLAGS) \
12117 --disable-shared @extra_mpfr_configure_flags@
12118 @endif mpfr-bootstrap
12120 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
12121 maybe-configure-stagefeedback-mpfr:
12122 @if mpfr-bootstrap
12123 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
12124 configure-stagefeedback-mpfr:
12125 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12127 @r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12130 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12131 $(HOST_EXPORTS) \
12132 $(POSTSTAGE1_HOST_EXPORTS) \
12133 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12134 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12135 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12136 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
12137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12138 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12139 case $(srcdir) in \
12140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12141 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12143 esac; \
12144 module_srcdir=mpfr; \
12145 $(SHELL) $$s/$$module_srcdir/configure \
12146 --srcdir=$${topdir}/$$module_srcdir \
12147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12148 --target=${target_alias} \
12149 --with-build-libsubdir=$(HOST_SUBDIR) \
12150 $(STAGEfeedback_CONFIGURE_FLAGS) \
12151 --disable-shared @extra_mpfr_configure_flags@
12152 @endif mpfr-bootstrap
12158 .PHONY: all-mpfr maybe-all-mpfr
12159 maybe-all-mpfr:
12160 @if gcc-bootstrap
12161 all-mpfr: stage_current
12162 @endif gcc-bootstrap
12163 @if mpfr
12164 TARGET-mpfr=all
12165 maybe-all-mpfr: all-mpfr
12166 all-mpfr: configure-mpfr
12167 @r=`${PWD_COMMAND}`; export r; \
12168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12169 $(HOST_EXPORTS) \
12170 (cd $(HOST_SUBDIR)/mpfr && \
12171 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12172 $(TARGET-mpfr))
12173 @endif mpfr
12177 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12178 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12179 maybe-all-stage1-mpfr:
12180 maybe-clean-stage1-mpfr:
12181 @if mpfr-bootstrap
12182 maybe-all-stage1-mpfr: all-stage1-mpfr
12183 all-stage1: all-stage1-mpfr
12184 TARGET-stage1-mpfr = $(TARGET-mpfr)
12185 all-stage1-mpfr: configure-stage1-mpfr
12186 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12187 @r=`${PWD_COMMAND}`; export r; \
12188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12189 TFLAGS="$(STAGE1_TFLAGS)"; \
12190 $(HOST_EXPORTS) \
12191 cd $(HOST_SUBDIR)/mpfr && \
12192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12193 CFLAGS="$(STAGE1_CFLAGS)" \
12194 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12195 LIBCFLAGS="$(LIBCFLAGS)" \
12196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12199 $(EXTRA_HOST_FLAGS) \
12200 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12201 TFLAGS="$(STAGE1_TFLAGS)" \
12202 $(TARGET-stage1-mpfr)
12204 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12205 clean-stage1: clean-stage1-mpfr
12206 clean-stage1-mpfr:
12207 @if [ $(current_stage) = stage1 ]; then \
12208 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12209 else \
12210 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12211 $(MAKE) stage1-start; \
12212 fi; \
12213 cd $(HOST_SUBDIR)/mpfr && \
12214 $(MAKE) $(EXTRA_HOST_FLAGS) \
12215 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12216 @endif mpfr-bootstrap
12219 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12220 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12221 maybe-all-stage2-mpfr:
12222 maybe-clean-stage2-mpfr:
12223 @if mpfr-bootstrap
12224 maybe-all-stage2-mpfr: all-stage2-mpfr
12225 all-stage2: all-stage2-mpfr
12226 TARGET-stage2-mpfr = $(TARGET-mpfr)
12227 all-stage2-mpfr: configure-stage2-mpfr
12228 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12229 @r=`${PWD_COMMAND}`; export r; \
12230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12231 TFLAGS="$(STAGE2_TFLAGS)"; \
12232 $(HOST_EXPORTS) \
12233 $(POSTSTAGE1_HOST_EXPORTS) \
12234 cd $(HOST_SUBDIR)/mpfr && \
12235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12236 CFLAGS="$(STAGE2_CFLAGS)" \
12237 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12238 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12243 TFLAGS="$(STAGE2_TFLAGS)" \
12244 $(TARGET-stage2-mpfr)
12246 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12247 clean-stage2: clean-stage2-mpfr
12248 clean-stage2-mpfr:
12249 @if [ $(current_stage) = stage2 ]; then \
12250 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12251 else \
12252 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12253 $(MAKE) stage2-start; \
12254 fi; \
12255 cd $(HOST_SUBDIR)/mpfr && \
12256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12257 @endif mpfr-bootstrap
12260 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12261 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12262 maybe-all-stage3-mpfr:
12263 maybe-clean-stage3-mpfr:
12264 @if mpfr-bootstrap
12265 maybe-all-stage3-mpfr: all-stage3-mpfr
12266 all-stage3: all-stage3-mpfr
12267 TARGET-stage3-mpfr = $(TARGET-mpfr)
12268 all-stage3-mpfr: configure-stage3-mpfr
12269 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12270 @r=`${PWD_COMMAND}`; export r; \
12271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12272 TFLAGS="$(STAGE3_TFLAGS)"; \
12273 $(HOST_EXPORTS) \
12274 $(POSTSTAGE1_HOST_EXPORTS) \
12275 cd $(HOST_SUBDIR)/mpfr && \
12276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12277 CFLAGS="$(STAGE3_CFLAGS)" \
12278 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12279 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12284 TFLAGS="$(STAGE3_TFLAGS)" \
12285 $(TARGET-stage3-mpfr)
12287 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12288 clean-stage3: clean-stage3-mpfr
12289 clean-stage3-mpfr:
12290 @if [ $(current_stage) = stage3 ]; then \
12291 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12292 else \
12293 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12294 $(MAKE) stage3-start; \
12295 fi; \
12296 cd $(HOST_SUBDIR)/mpfr && \
12297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12298 @endif mpfr-bootstrap
12301 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12302 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12303 maybe-all-stage4-mpfr:
12304 maybe-clean-stage4-mpfr:
12305 @if mpfr-bootstrap
12306 maybe-all-stage4-mpfr: all-stage4-mpfr
12307 all-stage4: all-stage4-mpfr
12308 TARGET-stage4-mpfr = $(TARGET-mpfr)
12309 all-stage4-mpfr: configure-stage4-mpfr
12310 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12311 @r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 TFLAGS="$(STAGE4_TFLAGS)"; \
12314 $(HOST_EXPORTS) \
12315 $(POSTSTAGE1_HOST_EXPORTS) \
12316 cd $(HOST_SUBDIR)/mpfr && \
12317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12318 CFLAGS="$(STAGE4_CFLAGS)" \
12319 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12320 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12325 TFLAGS="$(STAGE4_TFLAGS)" \
12326 $(TARGET-stage4-mpfr)
12328 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12329 clean-stage4: clean-stage4-mpfr
12330 clean-stage4-mpfr:
12331 @if [ $(current_stage) = stage4 ]; then \
12332 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12333 else \
12334 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12335 $(MAKE) stage4-start; \
12336 fi; \
12337 cd $(HOST_SUBDIR)/mpfr && \
12338 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12339 @endif mpfr-bootstrap
12342 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12343 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12344 maybe-all-stageprofile-mpfr:
12345 maybe-clean-stageprofile-mpfr:
12346 @if mpfr-bootstrap
12347 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12348 all-stageprofile: all-stageprofile-mpfr
12349 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12350 all-stageprofile-mpfr: configure-stageprofile-mpfr
12351 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12352 @r=`${PWD_COMMAND}`; export r; \
12353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12354 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12355 $(HOST_EXPORTS) \
12356 $(POSTSTAGE1_HOST_EXPORTS) \
12357 cd $(HOST_SUBDIR)/mpfr && \
12358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12359 CFLAGS="$(STAGEprofile_CFLAGS)" \
12360 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12361 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12366 TFLAGS="$(STAGEprofile_TFLAGS)" \
12367 $(TARGET-stageprofile-mpfr)
12369 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12370 clean-stageprofile: clean-stageprofile-mpfr
12371 clean-stageprofile-mpfr:
12372 @if [ $(current_stage) = stageprofile ]; then \
12373 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12374 else \
12375 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12376 $(MAKE) stageprofile-start; \
12377 fi; \
12378 cd $(HOST_SUBDIR)/mpfr && \
12379 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12380 @endif mpfr-bootstrap
12383 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12384 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12385 maybe-all-stagefeedback-mpfr:
12386 maybe-clean-stagefeedback-mpfr:
12387 @if mpfr-bootstrap
12388 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12389 all-stagefeedback: all-stagefeedback-mpfr
12390 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12391 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12392 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12393 @r=`${PWD_COMMAND}`; export r; \
12394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12395 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12396 $(HOST_EXPORTS) \
12397 $(POSTSTAGE1_HOST_EXPORTS) \
12398 cd $(HOST_SUBDIR)/mpfr && \
12399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12400 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12401 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12402 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12406 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12407 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12408 $(TARGET-stagefeedback-mpfr)
12410 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12411 clean-stagefeedback: clean-stagefeedback-mpfr
12412 clean-stagefeedback-mpfr:
12413 @if [ $(current_stage) = stagefeedback ]; then \
12414 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12415 else \
12416 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12417 $(MAKE) stagefeedback-start; \
12418 fi; \
12419 cd $(HOST_SUBDIR)/mpfr && \
12420 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12421 @endif mpfr-bootstrap
12427 .PHONY: check-mpfr maybe-check-mpfr
12428 maybe-check-mpfr:
12429 @if mpfr
12430 maybe-check-mpfr: check-mpfr
12432 check-mpfr:
12433 @: $(MAKE); $(unstage)
12434 @r=`${PWD_COMMAND}`; export r; \
12435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12436 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12437 (cd $(HOST_SUBDIR)/mpfr && \
12438 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
12440 @endif mpfr
12442 .PHONY: install-mpfr maybe-install-mpfr
12443 maybe-install-mpfr:
12444 @if mpfr
12445 maybe-install-mpfr: install-mpfr
12447 install-mpfr:
12449 @endif mpfr
12451 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12452 maybe-install-strip-mpfr:
12453 @if mpfr
12454 maybe-install-strip-mpfr: install-strip-mpfr
12456 install-strip-mpfr:
12458 @endif mpfr
12460 # Other targets (info, dvi, pdf, etc.)
12462 .PHONY: maybe-info-mpfr info-mpfr
12463 maybe-info-mpfr:
12464 @if mpfr
12465 maybe-info-mpfr: info-mpfr
12467 info-mpfr: \
12468 configure-mpfr
12469 @[ -f ./mpfr/Makefile ] || exit 0; \
12470 r=`${PWD_COMMAND}`; export r; \
12471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12472 $(HOST_EXPORTS) \
12473 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12475 done; \
12476 echo "Doing info in mpfr"; \
12477 (cd $(HOST_SUBDIR)/mpfr && \
12478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12480 "RANLIB=$${RANLIB}" \
12481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12482 info) \
12483 || exit 1
12485 @endif mpfr
12487 .PHONY: maybe-dvi-mpfr dvi-mpfr
12488 maybe-dvi-mpfr:
12489 @if mpfr
12490 maybe-dvi-mpfr: dvi-mpfr
12492 dvi-mpfr: \
12493 configure-mpfr
12494 @[ -f ./mpfr/Makefile ] || exit 0; \
12495 r=`${PWD_COMMAND}`; export r; \
12496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12497 $(HOST_EXPORTS) \
12498 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12500 done; \
12501 echo "Doing dvi in mpfr"; \
12502 (cd $(HOST_SUBDIR)/mpfr && \
12503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12505 "RANLIB=$${RANLIB}" \
12506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12507 dvi) \
12508 || exit 1
12510 @endif mpfr
12512 .PHONY: maybe-pdf-mpfr pdf-mpfr
12513 maybe-pdf-mpfr:
12514 @if mpfr
12515 maybe-pdf-mpfr: pdf-mpfr
12517 pdf-mpfr: \
12518 configure-mpfr
12519 @[ -f ./mpfr/Makefile ] || exit 0; \
12520 r=`${PWD_COMMAND}`; export r; \
12521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12522 $(HOST_EXPORTS) \
12523 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12525 done; \
12526 echo "Doing pdf in mpfr"; \
12527 (cd $(HOST_SUBDIR)/mpfr && \
12528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12530 "RANLIB=$${RANLIB}" \
12531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12532 pdf) \
12533 || exit 1
12535 @endif mpfr
12537 .PHONY: maybe-html-mpfr html-mpfr
12538 maybe-html-mpfr:
12539 @if mpfr
12540 maybe-html-mpfr: html-mpfr
12542 html-mpfr: \
12543 configure-mpfr
12544 @[ -f ./mpfr/Makefile ] || exit 0; \
12545 r=`${PWD_COMMAND}`; export r; \
12546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12547 $(HOST_EXPORTS) \
12548 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12550 done; \
12551 echo "Doing html in mpfr"; \
12552 (cd $(HOST_SUBDIR)/mpfr && \
12553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12555 "RANLIB=$${RANLIB}" \
12556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12557 html) \
12558 || exit 1
12560 @endif mpfr
12562 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12563 maybe-TAGS-mpfr:
12564 @if mpfr
12565 maybe-TAGS-mpfr: TAGS-mpfr
12567 TAGS-mpfr: \
12568 configure-mpfr
12569 @[ -f ./mpfr/Makefile ] || exit 0; \
12570 r=`${PWD_COMMAND}`; export r; \
12571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 $(HOST_EXPORTS) \
12573 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12575 done; \
12576 echo "Doing TAGS in mpfr"; \
12577 (cd $(HOST_SUBDIR)/mpfr && \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12580 "RANLIB=$${RANLIB}" \
12581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12582 TAGS) \
12583 || exit 1
12585 @endif mpfr
12587 .PHONY: maybe-install-info-mpfr install-info-mpfr
12588 maybe-install-info-mpfr:
12589 @if mpfr
12590 maybe-install-info-mpfr: install-info-mpfr
12592 install-info-mpfr: \
12593 configure-mpfr \
12594 info-mpfr
12595 @[ -f ./mpfr/Makefile ] || exit 0; \
12596 r=`${PWD_COMMAND}`; export r; \
12597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12598 $(HOST_EXPORTS) \
12599 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601 done; \
12602 echo "Doing install-info in mpfr"; \
12603 (cd $(HOST_SUBDIR)/mpfr && \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12608 install-info) \
12609 || exit 1
12611 @endif mpfr
12613 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12614 maybe-install-pdf-mpfr:
12615 @if mpfr
12616 maybe-install-pdf-mpfr: install-pdf-mpfr
12618 install-pdf-mpfr: \
12619 configure-mpfr \
12620 pdf-mpfr
12621 @[ -f ./mpfr/Makefile ] || exit 0; \
12622 r=`${PWD_COMMAND}`; export r; \
12623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624 $(HOST_EXPORTS) \
12625 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627 done; \
12628 echo "Doing install-pdf in mpfr"; \
12629 (cd $(HOST_SUBDIR)/mpfr && \
12630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632 "RANLIB=$${RANLIB}" \
12633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12634 install-pdf) \
12635 || exit 1
12637 @endif mpfr
12639 .PHONY: maybe-install-html-mpfr install-html-mpfr
12640 maybe-install-html-mpfr:
12641 @if mpfr
12642 maybe-install-html-mpfr: install-html-mpfr
12644 install-html-mpfr: \
12645 configure-mpfr \
12646 html-mpfr
12647 @[ -f ./mpfr/Makefile ] || exit 0; \
12648 r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 $(HOST_EXPORTS) \
12651 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 done; \
12654 echo "Doing install-html in mpfr"; \
12655 (cd $(HOST_SUBDIR)/mpfr && \
12656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658 "RANLIB=$${RANLIB}" \
12659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12660 install-html) \
12661 || exit 1
12663 @endif mpfr
12665 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12666 maybe-installcheck-mpfr:
12667 @if mpfr
12668 maybe-installcheck-mpfr: installcheck-mpfr
12670 installcheck-mpfr: \
12671 configure-mpfr
12672 @[ -f ./mpfr/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 $(HOST_EXPORTS) \
12676 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 done; \
12679 echo "Doing installcheck in mpfr"; \
12680 (cd $(HOST_SUBDIR)/mpfr && \
12681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12683 "RANLIB=$${RANLIB}" \
12684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12685 installcheck) \
12686 || exit 1
12688 @endif mpfr
12690 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12691 maybe-mostlyclean-mpfr:
12692 @if mpfr
12693 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12695 mostlyclean-mpfr:
12696 @[ -f ./mpfr/Makefile ] || exit 0; \
12697 r=`${PWD_COMMAND}`; export r; \
12698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12699 $(HOST_EXPORTS) \
12700 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12702 done; \
12703 echo "Doing mostlyclean in mpfr"; \
12704 (cd $(HOST_SUBDIR)/mpfr && \
12705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12707 "RANLIB=$${RANLIB}" \
12708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12709 mostlyclean) \
12710 || exit 1
12712 @endif mpfr
12714 .PHONY: maybe-clean-mpfr clean-mpfr
12715 maybe-clean-mpfr:
12716 @if mpfr
12717 maybe-clean-mpfr: clean-mpfr
12719 clean-mpfr:
12720 @[ -f ./mpfr/Makefile ] || exit 0; \
12721 r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12723 $(HOST_EXPORTS) \
12724 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12726 done; \
12727 echo "Doing clean in mpfr"; \
12728 (cd $(HOST_SUBDIR)/mpfr && \
12729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12731 "RANLIB=$${RANLIB}" \
12732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12733 clean) \
12734 || exit 1
12736 @endif mpfr
12738 .PHONY: maybe-distclean-mpfr distclean-mpfr
12739 maybe-distclean-mpfr:
12740 @if mpfr
12741 maybe-distclean-mpfr: distclean-mpfr
12743 distclean-mpfr:
12744 @[ -f ./mpfr/Makefile ] || exit 0; \
12745 r=`${PWD_COMMAND}`; export r; \
12746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12747 $(HOST_EXPORTS) \
12748 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12750 done; \
12751 echo "Doing distclean in mpfr"; \
12752 (cd $(HOST_SUBDIR)/mpfr && \
12753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12755 "RANLIB=$${RANLIB}" \
12756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12757 distclean) \
12758 || exit 1
12760 @endif mpfr
12762 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12763 maybe-maintainer-clean-mpfr:
12764 @if mpfr
12765 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12767 maintainer-clean-mpfr:
12768 @[ -f ./mpfr/Makefile ] || exit 0; \
12769 r=`${PWD_COMMAND}`; export r; \
12770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12771 $(HOST_EXPORTS) \
12772 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12774 done; \
12775 echo "Doing maintainer-clean in mpfr"; \
12776 (cd $(HOST_SUBDIR)/mpfr && \
12777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12779 "RANLIB=$${RANLIB}" \
12780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12781 maintainer-clean) \
12782 || exit 1
12784 @endif mpfr
12788 .PHONY: configure-mpc maybe-configure-mpc
12789 maybe-configure-mpc:
12790 @if gcc-bootstrap
12791 configure-mpc: stage_current
12792 @endif gcc-bootstrap
12793 @if mpc
12794 maybe-configure-mpc: configure-mpc
12795 configure-mpc:
12796 @r=`${PWD_COMMAND}`; export r; \
12797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12798 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12800 $(HOST_EXPORTS) \
12801 echo Configuring in $(HOST_SUBDIR)/mpc; \
12802 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12803 case $(srcdir) in \
12804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12805 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12807 esac; \
12808 module_srcdir=mpc; \
12809 $(SHELL) \
12810 $$s/$$module_srcdir/configure \
12811 --srcdir=$${topdir}/$$module_srcdir \
12812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12813 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12814 || exit 1
12815 @endif mpc
12819 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12820 maybe-configure-stage1-mpc:
12821 @if mpc-bootstrap
12822 maybe-configure-stage1-mpc: configure-stage1-mpc
12823 configure-stage1-mpc:
12824 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12826 @r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12828 TFLAGS="$(STAGE1_TFLAGS)"; \
12829 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12830 $(HOST_EXPORTS) \
12831 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12832 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12833 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12834 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
12835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12836 cd $(HOST_SUBDIR)/mpc || exit 1; \
12837 case $(srcdir) in \
12838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12839 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12841 esac; \
12842 module_srcdir=mpc; \
12843 $(SHELL) $$s/$$module_srcdir/configure \
12844 --srcdir=$${topdir}/$$module_srcdir \
12845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12846 --target=${target_alias} \
12848 $(STAGE1_CONFIGURE_FLAGS) \
12849 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12850 @endif mpc-bootstrap
12852 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12853 maybe-configure-stage2-mpc:
12854 @if mpc-bootstrap
12855 maybe-configure-stage2-mpc: configure-stage2-mpc
12856 configure-stage2-mpc:
12857 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12859 @r=`${PWD_COMMAND}`; export r; \
12860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12861 TFLAGS="$(STAGE2_TFLAGS)"; \
12862 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12863 $(HOST_EXPORTS) \
12864 $(POSTSTAGE1_HOST_EXPORTS) \
12865 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12866 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12867 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12868 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
12869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12870 cd $(HOST_SUBDIR)/mpc || exit 1; \
12871 case $(srcdir) in \
12872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12873 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12875 esac; \
12876 module_srcdir=mpc; \
12877 $(SHELL) $$s/$$module_srcdir/configure \
12878 --srcdir=$${topdir}/$$module_srcdir \
12879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12880 --target=${target_alias} \
12881 --with-build-libsubdir=$(HOST_SUBDIR) \
12882 $(STAGE2_CONFIGURE_FLAGS) \
12883 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12884 @endif mpc-bootstrap
12886 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12887 maybe-configure-stage3-mpc:
12888 @if mpc-bootstrap
12889 maybe-configure-stage3-mpc: configure-stage3-mpc
12890 configure-stage3-mpc:
12891 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12893 @r=`${PWD_COMMAND}`; export r; \
12894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12895 TFLAGS="$(STAGE3_TFLAGS)"; \
12896 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12897 $(HOST_EXPORTS) \
12898 $(POSTSTAGE1_HOST_EXPORTS) \
12899 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12900 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12901 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12902 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
12903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12904 cd $(HOST_SUBDIR)/mpc || exit 1; \
12905 case $(srcdir) in \
12906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12907 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12909 esac; \
12910 module_srcdir=mpc; \
12911 $(SHELL) $$s/$$module_srcdir/configure \
12912 --srcdir=$${topdir}/$$module_srcdir \
12913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12914 --target=${target_alias} \
12915 --with-build-libsubdir=$(HOST_SUBDIR) \
12916 $(STAGE3_CONFIGURE_FLAGS) \
12917 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12918 @endif mpc-bootstrap
12920 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12921 maybe-configure-stage4-mpc:
12922 @if mpc-bootstrap
12923 maybe-configure-stage4-mpc: configure-stage4-mpc
12924 configure-stage4-mpc:
12925 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12927 @r=`${PWD_COMMAND}`; export r; \
12928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12929 TFLAGS="$(STAGE4_TFLAGS)"; \
12930 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12931 $(HOST_EXPORTS) \
12932 $(POSTSTAGE1_HOST_EXPORTS) \
12933 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12934 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12935 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12936 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
12937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12938 cd $(HOST_SUBDIR)/mpc || exit 1; \
12939 case $(srcdir) in \
12940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12941 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12943 esac; \
12944 module_srcdir=mpc; \
12945 $(SHELL) $$s/$$module_srcdir/configure \
12946 --srcdir=$${topdir}/$$module_srcdir \
12947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12948 --target=${target_alias} \
12949 --with-build-libsubdir=$(HOST_SUBDIR) \
12950 $(STAGE4_CONFIGURE_FLAGS) \
12951 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12952 @endif mpc-bootstrap
12954 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12955 maybe-configure-stageprofile-mpc:
12956 @if mpc-bootstrap
12957 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12958 configure-stageprofile-mpc:
12959 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12961 @r=`${PWD_COMMAND}`; export r; \
12962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12963 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12964 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12965 $(HOST_EXPORTS) \
12966 $(POSTSTAGE1_HOST_EXPORTS) \
12967 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12968 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12969 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12970 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
12971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12972 cd $(HOST_SUBDIR)/mpc || exit 1; \
12973 case $(srcdir) in \
12974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12975 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12977 esac; \
12978 module_srcdir=mpc; \
12979 $(SHELL) $$s/$$module_srcdir/configure \
12980 --srcdir=$${topdir}/$$module_srcdir \
12981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12982 --target=${target_alias} \
12983 --with-build-libsubdir=$(HOST_SUBDIR) \
12984 $(STAGEprofile_CONFIGURE_FLAGS) \
12985 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12986 @endif mpc-bootstrap
12988 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12989 maybe-configure-stagefeedback-mpc:
12990 @if mpc-bootstrap
12991 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12992 configure-stagefeedback-mpc:
12993 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12995 @r=`${PWD_COMMAND}`; export r; \
12996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12997 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12998 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12999 $(HOST_EXPORTS) \
13000 $(POSTSTAGE1_HOST_EXPORTS) \
13001 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13002 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13003 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13004 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
13005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
13006 cd $(HOST_SUBDIR)/mpc || exit 1; \
13007 case $(srcdir) in \
13008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13009 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
13010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13011 esac; \
13012 module_srcdir=mpc; \
13013 $(SHELL) $$s/$$module_srcdir/configure \
13014 --srcdir=$${topdir}/$$module_srcdir \
13015 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13016 --target=${target_alias} \
13017 --with-build-libsubdir=$(HOST_SUBDIR) \
13018 $(STAGEfeedback_CONFIGURE_FLAGS) \
13019 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
13020 @endif mpc-bootstrap
13026 .PHONY: all-mpc maybe-all-mpc
13027 maybe-all-mpc:
13028 @if gcc-bootstrap
13029 all-mpc: stage_current
13030 @endif gcc-bootstrap
13031 @if mpc
13032 TARGET-mpc=all
13033 maybe-all-mpc: all-mpc
13034 all-mpc: configure-mpc
13035 @r=`${PWD_COMMAND}`; export r; \
13036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13037 $(HOST_EXPORTS) \
13038 (cd $(HOST_SUBDIR)/mpc && \
13039 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
13040 $(TARGET-mpc))
13041 @endif mpc
13045 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
13046 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
13047 maybe-all-stage1-mpc:
13048 maybe-clean-stage1-mpc:
13049 @if mpc-bootstrap
13050 maybe-all-stage1-mpc: all-stage1-mpc
13051 all-stage1: all-stage1-mpc
13052 TARGET-stage1-mpc = $(TARGET-mpc)
13053 all-stage1-mpc: configure-stage1-mpc
13054 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13055 @r=`${PWD_COMMAND}`; export r; \
13056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13057 TFLAGS="$(STAGE1_TFLAGS)"; \
13058 $(HOST_EXPORTS) \
13059 cd $(HOST_SUBDIR)/mpc && \
13060 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13061 CFLAGS="$(STAGE1_CFLAGS)" \
13062 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13063 LIBCFLAGS="$(LIBCFLAGS)" \
13064 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13065 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13066 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13067 $(EXTRA_HOST_FLAGS) \
13068 $(STAGE1_FLAGS_TO_PASS) \
13069 TFLAGS="$(STAGE1_TFLAGS)" \
13070 $(TARGET-stage1-mpc)
13072 maybe-clean-stage1-mpc: clean-stage1-mpc
13073 clean-stage1: clean-stage1-mpc
13074 clean-stage1-mpc:
13075 @if [ $(current_stage) = stage1 ]; then \
13076 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13077 else \
13078 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
13079 $(MAKE) stage1-start; \
13080 fi; \
13081 cd $(HOST_SUBDIR)/mpc && \
13082 $(MAKE) $(EXTRA_HOST_FLAGS) \
13083 $(STAGE1_FLAGS_TO_PASS) clean
13084 @endif mpc-bootstrap
13087 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
13088 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
13089 maybe-all-stage2-mpc:
13090 maybe-clean-stage2-mpc:
13091 @if mpc-bootstrap
13092 maybe-all-stage2-mpc: all-stage2-mpc
13093 all-stage2: all-stage2-mpc
13094 TARGET-stage2-mpc = $(TARGET-mpc)
13095 all-stage2-mpc: configure-stage2-mpc
13096 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13097 @r=`${PWD_COMMAND}`; export r; \
13098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13099 TFLAGS="$(STAGE2_TFLAGS)"; \
13100 $(HOST_EXPORTS) \
13101 $(POSTSTAGE1_HOST_EXPORTS) \
13102 cd $(HOST_SUBDIR)/mpc && \
13103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13104 CFLAGS="$(STAGE2_CFLAGS)" \
13105 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13106 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13110 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13111 TFLAGS="$(STAGE2_TFLAGS)" \
13112 $(TARGET-stage2-mpc)
13114 maybe-clean-stage2-mpc: clean-stage2-mpc
13115 clean-stage2: clean-stage2-mpc
13116 clean-stage2-mpc:
13117 @if [ $(current_stage) = stage2 ]; then \
13118 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13119 else \
13120 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
13121 $(MAKE) stage2-start; \
13122 fi; \
13123 cd $(HOST_SUBDIR)/mpc && \
13124 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13125 @endif mpc-bootstrap
13128 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
13129 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
13130 maybe-all-stage3-mpc:
13131 maybe-clean-stage3-mpc:
13132 @if mpc-bootstrap
13133 maybe-all-stage3-mpc: all-stage3-mpc
13134 all-stage3: all-stage3-mpc
13135 TARGET-stage3-mpc = $(TARGET-mpc)
13136 all-stage3-mpc: configure-stage3-mpc
13137 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13138 @r=`${PWD_COMMAND}`; export r; \
13139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13140 TFLAGS="$(STAGE3_TFLAGS)"; \
13141 $(HOST_EXPORTS) \
13142 $(POSTSTAGE1_HOST_EXPORTS) \
13143 cd $(HOST_SUBDIR)/mpc && \
13144 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13145 CFLAGS="$(STAGE3_CFLAGS)" \
13146 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13147 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13151 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13152 TFLAGS="$(STAGE3_TFLAGS)" \
13153 $(TARGET-stage3-mpc)
13155 maybe-clean-stage3-mpc: clean-stage3-mpc
13156 clean-stage3: clean-stage3-mpc
13157 clean-stage3-mpc:
13158 @if [ $(current_stage) = stage3 ]; then \
13159 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13160 else \
13161 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13162 $(MAKE) stage3-start; \
13163 fi; \
13164 cd $(HOST_SUBDIR)/mpc && \
13165 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13166 @endif mpc-bootstrap
13169 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13170 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13171 maybe-all-stage4-mpc:
13172 maybe-clean-stage4-mpc:
13173 @if mpc-bootstrap
13174 maybe-all-stage4-mpc: all-stage4-mpc
13175 all-stage4: all-stage4-mpc
13176 TARGET-stage4-mpc = $(TARGET-mpc)
13177 all-stage4-mpc: configure-stage4-mpc
13178 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13179 @r=`${PWD_COMMAND}`; export r; \
13180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13181 TFLAGS="$(STAGE4_TFLAGS)"; \
13182 $(HOST_EXPORTS) \
13183 $(POSTSTAGE1_HOST_EXPORTS) \
13184 cd $(HOST_SUBDIR)/mpc && \
13185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13186 CFLAGS="$(STAGE4_CFLAGS)" \
13187 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13188 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13193 TFLAGS="$(STAGE4_TFLAGS)" \
13194 $(TARGET-stage4-mpc)
13196 maybe-clean-stage4-mpc: clean-stage4-mpc
13197 clean-stage4: clean-stage4-mpc
13198 clean-stage4-mpc:
13199 @if [ $(current_stage) = stage4 ]; then \
13200 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13201 else \
13202 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13203 $(MAKE) stage4-start; \
13204 fi; \
13205 cd $(HOST_SUBDIR)/mpc && \
13206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13207 @endif mpc-bootstrap
13210 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13211 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13212 maybe-all-stageprofile-mpc:
13213 maybe-clean-stageprofile-mpc:
13214 @if mpc-bootstrap
13215 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13216 all-stageprofile: all-stageprofile-mpc
13217 TARGET-stageprofile-mpc = $(TARGET-mpc)
13218 all-stageprofile-mpc: configure-stageprofile-mpc
13219 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13220 @r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13222 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13223 $(HOST_EXPORTS) \
13224 $(POSTSTAGE1_HOST_EXPORTS) \
13225 cd $(HOST_SUBDIR)/mpc && \
13226 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13227 CFLAGS="$(STAGEprofile_CFLAGS)" \
13228 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13229 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13230 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13231 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13232 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13233 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13234 TFLAGS="$(STAGEprofile_TFLAGS)" \
13235 $(TARGET-stageprofile-mpc)
13237 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13238 clean-stageprofile: clean-stageprofile-mpc
13239 clean-stageprofile-mpc:
13240 @if [ $(current_stage) = stageprofile ]; then \
13241 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13242 else \
13243 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13244 $(MAKE) stageprofile-start; \
13245 fi; \
13246 cd $(HOST_SUBDIR)/mpc && \
13247 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13248 @endif mpc-bootstrap
13251 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13252 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13253 maybe-all-stagefeedback-mpc:
13254 maybe-clean-stagefeedback-mpc:
13255 @if mpc-bootstrap
13256 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13257 all-stagefeedback: all-stagefeedback-mpc
13258 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13259 all-stagefeedback-mpc: configure-stagefeedback-mpc
13260 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13261 @r=`${PWD_COMMAND}`; export r; \
13262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13263 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13264 $(HOST_EXPORTS) \
13265 $(POSTSTAGE1_HOST_EXPORTS) \
13266 cd $(HOST_SUBDIR)/mpc && \
13267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13268 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13269 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13270 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13275 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13276 $(TARGET-stagefeedback-mpc)
13278 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13279 clean-stagefeedback: clean-stagefeedback-mpc
13280 clean-stagefeedback-mpc:
13281 @if [ $(current_stage) = stagefeedback ]; then \
13282 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13283 else \
13284 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13285 $(MAKE) stagefeedback-start; \
13286 fi; \
13287 cd $(HOST_SUBDIR)/mpc && \
13288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13289 @endif mpc-bootstrap
13295 .PHONY: check-mpc maybe-check-mpc
13296 maybe-check-mpc:
13297 @if mpc
13298 maybe-check-mpc: check-mpc
13300 check-mpc:
13301 @: $(MAKE); $(unstage)
13302 @r=`${PWD_COMMAND}`; export r; \
13303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13304 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13305 (cd $(HOST_SUBDIR)/mpc && \
13306 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
13308 @endif mpc
13310 .PHONY: install-mpc maybe-install-mpc
13311 maybe-install-mpc:
13312 @if mpc
13313 maybe-install-mpc: install-mpc
13315 install-mpc:
13317 @endif mpc
13319 .PHONY: install-strip-mpc maybe-install-strip-mpc
13320 maybe-install-strip-mpc:
13321 @if mpc
13322 maybe-install-strip-mpc: install-strip-mpc
13324 install-strip-mpc:
13326 @endif mpc
13328 # Other targets (info, dvi, pdf, etc.)
13330 .PHONY: maybe-info-mpc info-mpc
13331 maybe-info-mpc:
13332 @if mpc
13333 maybe-info-mpc: info-mpc
13335 info-mpc: \
13336 configure-mpc
13337 @[ -f ./mpc/Makefile ] || exit 0; \
13338 r=`${PWD_COMMAND}`; export r; \
13339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13340 $(HOST_EXPORTS) \
13341 for flag in $(EXTRA_HOST_FLAGS) ; do \
13342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13343 done; \
13344 echo "Doing info in mpc"; \
13345 (cd $(HOST_SUBDIR)/mpc && \
13346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13348 "RANLIB=$${RANLIB}" \
13349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13350 info) \
13351 || exit 1
13353 @endif mpc
13355 .PHONY: maybe-dvi-mpc dvi-mpc
13356 maybe-dvi-mpc:
13357 @if mpc
13358 maybe-dvi-mpc: dvi-mpc
13360 dvi-mpc: \
13361 configure-mpc
13362 @[ -f ./mpc/Makefile ] || exit 0; \
13363 r=`${PWD_COMMAND}`; export r; \
13364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13365 $(HOST_EXPORTS) \
13366 for flag in $(EXTRA_HOST_FLAGS) ; do \
13367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13368 done; \
13369 echo "Doing dvi in mpc"; \
13370 (cd $(HOST_SUBDIR)/mpc && \
13371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13373 "RANLIB=$${RANLIB}" \
13374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13375 dvi) \
13376 || exit 1
13378 @endif mpc
13380 .PHONY: maybe-pdf-mpc pdf-mpc
13381 maybe-pdf-mpc:
13382 @if mpc
13383 maybe-pdf-mpc: pdf-mpc
13385 pdf-mpc: \
13386 configure-mpc
13387 @[ -f ./mpc/Makefile ] || exit 0; \
13388 r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(HOST_EXPORTS) \
13391 for flag in $(EXTRA_HOST_FLAGS) ; do \
13392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13393 done; \
13394 echo "Doing pdf in mpc"; \
13395 (cd $(HOST_SUBDIR)/mpc && \
13396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13398 "RANLIB=$${RANLIB}" \
13399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13400 pdf) \
13401 || exit 1
13403 @endif mpc
13405 .PHONY: maybe-html-mpc html-mpc
13406 maybe-html-mpc:
13407 @if mpc
13408 maybe-html-mpc: html-mpc
13410 html-mpc: \
13411 configure-mpc
13412 @[ -f ./mpc/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) ; do \
13417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13418 done; \
13419 echo "Doing html in mpc"; \
13420 (cd $(HOST_SUBDIR)/mpc && \
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 html) \
13426 || exit 1
13428 @endif mpc
13430 .PHONY: maybe-TAGS-mpc TAGS-mpc
13431 maybe-TAGS-mpc:
13432 @if mpc
13433 maybe-TAGS-mpc: TAGS-mpc
13435 TAGS-mpc: \
13436 configure-mpc
13437 @[ -f ./mpc/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) ; do \
13442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13443 done; \
13444 echo "Doing TAGS in mpc"; \
13445 (cd $(HOST_SUBDIR)/mpc && \
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 TAGS) \
13451 || exit 1
13453 @endif mpc
13455 .PHONY: maybe-install-info-mpc install-info-mpc
13456 maybe-install-info-mpc:
13457 @if mpc
13458 maybe-install-info-mpc: install-info-mpc
13460 install-info-mpc: \
13461 configure-mpc \
13462 info-mpc
13463 @[ -f ./mpc/Makefile ] || exit 0; \
13464 r=`${PWD_COMMAND}`; export r; \
13465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13466 $(HOST_EXPORTS) \
13467 for flag in $(EXTRA_HOST_FLAGS) ; do \
13468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13469 done; \
13470 echo "Doing install-info in mpc"; \
13471 (cd $(HOST_SUBDIR)/mpc && \
13472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13474 "RANLIB=$${RANLIB}" \
13475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13476 install-info) \
13477 || exit 1
13479 @endif mpc
13481 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13482 maybe-install-pdf-mpc:
13483 @if mpc
13484 maybe-install-pdf-mpc: install-pdf-mpc
13486 install-pdf-mpc: \
13487 configure-mpc \
13488 pdf-mpc
13489 @[ -f ./mpc/Makefile ] || exit 0; \
13490 r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13492 $(HOST_EXPORTS) \
13493 for flag in $(EXTRA_HOST_FLAGS) ; do \
13494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13495 done; \
13496 echo "Doing install-pdf in mpc"; \
13497 (cd $(HOST_SUBDIR)/mpc && \
13498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13500 "RANLIB=$${RANLIB}" \
13501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13502 install-pdf) \
13503 || exit 1
13505 @endif mpc
13507 .PHONY: maybe-install-html-mpc install-html-mpc
13508 maybe-install-html-mpc:
13509 @if mpc
13510 maybe-install-html-mpc: install-html-mpc
13512 install-html-mpc: \
13513 configure-mpc \
13514 html-mpc
13515 @[ -f ./mpc/Makefile ] || exit 0; \
13516 r=`${PWD_COMMAND}`; export r; \
13517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13518 $(HOST_EXPORTS) \
13519 for flag in $(EXTRA_HOST_FLAGS) ; do \
13520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13521 done; \
13522 echo "Doing install-html in mpc"; \
13523 (cd $(HOST_SUBDIR)/mpc && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13526 "RANLIB=$${RANLIB}" \
13527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13528 install-html) \
13529 || exit 1
13531 @endif mpc
13533 .PHONY: maybe-installcheck-mpc installcheck-mpc
13534 maybe-installcheck-mpc:
13535 @if mpc
13536 maybe-installcheck-mpc: installcheck-mpc
13538 installcheck-mpc: \
13539 configure-mpc
13540 @[ -f ./mpc/Makefile ] || exit 0; \
13541 r=`${PWD_COMMAND}`; export r; \
13542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13543 $(HOST_EXPORTS) \
13544 for flag in $(EXTRA_HOST_FLAGS) ; do \
13545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13546 done; \
13547 echo "Doing installcheck in mpc"; \
13548 (cd $(HOST_SUBDIR)/mpc && \
13549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13551 "RANLIB=$${RANLIB}" \
13552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13553 installcheck) \
13554 || exit 1
13556 @endif mpc
13558 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13559 maybe-mostlyclean-mpc:
13560 @if mpc
13561 maybe-mostlyclean-mpc: mostlyclean-mpc
13563 mostlyclean-mpc:
13564 @[ -f ./mpc/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) ; do \
13569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13570 done; \
13571 echo "Doing mostlyclean in mpc"; \
13572 (cd $(HOST_SUBDIR)/mpc && \
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 mostlyclean) \
13578 || exit 1
13580 @endif mpc
13582 .PHONY: maybe-clean-mpc clean-mpc
13583 maybe-clean-mpc:
13584 @if mpc
13585 maybe-clean-mpc: clean-mpc
13587 clean-mpc:
13588 @[ -f ./mpc/Makefile ] || exit 0; \
13589 r=`${PWD_COMMAND}`; export r; \
13590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13591 $(HOST_EXPORTS) \
13592 for flag in $(EXTRA_HOST_FLAGS) ; do \
13593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13594 done; \
13595 echo "Doing clean in mpc"; \
13596 (cd $(HOST_SUBDIR)/mpc && \
13597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13599 "RANLIB=$${RANLIB}" \
13600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13601 clean) \
13602 || exit 1
13604 @endif mpc
13606 .PHONY: maybe-distclean-mpc distclean-mpc
13607 maybe-distclean-mpc:
13608 @if mpc
13609 maybe-distclean-mpc: distclean-mpc
13611 distclean-mpc:
13612 @[ -f ./mpc/Makefile ] || exit 0; \
13613 r=`${PWD_COMMAND}`; export r; \
13614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13615 $(HOST_EXPORTS) \
13616 for flag in $(EXTRA_HOST_FLAGS) ; do \
13617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13618 done; \
13619 echo "Doing distclean in mpc"; \
13620 (cd $(HOST_SUBDIR)/mpc && \
13621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13623 "RANLIB=$${RANLIB}" \
13624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13625 distclean) \
13626 || exit 1
13628 @endif mpc
13630 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13631 maybe-maintainer-clean-mpc:
13632 @if mpc
13633 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13635 maintainer-clean-mpc:
13636 @[ -f ./mpc/Makefile ] || exit 0; \
13637 r=`${PWD_COMMAND}`; export r; \
13638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13639 $(HOST_EXPORTS) \
13640 for flag in $(EXTRA_HOST_FLAGS) ; do \
13641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13642 done; \
13643 echo "Doing maintainer-clean in mpc"; \
13644 (cd $(HOST_SUBDIR)/mpc && \
13645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13647 "RANLIB=$${RANLIB}" \
13648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13649 maintainer-clean) \
13650 || exit 1
13652 @endif mpc
13656 .PHONY: configure-isl maybe-configure-isl
13657 maybe-configure-isl:
13658 @if gcc-bootstrap
13659 configure-isl: stage_current
13660 @endif gcc-bootstrap
13661 @if isl
13662 maybe-configure-isl: configure-isl
13663 configure-isl:
13664 @r=`${PWD_COMMAND}`; export r; \
13665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13666 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13668 $(HOST_EXPORTS) \
13669 echo Configuring in $(HOST_SUBDIR)/isl; \
13670 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13671 case $(srcdir) in \
13672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13673 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13675 esac; \
13676 module_srcdir=isl; \
13677 $(SHELL) \
13678 $$s/$$module_srcdir/configure \
13679 --srcdir=$${topdir}/$$module_srcdir \
13680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13681 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13682 || exit 1
13683 @endif isl
13687 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13688 maybe-configure-stage1-isl:
13689 @if isl-bootstrap
13690 maybe-configure-stage1-isl: configure-stage1-isl
13691 configure-stage1-isl:
13692 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13694 @r=`${PWD_COMMAND}`; export r; \
13695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13696 TFLAGS="$(STAGE1_TFLAGS)"; \
13697 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13698 $(HOST_EXPORTS) \
13699 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13700 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13701 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13702 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
13703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13704 cd $(HOST_SUBDIR)/isl || exit 1; \
13705 case $(srcdir) in \
13706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13707 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13709 esac; \
13710 module_srcdir=isl; \
13711 $(SHELL) $$s/$$module_srcdir/configure \
13712 --srcdir=$${topdir}/$$module_srcdir \
13713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13714 --target=${target_alias} \
13716 $(STAGE1_CONFIGURE_FLAGS) \
13717 --disable-shared @extra_isl_gmp_configure_flags@
13718 @endif isl-bootstrap
13720 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13721 maybe-configure-stage2-isl:
13722 @if isl-bootstrap
13723 maybe-configure-stage2-isl: configure-stage2-isl
13724 configure-stage2-isl:
13725 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13727 @r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729 TFLAGS="$(STAGE2_TFLAGS)"; \
13730 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13731 $(HOST_EXPORTS) \
13732 $(POSTSTAGE1_HOST_EXPORTS) \
13733 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13734 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13735 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13736 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
13737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13738 cd $(HOST_SUBDIR)/isl || exit 1; \
13739 case $(srcdir) in \
13740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13741 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13743 esac; \
13744 module_srcdir=isl; \
13745 $(SHELL) $$s/$$module_srcdir/configure \
13746 --srcdir=$${topdir}/$$module_srcdir \
13747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13748 --target=${target_alias} \
13749 --with-build-libsubdir=$(HOST_SUBDIR) \
13750 $(STAGE2_CONFIGURE_FLAGS) \
13751 --disable-shared @extra_isl_gmp_configure_flags@
13752 @endif isl-bootstrap
13754 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13755 maybe-configure-stage3-isl:
13756 @if isl-bootstrap
13757 maybe-configure-stage3-isl: configure-stage3-isl
13758 configure-stage3-isl:
13759 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13761 @r=`${PWD_COMMAND}`; export r; \
13762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13763 TFLAGS="$(STAGE3_TFLAGS)"; \
13764 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13765 $(HOST_EXPORTS) \
13766 $(POSTSTAGE1_HOST_EXPORTS) \
13767 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13768 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13769 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13770 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
13771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13772 cd $(HOST_SUBDIR)/isl || exit 1; \
13773 case $(srcdir) in \
13774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13775 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13777 esac; \
13778 module_srcdir=isl; \
13779 $(SHELL) $$s/$$module_srcdir/configure \
13780 --srcdir=$${topdir}/$$module_srcdir \
13781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13782 --target=${target_alias} \
13783 --with-build-libsubdir=$(HOST_SUBDIR) \
13784 $(STAGE3_CONFIGURE_FLAGS) \
13785 --disable-shared @extra_isl_gmp_configure_flags@
13786 @endif isl-bootstrap
13788 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13789 maybe-configure-stage4-isl:
13790 @if isl-bootstrap
13791 maybe-configure-stage4-isl: configure-stage4-isl
13792 configure-stage4-isl:
13793 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13795 @r=`${PWD_COMMAND}`; export r; \
13796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13797 TFLAGS="$(STAGE4_TFLAGS)"; \
13798 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13799 $(HOST_EXPORTS) \
13800 $(POSTSTAGE1_HOST_EXPORTS) \
13801 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13802 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13803 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13804 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
13805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13806 cd $(HOST_SUBDIR)/isl || exit 1; \
13807 case $(srcdir) in \
13808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13809 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13811 esac; \
13812 module_srcdir=isl; \
13813 $(SHELL) $$s/$$module_srcdir/configure \
13814 --srcdir=$${topdir}/$$module_srcdir \
13815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13816 --target=${target_alias} \
13817 --with-build-libsubdir=$(HOST_SUBDIR) \
13818 $(STAGE4_CONFIGURE_FLAGS) \
13819 --disable-shared @extra_isl_gmp_configure_flags@
13820 @endif isl-bootstrap
13822 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13823 maybe-configure-stageprofile-isl:
13824 @if isl-bootstrap
13825 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13826 configure-stageprofile-isl:
13827 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13829 @r=`${PWD_COMMAND}`; export r; \
13830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13831 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13832 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13833 $(HOST_EXPORTS) \
13834 $(POSTSTAGE1_HOST_EXPORTS) \
13835 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13836 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13837 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13838 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
13839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13840 cd $(HOST_SUBDIR)/isl || exit 1; \
13841 case $(srcdir) in \
13842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13843 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13845 esac; \
13846 module_srcdir=isl; \
13847 $(SHELL) $$s/$$module_srcdir/configure \
13848 --srcdir=$${topdir}/$$module_srcdir \
13849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13850 --target=${target_alias} \
13851 --with-build-libsubdir=$(HOST_SUBDIR) \
13852 $(STAGEprofile_CONFIGURE_FLAGS) \
13853 --disable-shared @extra_isl_gmp_configure_flags@
13854 @endif isl-bootstrap
13856 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13857 maybe-configure-stagefeedback-isl:
13858 @if isl-bootstrap
13859 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13860 configure-stagefeedback-isl:
13861 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13863 @r=`${PWD_COMMAND}`; export r; \
13864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13865 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13866 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13867 $(HOST_EXPORTS) \
13868 $(POSTSTAGE1_HOST_EXPORTS) \
13869 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13870 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13871 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13872 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
13873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13874 cd $(HOST_SUBDIR)/isl || exit 1; \
13875 case $(srcdir) in \
13876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13877 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13879 esac; \
13880 module_srcdir=isl; \
13881 $(SHELL) $$s/$$module_srcdir/configure \
13882 --srcdir=$${topdir}/$$module_srcdir \
13883 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13884 --target=${target_alias} \
13885 --with-build-libsubdir=$(HOST_SUBDIR) \
13886 $(STAGEfeedback_CONFIGURE_FLAGS) \
13887 --disable-shared @extra_isl_gmp_configure_flags@
13888 @endif isl-bootstrap
13894 .PHONY: all-isl maybe-all-isl
13895 maybe-all-isl:
13896 @if gcc-bootstrap
13897 all-isl: stage_current
13898 @endif gcc-bootstrap
13899 @if isl
13900 TARGET-isl=all
13901 maybe-all-isl: all-isl
13902 all-isl: configure-isl
13903 @r=`${PWD_COMMAND}`; export r; \
13904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13905 $(HOST_EXPORTS) \
13906 (cd $(HOST_SUBDIR)/isl && \
13907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13908 $(TARGET-isl))
13909 @endif isl
13913 .PHONY: all-stage1-isl maybe-all-stage1-isl
13914 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13915 maybe-all-stage1-isl:
13916 maybe-clean-stage1-isl:
13917 @if isl-bootstrap
13918 maybe-all-stage1-isl: all-stage1-isl
13919 all-stage1: all-stage1-isl
13920 TARGET-stage1-isl = $(TARGET-isl)
13921 all-stage1-isl: configure-stage1-isl
13922 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13923 @r=`${PWD_COMMAND}`; export r; \
13924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13925 TFLAGS="$(STAGE1_TFLAGS)"; \
13926 $(HOST_EXPORTS) \
13927 cd $(HOST_SUBDIR)/isl && \
13928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13929 CFLAGS="$(STAGE1_CFLAGS)" \
13930 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13931 LIBCFLAGS="$(LIBCFLAGS)" \
13932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13935 $(EXTRA_HOST_FLAGS) \
13936 $(STAGE1_FLAGS_TO_PASS) V=1 \
13937 TFLAGS="$(STAGE1_TFLAGS)" \
13938 $(TARGET-stage1-isl)
13940 maybe-clean-stage1-isl: clean-stage1-isl
13941 clean-stage1: clean-stage1-isl
13942 clean-stage1-isl:
13943 @if [ $(current_stage) = stage1 ]; then \
13944 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13945 else \
13946 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13947 $(MAKE) stage1-start; \
13948 fi; \
13949 cd $(HOST_SUBDIR)/isl && \
13950 $(MAKE) $(EXTRA_HOST_FLAGS) \
13951 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13952 @endif isl-bootstrap
13955 .PHONY: all-stage2-isl maybe-all-stage2-isl
13956 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13957 maybe-all-stage2-isl:
13958 maybe-clean-stage2-isl:
13959 @if isl-bootstrap
13960 maybe-all-stage2-isl: all-stage2-isl
13961 all-stage2: all-stage2-isl
13962 TARGET-stage2-isl = $(TARGET-isl)
13963 all-stage2-isl: configure-stage2-isl
13964 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13965 @r=`${PWD_COMMAND}`; export r; \
13966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13967 TFLAGS="$(STAGE2_TFLAGS)"; \
13968 $(HOST_EXPORTS) \
13969 $(POSTSTAGE1_HOST_EXPORTS) \
13970 cd $(HOST_SUBDIR)/isl && \
13971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13972 CFLAGS="$(STAGE2_CFLAGS)" \
13973 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13974 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13979 TFLAGS="$(STAGE2_TFLAGS)" \
13980 $(TARGET-stage2-isl)
13982 maybe-clean-stage2-isl: clean-stage2-isl
13983 clean-stage2: clean-stage2-isl
13984 clean-stage2-isl:
13985 @if [ $(current_stage) = stage2 ]; then \
13986 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13987 else \
13988 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13989 $(MAKE) stage2-start; \
13990 fi; \
13991 cd $(HOST_SUBDIR)/isl && \
13992 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13993 @endif isl-bootstrap
13996 .PHONY: all-stage3-isl maybe-all-stage3-isl
13997 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13998 maybe-all-stage3-isl:
13999 maybe-clean-stage3-isl:
14000 @if isl-bootstrap
14001 maybe-all-stage3-isl: all-stage3-isl
14002 all-stage3: all-stage3-isl
14003 TARGET-stage3-isl = $(TARGET-isl)
14004 all-stage3-isl: configure-stage3-isl
14005 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14006 @r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14008 TFLAGS="$(STAGE3_TFLAGS)"; \
14009 $(HOST_EXPORTS) \
14010 $(POSTSTAGE1_HOST_EXPORTS) \
14011 cd $(HOST_SUBDIR)/isl && \
14012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14013 CFLAGS="$(STAGE3_CFLAGS)" \
14014 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14015 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14020 TFLAGS="$(STAGE3_TFLAGS)" \
14021 $(TARGET-stage3-isl)
14023 maybe-clean-stage3-isl: clean-stage3-isl
14024 clean-stage3: clean-stage3-isl
14025 clean-stage3-isl:
14026 @if [ $(current_stage) = stage3 ]; then \
14027 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14028 else \
14029 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
14030 $(MAKE) stage3-start; \
14031 fi; \
14032 cd $(HOST_SUBDIR)/isl && \
14033 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14034 @endif isl-bootstrap
14037 .PHONY: all-stage4-isl maybe-all-stage4-isl
14038 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
14039 maybe-all-stage4-isl:
14040 maybe-clean-stage4-isl:
14041 @if isl-bootstrap
14042 maybe-all-stage4-isl: all-stage4-isl
14043 all-stage4: all-stage4-isl
14044 TARGET-stage4-isl = $(TARGET-isl)
14045 all-stage4-isl: configure-stage4-isl
14046 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14047 @r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 TFLAGS="$(STAGE4_TFLAGS)"; \
14050 $(HOST_EXPORTS) \
14051 $(POSTSTAGE1_HOST_EXPORTS) \
14052 cd $(HOST_SUBDIR)/isl && \
14053 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14054 CFLAGS="$(STAGE4_CFLAGS)" \
14055 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14056 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14057 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14058 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14059 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14060 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14061 TFLAGS="$(STAGE4_TFLAGS)" \
14062 $(TARGET-stage4-isl)
14064 maybe-clean-stage4-isl: clean-stage4-isl
14065 clean-stage4: clean-stage4-isl
14066 clean-stage4-isl:
14067 @if [ $(current_stage) = stage4 ]; then \
14068 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14069 else \
14070 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
14071 $(MAKE) stage4-start; \
14072 fi; \
14073 cd $(HOST_SUBDIR)/isl && \
14074 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14075 @endif isl-bootstrap
14078 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
14079 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
14080 maybe-all-stageprofile-isl:
14081 maybe-clean-stageprofile-isl:
14082 @if isl-bootstrap
14083 maybe-all-stageprofile-isl: all-stageprofile-isl
14084 all-stageprofile: all-stageprofile-isl
14085 TARGET-stageprofile-isl = $(TARGET-isl)
14086 all-stageprofile-isl: configure-stageprofile-isl
14087 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14088 @r=`${PWD_COMMAND}`; export r; \
14089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14090 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14091 $(HOST_EXPORTS) \
14092 $(POSTSTAGE1_HOST_EXPORTS) \
14093 cd $(HOST_SUBDIR)/isl && \
14094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14095 CFLAGS="$(STAGEprofile_CFLAGS)" \
14096 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14097 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14101 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14102 TFLAGS="$(STAGEprofile_TFLAGS)" \
14103 $(TARGET-stageprofile-isl)
14105 maybe-clean-stageprofile-isl: clean-stageprofile-isl
14106 clean-stageprofile: clean-stageprofile-isl
14107 clean-stageprofile-isl:
14108 @if [ $(current_stage) = stageprofile ]; then \
14109 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14110 else \
14111 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
14112 $(MAKE) stageprofile-start; \
14113 fi; \
14114 cd $(HOST_SUBDIR)/isl && \
14115 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14116 @endif isl-bootstrap
14119 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
14120 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
14121 maybe-all-stagefeedback-isl:
14122 maybe-clean-stagefeedback-isl:
14123 @if isl-bootstrap
14124 maybe-all-stagefeedback-isl: all-stagefeedback-isl
14125 all-stagefeedback: all-stagefeedback-isl
14126 TARGET-stagefeedback-isl = $(TARGET-isl)
14127 all-stagefeedback-isl: configure-stagefeedback-isl
14128 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14129 @r=`${PWD_COMMAND}`; export r; \
14130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14131 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14132 $(HOST_EXPORTS) \
14133 $(POSTSTAGE1_HOST_EXPORTS) \
14134 cd $(HOST_SUBDIR)/isl && \
14135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14136 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14137 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14138 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14142 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14143 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14144 $(TARGET-stagefeedback-isl)
14146 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
14147 clean-stagefeedback: clean-stagefeedback-isl
14148 clean-stagefeedback-isl:
14149 @if [ $(current_stage) = stagefeedback ]; then \
14150 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14151 else \
14152 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
14153 $(MAKE) stagefeedback-start; \
14154 fi; \
14155 cd $(HOST_SUBDIR)/isl && \
14156 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14157 @endif isl-bootstrap
14163 .PHONY: check-isl maybe-check-isl
14164 maybe-check-isl:
14165 @if isl
14166 maybe-check-isl: check-isl
14168 check-isl:
14169 @: $(MAKE); $(unstage)
14170 @r=`${PWD_COMMAND}`; export r; \
14171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14172 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14173 (cd $(HOST_SUBDIR)/isl && \
14174 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
14176 @endif isl
14178 .PHONY: install-isl maybe-install-isl
14179 maybe-install-isl:
14180 @if isl
14181 maybe-install-isl: install-isl
14183 install-isl:
14185 @endif isl
14187 .PHONY: install-strip-isl maybe-install-strip-isl
14188 maybe-install-strip-isl:
14189 @if isl
14190 maybe-install-strip-isl: install-strip-isl
14192 install-strip-isl:
14194 @endif isl
14196 # Other targets (info, dvi, pdf, etc.)
14198 .PHONY: maybe-info-isl info-isl
14199 maybe-info-isl:
14200 @if isl
14201 maybe-info-isl: info-isl
14203 info-isl: \
14204 configure-isl
14205 @[ -f ./isl/Makefile ] || exit 0; \
14206 r=`${PWD_COMMAND}`; export r; \
14207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14208 $(HOST_EXPORTS) \
14209 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14211 done; \
14212 echo "Doing info in isl"; \
14213 (cd $(HOST_SUBDIR)/isl && \
14214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14216 "RANLIB=$${RANLIB}" \
14217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14218 info) \
14219 || exit 1
14221 @endif isl
14223 .PHONY: maybe-dvi-isl dvi-isl
14224 maybe-dvi-isl:
14225 @if isl
14226 maybe-dvi-isl: dvi-isl
14228 dvi-isl: \
14229 configure-isl
14230 @[ -f ./isl/Makefile ] || exit 0; \
14231 r=`${PWD_COMMAND}`; export r; \
14232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14233 $(HOST_EXPORTS) \
14234 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14236 done; \
14237 echo "Doing dvi in isl"; \
14238 (cd $(HOST_SUBDIR)/isl && \
14239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14241 "RANLIB=$${RANLIB}" \
14242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14243 dvi) \
14244 || exit 1
14246 @endif isl
14248 .PHONY: maybe-pdf-isl pdf-isl
14249 maybe-pdf-isl:
14250 @if isl
14251 maybe-pdf-isl: pdf-isl
14253 pdf-isl: \
14254 configure-isl
14255 @[ -f ./isl/Makefile ] || exit 0; \
14256 r=`${PWD_COMMAND}`; export r; \
14257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14258 $(HOST_EXPORTS) \
14259 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14261 done; \
14262 echo "Doing pdf in isl"; \
14263 (cd $(HOST_SUBDIR)/isl && \
14264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14266 "RANLIB=$${RANLIB}" \
14267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14268 pdf) \
14269 || exit 1
14271 @endif isl
14273 .PHONY: maybe-html-isl html-isl
14274 maybe-html-isl:
14275 @if isl
14276 maybe-html-isl: html-isl
14278 html-isl: \
14279 configure-isl
14280 @[ -f ./isl/Makefile ] || exit 0; \
14281 r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283 $(HOST_EXPORTS) \
14284 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14286 done; \
14287 echo "Doing html in isl"; \
14288 (cd $(HOST_SUBDIR)/isl && \
14289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14291 "RANLIB=$${RANLIB}" \
14292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14293 html) \
14294 || exit 1
14296 @endif isl
14298 .PHONY: maybe-TAGS-isl TAGS-isl
14299 maybe-TAGS-isl:
14300 @if isl
14301 maybe-TAGS-isl: TAGS-isl
14303 TAGS-isl: \
14304 configure-isl
14305 @[ -f ./isl/Makefile ] || exit 0; \
14306 r=`${PWD_COMMAND}`; export r; \
14307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14308 $(HOST_EXPORTS) \
14309 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14311 done; \
14312 echo "Doing TAGS in isl"; \
14313 (cd $(HOST_SUBDIR)/isl && \
14314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14316 "RANLIB=$${RANLIB}" \
14317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14318 TAGS) \
14319 || exit 1
14321 @endif isl
14323 .PHONY: maybe-install-info-isl install-info-isl
14324 maybe-install-info-isl:
14325 @if isl
14326 maybe-install-info-isl: install-info-isl
14328 install-info-isl: \
14329 configure-isl \
14330 info-isl
14331 @[ -f ./isl/Makefile ] || exit 0; \
14332 r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 $(HOST_EXPORTS) \
14335 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14337 done; \
14338 echo "Doing install-info in isl"; \
14339 (cd $(HOST_SUBDIR)/isl && \
14340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14342 "RANLIB=$${RANLIB}" \
14343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14344 install-info) \
14345 || exit 1
14347 @endif isl
14349 .PHONY: maybe-install-pdf-isl install-pdf-isl
14350 maybe-install-pdf-isl:
14351 @if isl
14352 maybe-install-pdf-isl: install-pdf-isl
14354 install-pdf-isl: \
14355 configure-isl \
14356 pdf-isl
14357 @[ -f ./isl/Makefile ] || exit 0; \
14358 r=`${PWD_COMMAND}`; export r; \
14359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14360 $(HOST_EXPORTS) \
14361 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14363 done; \
14364 echo "Doing install-pdf in isl"; \
14365 (cd $(HOST_SUBDIR)/isl && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368 "RANLIB=$${RANLIB}" \
14369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14370 install-pdf) \
14371 || exit 1
14373 @endif isl
14375 .PHONY: maybe-install-html-isl install-html-isl
14376 maybe-install-html-isl:
14377 @if isl
14378 maybe-install-html-isl: install-html-isl
14380 install-html-isl: \
14381 configure-isl \
14382 html-isl
14383 @[ -f ./isl/Makefile ] || exit 0; \
14384 r=`${PWD_COMMAND}`; export r; \
14385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14386 $(HOST_EXPORTS) \
14387 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14389 done; \
14390 echo "Doing install-html in isl"; \
14391 (cd $(HOST_SUBDIR)/isl && \
14392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14394 "RANLIB=$${RANLIB}" \
14395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14396 install-html) \
14397 || exit 1
14399 @endif isl
14401 .PHONY: maybe-installcheck-isl installcheck-isl
14402 maybe-installcheck-isl:
14403 @if isl
14404 maybe-installcheck-isl: installcheck-isl
14406 installcheck-isl: \
14407 configure-isl
14408 @[ -f ./isl/Makefile ] || exit 0; \
14409 r=`${PWD_COMMAND}`; export r; \
14410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14411 $(HOST_EXPORTS) \
14412 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14414 done; \
14415 echo "Doing installcheck in isl"; \
14416 (cd $(HOST_SUBDIR)/isl && \
14417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14419 "RANLIB=$${RANLIB}" \
14420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14421 installcheck) \
14422 || exit 1
14424 @endif isl
14426 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14427 maybe-mostlyclean-isl:
14428 @if isl
14429 maybe-mostlyclean-isl: mostlyclean-isl
14431 mostlyclean-isl:
14432 @[ -f ./isl/Makefile ] || exit 0; \
14433 r=`${PWD_COMMAND}`; export r; \
14434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14435 $(HOST_EXPORTS) \
14436 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14438 done; \
14439 echo "Doing mostlyclean in isl"; \
14440 (cd $(HOST_SUBDIR)/isl && \
14441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14443 "RANLIB=$${RANLIB}" \
14444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14445 mostlyclean) \
14446 || exit 1
14448 @endif isl
14450 .PHONY: maybe-clean-isl clean-isl
14451 maybe-clean-isl:
14452 @if isl
14453 maybe-clean-isl: clean-isl
14455 clean-isl:
14456 @[ -f ./isl/Makefile ] || exit 0; \
14457 r=`${PWD_COMMAND}`; export r; \
14458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14459 $(HOST_EXPORTS) \
14460 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14462 done; \
14463 echo "Doing clean in isl"; \
14464 (cd $(HOST_SUBDIR)/isl && \
14465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14467 "RANLIB=$${RANLIB}" \
14468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14469 clean) \
14470 || exit 1
14472 @endif isl
14474 .PHONY: maybe-distclean-isl distclean-isl
14475 maybe-distclean-isl:
14476 @if isl
14477 maybe-distclean-isl: distclean-isl
14479 distclean-isl:
14480 @[ -f ./isl/Makefile ] || exit 0; \
14481 r=`${PWD_COMMAND}`; export r; \
14482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14483 $(HOST_EXPORTS) \
14484 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14486 done; \
14487 echo "Doing distclean in isl"; \
14488 (cd $(HOST_SUBDIR)/isl && \
14489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14491 "RANLIB=$${RANLIB}" \
14492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14493 distclean) \
14494 || exit 1
14496 @endif isl
14498 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14499 maybe-maintainer-clean-isl:
14500 @if isl
14501 maybe-maintainer-clean-isl: maintainer-clean-isl
14503 maintainer-clean-isl:
14504 @[ -f ./isl/Makefile ] || exit 0; \
14505 r=`${PWD_COMMAND}`; export r; \
14506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14507 $(HOST_EXPORTS) \
14508 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14510 done; \
14511 echo "Doing maintainer-clean in isl"; \
14512 (cd $(HOST_SUBDIR)/isl && \
14513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14515 "RANLIB=$${RANLIB}" \
14516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14517 maintainer-clean) \
14518 || exit 1
14520 @endif isl
14524 .PHONY: configure-libelf maybe-configure-libelf
14525 maybe-configure-libelf:
14526 @if gcc-bootstrap
14527 configure-libelf: stage_current
14528 @endif gcc-bootstrap
14529 @if libelf
14530 maybe-configure-libelf: configure-libelf
14531 configure-libelf:
14532 @r=`${PWD_COMMAND}`; export r; \
14533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14534 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14536 $(HOST_EXPORTS) \
14537 echo Configuring in $(HOST_SUBDIR)/libelf; \
14538 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14539 case $(srcdir) in \
14540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14541 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14543 esac; \
14544 module_srcdir=libelf; \
14545 $(SHELL) \
14546 $$s/$$module_srcdir/configure \
14547 --srcdir=$${topdir}/$$module_srcdir \
14548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14549 --target=${target_alias} --disable-shared \
14550 || exit 1
14551 @endif libelf
14555 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14556 maybe-configure-stage1-libelf:
14557 @if libelf-bootstrap
14558 maybe-configure-stage1-libelf: configure-stage1-libelf
14559 configure-stage1-libelf:
14560 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14561 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14562 @r=`${PWD_COMMAND}`; export r; \
14563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14564 TFLAGS="$(STAGE1_TFLAGS)"; \
14565 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14566 $(HOST_EXPORTS) \
14567 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14568 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14569 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14570 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
14571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14572 cd $(HOST_SUBDIR)/libelf || exit 1; \
14573 case $(srcdir) in \
14574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14575 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14577 esac; \
14578 module_srcdir=libelf; \
14579 $(SHELL) $$s/$$module_srcdir/configure \
14580 --srcdir=$${topdir}/$$module_srcdir \
14581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14582 --target=${target_alias} \
14584 $(STAGE1_CONFIGURE_FLAGS) \
14585 --disable-shared
14586 @endif libelf-bootstrap
14588 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14589 maybe-configure-stage2-libelf:
14590 @if libelf-bootstrap
14591 maybe-configure-stage2-libelf: configure-stage2-libelf
14592 configure-stage2-libelf:
14593 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14595 @r=`${PWD_COMMAND}`; export r; \
14596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14597 TFLAGS="$(STAGE2_TFLAGS)"; \
14598 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14599 $(HOST_EXPORTS) \
14600 $(POSTSTAGE1_HOST_EXPORTS) \
14601 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14602 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14603 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14604 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
14605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14606 cd $(HOST_SUBDIR)/libelf || exit 1; \
14607 case $(srcdir) in \
14608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14609 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14611 esac; \
14612 module_srcdir=libelf; \
14613 $(SHELL) $$s/$$module_srcdir/configure \
14614 --srcdir=$${topdir}/$$module_srcdir \
14615 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14616 --target=${target_alias} \
14617 --with-build-libsubdir=$(HOST_SUBDIR) \
14618 $(STAGE2_CONFIGURE_FLAGS) \
14619 --disable-shared
14620 @endif libelf-bootstrap
14622 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14623 maybe-configure-stage3-libelf:
14624 @if libelf-bootstrap
14625 maybe-configure-stage3-libelf: configure-stage3-libelf
14626 configure-stage3-libelf:
14627 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14629 @r=`${PWD_COMMAND}`; export r; \
14630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14631 TFLAGS="$(STAGE3_TFLAGS)"; \
14632 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14633 $(HOST_EXPORTS) \
14634 $(POSTSTAGE1_HOST_EXPORTS) \
14635 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14636 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14637 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14638 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
14639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14640 cd $(HOST_SUBDIR)/libelf || exit 1; \
14641 case $(srcdir) in \
14642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14643 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14645 esac; \
14646 module_srcdir=libelf; \
14647 $(SHELL) $$s/$$module_srcdir/configure \
14648 --srcdir=$${topdir}/$$module_srcdir \
14649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14650 --target=${target_alias} \
14651 --with-build-libsubdir=$(HOST_SUBDIR) \
14652 $(STAGE3_CONFIGURE_FLAGS) \
14653 --disable-shared
14654 @endif libelf-bootstrap
14656 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14657 maybe-configure-stage4-libelf:
14658 @if libelf-bootstrap
14659 maybe-configure-stage4-libelf: configure-stage4-libelf
14660 configure-stage4-libelf:
14661 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14662 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14663 @r=`${PWD_COMMAND}`; export r; \
14664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14665 TFLAGS="$(STAGE4_TFLAGS)"; \
14666 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14667 $(HOST_EXPORTS) \
14668 $(POSTSTAGE1_HOST_EXPORTS) \
14669 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14670 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14671 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14672 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
14673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14674 cd $(HOST_SUBDIR)/libelf || exit 1; \
14675 case $(srcdir) in \
14676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14677 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14679 esac; \
14680 module_srcdir=libelf; \
14681 $(SHELL) $$s/$$module_srcdir/configure \
14682 --srcdir=$${topdir}/$$module_srcdir \
14683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14684 --target=${target_alias} \
14685 --with-build-libsubdir=$(HOST_SUBDIR) \
14686 $(STAGE4_CONFIGURE_FLAGS) \
14687 --disable-shared
14688 @endif libelf-bootstrap
14690 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14691 maybe-configure-stageprofile-libelf:
14692 @if libelf-bootstrap
14693 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14694 configure-stageprofile-libelf:
14695 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14697 @r=`${PWD_COMMAND}`; export r; \
14698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14699 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14700 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14701 $(HOST_EXPORTS) \
14702 $(POSTSTAGE1_HOST_EXPORTS) \
14703 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14704 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14705 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14706 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
14707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14708 cd $(HOST_SUBDIR)/libelf || exit 1; \
14709 case $(srcdir) in \
14710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14711 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14713 esac; \
14714 module_srcdir=libelf; \
14715 $(SHELL) $$s/$$module_srcdir/configure \
14716 --srcdir=$${topdir}/$$module_srcdir \
14717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14718 --target=${target_alias} \
14719 --with-build-libsubdir=$(HOST_SUBDIR) \
14720 $(STAGEprofile_CONFIGURE_FLAGS) \
14721 --disable-shared
14722 @endif libelf-bootstrap
14724 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14725 maybe-configure-stagefeedback-libelf:
14726 @if libelf-bootstrap
14727 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14728 configure-stagefeedback-libelf:
14729 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14731 @r=`${PWD_COMMAND}`; export r; \
14732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14733 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14734 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14735 $(HOST_EXPORTS) \
14736 $(POSTSTAGE1_HOST_EXPORTS) \
14737 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14738 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14739 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14740 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
14741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14742 cd $(HOST_SUBDIR)/libelf || exit 1; \
14743 case $(srcdir) in \
14744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14745 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14747 esac; \
14748 module_srcdir=libelf; \
14749 $(SHELL) $$s/$$module_srcdir/configure \
14750 --srcdir=$${topdir}/$$module_srcdir \
14751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14752 --target=${target_alias} \
14753 --with-build-libsubdir=$(HOST_SUBDIR) \
14754 $(STAGEfeedback_CONFIGURE_FLAGS) \
14755 --disable-shared
14756 @endif libelf-bootstrap
14762 .PHONY: all-libelf maybe-all-libelf
14763 maybe-all-libelf:
14764 @if gcc-bootstrap
14765 all-libelf: stage_current
14766 @endif gcc-bootstrap
14767 @if libelf
14768 TARGET-libelf=all
14769 maybe-all-libelf: all-libelf
14770 all-libelf: configure-libelf
14771 @r=`${PWD_COMMAND}`; export r; \
14772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14773 $(HOST_EXPORTS) \
14774 (cd $(HOST_SUBDIR)/libelf && \
14775 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14776 $(TARGET-libelf))
14777 @endif libelf
14781 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14782 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14783 maybe-all-stage1-libelf:
14784 maybe-clean-stage1-libelf:
14785 @if libelf-bootstrap
14786 maybe-all-stage1-libelf: all-stage1-libelf
14787 all-stage1: all-stage1-libelf
14788 TARGET-stage1-libelf = $(TARGET-libelf)
14789 all-stage1-libelf: configure-stage1-libelf
14790 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14791 @r=`${PWD_COMMAND}`; export r; \
14792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14793 TFLAGS="$(STAGE1_TFLAGS)"; \
14794 $(HOST_EXPORTS) \
14795 cd $(HOST_SUBDIR)/libelf && \
14796 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14797 CFLAGS="$(STAGE1_CFLAGS)" \
14798 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14799 LIBCFLAGS="$(LIBCFLAGS)" \
14800 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14801 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14802 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14803 $(EXTRA_HOST_FLAGS) \
14804 $(STAGE1_FLAGS_TO_PASS) \
14805 TFLAGS="$(STAGE1_TFLAGS)" \
14806 $(TARGET-stage1-libelf)
14808 maybe-clean-stage1-libelf: clean-stage1-libelf
14809 clean-stage1: clean-stage1-libelf
14810 clean-stage1-libelf:
14811 @if [ $(current_stage) = stage1 ]; then \
14812 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14813 else \
14814 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14815 $(MAKE) stage1-start; \
14816 fi; \
14817 cd $(HOST_SUBDIR)/libelf && \
14818 $(MAKE) $(EXTRA_HOST_FLAGS) \
14819 $(STAGE1_FLAGS_TO_PASS) clean
14820 @endif libelf-bootstrap
14823 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14824 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14825 maybe-all-stage2-libelf:
14826 maybe-clean-stage2-libelf:
14827 @if libelf-bootstrap
14828 maybe-all-stage2-libelf: all-stage2-libelf
14829 all-stage2: all-stage2-libelf
14830 TARGET-stage2-libelf = $(TARGET-libelf)
14831 all-stage2-libelf: configure-stage2-libelf
14832 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14833 @r=`${PWD_COMMAND}`; export r; \
14834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14835 TFLAGS="$(STAGE2_TFLAGS)"; \
14836 $(HOST_EXPORTS) \
14837 $(POSTSTAGE1_HOST_EXPORTS) \
14838 cd $(HOST_SUBDIR)/libelf && \
14839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14840 CFLAGS="$(STAGE2_CFLAGS)" \
14841 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14842 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14846 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14847 TFLAGS="$(STAGE2_TFLAGS)" \
14848 $(TARGET-stage2-libelf)
14850 maybe-clean-stage2-libelf: clean-stage2-libelf
14851 clean-stage2: clean-stage2-libelf
14852 clean-stage2-libelf:
14853 @if [ $(current_stage) = stage2 ]; then \
14854 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14855 else \
14856 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
14857 $(MAKE) stage2-start; \
14858 fi; \
14859 cd $(HOST_SUBDIR)/libelf && \
14860 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14861 @endif libelf-bootstrap
14864 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
14865 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
14866 maybe-all-stage3-libelf:
14867 maybe-clean-stage3-libelf:
14868 @if libelf-bootstrap
14869 maybe-all-stage3-libelf: all-stage3-libelf
14870 all-stage3: all-stage3-libelf
14871 TARGET-stage3-libelf = $(TARGET-libelf)
14872 all-stage3-libelf: configure-stage3-libelf
14873 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14874 @r=`${PWD_COMMAND}`; export r; \
14875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14876 TFLAGS="$(STAGE3_TFLAGS)"; \
14877 $(HOST_EXPORTS) \
14878 $(POSTSTAGE1_HOST_EXPORTS) \
14879 cd $(HOST_SUBDIR)/libelf && \
14880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14881 CFLAGS="$(STAGE3_CFLAGS)" \
14882 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14883 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14888 TFLAGS="$(STAGE3_TFLAGS)" \
14889 $(TARGET-stage3-libelf)
14891 maybe-clean-stage3-libelf: clean-stage3-libelf
14892 clean-stage3: clean-stage3-libelf
14893 clean-stage3-libelf:
14894 @if [ $(current_stage) = stage3 ]; then \
14895 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14896 else \
14897 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
14898 $(MAKE) stage3-start; \
14899 fi; \
14900 cd $(HOST_SUBDIR)/libelf && \
14901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14902 @endif libelf-bootstrap
14905 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
14906 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
14907 maybe-all-stage4-libelf:
14908 maybe-clean-stage4-libelf:
14909 @if libelf-bootstrap
14910 maybe-all-stage4-libelf: all-stage4-libelf
14911 all-stage4: all-stage4-libelf
14912 TARGET-stage4-libelf = $(TARGET-libelf)
14913 all-stage4-libelf: configure-stage4-libelf
14914 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14915 @r=`${PWD_COMMAND}`; export r; \
14916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14917 TFLAGS="$(STAGE4_TFLAGS)"; \
14918 $(HOST_EXPORTS) \
14919 $(POSTSTAGE1_HOST_EXPORTS) \
14920 cd $(HOST_SUBDIR)/libelf && \
14921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14922 CFLAGS="$(STAGE4_CFLAGS)" \
14923 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14924 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14928 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14929 TFLAGS="$(STAGE4_TFLAGS)" \
14930 $(TARGET-stage4-libelf)
14932 maybe-clean-stage4-libelf: clean-stage4-libelf
14933 clean-stage4: clean-stage4-libelf
14934 clean-stage4-libelf:
14935 @if [ $(current_stage) = stage4 ]; then \
14936 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14937 else \
14938 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
14939 $(MAKE) stage4-start; \
14940 fi; \
14941 cd $(HOST_SUBDIR)/libelf && \
14942 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14943 @endif libelf-bootstrap
14946 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
14947 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
14948 maybe-all-stageprofile-libelf:
14949 maybe-clean-stageprofile-libelf:
14950 @if libelf-bootstrap
14951 maybe-all-stageprofile-libelf: all-stageprofile-libelf
14952 all-stageprofile: all-stageprofile-libelf
14953 TARGET-stageprofile-libelf = $(TARGET-libelf)
14954 all-stageprofile-libelf: configure-stageprofile-libelf
14955 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14956 @r=`${PWD_COMMAND}`; export r; \
14957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14958 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14959 $(HOST_EXPORTS) \
14960 $(POSTSTAGE1_HOST_EXPORTS) \
14961 cd $(HOST_SUBDIR)/libelf && \
14962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14963 CFLAGS="$(STAGEprofile_CFLAGS)" \
14964 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14965 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14969 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14970 TFLAGS="$(STAGEprofile_TFLAGS)" \
14971 $(TARGET-stageprofile-libelf)
14973 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
14974 clean-stageprofile: clean-stageprofile-libelf
14975 clean-stageprofile-libelf:
14976 @if [ $(current_stage) = stageprofile ]; then \
14977 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14978 else \
14979 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
14980 $(MAKE) stageprofile-start; \
14981 fi; \
14982 cd $(HOST_SUBDIR)/libelf && \
14983 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14984 @endif libelf-bootstrap
14987 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
14988 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
14989 maybe-all-stagefeedback-libelf:
14990 maybe-clean-stagefeedback-libelf:
14991 @if libelf-bootstrap
14992 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
14993 all-stagefeedback: all-stagefeedback-libelf
14994 TARGET-stagefeedback-libelf = $(TARGET-libelf)
14995 all-stagefeedback-libelf: configure-stagefeedback-libelf
14996 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14997 @r=`${PWD_COMMAND}`; export r; \
14998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14999 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15000 $(HOST_EXPORTS) \
15001 $(POSTSTAGE1_HOST_EXPORTS) \
15002 cd $(HOST_SUBDIR)/libelf && \
15003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15004 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15005 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15006 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15011 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15012 $(TARGET-stagefeedback-libelf)
15014 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15015 clean-stagefeedback: clean-stagefeedback-libelf
15016 clean-stagefeedback-libelf:
15017 @if [ $(current_stage) = stagefeedback ]; then \
15018 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15019 else \
15020 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15021 $(MAKE) stagefeedback-start; \
15022 fi; \
15023 cd $(HOST_SUBDIR)/libelf && \
15024 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15025 @endif libelf-bootstrap
15031 .PHONY: check-libelf maybe-check-libelf
15032 maybe-check-libelf:
15033 @if libelf
15034 maybe-check-libelf: check-libelf
15036 check-libelf:
15037 @: $(MAKE); $(unstage)
15038 @r=`${PWD_COMMAND}`; export r; \
15039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15040 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15041 (cd $(HOST_SUBDIR)/libelf && \
15042 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15044 @endif libelf
15046 .PHONY: install-libelf maybe-install-libelf
15047 maybe-install-libelf:
15048 @if libelf
15049 maybe-install-libelf: install-libelf
15051 install-libelf:
15053 @endif libelf
15055 .PHONY: install-strip-libelf maybe-install-strip-libelf
15056 maybe-install-strip-libelf:
15057 @if libelf
15058 maybe-install-strip-libelf: install-strip-libelf
15060 install-strip-libelf:
15062 @endif libelf
15064 # Other targets (info, dvi, pdf, etc.)
15066 .PHONY: maybe-info-libelf info-libelf
15067 maybe-info-libelf:
15068 @if libelf
15069 maybe-info-libelf: info-libelf
15071 info-libelf: \
15072 configure-libelf
15073 @[ -f ./libelf/Makefile ] || exit 0; \
15074 r=`${PWD_COMMAND}`; export r; \
15075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15076 $(HOST_EXPORTS) \
15077 for flag in $(EXTRA_HOST_FLAGS) ; do \
15078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15079 done; \
15080 echo "Doing info in libelf"; \
15081 (cd $(HOST_SUBDIR)/libelf && \
15082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15084 "RANLIB=$${RANLIB}" \
15085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15086 info) \
15087 || exit 1
15089 @endif libelf
15091 .PHONY: maybe-dvi-libelf dvi-libelf
15092 maybe-dvi-libelf:
15093 @if libelf
15094 maybe-dvi-libelf: dvi-libelf
15096 dvi-libelf: \
15097 configure-libelf
15098 @[ -f ./libelf/Makefile ] || exit 0; \
15099 r=`${PWD_COMMAND}`; export r; \
15100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15101 $(HOST_EXPORTS) \
15102 for flag in $(EXTRA_HOST_FLAGS) ; do \
15103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15104 done; \
15105 echo "Doing dvi in libelf"; \
15106 (cd $(HOST_SUBDIR)/libelf && \
15107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15109 "RANLIB=$${RANLIB}" \
15110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15111 dvi) \
15112 || exit 1
15114 @endif libelf
15116 .PHONY: maybe-pdf-libelf pdf-libelf
15117 maybe-pdf-libelf:
15118 @if libelf
15119 maybe-pdf-libelf: pdf-libelf
15121 pdf-libelf: \
15122 configure-libelf
15123 @[ -f ./libelf/Makefile ] || exit 0; \
15124 r=`${PWD_COMMAND}`; export r; \
15125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15126 $(HOST_EXPORTS) \
15127 for flag in $(EXTRA_HOST_FLAGS) ; do \
15128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15129 done; \
15130 echo "Doing pdf in libelf"; \
15131 (cd $(HOST_SUBDIR)/libelf && \
15132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15134 "RANLIB=$${RANLIB}" \
15135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15136 pdf) \
15137 || exit 1
15139 @endif libelf
15141 .PHONY: maybe-html-libelf html-libelf
15142 maybe-html-libelf:
15143 @if libelf
15144 maybe-html-libelf: html-libelf
15146 html-libelf: \
15147 configure-libelf
15148 @[ -f ./libelf/Makefile ] || exit 0; \
15149 r=`${PWD_COMMAND}`; export r; \
15150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15151 $(HOST_EXPORTS) \
15152 for flag in $(EXTRA_HOST_FLAGS) ; do \
15153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15154 done; \
15155 echo "Doing html in libelf"; \
15156 (cd $(HOST_SUBDIR)/libelf && \
15157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15159 "RANLIB=$${RANLIB}" \
15160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15161 html) \
15162 || exit 1
15164 @endif libelf
15166 .PHONY: maybe-TAGS-libelf TAGS-libelf
15167 maybe-TAGS-libelf:
15168 @if libelf
15169 maybe-TAGS-libelf: TAGS-libelf
15171 TAGS-libelf: \
15172 configure-libelf
15173 @[ -f ./libelf/Makefile ] || exit 0; \
15174 r=`${PWD_COMMAND}`; export r; \
15175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15176 $(HOST_EXPORTS) \
15177 for flag in $(EXTRA_HOST_FLAGS) ; do \
15178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15179 done; \
15180 echo "Doing TAGS in libelf"; \
15181 (cd $(HOST_SUBDIR)/libelf && \
15182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15184 "RANLIB=$${RANLIB}" \
15185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15186 TAGS) \
15187 || exit 1
15189 @endif libelf
15191 .PHONY: maybe-install-info-libelf install-info-libelf
15192 maybe-install-info-libelf:
15193 @if libelf
15194 maybe-install-info-libelf: install-info-libelf
15196 install-info-libelf: \
15197 configure-libelf \
15198 info-libelf
15199 @[ -f ./libelf/Makefile ] || exit 0; \
15200 r=`${PWD_COMMAND}`; export r; \
15201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15202 $(HOST_EXPORTS) \
15203 for flag in $(EXTRA_HOST_FLAGS) ; do \
15204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15205 done; \
15206 echo "Doing install-info in libelf"; \
15207 (cd $(HOST_SUBDIR)/libelf && \
15208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15210 "RANLIB=$${RANLIB}" \
15211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15212 install-info) \
15213 || exit 1
15215 @endif libelf
15217 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15218 maybe-install-pdf-libelf:
15219 @if libelf
15220 maybe-install-pdf-libelf: install-pdf-libelf
15222 install-pdf-libelf: \
15223 configure-libelf \
15224 pdf-libelf
15225 @[ -f ./libelf/Makefile ] || exit 0; \
15226 r=`${PWD_COMMAND}`; export r; \
15227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15228 $(HOST_EXPORTS) \
15229 for flag in $(EXTRA_HOST_FLAGS) ; do \
15230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15231 done; \
15232 echo "Doing install-pdf in libelf"; \
15233 (cd $(HOST_SUBDIR)/libelf && \
15234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15236 "RANLIB=$${RANLIB}" \
15237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15238 install-pdf) \
15239 || exit 1
15241 @endif libelf
15243 .PHONY: maybe-install-html-libelf install-html-libelf
15244 maybe-install-html-libelf:
15245 @if libelf
15246 maybe-install-html-libelf: install-html-libelf
15248 install-html-libelf: \
15249 configure-libelf \
15250 html-libelf
15251 @[ -f ./libelf/Makefile ] || exit 0; \
15252 r=`${PWD_COMMAND}`; export r; \
15253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15254 $(HOST_EXPORTS) \
15255 for flag in $(EXTRA_HOST_FLAGS) ; do \
15256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15257 done; \
15258 echo "Doing install-html in libelf"; \
15259 (cd $(HOST_SUBDIR)/libelf && \
15260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15262 "RANLIB=$${RANLIB}" \
15263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15264 install-html) \
15265 || exit 1
15267 @endif libelf
15269 .PHONY: maybe-installcheck-libelf installcheck-libelf
15270 maybe-installcheck-libelf:
15271 @if libelf
15272 maybe-installcheck-libelf: installcheck-libelf
15274 installcheck-libelf: \
15275 configure-libelf
15276 @[ -f ./libelf/Makefile ] || exit 0; \
15277 r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(HOST_EXPORTS) \
15280 for flag in $(EXTRA_HOST_FLAGS) ; do \
15281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15282 done; \
15283 echo "Doing installcheck in libelf"; \
15284 (cd $(HOST_SUBDIR)/libelf && \
15285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15287 "RANLIB=$${RANLIB}" \
15288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15289 installcheck) \
15290 || exit 1
15292 @endif libelf
15294 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15295 maybe-mostlyclean-libelf:
15296 @if libelf
15297 maybe-mostlyclean-libelf: mostlyclean-libelf
15299 mostlyclean-libelf:
15300 @[ -f ./libelf/Makefile ] || exit 0; \
15301 r=`${PWD_COMMAND}`; export r; \
15302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15303 $(HOST_EXPORTS) \
15304 for flag in $(EXTRA_HOST_FLAGS) ; do \
15305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15306 done; \
15307 echo "Doing mostlyclean in libelf"; \
15308 (cd $(HOST_SUBDIR)/libelf && \
15309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15311 "RANLIB=$${RANLIB}" \
15312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15313 mostlyclean) \
15314 || exit 1
15316 @endif libelf
15318 .PHONY: maybe-clean-libelf clean-libelf
15319 maybe-clean-libelf:
15320 @if libelf
15321 maybe-clean-libelf: clean-libelf
15323 clean-libelf:
15324 @[ -f ./libelf/Makefile ] || exit 0; \
15325 r=`${PWD_COMMAND}`; export r; \
15326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15327 $(HOST_EXPORTS) \
15328 for flag in $(EXTRA_HOST_FLAGS) ; do \
15329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15330 done; \
15331 echo "Doing clean in libelf"; \
15332 (cd $(HOST_SUBDIR)/libelf && \
15333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15335 "RANLIB=$${RANLIB}" \
15336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15337 clean) \
15338 || exit 1
15340 @endif libelf
15342 .PHONY: maybe-distclean-libelf distclean-libelf
15343 maybe-distclean-libelf:
15344 @if libelf
15345 maybe-distclean-libelf: distclean-libelf
15347 distclean-libelf:
15348 @[ -f ./libelf/Makefile ] || exit 0; \
15349 r=`${PWD_COMMAND}`; export r; \
15350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15351 $(HOST_EXPORTS) \
15352 for flag in $(EXTRA_HOST_FLAGS) ; do \
15353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15354 done; \
15355 echo "Doing distclean in libelf"; \
15356 (cd $(HOST_SUBDIR)/libelf && \
15357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15359 "RANLIB=$${RANLIB}" \
15360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15361 distclean) \
15362 || exit 1
15364 @endif libelf
15366 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15367 maybe-maintainer-clean-libelf:
15368 @if libelf
15369 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15371 maintainer-clean-libelf:
15372 @[ -f ./libelf/Makefile ] || exit 0; \
15373 r=`${PWD_COMMAND}`; export r; \
15374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15375 $(HOST_EXPORTS) \
15376 for flag in $(EXTRA_HOST_FLAGS) ; do \
15377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15378 done; \
15379 echo "Doing maintainer-clean in libelf"; \
15380 (cd $(HOST_SUBDIR)/libelf && \
15381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15383 "RANLIB=$${RANLIB}" \
15384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15385 maintainer-clean) \
15386 || exit 1
15388 @endif libelf
15392 .PHONY: configure-gold maybe-configure-gold
15393 maybe-configure-gold:
15394 @if gcc-bootstrap
15395 configure-gold: stage_current
15396 @endif gcc-bootstrap
15397 @if gold
15398 maybe-configure-gold: configure-gold
15399 configure-gold:
15400 @r=`${PWD_COMMAND}`; export r; \
15401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15402 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15404 $(HOST_EXPORTS) \
15405 echo Configuring in $(HOST_SUBDIR)/gold; \
15406 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15407 case $(srcdir) in \
15408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15409 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15411 esac; \
15412 module_srcdir=gold; \
15413 $(SHELL) \
15414 $$s/$$module_srcdir/configure \
15415 --srcdir=$${topdir}/$$module_srcdir \
15416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15417 --target=${target_alias} \
15418 || exit 1
15419 @endif gold
15423 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15424 maybe-configure-stage1-gold:
15425 @if gold-bootstrap
15426 maybe-configure-stage1-gold: configure-stage1-gold
15427 configure-stage1-gold:
15428 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15430 @r=`${PWD_COMMAND}`; export r; \
15431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15432 TFLAGS="$(STAGE1_TFLAGS)"; \
15433 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15434 $(HOST_EXPORTS) \
15435 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15436 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15437 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15438 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
15439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15440 cd $(HOST_SUBDIR)/gold || exit 1; \
15441 case $(srcdir) in \
15442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15443 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15445 esac; \
15446 module_srcdir=gold; \
15447 $(SHELL) $$s/$$module_srcdir/configure \
15448 --srcdir=$${topdir}/$$module_srcdir \
15449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15450 --target=${target_alias} \
15452 $(STAGE1_CONFIGURE_FLAGS)
15453 @endif gold-bootstrap
15455 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15456 maybe-configure-stage2-gold:
15457 @if gold-bootstrap
15458 maybe-configure-stage2-gold: configure-stage2-gold
15459 configure-stage2-gold:
15460 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15461 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15462 @r=`${PWD_COMMAND}`; export r; \
15463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15464 TFLAGS="$(STAGE2_TFLAGS)"; \
15465 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15466 $(HOST_EXPORTS) \
15467 $(POSTSTAGE1_HOST_EXPORTS) \
15468 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15469 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15470 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15471 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
15472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15473 cd $(HOST_SUBDIR)/gold || exit 1; \
15474 case $(srcdir) in \
15475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15476 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15478 esac; \
15479 module_srcdir=gold; \
15480 $(SHELL) $$s/$$module_srcdir/configure \
15481 --srcdir=$${topdir}/$$module_srcdir \
15482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15483 --target=${target_alias} \
15484 --with-build-libsubdir=$(HOST_SUBDIR) \
15485 $(STAGE2_CONFIGURE_FLAGS)
15486 @endif gold-bootstrap
15488 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15489 maybe-configure-stage3-gold:
15490 @if gold-bootstrap
15491 maybe-configure-stage3-gold: configure-stage3-gold
15492 configure-stage3-gold:
15493 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15494 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15495 @r=`${PWD_COMMAND}`; export r; \
15496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15497 TFLAGS="$(STAGE3_TFLAGS)"; \
15498 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15499 $(HOST_EXPORTS) \
15500 $(POSTSTAGE1_HOST_EXPORTS) \
15501 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15502 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15503 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15504 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
15505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15506 cd $(HOST_SUBDIR)/gold || exit 1; \
15507 case $(srcdir) in \
15508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15509 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15511 esac; \
15512 module_srcdir=gold; \
15513 $(SHELL) $$s/$$module_srcdir/configure \
15514 --srcdir=$${topdir}/$$module_srcdir \
15515 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15516 --target=${target_alias} \
15517 --with-build-libsubdir=$(HOST_SUBDIR) \
15518 $(STAGE3_CONFIGURE_FLAGS)
15519 @endif gold-bootstrap
15521 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15522 maybe-configure-stage4-gold:
15523 @if gold-bootstrap
15524 maybe-configure-stage4-gold: configure-stage4-gold
15525 configure-stage4-gold:
15526 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15527 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15528 @r=`${PWD_COMMAND}`; export r; \
15529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15530 TFLAGS="$(STAGE4_TFLAGS)"; \
15531 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15532 $(HOST_EXPORTS) \
15533 $(POSTSTAGE1_HOST_EXPORTS) \
15534 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15535 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15536 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15537 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
15538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15539 cd $(HOST_SUBDIR)/gold || exit 1; \
15540 case $(srcdir) in \
15541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15542 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15544 esac; \
15545 module_srcdir=gold; \
15546 $(SHELL) $$s/$$module_srcdir/configure \
15547 --srcdir=$${topdir}/$$module_srcdir \
15548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15549 --target=${target_alias} \
15550 --with-build-libsubdir=$(HOST_SUBDIR) \
15551 $(STAGE4_CONFIGURE_FLAGS)
15552 @endif gold-bootstrap
15554 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15555 maybe-configure-stageprofile-gold:
15556 @if gold-bootstrap
15557 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15558 configure-stageprofile-gold:
15559 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15561 @r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15564 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15565 $(HOST_EXPORTS) \
15566 $(POSTSTAGE1_HOST_EXPORTS) \
15567 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15568 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15569 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15570 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
15571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15572 cd $(HOST_SUBDIR)/gold || exit 1; \
15573 case $(srcdir) in \
15574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15575 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15577 esac; \
15578 module_srcdir=gold; \
15579 $(SHELL) $$s/$$module_srcdir/configure \
15580 --srcdir=$${topdir}/$$module_srcdir \
15581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15582 --target=${target_alias} \
15583 --with-build-libsubdir=$(HOST_SUBDIR) \
15584 $(STAGEprofile_CONFIGURE_FLAGS)
15585 @endif gold-bootstrap
15587 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15588 maybe-configure-stagefeedback-gold:
15589 @if gold-bootstrap
15590 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15591 configure-stagefeedback-gold:
15592 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15593 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15594 @r=`${PWD_COMMAND}`; export r; \
15595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15596 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15597 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15598 $(HOST_EXPORTS) \
15599 $(POSTSTAGE1_HOST_EXPORTS) \
15600 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15601 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15602 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15603 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
15604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15605 cd $(HOST_SUBDIR)/gold || exit 1; \
15606 case $(srcdir) in \
15607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15608 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15610 esac; \
15611 module_srcdir=gold; \
15612 $(SHELL) $$s/$$module_srcdir/configure \
15613 --srcdir=$${topdir}/$$module_srcdir \
15614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15615 --target=${target_alias} \
15616 --with-build-libsubdir=$(HOST_SUBDIR) \
15617 $(STAGEfeedback_CONFIGURE_FLAGS)
15618 @endif gold-bootstrap
15624 .PHONY: all-gold maybe-all-gold
15625 maybe-all-gold:
15626 @if gcc-bootstrap
15627 all-gold: stage_current
15628 @endif gcc-bootstrap
15629 @if gold
15630 TARGET-gold=all
15631 maybe-all-gold: all-gold
15632 all-gold: configure-gold
15633 @r=`${PWD_COMMAND}`; export r; \
15634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15635 $(HOST_EXPORTS) \
15636 (cd $(HOST_SUBDIR)/gold && \
15637 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15638 $(TARGET-gold))
15639 @endif gold
15643 .PHONY: all-stage1-gold maybe-all-stage1-gold
15644 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15645 maybe-all-stage1-gold:
15646 maybe-clean-stage1-gold:
15647 @if gold-bootstrap
15648 maybe-all-stage1-gold: all-stage1-gold
15649 all-stage1: all-stage1-gold
15650 TARGET-stage1-gold = $(TARGET-gold)
15651 all-stage1-gold: configure-stage1-gold
15652 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15653 @r=`${PWD_COMMAND}`; export r; \
15654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15655 TFLAGS="$(STAGE1_TFLAGS)"; \
15656 $(HOST_EXPORTS) \
15657 cd $(HOST_SUBDIR)/gold && \
15658 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15659 CFLAGS="$(STAGE1_CFLAGS)" \
15660 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15661 LIBCFLAGS="$(LIBCFLAGS)" \
15662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15665 $(EXTRA_HOST_FLAGS) \
15666 $(STAGE1_FLAGS_TO_PASS) \
15667 TFLAGS="$(STAGE1_TFLAGS)" \
15668 $(TARGET-stage1-gold)
15670 maybe-clean-stage1-gold: clean-stage1-gold
15671 clean-stage1: clean-stage1-gold
15672 clean-stage1-gold:
15673 @if [ $(current_stage) = stage1 ]; then \
15674 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15675 else \
15676 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15677 $(MAKE) stage1-start; \
15678 fi; \
15679 cd $(HOST_SUBDIR)/gold && \
15680 $(MAKE) $(EXTRA_HOST_FLAGS) \
15681 $(STAGE1_FLAGS_TO_PASS) clean
15682 @endif gold-bootstrap
15685 .PHONY: all-stage2-gold maybe-all-stage2-gold
15686 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15687 maybe-all-stage2-gold:
15688 maybe-clean-stage2-gold:
15689 @if gold-bootstrap
15690 maybe-all-stage2-gold: all-stage2-gold
15691 all-stage2: all-stage2-gold
15692 TARGET-stage2-gold = $(TARGET-gold)
15693 all-stage2-gold: configure-stage2-gold
15694 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15695 @r=`${PWD_COMMAND}`; export r; \
15696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15697 TFLAGS="$(STAGE2_TFLAGS)"; \
15698 $(HOST_EXPORTS) \
15699 $(POSTSTAGE1_HOST_EXPORTS) \
15700 cd $(HOST_SUBDIR)/gold && \
15701 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15702 CFLAGS="$(STAGE2_CFLAGS)" \
15703 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15704 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15708 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15709 TFLAGS="$(STAGE2_TFLAGS)" \
15710 $(TARGET-stage2-gold)
15712 maybe-clean-stage2-gold: clean-stage2-gold
15713 clean-stage2: clean-stage2-gold
15714 clean-stage2-gold:
15715 @if [ $(current_stage) = stage2 ]; then \
15716 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15717 else \
15718 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15719 $(MAKE) stage2-start; \
15720 fi; \
15721 cd $(HOST_SUBDIR)/gold && \
15722 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15723 @endif gold-bootstrap
15726 .PHONY: all-stage3-gold maybe-all-stage3-gold
15727 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15728 maybe-all-stage3-gold:
15729 maybe-clean-stage3-gold:
15730 @if gold-bootstrap
15731 maybe-all-stage3-gold: all-stage3-gold
15732 all-stage3: all-stage3-gold
15733 TARGET-stage3-gold = $(TARGET-gold)
15734 all-stage3-gold: configure-stage3-gold
15735 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15736 @r=`${PWD_COMMAND}`; export r; \
15737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15738 TFLAGS="$(STAGE3_TFLAGS)"; \
15739 $(HOST_EXPORTS) \
15740 $(POSTSTAGE1_HOST_EXPORTS) \
15741 cd $(HOST_SUBDIR)/gold && \
15742 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15743 CFLAGS="$(STAGE3_CFLAGS)" \
15744 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15745 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15746 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15747 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15748 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15749 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15750 TFLAGS="$(STAGE3_TFLAGS)" \
15751 $(TARGET-stage3-gold)
15753 maybe-clean-stage3-gold: clean-stage3-gold
15754 clean-stage3: clean-stage3-gold
15755 clean-stage3-gold:
15756 @if [ $(current_stage) = stage3 ]; then \
15757 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15758 else \
15759 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15760 $(MAKE) stage3-start; \
15761 fi; \
15762 cd $(HOST_SUBDIR)/gold && \
15763 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15764 @endif gold-bootstrap
15767 .PHONY: all-stage4-gold maybe-all-stage4-gold
15768 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15769 maybe-all-stage4-gold:
15770 maybe-clean-stage4-gold:
15771 @if gold-bootstrap
15772 maybe-all-stage4-gold: all-stage4-gold
15773 all-stage4: all-stage4-gold
15774 TARGET-stage4-gold = $(TARGET-gold)
15775 all-stage4-gold: configure-stage4-gold
15776 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15777 @r=`${PWD_COMMAND}`; export r; \
15778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15779 TFLAGS="$(STAGE4_TFLAGS)"; \
15780 $(HOST_EXPORTS) \
15781 $(POSTSTAGE1_HOST_EXPORTS) \
15782 cd $(HOST_SUBDIR)/gold && \
15783 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15784 CFLAGS="$(STAGE4_CFLAGS)" \
15785 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15786 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15787 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15788 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15789 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15790 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15791 TFLAGS="$(STAGE4_TFLAGS)" \
15792 $(TARGET-stage4-gold)
15794 maybe-clean-stage4-gold: clean-stage4-gold
15795 clean-stage4: clean-stage4-gold
15796 clean-stage4-gold:
15797 @if [ $(current_stage) = stage4 ]; then \
15798 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15799 else \
15800 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15801 $(MAKE) stage4-start; \
15802 fi; \
15803 cd $(HOST_SUBDIR)/gold && \
15804 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15805 @endif gold-bootstrap
15808 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15809 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15810 maybe-all-stageprofile-gold:
15811 maybe-clean-stageprofile-gold:
15812 @if gold-bootstrap
15813 maybe-all-stageprofile-gold: all-stageprofile-gold
15814 all-stageprofile: all-stageprofile-gold
15815 TARGET-stageprofile-gold = $(TARGET-gold)
15816 all-stageprofile-gold: configure-stageprofile-gold
15817 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15818 @r=`${PWD_COMMAND}`; export r; \
15819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15820 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15821 $(HOST_EXPORTS) \
15822 $(POSTSTAGE1_HOST_EXPORTS) \
15823 cd $(HOST_SUBDIR)/gold && \
15824 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15825 CFLAGS="$(STAGEprofile_CFLAGS)" \
15826 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15827 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15828 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15829 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15830 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15831 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15832 TFLAGS="$(STAGEprofile_TFLAGS)" \
15833 $(TARGET-stageprofile-gold)
15835 maybe-clean-stageprofile-gold: clean-stageprofile-gold
15836 clean-stageprofile: clean-stageprofile-gold
15837 clean-stageprofile-gold:
15838 @if [ $(current_stage) = stageprofile ]; then \
15839 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15840 else \
15841 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
15842 $(MAKE) stageprofile-start; \
15843 fi; \
15844 cd $(HOST_SUBDIR)/gold && \
15845 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15846 @endif gold-bootstrap
15849 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
15850 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
15851 maybe-all-stagefeedback-gold:
15852 maybe-clean-stagefeedback-gold:
15853 @if gold-bootstrap
15854 maybe-all-stagefeedback-gold: all-stagefeedback-gold
15855 all-stagefeedback: all-stagefeedback-gold
15856 TARGET-stagefeedback-gold = $(TARGET-gold)
15857 all-stagefeedback-gold: configure-stagefeedback-gold
15858 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15859 @r=`${PWD_COMMAND}`; export r; \
15860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15861 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15862 $(HOST_EXPORTS) \
15863 $(POSTSTAGE1_HOST_EXPORTS) \
15864 cd $(HOST_SUBDIR)/gold && \
15865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15866 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15867 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15868 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15872 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15873 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15874 $(TARGET-stagefeedback-gold)
15876 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
15877 clean-stagefeedback: clean-stagefeedback-gold
15878 clean-stagefeedback-gold:
15879 @if [ $(current_stage) = stagefeedback ]; then \
15880 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15881 else \
15882 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
15883 $(MAKE) stagefeedback-start; \
15884 fi; \
15885 cd $(HOST_SUBDIR)/gold && \
15886 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15887 @endif gold-bootstrap
15893 .PHONY: check-gold maybe-check-gold
15894 maybe-check-gold:
15895 @if gold
15896 maybe-check-gold: check-gold
15898 check-gold:
15899 @: $(MAKE); $(unstage)
15900 @r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15903 (cd $(HOST_SUBDIR)/gold && \
15904 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15906 @endif gold
15908 .PHONY: install-gold maybe-install-gold
15909 maybe-install-gold:
15910 @if gold
15911 maybe-install-gold: install-gold
15913 install-gold: installdirs
15914 @: $(MAKE); $(unstage)
15915 @r=`${PWD_COMMAND}`; export r; \
15916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15917 $(HOST_EXPORTS) \
15918 (cd $(HOST_SUBDIR)/gold && \
15919 $(MAKE) $(FLAGS_TO_PASS) install)
15921 @endif gold
15923 .PHONY: install-strip-gold maybe-install-strip-gold
15924 maybe-install-strip-gold:
15925 @if gold
15926 maybe-install-strip-gold: install-strip-gold
15928 install-strip-gold: installdirs
15929 @: $(MAKE); $(unstage)
15930 @r=`${PWD_COMMAND}`; export r; \
15931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15932 $(HOST_EXPORTS) \
15933 (cd $(HOST_SUBDIR)/gold && \
15934 $(MAKE) $(FLAGS_TO_PASS) install-strip)
15936 @endif gold
15938 # Other targets (info, dvi, pdf, etc.)
15940 .PHONY: maybe-info-gold info-gold
15941 maybe-info-gold:
15942 @if gold
15943 maybe-info-gold: info-gold
15945 info-gold: \
15946 configure-gold
15947 @[ -f ./gold/Makefile ] || exit 0; \
15948 r=`${PWD_COMMAND}`; export r; \
15949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15950 $(HOST_EXPORTS) \
15951 for flag in $(EXTRA_HOST_FLAGS) ; do \
15952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15953 done; \
15954 echo "Doing info in gold"; \
15955 (cd $(HOST_SUBDIR)/gold && \
15956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15958 "RANLIB=$${RANLIB}" \
15959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15960 info) \
15961 || exit 1
15963 @endif gold
15965 .PHONY: maybe-dvi-gold dvi-gold
15966 maybe-dvi-gold:
15967 @if gold
15968 maybe-dvi-gold: dvi-gold
15970 dvi-gold: \
15971 configure-gold
15972 @[ -f ./gold/Makefile ] || exit 0; \
15973 r=`${PWD_COMMAND}`; export r; \
15974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15975 $(HOST_EXPORTS) \
15976 for flag in $(EXTRA_HOST_FLAGS) ; do \
15977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15978 done; \
15979 echo "Doing dvi in gold"; \
15980 (cd $(HOST_SUBDIR)/gold && \
15981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15983 "RANLIB=$${RANLIB}" \
15984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15985 dvi) \
15986 || exit 1
15988 @endif gold
15990 .PHONY: maybe-pdf-gold pdf-gold
15991 maybe-pdf-gold:
15992 @if gold
15993 maybe-pdf-gold: pdf-gold
15995 pdf-gold: \
15996 configure-gold
15997 @[ -f ./gold/Makefile ] || exit 0; \
15998 r=`${PWD_COMMAND}`; export r; \
15999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16000 $(HOST_EXPORTS) \
16001 for flag in $(EXTRA_HOST_FLAGS) ; do \
16002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16003 done; \
16004 echo "Doing pdf in gold"; \
16005 (cd $(HOST_SUBDIR)/gold && \
16006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16008 "RANLIB=$${RANLIB}" \
16009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16010 pdf) \
16011 || exit 1
16013 @endif gold
16015 .PHONY: maybe-html-gold html-gold
16016 maybe-html-gold:
16017 @if gold
16018 maybe-html-gold: html-gold
16020 html-gold: \
16021 configure-gold
16022 @[ -f ./gold/Makefile ] || exit 0; \
16023 r=`${PWD_COMMAND}`; export r; \
16024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16025 $(HOST_EXPORTS) \
16026 for flag in $(EXTRA_HOST_FLAGS) ; do \
16027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16028 done; \
16029 echo "Doing html in gold"; \
16030 (cd $(HOST_SUBDIR)/gold && \
16031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16033 "RANLIB=$${RANLIB}" \
16034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16035 html) \
16036 || exit 1
16038 @endif gold
16040 .PHONY: maybe-TAGS-gold TAGS-gold
16041 maybe-TAGS-gold:
16042 @if gold
16043 maybe-TAGS-gold: TAGS-gold
16045 TAGS-gold: \
16046 configure-gold
16047 @[ -f ./gold/Makefile ] || exit 0; \
16048 r=`${PWD_COMMAND}`; export r; \
16049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16050 $(HOST_EXPORTS) \
16051 for flag in $(EXTRA_HOST_FLAGS) ; do \
16052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16053 done; \
16054 echo "Doing TAGS in gold"; \
16055 (cd $(HOST_SUBDIR)/gold && \
16056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16058 "RANLIB=$${RANLIB}" \
16059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16060 TAGS) \
16061 || exit 1
16063 @endif gold
16065 .PHONY: maybe-install-info-gold install-info-gold
16066 maybe-install-info-gold:
16067 @if gold
16068 maybe-install-info-gold: install-info-gold
16070 install-info-gold: \
16071 configure-gold \
16072 info-gold
16073 @[ -f ./gold/Makefile ] || exit 0; \
16074 r=`${PWD_COMMAND}`; export r; \
16075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16076 $(HOST_EXPORTS) \
16077 for flag in $(EXTRA_HOST_FLAGS) ; do \
16078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16079 done; \
16080 echo "Doing install-info in gold"; \
16081 (cd $(HOST_SUBDIR)/gold && \
16082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16084 "RANLIB=$${RANLIB}" \
16085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16086 install-info) \
16087 || exit 1
16089 @endif gold
16091 .PHONY: maybe-install-pdf-gold install-pdf-gold
16092 maybe-install-pdf-gold:
16093 @if gold
16094 maybe-install-pdf-gold: install-pdf-gold
16096 install-pdf-gold: \
16097 configure-gold \
16098 pdf-gold
16099 @[ -f ./gold/Makefile ] || exit 0; \
16100 r=`${PWD_COMMAND}`; export r; \
16101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16102 $(HOST_EXPORTS) \
16103 for flag in $(EXTRA_HOST_FLAGS) ; do \
16104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16105 done; \
16106 echo "Doing install-pdf in gold"; \
16107 (cd $(HOST_SUBDIR)/gold && \
16108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16110 "RANLIB=$${RANLIB}" \
16111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16112 install-pdf) \
16113 || exit 1
16115 @endif gold
16117 .PHONY: maybe-install-html-gold install-html-gold
16118 maybe-install-html-gold:
16119 @if gold
16120 maybe-install-html-gold: install-html-gold
16122 install-html-gold: \
16123 configure-gold \
16124 html-gold
16125 @[ -f ./gold/Makefile ] || exit 0; \
16126 r=`${PWD_COMMAND}`; export r; \
16127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16128 $(HOST_EXPORTS) \
16129 for flag in $(EXTRA_HOST_FLAGS) ; do \
16130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16131 done; \
16132 echo "Doing install-html in gold"; \
16133 (cd $(HOST_SUBDIR)/gold && \
16134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16136 "RANLIB=$${RANLIB}" \
16137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16138 install-html) \
16139 || exit 1
16141 @endif gold
16143 .PHONY: maybe-installcheck-gold installcheck-gold
16144 maybe-installcheck-gold:
16145 @if gold
16146 maybe-installcheck-gold: installcheck-gold
16148 installcheck-gold: \
16149 configure-gold
16150 @[ -f ./gold/Makefile ] || exit 0; \
16151 r=`${PWD_COMMAND}`; export r; \
16152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16153 $(HOST_EXPORTS) \
16154 for flag in $(EXTRA_HOST_FLAGS) ; do \
16155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16156 done; \
16157 echo "Doing installcheck in gold"; \
16158 (cd $(HOST_SUBDIR)/gold && \
16159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16161 "RANLIB=$${RANLIB}" \
16162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16163 installcheck) \
16164 || exit 1
16166 @endif gold
16168 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16169 maybe-mostlyclean-gold:
16170 @if gold
16171 maybe-mostlyclean-gold: mostlyclean-gold
16173 mostlyclean-gold:
16174 @[ -f ./gold/Makefile ] || exit 0; \
16175 r=`${PWD_COMMAND}`; export r; \
16176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16177 $(HOST_EXPORTS) \
16178 for flag in $(EXTRA_HOST_FLAGS) ; do \
16179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16180 done; \
16181 echo "Doing mostlyclean in gold"; \
16182 (cd $(HOST_SUBDIR)/gold && \
16183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16185 "RANLIB=$${RANLIB}" \
16186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16187 mostlyclean) \
16188 || exit 1
16190 @endif gold
16192 .PHONY: maybe-clean-gold clean-gold
16193 maybe-clean-gold:
16194 @if gold
16195 maybe-clean-gold: clean-gold
16197 clean-gold:
16198 @[ -f ./gold/Makefile ] || exit 0; \
16199 r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201 $(HOST_EXPORTS) \
16202 for flag in $(EXTRA_HOST_FLAGS) ; do \
16203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16204 done; \
16205 echo "Doing clean in gold"; \
16206 (cd $(HOST_SUBDIR)/gold && \
16207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16209 "RANLIB=$${RANLIB}" \
16210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16211 clean) \
16212 || exit 1
16214 @endif gold
16216 .PHONY: maybe-distclean-gold distclean-gold
16217 maybe-distclean-gold:
16218 @if gold
16219 maybe-distclean-gold: distclean-gold
16221 distclean-gold:
16222 @[ -f ./gold/Makefile ] || exit 0; \
16223 r=`${PWD_COMMAND}`; export r; \
16224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16225 $(HOST_EXPORTS) \
16226 for flag in $(EXTRA_HOST_FLAGS) ; do \
16227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16228 done; \
16229 echo "Doing distclean in gold"; \
16230 (cd $(HOST_SUBDIR)/gold && \
16231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16233 "RANLIB=$${RANLIB}" \
16234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16235 distclean) \
16236 || exit 1
16238 @endif gold
16240 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16241 maybe-maintainer-clean-gold:
16242 @if gold
16243 maybe-maintainer-clean-gold: maintainer-clean-gold
16245 maintainer-clean-gold:
16246 @[ -f ./gold/Makefile ] || exit 0; \
16247 r=`${PWD_COMMAND}`; export r; \
16248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16249 $(HOST_EXPORTS) \
16250 for flag in $(EXTRA_HOST_FLAGS) ; do \
16251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16252 done; \
16253 echo "Doing maintainer-clean in gold"; \
16254 (cd $(HOST_SUBDIR)/gold && \
16255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16257 "RANLIB=$${RANLIB}" \
16258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16259 maintainer-clean) \
16260 || exit 1
16262 @endif gold
16266 .PHONY: configure-gprof maybe-configure-gprof
16267 maybe-configure-gprof:
16268 @if gcc-bootstrap
16269 configure-gprof: stage_current
16270 @endif gcc-bootstrap
16271 @if gprof
16272 maybe-configure-gprof: configure-gprof
16273 configure-gprof:
16274 @: $(MAKE); $(unstage)
16275 @r=`${PWD_COMMAND}`; export r; \
16276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16277 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
16279 $(HOST_EXPORTS) \
16280 echo Configuring in $(HOST_SUBDIR)/gprof; \
16281 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16282 case $(srcdir) in \
16283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16284 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16286 esac; \
16287 module_srcdir=gprof; \
16288 $(SHELL) \
16289 $$s/$$module_srcdir/configure \
16290 --srcdir=$${topdir}/$$module_srcdir \
16291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16292 --target=${target_alias} \
16293 || exit 1
16294 @endif gprof
16300 .PHONY: all-gprof maybe-all-gprof
16301 maybe-all-gprof:
16302 @if gcc-bootstrap
16303 all-gprof: stage_current
16304 @endif gcc-bootstrap
16305 @if gprof
16306 TARGET-gprof=all
16307 maybe-all-gprof: all-gprof
16308 all-gprof: configure-gprof
16309 @: $(MAKE); $(unstage)
16310 @r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16312 $(HOST_EXPORTS) \
16313 (cd $(HOST_SUBDIR)/gprof && \
16314 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16315 $(TARGET-gprof))
16316 @endif gprof
16321 .PHONY: check-gprof maybe-check-gprof
16322 maybe-check-gprof:
16323 @if gprof
16324 maybe-check-gprof: check-gprof
16326 check-gprof:
16327 @: $(MAKE); $(unstage)
16328 @r=`${PWD_COMMAND}`; export r; \
16329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16330 $(HOST_EXPORTS) \
16331 (cd $(HOST_SUBDIR)/gprof && \
16332 $(MAKE) $(FLAGS_TO_PASS) check)
16334 @endif gprof
16336 .PHONY: install-gprof maybe-install-gprof
16337 maybe-install-gprof:
16338 @if gprof
16339 maybe-install-gprof: install-gprof
16341 install-gprof: installdirs
16342 @: $(MAKE); $(unstage)
16343 @r=`${PWD_COMMAND}`; export r; \
16344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16345 $(HOST_EXPORTS) \
16346 (cd $(HOST_SUBDIR)/gprof && \
16347 $(MAKE) $(FLAGS_TO_PASS) install)
16349 @endif gprof
16351 .PHONY: install-strip-gprof maybe-install-strip-gprof
16352 maybe-install-strip-gprof:
16353 @if gprof
16354 maybe-install-strip-gprof: install-strip-gprof
16356 install-strip-gprof: installdirs
16357 @: $(MAKE); $(unstage)
16358 @r=`${PWD_COMMAND}`; export r; \
16359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16360 $(HOST_EXPORTS) \
16361 (cd $(HOST_SUBDIR)/gprof && \
16362 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16364 @endif gprof
16366 # Other targets (info, dvi, pdf, etc.)
16368 .PHONY: maybe-info-gprof info-gprof
16369 maybe-info-gprof:
16370 @if gprof
16371 maybe-info-gprof: info-gprof
16373 info-gprof: \
16374 configure-gprof
16375 @: $(MAKE); $(unstage)
16376 @[ -f ./gprof/Makefile ] || exit 0; \
16377 r=`${PWD_COMMAND}`; export r; \
16378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379 $(HOST_EXPORTS) \
16380 for flag in $(EXTRA_HOST_FLAGS) ; do \
16381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16382 done; \
16383 echo "Doing info in gprof"; \
16384 (cd $(HOST_SUBDIR)/gprof && \
16385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16387 "RANLIB=$${RANLIB}" \
16388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16389 info) \
16390 || exit 1
16392 @endif gprof
16394 .PHONY: maybe-dvi-gprof dvi-gprof
16395 maybe-dvi-gprof:
16396 @if gprof
16397 maybe-dvi-gprof: dvi-gprof
16399 dvi-gprof: \
16400 configure-gprof
16401 @: $(MAKE); $(unstage)
16402 @[ -f ./gprof/Makefile ] || exit 0; \
16403 r=`${PWD_COMMAND}`; export r; \
16404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16405 $(HOST_EXPORTS) \
16406 for flag in $(EXTRA_HOST_FLAGS) ; do \
16407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16408 done; \
16409 echo "Doing dvi in gprof"; \
16410 (cd $(HOST_SUBDIR)/gprof && \
16411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16413 "RANLIB=$${RANLIB}" \
16414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16415 dvi) \
16416 || exit 1
16418 @endif gprof
16420 .PHONY: maybe-pdf-gprof pdf-gprof
16421 maybe-pdf-gprof:
16422 @if gprof
16423 maybe-pdf-gprof: pdf-gprof
16425 pdf-gprof: \
16426 configure-gprof
16427 @: $(MAKE); $(unstage)
16428 @[ -f ./gprof/Makefile ] || exit 0; \
16429 r=`${PWD_COMMAND}`; export r; \
16430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16431 $(HOST_EXPORTS) \
16432 for flag in $(EXTRA_HOST_FLAGS) ; do \
16433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16434 done; \
16435 echo "Doing pdf in gprof"; \
16436 (cd $(HOST_SUBDIR)/gprof && \
16437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16439 "RANLIB=$${RANLIB}" \
16440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16441 pdf) \
16442 || exit 1
16444 @endif gprof
16446 .PHONY: maybe-html-gprof html-gprof
16447 maybe-html-gprof:
16448 @if gprof
16449 maybe-html-gprof: html-gprof
16451 html-gprof: \
16452 configure-gprof
16453 @: $(MAKE); $(unstage)
16454 @[ -f ./gprof/Makefile ] || exit 0; \
16455 r=`${PWD_COMMAND}`; export r; \
16456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16457 $(HOST_EXPORTS) \
16458 for flag in $(EXTRA_HOST_FLAGS) ; do \
16459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16460 done; \
16461 echo "Doing html in gprof"; \
16462 (cd $(HOST_SUBDIR)/gprof && \
16463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16465 "RANLIB=$${RANLIB}" \
16466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16467 html) \
16468 || exit 1
16470 @endif gprof
16472 .PHONY: maybe-TAGS-gprof TAGS-gprof
16473 maybe-TAGS-gprof:
16474 @if gprof
16475 maybe-TAGS-gprof: TAGS-gprof
16477 TAGS-gprof: \
16478 configure-gprof
16479 @: $(MAKE); $(unstage)
16480 @[ -f ./gprof/Makefile ] || exit 0; \
16481 r=`${PWD_COMMAND}`; export r; \
16482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16483 $(HOST_EXPORTS) \
16484 for flag in $(EXTRA_HOST_FLAGS) ; do \
16485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16486 done; \
16487 echo "Doing TAGS in gprof"; \
16488 (cd $(HOST_SUBDIR)/gprof && \
16489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16491 "RANLIB=$${RANLIB}" \
16492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16493 TAGS) \
16494 || exit 1
16496 @endif gprof
16498 .PHONY: maybe-install-info-gprof install-info-gprof
16499 maybe-install-info-gprof:
16500 @if gprof
16501 maybe-install-info-gprof: install-info-gprof
16503 install-info-gprof: \
16504 configure-gprof \
16505 info-gprof
16506 @: $(MAKE); $(unstage)
16507 @[ -f ./gprof/Makefile ] || exit 0; \
16508 r=`${PWD_COMMAND}`; export r; \
16509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16510 $(HOST_EXPORTS) \
16511 for flag in $(EXTRA_HOST_FLAGS) ; do \
16512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16513 done; \
16514 echo "Doing install-info in gprof"; \
16515 (cd $(HOST_SUBDIR)/gprof && \
16516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16518 "RANLIB=$${RANLIB}" \
16519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16520 install-info) \
16521 || exit 1
16523 @endif gprof
16525 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16526 maybe-install-pdf-gprof:
16527 @if gprof
16528 maybe-install-pdf-gprof: install-pdf-gprof
16530 install-pdf-gprof: \
16531 configure-gprof \
16532 pdf-gprof
16533 @: $(MAKE); $(unstage)
16534 @[ -f ./gprof/Makefile ] || exit 0; \
16535 r=`${PWD_COMMAND}`; export r; \
16536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16537 $(HOST_EXPORTS) \
16538 for flag in $(EXTRA_HOST_FLAGS) ; do \
16539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16540 done; \
16541 echo "Doing install-pdf in gprof"; \
16542 (cd $(HOST_SUBDIR)/gprof && \
16543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16545 "RANLIB=$${RANLIB}" \
16546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16547 install-pdf) \
16548 || exit 1
16550 @endif gprof
16552 .PHONY: maybe-install-html-gprof install-html-gprof
16553 maybe-install-html-gprof:
16554 @if gprof
16555 maybe-install-html-gprof: install-html-gprof
16557 install-html-gprof: \
16558 configure-gprof \
16559 html-gprof
16560 @: $(MAKE); $(unstage)
16561 @[ -f ./gprof/Makefile ] || exit 0; \
16562 r=`${PWD_COMMAND}`; export r; \
16563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 $(HOST_EXPORTS) \
16565 for flag in $(EXTRA_HOST_FLAGS) ; do \
16566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16567 done; \
16568 echo "Doing install-html in gprof"; \
16569 (cd $(HOST_SUBDIR)/gprof && \
16570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16572 "RANLIB=$${RANLIB}" \
16573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16574 install-html) \
16575 || exit 1
16577 @endif gprof
16579 .PHONY: maybe-installcheck-gprof installcheck-gprof
16580 maybe-installcheck-gprof:
16581 @if gprof
16582 maybe-installcheck-gprof: installcheck-gprof
16584 installcheck-gprof: \
16585 configure-gprof
16586 @: $(MAKE); $(unstage)
16587 @[ -f ./gprof/Makefile ] || exit 0; \
16588 r=`${PWD_COMMAND}`; export r; \
16589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16590 $(HOST_EXPORTS) \
16591 for flag in $(EXTRA_HOST_FLAGS) ; do \
16592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16593 done; \
16594 echo "Doing installcheck in gprof"; \
16595 (cd $(HOST_SUBDIR)/gprof && \
16596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16598 "RANLIB=$${RANLIB}" \
16599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16600 installcheck) \
16601 || exit 1
16603 @endif gprof
16605 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16606 maybe-mostlyclean-gprof:
16607 @if gprof
16608 maybe-mostlyclean-gprof: mostlyclean-gprof
16610 mostlyclean-gprof:
16611 @: $(MAKE); $(unstage)
16612 @[ -f ./gprof/Makefile ] || exit 0; \
16613 r=`${PWD_COMMAND}`; export r; \
16614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16615 $(HOST_EXPORTS) \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing mostlyclean in gprof"; \
16620 (cd $(HOST_SUBDIR)/gprof && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16625 mostlyclean) \
16626 || exit 1
16628 @endif gprof
16630 .PHONY: maybe-clean-gprof clean-gprof
16631 maybe-clean-gprof:
16632 @if gprof
16633 maybe-clean-gprof: clean-gprof
16635 clean-gprof:
16636 @: $(MAKE); $(unstage)
16637 @[ -f ./gprof/Makefile ] || exit 0; \
16638 r=`${PWD_COMMAND}`; export r; \
16639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16640 $(HOST_EXPORTS) \
16641 for flag in $(EXTRA_HOST_FLAGS) ; do \
16642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16643 done; \
16644 echo "Doing clean in gprof"; \
16645 (cd $(HOST_SUBDIR)/gprof && \
16646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16648 "RANLIB=$${RANLIB}" \
16649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16650 clean) \
16651 || exit 1
16653 @endif gprof
16655 .PHONY: maybe-distclean-gprof distclean-gprof
16656 maybe-distclean-gprof:
16657 @if gprof
16658 maybe-distclean-gprof: distclean-gprof
16660 distclean-gprof:
16661 @: $(MAKE); $(unstage)
16662 @[ -f ./gprof/Makefile ] || exit 0; \
16663 r=`${PWD_COMMAND}`; export r; \
16664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16665 $(HOST_EXPORTS) \
16666 for flag in $(EXTRA_HOST_FLAGS) ; do \
16667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16668 done; \
16669 echo "Doing distclean in gprof"; \
16670 (cd $(HOST_SUBDIR)/gprof && \
16671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16673 "RANLIB=$${RANLIB}" \
16674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16675 distclean) \
16676 || exit 1
16678 @endif gprof
16680 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16681 maybe-maintainer-clean-gprof:
16682 @if gprof
16683 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16685 maintainer-clean-gprof:
16686 @: $(MAKE); $(unstage)
16687 @[ -f ./gprof/Makefile ] || exit 0; \
16688 r=`${PWD_COMMAND}`; export r; \
16689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) ; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing maintainer-clean in gprof"; \
16695 (cd $(HOST_SUBDIR)/gprof && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16700 maintainer-clean) \
16701 || exit 1
16703 @endif gprof
16707 .PHONY: configure-intl maybe-configure-intl
16708 maybe-configure-intl:
16709 @if gcc-bootstrap
16710 configure-intl: stage_current
16711 @endif gcc-bootstrap
16712 @if intl
16713 maybe-configure-intl: configure-intl
16714 configure-intl:
16715 @r=`${PWD_COMMAND}`; export r; \
16716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16717 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16719 $(HOST_EXPORTS) \
16720 echo Configuring in $(HOST_SUBDIR)/intl; \
16721 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16722 case $(srcdir) in \
16723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16724 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16726 esac; \
16727 module_srcdir=intl; \
16728 $(SHELL) \
16729 $$s/$$module_srcdir/configure \
16730 --srcdir=$${topdir}/$$module_srcdir \
16731 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16732 --target=${target_alias} \
16733 || exit 1
16734 @endif intl
16738 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16739 maybe-configure-stage1-intl:
16740 @if intl-bootstrap
16741 maybe-configure-stage1-intl: configure-stage1-intl
16742 configure-stage1-intl:
16743 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16744 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16745 @r=`${PWD_COMMAND}`; export r; \
16746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16747 TFLAGS="$(STAGE1_TFLAGS)"; \
16748 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16749 $(HOST_EXPORTS) \
16750 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16751 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16752 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16753 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
16754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16755 cd $(HOST_SUBDIR)/intl || exit 1; \
16756 case $(srcdir) in \
16757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16758 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16760 esac; \
16761 module_srcdir=intl; \
16762 $(SHELL) $$s/$$module_srcdir/configure \
16763 --srcdir=$${topdir}/$$module_srcdir \
16764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16765 --target=${target_alias} \
16767 $(STAGE1_CONFIGURE_FLAGS)
16768 @endif intl-bootstrap
16770 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16771 maybe-configure-stage2-intl:
16772 @if intl-bootstrap
16773 maybe-configure-stage2-intl: configure-stage2-intl
16774 configure-stage2-intl:
16775 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16777 @r=`${PWD_COMMAND}`; export r; \
16778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16779 TFLAGS="$(STAGE2_TFLAGS)"; \
16780 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16781 $(HOST_EXPORTS) \
16782 $(POSTSTAGE1_HOST_EXPORTS) \
16783 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16784 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16785 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16786 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
16787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16788 cd $(HOST_SUBDIR)/intl || exit 1; \
16789 case $(srcdir) in \
16790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16791 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16793 esac; \
16794 module_srcdir=intl; \
16795 $(SHELL) $$s/$$module_srcdir/configure \
16796 --srcdir=$${topdir}/$$module_srcdir \
16797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16798 --target=${target_alias} \
16799 --with-build-libsubdir=$(HOST_SUBDIR) \
16800 $(STAGE2_CONFIGURE_FLAGS)
16801 @endif intl-bootstrap
16803 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16804 maybe-configure-stage3-intl:
16805 @if intl-bootstrap
16806 maybe-configure-stage3-intl: configure-stage3-intl
16807 configure-stage3-intl:
16808 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16809 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16810 @r=`${PWD_COMMAND}`; export r; \
16811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16812 TFLAGS="$(STAGE3_TFLAGS)"; \
16813 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16814 $(HOST_EXPORTS) \
16815 $(POSTSTAGE1_HOST_EXPORTS) \
16816 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16817 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16818 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16819 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
16820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16821 cd $(HOST_SUBDIR)/intl || exit 1; \
16822 case $(srcdir) in \
16823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16824 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16826 esac; \
16827 module_srcdir=intl; \
16828 $(SHELL) $$s/$$module_srcdir/configure \
16829 --srcdir=$${topdir}/$$module_srcdir \
16830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16831 --target=${target_alias} \
16832 --with-build-libsubdir=$(HOST_SUBDIR) \
16833 $(STAGE3_CONFIGURE_FLAGS)
16834 @endif intl-bootstrap
16836 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16837 maybe-configure-stage4-intl:
16838 @if intl-bootstrap
16839 maybe-configure-stage4-intl: configure-stage4-intl
16840 configure-stage4-intl:
16841 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16842 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16843 @r=`${PWD_COMMAND}`; export r; \
16844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16845 TFLAGS="$(STAGE4_TFLAGS)"; \
16846 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16847 $(HOST_EXPORTS) \
16848 $(POSTSTAGE1_HOST_EXPORTS) \
16849 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16850 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16851 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16852 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
16853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16854 cd $(HOST_SUBDIR)/intl || exit 1; \
16855 case $(srcdir) in \
16856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16857 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16859 esac; \
16860 module_srcdir=intl; \
16861 $(SHELL) $$s/$$module_srcdir/configure \
16862 --srcdir=$${topdir}/$$module_srcdir \
16863 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16864 --target=${target_alias} \
16865 --with-build-libsubdir=$(HOST_SUBDIR) \
16866 $(STAGE4_CONFIGURE_FLAGS)
16867 @endif intl-bootstrap
16869 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16870 maybe-configure-stageprofile-intl:
16871 @if intl-bootstrap
16872 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16873 configure-stageprofile-intl:
16874 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16875 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16876 @r=`${PWD_COMMAND}`; export r; \
16877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16878 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16879 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16880 $(HOST_EXPORTS) \
16881 $(POSTSTAGE1_HOST_EXPORTS) \
16882 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16883 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16884 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16885 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
16886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16887 cd $(HOST_SUBDIR)/intl || exit 1; \
16888 case $(srcdir) in \
16889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16890 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16892 esac; \
16893 module_srcdir=intl; \
16894 $(SHELL) $$s/$$module_srcdir/configure \
16895 --srcdir=$${topdir}/$$module_srcdir \
16896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16897 --target=${target_alias} \
16898 --with-build-libsubdir=$(HOST_SUBDIR) \
16899 $(STAGEprofile_CONFIGURE_FLAGS)
16900 @endif intl-bootstrap
16902 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16903 maybe-configure-stagefeedback-intl:
16904 @if intl-bootstrap
16905 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16906 configure-stagefeedback-intl:
16907 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16909 @r=`${PWD_COMMAND}`; export r; \
16910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16911 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16912 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16913 $(HOST_EXPORTS) \
16914 $(POSTSTAGE1_HOST_EXPORTS) \
16915 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16916 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16917 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16918 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
16919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16920 cd $(HOST_SUBDIR)/intl || exit 1; \
16921 case $(srcdir) in \
16922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16923 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16925 esac; \
16926 module_srcdir=intl; \
16927 $(SHELL) $$s/$$module_srcdir/configure \
16928 --srcdir=$${topdir}/$$module_srcdir \
16929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16930 --target=${target_alias} \
16931 --with-build-libsubdir=$(HOST_SUBDIR) \
16932 $(STAGEfeedback_CONFIGURE_FLAGS)
16933 @endif intl-bootstrap
16939 .PHONY: all-intl maybe-all-intl
16940 maybe-all-intl:
16941 @if gcc-bootstrap
16942 all-intl: stage_current
16943 @endif gcc-bootstrap
16944 @if intl
16945 TARGET-intl=all
16946 maybe-all-intl: all-intl
16947 all-intl: configure-intl
16948 @r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(HOST_EXPORTS) \
16951 (cd $(HOST_SUBDIR)/intl && \
16952 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16953 $(TARGET-intl))
16954 @endif intl
16958 .PHONY: all-stage1-intl maybe-all-stage1-intl
16959 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16960 maybe-all-stage1-intl:
16961 maybe-clean-stage1-intl:
16962 @if intl-bootstrap
16963 maybe-all-stage1-intl: all-stage1-intl
16964 all-stage1: all-stage1-intl
16965 TARGET-stage1-intl = $(TARGET-intl)
16966 all-stage1-intl: configure-stage1-intl
16967 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16968 @r=`${PWD_COMMAND}`; export r; \
16969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16970 TFLAGS="$(STAGE1_TFLAGS)"; \
16971 $(HOST_EXPORTS) \
16972 cd $(HOST_SUBDIR)/intl && \
16973 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16974 CFLAGS="$(STAGE1_CFLAGS)" \
16975 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16976 LIBCFLAGS="$(LIBCFLAGS)" \
16977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16980 $(EXTRA_HOST_FLAGS) \
16981 $(STAGE1_FLAGS_TO_PASS) \
16982 TFLAGS="$(STAGE1_TFLAGS)" \
16983 $(TARGET-stage1-intl)
16985 maybe-clean-stage1-intl: clean-stage1-intl
16986 clean-stage1: clean-stage1-intl
16987 clean-stage1-intl:
16988 @if [ $(current_stage) = stage1 ]; then \
16989 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16990 else \
16991 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16992 $(MAKE) stage1-start; \
16993 fi; \
16994 cd $(HOST_SUBDIR)/intl && \
16995 $(MAKE) $(EXTRA_HOST_FLAGS) \
16996 $(STAGE1_FLAGS_TO_PASS) clean
16997 @endif intl-bootstrap
17000 .PHONY: all-stage2-intl maybe-all-stage2-intl
17001 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17002 maybe-all-stage2-intl:
17003 maybe-clean-stage2-intl:
17004 @if intl-bootstrap
17005 maybe-all-stage2-intl: all-stage2-intl
17006 all-stage2: all-stage2-intl
17007 TARGET-stage2-intl = $(TARGET-intl)
17008 all-stage2-intl: configure-stage2-intl
17009 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17010 @r=`${PWD_COMMAND}`; export r; \
17011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 TFLAGS="$(STAGE2_TFLAGS)"; \
17013 $(HOST_EXPORTS) \
17014 $(POSTSTAGE1_HOST_EXPORTS) \
17015 cd $(HOST_SUBDIR)/intl && \
17016 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17017 CFLAGS="$(STAGE2_CFLAGS)" \
17018 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17019 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17020 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17021 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17022 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17023 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17024 TFLAGS="$(STAGE2_TFLAGS)" \
17025 $(TARGET-stage2-intl)
17027 maybe-clean-stage2-intl: clean-stage2-intl
17028 clean-stage2: clean-stage2-intl
17029 clean-stage2-intl:
17030 @if [ $(current_stage) = stage2 ]; then \
17031 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17032 else \
17033 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17034 $(MAKE) stage2-start; \
17035 fi; \
17036 cd $(HOST_SUBDIR)/intl && \
17037 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17038 @endif intl-bootstrap
17041 .PHONY: all-stage3-intl maybe-all-stage3-intl
17042 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17043 maybe-all-stage3-intl:
17044 maybe-clean-stage3-intl:
17045 @if intl-bootstrap
17046 maybe-all-stage3-intl: all-stage3-intl
17047 all-stage3: all-stage3-intl
17048 TARGET-stage3-intl = $(TARGET-intl)
17049 all-stage3-intl: configure-stage3-intl
17050 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17051 @r=`${PWD_COMMAND}`; export r; \
17052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17053 TFLAGS="$(STAGE3_TFLAGS)"; \
17054 $(HOST_EXPORTS) \
17055 $(POSTSTAGE1_HOST_EXPORTS) \
17056 cd $(HOST_SUBDIR)/intl && \
17057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17058 CFLAGS="$(STAGE3_CFLAGS)" \
17059 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17060 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17065 TFLAGS="$(STAGE3_TFLAGS)" \
17066 $(TARGET-stage3-intl)
17068 maybe-clean-stage3-intl: clean-stage3-intl
17069 clean-stage3: clean-stage3-intl
17070 clean-stage3-intl:
17071 @if [ $(current_stage) = stage3 ]; then \
17072 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17073 else \
17074 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17075 $(MAKE) stage3-start; \
17076 fi; \
17077 cd $(HOST_SUBDIR)/intl && \
17078 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17079 @endif intl-bootstrap
17082 .PHONY: all-stage4-intl maybe-all-stage4-intl
17083 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17084 maybe-all-stage4-intl:
17085 maybe-clean-stage4-intl:
17086 @if intl-bootstrap
17087 maybe-all-stage4-intl: all-stage4-intl
17088 all-stage4: all-stage4-intl
17089 TARGET-stage4-intl = $(TARGET-intl)
17090 all-stage4-intl: configure-stage4-intl
17091 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17092 @r=`${PWD_COMMAND}`; export r; \
17093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17094 TFLAGS="$(STAGE4_TFLAGS)"; \
17095 $(HOST_EXPORTS) \
17096 $(POSTSTAGE1_HOST_EXPORTS) \
17097 cd $(HOST_SUBDIR)/intl && \
17098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17099 CFLAGS="$(STAGE4_CFLAGS)" \
17100 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17101 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17102 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17105 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17106 TFLAGS="$(STAGE4_TFLAGS)" \
17107 $(TARGET-stage4-intl)
17109 maybe-clean-stage4-intl: clean-stage4-intl
17110 clean-stage4: clean-stage4-intl
17111 clean-stage4-intl:
17112 @if [ $(current_stage) = stage4 ]; then \
17113 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17114 else \
17115 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17116 $(MAKE) stage4-start; \
17117 fi; \
17118 cd $(HOST_SUBDIR)/intl && \
17119 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17120 @endif intl-bootstrap
17123 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17124 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17125 maybe-all-stageprofile-intl:
17126 maybe-clean-stageprofile-intl:
17127 @if intl-bootstrap
17128 maybe-all-stageprofile-intl: all-stageprofile-intl
17129 all-stageprofile: all-stageprofile-intl
17130 TARGET-stageprofile-intl = $(TARGET-intl)
17131 all-stageprofile-intl: configure-stageprofile-intl
17132 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17133 @r=`${PWD_COMMAND}`; export r; \
17134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17135 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17136 $(HOST_EXPORTS) \
17137 $(POSTSTAGE1_HOST_EXPORTS) \
17138 cd $(HOST_SUBDIR)/intl && \
17139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17140 CFLAGS="$(STAGEprofile_CFLAGS)" \
17141 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17142 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17143 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17144 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17145 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17146 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17147 TFLAGS="$(STAGEprofile_TFLAGS)" \
17148 $(TARGET-stageprofile-intl)
17150 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17151 clean-stageprofile: clean-stageprofile-intl
17152 clean-stageprofile-intl:
17153 @if [ $(current_stage) = stageprofile ]; then \
17154 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17155 else \
17156 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17157 $(MAKE) stageprofile-start; \
17158 fi; \
17159 cd $(HOST_SUBDIR)/intl && \
17160 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17161 @endif intl-bootstrap
17164 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17165 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17166 maybe-all-stagefeedback-intl:
17167 maybe-clean-stagefeedback-intl:
17168 @if intl-bootstrap
17169 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17170 all-stagefeedback: all-stagefeedback-intl
17171 TARGET-stagefeedback-intl = $(TARGET-intl)
17172 all-stagefeedback-intl: configure-stagefeedback-intl
17173 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17174 @r=`${PWD_COMMAND}`; export r; \
17175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17176 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17177 $(HOST_EXPORTS) \
17178 $(POSTSTAGE1_HOST_EXPORTS) \
17179 cd $(HOST_SUBDIR)/intl && \
17180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17181 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17182 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17183 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17188 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17189 $(TARGET-stagefeedback-intl)
17191 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17192 clean-stagefeedback: clean-stagefeedback-intl
17193 clean-stagefeedback-intl:
17194 @if [ $(current_stage) = stagefeedback ]; then \
17195 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17196 else \
17197 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17198 $(MAKE) stagefeedback-start; \
17199 fi; \
17200 cd $(HOST_SUBDIR)/intl && \
17201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17202 @endif intl-bootstrap
17208 .PHONY: check-intl maybe-check-intl
17209 maybe-check-intl:
17210 @if intl
17211 maybe-check-intl: check-intl
17213 check-intl:
17214 @: $(MAKE); $(unstage)
17215 @r=`${PWD_COMMAND}`; export r; \
17216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17217 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17218 (cd $(HOST_SUBDIR)/intl && \
17219 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17221 @endif intl
17223 .PHONY: install-intl maybe-install-intl
17224 maybe-install-intl:
17225 @if intl
17226 maybe-install-intl: install-intl
17228 install-intl: installdirs
17229 @: $(MAKE); $(unstage)
17230 @r=`${PWD_COMMAND}`; export r; \
17231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17232 $(HOST_EXPORTS) \
17233 (cd $(HOST_SUBDIR)/intl && \
17234 $(MAKE) $(FLAGS_TO_PASS) install)
17236 @endif intl
17238 .PHONY: install-strip-intl maybe-install-strip-intl
17239 maybe-install-strip-intl:
17240 @if intl
17241 maybe-install-strip-intl: install-strip-intl
17243 install-strip-intl: installdirs
17244 @: $(MAKE); $(unstage)
17245 @r=`${PWD_COMMAND}`; export r; \
17246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17247 $(HOST_EXPORTS) \
17248 (cd $(HOST_SUBDIR)/intl && \
17249 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17251 @endif intl
17253 # Other targets (info, dvi, pdf, etc.)
17255 .PHONY: maybe-info-intl info-intl
17256 maybe-info-intl:
17257 @if intl
17258 maybe-info-intl: info-intl
17260 info-intl: \
17261 configure-intl
17262 @[ -f ./intl/Makefile ] || exit 0; \
17263 r=`${PWD_COMMAND}`; export r; \
17264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17265 $(HOST_EXPORTS) \
17266 for flag in $(EXTRA_HOST_FLAGS) ; do \
17267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17268 done; \
17269 echo "Doing info in intl"; \
17270 (cd $(HOST_SUBDIR)/intl && \
17271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17273 "RANLIB=$${RANLIB}" \
17274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17275 info) \
17276 || exit 1
17278 @endif intl
17280 .PHONY: maybe-dvi-intl dvi-intl
17281 maybe-dvi-intl:
17282 @if intl
17283 maybe-dvi-intl: dvi-intl
17285 dvi-intl: \
17286 configure-intl
17287 @[ -f ./intl/Makefile ] || exit 0; \
17288 r=`${PWD_COMMAND}`; export r; \
17289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17290 $(HOST_EXPORTS) \
17291 for flag in $(EXTRA_HOST_FLAGS) ; do \
17292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17293 done; \
17294 echo "Doing dvi in intl"; \
17295 (cd $(HOST_SUBDIR)/intl && \
17296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17298 "RANLIB=$${RANLIB}" \
17299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17300 dvi) \
17301 || exit 1
17303 @endif intl
17305 .PHONY: maybe-pdf-intl pdf-intl
17306 maybe-pdf-intl:
17307 @if intl
17308 maybe-pdf-intl: pdf-intl
17310 pdf-intl: \
17311 configure-intl
17312 @[ -f ./intl/Makefile ] || exit 0; \
17313 r=`${PWD_COMMAND}`; export r; \
17314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17315 $(HOST_EXPORTS) \
17316 for flag in $(EXTRA_HOST_FLAGS) ; do \
17317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17318 done; \
17319 echo "Doing pdf in intl"; \
17320 (cd $(HOST_SUBDIR)/intl && \
17321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17323 "RANLIB=$${RANLIB}" \
17324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17325 pdf) \
17326 || exit 1
17328 @endif intl
17330 .PHONY: maybe-html-intl html-intl
17331 maybe-html-intl:
17332 @if intl
17333 maybe-html-intl: html-intl
17335 html-intl: \
17336 configure-intl
17337 @[ -f ./intl/Makefile ] || exit 0; \
17338 r=`${PWD_COMMAND}`; export r; \
17339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17340 $(HOST_EXPORTS) \
17341 for flag in $(EXTRA_HOST_FLAGS) ; do \
17342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17343 done; \
17344 echo "Doing html in intl"; \
17345 (cd $(HOST_SUBDIR)/intl && \
17346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17348 "RANLIB=$${RANLIB}" \
17349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17350 html) \
17351 || exit 1
17353 @endif intl
17355 .PHONY: maybe-TAGS-intl TAGS-intl
17356 maybe-TAGS-intl:
17357 @if intl
17358 maybe-TAGS-intl: TAGS-intl
17360 TAGS-intl: \
17361 configure-intl
17362 @[ -f ./intl/Makefile ] || exit 0; \
17363 r=`${PWD_COMMAND}`; export r; \
17364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17365 $(HOST_EXPORTS) \
17366 for flag in $(EXTRA_HOST_FLAGS) ; do \
17367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17368 done; \
17369 echo "Doing TAGS in intl"; \
17370 (cd $(HOST_SUBDIR)/intl && \
17371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17373 "RANLIB=$${RANLIB}" \
17374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17375 TAGS) \
17376 || exit 1
17378 @endif intl
17380 .PHONY: maybe-install-info-intl install-info-intl
17381 maybe-install-info-intl:
17382 @if intl
17383 maybe-install-info-intl: install-info-intl
17385 install-info-intl: \
17386 configure-intl \
17387 info-intl
17388 @[ -f ./intl/Makefile ] || exit 0; \
17389 r=`${PWD_COMMAND}`; export r; \
17390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17391 $(HOST_EXPORTS) \
17392 for flag in $(EXTRA_HOST_FLAGS) ; do \
17393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17394 done; \
17395 echo "Doing install-info in intl"; \
17396 (cd $(HOST_SUBDIR)/intl && \
17397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17399 "RANLIB=$${RANLIB}" \
17400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17401 install-info) \
17402 || exit 1
17404 @endif intl
17406 .PHONY: maybe-install-pdf-intl install-pdf-intl
17407 maybe-install-pdf-intl:
17408 @if intl
17409 maybe-install-pdf-intl: install-pdf-intl
17411 install-pdf-intl: \
17412 configure-intl \
17413 pdf-intl
17414 @[ -f ./intl/Makefile ] || exit 0; \
17415 r=`${PWD_COMMAND}`; export r; \
17416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17417 $(HOST_EXPORTS) \
17418 for flag in $(EXTRA_HOST_FLAGS) ; do \
17419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17420 done; \
17421 echo "Doing install-pdf in intl"; \
17422 (cd $(HOST_SUBDIR)/intl && \
17423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17425 "RANLIB=$${RANLIB}" \
17426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17427 install-pdf) \
17428 || exit 1
17430 @endif intl
17432 .PHONY: maybe-install-html-intl install-html-intl
17433 maybe-install-html-intl:
17434 @if intl
17435 maybe-install-html-intl: install-html-intl
17437 install-html-intl: \
17438 configure-intl \
17439 html-intl
17440 @[ -f ./intl/Makefile ] || exit 0; \
17441 r=`${PWD_COMMAND}`; export r; \
17442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17443 $(HOST_EXPORTS) \
17444 for flag in $(EXTRA_HOST_FLAGS) ; do \
17445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17446 done; \
17447 echo "Doing install-html in intl"; \
17448 (cd $(HOST_SUBDIR)/intl && \
17449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17451 "RANLIB=$${RANLIB}" \
17452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17453 install-html) \
17454 || exit 1
17456 @endif intl
17458 .PHONY: maybe-installcheck-intl installcheck-intl
17459 maybe-installcheck-intl:
17460 @if intl
17461 maybe-installcheck-intl: installcheck-intl
17463 installcheck-intl: \
17464 configure-intl
17465 @[ -f ./intl/Makefile ] || exit 0; \
17466 r=`${PWD_COMMAND}`; export r; \
17467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17468 $(HOST_EXPORTS) \
17469 for flag in $(EXTRA_HOST_FLAGS) ; do \
17470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17471 done; \
17472 echo "Doing installcheck in intl"; \
17473 (cd $(HOST_SUBDIR)/intl && \
17474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17476 "RANLIB=$${RANLIB}" \
17477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17478 installcheck) \
17479 || exit 1
17481 @endif intl
17483 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17484 maybe-mostlyclean-intl:
17485 @if intl
17486 maybe-mostlyclean-intl: mostlyclean-intl
17488 mostlyclean-intl:
17489 @[ -f ./intl/Makefile ] || exit 0; \
17490 r=`${PWD_COMMAND}`; export r; \
17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492 $(HOST_EXPORTS) \
17493 for flag in $(EXTRA_HOST_FLAGS) ; do \
17494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17495 done; \
17496 echo "Doing mostlyclean in intl"; \
17497 (cd $(HOST_SUBDIR)/intl && \
17498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17500 "RANLIB=$${RANLIB}" \
17501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17502 mostlyclean) \
17503 || exit 1
17505 @endif intl
17507 .PHONY: maybe-clean-intl clean-intl
17508 maybe-clean-intl:
17509 @if intl
17510 maybe-clean-intl: clean-intl
17512 clean-intl:
17513 @[ -f ./intl/Makefile ] || exit 0; \
17514 r=`${PWD_COMMAND}`; export r; \
17515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 $(HOST_EXPORTS) \
17517 for flag in $(EXTRA_HOST_FLAGS) ; do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 done; \
17520 echo "Doing clean in intl"; \
17521 (cd $(HOST_SUBDIR)/intl && \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17526 clean) \
17527 || exit 1
17529 @endif intl
17531 .PHONY: maybe-distclean-intl distclean-intl
17532 maybe-distclean-intl:
17533 @if intl
17534 maybe-distclean-intl: distclean-intl
17536 distclean-intl:
17537 @[ -f ./intl/Makefile ] || exit 0; \
17538 r=`${PWD_COMMAND}`; export r; \
17539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17540 $(HOST_EXPORTS) \
17541 for flag in $(EXTRA_HOST_FLAGS) ; do \
17542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17543 done; \
17544 echo "Doing distclean in intl"; \
17545 (cd $(HOST_SUBDIR)/intl && \
17546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17548 "RANLIB=$${RANLIB}" \
17549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17550 distclean) \
17551 || exit 1
17553 @endif intl
17555 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17556 maybe-maintainer-clean-intl:
17557 @if intl
17558 maybe-maintainer-clean-intl: maintainer-clean-intl
17560 maintainer-clean-intl:
17561 @[ -f ./intl/Makefile ] || exit 0; \
17562 r=`${PWD_COMMAND}`; export r; \
17563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17564 $(HOST_EXPORTS) \
17565 for flag in $(EXTRA_HOST_FLAGS) ; do \
17566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17567 done; \
17568 echo "Doing maintainer-clean in intl"; \
17569 (cd $(HOST_SUBDIR)/intl && \
17570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17572 "RANLIB=$${RANLIB}" \
17573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17574 maintainer-clean) \
17575 || exit 1
17577 @endif intl
17581 .PHONY: configure-tcl maybe-configure-tcl
17582 maybe-configure-tcl:
17583 @if gcc-bootstrap
17584 configure-tcl: stage_current
17585 @endif gcc-bootstrap
17586 @if tcl
17587 maybe-configure-tcl: configure-tcl
17588 configure-tcl:
17589 @: $(MAKE); $(unstage)
17590 @r=`${PWD_COMMAND}`; export r; \
17591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17592 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
17594 $(HOST_EXPORTS) \
17595 echo Configuring in $(HOST_SUBDIR)/tcl; \
17596 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17597 case $(srcdir) in \
17598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17599 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17601 esac; \
17602 module_srcdir=tcl; \
17603 $(SHELL) \
17604 $$s/$$module_srcdir/configure \
17605 --srcdir=$${topdir}/$$module_srcdir \
17606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17607 --target=${target_alias} \
17608 || exit 1
17609 @endif tcl
17615 .PHONY: all-tcl maybe-all-tcl
17616 maybe-all-tcl:
17617 @if gcc-bootstrap
17618 all-tcl: stage_current
17619 @endif gcc-bootstrap
17620 @if tcl
17621 TARGET-tcl=all
17622 maybe-all-tcl: all-tcl
17623 all-tcl: configure-tcl
17624 @: $(MAKE); $(unstage)
17625 @r=`${PWD_COMMAND}`; export r; \
17626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17627 $(HOST_EXPORTS) \
17628 (cd $(HOST_SUBDIR)/tcl && \
17629 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17630 $(TARGET-tcl))
17631 @endif tcl
17636 .PHONY: check-tcl maybe-check-tcl
17637 maybe-check-tcl:
17638 @if tcl
17639 maybe-check-tcl: check-tcl
17641 check-tcl:
17642 @: $(MAKE); $(unstage)
17643 @r=`${PWD_COMMAND}`; export r; \
17644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17645 $(HOST_EXPORTS) \
17646 (cd $(HOST_SUBDIR)/tcl && \
17647 $(MAKE) $(FLAGS_TO_PASS) check)
17649 @endif tcl
17651 .PHONY: install-tcl maybe-install-tcl
17652 maybe-install-tcl:
17653 @if tcl
17654 maybe-install-tcl: install-tcl
17656 install-tcl: installdirs
17657 @: $(MAKE); $(unstage)
17658 @r=`${PWD_COMMAND}`; export r; \
17659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17660 $(HOST_EXPORTS) \
17661 (cd $(HOST_SUBDIR)/tcl && \
17662 $(MAKE) $(FLAGS_TO_PASS) install)
17664 @endif tcl
17666 .PHONY: install-strip-tcl maybe-install-strip-tcl
17667 maybe-install-strip-tcl:
17668 @if tcl
17669 maybe-install-strip-tcl: install-strip-tcl
17671 install-strip-tcl: installdirs
17672 @: $(MAKE); $(unstage)
17673 @r=`${PWD_COMMAND}`; export r; \
17674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17675 $(HOST_EXPORTS) \
17676 (cd $(HOST_SUBDIR)/tcl && \
17677 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17679 @endif tcl
17681 # Other targets (info, dvi, pdf, etc.)
17683 .PHONY: maybe-info-tcl info-tcl
17684 maybe-info-tcl:
17685 @if tcl
17686 maybe-info-tcl: info-tcl
17688 info-tcl: \
17689 configure-tcl
17690 @: $(MAKE); $(unstage)
17691 @[ -f ./tcl/Makefile ] || exit 0; \
17692 r=`${PWD_COMMAND}`; export r; \
17693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17694 $(HOST_EXPORTS) \
17695 for flag in $(EXTRA_HOST_FLAGS) ; do \
17696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17697 done; \
17698 echo "Doing info in tcl"; \
17699 (cd $(HOST_SUBDIR)/tcl && \
17700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17702 "RANLIB=$${RANLIB}" \
17703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17704 info) \
17705 || exit 1
17707 @endif tcl
17709 .PHONY: maybe-dvi-tcl dvi-tcl
17710 maybe-dvi-tcl:
17711 @if tcl
17712 maybe-dvi-tcl: dvi-tcl
17714 dvi-tcl: \
17715 configure-tcl
17716 @: $(MAKE); $(unstage)
17717 @[ -f ./tcl/Makefile ] || exit 0; \
17718 r=`${PWD_COMMAND}`; export r; \
17719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17720 $(HOST_EXPORTS) \
17721 for flag in $(EXTRA_HOST_FLAGS) ; do \
17722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17723 done; \
17724 echo "Doing dvi in tcl"; \
17725 (cd $(HOST_SUBDIR)/tcl && \
17726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17728 "RANLIB=$${RANLIB}" \
17729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17730 dvi) \
17731 || exit 1
17733 @endif tcl
17735 .PHONY: maybe-pdf-tcl pdf-tcl
17736 maybe-pdf-tcl:
17737 @if tcl
17738 maybe-pdf-tcl: pdf-tcl
17740 pdf-tcl: \
17741 configure-tcl
17742 @: $(MAKE); $(unstage)
17743 @[ -f ./tcl/Makefile ] || exit 0; \
17744 r=`${PWD_COMMAND}`; export r; \
17745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17746 $(HOST_EXPORTS) \
17747 for flag in $(EXTRA_HOST_FLAGS) ; do \
17748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17749 done; \
17750 echo "Doing pdf in tcl"; \
17751 (cd $(HOST_SUBDIR)/tcl && \
17752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17754 "RANLIB=$${RANLIB}" \
17755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17756 pdf) \
17757 || exit 1
17759 @endif tcl
17761 .PHONY: maybe-html-tcl html-tcl
17762 maybe-html-tcl:
17763 @if tcl
17764 maybe-html-tcl: html-tcl
17766 html-tcl: \
17767 configure-tcl
17768 @: $(MAKE); $(unstage)
17769 @[ -f ./tcl/Makefile ] || exit 0; \
17770 r=`${PWD_COMMAND}`; export r; \
17771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17772 $(HOST_EXPORTS) \
17773 for flag in $(EXTRA_HOST_FLAGS) ; do \
17774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17775 done; \
17776 echo "Doing html in tcl"; \
17777 (cd $(HOST_SUBDIR)/tcl && \
17778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17780 "RANLIB=$${RANLIB}" \
17781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17782 html) \
17783 || exit 1
17785 @endif tcl
17787 .PHONY: maybe-TAGS-tcl TAGS-tcl
17788 maybe-TAGS-tcl:
17789 @if tcl
17790 maybe-TAGS-tcl: TAGS-tcl
17792 TAGS-tcl: \
17793 configure-tcl
17794 @: $(MAKE); $(unstage)
17795 @[ -f ./tcl/Makefile ] || exit 0; \
17796 r=`${PWD_COMMAND}`; export r; \
17797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17798 $(HOST_EXPORTS) \
17799 for flag in $(EXTRA_HOST_FLAGS) ; do \
17800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17801 done; \
17802 echo "Doing TAGS in tcl"; \
17803 (cd $(HOST_SUBDIR)/tcl && \
17804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17806 "RANLIB=$${RANLIB}" \
17807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17808 TAGS) \
17809 || exit 1
17811 @endif tcl
17813 .PHONY: maybe-install-info-tcl install-info-tcl
17814 maybe-install-info-tcl:
17815 @if tcl
17816 maybe-install-info-tcl: install-info-tcl
17818 install-info-tcl: \
17819 configure-tcl \
17820 info-tcl
17821 @: $(MAKE); $(unstage)
17822 @[ -f ./tcl/Makefile ] || exit 0; \
17823 r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17825 $(HOST_EXPORTS) \
17826 for flag in $(EXTRA_HOST_FLAGS) ; do \
17827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17828 done; \
17829 echo "Doing install-info in tcl"; \
17830 (cd $(HOST_SUBDIR)/tcl && \
17831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17833 "RANLIB=$${RANLIB}" \
17834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17835 install-info) \
17836 || exit 1
17838 @endif tcl
17840 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
17841 maybe-install-pdf-tcl:
17842 @if tcl
17843 maybe-install-pdf-tcl: install-pdf-tcl
17845 install-pdf-tcl: \
17846 configure-tcl \
17847 pdf-tcl
17848 @: $(MAKE); $(unstage)
17849 @[ -f ./tcl/Makefile ] || exit 0; \
17850 r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17852 $(HOST_EXPORTS) \
17853 for flag in $(EXTRA_HOST_FLAGS) ; do \
17854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17855 done; \
17856 echo "Doing install-pdf in tcl"; \
17857 (cd $(HOST_SUBDIR)/tcl && \
17858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17860 "RANLIB=$${RANLIB}" \
17861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17862 install-pdf) \
17863 || exit 1
17865 @endif tcl
17867 .PHONY: maybe-install-html-tcl install-html-tcl
17868 maybe-install-html-tcl:
17869 @if tcl
17870 maybe-install-html-tcl: install-html-tcl
17872 install-html-tcl: \
17873 configure-tcl \
17874 html-tcl
17875 @: $(MAKE); $(unstage)
17876 @[ -f ./tcl/Makefile ] || exit 0; \
17877 r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17879 $(HOST_EXPORTS) \
17880 for flag in $(EXTRA_HOST_FLAGS) ; do \
17881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17882 done; \
17883 echo "Doing install-html in tcl"; \
17884 (cd $(HOST_SUBDIR)/tcl && \
17885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17887 "RANLIB=$${RANLIB}" \
17888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17889 install-html) \
17890 || exit 1
17892 @endif tcl
17894 .PHONY: maybe-installcheck-tcl installcheck-tcl
17895 maybe-installcheck-tcl:
17896 @if tcl
17897 maybe-installcheck-tcl: installcheck-tcl
17899 installcheck-tcl: \
17900 configure-tcl
17901 @: $(MAKE); $(unstage)
17902 @[ -f ./tcl/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(HOST_EXPORTS) \
17906 for flag in $(EXTRA_HOST_FLAGS) ; do \
17907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17908 done; \
17909 echo "Doing installcheck in tcl"; \
17910 (cd $(HOST_SUBDIR)/tcl && \
17911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17913 "RANLIB=$${RANLIB}" \
17914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17915 installcheck) \
17916 || exit 1
17918 @endif tcl
17920 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17921 maybe-mostlyclean-tcl:
17922 @if tcl
17923 maybe-mostlyclean-tcl: mostlyclean-tcl
17925 # tcl doesn't support mostlyclean.
17926 mostlyclean-tcl:
17928 @endif tcl
17930 .PHONY: maybe-clean-tcl clean-tcl
17931 maybe-clean-tcl:
17932 @if tcl
17933 maybe-clean-tcl: clean-tcl
17935 clean-tcl:
17936 @: $(MAKE); $(unstage)
17937 @[ -f ./tcl/Makefile ] || exit 0; \
17938 r=`${PWD_COMMAND}`; export r; \
17939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17940 $(HOST_EXPORTS) \
17941 for flag in $(EXTRA_HOST_FLAGS) ; do \
17942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17943 done; \
17944 echo "Doing clean in tcl"; \
17945 (cd $(HOST_SUBDIR)/tcl && \
17946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17948 "RANLIB=$${RANLIB}" \
17949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17950 clean) \
17951 || exit 1
17953 @endif tcl
17955 .PHONY: maybe-distclean-tcl distclean-tcl
17956 maybe-distclean-tcl:
17957 @if tcl
17958 maybe-distclean-tcl: distclean-tcl
17960 distclean-tcl:
17961 @: $(MAKE); $(unstage)
17962 @[ -f ./tcl/Makefile ] || exit 0; \
17963 r=`${PWD_COMMAND}`; export r; \
17964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17965 $(HOST_EXPORTS) \
17966 for flag in $(EXTRA_HOST_FLAGS) ; do \
17967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17968 done; \
17969 echo "Doing distclean in tcl"; \
17970 (cd $(HOST_SUBDIR)/tcl && \
17971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17973 "RANLIB=$${RANLIB}" \
17974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17975 distclean) \
17976 || exit 1
17978 @endif tcl
17980 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17981 maybe-maintainer-clean-tcl:
17982 @if tcl
17983 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17985 maintainer-clean-tcl:
17986 @: $(MAKE); $(unstage)
17987 @[ -f ./tcl/Makefile ] || exit 0; \
17988 r=`${PWD_COMMAND}`; export r; \
17989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17990 $(HOST_EXPORTS) \
17991 for flag in $(EXTRA_HOST_FLAGS) ; do \
17992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17993 done; \
17994 echo "Doing maintainer-clean in tcl"; \
17995 (cd $(HOST_SUBDIR)/tcl && \
17996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17998 "RANLIB=$${RANLIB}" \
17999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18000 maintainer-clean) \
18001 || exit 1
18003 @endif tcl
18007 .PHONY: configure-itcl maybe-configure-itcl
18008 maybe-configure-itcl:
18009 @if gcc-bootstrap
18010 configure-itcl: stage_current
18011 @endif gcc-bootstrap
18012 @if itcl
18013 maybe-configure-itcl: configure-itcl
18014 configure-itcl:
18015 @: $(MAKE); $(unstage)
18016 @r=`${PWD_COMMAND}`; export r; \
18017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18018 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
18020 $(HOST_EXPORTS) \
18021 echo Configuring in $(HOST_SUBDIR)/itcl; \
18022 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18023 case $(srcdir) in \
18024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18025 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18027 esac; \
18028 module_srcdir=itcl; \
18029 $(SHELL) \
18030 $$s/$$module_srcdir/configure \
18031 --srcdir=$${topdir}/$$module_srcdir \
18032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18033 --target=${target_alias} \
18034 || exit 1
18035 @endif itcl
18041 .PHONY: all-itcl maybe-all-itcl
18042 maybe-all-itcl:
18043 @if gcc-bootstrap
18044 all-itcl: stage_current
18045 @endif gcc-bootstrap
18046 @if itcl
18047 TARGET-itcl=all
18048 maybe-all-itcl: all-itcl
18049 all-itcl: configure-itcl
18050 @: $(MAKE); $(unstage)
18051 @r=`${PWD_COMMAND}`; export r; \
18052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 $(HOST_EXPORTS) \
18054 (cd $(HOST_SUBDIR)/itcl && \
18055 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18056 $(TARGET-itcl))
18057 @endif itcl
18062 .PHONY: check-itcl maybe-check-itcl
18063 maybe-check-itcl:
18064 @if itcl
18065 maybe-check-itcl: check-itcl
18067 check-itcl:
18068 @: $(MAKE); $(unstage)
18069 @r=`${PWD_COMMAND}`; export r; \
18070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18071 $(HOST_EXPORTS) \
18072 (cd $(HOST_SUBDIR)/itcl && \
18073 $(MAKE) $(FLAGS_TO_PASS) check)
18075 @endif itcl
18077 .PHONY: install-itcl maybe-install-itcl
18078 maybe-install-itcl:
18079 @if itcl
18080 maybe-install-itcl: install-itcl
18082 install-itcl: installdirs
18083 @: $(MAKE); $(unstage)
18084 @r=`${PWD_COMMAND}`; export r; \
18085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18086 $(HOST_EXPORTS) \
18087 (cd $(HOST_SUBDIR)/itcl && \
18088 $(MAKE) $(FLAGS_TO_PASS) install)
18090 @endif itcl
18092 .PHONY: install-strip-itcl maybe-install-strip-itcl
18093 maybe-install-strip-itcl:
18094 @if itcl
18095 maybe-install-strip-itcl: install-strip-itcl
18097 install-strip-itcl: installdirs
18098 @: $(MAKE); $(unstage)
18099 @r=`${PWD_COMMAND}`; export r; \
18100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18101 $(HOST_EXPORTS) \
18102 (cd $(HOST_SUBDIR)/itcl && \
18103 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18105 @endif itcl
18107 # Other targets (info, dvi, pdf, etc.)
18109 .PHONY: maybe-info-itcl info-itcl
18110 maybe-info-itcl:
18111 @if itcl
18112 maybe-info-itcl: info-itcl
18114 info-itcl: \
18115 configure-itcl
18116 @: $(MAKE); $(unstage)
18117 @[ -f ./itcl/Makefile ] || exit 0; \
18118 r=`${PWD_COMMAND}`; export r; \
18119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 $(HOST_EXPORTS) \
18121 for flag in $(EXTRA_HOST_FLAGS) ; do \
18122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18123 done; \
18124 echo "Doing info in itcl"; \
18125 (cd $(HOST_SUBDIR)/itcl && \
18126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18128 "RANLIB=$${RANLIB}" \
18129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18130 info) \
18131 || exit 1
18133 @endif itcl
18135 .PHONY: maybe-dvi-itcl dvi-itcl
18136 maybe-dvi-itcl:
18137 @if itcl
18138 maybe-dvi-itcl: dvi-itcl
18140 dvi-itcl: \
18141 configure-itcl
18142 @: $(MAKE); $(unstage)
18143 @[ -f ./itcl/Makefile ] || exit 0; \
18144 r=`${PWD_COMMAND}`; export r; \
18145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18146 $(HOST_EXPORTS) \
18147 for flag in $(EXTRA_HOST_FLAGS) ; do \
18148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18149 done; \
18150 echo "Doing dvi in itcl"; \
18151 (cd $(HOST_SUBDIR)/itcl && \
18152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18154 "RANLIB=$${RANLIB}" \
18155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18156 dvi) \
18157 || exit 1
18159 @endif itcl
18161 .PHONY: maybe-pdf-itcl pdf-itcl
18162 maybe-pdf-itcl:
18163 @if itcl
18164 maybe-pdf-itcl: pdf-itcl
18166 pdf-itcl: \
18167 configure-itcl
18168 @: $(MAKE); $(unstage)
18169 @[ -f ./itcl/Makefile ] || exit 0; \
18170 r=`${PWD_COMMAND}`; export r; \
18171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 $(HOST_EXPORTS) \
18173 for flag in $(EXTRA_HOST_FLAGS) ; do \
18174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18175 done; \
18176 echo "Doing pdf in itcl"; \
18177 (cd $(HOST_SUBDIR)/itcl && \
18178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18180 "RANLIB=$${RANLIB}" \
18181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18182 pdf) \
18183 || exit 1
18185 @endif itcl
18187 .PHONY: maybe-html-itcl html-itcl
18188 maybe-html-itcl:
18189 @if itcl
18190 maybe-html-itcl: html-itcl
18192 html-itcl: \
18193 configure-itcl
18194 @: $(MAKE); $(unstage)
18195 @[ -f ./itcl/Makefile ] || exit 0; \
18196 r=`${PWD_COMMAND}`; export r; \
18197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18198 $(HOST_EXPORTS) \
18199 for flag in $(EXTRA_HOST_FLAGS) ; do \
18200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18201 done; \
18202 echo "Doing html in itcl"; \
18203 (cd $(HOST_SUBDIR)/itcl && \
18204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18206 "RANLIB=$${RANLIB}" \
18207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18208 html) \
18209 || exit 1
18211 @endif itcl
18213 .PHONY: maybe-TAGS-itcl TAGS-itcl
18214 maybe-TAGS-itcl:
18215 @if itcl
18216 maybe-TAGS-itcl: TAGS-itcl
18218 TAGS-itcl: \
18219 configure-itcl
18220 @: $(MAKE); $(unstage)
18221 @[ -f ./itcl/Makefile ] || exit 0; \
18222 r=`${PWD_COMMAND}`; export r; \
18223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18224 $(HOST_EXPORTS) \
18225 for flag in $(EXTRA_HOST_FLAGS) ; do \
18226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18227 done; \
18228 echo "Doing TAGS in itcl"; \
18229 (cd $(HOST_SUBDIR)/itcl && \
18230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18232 "RANLIB=$${RANLIB}" \
18233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18234 TAGS) \
18235 || exit 1
18237 @endif itcl
18239 .PHONY: maybe-install-info-itcl install-info-itcl
18240 maybe-install-info-itcl:
18241 @if itcl
18242 maybe-install-info-itcl: install-info-itcl
18244 install-info-itcl: \
18245 configure-itcl \
18246 info-itcl
18247 @: $(MAKE); $(unstage)
18248 @[ -f ./itcl/Makefile ] || exit 0; \
18249 r=`${PWD_COMMAND}`; export r; \
18250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18251 $(HOST_EXPORTS) \
18252 for flag in $(EXTRA_HOST_FLAGS) ; do \
18253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18254 done; \
18255 echo "Doing install-info in itcl"; \
18256 (cd $(HOST_SUBDIR)/itcl && \
18257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18259 "RANLIB=$${RANLIB}" \
18260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18261 install-info) \
18262 || exit 1
18264 @endif itcl
18266 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18267 maybe-install-pdf-itcl:
18268 @if itcl
18269 maybe-install-pdf-itcl: install-pdf-itcl
18271 install-pdf-itcl: \
18272 configure-itcl \
18273 pdf-itcl
18274 @: $(MAKE); $(unstage)
18275 @[ -f ./itcl/Makefile ] || exit 0; \
18276 r=`${PWD_COMMAND}`; export r; \
18277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 $(HOST_EXPORTS) \
18279 for flag in $(EXTRA_HOST_FLAGS) ; do \
18280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18281 done; \
18282 echo "Doing install-pdf in itcl"; \
18283 (cd $(HOST_SUBDIR)/itcl && \
18284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18286 "RANLIB=$${RANLIB}" \
18287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18288 install-pdf) \
18289 || exit 1
18291 @endif itcl
18293 .PHONY: maybe-install-html-itcl install-html-itcl
18294 maybe-install-html-itcl:
18295 @if itcl
18296 maybe-install-html-itcl: install-html-itcl
18298 install-html-itcl: \
18299 configure-itcl \
18300 html-itcl
18301 @: $(MAKE); $(unstage)
18302 @[ -f ./itcl/Makefile ] || exit 0; \
18303 r=`${PWD_COMMAND}`; export r; \
18304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18305 $(HOST_EXPORTS) \
18306 for flag in $(EXTRA_HOST_FLAGS) ; do \
18307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18308 done; \
18309 echo "Doing install-html in itcl"; \
18310 (cd $(HOST_SUBDIR)/itcl && \
18311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18313 "RANLIB=$${RANLIB}" \
18314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18315 install-html) \
18316 || exit 1
18318 @endif itcl
18320 .PHONY: maybe-installcheck-itcl installcheck-itcl
18321 maybe-installcheck-itcl:
18322 @if itcl
18323 maybe-installcheck-itcl: installcheck-itcl
18325 installcheck-itcl: \
18326 configure-itcl
18327 @: $(MAKE); $(unstage)
18328 @[ -f ./itcl/Makefile ] || exit 0; \
18329 r=`${PWD_COMMAND}`; export r; \
18330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18331 $(HOST_EXPORTS) \
18332 for flag in $(EXTRA_HOST_FLAGS) ; do \
18333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18334 done; \
18335 echo "Doing installcheck in itcl"; \
18336 (cd $(HOST_SUBDIR)/itcl && \
18337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18339 "RANLIB=$${RANLIB}" \
18340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18341 installcheck) \
18342 || exit 1
18344 @endif itcl
18346 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18347 maybe-mostlyclean-itcl:
18348 @if itcl
18349 maybe-mostlyclean-itcl: mostlyclean-itcl
18351 mostlyclean-itcl:
18352 @: $(MAKE); $(unstage)
18353 @[ -f ./itcl/Makefile ] || exit 0; \
18354 r=`${PWD_COMMAND}`; export r; \
18355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18356 $(HOST_EXPORTS) \
18357 for flag in $(EXTRA_HOST_FLAGS) ; do \
18358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18359 done; \
18360 echo "Doing mostlyclean in itcl"; \
18361 (cd $(HOST_SUBDIR)/itcl && \
18362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18364 "RANLIB=$${RANLIB}" \
18365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18366 mostlyclean) \
18367 || exit 1
18369 @endif itcl
18371 .PHONY: maybe-clean-itcl clean-itcl
18372 maybe-clean-itcl:
18373 @if itcl
18374 maybe-clean-itcl: clean-itcl
18376 clean-itcl:
18377 @: $(MAKE); $(unstage)
18378 @[ -f ./itcl/Makefile ] || exit 0; \
18379 r=`${PWD_COMMAND}`; export r; \
18380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18381 $(HOST_EXPORTS) \
18382 for flag in $(EXTRA_HOST_FLAGS) ; do \
18383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18384 done; \
18385 echo "Doing clean in itcl"; \
18386 (cd $(HOST_SUBDIR)/itcl && \
18387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18389 "RANLIB=$${RANLIB}" \
18390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18391 clean) \
18392 || exit 1
18394 @endif itcl
18396 .PHONY: maybe-distclean-itcl distclean-itcl
18397 maybe-distclean-itcl:
18398 @if itcl
18399 maybe-distclean-itcl: distclean-itcl
18401 distclean-itcl:
18402 @: $(MAKE); $(unstage)
18403 @[ -f ./itcl/Makefile ] || exit 0; \
18404 r=`${PWD_COMMAND}`; export r; \
18405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18406 $(HOST_EXPORTS) \
18407 for flag in $(EXTRA_HOST_FLAGS) ; do \
18408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18409 done; \
18410 echo "Doing distclean in itcl"; \
18411 (cd $(HOST_SUBDIR)/itcl && \
18412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18414 "RANLIB=$${RANLIB}" \
18415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18416 distclean) \
18417 || exit 1
18419 @endif itcl
18421 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18422 maybe-maintainer-clean-itcl:
18423 @if itcl
18424 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18426 maintainer-clean-itcl:
18427 @: $(MAKE); $(unstage)
18428 @[ -f ./itcl/Makefile ] || exit 0; \
18429 r=`${PWD_COMMAND}`; export r; \
18430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 $(HOST_EXPORTS) \
18432 for flag in $(EXTRA_HOST_FLAGS) ; do \
18433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18434 done; \
18435 echo "Doing maintainer-clean in itcl"; \
18436 (cd $(HOST_SUBDIR)/itcl && \
18437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18439 "RANLIB=$${RANLIB}" \
18440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18441 maintainer-clean) \
18442 || exit 1
18444 @endif itcl
18448 .PHONY: configure-ld maybe-configure-ld
18449 maybe-configure-ld:
18450 @if gcc-bootstrap
18451 configure-ld: stage_current
18452 @endif gcc-bootstrap
18453 @if ld
18454 maybe-configure-ld: configure-ld
18455 configure-ld:
18456 @r=`${PWD_COMMAND}`; export r; \
18457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18458 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18460 $(HOST_EXPORTS) \
18461 echo Configuring in $(HOST_SUBDIR)/ld; \
18462 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18463 case $(srcdir) in \
18464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18465 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18467 esac; \
18468 module_srcdir=ld; \
18469 $(SHELL) \
18470 $$s/$$module_srcdir/configure \
18471 --srcdir=$${topdir}/$$module_srcdir \
18472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18473 --target=${target_alias} \
18474 || exit 1
18475 @endif ld
18479 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18480 maybe-configure-stage1-ld:
18481 @if ld-bootstrap
18482 maybe-configure-stage1-ld: configure-stage1-ld
18483 configure-stage1-ld:
18484 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18486 @r=`${PWD_COMMAND}`; export r; \
18487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 TFLAGS="$(STAGE1_TFLAGS)"; \
18489 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18490 $(HOST_EXPORTS) \
18491 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18492 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18493 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18494 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
18495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18496 cd $(HOST_SUBDIR)/ld || exit 1; \
18497 case $(srcdir) in \
18498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18499 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18501 esac; \
18502 module_srcdir=ld; \
18503 $(SHELL) $$s/$$module_srcdir/configure \
18504 --srcdir=$${topdir}/$$module_srcdir \
18505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18506 --target=${target_alias} \
18508 $(STAGE1_CONFIGURE_FLAGS)
18509 @endif ld-bootstrap
18511 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18512 maybe-configure-stage2-ld:
18513 @if ld-bootstrap
18514 maybe-configure-stage2-ld: configure-stage2-ld
18515 configure-stage2-ld:
18516 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18517 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18518 @r=`${PWD_COMMAND}`; export r; \
18519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 TFLAGS="$(STAGE2_TFLAGS)"; \
18521 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18522 $(HOST_EXPORTS) \
18523 $(POSTSTAGE1_HOST_EXPORTS) \
18524 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18525 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18526 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18527 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
18528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18529 cd $(HOST_SUBDIR)/ld || exit 1; \
18530 case $(srcdir) in \
18531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18532 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18534 esac; \
18535 module_srcdir=ld; \
18536 $(SHELL) $$s/$$module_srcdir/configure \
18537 --srcdir=$${topdir}/$$module_srcdir \
18538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18539 --target=${target_alias} \
18540 --with-build-libsubdir=$(HOST_SUBDIR) \
18541 $(STAGE2_CONFIGURE_FLAGS)
18542 @endif ld-bootstrap
18544 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18545 maybe-configure-stage3-ld:
18546 @if ld-bootstrap
18547 maybe-configure-stage3-ld: configure-stage3-ld
18548 configure-stage3-ld:
18549 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18550 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18551 @r=`${PWD_COMMAND}`; export r; \
18552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18553 TFLAGS="$(STAGE3_TFLAGS)"; \
18554 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18555 $(HOST_EXPORTS) \
18556 $(POSTSTAGE1_HOST_EXPORTS) \
18557 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18558 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18559 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18560 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
18561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18562 cd $(HOST_SUBDIR)/ld || exit 1; \
18563 case $(srcdir) in \
18564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18565 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18567 esac; \
18568 module_srcdir=ld; \
18569 $(SHELL) $$s/$$module_srcdir/configure \
18570 --srcdir=$${topdir}/$$module_srcdir \
18571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18572 --target=${target_alias} \
18573 --with-build-libsubdir=$(HOST_SUBDIR) \
18574 $(STAGE3_CONFIGURE_FLAGS)
18575 @endif ld-bootstrap
18577 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18578 maybe-configure-stage4-ld:
18579 @if ld-bootstrap
18580 maybe-configure-stage4-ld: configure-stage4-ld
18581 configure-stage4-ld:
18582 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18584 @r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18586 TFLAGS="$(STAGE4_TFLAGS)"; \
18587 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18588 $(HOST_EXPORTS) \
18589 $(POSTSTAGE1_HOST_EXPORTS) \
18590 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18591 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18592 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18593 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
18594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18595 cd $(HOST_SUBDIR)/ld || exit 1; \
18596 case $(srcdir) in \
18597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18598 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18600 esac; \
18601 module_srcdir=ld; \
18602 $(SHELL) $$s/$$module_srcdir/configure \
18603 --srcdir=$${topdir}/$$module_srcdir \
18604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18605 --target=${target_alias} \
18606 --with-build-libsubdir=$(HOST_SUBDIR) \
18607 $(STAGE4_CONFIGURE_FLAGS)
18608 @endif ld-bootstrap
18610 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18611 maybe-configure-stageprofile-ld:
18612 @if ld-bootstrap
18613 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18614 configure-stageprofile-ld:
18615 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18617 @r=`${PWD_COMMAND}`; export r; \
18618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18619 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18620 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18621 $(HOST_EXPORTS) \
18622 $(POSTSTAGE1_HOST_EXPORTS) \
18623 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18624 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18625 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18626 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
18627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18628 cd $(HOST_SUBDIR)/ld || exit 1; \
18629 case $(srcdir) in \
18630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18631 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18633 esac; \
18634 module_srcdir=ld; \
18635 $(SHELL) $$s/$$module_srcdir/configure \
18636 --srcdir=$${topdir}/$$module_srcdir \
18637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18638 --target=${target_alias} \
18639 --with-build-libsubdir=$(HOST_SUBDIR) \
18640 $(STAGEprofile_CONFIGURE_FLAGS)
18641 @endif ld-bootstrap
18643 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18644 maybe-configure-stagefeedback-ld:
18645 @if ld-bootstrap
18646 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18647 configure-stagefeedback-ld:
18648 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18650 @r=`${PWD_COMMAND}`; export r; \
18651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18652 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18653 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18654 $(HOST_EXPORTS) \
18655 $(POSTSTAGE1_HOST_EXPORTS) \
18656 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18657 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18658 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18659 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
18660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18661 cd $(HOST_SUBDIR)/ld || exit 1; \
18662 case $(srcdir) in \
18663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18664 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18666 esac; \
18667 module_srcdir=ld; \
18668 $(SHELL) $$s/$$module_srcdir/configure \
18669 --srcdir=$${topdir}/$$module_srcdir \
18670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18671 --target=${target_alias} \
18672 --with-build-libsubdir=$(HOST_SUBDIR) \
18673 $(STAGEfeedback_CONFIGURE_FLAGS)
18674 @endif ld-bootstrap
18680 .PHONY: all-ld maybe-all-ld
18681 maybe-all-ld:
18682 @if gcc-bootstrap
18683 all-ld: stage_current
18684 @endif gcc-bootstrap
18685 @if ld
18686 TARGET-ld=all
18687 maybe-all-ld: all-ld
18688 all-ld: configure-ld
18689 @r=`${PWD_COMMAND}`; export r; \
18690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18691 $(HOST_EXPORTS) \
18692 (cd $(HOST_SUBDIR)/ld && \
18693 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18694 $(TARGET-ld))
18695 @endif ld
18699 .PHONY: all-stage1-ld maybe-all-stage1-ld
18700 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18701 maybe-all-stage1-ld:
18702 maybe-clean-stage1-ld:
18703 @if ld-bootstrap
18704 maybe-all-stage1-ld: all-stage1-ld
18705 all-stage1: all-stage1-ld
18706 TARGET-stage1-ld = $(TARGET-ld)
18707 all-stage1-ld: configure-stage1-ld
18708 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18709 @r=`${PWD_COMMAND}`; export r; \
18710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18711 TFLAGS="$(STAGE1_TFLAGS)"; \
18712 $(HOST_EXPORTS) \
18713 cd $(HOST_SUBDIR)/ld && \
18714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18715 CFLAGS="$(STAGE1_CFLAGS)" \
18716 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18717 LIBCFLAGS="$(LIBCFLAGS)" \
18718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18721 $(EXTRA_HOST_FLAGS) \
18722 $(STAGE1_FLAGS_TO_PASS) \
18723 TFLAGS="$(STAGE1_TFLAGS)" \
18724 $(TARGET-stage1-ld)
18726 maybe-clean-stage1-ld: clean-stage1-ld
18727 clean-stage1: clean-stage1-ld
18728 clean-stage1-ld:
18729 @if [ $(current_stage) = stage1 ]; then \
18730 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18731 else \
18732 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18733 $(MAKE) stage1-start; \
18734 fi; \
18735 cd $(HOST_SUBDIR)/ld && \
18736 $(MAKE) $(EXTRA_HOST_FLAGS) \
18737 $(STAGE1_FLAGS_TO_PASS) clean
18738 @endif ld-bootstrap
18741 .PHONY: all-stage2-ld maybe-all-stage2-ld
18742 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18743 maybe-all-stage2-ld:
18744 maybe-clean-stage2-ld:
18745 @if ld-bootstrap
18746 maybe-all-stage2-ld: all-stage2-ld
18747 all-stage2: all-stage2-ld
18748 TARGET-stage2-ld = $(TARGET-ld)
18749 all-stage2-ld: configure-stage2-ld
18750 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18751 @r=`${PWD_COMMAND}`; export r; \
18752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 TFLAGS="$(STAGE2_TFLAGS)"; \
18754 $(HOST_EXPORTS) \
18755 $(POSTSTAGE1_HOST_EXPORTS) \
18756 cd $(HOST_SUBDIR)/ld && \
18757 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18758 CFLAGS="$(STAGE2_CFLAGS)" \
18759 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18760 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18764 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18765 TFLAGS="$(STAGE2_TFLAGS)" \
18766 $(TARGET-stage2-ld)
18768 maybe-clean-stage2-ld: clean-stage2-ld
18769 clean-stage2: clean-stage2-ld
18770 clean-stage2-ld:
18771 @if [ $(current_stage) = stage2 ]; then \
18772 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18773 else \
18774 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18775 $(MAKE) stage2-start; \
18776 fi; \
18777 cd $(HOST_SUBDIR)/ld && \
18778 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18779 @endif ld-bootstrap
18782 .PHONY: all-stage3-ld maybe-all-stage3-ld
18783 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18784 maybe-all-stage3-ld:
18785 maybe-clean-stage3-ld:
18786 @if ld-bootstrap
18787 maybe-all-stage3-ld: all-stage3-ld
18788 all-stage3: all-stage3-ld
18789 TARGET-stage3-ld = $(TARGET-ld)
18790 all-stage3-ld: configure-stage3-ld
18791 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18792 @r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 TFLAGS="$(STAGE3_TFLAGS)"; \
18795 $(HOST_EXPORTS) \
18796 $(POSTSTAGE1_HOST_EXPORTS) \
18797 cd $(HOST_SUBDIR)/ld && \
18798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18799 CFLAGS="$(STAGE3_CFLAGS)" \
18800 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18801 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18805 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18806 TFLAGS="$(STAGE3_TFLAGS)" \
18807 $(TARGET-stage3-ld)
18809 maybe-clean-stage3-ld: clean-stage3-ld
18810 clean-stage3: clean-stage3-ld
18811 clean-stage3-ld:
18812 @if [ $(current_stage) = stage3 ]; then \
18813 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18814 else \
18815 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18816 $(MAKE) stage3-start; \
18817 fi; \
18818 cd $(HOST_SUBDIR)/ld && \
18819 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18820 @endif ld-bootstrap
18823 .PHONY: all-stage4-ld maybe-all-stage4-ld
18824 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
18825 maybe-all-stage4-ld:
18826 maybe-clean-stage4-ld:
18827 @if ld-bootstrap
18828 maybe-all-stage4-ld: all-stage4-ld
18829 all-stage4: all-stage4-ld
18830 TARGET-stage4-ld = $(TARGET-ld)
18831 all-stage4-ld: configure-stage4-ld
18832 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18833 @r=`${PWD_COMMAND}`; export r; \
18834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18835 TFLAGS="$(STAGE4_TFLAGS)"; \
18836 $(HOST_EXPORTS) \
18837 $(POSTSTAGE1_HOST_EXPORTS) \
18838 cd $(HOST_SUBDIR)/ld && \
18839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18840 CFLAGS="$(STAGE4_CFLAGS)" \
18841 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18842 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18846 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18847 TFLAGS="$(STAGE4_TFLAGS)" \
18848 $(TARGET-stage4-ld)
18850 maybe-clean-stage4-ld: clean-stage4-ld
18851 clean-stage4: clean-stage4-ld
18852 clean-stage4-ld:
18853 @if [ $(current_stage) = stage4 ]; then \
18854 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18855 else \
18856 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
18857 $(MAKE) stage4-start; \
18858 fi; \
18859 cd $(HOST_SUBDIR)/ld && \
18860 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18861 @endif ld-bootstrap
18864 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
18865 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
18866 maybe-all-stageprofile-ld:
18867 maybe-clean-stageprofile-ld:
18868 @if ld-bootstrap
18869 maybe-all-stageprofile-ld: all-stageprofile-ld
18870 all-stageprofile: all-stageprofile-ld
18871 TARGET-stageprofile-ld = $(TARGET-ld)
18872 all-stageprofile-ld: configure-stageprofile-ld
18873 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18874 @r=`${PWD_COMMAND}`; export r; \
18875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18876 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18877 $(HOST_EXPORTS) \
18878 $(POSTSTAGE1_HOST_EXPORTS) \
18879 cd $(HOST_SUBDIR)/ld && \
18880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18881 CFLAGS="$(STAGEprofile_CFLAGS)" \
18882 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18883 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18888 TFLAGS="$(STAGEprofile_TFLAGS)" \
18889 $(TARGET-stageprofile-ld)
18891 maybe-clean-stageprofile-ld: clean-stageprofile-ld
18892 clean-stageprofile: clean-stageprofile-ld
18893 clean-stageprofile-ld:
18894 @if [ $(current_stage) = stageprofile ]; then \
18895 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18896 else \
18897 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
18898 $(MAKE) stageprofile-start; \
18899 fi; \
18900 cd $(HOST_SUBDIR)/ld && \
18901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18902 @endif ld-bootstrap
18905 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
18906 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
18907 maybe-all-stagefeedback-ld:
18908 maybe-clean-stagefeedback-ld:
18909 @if ld-bootstrap
18910 maybe-all-stagefeedback-ld: all-stagefeedback-ld
18911 all-stagefeedback: all-stagefeedback-ld
18912 TARGET-stagefeedback-ld = $(TARGET-ld)
18913 all-stagefeedback-ld: configure-stagefeedback-ld
18914 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18915 @r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18918 $(HOST_EXPORTS) \
18919 $(POSTSTAGE1_HOST_EXPORTS) \
18920 cd $(HOST_SUBDIR)/ld && \
18921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18922 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18923 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18924 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18928 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18929 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18930 $(TARGET-stagefeedback-ld)
18932 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
18933 clean-stagefeedback: clean-stagefeedback-ld
18934 clean-stagefeedback-ld:
18935 @if [ $(current_stage) = stagefeedback ]; then \
18936 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18937 else \
18938 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
18939 $(MAKE) stagefeedback-start; \
18940 fi; \
18941 cd $(HOST_SUBDIR)/ld && \
18942 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18943 @endif ld-bootstrap
18949 .PHONY: check-ld maybe-check-ld
18950 maybe-check-ld:
18951 @if ld
18952 maybe-check-ld: check-ld
18954 check-ld:
18955 @: $(MAKE); $(unstage)
18956 @r=`${PWD_COMMAND}`; export r; \
18957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18958 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18959 (cd $(HOST_SUBDIR)/ld && \
18960 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18962 @endif ld
18964 .PHONY: install-ld maybe-install-ld
18965 maybe-install-ld:
18966 @if ld
18967 maybe-install-ld: install-ld
18969 install-ld: installdirs
18970 @: $(MAKE); $(unstage)
18971 @r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 $(HOST_EXPORTS) \
18974 (cd $(HOST_SUBDIR)/ld && \
18975 $(MAKE) $(FLAGS_TO_PASS) install)
18977 @endif ld
18979 .PHONY: install-strip-ld maybe-install-strip-ld
18980 maybe-install-strip-ld:
18981 @if ld
18982 maybe-install-strip-ld: install-strip-ld
18984 install-strip-ld: installdirs
18985 @: $(MAKE); $(unstage)
18986 @r=`${PWD_COMMAND}`; export r; \
18987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18988 $(HOST_EXPORTS) \
18989 (cd $(HOST_SUBDIR)/ld && \
18990 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18992 @endif ld
18994 # Other targets (info, dvi, pdf, etc.)
18996 .PHONY: maybe-info-ld info-ld
18997 maybe-info-ld:
18998 @if ld
18999 maybe-info-ld: info-ld
19001 info-ld: \
19002 configure-ld
19003 @[ -f ./ld/Makefile ] || exit 0; \
19004 r=`${PWD_COMMAND}`; export r; \
19005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19006 $(HOST_EXPORTS) \
19007 for flag in $(EXTRA_HOST_FLAGS) ; do \
19008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19009 done; \
19010 echo "Doing info in ld"; \
19011 (cd $(HOST_SUBDIR)/ld && \
19012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19014 "RANLIB=$${RANLIB}" \
19015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19016 info) \
19017 || exit 1
19019 @endif ld
19021 .PHONY: maybe-dvi-ld dvi-ld
19022 maybe-dvi-ld:
19023 @if ld
19024 maybe-dvi-ld: dvi-ld
19026 dvi-ld: \
19027 configure-ld
19028 @[ -f ./ld/Makefile ] || exit 0; \
19029 r=`${PWD_COMMAND}`; export r; \
19030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19031 $(HOST_EXPORTS) \
19032 for flag in $(EXTRA_HOST_FLAGS) ; do \
19033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19034 done; \
19035 echo "Doing dvi in ld"; \
19036 (cd $(HOST_SUBDIR)/ld && \
19037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19039 "RANLIB=$${RANLIB}" \
19040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19041 dvi) \
19042 || exit 1
19044 @endif ld
19046 .PHONY: maybe-pdf-ld pdf-ld
19047 maybe-pdf-ld:
19048 @if ld
19049 maybe-pdf-ld: pdf-ld
19051 pdf-ld: \
19052 configure-ld
19053 @[ -f ./ld/Makefile ] || exit 0; \
19054 r=`${PWD_COMMAND}`; export r; \
19055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19056 $(HOST_EXPORTS) \
19057 for flag in $(EXTRA_HOST_FLAGS) ; do \
19058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19059 done; \
19060 echo "Doing pdf in ld"; \
19061 (cd $(HOST_SUBDIR)/ld && \
19062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19064 "RANLIB=$${RANLIB}" \
19065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19066 pdf) \
19067 || exit 1
19069 @endif ld
19071 .PHONY: maybe-html-ld html-ld
19072 maybe-html-ld:
19073 @if ld
19074 maybe-html-ld: html-ld
19076 html-ld: \
19077 configure-ld
19078 @[ -f ./ld/Makefile ] || exit 0; \
19079 r=`${PWD_COMMAND}`; export r; \
19080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19081 $(HOST_EXPORTS) \
19082 for flag in $(EXTRA_HOST_FLAGS) ; do \
19083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19084 done; \
19085 echo "Doing html in ld"; \
19086 (cd $(HOST_SUBDIR)/ld && \
19087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19089 "RANLIB=$${RANLIB}" \
19090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19091 html) \
19092 || exit 1
19094 @endif ld
19096 .PHONY: maybe-TAGS-ld TAGS-ld
19097 maybe-TAGS-ld:
19098 @if ld
19099 maybe-TAGS-ld: TAGS-ld
19101 TAGS-ld: \
19102 configure-ld
19103 @[ -f ./ld/Makefile ] || exit 0; \
19104 r=`${PWD_COMMAND}`; export r; \
19105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19106 $(HOST_EXPORTS) \
19107 for flag in $(EXTRA_HOST_FLAGS) ; do \
19108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19109 done; \
19110 echo "Doing TAGS in ld"; \
19111 (cd $(HOST_SUBDIR)/ld && \
19112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19114 "RANLIB=$${RANLIB}" \
19115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19116 TAGS) \
19117 || exit 1
19119 @endif ld
19121 .PHONY: maybe-install-info-ld install-info-ld
19122 maybe-install-info-ld:
19123 @if ld
19124 maybe-install-info-ld: install-info-ld
19126 install-info-ld: \
19127 configure-ld \
19128 info-ld
19129 @[ -f ./ld/Makefile ] || exit 0; \
19130 r=`${PWD_COMMAND}`; export r; \
19131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19132 $(HOST_EXPORTS) \
19133 for flag in $(EXTRA_HOST_FLAGS) ; do \
19134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19135 done; \
19136 echo "Doing install-info in ld"; \
19137 (cd $(HOST_SUBDIR)/ld && \
19138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19140 "RANLIB=$${RANLIB}" \
19141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19142 install-info) \
19143 || exit 1
19145 @endif ld
19147 .PHONY: maybe-install-pdf-ld install-pdf-ld
19148 maybe-install-pdf-ld:
19149 @if ld
19150 maybe-install-pdf-ld: install-pdf-ld
19152 install-pdf-ld: \
19153 configure-ld \
19154 pdf-ld
19155 @[ -f ./ld/Makefile ] || exit 0; \
19156 r=`${PWD_COMMAND}`; export r; \
19157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158 $(HOST_EXPORTS) \
19159 for flag in $(EXTRA_HOST_FLAGS) ; do \
19160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19161 done; \
19162 echo "Doing install-pdf in ld"; \
19163 (cd $(HOST_SUBDIR)/ld && \
19164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19166 "RANLIB=$${RANLIB}" \
19167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19168 install-pdf) \
19169 || exit 1
19171 @endif ld
19173 .PHONY: maybe-install-html-ld install-html-ld
19174 maybe-install-html-ld:
19175 @if ld
19176 maybe-install-html-ld: install-html-ld
19178 install-html-ld: \
19179 configure-ld \
19180 html-ld
19181 @[ -f ./ld/Makefile ] || exit 0; \
19182 r=`${PWD_COMMAND}`; export r; \
19183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19184 $(HOST_EXPORTS) \
19185 for flag in $(EXTRA_HOST_FLAGS) ; do \
19186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19187 done; \
19188 echo "Doing install-html in ld"; \
19189 (cd $(HOST_SUBDIR)/ld && \
19190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19192 "RANLIB=$${RANLIB}" \
19193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19194 install-html) \
19195 || exit 1
19197 @endif ld
19199 .PHONY: maybe-installcheck-ld installcheck-ld
19200 maybe-installcheck-ld:
19201 @if ld
19202 maybe-installcheck-ld: installcheck-ld
19204 installcheck-ld: \
19205 configure-ld
19206 @[ -f ./ld/Makefile ] || exit 0; \
19207 r=`${PWD_COMMAND}`; export r; \
19208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19209 $(HOST_EXPORTS) \
19210 for flag in $(EXTRA_HOST_FLAGS) ; do \
19211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19212 done; \
19213 echo "Doing installcheck in ld"; \
19214 (cd $(HOST_SUBDIR)/ld && \
19215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19217 "RANLIB=$${RANLIB}" \
19218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19219 installcheck) \
19220 || exit 1
19222 @endif ld
19224 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19225 maybe-mostlyclean-ld:
19226 @if ld
19227 maybe-mostlyclean-ld: mostlyclean-ld
19229 mostlyclean-ld:
19230 @[ -f ./ld/Makefile ] || exit 0; \
19231 r=`${PWD_COMMAND}`; export r; \
19232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19233 $(HOST_EXPORTS) \
19234 for flag in $(EXTRA_HOST_FLAGS) ; do \
19235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19236 done; \
19237 echo "Doing mostlyclean in ld"; \
19238 (cd $(HOST_SUBDIR)/ld && \
19239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19241 "RANLIB=$${RANLIB}" \
19242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19243 mostlyclean) \
19244 || exit 1
19246 @endif ld
19248 .PHONY: maybe-clean-ld clean-ld
19249 maybe-clean-ld:
19250 @if ld
19251 maybe-clean-ld: clean-ld
19253 clean-ld:
19254 @[ -f ./ld/Makefile ] || exit 0; \
19255 r=`${PWD_COMMAND}`; export r; \
19256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19257 $(HOST_EXPORTS) \
19258 for flag in $(EXTRA_HOST_FLAGS) ; do \
19259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19260 done; \
19261 echo "Doing clean in ld"; \
19262 (cd $(HOST_SUBDIR)/ld && \
19263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19265 "RANLIB=$${RANLIB}" \
19266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19267 clean) \
19268 || exit 1
19270 @endif ld
19272 .PHONY: maybe-distclean-ld distclean-ld
19273 maybe-distclean-ld:
19274 @if ld
19275 maybe-distclean-ld: distclean-ld
19277 distclean-ld:
19278 @[ -f ./ld/Makefile ] || exit 0; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(HOST_EXPORTS) \
19282 for flag in $(EXTRA_HOST_FLAGS) ; do \
19283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19284 done; \
19285 echo "Doing distclean in ld"; \
19286 (cd $(HOST_SUBDIR)/ld && \
19287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19289 "RANLIB=$${RANLIB}" \
19290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19291 distclean) \
19292 || exit 1
19294 @endif ld
19296 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19297 maybe-maintainer-clean-ld:
19298 @if ld
19299 maybe-maintainer-clean-ld: maintainer-clean-ld
19301 maintainer-clean-ld:
19302 @[ -f ./ld/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing maintainer-clean in ld"; \
19310 (cd $(HOST_SUBDIR)/ld && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19315 maintainer-clean) \
19316 || exit 1
19318 @endif ld
19322 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19323 maybe-configure-libbacktrace:
19324 @if gcc-bootstrap
19325 configure-libbacktrace: stage_current
19326 @endif gcc-bootstrap
19327 @if libbacktrace
19328 maybe-configure-libbacktrace: configure-libbacktrace
19329 configure-libbacktrace:
19330 @r=`${PWD_COMMAND}`; export r; \
19331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19334 $(HOST_EXPORTS) \
19335 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19336 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19337 case $(srcdir) in \
19338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19339 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19341 esac; \
19342 module_srcdir=libbacktrace; \
19343 $(SHELL) \
19344 $$s/$$module_srcdir/configure \
19345 --srcdir=$${topdir}/$$module_srcdir \
19346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19347 --target=${target_alias} \
19348 || exit 1
19349 @endif libbacktrace
19353 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19354 maybe-configure-stage1-libbacktrace:
19355 @if libbacktrace-bootstrap
19356 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19357 configure-stage1-libbacktrace:
19358 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19360 @r=`${PWD_COMMAND}`; export r; \
19361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19362 TFLAGS="$(STAGE1_TFLAGS)"; \
19363 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19364 $(HOST_EXPORTS) \
19365 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19366 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19367 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19368 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
19369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19370 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19371 case $(srcdir) in \
19372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19373 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19375 esac; \
19376 module_srcdir=libbacktrace; \
19377 $(SHELL) $$s/$$module_srcdir/configure \
19378 --srcdir=$${topdir}/$$module_srcdir \
19379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19380 --target=${target_alias} \
19382 $(STAGE1_CONFIGURE_FLAGS)
19383 @endif libbacktrace-bootstrap
19385 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19386 maybe-configure-stage2-libbacktrace:
19387 @if libbacktrace-bootstrap
19388 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19389 configure-stage2-libbacktrace:
19390 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19392 @r=`${PWD_COMMAND}`; export r; \
19393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19394 TFLAGS="$(STAGE2_TFLAGS)"; \
19395 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19396 $(HOST_EXPORTS) \
19397 $(POSTSTAGE1_HOST_EXPORTS) \
19398 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19399 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19400 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19401 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
19402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19403 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19404 case $(srcdir) in \
19405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19406 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19408 esac; \
19409 module_srcdir=libbacktrace; \
19410 $(SHELL) $$s/$$module_srcdir/configure \
19411 --srcdir=$${topdir}/$$module_srcdir \
19412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19413 --target=${target_alias} \
19414 --with-build-libsubdir=$(HOST_SUBDIR) \
19415 $(STAGE2_CONFIGURE_FLAGS)
19416 @endif libbacktrace-bootstrap
19418 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19419 maybe-configure-stage3-libbacktrace:
19420 @if libbacktrace-bootstrap
19421 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19422 configure-stage3-libbacktrace:
19423 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19424 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19425 @r=`${PWD_COMMAND}`; export r; \
19426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19427 TFLAGS="$(STAGE3_TFLAGS)"; \
19428 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19429 $(HOST_EXPORTS) \
19430 $(POSTSTAGE1_HOST_EXPORTS) \
19431 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19432 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19433 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19434 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
19435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19436 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19437 case $(srcdir) in \
19438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19439 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19441 esac; \
19442 module_srcdir=libbacktrace; \
19443 $(SHELL) $$s/$$module_srcdir/configure \
19444 --srcdir=$${topdir}/$$module_srcdir \
19445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19446 --target=${target_alias} \
19447 --with-build-libsubdir=$(HOST_SUBDIR) \
19448 $(STAGE3_CONFIGURE_FLAGS)
19449 @endif libbacktrace-bootstrap
19451 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19452 maybe-configure-stage4-libbacktrace:
19453 @if libbacktrace-bootstrap
19454 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19455 configure-stage4-libbacktrace:
19456 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19458 @r=`${PWD_COMMAND}`; export r; \
19459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19460 TFLAGS="$(STAGE4_TFLAGS)"; \
19461 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19462 $(HOST_EXPORTS) \
19463 $(POSTSTAGE1_HOST_EXPORTS) \
19464 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19465 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19466 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19467 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
19468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19469 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19470 case $(srcdir) in \
19471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19472 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19474 esac; \
19475 module_srcdir=libbacktrace; \
19476 $(SHELL) $$s/$$module_srcdir/configure \
19477 --srcdir=$${topdir}/$$module_srcdir \
19478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19479 --target=${target_alias} \
19480 --with-build-libsubdir=$(HOST_SUBDIR) \
19481 $(STAGE4_CONFIGURE_FLAGS)
19482 @endif libbacktrace-bootstrap
19484 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19485 maybe-configure-stageprofile-libbacktrace:
19486 @if libbacktrace-bootstrap
19487 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19488 configure-stageprofile-libbacktrace:
19489 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19490 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19491 @r=`${PWD_COMMAND}`; export r; \
19492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19493 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19494 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19495 $(HOST_EXPORTS) \
19496 $(POSTSTAGE1_HOST_EXPORTS) \
19497 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19498 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19499 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19500 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
19501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19502 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19503 case $(srcdir) in \
19504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19505 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19507 esac; \
19508 module_srcdir=libbacktrace; \
19509 $(SHELL) $$s/$$module_srcdir/configure \
19510 --srcdir=$${topdir}/$$module_srcdir \
19511 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19512 --target=${target_alias} \
19513 --with-build-libsubdir=$(HOST_SUBDIR) \
19514 $(STAGEprofile_CONFIGURE_FLAGS)
19515 @endif libbacktrace-bootstrap
19517 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19518 maybe-configure-stagefeedback-libbacktrace:
19519 @if libbacktrace-bootstrap
19520 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19521 configure-stagefeedback-libbacktrace:
19522 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19524 @r=`${PWD_COMMAND}`; export r; \
19525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19526 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19527 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19528 $(HOST_EXPORTS) \
19529 $(POSTSTAGE1_HOST_EXPORTS) \
19530 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19531 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19532 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19533 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
19534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19535 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19536 case $(srcdir) in \
19537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19538 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19540 esac; \
19541 module_srcdir=libbacktrace; \
19542 $(SHELL) $$s/$$module_srcdir/configure \
19543 --srcdir=$${topdir}/$$module_srcdir \
19544 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19545 --target=${target_alias} \
19546 --with-build-libsubdir=$(HOST_SUBDIR) \
19547 $(STAGEfeedback_CONFIGURE_FLAGS)
19548 @endif libbacktrace-bootstrap
19554 .PHONY: all-libbacktrace maybe-all-libbacktrace
19555 maybe-all-libbacktrace:
19556 @if gcc-bootstrap
19557 all-libbacktrace: stage_current
19558 @endif gcc-bootstrap
19559 @if libbacktrace
19560 TARGET-libbacktrace=all
19561 maybe-all-libbacktrace: all-libbacktrace
19562 all-libbacktrace: configure-libbacktrace
19563 @r=`${PWD_COMMAND}`; export r; \
19564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565 $(HOST_EXPORTS) \
19566 (cd $(HOST_SUBDIR)/libbacktrace && \
19567 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19568 $(TARGET-libbacktrace))
19569 @endif libbacktrace
19573 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19574 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19575 maybe-all-stage1-libbacktrace:
19576 maybe-clean-stage1-libbacktrace:
19577 @if libbacktrace-bootstrap
19578 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19579 all-stage1: all-stage1-libbacktrace
19580 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19581 all-stage1-libbacktrace: configure-stage1-libbacktrace
19582 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19583 @r=`${PWD_COMMAND}`; export r; \
19584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19585 TFLAGS="$(STAGE1_TFLAGS)"; \
19586 $(HOST_EXPORTS) \
19587 cd $(HOST_SUBDIR)/libbacktrace && \
19588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19589 CFLAGS="$(STAGE1_CFLAGS)" \
19590 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19591 LIBCFLAGS="$(LIBCFLAGS)" \
19592 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19593 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19594 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19595 $(EXTRA_HOST_FLAGS) \
19596 $(STAGE1_FLAGS_TO_PASS) \
19597 TFLAGS="$(STAGE1_TFLAGS)" \
19598 $(TARGET-stage1-libbacktrace)
19600 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19601 clean-stage1: clean-stage1-libbacktrace
19602 clean-stage1-libbacktrace:
19603 @if [ $(current_stage) = stage1 ]; then \
19604 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19605 else \
19606 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19607 $(MAKE) stage1-start; \
19608 fi; \
19609 cd $(HOST_SUBDIR)/libbacktrace && \
19610 $(MAKE) $(EXTRA_HOST_FLAGS) \
19611 $(STAGE1_FLAGS_TO_PASS) clean
19612 @endif libbacktrace-bootstrap
19615 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19616 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19617 maybe-all-stage2-libbacktrace:
19618 maybe-clean-stage2-libbacktrace:
19619 @if libbacktrace-bootstrap
19620 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19621 all-stage2: all-stage2-libbacktrace
19622 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19623 all-stage2-libbacktrace: configure-stage2-libbacktrace
19624 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19625 @r=`${PWD_COMMAND}`; export r; \
19626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19627 TFLAGS="$(STAGE2_TFLAGS)"; \
19628 $(HOST_EXPORTS) \
19629 $(POSTSTAGE1_HOST_EXPORTS) \
19630 cd $(HOST_SUBDIR)/libbacktrace && \
19631 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19632 CFLAGS="$(STAGE2_CFLAGS)" \
19633 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19634 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19635 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19636 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19637 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19638 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19639 TFLAGS="$(STAGE2_TFLAGS)" \
19640 $(TARGET-stage2-libbacktrace)
19642 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19643 clean-stage2: clean-stage2-libbacktrace
19644 clean-stage2-libbacktrace:
19645 @if [ $(current_stage) = stage2 ]; then \
19646 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19647 else \
19648 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19649 $(MAKE) stage2-start; \
19650 fi; \
19651 cd $(HOST_SUBDIR)/libbacktrace && \
19652 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19653 @endif libbacktrace-bootstrap
19656 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19657 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19658 maybe-all-stage3-libbacktrace:
19659 maybe-clean-stage3-libbacktrace:
19660 @if libbacktrace-bootstrap
19661 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19662 all-stage3: all-stage3-libbacktrace
19663 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19664 all-stage3-libbacktrace: configure-stage3-libbacktrace
19665 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19666 @r=`${PWD_COMMAND}`; export r; \
19667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19668 TFLAGS="$(STAGE3_TFLAGS)"; \
19669 $(HOST_EXPORTS) \
19670 $(POSTSTAGE1_HOST_EXPORTS) \
19671 cd $(HOST_SUBDIR)/libbacktrace && \
19672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19673 CFLAGS="$(STAGE3_CFLAGS)" \
19674 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19675 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19679 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19680 TFLAGS="$(STAGE3_TFLAGS)" \
19681 $(TARGET-stage3-libbacktrace)
19683 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19684 clean-stage3: clean-stage3-libbacktrace
19685 clean-stage3-libbacktrace:
19686 @if [ $(current_stage) = stage3 ]; then \
19687 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19688 else \
19689 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19690 $(MAKE) stage3-start; \
19691 fi; \
19692 cd $(HOST_SUBDIR)/libbacktrace && \
19693 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19694 @endif libbacktrace-bootstrap
19697 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19698 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19699 maybe-all-stage4-libbacktrace:
19700 maybe-clean-stage4-libbacktrace:
19701 @if libbacktrace-bootstrap
19702 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19703 all-stage4: all-stage4-libbacktrace
19704 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19705 all-stage4-libbacktrace: configure-stage4-libbacktrace
19706 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19707 @r=`${PWD_COMMAND}`; export r; \
19708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19709 TFLAGS="$(STAGE4_TFLAGS)"; \
19710 $(HOST_EXPORTS) \
19711 $(POSTSTAGE1_HOST_EXPORTS) \
19712 cd $(HOST_SUBDIR)/libbacktrace && \
19713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19714 CFLAGS="$(STAGE4_CFLAGS)" \
19715 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19716 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19720 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19721 TFLAGS="$(STAGE4_TFLAGS)" \
19722 $(TARGET-stage4-libbacktrace)
19724 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19725 clean-stage4: clean-stage4-libbacktrace
19726 clean-stage4-libbacktrace:
19727 @if [ $(current_stage) = stage4 ]; then \
19728 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19729 else \
19730 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19731 $(MAKE) stage4-start; \
19732 fi; \
19733 cd $(HOST_SUBDIR)/libbacktrace && \
19734 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19735 @endif libbacktrace-bootstrap
19738 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19739 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19740 maybe-all-stageprofile-libbacktrace:
19741 maybe-clean-stageprofile-libbacktrace:
19742 @if libbacktrace-bootstrap
19743 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19744 all-stageprofile: all-stageprofile-libbacktrace
19745 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19746 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19747 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19748 @r=`${PWD_COMMAND}`; export r; \
19749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19750 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19751 $(HOST_EXPORTS) \
19752 $(POSTSTAGE1_HOST_EXPORTS) \
19753 cd $(HOST_SUBDIR)/libbacktrace && \
19754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19755 CFLAGS="$(STAGEprofile_CFLAGS)" \
19756 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19757 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19761 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19762 TFLAGS="$(STAGEprofile_TFLAGS)" \
19763 $(TARGET-stageprofile-libbacktrace)
19765 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19766 clean-stageprofile: clean-stageprofile-libbacktrace
19767 clean-stageprofile-libbacktrace:
19768 @if [ $(current_stage) = stageprofile ]; then \
19769 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19770 else \
19771 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19772 $(MAKE) stageprofile-start; \
19773 fi; \
19774 cd $(HOST_SUBDIR)/libbacktrace && \
19775 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19776 @endif libbacktrace-bootstrap
19779 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19780 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19781 maybe-all-stagefeedback-libbacktrace:
19782 maybe-clean-stagefeedback-libbacktrace:
19783 @if libbacktrace-bootstrap
19784 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19785 all-stagefeedback: all-stagefeedback-libbacktrace
19786 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19787 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19788 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19789 @r=`${PWD_COMMAND}`; export r; \
19790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19791 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19792 $(HOST_EXPORTS) \
19793 $(POSTSTAGE1_HOST_EXPORTS) \
19794 cd $(HOST_SUBDIR)/libbacktrace && \
19795 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19796 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19797 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19798 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19799 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19800 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19801 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19802 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19803 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19804 $(TARGET-stagefeedback-libbacktrace)
19806 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19807 clean-stagefeedback: clean-stagefeedback-libbacktrace
19808 clean-stagefeedback-libbacktrace:
19809 @if [ $(current_stage) = stagefeedback ]; then \
19810 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19811 else \
19812 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19813 $(MAKE) stagefeedback-start; \
19814 fi; \
19815 cd $(HOST_SUBDIR)/libbacktrace && \
19816 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19817 @endif libbacktrace-bootstrap
19823 .PHONY: check-libbacktrace maybe-check-libbacktrace
19824 maybe-check-libbacktrace:
19825 @if libbacktrace
19826 maybe-check-libbacktrace: check-libbacktrace
19828 check-libbacktrace:
19829 @: $(MAKE); $(unstage)
19830 @r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
19833 (cd $(HOST_SUBDIR)/libbacktrace && \
19834 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
19836 @endif libbacktrace
19838 .PHONY: install-libbacktrace maybe-install-libbacktrace
19839 maybe-install-libbacktrace:
19840 @if libbacktrace
19841 maybe-install-libbacktrace: install-libbacktrace
19843 install-libbacktrace: installdirs
19844 @: $(MAKE); $(unstage)
19845 @r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 $(HOST_EXPORTS) \
19848 (cd $(HOST_SUBDIR)/libbacktrace && \
19849 $(MAKE) $(FLAGS_TO_PASS) install)
19851 @endif libbacktrace
19853 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
19854 maybe-install-strip-libbacktrace:
19855 @if libbacktrace
19856 maybe-install-strip-libbacktrace: install-strip-libbacktrace
19858 install-strip-libbacktrace: installdirs
19859 @: $(MAKE); $(unstage)
19860 @r=`${PWD_COMMAND}`; export r; \
19861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19862 $(HOST_EXPORTS) \
19863 (cd $(HOST_SUBDIR)/libbacktrace && \
19864 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19866 @endif libbacktrace
19868 # Other targets (info, dvi, pdf, etc.)
19870 .PHONY: maybe-info-libbacktrace info-libbacktrace
19871 maybe-info-libbacktrace:
19872 @if libbacktrace
19873 maybe-info-libbacktrace: info-libbacktrace
19875 info-libbacktrace: \
19876 configure-libbacktrace
19877 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19878 r=`${PWD_COMMAND}`; export r; \
19879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19880 $(HOST_EXPORTS) \
19881 for flag in $(EXTRA_HOST_FLAGS) ; do \
19882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19883 done; \
19884 echo "Doing info in libbacktrace"; \
19885 (cd $(HOST_SUBDIR)/libbacktrace && \
19886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19888 "RANLIB=$${RANLIB}" \
19889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19890 info) \
19891 || exit 1
19893 @endif libbacktrace
19895 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
19896 maybe-dvi-libbacktrace:
19897 @if libbacktrace
19898 maybe-dvi-libbacktrace: dvi-libbacktrace
19900 dvi-libbacktrace: \
19901 configure-libbacktrace
19902 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19903 r=`${PWD_COMMAND}`; export r; \
19904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19905 $(HOST_EXPORTS) \
19906 for flag in $(EXTRA_HOST_FLAGS) ; do \
19907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19908 done; \
19909 echo "Doing dvi in libbacktrace"; \
19910 (cd $(HOST_SUBDIR)/libbacktrace && \
19911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19913 "RANLIB=$${RANLIB}" \
19914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19915 dvi) \
19916 || exit 1
19918 @endif libbacktrace
19920 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
19921 maybe-pdf-libbacktrace:
19922 @if libbacktrace
19923 maybe-pdf-libbacktrace: pdf-libbacktrace
19925 pdf-libbacktrace: \
19926 configure-libbacktrace
19927 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19928 r=`${PWD_COMMAND}`; export r; \
19929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19930 $(HOST_EXPORTS) \
19931 for flag in $(EXTRA_HOST_FLAGS) ; do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19933 done; \
19934 echo "Doing pdf in libbacktrace"; \
19935 (cd $(HOST_SUBDIR)/libbacktrace && \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19940 pdf) \
19941 || exit 1
19943 @endif libbacktrace
19945 .PHONY: maybe-html-libbacktrace html-libbacktrace
19946 maybe-html-libbacktrace:
19947 @if libbacktrace
19948 maybe-html-libbacktrace: html-libbacktrace
19950 html-libbacktrace: \
19951 configure-libbacktrace
19952 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19953 r=`${PWD_COMMAND}`; export r; \
19954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19955 $(HOST_EXPORTS) \
19956 for flag in $(EXTRA_HOST_FLAGS) ; do \
19957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19958 done; \
19959 echo "Doing html in libbacktrace"; \
19960 (cd $(HOST_SUBDIR)/libbacktrace && \
19961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19963 "RANLIB=$${RANLIB}" \
19964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19965 html) \
19966 || exit 1
19968 @endif libbacktrace
19970 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
19971 maybe-TAGS-libbacktrace:
19972 @if libbacktrace
19973 maybe-TAGS-libbacktrace: TAGS-libbacktrace
19975 TAGS-libbacktrace: \
19976 configure-libbacktrace
19977 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19978 r=`${PWD_COMMAND}`; export r; \
19979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 $(HOST_EXPORTS) \
19981 for flag in $(EXTRA_HOST_FLAGS) ; do \
19982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19983 done; \
19984 echo "Doing TAGS in libbacktrace"; \
19985 (cd $(HOST_SUBDIR)/libbacktrace && \
19986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19988 "RANLIB=$${RANLIB}" \
19989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19990 TAGS) \
19991 || exit 1
19993 @endif libbacktrace
19995 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
19996 maybe-install-info-libbacktrace:
19997 @if libbacktrace
19998 maybe-install-info-libbacktrace: install-info-libbacktrace
20000 install-info-libbacktrace: \
20001 configure-libbacktrace \
20002 info-libbacktrace
20003 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20004 r=`${PWD_COMMAND}`; export r; \
20005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20006 $(HOST_EXPORTS) \
20007 for flag in $(EXTRA_HOST_FLAGS) ; do \
20008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20009 done; \
20010 echo "Doing install-info in libbacktrace"; \
20011 (cd $(HOST_SUBDIR)/libbacktrace && \
20012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20014 "RANLIB=$${RANLIB}" \
20015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20016 install-info) \
20017 || exit 1
20019 @endif libbacktrace
20021 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20022 maybe-install-pdf-libbacktrace:
20023 @if libbacktrace
20024 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20026 install-pdf-libbacktrace: \
20027 configure-libbacktrace \
20028 pdf-libbacktrace
20029 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20030 r=`${PWD_COMMAND}`; export r; \
20031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20032 $(HOST_EXPORTS) \
20033 for flag in $(EXTRA_HOST_FLAGS) ; do \
20034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20035 done; \
20036 echo "Doing install-pdf in libbacktrace"; \
20037 (cd $(HOST_SUBDIR)/libbacktrace && \
20038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20040 "RANLIB=$${RANLIB}" \
20041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20042 install-pdf) \
20043 || exit 1
20045 @endif libbacktrace
20047 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20048 maybe-install-html-libbacktrace:
20049 @if libbacktrace
20050 maybe-install-html-libbacktrace: install-html-libbacktrace
20052 install-html-libbacktrace: \
20053 configure-libbacktrace \
20054 html-libbacktrace
20055 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20056 r=`${PWD_COMMAND}`; export r; \
20057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20058 $(HOST_EXPORTS) \
20059 for flag in $(EXTRA_HOST_FLAGS) ; do \
20060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20061 done; \
20062 echo "Doing install-html in libbacktrace"; \
20063 (cd $(HOST_SUBDIR)/libbacktrace && \
20064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20066 "RANLIB=$${RANLIB}" \
20067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20068 install-html) \
20069 || exit 1
20071 @endif libbacktrace
20073 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20074 maybe-installcheck-libbacktrace:
20075 @if libbacktrace
20076 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20078 installcheck-libbacktrace: \
20079 configure-libbacktrace
20080 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20081 r=`${PWD_COMMAND}`; export r; \
20082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20083 $(HOST_EXPORTS) \
20084 for flag in $(EXTRA_HOST_FLAGS) ; do \
20085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20086 done; \
20087 echo "Doing installcheck in libbacktrace"; \
20088 (cd $(HOST_SUBDIR)/libbacktrace && \
20089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20091 "RANLIB=$${RANLIB}" \
20092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20093 installcheck) \
20094 || exit 1
20096 @endif libbacktrace
20098 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20099 maybe-mostlyclean-libbacktrace:
20100 @if libbacktrace
20101 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20103 mostlyclean-libbacktrace:
20104 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20105 r=`${PWD_COMMAND}`; export r; \
20106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107 $(HOST_EXPORTS) \
20108 for flag in $(EXTRA_HOST_FLAGS) ; do \
20109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20110 done; \
20111 echo "Doing mostlyclean in libbacktrace"; \
20112 (cd $(HOST_SUBDIR)/libbacktrace && \
20113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20115 "RANLIB=$${RANLIB}" \
20116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20117 mostlyclean) \
20118 || exit 1
20120 @endif libbacktrace
20122 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20123 maybe-clean-libbacktrace:
20124 @if libbacktrace
20125 maybe-clean-libbacktrace: clean-libbacktrace
20127 clean-libbacktrace:
20128 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20129 r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20131 $(HOST_EXPORTS) \
20132 for flag in $(EXTRA_HOST_FLAGS) ; do \
20133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20134 done; \
20135 echo "Doing clean in libbacktrace"; \
20136 (cd $(HOST_SUBDIR)/libbacktrace && \
20137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20139 "RANLIB=$${RANLIB}" \
20140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20141 clean) \
20142 || exit 1
20144 @endif libbacktrace
20146 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20147 maybe-distclean-libbacktrace:
20148 @if libbacktrace
20149 maybe-distclean-libbacktrace: distclean-libbacktrace
20151 distclean-libbacktrace:
20152 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20153 r=`${PWD_COMMAND}`; export r; \
20154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20155 $(HOST_EXPORTS) \
20156 for flag in $(EXTRA_HOST_FLAGS) ; do \
20157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20158 done; \
20159 echo "Doing distclean in libbacktrace"; \
20160 (cd $(HOST_SUBDIR)/libbacktrace && \
20161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20163 "RANLIB=$${RANLIB}" \
20164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20165 distclean) \
20166 || exit 1
20168 @endif libbacktrace
20170 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20171 maybe-maintainer-clean-libbacktrace:
20172 @if libbacktrace
20173 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20175 maintainer-clean-libbacktrace:
20176 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20177 r=`${PWD_COMMAND}`; export r; \
20178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20179 $(HOST_EXPORTS) \
20180 for flag in $(EXTRA_HOST_FLAGS) ; do \
20181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20182 done; \
20183 echo "Doing maintainer-clean in libbacktrace"; \
20184 (cd $(HOST_SUBDIR)/libbacktrace && \
20185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20187 "RANLIB=$${RANLIB}" \
20188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20189 maintainer-clean) \
20190 || exit 1
20192 @endif libbacktrace
20196 .PHONY: configure-libcpp maybe-configure-libcpp
20197 maybe-configure-libcpp:
20198 @if gcc-bootstrap
20199 configure-libcpp: stage_current
20200 @endif gcc-bootstrap
20201 @if libcpp
20202 maybe-configure-libcpp: configure-libcpp
20203 configure-libcpp:
20204 @r=`${PWD_COMMAND}`; export r; \
20205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20206 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20208 $(HOST_EXPORTS) \
20209 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20210 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20211 case $(srcdir) in \
20212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20213 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20215 esac; \
20216 module_srcdir=libcpp; \
20217 $(SHELL) \
20218 $$s/$$module_srcdir/configure \
20219 --srcdir=$${topdir}/$$module_srcdir \
20220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20221 --target=${target_alias} \
20222 || exit 1
20223 @endif libcpp
20227 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20228 maybe-configure-stage1-libcpp:
20229 @if libcpp-bootstrap
20230 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20231 configure-stage1-libcpp:
20232 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20234 @r=`${PWD_COMMAND}`; export r; \
20235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20236 TFLAGS="$(STAGE1_TFLAGS)"; \
20237 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20238 $(HOST_EXPORTS) \
20239 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20240 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20241 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20242 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
20243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20244 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20245 case $(srcdir) in \
20246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20247 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20249 esac; \
20250 module_srcdir=libcpp; \
20251 $(SHELL) $$s/$$module_srcdir/configure \
20252 --srcdir=$${topdir}/$$module_srcdir \
20253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20254 --target=${target_alias} \
20256 $(STAGE1_CONFIGURE_FLAGS)
20257 @endif libcpp-bootstrap
20259 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20260 maybe-configure-stage2-libcpp:
20261 @if libcpp-bootstrap
20262 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20263 configure-stage2-libcpp:
20264 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20266 @r=`${PWD_COMMAND}`; export r; \
20267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20268 TFLAGS="$(STAGE2_TFLAGS)"; \
20269 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20270 $(HOST_EXPORTS) \
20271 $(POSTSTAGE1_HOST_EXPORTS) \
20272 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20273 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20274 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20275 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
20276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20277 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20278 case $(srcdir) in \
20279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20280 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20282 esac; \
20283 module_srcdir=libcpp; \
20284 $(SHELL) $$s/$$module_srcdir/configure \
20285 --srcdir=$${topdir}/$$module_srcdir \
20286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20287 --target=${target_alias} \
20288 --with-build-libsubdir=$(HOST_SUBDIR) \
20289 $(STAGE2_CONFIGURE_FLAGS)
20290 @endif libcpp-bootstrap
20292 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20293 maybe-configure-stage3-libcpp:
20294 @if libcpp-bootstrap
20295 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20296 configure-stage3-libcpp:
20297 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20299 @r=`${PWD_COMMAND}`; export r; \
20300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20301 TFLAGS="$(STAGE3_TFLAGS)"; \
20302 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20303 $(HOST_EXPORTS) \
20304 $(POSTSTAGE1_HOST_EXPORTS) \
20305 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20306 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20307 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20308 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
20309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20310 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20311 case $(srcdir) in \
20312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20313 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20315 esac; \
20316 module_srcdir=libcpp; \
20317 $(SHELL) $$s/$$module_srcdir/configure \
20318 --srcdir=$${topdir}/$$module_srcdir \
20319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20320 --target=${target_alias} \
20321 --with-build-libsubdir=$(HOST_SUBDIR) \
20322 $(STAGE3_CONFIGURE_FLAGS)
20323 @endif libcpp-bootstrap
20325 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20326 maybe-configure-stage4-libcpp:
20327 @if libcpp-bootstrap
20328 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20329 configure-stage4-libcpp:
20330 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20332 @r=`${PWD_COMMAND}`; export r; \
20333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20334 TFLAGS="$(STAGE4_TFLAGS)"; \
20335 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20336 $(HOST_EXPORTS) \
20337 $(POSTSTAGE1_HOST_EXPORTS) \
20338 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20339 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20340 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20341 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
20342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20343 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20344 case $(srcdir) in \
20345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20346 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20348 esac; \
20349 module_srcdir=libcpp; \
20350 $(SHELL) $$s/$$module_srcdir/configure \
20351 --srcdir=$${topdir}/$$module_srcdir \
20352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20353 --target=${target_alias} \
20354 --with-build-libsubdir=$(HOST_SUBDIR) \
20355 $(STAGE4_CONFIGURE_FLAGS)
20356 @endif libcpp-bootstrap
20358 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20359 maybe-configure-stageprofile-libcpp:
20360 @if libcpp-bootstrap
20361 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20362 configure-stageprofile-libcpp:
20363 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20364 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20365 @r=`${PWD_COMMAND}`; export r; \
20366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20367 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20368 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20369 $(HOST_EXPORTS) \
20370 $(POSTSTAGE1_HOST_EXPORTS) \
20371 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20372 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20373 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20374 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
20375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20376 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20377 case $(srcdir) in \
20378 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20379 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20380 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20381 esac; \
20382 module_srcdir=libcpp; \
20383 $(SHELL) $$s/$$module_srcdir/configure \
20384 --srcdir=$${topdir}/$$module_srcdir \
20385 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20386 --target=${target_alias} \
20387 --with-build-libsubdir=$(HOST_SUBDIR) \
20388 $(STAGEprofile_CONFIGURE_FLAGS)
20389 @endif libcpp-bootstrap
20391 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20392 maybe-configure-stagefeedback-libcpp:
20393 @if libcpp-bootstrap
20394 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20395 configure-stagefeedback-libcpp:
20396 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20398 @r=`${PWD_COMMAND}`; export r; \
20399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20400 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20401 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20402 $(HOST_EXPORTS) \
20403 $(POSTSTAGE1_HOST_EXPORTS) \
20404 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20405 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20406 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20407 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
20408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20409 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20410 case $(srcdir) in \
20411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20412 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20414 esac; \
20415 module_srcdir=libcpp; \
20416 $(SHELL) $$s/$$module_srcdir/configure \
20417 --srcdir=$${topdir}/$$module_srcdir \
20418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20419 --target=${target_alias} \
20420 --with-build-libsubdir=$(HOST_SUBDIR) \
20421 $(STAGEfeedback_CONFIGURE_FLAGS)
20422 @endif libcpp-bootstrap
20428 .PHONY: all-libcpp maybe-all-libcpp
20429 maybe-all-libcpp:
20430 @if gcc-bootstrap
20431 all-libcpp: stage_current
20432 @endif gcc-bootstrap
20433 @if libcpp
20434 TARGET-libcpp=all
20435 maybe-all-libcpp: all-libcpp
20436 all-libcpp: configure-libcpp
20437 @r=`${PWD_COMMAND}`; export r; \
20438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20439 $(HOST_EXPORTS) \
20440 (cd $(HOST_SUBDIR)/libcpp && \
20441 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20442 $(TARGET-libcpp))
20443 @endif libcpp
20447 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20448 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20449 maybe-all-stage1-libcpp:
20450 maybe-clean-stage1-libcpp:
20451 @if libcpp-bootstrap
20452 maybe-all-stage1-libcpp: all-stage1-libcpp
20453 all-stage1: all-stage1-libcpp
20454 TARGET-stage1-libcpp = $(TARGET-libcpp)
20455 all-stage1-libcpp: configure-stage1-libcpp
20456 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20457 @r=`${PWD_COMMAND}`; export r; \
20458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20459 TFLAGS="$(STAGE1_TFLAGS)"; \
20460 $(HOST_EXPORTS) \
20461 cd $(HOST_SUBDIR)/libcpp && \
20462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20463 CFLAGS="$(STAGE1_CFLAGS)" \
20464 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20465 LIBCFLAGS="$(LIBCFLAGS)" \
20466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20469 $(EXTRA_HOST_FLAGS) \
20470 $(STAGE1_FLAGS_TO_PASS) \
20471 TFLAGS="$(STAGE1_TFLAGS)" \
20472 $(TARGET-stage1-libcpp)
20474 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20475 clean-stage1: clean-stage1-libcpp
20476 clean-stage1-libcpp:
20477 @if [ $(current_stage) = stage1 ]; then \
20478 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20479 else \
20480 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20481 $(MAKE) stage1-start; \
20482 fi; \
20483 cd $(HOST_SUBDIR)/libcpp && \
20484 $(MAKE) $(EXTRA_HOST_FLAGS) \
20485 $(STAGE1_FLAGS_TO_PASS) clean
20486 @endif libcpp-bootstrap
20489 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20490 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20491 maybe-all-stage2-libcpp:
20492 maybe-clean-stage2-libcpp:
20493 @if libcpp-bootstrap
20494 maybe-all-stage2-libcpp: all-stage2-libcpp
20495 all-stage2: all-stage2-libcpp
20496 TARGET-stage2-libcpp = $(TARGET-libcpp)
20497 all-stage2-libcpp: configure-stage2-libcpp
20498 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20499 @r=`${PWD_COMMAND}`; export r; \
20500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20501 TFLAGS="$(STAGE2_TFLAGS)"; \
20502 $(HOST_EXPORTS) \
20503 $(POSTSTAGE1_HOST_EXPORTS) \
20504 cd $(HOST_SUBDIR)/libcpp && \
20505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20506 CFLAGS="$(STAGE2_CFLAGS)" \
20507 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20508 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20509 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20510 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20511 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20512 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20513 TFLAGS="$(STAGE2_TFLAGS)" \
20514 $(TARGET-stage2-libcpp)
20516 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20517 clean-stage2: clean-stage2-libcpp
20518 clean-stage2-libcpp:
20519 @if [ $(current_stage) = stage2 ]; then \
20520 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20521 else \
20522 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20523 $(MAKE) stage2-start; \
20524 fi; \
20525 cd $(HOST_SUBDIR)/libcpp && \
20526 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20527 @endif libcpp-bootstrap
20530 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20531 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20532 maybe-all-stage3-libcpp:
20533 maybe-clean-stage3-libcpp:
20534 @if libcpp-bootstrap
20535 maybe-all-stage3-libcpp: all-stage3-libcpp
20536 all-stage3: all-stage3-libcpp
20537 TARGET-stage3-libcpp = $(TARGET-libcpp)
20538 all-stage3-libcpp: configure-stage3-libcpp
20539 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20540 @r=`${PWD_COMMAND}`; export r; \
20541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20542 TFLAGS="$(STAGE3_TFLAGS)"; \
20543 $(HOST_EXPORTS) \
20544 $(POSTSTAGE1_HOST_EXPORTS) \
20545 cd $(HOST_SUBDIR)/libcpp && \
20546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20547 CFLAGS="$(STAGE3_CFLAGS)" \
20548 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20549 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20550 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20553 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20554 TFLAGS="$(STAGE3_TFLAGS)" \
20555 $(TARGET-stage3-libcpp)
20557 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20558 clean-stage3: clean-stage3-libcpp
20559 clean-stage3-libcpp:
20560 @if [ $(current_stage) = stage3 ]; then \
20561 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20562 else \
20563 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20564 $(MAKE) stage3-start; \
20565 fi; \
20566 cd $(HOST_SUBDIR)/libcpp && \
20567 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20568 @endif libcpp-bootstrap
20571 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20572 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20573 maybe-all-stage4-libcpp:
20574 maybe-clean-stage4-libcpp:
20575 @if libcpp-bootstrap
20576 maybe-all-stage4-libcpp: all-stage4-libcpp
20577 all-stage4: all-stage4-libcpp
20578 TARGET-stage4-libcpp = $(TARGET-libcpp)
20579 all-stage4-libcpp: configure-stage4-libcpp
20580 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20581 @r=`${PWD_COMMAND}`; export r; \
20582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20583 TFLAGS="$(STAGE4_TFLAGS)"; \
20584 $(HOST_EXPORTS) \
20585 $(POSTSTAGE1_HOST_EXPORTS) \
20586 cd $(HOST_SUBDIR)/libcpp && \
20587 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20588 CFLAGS="$(STAGE4_CFLAGS)" \
20589 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20590 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20591 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20592 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20593 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20594 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20595 TFLAGS="$(STAGE4_TFLAGS)" \
20596 $(TARGET-stage4-libcpp)
20598 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20599 clean-stage4: clean-stage4-libcpp
20600 clean-stage4-libcpp:
20601 @if [ $(current_stage) = stage4 ]; then \
20602 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20603 else \
20604 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20605 $(MAKE) stage4-start; \
20606 fi; \
20607 cd $(HOST_SUBDIR)/libcpp && \
20608 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20609 @endif libcpp-bootstrap
20612 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20613 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20614 maybe-all-stageprofile-libcpp:
20615 maybe-clean-stageprofile-libcpp:
20616 @if libcpp-bootstrap
20617 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20618 all-stageprofile: all-stageprofile-libcpp
20619 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20620 all-stageprofile-libcpp: configure-stageprofile-libcpp
20621 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20622 @r=`${PWD_COMMAND}`; export r; \
20623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20624 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20625 $(HOST_EXPORTS) \
20626 $(POSTSTAGE1_HOST_EXPORTS) \
20627 cd $(HOST_SUBDIR)/libcpp && \
20628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20629 CFLAGS="$(STAGEprofile_CFLAGS)" \
20630 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20631 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20635 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20636 TFLAGS="$(STAGEprofile_TFLAGS)" \
20637 $(TARGET-stageprofile-libcpp)
20639 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20640 clean-stageprofile: clean-stageprofile-libcpp
20641 clean-stageprofile-libcpp:
20642 @if [ $(current_stage) = stageprofile ]; then \
20643 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20644 else \
20645 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20646 $(MAKE) stageprofile-start; \
20647 fi; \
20648 cd $(HOST_SUBDIR)/libcpp && \
20649 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20650 @endif libcpp-bootstrap
20653 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20654 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20655 maybe-all-stagefeedback-libcpp:
20656 maybe-clean-stagefeedback-libcpp:
20657 @if libcpp-bootstrap
20658 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20659 all-stagefeedback: all-stagefeedback-libcpp
20660 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20661 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20662 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20663 @r=`${PWD_COMMAND}`; export r; \
20664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20665 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20666 $(HOST_EXPORTS) \
20667 $(POSTSTAGE1_HOST_EXPORTS) \
20668 cd $(HOST_SUBDIR)/libcpp && \
20669 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20670 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20671 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20672 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20673 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20674 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20675 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20676 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20677 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20678 $(TARGET-stagefeedback-libcpp)
20680 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20681 clean-stagefeedback: clean-stagefeedback-libcpp
20682 clean-stagefeedback-libcpp:
20683 @if [ $(current_stage) = stagefeedback ]; then \
20684 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20685 else \
20686 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20687 $(MAKE) stagefeedback-start; \
20688 fi; \
20689 cd $(HOST_SUBDIR)/libcpp && \
20690 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20691 @endif libcpp-bootstrap
20697 .PHONY: check-libcpp maybe-check-libcpp
20698 maybe-check-libcpp:
20699 @if libcpp
20700 maybe-check-libcpp: check-libcpp
20702 check-libcpp:
20703 @: $(MAKE); $(unstage)
20704 @r=`${PWD_COMMAND}`; export r; \
20705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20706 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20707 (cd $(HOST_SUBDIR)/libcpp && \
20708 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20710 @endif libcpp
20712 .PHONY: install-libcpp maybe-install-libcpp
20713 maybe-install-libcpp:
20714 @if libcpp
20715 maybe-install-libcpp: install-libcpp
20717 install-libcpp: installdirs
20718 @: $(MAKE); $(unstage)
20719 @r=`${PWD_COMMAND}`; export r; \
20720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20721 $(HOST_EXPORTS) \
20722 (cd $(HOST_SUBDIR)/libcpp && \
20723 $(MAKE) $(FLAGS_TO_PASS) install)
20725 @endif libcpp
20727 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20728 maybe-install-strip-libcpp:
20729 @if libcpp
20730 maybe-install-strip-libcpp: install-strip-libcpp
20732 install-strip-libcpp: installdirs
20733 @: $(MAKE); $(unstage)
20734 @r=`${PWD_COMMAND}`; export r; \
20735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20736 $(HOST_EXPORTS) \
20737 (cd $(HOST_SUBDIR)/libcpp && \
20738 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20740 @endif libcpp
20742 # Other targets (info, dvi, pdf, etc.)
20744 .PHONY: maybe-info-libcpp info-libcpp
20745 maybe-info-libcpp:
20746 @if libcpp
20747 maybe-info-libcpp: info-libcpp
20749 info-libcpp: \
20750 configure-libcpp
20751 @[ -f ./libcpp/Makefile ] || exit 0; \
20752 r=`${PWD_COMMAND}`; export r; \
20753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20754 $(HOST_EXPORTS) \
20755 for flag in $(EXTRA_HOST_FLAGS) ; do \
20756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20757 done; \
20758 echo "Doing info in libcpp"; \
20759 (cd $(HOST_SUBDIR)/libcpp && \
20760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20762 "RANLIB=$${RANLIB}" \
20763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20764 info) \
20765 || exit 1
20767 @endif libcpp
20769 .PHONY: maybe-dvi-libcpp dvi-libcpp
20770 maybe-dvi-libcpp:
20771 @if libcpp
20772 maybe-dvi-libcpp: dvi-libcpp
20774 dvi-libcpp: \
20775 configure-libcpp
20776 @[ -f ./libcpp/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 dvi in libcpp"; \
20784 (cd $(HOST_SUBDIR)/libcpp && \
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 dvi) \
20790 || exit 1
20792 @endif libcpp
20794 .PHONY: maybe-pdf-libcpp pdf-libcpp
20795 maybe-pdf-libcpp:
20796 @if libcpp
20797 maybe-pdf-libcpp: pdf-libcpp
20799 pdf-libcpp: \
20800 configure-libcpp
20801 @[ -f ./libcpp/Makefile ] || exit 0; \
20802 r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 $(HOST_EXPORTS) \
20805 for flag in $(EXTRA_HOST_FLAGS) ; do \
20806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20807 done; \
20808 echo "Doing pdf in libcpp"; \
20809 (cd $(HOST_SUBDIR)/libcpp && \
20810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20812 "RANLIB=$${RANLIB}" \
20813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20814 pdf) \
20815 || exit 1
20817 @endif libcpp
20819 .PHONY: maybe-html-libcpp html-libcpp
20820 maybe-html-libcpp:
20821 @if libcpp
20822 maybe-html-libcpp: html-libcpp
20824 html-libcpp: \
20825 configure-libcpp
20826 @[ -f ./libcpp/Makefile ] || exit 0; \
20827 r=`${PWD_COMMAND}`; export r; \
20828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20829 $(HOST_EXPORTS) \
20830 for flag in $(EXTRA_HOST_FLAGS) ; do \
20831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20832 done; \
20833 echo "Doing html in libcpp"; \
20834 (cd $(HOST_SUBDIR)/libcpp && \
20835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20837 "RANLIB=$${RANLIB}" \
20838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20839 html) \
20840 || exit 1
20842 @endif libcpp
20844 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20845 maybe-TAGS-libcpp:
20846 @if libcpp
20847 maybe-TAGS-libcpp: TAGS-libcpp
20849 TAGS-libcpp: \
20850 configure-libcpp
20851 @[ -f ./libcpp/Makefile ] || exit 0; \
20852 r=`${PWD_COMMAND}`; export r; \
20853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20854 $(HOST_EXPORTS) \
20855 for flag in $(EXTRA_HOST_FLAGS) ; do \
20856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20857 done; \
20858 echo "Doing TAGS in libcpp"; \
20859 (cd $(HOST_SUBDIR)/libcpp && \
20860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20862 "RANLIB=$${RANLIB}" \
20863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20864 TAGS) \
20865 || exit 1
20867 @endif libcpp
20869 .PHONY: maybe-install-info-libcpp install-info-libcpp
20870 maybe-install-info-libcpp:
20871 @if libcpp
20872 maybe-install-info-libcpp: install-info-libcpp
20874 install-info-libcpp: \
20875 configure-libcpp \
20876 info-libcpp
20877 @[ -f ./libcpp/Makefile ] || exit 0; \
20878 r=`${PWD_COMMAND}`; export r; \
20879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20880 $(HOST_EXPORTS) \
20881 for flag in $(EXTRA_HOST_FLAGS) ; do \
20882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20883 done; \
20884 echo "Doing install-info in libcpp"; \
20885 (cd $(HOST_SUBDIR)/libcpp && \
20886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20888 "RANLIB=$${RANLIB}" \
20889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20890 install-info) \
20891 || exit 1
20893 @endif libcpp
20895 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20896 maybe-install-pdf-libcpp:
20897 @if libcpp
20898 maybe-install-pdf-libcpp: install-pdf-libcpp
20900 install-pdf-libcpp: \
20901 configure-libcpp \
20902 pdf-libcpp
20903 @[ -f ./libcpp/Makefile ] || exit 0; \
20904 r=`${PWD_COMMAND}`; export r; \
20905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20906 $(HOST_EXPORTS) \
20907 for flag in $(EXTRA_HOST_FLAGS) ; do \
20908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20909 done; \
20910 echo "Doing install-pdf in libcpp"; \
20911 (cd $(HOST_SUBDIR)/libcpp && \
20912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20914 "RANLIB=$${RANLIB}" \
20915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20916 install-pdf) \
20917 || exit 1
20919 @endif libcpp
20921 .PHONY: maybe-install-html-libcpp install-html-libcpp
20922 maybe-install-html-libcpp:
20923 @if libcpp
20924 maybe-install-html-libcpp: install-html-libcpp
20926 install-html-libcpp: \
20927 configure-libcpp \
20928 html-libcpp
20929 @[ -f ./libcpp/Makefile ] || exit 0; \
20930 r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(HOST_EXPORTS) \
20933 for flag in $(EXTRA_HOST_FLAGS) ; do \
20934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20935 done; \
20936 echo "Doing install-html in libcpp"; \
20937 (cd $(HOST_SUBDIR)/libcpp && \
20938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20940 "RANLIB=$${RANLIB}" \
20941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20942 install-html) \
20943 || exit 1
20945 @endif libcpp
20947 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20948 maybe-installcheck-libcpp:
20949 @if libcpp
20950 maybe-installcheck-libcpp: installcheck-libcpp
20952 installcheck-libcpp: \
20953 configure-libcpp
20954 @[ -f ./libcpp/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957 $(HOST_EXPORTS) \
20958 for flag in $(EXTRA_HOST_FLAGS) ; do \
20959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20960 done; \
20961 echo "Doing installcheck in libcpp"; \
20962 (cd $(HOST_SUBDIR)/libcpp && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20967 installcheck) \
20968 || exit 1
20970 @endif libcpp
20972 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20973 maybe-mostlyclean-libcpp:
20974 @if libcpp
20975 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20977 mostlyclean-libcpp:
20978 @[ -f ./libcpp/Makefile ] || exit 0; \
20979 r=`${PWD_COMMAND}`; export r; \
20980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20981 $(HOST_EXPORTS) \
20982 for flag in $(EXTRA_HOST_FLAGS) ; do \
20983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20984 done; \
20985 echo "Doing mostlyclean in libcpp"; \
20986 (cd $(HOST_SUBDIR)/libcpp && \
20987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20989 "RANLIB=$${RANLIB}" \
20990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20991 mostlyclean) \
20992 || exit 1
20994 @endif libcpp
20996 .PHONY: maybe-clean-libcpp clean-libcpp
20997 maybe-clean-libcpp:
20998 @if libcpp
20999 maybe-clean-libcpp: clean-libcpp
21001 clean-libcpp:
21002 @[ -f ./libcpp/Makefile ] || exit 0; \
21003 r=`${PWD_COMMAND}`; export r; \
21004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21005 $(HOST_EXPORTS) \
21006 for flag in $(EXTRA_HOST_FLAGS) ; do \
21007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21008 done; \
21009 echo "Doing clean in libcpp"; \
21010 (cd $(HOST_SUBDIR)/libcpp && \
21011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21013 "RANLIB=$${RANLIB}" \
21014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21015 clean) \
21016 || exit 1
21018 @endif libcpp
21020 .PHONY: maybe-distclean-libcpp distclean-libcpp
21021 maybe-distclean-libcpp:
21022 @if libcpp
21023 maybe-distclean-libcpp: distclean-libcpp
21025 distclean-libcpp:
21026 @[ -f ./libcpp/Makefile ] || exit 0; \
21027 r=`${PWD_COMMAND}`; export r; \
21028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21029 $(HOST_EXPORTS) \
21030 for flag in $(EXTRA_HOST_FLAGS) ; do \
21031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21032 done; \
21033 echo "Doing distclean in libcpp"; \
21034 (cd $(HOST_SUBDIR)/libcpp && \
21035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21037 "RANLIB=$${RANLIB}" \
21038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21039 distclean) \
21040 || exit 1
21042 @endif libcpp
21044 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21045 maybe-maintainer-clean-libcpp:
21046 @if libcpp
21047 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21049 maintainer-clean-libcpp:
21050 @[ -f ./libcpp/Makefile ] || exit 0; \
21051 r=`${PWD_COMMAND}`; export r; \
21052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21053 $(HOST_EXPORTS) \
21054 for flag in $(EXTRA_HOST_FLAGS) ; do \
21055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21056 done; \
21057 echo "Doing maintainer-clean in libcpp"; \
21058 (cd $(HOST_SUBDIR)/libcpp && \
21059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21061 "RANLIB=$${RANLIB}" \
21062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21063 maintainer-clean) \
21064 || exit 1
21066 @endif libcpp
21070 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21071 maybe-configure-libdecnumber:
21072 @if gcc-bootstrap
21073 configure-libdecnumber: stage_current
21074 @endif gcc-bootstrap
21075 @if libdecnumber
21076 maybe-configure-libdecnumber: configure-libdecnumber
21077 configure-libdecnumber:
21078 @r=`${PWD_COMMAND}`; export r; \
21079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21082 $(HOST_EXPORTS) \
21083 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21084 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21085 case $(srcdir) in \
21086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21087 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21089 esac; \
21090 module_srcdir=libdecnumber; \
21091 $(SHELL) \
21092 $$s/$$module_srcdir/configure \
21093 --srcdir=$${topdir}/$$module_srcdir \
21094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21095 --target=${target_alias} \
21096 || exit 1
21097 @endif libdecnumber
21101 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21102 maybe-configure-stage1-libdecnumber:
21103 @if libdecnumber-bootstrap
21104 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21105 configure-stage1-libdecnumber:
21106 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21108 @r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 TFLAGS="$(STAGE1_TFLAGS)"; \
21111 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21112 $(HOST_EXPORTS) \
21113 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21114 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21115 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21116 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
21117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21118 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21119 case $(srcdir) in \
21120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21121 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21123 esac; \
21124 module_srcdir=libdecnumber; \
21125 $(SHELL) $$s/$$module_srcdir/configure \
21126 --srcdir=$${topdir}/$$module_srcdir \
21127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21128 --target=${target_alias} \
21130 $(STAGE1_CONFIGURE_FLAGS)
21131 @endif libdecnumber-bootstrap
21133 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21134 maybe-configure-stage2-libdecnumber:
21135 @if libdecnumber-bootstrap
21136 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21137 configure-stage2-libdecnumber:
21138 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21139 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21140 @r=`${PWD_COMMAND}`; export r; \
21141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21142 TFLAGS="$(STAGE2_TFLAGS)"; \
21143 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21144 $(HOST_EXPORTS) \
21145 $(POSTSTAGE1_HOST_EXPORTS) \
21146 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21147 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21148 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21149 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
21150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21151 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21152 case $(srcdir) in \
21153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21154 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21156 esac; \
21157 module_srcdir=libdecnumber; \
21158 $(SHELL) $$s/$$module_srcdir/configure \
21159 --srcdir=$${topdir}/$$module_srcdir \
21160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21161 --target=${target_alias} \
21162 --with-build-libsubdir=$(HOST_SUBDIR) \
21163 $(STAGE2_CONFIGURE_FLAGS)
21164 @endif libdecnumber-bootstrap
21166 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21167 maybe-configure-stage3-libdecnumber:
21168 @if libdecnumber-bootstrap
21169 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21170 configure-stage3-libdecnumber:
21171 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21173 @r=`${PWD_COMMAND}`; export r; \
21174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21175 TFLAGS="$(STAGE3_TFLAGS)"; \
21176 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21177 $(HOST_EXPORTS) \
21178 $(POSTSTAGE1_HOST_EXPORTS) \
21179 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21180 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21181 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21182 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
21183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21184 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21185 case $(srcdir) in \
21186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21187 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21189 esac; \
21190 module_srcdir=libdecnumber; \
21191 $(SHELL) $$s/$$module_srcdir/configure \
21192 --srcdir=$${topdir}/$$module_srcdir \
21193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21194 --target=${target_alias} \
21195 --with-build-libsubdir=$(HOST_SUBDIR) \
21196 $(STAGE3_CONFIGURE_FLAGS)
21197 @endif libdecnumber-bootstrap
21199 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21200 maybe-configure-stage4-libdecnumber:
21201 @if libdecnumber-bootstrap
21202 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21203 configure-stage4-libdecnumber:
21204 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21206 @r=`${PWD_COMMAND}`; export r; \
21207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21208 TFLAGS="$(STAGE4_TFLAGS)"; \
21209 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21210 $(HOST_EXPORTS) \
21211 $(POSTSTAGE1_HOST_EXPORTS) \
21212 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21213 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21214 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21215 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
21216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21217 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21218 case $(srcdir) in \
21219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21220 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21222 esac; \
21223 module_srcdir=libdecnumber; \
21224 $(SHELL) $$s/$$module_srcdir/configure \
21225 --srcdir=$${topdir}/$$module_srcdir \
21226 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21227 --target=${target_alias} \
21228 --with-build-libsubdir=$(HOST_SUBDIR) \
21229 $(STAGE4_CONFIGURE_FLAGS)
21230 @endif libdecnumber-bootstrap
21232 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21233 maybe-configure-stageprofile-libdecnumber:
21234 @if libdecnumber-bootstrap
21235 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21236 configure-stageprofile-libdecnumber:
21237 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21238 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21239 @r=`${PWD_COMMAND}`; export r; \
21240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21241 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21242 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21243 $(HOST_EXPORTS) \
21244 $(POSTSTAGE1_HOST_EXPORTS) \
21245 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21246 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21247 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21248 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
21249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21250 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21251 case $(srcdir) in \
21252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21253 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21255 esac; \
21256 module_srcdir=libdecnumber; \
21257 $(SHELL) $$s/$$module_srcdir/configure \
21258 --srcdir=$${topdir}/$$module_srcdir \
21259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21260 --target=${target_alias} \
21261 --with-build-libsubdir=$(HOST_SUBDIR) \
21262 $(STAGEprofile_CONFIGURE_FLAGS)
21263 @endif libdecnumber-bootstrap
21265 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21266 maybe-configure-stagefeedback-libdecnumber:
21267 @if libdecnumber-bootstrap
21268 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21269 configure-stagefeedback-libdecnumber:
21270 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21272 @r=`${PWD_COMMAND}`; export r; \
21273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21274 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21275 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21276 $(HOST_EXPORTS) \
21277 $(POSTSTAGE1_HOST_EXPORTS) \
21278 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21279 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21280 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21281 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
21282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21283 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21284 case $(srcdir) in \
21285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21286 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21288 esac; \
21289 module_srcdir=libdecnumber; \
21290 $(SHELL) $$s/$$module_srcdir/configure \
21291 --srcdir=$${topdir}/$$module_srcdir \
21292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21293 --target=${target_alias} \
21294 --with-build-libsubdir=$(HOST_SUBDIR) \
21295 $(STAGEfeedback_CONFIGURE_FLAGS)
21296 @endif libdecnumber-bootstrap
21302 .PHONY: all-libdecnumber maybe-all-libdecnumber
21303 maybe-all-libdecnumber:
21304 @if gcc-bootstrap
21305 all-libdecnumber: stage_current
21306 @endif gcc-bootstrap
21307 @if libdecnumber
21308 TARGET-libdecnumber=all
21309 maybe-all-libdecnumber: all-libdecnumber
21310 all-libdecnumber: configure-libdecnumber
21311 @r=`${PWD_COMMAND}`; export r; \
21312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21313 $(HOST_EXPORTS) \
21314 (cd $(HOST_SUBDIR)/libdecnumber && \
21315 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21316 $(TARGET-libdecnumber))
21317 @endif libdecnumber
21321 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21322 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21323 maybe-all-stage1-libdecnumber:
21324 maybe-clean-stage1-libdecnumber:
21325 @if libdecnumber-bootstrap
21326 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21327 all-stage1: all-stage1-libdecnumber
21328 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21329 all-stage1-libdecnumber: configure-stage1-libdecnumber
21330 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21331 @r=`${PWD_COMMAND}`; export r; \
21332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21333 TFLAGS="$(STAGE1_TFLAGS)"; \
21334 $(HOST_EXPORTS) \
21335 cd $(HOST_SUBDIR)/libdecnumber && \
21336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21337 CFLAGS="$(STAGE1_CFLAGS)" \
21338 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21339 LIBCFLAGS="$(LIBCFLAGS)" \
21340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21343 $(EXTRA_HOST_FLAGS) \
21344 $(STAGE1_FLAGS_TO_PASS) \
21345 TFLAGS="$(STAGE1_TFLAGS)" \
21346 $(TARGET-stage1-libdecnumber)
21348 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21349 clean-stage1: clean-stage1-libdecnumber
21350 clean-stage1-libdecnumber:
21351 @if [ $(current_stage) = stage1 ]; then \
21352 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21353 else \
21354 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21355 $(MAKE) stage1-start; \
21356 fi; \
21357 cd $(HOST_SUBDIR)/libdecnumber && \
21358 $(MAKE) $(EXTRA_HOST_FLAGS) \
21359 $(STAGE1_FLAGS_TO_PASS) clean
21360 @endif libdecnumber-bootstrap
21363 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21364 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21365 maybe-all-stage2-libdecnumber:
21366 maybe-clean-stage2-libdecnumber:
21367 @if libdecnumber-bootstrap
21368 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21369 all-stage2: all-stage2-libdecnumber
21370 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21371 all-stage2-libdecnumber: configure-stage2-libdecnumber
21372 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21373 @r=`${PWD_COMMAND}`; export r; \
21374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21375 TFLAGS="$(STAGE2_TFLAGS)"; \
21376 $(HOST_EXPORTS) \
21377 $(POSTSTAGE1_HOST_EXPORTS) \
21378 cd $(HOST_SUBDIR)/libdecnumber && \
21379 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21380 CFLAGS="$(STAGE2_CFLAGS)" \
21381 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21382 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21386 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21387 TFLAGS="$(STAGE2_TFLAGS)" \
21388 $(TARGET-stage2-libdecnumber)
21390 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21391 clean-stage2: clean-stage2-libdecnumber
21392 clean-stage2-libdecnumber:
21393 @if [ $(current_stage) = stage2 ]; then \
21394 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21395 else \
21396 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21397 $(MAKE) stage2-start; \
21398 fi; \
21399 cd $(HOST_SUBDIR)/libdecnumber && \
21400 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21401 @endif libdecnumber-bootstrap
21404 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21405 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21406 maybe-all-stage3-libdecnumber:
21407 maybe-clean-stage3-libdecnumber:
21408 @if libdecnumber-bootstrap
21409 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21410 all-stage3: all-stage3-libdecnumber
21411 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21412 all-stage3-libdecnumber: configure-stage3-libdecnumber
21413 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21414 @r=`${PWD_COMMAND}`; export r; \
21415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21416 TFLAGS="$(STAGE3_TFLAGS)"; \
21417 $(HOST_EXPORTS) \
21418 $(POSTSTAGE1_HOST_EXPORTS) \
21419 cd $(HOST_SUBDIR)/libdecnumber && \
21420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21421 CFLAGS="$(STAGE3_CFLAGS)" \
21422 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21423 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21427 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21428 TFLAGS="$(STAGE3_TFLAGS)" \
21429 $(TARGET-stage3-libdecnumber)
21431 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21432 clean-stage3: clean-stage3-libdecnumber
21433 clean-stage3-libdecnumber:
21434 @if [ $(current_stage) = stage3 ]; then \
21435 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21436 else \
21437 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21438 $(MAKE) stage3-start; \
21439 fi; \
21440 cd $(HOST_SUBDIR)/libdecnumber && \
21441 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21442 @endif libdecnumber-bootstrap
21445 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21446 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21447 maybe-all-stage4-libdecnumber:
21448 maybe-clean-stage4-libdecnumber:
21449 @if libdecnumber-bootstrap
21450 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21451 all-stage4: all-stage4-libdecnumber
21452 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21453 all-stage4-libdecnumber: configure-stage4-libdecnumber
21454 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21455 @r=`${PWD_COMMAND}`; export r; \
21456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21457 TFLAGS="$(STAGE4_TFLAGS)"; \
21458 $(HOST_EXPORTS) \
21459 $(POSTSTAGE1_HOST_EXPORTS) \
21460 cd $(HOST_SUBDIR)/libdecnumber && \
21461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21462 CFLAGS="$(STAGE4_CFLAGS)" \
21463 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21464 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21468 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21469 TFLAGS="$(STAGE4_TFLAGS)" \
21470 $(TARGET-stage4-libdecnumber)
21472 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21473 clean-stage4: clean-stage4-libdecnumber
21474 clean-stage4-libdecnumber:
21475 @if [ $(current_stage) = stage4 ]; then \
21476 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21477 else \
21478 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21479 $(MAKE) stage4-start; \
21480 fi; \
21481 cd $(HOST_SUBDIR)/libdecnumber && \
21482 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21483 @endif libdecnumber-bootstrap
21486 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21487 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21488 maybe-all-stageprofile-libdecnumber:
21489 maybe-clean-stageprofile-libdecnumber:
21490 @if libdecnumber-bootstrap
21491 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21492 all-stageprofile: all-stageprofile-libdecnumber
21493 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21494 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21495 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21496 @r=`${PWD_COMMAND}`; export r; \
21497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21498 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21499 $(HOST_EXPORTS) \
21500 $(POSTSTAGE1_HOST_EXPORTS) \
21501 cd $(HOST_SUBDIR)/libdecnumber && \
21502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21503 CFLAGS="$(STAGEprofile_CFLAGS)" \
21504 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21505 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21506 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21507 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21508 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21509 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21510 TFLAGS="$(STAGEprofile_TFLAGS)" \
21511 $(TARGET-stageprofile-libdecnumber)
21513 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21514 clean-stageprofile: clean-stageprofile-libdecnumber
21515 clean-stageprofile-libdecnumber:
21516 @if [ $(current_stage) = stageprofile ]; then \
21517 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21518 else \
21519 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21520 $(MAKE) stageprofile-start; \
21521 fi; \
21522 cd $(HOST_SUBDIR)/libdecnumber && \
21523 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21524 @endif libdecnumber-bootstrap
21527 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21528 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21529 maybe-all-stagefeedback-libdecnumber:
21530 maybe-clean-stagefeedback-libdecnumber:
21531 @if libdecnumber-bootstrap
21532 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21533 all-stagefeedback: all-stagefeedback-libdecnumber
21534 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21535 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21536 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21537 @r=`${PWD_COMMAND}`; export r; \
21538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21539 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21540 $(HOST_EXPORTS) \
21541 $(POSTSTAGE1_HOST_EXPORTS) \
21542 cd $(HOST_SUBDIR)/libdecnumber && \
21543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21544 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21545 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21546 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21547 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21548 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21549 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21550 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21551 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21552 $(TARGET-stagefeedback-libdecnumber)
21554 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21555 clean-stagefeedback: clean-stagefeedback-libdecnumber
21556 clean-stagefeedback-libdecnumber:
21557 @if [ $(current_stage) = stagefeedback ]; then \
21558 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21559 else \
21560 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21561 $(MAKE) stagefeedback-start; \
21562 fi; \
21563 cd $(HOST_SUBDIR)/libdecnumber && \
21564 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21565 @endif libdecnumber-bootstrap
21571 .PHONY: check-libdecnumber maybe-check-libdecnumber
21572 maybe-check-libdecnumber:
21573 @if libdecnumber
21574 maybe-check-libdecnumber: check-libdecnumber
21576 check-libdecnumber:
21577 @: $(MAKE); $(unstage)
21578 @r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
21581 (cd $(HOST_SUBDIR)/libdecnumber && \
21582 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
21584 @endif libdecnumber
21586 .PHONY: install-libdecnumber maybe-install-libdecnumber
21587 maybe-install-libdecnumber:
21588 @if libdecnumber
21589 maybe-install-libdecnumber: install-libdecnumber
21591 install-libdecnumber: installdirs
21592 @: $(MAKE); $(unstage)
21593 @r=`${PWD_COMMAND}`; export r; \
21594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21595 $(HOST_EXPORTS) \
21596 (cd $(HOST_SUBDIR)/libdecnumber && \
21597 $(MAKE) $(FLAGS_TO_PASS) install)
21599 @endif libdecnumber
21601 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21602 maybe-install-strip-libdecnumber:
21603 @if libdecnumber
21604 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21606 install-strip-libdecnumber: installdirs
21607 @: $(MAKE); $(unstage)
21608 @r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610 $(HOST_EXPORTS) \
21611 (cd $(HOST_SUBDIR)/libdecnumber && \
21612 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21614 @endif libdecnumber
21616 # Other targets (info, dvi, pdf, etc.)
21618 .PHONY: maybe-info-libdecnumber info-libdecnumber
21619 maybe-info-libdecnumber:
21620 @if libdecnumber
21621 maybe-info-libdecnumber: info-libdecnumber
21623 info-libdecnumber: \
21624 configure-libdecnumber
21625 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21626 r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 $(HOST_EXPORTS) \
21629 for flag in $(EXTRA_HOST_FLAGS) ; do \
21630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21631 done; \
21632 echo "Doing info in libdecnumber"; \
21633 (cd $(HOST_SUBDIR)/libdecnumber && \
21634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21636 "RANLIB=$${RANLIB}" \
21637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21638 info) \
21639 || exit 1
21641 @endif libdecnumber
21643 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21644 maybe-dvi-libdecnumber:
21645 @if libdecnumber
21646 maybe-dvi-libdecnumber: dvi-libdecnumber
21648 dvi-libdecnumber: \
21649 configure-libdecnumber
21650 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21651 r=`${PWD_COMMAND}`; export r; \
21652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21653 $(HOST_EXPORTS) \
21654 for flag in $(EXTRA_HOST_FLAGS) ; do \
21655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21656 done; \
21657 echo "Doing dvi in libdecnumber"; \
21658 (cd $(HOST_SUBDIR)/libdecnumber && \
21659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21661 "RANLIB=$${RANLIB}" \
21662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21663 dvi) \
21664 || exit 1
21666 @endif libdecnumber
21668 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21669 maybe-pdf-libdecnumber:
21670 @if libdecnumber
21671 maybe-pdf-libdecnumber: pdf-libdecnumber
21673 pdf-libdecnumber: \
21674 configure-libdecnumber
21675 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21676 r=`${PWD_COMMAND}`; export r; \
21677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 $(HOST_EXPORTS) \
21679 for flag in $(EXTRA_HOST_FLAGS) ; do \
21680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681 done; \
21682 echo "Doing pdf in libdecnumber"; \
21683 (cd $(HOST_SUBDIR)/libdecnumber && \
21684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21686 "RANLIB=$${RANLIB}" \
21687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21688 pdf) \
21689 || exit 1
21691 @endif libdecnumber
21693 .PHONY: maybe-html-libdecnumber html-libdecnumber
21694 maybe-html-libdecnumber:
21695 @if libdecnumber
21696 maybe-html-libdecnumber: html-libdecnumber
21698 html-libdecnumber: \
21699 configure-libdecnumber
21700 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21701 r=`${PWD_COMMAND}`; export r; \
21702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21703 $(HOST_EXPORTS) \
21704 for flag in $(EXTRA_HOST_FLAGS) ; do \
21705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21706 done; \
21707 echo "Doing html in libdecnumber"; \
21708 (cd $(HOST_SUBDIR)/libdecnumber && \
21709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21711 "RANLIB=$${RANLIB}" \
21712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21713 html) \
21714 || exit 1
21716 @endif libdecnumber
21718 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21719 maybe-TAGS-libdecnumber:
21720 @if libdecnumber
21721 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21723 TAGS-libdecnumber: \
21724 configure-libdecnumber
21725 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21726 r=`${PWD_COMMAND}`; export r; \
21727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728 $(HOST_EXPORTS) \
21729 for flag in $(EXTRA_HOST_FLAGS) ; do \
21730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21731 done; \
21732 echo "Doing TAGS in libdecnumber"; \
21733 (cd $(HOST_SUBDIR)/libdecnumber && \
21734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21736 "RANLIB=$${RANLIB}" \
21737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21738 TAGS) \
21739 || exit 1
21741 @endif libdecnumber
21743 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21744 maybe-install-info-libdecnumber:
21745 @if libdecnumber
21746 maybe-install-info-libdecnumber: install-info-libdecnumber
21748 install-info-libdecnumber: \
21749 configure-libdecnumber \
21750 info-libdecnumber
21751 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21752 r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(HOST_EXPORTS) \
21755 for flag in $(EXTRA_HOST_FLAGS) ; do \
21756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21757 done; \
21758 echo "Doing install-info in libdecnumber"; \
21759 (cd $(HOST_SUBDIR)/libdecnumber && \
21760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21762 "RANLIB=$${RANLIB}" \
21763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21764 install-info) \
21765 || exit 1
21767 @endif libdecnumber
21769 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21770 maybe-install-pdf-libdecnumber:
21771 @if libdecnumber
21772 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21774 install-pdf-libdecnumber: \
21775 configure-libdecnumber \
21776 pdf-libdecnumber
21777 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21778 r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21780 $(HOST_EXPORTS) \
21781 for flag in $(EXTRA_HOST_FLAGS) ; do \
21782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21783 done; \
21784 echo "Doing install-pdf in libdecnumber"; \
21785 (cd $(HOST_SUBDIR)/libdecnumber && \
21786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21788 "RANLIB=$${RANLIB}" \
21789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21790 install-pdf) \
21791 || exit 1
21793 @endif libdecnumber
21795 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21796 maybe-install-html-libdecnumber:
21797 @if libdecnumber
21798 maybe-install-html-libdecnumber: install-html-libdecnumber
21800 install-html-libdecnumber: \
21801 configure-libdecnumber \
21802 html-libdecnumber
21803 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21804 r=`${PWD_COMMAND}`; export r; \
21805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21806 $(HOST_EXPORTS) \
21807 for flag in $(EXTRA_HOST_FLAGS) ; do \
21808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21809 done; \
21810 echo "Doing install-html in libdecnumber"; \
21811 (cd $(HOST_SUBDIR)/libdecnumber && \
21812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21814 "RANLIB=$${RANLIB}" \
21815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21816 install-html) \
21817 || exit 1
21819 @endif libdecnumber
21821 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21822 maybe-installcheck-libdecnumber:
21823 @if libdecnumber
21824 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21826 installcheck-libdecnumber: \
21827 configure-libdecnumber
21828 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21829 r=`${PWD_COMMAND}`; export r; \
21830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21831 $(HOST_EXPORTS) \
21832 for flag in $(EXTRA_HOST_FLAGS) ; do \
21833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21834 done; \
21835 echo "Doing installcheck in libdecnumber"; \
21836 (cd $(HOST_SUBDIR)/libdecnumber && \
21837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21839 "RANLIB=$${RANLIB}" \
21840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21841 installcheck) \
21842 || exit 1
21844 @endif libdecnumber
21846 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21847 maybe-mostlyclean-libdecnumber:
21848 @if libdecnumber
21849 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21851 mostlyclean-libdecnumber:
21852 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(HOST_EXPORTS) \
21856 for flag in $(EXTRA_HOST_FLAGS) ; do \
21857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 done; \
21859 echo "Doing mostlyclean in libdecnumber"; \
21860 (cd $(HOST_SUBDIR)/libdecnumber && \
21861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21863 "RANLIB=$${RANLIB}" \
21864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21865 mostlyclean) \
21866 || exit 1
21868 @endif libdecnumber
21870 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21871 maybe-clean-libdecnumber:
21872 @if libdecnumber
21873 maybe-clean-libdecnumber: clean-libdecnumber
21875 clean-libdecnumber:
21876 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 $(HOST_EXPORTS) \
21880 for flag in $(EXTRA_HOST_FLAGS) ; do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21882 done; \
21883 echo "Doing clean in libdecnumber"; \
21884 (cd $(HOST_SUBDIR)/libdecnumber && \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21889 clean) \
21890 || exit 1
21892 @endif libdecnumber
21894 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21895 maybe-distclean-libdecnumber:
21896 @if libdecnumber
21897 maybe-distclean-libdecnumber: distclean-libdecnumber
21899 distclean-libdecnumber:
21900 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21901 r=`${PWD_COMMAND}`; export r; \
21902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21903 $(HOST_EXPORTS) \
21904 for flag in $(EXTRA_HOST_FLAGS) ; do \
21905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21906 done; \
21907 echo "Doing distclean in libdecnumber"; \
21908 (cd $(HOST_SUBDIR)/libdecnumber && \
21909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21911 "RANLIB=$${RANLIB}" \
21912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21913 distclean) \
21914 || exit 1
21916 @endif libdecnumber
21918 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21919 maybe-maintainer-clean-libdecnumber:
21920 @if libdecnumber
21921 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21923 maintainer-clean-libdecnumber:
21924 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21925 r=`${PWD_COMMAND}`; export r; \
21926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21927 $(HOST_EXPORTS) \
21928 for flag in $(EXTRA_HOST_FLAGS) ; do \
21929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21930 done; \
21931 echo "Doing maintainer-clean in libdecnumber"; \
21932 (cd $(HOST_SUBDIR)/libdecnumber && \
21933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21935 "RANLIB=$${RANLIB}" \
21936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21937 maintainer-clean) \
21938 || exit 1
21940 @endif libdecnumber
21944 .PHONY: configure-libgui maybe-configure-libgui
21945 maybe-configure-libgui:
21946 @if gcc-bootstrap
21947 configure-libgui: stage_current
21948 @endif gcc-bootstrap
21949 @if libgui
21950 maybe-configure-libgui: configure-libgui
21951 configure-libgui:
21952 @: $(MAKE); $(unstage)
21953 @r=`${PWD_COMMAND}`; export r; \
21954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
21957 $(HOST_EXPORTS) \
21958 echo Configuring in $(HOST_SUBDIR)/libgui; \
21959 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21960 case $(srcdir) in \
21961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21962 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21964 esac; \
21965 module_srcdir=libgui; \
21966 $(SHELL) \
21967 $$s/$$module_srcdir/configure \
21968 --srcdir=$${topdir}/$$module_srcdir \
21969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21970 --target=${target_alias} \
21971 || exit 1
21972 @endif libgui
21978 .PHONY: all-libgui maybe-all-libgui
21979 maybe-all-libgui:
21980 @if gcc-bootstrap
21981 all-libgui: stage_current
21982 @endif gcc-bootstrap
21983 @if libgui
21984 TARGET-libgui=all
21985 maybe-all-libgui: all-libgui
21986 all-libgui: configure-libgui
21987 @: $(MAKE); $(unstage)
21988 @r=`${PWD_COMMAND}`; export r; \
21989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21990 $(HOST_EXPORTS) \
21991 (cd $(HOST_SUBDIR)/libgui && \
21992 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21993 $(TARGET-libgui))
21994 @endif libgui
21999 .PHONY: check-libgui maybe-check-libgui
22000 maybe-check-libgui:
22001 @if libgui
22002 maybe-check-libgui: check-libgui
22004 check-libgui:
22005 @: $(MAKE); $(unstage)
22006 @r=`${PWD_COMMAND}`; export r; \
22007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22008 $(HOST_EXPORTS) \
22009 (cd $(HOST_SUBDIR)/libgui && \
22010 $(MAKE) $(FLAGS_TO_PASS) check)
22012 @endif libgui
22014 .PHONY: install-libgui maybe-install-libgui
22015 maybe-install-libgui:
22016 @if libgui
22017 maybe-install-libgui: install-libgui
22019 install-libgui: installdirs
22020 @: $(MAKE); $(unstage)
22021 @r=`${PWD_COMMAND}`; export r; \
22022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22023 $(HOST_EXPORTS) \
22024 (cd $(HOST_SUBDIR)/libgui && \
22025 $(MAKE) $(FLAGS_TO_PASS) install)
22027 @endif libgui
22029 .PHONY: install-strip-libgui maybe-install-strip-libgui
22030 maybe-install-strip-libgui:
22031 @if libgui
22032 maybe-install-strip-libgui: install-strip-libgui
22034 install-strip-libgui: installdirs
22035 @: $(MAKE); $(unstage)
22036 @r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038 $(HOST_EXPORTS) \
22039 (cd $(HOST_SUBDIR)/libgui && \
22040 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22042 @endif libgui
22044 # Other targets (info, dvi, pdf, etc.)
22046 .PHONY: maybe-info-libgui info-libgui
22047 maybe-info-libgui:
22048 @if libgui
22049 maybe-info-libgui: info-libgui
22051 info-libgui: \
22052 configure-libgui
22053 @: $(MAKE); $(unstage)
22054 @[ -f ./libgui/Makefile ] || exit 0; \
22055 r=`${PWD_COMMAND}`; export r; \
22056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22057 $(HOST_EXPORTS) \
22058 for flag in $(EXTRA_HOST_FLAGS) ; do \
22059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22060 done; \
22061 echo "Doing info in libgui"; \
22062 (cd $(HOST_SUBDIR)/libgui && \
22063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22065 "RANLIB=$${RANLIB}" \
22066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22067 info) \
22068 || exit 1
22070 @endif libgui
22072 .PHONY: maybe-dvi-libgui dvi-libgui
22073 maybe-dvi-libgui:
22074 @if libgui
22075 maybe-dvi-libgui: dvi-libgui
22077 dvi-libgui: \
22078 configure-libgui
22079 @: $(MAKE); $(unstage)
22080 @[ -f ./libgui/Makefile ] || exit 0; \
22081 r=`${PWD_COMMAND}`; export r; \
22082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22083 $(HOST_EXPORTS) \
22084 for flag in $(EXTRA_HOST_FLAGS) ; do \
22085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22086 done; \
22087 echo "Doing dvi in libgui"; \
22088 (cd $(HOST_SUBDIR)/libgui && \
22089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22091 "RANLIB=$${RANLIB}" \
22092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22093 dvi) \
22094 || exit 1
22096 @endif libgui
22098 .PHONY: maybe-pdf-libgui pdf-libgui
22099 maybe-pdf-libgui:
22100 @if libgui
22101 maybe-pdf-libgui: pdf-libgui
22103 pdf-libgui: \
22104 configure-libgui
22105 @: $(MAKE); $(unstage)
22106 @[ -f ./libgui/Makefile ] || exit 0; \
22107 r=`${PWD_COMMAND}`; export r; \
22108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22109 $(HOST_EXPORTS) \
22110 for flag in $(EXTRA_HOST_FLAGS) ; do \
22111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22112 done; \
22113 echo "Doing pdf in libgui"; \
22114 (cd $(HOST_SUBDIR)/libgui && \
22115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22117 "RANLIB=$${RANLIB}" \
22118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22119 pdf) \
22120 || exit 1
22122 @endif libgui
22124 .PHONY: maybe-html-libgui html-libgui
22125 maybe-html-libgui:
22126 @if libgui
22127 maybe-html-libgui: html-libgui
22129 html-libgui: \
22130 configure-libgui
22131 @: $(MAKE); $(unstage)
22132 @[ -f ./libgui/Makefile ] || exit 0; \
22133 r=`${PWD_COMMAND}`; export r; \
22134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22135 $(HOST_EXPORTS) \
22136 for flag in $(EXTRA_HOST_FLAGS) ; do \
22137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22138 done; \
22139 echo "Doing html in libgui"; \
22140 (cd $(HOST_SUBDIR)/libgui && \
22141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22143 "RANLIB=$${RANLIB}" \
22144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22145 html) \
22146 || exit 1
22148 @endif libgui
22150 .PHONY: maybe-TAGS-libgui TAGS-libgui
22151 maybe-TAGS-libgui:
22152 @if libgui
22153 maybe-TAGS-libgui: TAGS-libgui
22155 TAGS-libgui: \
22156 configure-libgui
22157 @: $(MAKE); $(unstage)
22158 @[ -f ./libgui/Makefile ] || exit 0; \
22159 r=`${PWD_COMMAND}`; export r; \
22160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22161 $(HOST_EXPORTS) \
22162 for flag in $(EXTRA_HOST_FLAGS) ; do \
22163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22164 done; \
22165 echo "Doing TAGS in libgui"; \
22166 (cd $(HOST_SUBDIR)/libgui && \
22167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22169 "RANLIB=$${RANLIB}" \
22170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22171 TAGS) \
22172 || exit 1
22174 @endif libgui
22176 .PHONY: maybe-install-info-libgui install-info-libgui
22177 maybe-install-info-libgui:
22178 @if libgui
22179 maybe-install-info-libgui: install-info-libgui
22181 install-info-libgui: \
22182 configure-libgui \
22183 info-libgui
22184 @: $(MAKE); $(unstage)
22185 @[ -f ./libgui/Makefile ] || exit 0; \
22186 r=`${PWD_COMMAND}`; export r; \
22187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 $(HOST_EXPORTS) \
22189 for flag in $(EXTRA_HOST_FLAGS) ; do \
22190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22191 done; \
22192 echo "Doing install-info in libgui"; \
22193 (cd $(HOST_SUBDIR)/libgui && \
22194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22196 "RANLIB=$${RANLIB}" \
22197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22198 install-info) \
22199 || exit 1
22201 @endif libgui
22203 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22204 maybe-install-pdf-libgui:
22205 @if libgui
22206 maybe-install-pdf-libgui: install-pdf-libgui
22208 install-pdf-libgui: \
22209 configure-libgui \
22210 pdf-libgui
22211 @: $(MAKE); $(unstage)
22212 @[ -f ./libgui/Makefile ] || exit 0; \
22213 r=`${PWD_COMMAND}`; export r; \
22214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22215 $(HOST_EXPORTS) \
22216 for flag in $(EXTRA_HOST_FLAGS) ; do \
22217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22218 done; \
22219 echo "Doing install-pdf in libgui"; \
22220 (cd $(HOST_SUBDIR)/libgui && \
22221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22223 "RANLIB=$${RANLIB}" \
22224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22225 install-pdf) \
22226 || exit 1
22228 @endif libgui
22230 .PHONY: maybe-install-html-libgui install-html-libgui
22231 maybe-install-html-libgui:
22232 @if libgui
22233 maybe-install-html-libgui: install-html-libgui
22235 install-html-libgui: \
22236 configure-libgui \
22237 html-libgui
22238 @: $(MAKE); $(unstage)
22239 @[ -f ./libgui/Makefile ] || exit 0; \
22240 r=`${PWD_COMMAND}`; export r; \
22241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 $(HOST_EXPORTS) \
22243 for flag in $(EXTRA_HOST_FLAGS) ; do \
22244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22245 done; \
22246 echo "Doing install-html in libgui"; \
22247 (cd $(HOST_SUBDIR)/libgui && \
22248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22250 "RANLIB=$${RANLIB}" \
22251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22252 install-html) \
22253 || exit 1
22255 @endif libgui
22257 .PHONY: maybe-installcheck-libgui installcheck-libgui
22258 maybe-installcheck-libgui:
22259 @if libgui
22260 maybe-installcheck-libgui: installcheck-libgui
22262 installcheck-libgui: \
22263 configure-libgui
22264 @: $(MAKE); $(unstage)
22265 @[ -f ./libgui/Makefile ] || exit 0; \
22266 r=`${PWD_COMMAND}`; export r; \
22267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22268 $(HOST_EXPORTS) \
22269 for flag in $(EXTRA_HOST_FLAGS) ; do \
22270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22271 done; \
22272 echo "Doing installcheck in libgui"; \
22273 (cd $(HOST_SUBDIR)/libgui && \
22274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22276 "RANLIB=$${RANLIB}" \
22277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22278 installcheck) \
22279 || exit 1
22281 @endif libgui
22283 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22284 maybe-mostlyclean-libgui:
22285 @if libgui
22286 maybe-mostlyclean-libgui: mostlyclean-libgui
22288 mostlyclean-libgui:
22289 @: $(MAKE); $(unstage)
22290 @[ -f ./libgui/Makefile ] || exit 0; \
22291 r=`${PWD_COMMAND}`; export r; \
22292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 $(HOST_EXPORTS) \
22294 for flag in $(EXTRA_HOST_FLAGS) ; do \
22295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22296 done; \
22297 echo "Doing mostlyclean in libgui"; \
22298 (cd $(HOST_SUBDIR)/libgui && \
22299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22301 "RANLIB=$${RANLIB}" \
22302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22303 mostlyclean) \
22304 || exit 1
22306 @endif libgui
22308 .PHONY: maybe-clean-libgui clean-libgui
22309 maybe-clean-libgui:
22310 @if libgui
22311 maybe-clean-libgui: clean-libgui
22313 clean-libgui:
22314 @: $(MAKE); $(unstage)
22315 @[ -f ./libgui/Makefile ] || exit 0; \
22316 r=`${PWD_COMMAND}`; export r; \
22317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22318 $(HOST_EXPORTS) \
22319 for flag in $(EXTRA_HOST_FLAGS) ; do \
22320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22321 done; \
22322 echo "Doing clean in libgui"; \
22323 (cd $(HOST_SUBDIR)/libgui && \
22324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22326 "RANLIB=$${RANLIB}" \
22327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22328 clean) \
22329 || exit 1
22331 @endif libgui
22333 .PHONY: maybe-distclean-libgui distclean-libgui
22334 maybe-distclean-libgui:
22335 @if libgui
22336 maybe-distclean-libgui: distclean-libgui
22338 distclean-libgui:
22339 @: $(MAKE); $(unstage)
22340 @[ -f ./libgui/Makefile ] || exit 0; \
22341 r=`${PWD_COMMAND}`; export r; \
22342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22343 $(HOST_EXPORTS) \
22344 for flag in $(EXTRA_HOST_FLAGS) ; do \
22345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22346 done; \
22347 echo "Doing distclean in libgui"; \
22348 (cd $(HOST_SUBDIR)/libgui && \
22349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22351 "RANLIB=$${RANLIB}" \
22352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22353 distclean) \
22354 || exit 1
22356 @endif libgui
22358 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22359 maybe-maintainer-clean-libgui:
22360 @if libgui
22361 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22363 maintainer-clean-libgui:
22364 @: $(MAKE); $(unstage)
22365 @[ -f ./libgui/Makefile ] || exit 0; \
22366 r=`${PWD_COMMAND}`; export r; \
22367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22368 $(HOST_EXPORTS) \
22369 for flag in $(EXTRA_HOST_FLAGS) ; do \
22370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22371 done; \
22372 echo "Doing maintainer-clean in libgui"; \
22373 (cd $(HOST_SUBDIR)/libgui && \
22374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22376 "RANLIB=$${RANLIB}" \
22377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22378 maintainer-clean) \
22379 || exit 1
22381 @endif libgui
22385 .PHONY: configure-libiberty maybe-configure-libiberty
22386 maybe-configure-libiberty:
22387 @if gcc-bootstrap
22388 configure-libiberty: stage_current
22389 @endif gcc-bootstrap
22390 @if libiberty
22391 maybe-configure-libiberty: configure-libiberty
22392 configure-libiberty:
22393 @r=`${PWD_COMMAND}`; export r; \
22394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22396 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22397 $(HOST_EXPORTS) \
22398 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22399 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22400 case $(srcdir) in \
22401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22402 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22404 esac; \
22405 module_srcdir=libiberty; \
22406 $(SHELL) \
22407 $$s/$$module_srcdir/configure \
22408 --srcdir=$${topdir}/$$module_srcdir \
22409 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22410 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
22411 || exit 1
22412 @endif libiberty
22416 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22417 maybe-configure-stage1-libiberty:
22418 @if libiberty-bootstrap
22419 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22420 configure-stage1-libiberty:
22421 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22423 @r=`${PWD_COMMAND}`; export r; \
22424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22425 TFLAGS="$(STAGE1_TFLAGS)"; \
22426 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22427 $(HOST_EXPORTS) \
22428 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22429 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22430 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22431 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
22432 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22433 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22434 case $(srcdir) in \
22435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22436 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22438 esac; \
22439 module_srcdir=libiberty; \
22440 $(SHELL) $$s/$$module_srcdir/configure \
22441 --srcdir=$${topdir}/$$module_srcdir \
22442 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22443 --target=${target_alias} \
22445 $(STAGE1_CONFIGURE_FLAGS) \
22446 @extra_host_libiberty_configure_flags@
22447 @endif libiberty-bootstrap
22449 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22450 maybe-configure-stage2-libiberty:
22451 @if libiberty-bootstrap
22452 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22453 configure-stage2-libiberty:
22454 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22456 @r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 TFLAGS="$(STAGE2_TFLAGS)"; \
22459 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22460 $(HOST_EXPORTS) \
22461 $(POSTSTAGE1_HOST_EXPORTS) \
22462 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22463 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22464 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22465 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
22466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22467 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22468 case $(srcdir) in \
22469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22470 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22472 esac; \
22473 module_srcdir=libiberty; \
22474 $(SHELL) $$s/$$module_srcdir/configure \
22475 --srcdir=$${topdir}/$$module_srcdir \
22476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22477 --target=${target_alias} \
22478 --with-build-libsubdir=$(HOST_SUBDIR) \
22479 $(STAGE2_CONFIGURE_FLAGS) \
22480 @extra_host_libiberty_configure_flags@
22481 @endif libiberty-bootstrap
22483 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22484 maybe-configure-stage3-libiberty:
22485 @if libiberty-bootstrap
22486 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22487 configure-stage3-libiberty:
22488 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22490 @r=`${PWD_COMMAND}`; export r; \
22491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22492 TFLAGS="$(STAGE3_TFLAGS)"; \
22493 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22494 $(HOST_EXPORTS) \
22495 $(POSTSTAGE1_HOST_EXPORTS) \
22496 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22497 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22498 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22499 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
22500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22501 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22502 case $(srcdir) in \
22503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22504 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22506 esac; \
22507 module_srcdir=libiberty; \
22508 $(SHELL) $$s/$$module_srcdir/configure \
22509 --srcdir=$${topdir}/$$module_srcdir \
22510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22511 --target=${target_alias} \
22512 --with-build-libsubdir=$(HOST_SUBDIR) \
22513 $(STAGE3_CONFIGURE_FLAGS) \
22514 @extra_host_libiberty_configure_flags@
22515 @endif libiberty-bootstrap
22517 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22518 maybe-configure-stage4-libiberty:
22519 @if libiberty-bootstrap
22520 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22521 configure-stage4-libiberty:
22522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22524 @r=`${PWD_COMMAND}`; export r; \
22525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22526 TFLAGS="$(STAGE4_TFLAGS)"; \
22527 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22528 $(HOST_EXPORTS) \
22529 $(POSTSTAGE1_HOST_EXPORTS) \
22530 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22531 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22532 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22533 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
22534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22535 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22536 case $(srcdir) in \
22537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22538 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22540 esac; \
22541 module_srcdir=libiberty; \
22542 $(SHELL) $$s/$$module_srcdir/configure \
22543 --srcdir=$${topdir}/$$module_srcdir \
22544 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22545 --target=${target_alias} \
22546 --with-build-libsubdir=$(HOST_SUBDIR) \
22547 $(STAGE4_CONFIGURE_FLAGS) \
22548 @extra_host_libiberty_configure_flags@
22549 @endif libiberty-bootstrap
22551 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22552 maybe-configure-stageprofile-libiberty:
22553 @if libiberty-bootstrap
22554 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22555 configure-stageprofile-libiberty:
22556 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22558 @r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22561 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22562 $(HOST_EXPORTS) \
22563 $(POSTSTAGE1_HOST_EXPORTS) \
22564 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22565 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22566 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22567 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
22568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22569 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22570 case $(srcdir) in \
22571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22572 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22574 esac; \
22575 module_srcdir=libiberty; \
22576 $(SHELL) $$s/$$module_srcdir/configure \
22577 --srcdir=$${topdir}/$$module_srcdir \
22578 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22579 --target=${target_alias} \
22580 --with-build-libsubdir=$(HOST_SUBDIR) \
22581 $(STAGEprofile_CONFIGURE_FLAGS) \
22582 @extra_host_libiberty_configure_flags@
22583 @endif libiberty-bootstrap
22585 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22586 maybe-configure-stagefeedback-libiberty:
22587 @if libiberty-bootstrap
22588 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22589 configure-stagefeedback-libiberty:
22590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22592 @r=`${PWD_COMMAND}`; export r; \
22593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22594 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22595 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22596 $(HOST_EXPORTS) \
22597 $(POSTSTAGE1_HOST_EXPORTS) \
22598 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22601 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
22602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22603 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22604 case $(srcdir) in \
22605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22606 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22608 esac; \
22609 module_srcdir=libiberty; \
22610 $(SHELL) $$s/$$module_srcdir/configure \
22611 --srcdir=$${topdir}/$$module_srcdir \
22612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22613 --target=${target_alias} \
22614 --with-build-libsubdir=$(HOST_SUBDIR) \
22615 $(STAGEfeedback_CONFIGURE_FLAGS) \
22616 @extra_host_libiberty_configure_flags@
22617 @endif libiberty-bootstrap
22623 .PHONY: all-libiberty maybe-all-libiberty
22624 maybe-all-libiberty:
22625 @if gcc-bootstrap
22626 all-libiberty: stage_current
22627 @endif gcc-bootstrap
22628 @if libiberty
22629 TARGET-libiberty=all
22630 maybe-all-libiberty: all-libiberty
22631 all-libiberty: configure-libiberty
22632 @r=`${PWD_COMMAND}`; export r; \
22633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22634 $(HOST_EXPORTS) \
22635 (cd $(HOST_SUBDIR)/libiberty && \
22636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22637 $(TARGET-libiberty))
22638 @endif libiberty
22642 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22643 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22644 maybe-all-stage1-libiberty:
22645 maybe-clean-stage1-libiberty:
22646 @if libiberty-bootstrap
22647 maybe-all-stage1-libiberty: all-stage1-libiberty
22648 all-stage1: all-stage1-libiberty
22649 TARGET-stage1-libiberty = $(TARGET-libiberty)
22650 all-stage1-libiberty: configure-stage1-libiberty
22651 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22652 @r=`${PWD_COMMAND}`; export r; \
22653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22654 TFLAGS="$(STAGE1_TFLAGS)"; \
22655 $(HOST_EXPORTS) \
22656 cd $(HOST_SUBDIR)/libiberty && \
22657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22658 CFLAGS="$(STAGE1_CFLAGS)" \
22659 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22660 LIBCFLAGS="$(LIBCFLAGS)" \
22661 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22662 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22663 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22664 $(EXTRA_HOST_FLAGS) \
22665 $(STAGE1_FLAGS_TO_PASS) \
22666 TFLAGS="$(STAGE1_TFLAGS)" \
22667 $(TARGET-stage1-libiberty)
22669 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22670 clean-stage1: clean-stage1-libiberty
22671 clean-stage1-libiberty:
22672 @if [ $(current_stage) = stage1 ]; then \
22673 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22674 else \
22675 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22676 $(MAKE) stage1-start; \
22677 fi; \
22678 cd $(HOST_SUBDIR)/libiberty && \
22679 $(MAKE) $(EXTRA_HOST_FLAGS) \
22680 $(STAGE1_FLAGS_TO_PASS) clean
22681 @endif libiberty-bootstrap
22684 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22685 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22686 maybe-all-stage2-libiberty:
22687 maybe-clean-stage2-libiberty:
22688 @if libiberty-bootstrap
22689 maybe-all-stage2-libiberty: all-stage2-libiberty
22690 all-stage2: all-stage2-libiberty
22691 TARGET-stage2-libiberty = $(TARGET-libiberty)
22692 all-stage2-libiberty: configure-stage2-libiberty
22693 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22694 @r=`${PWD_COMMAND}`; export r; \
22695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22696 TFLAGS="$(STAGE2_TFLAGS)"; \
22697 $(HOST_EXPORTS) \
22698 $(POSTSTAGE1_HOST_EXPORTS) \
22699 cd $(HOST_SUBDIR)/libiberty && \
22700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22701 CFLAGS="$(STAGE2_CFLAGS)" \
22702 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22703 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22708 TFLAGS="$(STAGE2_TFLAGS)" \
22709 $(TARGET-stage2-libiberty)
22711 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22712 clean-stage2: clean-stage2-libiberty
22713 clean-stage2-libiberty:
22714 @if [ $(current_stage) = stage2 ]; then \
22715 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22716 else \
22717 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22718 $(MAKE) stage2-start; \
22719 fi; \
22720 cd $(HOST_SUBDIR)/libiberty && \
22721 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22722 @endif libiberty-bootstrap
22725 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22726 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22727 maybe-all-stage3-libiberty:
22728 maybe-clean-stage3-libiberty:
22729 @if libiberty-bootstrap
22730 maybe-all-stage3-libiberty: all-stage3-libiberty
22731 all-stage3: all-stage3-libiberty
22732 TARGET-stage3-libiberty = $(TARGET-libiberty)
22733 all-stage3-libiberty: configure-stage3-libiberty
22734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22735 @r=`${PWD_COMMAND}`; export r; \
22736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22737 TFLAGS="$(STAGE3_TFLAGS)"; \
22738 $(HOST_EXPORTS) \
22739 $(POSTSTAGE1_HOST_EXPORTS) \
22740 cd $(HOST_SUBDIR)/libiberty && \
22741 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22742 CFLAGS="$(STAGE3_CFLAGS)" \
22743 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22744 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22745 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22746 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22747 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22748 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22749 TFLAGS="$(STAGE3_TFLAGS)" \
22750 $(TARGET-stage3-libiberty)
22752 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22753 clean-stage3: clean-stage3-libiberty
22754 clean-stage3-libiberty:
22755 @if [ $(current_stage) = stage3 ]; then \
22756 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22757 else \
22758 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22759 $(MAKE) stage3-start; \
22760 fi; \
22761 cd $(HOST_SUBDIR)/libiberty && \
22762 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22763 @endif libiberty-bootstrap
22766 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22767 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22768 maybe-all-stage4-libiberty:
22769 maybe-clean-stage4-libiberty:
22770 @if libiberty-bootstrap
22771 maybe-all-stage4-libiberty: all-stage4-libiberty
22772 all-stage4: all-stage4-libiberty
22773 TARGET-stage4-libiberty = $(TARGET-libiberty)
22774 all-stage4-libiberty: configure-stage4-libiberty
22775 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22776 @r=`${PWD_COMMAND}`; export r; \
22777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22778 TFLAGS="$(STAGE4_TFLAGS)"; \
22779 $(HOST_EXPORTS) \
22780 $(POSTSTAGE1_HOST_EXPORTS) \
22781 cd $(HOST_SUBDIR)/libiberty && \
22782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22783 CFLAGS="$(STAGE4_CFLAGS)" \
22784 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22785 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22789 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22790 TFLAGS="$(STAGE4_TFLAGS)" \
22791 $(TARGET-stage4-libiberty)
22793 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22794 clean-stage4: clean-stage4-libiberty
22795 clean-stage4-libiberty:
22796 @if [ $(current_stage) = stage4 ]; then \
22797 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22798 else \
22799 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22800 $(MAKE) stage4-start; \
22801 fi; \
22802 cd $(HOST_SUBDIR)/libiberty && \
22803 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22804 @endif libiberty-bootstrap
22807 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22808 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22809 maybe-all-stageprofile-libiberty:
22810 maybe-clean-stageprofile-libiberty:
22811 @if libiberty-bootstrap
22812 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22813 all-stageprofile: all-stageprofile-libiberty
22814 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22815 all-stageprofile-libiberty: configure-stageprofile-libiberty
22816 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22817 @r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22819 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22820 $(HOST_EXPORTS) \
22821 $(POSTSTAGE1_HOST_EXPORTS) \
22822 cd $(HOST_SUBDIR)/libiberty && \
22823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22824 CFLAGS="$(STAGEprofile_CFLAGS)" \
22825 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22826 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22831 TFLAGS="$(STAGEprofile_TFLAGS)" \
22832 $(TARGET-stageprofile-libiberty)
22834 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22835 clean-stageprofile: clean-stageprofile-libiberty
22836 clean-stageprofile-libiberty:
22837 @if [ $(current_stage) = stageprofile ]; then \
22838 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22839 else \
22840 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22841 $(MAKE) stageprofile-start; \
22842 fi; \
22843 cd $(HOST_SUBDIR)/libiberty && \
22844 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22845 @endif libiberty-bootstrap
22848 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22849 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22850 maybe-all-stagefeedback-libiberty:
22851 maybe-clean-stagefeedback-libiberty:
22852 @if libiberty-bootstrap
22853 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22854 all-stagefeedback: all-stagefeedback-libiberty
22855 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22856 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22857 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22858 @r=`${PWD_COMMAND}`; export r; \
22859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22860 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22861 $(HOST_EXPORTS) \
22862 $(POSTSTAGE1_HOST_EXPORTS) \
22863 cd $(HOST_SUBDIR)/libiberty && \
22864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22865 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22866 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22867 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22872 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22873 $(TARGET-stagefeedback-libiberty)
22875 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22876 clean-stagefeedback: clean-stagefeedback-libiberty
22877 clean-stagefeedback-libiberty:
22878 @if [ $(current_stage) = stagefeedback ]; then \
22879 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22880 else \
22881 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22882 $(MAKE) stagefeedback-start; \
22883 fi; \
22884 cd $(HOST_SUBDIR)/libiberty && \
22885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22886 @endif libiberty-bootstrap
22892 .PHONY: check-libiberty maybe-check-libiberty
22893 maybe-check-libiberty:
22894 @if libiberty
22895 maybe-check-libiberty: check-libiberty
22897 check-libiberty:
22898 @: $(MAKE); $(unstage)
22899 @r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22902 (cd $(HOST_SUBDIR)/libiberty && \
22903 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22905 @endif libiberty
22907 .PHONY: install-libiberty maybe-install-libiberty
22908 maybe-install-libiberty:
22909 @if libiberty
22910 maybe-install-libiberty: install-libiberty
22912 install-libiberty: installdirs
22913 @: $(MAKE); $(unstage)
22914 @r=`${PWD_COMMAND}`; export r; \
22915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22916 $(HOST_EXPORTS) \
22917 (cd $(HOST_SUBDIR)/libiberty && \
22918 $(MAKE) $(FLAGS_TO_PASS) install)
22920 @endif libiberty
22922 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22923 maybe-install-strip-libiberty:
22924 @if libiberty
22925 maybe-install-strip-libiberty: install-strip-libiberty
22927 install-strip-libiberty: installdirs
22928 @: $(MAKE); $(unstage)
22929 @r=`${PWD_COMMAND}`; export r; \
22930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22931 $(HOST_EXPORTS) \
22932 (cd $(HOST_SUBDIR)/libiberty && \
22933 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22935 @endif libiberty
22937 # Other targets (info, dvi, pdf, etc.)
22939 .PHONY: maybe-info-libiberty info-libiberty
22940 maybe-info-libiberty:
22941 @if libiberty
22942 maybe-info-libiberty: info-libiberty
22944 info-libiberty: \
22945 configure-libiberty
22946 @[ -f ./libiberty/Makefile ] || exit 0; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 $(HOST_EXPORTS) \
22950 for flag in $(EXTRA_HOST_FLAGS) ; do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952 done; \
22953 echo "Doing info in libiberty"; \
22954 (cd $(HOST_SUBDIR)/libiberty && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22957 "RANLIB=$${RANLIB}" \
22958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22959 info) \
22960 || exit 1
22962 @endif libiberty
22964 .PHONY: maybe-dvi-libiberty dvi-libiberty
22965 maybe-dvi-libiberty:
22966 @if libiberty
22967 maybe-dvi-libiberty: dvi-libiberty
22969 dvi-libiberty: \
22970 configure-libiberty
22971 @[ -f ./libiberty/Makefile ] || exit 0; \
22972 r=`${PWD_COMMAND}`; export r; \
22973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 $(HOST_EXPORTS) \
22975 for flag in $(EXTRA_HOST_FLAGS) ; do \
22976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22977 done; \
22978 echo "Doing dvi in libiberty"; \
22979 (cd $(HOST_SUBDIR)/libiberty && \
22980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22982 "RANLIB=$${RANLIB}" \
22983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22984 dvi) \
22985 || exit 1
22987 @endif libiberty
22989 .PHONY: maybe-pdf-libiberty pdf-libiberty
22990 maybe-pdf-libiberty:
22991 @if libiberty
22992 maybe-pdf-libiberty: pdf-libiberty
22994 pdf-libiberty: \
22995 configure-libiberty
22996 @[ -f ./libiberty/Makefile ] || exit 0; \
22997 r=`${PWD_COMMAND}`; export r; \
22998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 $(HOST_EXPORTS) \
23000 for flag in $(EXTRA_HOST_FLAGS) ; do \
23001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23002 done; \
23003 echo "Doing pdf in libiberty"; \
23004 (cd $(HOST_SUBDIR)/libiberty && \
23005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23007 "RANLIB=$${RANLIB}" \
23008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23009 pdf) \
23010 || exit 1
23012 @endif libiberty
23014 .PHONY: maybe-html-libiberty html-libiberty
23015 maybe-html-libiberty:
23016 @if libiberty
23017 maybe-html-libiberty: html-libiberty
23019 html-libiberty: \
23020 configure-libiberty
23021 @[ -f ./libiberty/Makefile ] || exit 0; \
23022 r=`${PWD_COMMAND}`; export r; \
23023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23024 $(HOST_EXPORTS) \
23025 for flag in $(EXTRA_HOST_FLAGS) ; do \
23026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23027 done; \
23028 echo "Doing html in libiberty"; \
23029 (cd $(HOST_SUBDIR)/libiberty && \
23030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23032 "RANLIB=$${RANLIB}" \
23033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23034 html) \
23035 || exit 1
23037 @endif libiberty
23039 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23040 maybe-TAGS-libiberty:
23041 @if libiberty
23042 maybe-TAGS-libiberty: TAGS-libiberty
23044 TAGS-libiberty: \
23045 configure-libiberty
23046 @[ -f ./libiberty/Makefile ] || exit 0; \
23047 r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 $(HOST_EXPORTS) \
23050 for flag in $(EXTRA_HOST_FLAGS) ; do \
23051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23052 done; \
23053 echo "Doing TAGS in libiberty"; \
23054 (cd $(HOST_SUBDIR)/libiberty && \
23055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23057 "RANLIB=$${RANLIB}" \
23058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23059 TAGS) \
23060 || exit 1
23062 @endif libiberty
23064 .PHONY: maybe-install-info-libiberty install-info-libiberty
23065 maybe-install-info-libiberty:
23066 @if libiberty
23067 maybe-install-info-libiberty: install-info-libiberty
23069 install-info-libiberty: \
23070 configure-libiberty \
23071 info-libiberty
23072 @[ -f ./libiberty/Makefile ] || exit 0; \
23073 r=`${PWD_COMMAND}`; export r; \
23074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23075 $(HOST_EXPORTS) \
23076 for flag in $(EXTRA_HOST_FLAGS) ; do \
23077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23078 done; \
23079 echo "Doing install-info in libiberty"; \
23080 (cd $(HOST_SUBDIR)/libiberty && \
23081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23083 "RANLIB=$${RANLIB}" \
23084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23085 install-info) \
23086 || exit 1
23088 @endif libiberty
23090 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23091 maybe-install-pdf-libiberty:
23092 @if libiberty
23093 maybe-install-pdf-libiberty: install-pdf-libiberty
23095 install-pdf-libiberty: \
23096 configure-libiberty \
23097 pdf-libiberty
23098 @[ -f ./libiberty/Makefile ] || exit 0; \
23099 r=`${PWD_COMMAND}`; export r; \
23100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23101 $(HOST_EXPORTS) \
23102 for flag in $(EXTRA_HOST_FLAGS) ; do \
23103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23104 done; \
23105 echo "Doing install-pdf in libiberty"; \
23106 (cd $(HOST_SUBDIR)/libiberty && \
23107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23109 "RANLIB=$${RANLIB}" \
23110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23111 install-pdf) \
23112 || exit 1
23114 @endif libiberty
23116 .PHONY: maybe-install-html-libiberty install-html-libiberty
23117 maybe-install-html-libiberty:
23118 @if libiberty
23119 maybe-install-html-libiberty: install-html-libiberty
23121 install-html-libiberty: \
23122 configure-libiberty \
23123 html-libiberty
23124 @[ -f ./libiberty/Makefile ] || exit 0; \
23125 r=`${PWD_COMMAND}`; export r; \
23126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23127 $(HOST_EXPORTS) \
23128 for flag in $(EXTRA_HOST_FLAGS) ; do \
23129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23130 done; \
23131 echo "Doing install-html in libiberty"; \
23132 (cd $(HOST_SUBDIR)/libiberty && \
23133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23135 "RANLIB=$${RANLIB}" \
23136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23137 install-html) \
23138 || exit 1
23140 @endif libiberty
23142 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23143 maybe-installcheck-libiberty:
23144 @if libiberty
23145 maybe-installcheck-libiberty: installcheck-libiberty
23147 installcheck-libiberty: \
23148 configure-libiberty
23149 @[ -f ./libiberty/Makefile ] || exit 0; \
23150 r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152 $(HOST_EXPORTS) \
23153 for flag in $(EXTRA_HOST_FLAGS) ; do \
23154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23155 done; \
23156 echo "Doing installcheck in libiberty"; \
23157 (cd $(HOST_SUBDIR)/libiberty && \
23158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23160 "RANLIB=$${RANLIB}" \
23161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23162 installcheck) \
23163 || exit 1
23165 @endif libiberty
23167 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23168 maybe-mostlyclean-libiberty:
23169 @if libiberty
23170 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23172 mostlyclean-libiberty:
23173 @[ -f ./libiberty/Makefile ] || exit 0; \
23174 r=`${PWD_COMMAND}`; export r; \
23175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23176 $(HOST_EXPORTS) \
23177 for flag in $(EXTRA_HOST_FLAGS) ; do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179 done; \
23180 echo "Doing mostlyclean in libiberty"; \
23181 (cd $(HOST_SUBDIR)/libiberty && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23186 mostlyclean) \
23187 || exit 1
23189 @endif libiberty
23191 .PHONY: maybe-clean-libiberty clean-libiberty
23192 maybe-clean-libiberty:
23193 @if libiberty
23194 maybe-clean-libiberty: clean-libiberty
23196 clean-libiberty:
23197 @[ -f ./libiberty/Makefile ] || exit 0; \
23198 r=`${PWD_COMMAND}`; export r; \
23199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23200 $(HOST_EXPORTS) \
23201 for flag in $(EXTRA_HOST_FLAGS) ; do \
23202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23203 done; \
23204 echo "Doing clean in libiberty"; \
23205 (cd $(HOST_SUBDIR)/libiberty && \
23206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23208 "RANLIB=$${RANLIB}" \
23209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23210 clean) \
23211 || exit 1
23213 @endif libiberty
23215 .PHONY: maybe-distclean-libiberty distclean-libiberty
23216 maybe-distclean-libiberty:
23217 @if libiberty
23218 maybe-distclean-libiberty: distclean-libiberty
23220 distclean-libiberty:
23221 @[ -f ./libiberty/Makefile ] || exit 0; \
23222 r=`${PWD_COMMAND}`; export r; \
23223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23224 $(HOST_EXPORTS) \
23225 for flag in $(EXTRA_HOST_FLAGS) ; do \
23226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23227 done; \
23228 echo "Doing distclean in libiberty"; \
23229 (cd $(HOST_SUBDIR)/libiberty && \
23230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23232 "RANLIB=$${RANLIB}" \
23233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23234 distclean) \
23235 || exit 1
23237 @endif libiberty
23239 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23240 maybe-maintainer-clean-libiberty:
23241 @if libiberty
23242 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23244 maintainer-clean-libiberty:
23245 @[ -f ./libiberty/Makefile ] || exit 0; \
23246 r=`${PWD_COMMAND}`; export r; \
23247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23248 $(HOST_EXPORTS) \
23249 for flag in $(EXTRA_HOST_FLAGS) ; do \
23250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23251 done; \
23252 echo "Doing maintainer-clean in libiberty"; \
23253 (cd $(HOST_SUBDIR)/libiberty && \
23254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23256 "RANLIB=$${RANLIB}" \
23257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23258 maintainer-clean) \
23259 || exit 1
23261 @endif libiberty
23265 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23266 maybe-configure-libiberty-linker-plugin:
23267 @if gcc-bootstrap
23268 configure-libiberty-linker-plugin: stage_current
23269 @endif gcc-bootstrap
23270 @if libiberty-linker-plugin
23271 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23272 configure-libiberty-linker-plugin:
23273 @r=`${PWD_COMMAND}`; export r; \
23274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23275 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23277 $(HOST_EXPORTS) \
23278 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23279 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23280 case $(srcdir) in \
23281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23282 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23284 esac; \
23285 module_srcdir=libiberty; \
23286 $(SHELL) \
23287 $$s/$$module_srcdir/configure \
23288 --srcdir=$${topdir}/$$module_srcdir \
23289 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23290 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
23291 || exit 1
23292 @endif libiberty-linker-plugin
23296 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
23297 maybe-configure-stage1-libiberty-linker-plugin:
23298 @if libiberty-linker-plugin-bootstrap
23299 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23300 configure-stage1-libiberty-linker-plugin:
23301 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23303 @r=`${PWD_COMMAND}`; export r; \
23304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23305 TFLAGS="$(STAGE1_TFLAGS)"; \
23306 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23307 $(HOST_EXPORTS) \
23308 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23309 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23310 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23311 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23313 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23314 case $(srcdir) in \
23315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23316 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23318 esac; \
23319 module_srcdir=libiberty; \
23320 $(SHELL) $$s/$$module_srcdir/configure \
23321 --srcdir=$${topdir}/$$module_srcdir \
23322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23323 --target=${target_alias} \
23325 $(STAGE1_CONFIGURE_FLAGS) \
23326 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23327 @endif libiberty-linker-plugin-bootstrap
23329 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
23330 maybe-configure-stage2-libiberty-linker-plugin:
23331 @if libiberty-linker-plugin-bootstrap
23332 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23333 configure-stage2-libiberty-linker-plugin:
23334 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23335 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23336 @r=`${PWD_COMMAND}`; export r; \
23337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23338 TFLAGS="$(STAGE2_TFLAGS)"; \
23339 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23340 $(HOST_EXPORTS) \
23341 $(POSTSTAGE1_HOST_EXPORTS) \
23342 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23343 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23344 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23345 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23347 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23348 case $(srcdir) in \
23349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23350 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23352 esac; \
23353 module_srcdir=libiberty; \
23354 $(SHELL) $$s/$$module_srcdir/configure \
23355 --srcdir=$${topdir}/$$module_srcdir \
23356 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23357 --target=${target_alias} \
23358 --with-build-libsubdir=$(HOST_SUBDIR) \
23359 $(STAGE2_CONFIGURE_FLAGS) \
23360 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23361 @endif libiberty-linker-plugin-bootstrap
23363 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
23364 maybe-configure-stage3-libiberty-linker-plugin:
23365 @if libiberty-linker-plugin-bootstrap
23366 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23367 configure-stage3-libiberty-linker-plugin:
23368 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23370 @r=`${PWD_COMMAND}`; export r; \
23371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23372 TFLAGS="$(STAGE3_TFLAGS)"; \
23373 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23374 $(HOST_EXPORTS) \
23375 $(POSTSTAGE1_HOST_EXPORTS) \
23376 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23377 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23378 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23379 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23381 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23382 case $(srcdir) in \
23383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23384 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23386 esac; \
23387 module_srcdir=libiberty; \
23388 $(SHELL) $$s/$$module_srcdir/configure \
23389 --srcdir=$${topdir}/$$module_srcdir \
23390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23391 --target=${target_alias} \
23392 --with-build-libsubdir=$(HOST_SUBDIR) \
23393 $(STAGE3_CONFIGURE_FLAGS) \
23394 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23395 @endif libiberty-linker-plugin-bootstrap
23397 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
23398 maybe-configure-stage4-libiberty-linker-plugin:
23399 @if libiberty-linker-plugin-bootstrap
23400 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23401 configure-stage4-libiberty-linker-plugin:
23402 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23404 @r=`${PWD_COMMAND}`; export r; \
23405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23406 TFLAGS="$(STAGE4_TFLAGS)"; \
23407 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23408 $(HOST_EXPORTS) \
23409 $(POSTSTAGE1_HOST_EXPORTS) \
23410 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23411 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23412 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23413 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23415 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23416 case $(srcdir) in \
23417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23418 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23420 esac; \
23421 module_srcdir=libiberty; \
23422 $(SHELL) $$s/$$module_srcdir/configure \
23423 --srcdir=$${topdir}/$$module_srcdir \
23424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23425 --target=${target_alias} \
23426 --with-build-libsubdir=$(HOST_SUBDIR) \
23427 $(STAGE4_CONFIGURE_FLAGS) \
23428 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23429 @endif libiberty-linker-plugin-bootstrap
23431 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
23432 maybe-configure-stageprofile-libiberty-linker-plugin:
23433 @if libiberty-linker-plugin-bootstrap
23434 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23435 configure-stageprofile-libiberty-linker-plugin:
23436 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23438 @r=`${PWD_COMMAND}`; export r; \
23439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23440 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23441 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23442 $(HOST_EXPORTS) \
23443 $(POSTSTAGE1_HOST_EXPORTS) \
23444 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23445 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23446 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23447 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23449 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23450 case $(srcdir) in \
23451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23452 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23454 esac; \
23455 module_srcdir=libiberty; \
23456 $(SHELL) $$s/$$module_srcdir/configure \
23457 --srcdir=$${topdir}/$$module_srcdir \
23458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23459 --target=${target_alias} \
23460 --with-build-libsubdir=$(HOST_SUBDIR) \
23461 $(STAGEprofile_CONFIGURE_FLAGS) \
23462 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23463 @endif libiberty-linker-plugin-bootstrap
23465 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
23466 maybe-configure-stagefeedback-libiberty-linker-plugin:
23467 @if libiberty-linker-plugin-bootstrap
23468 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23469 configure-stagefeedback-libiberty-linker-plugin:
23470 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23472 @r=`${PWD_COMMAND}`; export r; \
23473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23474 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23475 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23476 $(HOST_EXPORTS) \
23477 $(POSTSTAGE1_HOST_EXPORTS) \
23478 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23479 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23480 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23481 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23483 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23484 case $(srcdir) in \
23485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23486 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23488 esac; \
23489 module_srcdir=libiberty; \
23490 $(SHELL) $$s/$$module_srcdir/configure \
23491 --srcdir=$${topdir}/$$module_srcdir \
23492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23493 --target=${target_alias} \
23494 --with-build-libsubdir=$(HOST_SUBDIR) \
23495 $(STAGEfeedback_CONFIGURE_FLAGS) \
23496 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23497 @endif libiberty-linker-plugin-bootstrap
23503 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
23504 maybe-all-libiberty-linker-plugin:
23505 @if gcc-bootstrap
23506 all-libiberty-linker-plugin: stage_current
23507 @endif gcc-bootstrap
23508 @if libiberty-linker-plugin
23509 TARGET-libiberty-linker-plugin=all
23510 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
23511 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
23512 @r=`${PWD_COMMAND}`; export r; \
23513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23514 $(HOST_EXPORTS) \
23515 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23516 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23517 $(TARGET-libiberty-linker-plugin))
23518 @endif libiberty-linker-plugin
23522 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
23523 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
23524 maybe-all-stage1-libiberty-linker-plugin:
23525 maybe-clean-stage1-libiberty-linker-plugin:
23526 @if libiberty-linker-plugin-bootstrap
23527 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
23528 all-stage1: all-stage1-libiberty-linker-plugin
23529 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23530 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23531 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23532 @r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534 TFLAGS="$(STAGE1_TFLAGS)"; \
23535 $(HOST_EXPORTS) \
23536 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23538 CFLAGS="$(STAGE1_CFLAGS)" \
23539 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23540 LIBCFLAGS="$(LIBCFLAGS)" \
23541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23544 $(EXTRA_HOST_FLAGS) \
23545 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23546 TFLAGS="$(STAGE1_TFLAGS)" \
23547 $(TARGET-stage1-libiberty-linker-plugin)
23549 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
23550 clean-stage1: clean-stage1-libiberty-linker-plugin
23551 clean-stage1-libiberty-linker-plugin:
23552 @if [ $(current_stage) = stage1 ]; then \
23553 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23554 else \
23555 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
23556 $(MAKE) stage1-start; \
23557 fi; \
23558 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23559 $(MAKE) $(EXTRA_HOST_FLAGS) \
23560 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23561 @endif libiberty-linker-plugin-bootstrap
23564 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
23565 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
23566 maybe-all-stage2-libiberty-linker-plugin:
23567 maybe-clean-stage2-libiberty-linker-plugin:
23568 @if libiberty-linker-plugin-bootstrap
23569 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
23570 all-stage2: all-stage2-libiberty-linker-plugin
23571 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23572 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23573 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23574 @r=`${PWD_COMMAND}`; export r; \
23575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23576 TFLAGS="$(STAGE2_TFLAGS)"; \
23577 $(HOST_EXPORTS) \
23578 $(POSTSTAGE1_HOST_EXPORTS) \
23579 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23580 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23581 CFLAGS="$(STAGE2_CFLAGS)" \
23582 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23583 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23584 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23585 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23586 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23587 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23588 TFLAGS="$(STAGE2_TFLAGS)" \
23589 $(TARGET-stage2-libiberty-linker-plugin)
23591 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
23592 clean-stage2: clean-stage2-libiberty-linker-plugin
23593 clean-stage2-libiberty-linker-plugin:
23594 @if [ $(current_stage) = stage2 ]; then \
23595 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23596 else \
23597 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
23598 $(MAKE) stage2-start; \
23599 fi; \
23600 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23601 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23602 @endif libiberty-linker-plugin-bootstrap
23605 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
23606 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
23607 maybe-all-stage3-libiberty-linker-plugin:
23608 maybe-clean-stage3-libiberty-linker-plugin:
23609 @if libiberty-linker-plugin-bootstrap
23610 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
23611 all-stage3: all-stage3-libiberty-linker-plugin
23612 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23613 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23614 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23615 @r=`${PWD_COMMAND}`; export r; \
23616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23617 TFLAGS="$(STAGE3_TFLAGS)"; \
23618 $(HOST_EXPORTS) \
23619 $(POSTSTAGE1_HOST_EXPORTS) \
23620 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23621 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23622 CFLAGS="$(STAGE3_CFLAGS)" \
23623 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23624 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23625 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23626 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23627 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23628 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23629 TFLAGS="$(STAGE3_TFLAGS)" \
23630 $(TARGET-stage3-libiberty-linker-plugin)
23632 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
23633 clean-stage3: clean-stage3-libiberty-linker-plugin
23634 clean-stage3-libiberty-linker-plugin:
23635 @if [ $(current_stage) = stage3 ]; then \
23636 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23637 else \
23638 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
23639 $(MAKE) stage3-start; \
23640 fi; \
23641 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23642 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23643 @endif libiberty-linker-plugin-bootstrap
23646 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
23647 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
23648 maybe-all-stage4-libiberty-linker-plugin:
23649 maybe-clean-stage4-libiberty-linker-plugin:
23650 @if libiberty-linker-plugin-bootstrap
23651 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
23652 all-stage4: all-stage4-libiberty-linker-plugin
23653 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23654 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23655 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23656 @r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 TFLAGS="$(STAGE4_TFLAGS)"; \
23659 $(HOST_EXPORTS) \
23660 $(POSTSTAGE1_HOST_EXPORTS) \
23661 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23663 CFLAGS="$(STAGE4_CFLAGS)" \
23664 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23665 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23670 TFLAGS="$(STAGE4_TFLAGS)" \
23671 $(TARGET-stage4-libiberty-linker-plugin)
23673 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
23674 clean-stage4: clean-stage4-libiberty-linker-plugin
23675 clean-stage4-libiberty-linker-plugin:
23676 @if [ $(current_stage) = stage4 ]; then \
23677 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23678 else \
23679 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
23680 $(MAKE) stage4-start; \
23681 fi; \
23682 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23683 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23684 @endif libiberty-linker-plugin-bootstrap
23687 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
23688 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
23689 maybe-all-stageprofile-libiberty-linker-plugin:
23690 maybe-clean-stageprofile-libiberty-linker-plugin:
23691 @if libiberty-linker-plugin-bootstrap
23692 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
23693 all-stageprofile: all-stageprofile-libiberty-linker-plugin
23694 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23695 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23696 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23697 @r=`${PWD_COMMAND}`; export r; \
23698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23699 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23700 $(HOST_EXPORTS) \
23701 $(POSTSTAGE1_HOST_EXPORTS) \
23702 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23704 CFLAGS="$(STAGEprofile_CFLAGS)" \
23705 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23706 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23710 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23711 TFLAGS="$(STAGEprofile_TFLAGS)" \
23712 $(TARGET-stageprofile-libiberty-linker-plugin)
23714 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
23715 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
23716 clean-stageprofile-libiberty-linker-plugin:
23717 @if [ $(current_stage) = stageprofile ]; then \
23718 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23719 else \
23720 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
23721 $(MAKE) stageprofile-start; \
23722 fi; \
23723 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23724 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23725 @endif libiberty-linker-plugin-bootstrap
23728 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
23729 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
23730 maybe-all-stagefeedback-libiberty-linker-plugin:
23731 maybe-clean-stagefeedback-libiberty-linker-plugin:
23732 @if libiberty-linker-plugin-bootstrap
23733 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
23734 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
23735 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23736 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23737 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23738 @r=`${PWD_COMMAND}`; export r; \
23739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23740 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23741 $(HOST_EXPORTS) \
23742 $(POSTSTAGE1_HOST_EXPORTS) \
23743 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23744 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23745 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23746 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23747 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23751 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23752 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23753 $(TARGET-stagefeedback-libiberty-linker-plugin)
23755 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
23756 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
23757 clean-stagefeedback-libiberty-linker-plugin:
23758 @if [ $(current_stage) = stagefeedback ]; then \
23759 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23760 else \
23761 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
23762 $(MAKE) stagefeedback-start; \
23763 fi; \
23764 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23765 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23766 @endif libiberty-linker-plugin-bootstrap
23772 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
23773 maybe-check-libiberty-linker-plugin:
23774 @if libiberty-linker-plugin
23775 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
23777 check-libiberty-linker-plugin:
23778 @: $(MAKE); $(unstage)
23779 @r=`${PWD_COMMAND}`; export r; \
23780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23781 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23782 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23783 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
23785 @endif libiberty-linker-plugin
23787 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
23788 maybe-install-libiberty-linker-plugin:
23789 @if libiberty-linker-plugin
23790 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
23792 install-libiberty-linker-plugin: installdirs
23793 @: $(MAKE); $(unstage)
23794 @r=`${PWD_COMMAND}`; export r; \
23795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 $(HOST_EXPORTS) \
23797 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23798 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
23800 @endif libiberty-linker-plugin
23802 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
23803 maybe-install-strip-libiberty-linker-plugin:
23804 @if libiberty-linker-plugin
23805 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
23807 install-strip-libiberty-linker-plugin: installdirs
23808 @: $(MAKE); $(unstage)
23809 @r=`${PWD_COMMAND}`; export r; \
23810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23811 $(HOST_EXPORTS) \
23812 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23813 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
23815 @endif libiberty-linker-plugin
23817 # Other targets (info, dvi, pdf, etc.)
23819 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
23820 maybe-info-libiberty-linker-plugin:
23821 @if libiberty-linker-plugin
23822 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
23824 info-libiberty-linker-plugin: \
23825 configure-libiberty-linker-plugin
23826 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23827 r=`${PWD_COMMAND}`; export r; \
23828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23829 $(HOST_EXPORTS) \
23830 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23832 done; \
23833 echo "Doing info in libiberty-linker-plugin"; \
23834 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23837 "RANLIB=$${RANLIB}" \
23838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23839 info) \
23840 || exit 1
23842 @endif libiberty-linker-plugin
23844 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
23845 maybe-dvi-libiberty-linker-plugin:
23846 @if libiberty-linker-plugin
23847 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
23849 dvi-libiberty-linker-plugin: \
23850 configure-libiberty-linker-plugin
23851 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23852 r=`${PWD_COMMAND}`; export r; \
23853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23854 $(HOST_EXPORTS) \
23855 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23857 done; \
23858 echo "Doing dvi in libiberty-linker-plugin"; \
23859 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23862 "RANLIB=$${RANLIB}" \
23863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23864 dvi) \
23865 || exit 1
23867 @endif libiberty-linker-plugin
23869 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
23870 maybe-pdf-libiberty-linker-plugin:
23871 @if libiberty-linker-plugin
23872 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
23874 pdf-libiberty-linker-plugin: \
23875 configure-libiberty-linker-plugin
23876 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23877 r=`${PWD_COMMAND}`; export r; \
23878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23879 $(HOST_EXPORTS) \
23880 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23882 done; \
23883 echo "Doing pdf in libiberty-linker-plugin"; \
23884 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23887 "RANLIB=$${RANLIB}" \
23888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23889 pdf) \
23890 || exit 1
23892 @endif libiberty-linker-plugin
23894 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
23895 maybe-html-libiberty-linker-plugin:
23896 @if libiberty-linker-plugin
23897 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
23899 html-libiberty-linker-plugin: \
23900 configure-libiberty-linker-plugin
23901 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23902 r=`${PWD_COMMAND}`; export r; \
23903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23904 $(HOST_EXPORTS) \
23905 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23907 done; \
23908 echo "Doing html in libiberty-linker-plugin"; \
23909 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23912 "RANLIB=$${RANLIB}" \
23913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23914 html) \
23915 || exit 1
23917 @endif libiberty-linker-plugin
23919 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
23920 maybe-TAGS-libiberty-linker-plugin:
23921 @if libiberty-linker-plugin
23922 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
23924 TAGS-libiberty-linker-plugin: \
23925 configure-libiberty-linker-plugin
23926 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23927 r=`${PWD_COMMAND}`; export r; \
23928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23929 $(HOST_EXPORTS) \
23930 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23932 done; \
23933 echo "Doing TAGS in libiberty-linker-plugin"; \
23934 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23937 "RANLIB=$${RANLIB}" \
23938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23939 TAGS) \
23940 || exit 1
23942 @endif libiberty-linker-plugin
23944 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
23945 maybe-install-info-libiberty-linker-plugin:
23946 @if libiberty-linker-plugin
23947 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
23949 install-info-libiberty-linker-plugin: \
23950 configure-libiberty-linker-plugin \
23951 info-libiberty-linker-plugin
23952 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23953 r=`${PWD_COMMAND}`; export r; \
23954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23955 $(HOST_EXPORTS) \
23956 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23958 done; \
23959 echo "Doing install-info in libiberty-linker-plugin"; \
23960 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23963 "RANLIB=$${RANLIB}" \
23964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23965 install-info) \
23966 || exit 1
23968 @endif libiberty-linker-plugin
23970 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
23971 maybe-install-pdf-libiberty-linker-plugin:
23972 @if libiberty-linker-plugin
23973 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
23975 install-pdf-libiberty-linker-plugin: \
23976 configure-libiberty-linker-plugin \
23977 pdf-libiberty-linker-plugin
23978 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23979 r=`${PWD_COMMAND}`; export r; \
23980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 $(HOST_EXPORTS) \
23982 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23984 done; \
23985 echo "Doing install-pdf in libiberty-linker-plugin"; \
23986 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23989 "RANLIB=$${RANLIB}" \
23990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23991 install-pdf) \
23992 || exit 1
23994 @endif libiberty-linker-plugin
23996 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
23997 maybe-install-html-libiberty-linker-plugin:
23998 @if libiberty-linker-plugin
23999 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
24001 install-html-libiberty-linker-plugin: \
24002 configure-libiberty-linker-plugin \
24003 html-libiberty-linker-plugin
24004 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24005 r=`${PWD_COMMAND}`; export r; \
24006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24007 $(HOST_EXPORTS) \
24008 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24010 done; \
24011 echo "Doing install-html in libiberty-linker-plugin"; \
24012 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24015 "RANLIB=$${RANLIB}" \
24016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24017 install-html) \
24018 || exit 1
24020 @endif libiberty-linker-plugin
24022 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
24023 maybe-installcheck-libiberty-linker-plugin:
24024 @if libiberty-linker-plugin
24025 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
24027 installcheck-libiberty-linker-plugin: \
24028 configure-libiberty-linker-plugin
24029 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24030 r=`${PWD_COMMAND}`; export r; \
24031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 $(HOST_EXPORTS) \
24033 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24035 done; \
24036 echo "Doing installcheck in libiberty-linker-plugin"; \
24037 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24040 "RANLIB=$${RANLIB}" \
24041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24042 installcheck) \
24043 || exit 1
24045 @endif libiberty-linker-plugin
24047 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
24048 maybe-mostlyclean-libiberty-linker-plugin:
24049 @if libiberty-linker-plugin
24050 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
24052 mostlyclean-libiberty-linker-plugin:
24053 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24054 r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 $(HOST_EXPORTS) \
24057 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24059 done; \
24060 echo "Doing mostlyclean in libiberty-linker-plugin"; \
24061 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064 "RANLIB=$${RANLIB}" \
24065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24066 mostlyclean) \
24067 || exit 1
24069 @endif libiberty-linker-plugin
24071 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
24072 maybe-clean-libiberty-linker-plugin:
24073 @if libiberty-linker-plugin
24074 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24076 clean-libiberty-linker-plugin:
24077 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24078 r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 $(HOST_EXPORTS) \
24081 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24083 done; \
24084 echo "Doing clean in libiberty-linker-plugin"; \
24085 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24088 "RANLIB=$${RANLIB}" \
24089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24090 clean) \
24091 || exit 1
24093 @endif libiberty-linker-plugin
24095 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24096 maybe-distclean-libiberty-linker-plugin:
24097 @if libiberty-linker-plugin
24098 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24100 distclean-libiberty-linker-plugin:
24101 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24102 r=`${PWD_COMMAND}`; export r; \
24103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24104 $(HOST_EXPORTS) \
24105 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24107 done; \
24108 echo "Doing distclean in libiberty-linker-plugin"; \
24109 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24112 "RANLIB=$${RANLIB}" \
24113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24114 distclean) \
24115 || exit 1
24117 @endif libiberty-linker-plugin
24119 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24120 maybe-maintainer-clean-libiberty-linker-plugin:
24121 @if libiberty-linker-plugin
24122 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24124 maintainer-clean-libiberty-linker-plugin:
24125 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24126 r=`${PWD_COMMAND}`; export r; \
24127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24128 $(HOST_EXPORTS) \
24129 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24131 done; \
24132 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
24133 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24136 "RANLIB=$${RANLIB}" \
24137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24138 maintainer-clean) \
24139 || exit 1
24141 @endif libiberty-linker-plugin
24145 .PHONY: configure-libiconv maybe-configure-libiconv
24146 maybe-configure-libiconv:
24147 @if gcc-bootstrap
24148 configure-libiconv: stage_current
24149 @endif gcc-bootstrap
24150 @if libiconv
24151 maybe-configure-libiconv: configure-libiconv
24152 configure-libiconv:
24153 @r=`${PWD_COMMAND}`; export r; \
24154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24155 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24157 $(HOST_EXPORTS) \
24158 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24159 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24160 case $(srcdir) in \
24161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24162 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24164 esac; \
24165 module_srcdir=libiconv; \
24166 $(SHELL) \
24167 $$s/$$module_srcdir/configure \
24168 --srcdir=$${topdir}/$$module_srcdir \
24169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24170 --target=${target_alias} --disable-shared \
24171 || exit 1
24172 @endif libiconv
24176 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
24177 maybe-configure-stage1-libiconv:
24178 @if libiconv-bootstrap
24179 maybe-configure-stage1-libiconv: configure-stage1-libiconv
24180 configure-stage1-libiconv:
24181 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24183 @r=`${PWD_COMMAND}`; export r; \
24184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24185 TFLAGS="$(STAGE1_TFLAGS)"; \
24186 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24187 $(HOST_EXPORTS) \
24188 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24189 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24190 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24191 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
24192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24193 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24194 case $(srcdir) in \
24195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24196 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24198 esac; \
24199 module_srcdir=libiconv; \
24200 $(SHELL) $$s/$$module_srcdir/configure \
24201 --srcdir=$${topdir}/$$module_srcdir \
24202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24203 --target=${target_alias} \
24205 $(STAGE1_CONFIGURE_FLAGS) \
24206 --disable-shared
24207 @endif libiconv-bootstrap
24209 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
24210 maybe-configure-stage2-libiconv:
24211 @if libiconv-bootstrap
24212 maybe-configure-stage2-libiconv: configure-stage2-libiconv
24213 configure-stage2-libiconv:
24214 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24216 @r=`${PWD_COMMAND}`; export r; \
24217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24218 TFLAGS="$(STAGE2_TFLAGS)"; \
24219 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24220 $(HOST_EXPORTS) \
24221 $(POSTSTAGE1_HOST_EXPORTS) \
24222 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24223 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24224 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24225 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
24226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24227 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24228 case $(srcdir) in \
24229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24230 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24232 esac; \
24233 module_srcdir=libiconv; \
24234 $(SHELL) $$s/$$module_srcdir/configure \
24235 --srcdir=$${topdir}/$$module_srcdir \
24236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24237 --target=${target_alias} \
24238 --with-build-libsubdir=$(HOST_SUBDIR) \
24239 $(STAGE2_CONFIGURE_FLAGS) \
24240 --disable-shared
24241 @endif libiconv-bootstrap
24243 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
24244 maybe-configure-stage3-libiconv:
24245 @if libiconv-bootstrap
24246 maybe-configure-stage3-libiconv: configure-stage3-libiconv
24247 configure-stage3-libiconv:
24248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24250 @r=`${PWD_COMMAND}`; export r; \
24251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24252 TFLAGS="$(STAGE3_TFLAGS)"; \
24253 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24254 $(HOST_EXPORTS) \
24255 $(POSTSTAGE1_HOST_EXPORTS) \
24256 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24257 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24258 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24259 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
24260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24261 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24262 case $(srcdir) in \
24263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24264 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24266 esac; \
24267 module_srcdir=libiconv; \
24268 $(SHELL) $$s/$$module_srcdir/configure \
24269 --srcdir=$${topdir}/$$module_srcdir \
24270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24271 --target=${target_alias} \
24272 --with-build-libsubdir=$(HOST_SUBDIR) \
24273 $(STAGE3_CONFIGURE_FLAGS) \
24274 --disable-shared
24275 @endif libiconv-bootstrap
24277 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
24278 maybe-configure-stage4-libiconv:
24279 @if libiconv-bootstrap
24280 maybe-configure-stage4-libiconv: configure-stage4-libiconv
24281 configure-stage4-libiconv:
24282 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24284 @r=`${PWD_COMMAND}`; export r; \
24285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24286 TFLAGS="$(STAGE4_TFLAGS)"; \
24287 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24288 $(HOST_EXPORTS) \
24289 $(POSTSTAGE1_HOST_EXPORTS) \
24290 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24291 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24292 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24293 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
24294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24295 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24296 case $(srcdir) in \
24297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24298 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24300 esac; \
24301 module_srcdir=libiconv; \
24302 $(SHELL) $$s/$$module_srcdir/configure \
24303 --srcdir=$${topdir}/$$module_srcdir \
24304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24305 --target=${target_alias} \
24306 --with-build-libsubdir=$(HOST_SUBDIR) \
24307 $(STAGE4_CONFIGURE_FLAGS) \
24308 --disable-shared
24309 @endif libiconv-bootstrap
24311 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
24312 maybe-configure-stageprofile-libiconv:
24313 @if libiconv-bootstrap
24314 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
24315 configure-stageprofile-libiconv:
24316 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24318 @r=`${PWD_COMMAND}`; export r; \
24319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24320 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24321 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24322 $(HOST_EXPORTS) \
24323 $(POSTSTAGE1_HOST_EXPORTS) \
24324 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24325 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24326 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24327 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
24328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24329 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24330 case $(srcdir) in \
24331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24332 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24334 esac; \
24335 module_srcdir=libiconv; \
24336 $(SHELL) $$s/$$module_srcdir/configure \
24337 --srcdir=$${topdir}/$$module_srcdir \
24338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24339 --target=${target_alias} \
24340 --with-build-libsubdir=$(HOST_SUBDIR) \
24341 $(STAGEprofile_CONFIGURE_FLAGS) \
24342 --disable-shared
24343 @endif libiconv-bootstrap
24345 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
24346 maybe-configure-stagefeedback-libiconv:
24347 @if libiconv-bootstrap
24348 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
24349 configure-stagefeedback-libiconv:
24350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24352 @r=`${PWD_COMMAND}`; export r; \
24353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24355 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24356 $(HOST_EXPORTS) \
24357 $(POSTSTAGE1_HOST_EXPORTS) \
24358 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24359 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24360 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24361 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
24362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24363 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24364 case $(srcdir) in \
24365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24366 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24368 esac; \
24369 module_srcdir=libiconv; \
24370 $(SHELL) $$s/$$module_srcdir/configure \
24371 --srcdir=$${topdir}/$$module_srcdir \
24372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24373 --target=${target_alias} \
24374 --with-build-libsubdir=$(HOST_SUBDIR) \
24375 $(STAGEfeedback_CONFIGURE_FLAGS) \
24376 --disable-shared
24377 @endif libiconv-bootstrap
24383 .PHONY: all-libiconv maybe-all-libiconv
24384 maybe-all-libiconv:
24385 @if gcc-bootstrap
24386 all-libiconv: stage_current
24387 @endif gcc-bootstrap
24388 @if libiconv
24389 TARGET-libiconv=all
24390 maybe-all-libiconv: all-libiconv
24391 all-libiconv: configure-libiconv
24392 @r=`${PWD_COMMAND}`; export r; \
24393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24394 $(HOST_EXPORTS) \
24395 (cd $(HOST_SUBDIR)/libiconv && \
24396 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24397 $(TARGET-libiconv))
24398 @endif libiconv
24402 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
24403 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
24404 maybe-all-stage1-libiconv:
24405 maybe-clean-stage1-libiconv:
24406 @if libiconv-bootstrap
24407 maybe-all-stage1-libiconv: all-stage1-libiconv
24408 all-stage1: all-stage1-libiconv
24409 TARGET-stage1-libiconv = $(TARGET-libiconv)
24410 all-stage1-libiconv: configure-stage1-libiconv
24411 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24412 @r=`${PWD_COMMAND}`; export r; \
24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 TFLAGS="$(STAGE1_TFLAGS)"; \
24415 $(HOST_EXPORTS) \
24416 cd $(HOST_SUBDIR)/libiconv && \
24417 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24418 CFLAGS="$(STAGE1_CFLAGS)" \
24419 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24420 LIBCFLAGS="$(LIBCFLAGS)" \
24421 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24422 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24423 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24424 $(EXTRA_HOST_FLAGS) \
24425 $(STAGE1_FLAGS_TO_PASS) \
24426 TFLAGS="$(STAGE1_TFLAGS)" \
24427 $(TARGET-stage1-libiconv)
24429 maybe-clean-stage1-libiconv: clean-stage1-libiconv
24430 clean-stage1: clean-stage1-libiconv
24431 clean-stage1-libiconv:
24432 @if [ $(current_stage) = stage1 ]; then \
24433 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24434 else \
24435 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
24436 $(MAKE) stage1-start; \
24437 fi; \
24438 cd $(HOST_SUBDIR)/libiconv && \
24439 $(MAKE) $(EXTRA_HOST_FLAGS) \
24440 $(STAGE1_FLAGS_TO_PASS) clean
24441 @endif libiconv-bootstrap
24444 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
24445 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
24446 maybe-all-stage2-libiconv:
24447 maybe-clean-stage2-libiconv:
24448 @if libiconv-bootstrap
24449 maybe-all-stage2-libiconv: all-stage2-libiconv
24450 all-stage2: all-stage2-libiconv
24451 TARGET-stage2-libiconv = $(TARGET-libiconv)
24452 all-stage2-libiconv: configure-stage2-libiconv
24453 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24454 @r=`${PWD_COMMAND}`; export r; \
24455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24456 TFLAGS="$(STAGE2_TFLAGS)"; \
24457 $(HOST_EXPORTS) \
24458 $(POSTSTAGE1_HOST_EXPORTS) \
24459 cd $(HOST_SUBDIR)/libiconv && \
24460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24461 CFLAGS="$(STAGE2_CFLAGS)" \
24462 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24463 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24467 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24468 TFLAGS="$(STAGE2_TFLAGS)" \
24469 $(TARGET-stage2-libiconv)
24471 maybe-clean-stage2-libiconv: clean-stage2-libiconv
24472 clean-stage2: clean-stage2-libiconv
24473 clean-stage2-libiconv:
24474 @if [ $(current_stage) = stage2 ]; then \
24475 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24476 else \
24477 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
24478 $(MAKE) stage2-start; \
24479 fi; \
24480 cd $(HOST_SUBDIR)/libiconv && \
24481 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24482 @endif libiconv-bootstrap
24485 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
24486 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
24487 maybe-all-stage3-libiconv:
24488 maybe-clean-stage3-libiconv:
24489 @if libiconv-bootstrap
24490 maybe-all-stage3-libiconv: all-stage3-libiconv
24491 all-stage3: all-stage3-libiconv
24492 TARGET-stage3-libiconv = $(TARGET-libiconv)
24493 all-stage3-libiconv: configure-stage3-libiconv
24494 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24495 @r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 TFLAGS="$(STAGE3_TFLAGS)"; \
24498 $(HOST_EXPORTS) \
24499 $(POSTSTAGE1_HOST_EXPORTS) \
24500 cd $(HOST_SUBDIR)/libiconv && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24502 CFLAGS="$(STAGE3_CFLAGS)" \
24503 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24504 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24508 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24509 TFLAGS="$(STAGE3_TFLAGS)" \
24510 $(TARGET-stage3-libiconv)
24512 maybe-clean-stage3-libiconv: clean-stage3-libiconv
24513 clean-stage3: clean-stage3-libiconv
24514 clean-stage3-libiconv:
24515 @if [ $(current_stage) = stage3 ]; then \
24516 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24517 else \
24518 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
24519 $(MAKE) stage3-start; \
24520 fi; \
24521 cd $(HOST_SUBDIR)/libiconv && \
24522 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24523 @endif libiconv-bootstrap
24526 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
24527 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
24528 maybe-all-stage4-libiconv:
24529 maybe-clean-stage4-libiconv:
24530 @if libiconv-bootstrap
24531 maybe-all-stage4-libiconv: all-stage4-libiconv
24532 all-stage4: all-stage4-libiconv
24533 TARGET-stage4-libiconv = $(TARGET-libiconv)
24534 all-stage4-libiconv: configure-stage4-libiconv
24535 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24536 @r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 TFLAGS="$(STAGE4_TFLAGS)"; \
24539 $(HOST_EXPORTS) \
24540 $(POSTSTAGE1_HOST_EXPORTS) \
24541 cd $(HOST_SUBDIR)/libiconv && \
24542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24543 CFLAGS="$(STAGE4_CFLAGS)" \
24544 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24545 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24549 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24550 TFLAGS="$(STAGE4_TFLAGS)" \
24551 $(TARGET-stage4-libiconv)
24553 maybe-clean-stage4-libiconv: clean-stage4-libiconv
24554 clean-stage4: clean-stage4-libiconv
24555 clean-stage4-libiconv:
24556 @if [ $(current_stage) = stage4 ]; then \
24557 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24558 else \
24559 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
24560 $(MAKE) stage4-start; \
24561 fi; \
24562 cd $(HOST_SUBDIR)/libiconv && \
24563 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24564 @endif libiconv-bootstrap
24567 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
24568 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
24569 maybe-all-stageprofile-libiconv:
24570 maybe-clean-stageprofile-libiconv:
24571 @if libiconv-bootstrap
24572 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
24573 all-stageprofile: all-stageprofile-libiconv
24574 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
24575 all-stageprofile-libiconv: configure-stageprofile-libiconv
24576 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24577 @r=`${PWD_COMMAND}`; export r; \
24578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24579 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24580 $(HOST_EXPORTS) \
24581 $(POSTSTAGE1_HOST_EXPORTS) \
24582 cd $(HOST_SUBDIR)/libiconv && \
24583 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24584 CFLAGS="$(STAGEprofile_CFLAGS)" \
24585 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24586 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24587 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24588 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24589 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24590 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24591 TFLAGS="$(STAGEprofile_TFLAGS)" \
24592 $(TARGET-stageprofile-libiconv)
24594 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
24595 clean-stageprofile: clean-stageprofile-libiconv
24596 clean-stageprofile-libiconv:
24597 @if [ $(current_stage) = stageprofile ]; then \
24598 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24599 else \
24600 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
24601 $(MAKE) stageprofile-start; \
24602 fi; \
24603 cd $(HOST_SUBDIR)/libiconv && \
24604 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24605 @endif libiconv-bootstrap
24608 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
24609 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
24610 maybe-all-stagefeedback-libiconv:
24611 maybe-clean-stagefeedback-libiconv:
24612 @if libiconv-bootstrap
24613 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
24614 all-stagefeedback: all-stagefeedback-libiconv
24615 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
24616 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
24617 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24618 @r=`${PWD_COMMAND}`; export r; \
24619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24620 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24621 $(HOST_EXPORTS) \
24622 $(POSTSTAGE1_HOST_EXPORTS) \
24623 cd $(HOST_SUBDIR)/libiconv && \
24624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24625 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24626 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24627 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24632 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24633 $(TARGET-stagefeedback-libiconv)
24635 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
24636 clean-stagefeedback: clean-stagefeedback-libiconv
24637 clean-stagefeedback-libiconv:
24638 @if [ $(current_stage) = stagefeedback ]; then \
24639 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24640 else \
24641 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
24642 $(MAKE) stagefeedback-start; \
24643 fi; \
24644 cd $(HOST_SUBDIR)/libiconv && \
24645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24646 @endif libiconv-bootstrap
24652 .PHONY: check-libiconv maybe-check-libiconv
24653 maybe-check-libiconv:
24654 @if libiconv
24655 maybe-check-libiconv: check-libiconv
24657 check-libiconv:
24658 @: $(MAKE); $(unstage)
24659 @r=`${PWD_COMMAND}`; export r; \
24660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24661 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24662 (cd $(HOST_SUBDIR)/libiconv && \
24663 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24665 @endif libiconv
24667 .PHONY: install-libiconv maybe-install-libiconv
24668 maybe-install-libiconv:
24669 @if libiconv
24670 maybe-install-libiconv: install-libiconv
24672 install-libiconv:
24674 @endif libiconv
24676 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24677 maybe-install-strip-libiconv:
24678 @if libiconv
24679 maybe-install-strip-libiconv: install-strip-libiconv
24681 install-strip-libiconv:
24683 @endif libiconv
24685 # Other targets (info, dvi, pdf, etc.)
24687 .PHONY: maybe-info-libiconv info-libiconv
24688 maybe-info-libiconv:
24689 @if libiconv
24690 maybe-info-libiconv: info-libiconv
24692 # libiconv doesn't support info.
24693 info-libiconv:
24695 @endif libiconv
24697 .PHONY: maybe-dvi-libiconv dvi-libiconv
24698 maybe-dvi-libiconv:
24699 @if libiconv
24700 maybe-dvi-libiconv: dvi-libiconv
24702 dvi-libiconv: \
24703 configure-libiconv
24704 @[ -f ./libiconv/Makefile ] || exit 0; \
24705 r=`${PWD_COMMAND}`; export r; \
24706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24707 $(HOST_EXPORTS) \
24708 for flag in $(EXTRA_HOST_FLAGS) ; do \
24709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24710 done; \
24711 echo "Doing dvi in libiconv"; \
24712 (cd $(HOST_SUBDIR)/libiconv && \
24713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24715 "RANLIB=$${RANLIB}" \
24716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24717 dvi) \
24718 || exit 1
24720 @endif libiconv
24722 .PHONY: maybe-pdf-libiconv pdf-libiconv
24723 maybe-pdf-libiconv:
24724 @if libiconv
24725 maybe-pdf-libiconv: pdf-libiconv
24727 # libiconv doesn't support pdf.
24728 pdf-libiconv:
24730 @endif libiconv
24732 .PHONY: maybe-html-libiconv html-libiconv
24733 maybe-html-libiconv:
24734 @if libiconv
24735 maybe-html-libiconv: html-libiconv
24737 # libiconv doesn't support html.
24738 html-libiconv:
24740 @endif libiconv
24742 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
24743 maybe-TAGS-libiconv:
24744 @if libiconv
24745 maybe-TAGS-libiconv: TAGS-libiconv
24747 TAGS-libiconv: \
24748 configure-libiconv
24749 @[ -f ./libiconv/Makefile ] || exit 0; \
24750 r=`${PWD_COMMAND}`; export r; \
24751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24752 $(HOST_EXPORTS) \
24753 for flag in $(EXTRA_HOST_FLAGS) ; do \
24754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24755 done; \
24756 echo "Doing TAGS in libiconv"; \
24757 (cd $(HOST_SUBDIR)/libiconv && \
24758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24760 "RANLIB=$${RANLIB}" \
24761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24762 TAGS) \
24763 || exit 1
24765 @endif libiconv
24767 .PHONY: maybe-install-info-libiconv install-info-libiconv
24768 maybe-install-info-libiconv:
24769 @if libiconv
24770 maybe-install-info-libiconv: install-info-libiconv
24772 # libiconv doesn't support install-info.
24773 install-info-libiconv:
24775 @endif libiconv
24777 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
24778 maybe-install-pdf-libiconv:
24779 @if libiconv
24780 maybe-install-pdf-libiconv: install-pdf-libiconv
24782 # libiconv doesn't support install-pdf.
24783 install-pdf-libiconv:
24785 @endif libiconv
24787 .PHONY: maybe-install-html-libiconv install-html-libiconv
24788 maybe-install-html-libiconv:
24789 @if libiconv
24790 maybe-install-html-libiconv: install-html-libiconv
24792 # libiconv doesn't support install-html.
24793 install-html-libiconv:
24795 @endif libiconv
24797 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
24798 maybe-installcheck-libiconv:
24799 @if libiconv
24800 maybe-installcheck-libiconv: installcheck-libiconv
24802 installcheck-libiconv: \
24803 configure-libiconv
24804 @[ -f ./libiconv/Makefile ] || exit 0; \
24805 r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24807 $(HOST_EXPORTS) \
24808 for flag in $(EXTRA_HOST_FLAGS) ; do \
24809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24810 done; \
24811 echo "Doing installcheck in libiconv"; \
24812 (cd $(HOST_SUBDIR)/libiconv && \
24813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815 "RANLIB=$${RANLIB}" \
24816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24817 installcheck) \
24818 || exit 1
24820 @endif libiconv
24822 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
24823 maybe-mostlyclean-libiconv:
24824 @if libiconv
24825 maybe-mostlyclean-libiconv: mostlyclean-libiconv
24827 mostlyclean-libiconv:
24828 @[ -f ./libiconv/Makefile ] || exit 0; \
24829 r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 $(HOST_EXPORTS) \
24832 for flag in $(EXTRA_HOST_FLAGS) ; do \
24833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24834 done; \
24835 echo "Doing mostlyclean in libiconv"; \
24836 (cd $(HOST_SUBDIR)/libiconv && \
24837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24839 "RANLIB=$${RANLIB}" \
24840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24841 mostlyclean) \
24842 || exit 1
24844 @endif libiconv
24846 .PHONY: maybe-clean-libiconv clean-libiconv
24847 maybe-clean-libiconv:
24848 @if libiconv
24849 maybe-clean-libiconv: clean-libiconv
24851 clean-libiconv:
24852 @[ -f ./libiconv/Makefile ] || exit 0; \
24853 r=`${PWD_COMMAND}`; export r; \
24854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24855 $(HOST_EXPORTS) \
24856 for flag in $(EXTRA_HOST_FLAGS) ; do \
24857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24858 done; \
24859 echo "Doing clean in libiconv"; \
24860 (cd $(HOST_SUBDIR)/libiconv && \
24861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24863 "RANLIB=$${RANLIB}" \
24864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24865 clean) \
24866 || exit 1
24868 @endif libiconv
24870 .PHONY: maybe-distclean-libiconv distclean-libiconv
24871 maybe-distclean-libiconv:
24872 @if libiconv
24873 maybe-distclean-libiconv: distclean-libiconv
24875 distclean-libiconv:
24876 @[ -f ./libiconv/Makefile ] || exit 0; \
24877 r=`${PWD_COMMAND}`; export r; \
24878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24879 $(HOST_EXPORTS) \
24880 for flag in $(EXTRA_HOST_FLAGS) ; do \
24881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24882 done; \
24883 echo "Doing distclean in libiconv"; \
24884 (cd $(HOST_SUBDIR)/libiconv && \
24885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24887 "RANLIB=$${RANLIB}" \
24888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24889 distclean) \
24890 || exit 1
24892 @endif libiconv
24894 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
24895 maybe-maintainer-clean-libiconv:
24896 @if libiconv
24897 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
24899 maintainer-clean-libiconv:
24900 @[ -f ./libiconv/Makefile ] || exit 0; \
24901 r=`${PWD_COMMAND}`; export r; \
24902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24903 $(HOST_EXPORTS) \
24904 for flag in $(EXTRA_HOST_FLAGS) ; do \
24905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24906 done; \
24907 echo "Doing maintainer-clean in libiconv"; \
24908 (cd $(HOST_SUBDIR)/libiconv && \
24909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24911 "RANLIB=$${RANLIB}" \
24912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24913 maintainer-clean) \
24914 || exit 1
24916 @endif libiconv
24920 .PHONY: configure-m4 maybe-configure-m4
24921 maybe-configure-m4:
24922 @if gcc-bootstrap
24923 configure-m4: stage_current
24924 @endif gcc-bootstrap
24925 @if m4
24926 maybe-configure-m4: configure-m4
24927 configure-m4:
24928 @: $(MAKE); $(unstage)
24929 @r=`${PWD_COMMAND}`; export r; \
24930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24931 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
24933 $(HOST_EXPORTS) \
24934 echo Configuring in $(HOST_SUBDIR)/m4; \
24935 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24936 case $(srcdir) in \
24937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24938 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24940 esac; \
24941 module_srcdir=m4; \
24942 $(SHELL) \
24943 $$s/$$module_srcdir/configure \
24944 --srcdir=$${topdir}/$$module_srcdir \
24945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24946 --target=${target_alias} \
24947 || exit 1
24948 @endif m4
24954 .PHONY: all-m4 maybe-all-m4
24955 maybe-all-m4:
24956 @if gcc-bootstrap
24957 all-m4: stage_current
24958 @endif gcc-bootstrap
24959 @if m4
24960 TARGET-m4=all
24961 maybe-all-m4: all-m4
24962 all-m4: configure-m4
24963 @: $(MAKE); $(unstage)
24964 @r=`${PWD_COMMAND}`; export r; \
24965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24966 $(HOST_EXPORTS) \
24967 (cd $(HOST_SUBDIR)/m4 && \
24968 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24969 $(TARGET-m4))
24970 @endif m4
24975 .PHONY: check-m4 maybe-check-m4
24976 maybe-check-m4:
24977 @if m4
24978 maybe-check-m4: check-m4
24980 check-m4:
24981 @: $(MAKE); $(unstage)
24982 @r=`${PWD_COMMAND}`; export r; \
24983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24984 $(HOST_EXPORTS) \
24985 (cd $(HOST_SUBDIR)/m4 && \
24986 $(MAKE) $(FLAGS_TO_PASS) check)
24988 @endif m4
24990 .PHONY: install-m4 maybe-install-m4
24991 maybe-install-m4:
24992 @if m4
24993 maybe-install-m4: install-m4
24995 install-m4: installdirs
24996 @: $(MAKE); $(unstage)
24997 @r=`${PWD_COMMAND}`; export r; \
24998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24999 $(HOST_EXPORTS) \
25000 (cd $(HOST_SUBDIR)/m4 && \
25001 $(MAKE) $(FLAGS_TO_PASS) install)
25003 @endif m4
25005 .PHONY: install-strip-m4 maybe-install-strip-m4
25006 maybe-install-strip-m4:
25007 @if m4
25008 maybe-install-strip-m4: install-strip-m4
25010 install-strip-m4: installdirs
25011 @: $(MAKE); $(unstage)
25012 @r=`${PWD_COMMAND}`; export r; \
25013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25014 $(HOST_EXPORTS) \
25015 (cd $(HOST_SUBDIR)/m4 && \
25016 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25018 @endif m4
25020 # Other targets (info, dvi, pdf, etc.)
25022 .PHONY: maybe-info-m4 info-m4
25023 maybe-info-m4:
25024 @if m4
25025 maybe-info-m4: info-m4
25027 info-m4: \
25028 configure-m4
25029 @: $(MAKE); $(unstage)
25030 @[ -f ./m4/Makefile ] || exit 0; \
25031 r=`${PWD_COMMAND}`; export r; \
25032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25033 $(HOST_EXPORTS) \
25034 for flag in $(EXTRA_HOST_FLAGS) ; do \
25035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25036 done; \
25037 echo "Doing info in m4"; \
25038 (cd $(HOST_SUBDIR)/m4 && \
25039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25041 "RANLIB=$${RANLIB}" \
25042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25043 info) \
25044 || exit 1
25046 @endif m4
25048 .PHONY: maybe-dvi-m4 dvi-m4
25049 maybe-dvi-m4:
25050 @if m4
25051 maybe-dvi-m4: dvi-m4
25053 dvi-m4: \
25054 configure-m4
25055 @: $(MAKE); $(unstage)
25056 @[ -f ./m4/Makefile ] || exit 0; \
25057 r=`${PWD_COMMAND}`; export r; \
25058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25059 $(HOST_EXPORTS) \
25060 for flag in $(EXTRA_HOST_FLAGS) ; do \
25061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25062 done; \
25063 echo "Doing dvi in m4"; \
25064 (cd $(HOST_SUBDIR)/m4 && \
25065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25067 "RANLIB=$${RANLIB}" \
25068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25069 dvi) \
25070 || exit 1
25072 @endif m4
25074 .PHONY: maybe-pdf-m4 pdf-m4
25075 maybe-pdf-m4:
25076 @if m4
25077 maybe-pdf-m4: pdf-m4
25079 pdf-m4: \
25080 configure-m4
25081 @: $(MAKE); $(unstage)
25082 @[ -f ./m4/Makefile ] || exit 0; \
25083 r=`${PWD_COMMAND}`; export r; \
25084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25085 $(HOST_EXPORTS) \
25086 for flag in $(EXTRA_HOST_FLAGS) ; do \
25087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25088 done; \
25089 echo "Doing pdf in m4"; \
25090 (cd $(HOST_SUBDIR)/m4 && \
25091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25093 "RANLIB=$${RANLIB}" \
25094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25095 pdf) \
25096 || exit 1
25098 @endif m4
25100 .PHONY: maybe-html-m4 html-m4
25101 maybe-html-m4:
25102 @if m4
25103 maybe-html-m4: html-m4
25105 html-m4: \
25106 configure-m4
25107 @: $(MAKE); $(unstage)
25108 @[ -f ./m4/Makefile ] || exit 0; \
25109 r=`${PWD_COMMAND}`; export r; \
25110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25111 $(HOST_EXPORTS) \
25112 for flag in $(EXTRA_HOST_FLAGS) ; do \
25113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25114 done; \
25115 echo "Doing html in m4"; \
25116 (cd $(HOST_SUBDIR)/m4 && \
25117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25119 "RANLIB=$${RANLIB}" \
25120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25121 html) \
25122 || exit 1
25124 @endif m4
25126 .PHONY: maybe-TAGS-m4 TAGS-m4
25127 maybe-TAGS-m4:
25128 @if m4
25129 maybe-TAGS-m4: TAGS-m4
25131 TAGS-m4: \
25132 configure-m4
25133 @: $(MAKE); $(unstage)
25134 @[ -f ./m4/Makefile ] || exit 0; \
25135 r=`${PWD_COMMAND}`; export r; \
25136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25137 $(HOST_EXPORTS) \
25138 for flag in $(EXTRA_HOST_FLAGS) ; do \
25139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25140 done; \
25141 echo "Doing TAGS in m4"; \
25142 (cd $(HOST_SUBDIR)/m4 && \
25143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25145 "RANLIB=$${RANLIB}" \
25146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25147 TAGS) \
25148 || exit 1
25150 @endif m4
25152 .PHONY: maybe-install-info-m4 install-info-m4
25153 maybe-install-info-m4:
25154 @if m4
25155 maybe-install-info-m4: install-info-m4
25157 install-info-m4: \
25158 configure-m4 \
25159 info-m4
25160 @: $(MAKE); $(unstage)
25161 @[ -f ./m4/Makefile ] || exit 0; \
25162 r=`${PWD_COMMAND}`; export r; \
25163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25164 $(HOST_EXPORTS) \
25165 for flag in $(EXTRA_HOST_FLAGS) ; do \
25166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25167 done; \
25168 echo "Doing install-info in m4"; \
25169 (cd $(HOST_SUBDIR)/m4 && \
25170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25172 "RANLIB=$${RANLIB}" \
25173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25174 install-info) \
25175 || exit 1
25177 @endif m4
25179 .PHONY: maybe-install-pdf-m4 install-pdf-m4
25180 maybe-install-pdf-m4:
25181 @if m4
25182 maybe-install-pdf-m4: install-pdf-m4
25184 install-pdf-m4: \
25185 configure-m4 \
25186 pdf-m4
25187 @: $(MAKE); $(unstage)
25188 @[ -f ./m4/Makefile ] || exit 0; \
25189 r=`${PWD_COMMAND}`; export r; \
25190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25191 $(HOST_EXPORTS) \
25192 for flag in $(EXTRA_HOST_FLAGS) ; do \
25193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25194 done; \
25195 echo "Doing install-pdf in m4"; \
25196 (cd $(HOST_SUBDIR)/m4 && \
25197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25199 "RANLIB=$${RANLIB}" \
25200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25201 install-pdf) \
25202 || exit 1
25204 @endif m4
25206 .PHONY: maybe-install-html-m4 install-html-m4
25207 maybe-install-html-m4:
25208 @if m4
25209 maybe-install-html-m4: install-html-m4
25211 install-html-m4: \
25212 configure-m4 \
25213 html-m4
25214 @: $(MAKE); $(unstage)
25215 @[ -f ./m4/Makefile ] || exit 0; \
25216 r=`${PWD_COMMAND}`; export r; \
25217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25218 $(HOST_EXPORTS) \
25219 for flag in $(EXTRA_HOST_FLAGS) ; do \
25220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25221 done; \
25222 echo "Doing install-html in m4"; \
25223 (cd $(HOST_SUBDIR)/m4 && \
25224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25226 "RANLIB=$${RANLIB}" \
25227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25228 install-html) \
25229 || exit 1
25231 @endif m4
25233 .PHONY: maybe-installcheck-m4 installcheck-m4
25234 maybe-installcheck-m4:
25235 @if m4
25236 maybe-installcheck-m4: installcheck-m4
25238 installcheck-m4: \
25239 configure-m4
25240 @: $(MAKE); $(unstage)
25241 @[ -f ./m4/Makefile ] || exit 0; \
25242 r=`${PWD_COMMAND}`; export r; \
25243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25244 $(HOST_EXPORTS) \
25245 for flag in $(EXTRA_HOST_FLAGS) ; do \
25246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25247 done; \
25248 echo "Doing installcheck in m4"; \
25249 (cd $(HOST_SUBDIR)/m4 && \
25250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25252 "RANLIB=$${RANLIB}" \
25253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25254 installcheck) \
25255 || exit 1
25257 @endif m4
25259 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
25260 maybe-mostlyclean-m4:
25261 @if m4
25262 maybe-mostlyclean-m4: mostlyclean-m4
25264 mostlyclean-m4:
25265 @: $(MAKE); $(unstage)
25266 @[ -f ./m4/Makefile ] || exit 0; \
25267 r=`${PWD_COMMAND}`; export r; \
25268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25269 $(HOST_EXPORTS) \
25270 for flag in $(EXTRA_HOST_FLAGS) ; do \
25271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25272 done; \
25273 echo "Doing mostlyclean in m4"; \
25274 (cd $(HOST_SUBDIR)/m4 && \
25275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25277 "RANLIB=$${RANLIB}" \
25278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25279 mostlyclean) \
25280 || exit 1
25282 @endif m4
25284 .PHONY: maybe-clean-m4 clean-m4
25285 maybe-clean-m4:
25286 @if m4
25287 maybe-clean-m4: clean-m4
25289 clean-m4:
25290 @: $(MAKE); $(unstage)
25291 @[ -f ./m4/Makefile ] || exit 0; \
25292 r=`${PWD_COMMAND}`; export r; \
25293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25294 $(HOST_EXPORTS) \
25295 for flag in $(EXTRA_HOST_FLAGS) ; do \
25296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25297 done; \
25298 echo "Doing clean in m4"; \
25299 (cd $(HOST_SUBDIR)/m4 && \
25300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25302 "RANLIB=$${RANLIB}" \
25303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25304 clean) \
25305 || exit 1
25307 @endif m4
25309 .PHONY: maybe-distclean-m4 distclean-m4
25310 maybe-distclean-m4:
25311 @if m4
25312 maybe-distclean-m4: distclean-m4
25314 distclean-m4:
25315 @: $(MAKE); $(unstage)
25316 @[ -f ./m4/Makefile ] || exit 0; \
25317 r=`${PWD_COMMAND}`; export r; \
25318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25319 $(HOST_EXPORTS) \
25320 for flag in $(EXTRA_HOST_FLAGS) ; do \
25321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25322 done; \
25323 echo "Doing distclean in m4"; \
25324 (cd $(HOST_SUBDIR)/m4 && \
25325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25327 "RANLIB=$${RANLIB}" \
25328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25329 distclean) \
25330 || exit 1
25332 @endif m4
25334 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
25335 maybe-maintainer-clean-m4:
25336 @if m4
25337 maybe-maintainer-clean-m4: maintainer-clean-m4
25339 maintainer-clean-m4:
25340 @: $(MAKE); $(unstage)
25341 @[ -f ./m4/Makefile ] || exit 0; \
25342 r=`${PWD_COMMAND}`; export r; \
25343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25344 $(HOST_EXPORTS) \
25345 for flag in $(EXTRA_HOST_FLAGS) ; do \
25346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25347 done; \
25348 echo "Doing maintainer-clean in m4"; \
25349 (cd $(HOST_SUBDIR)/m4 && \
25350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25352 "RANLIB=$${RANLIB}" \
25353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25354 maintainer-clean) \
25355 || exit 1
25357 @endif m4
25361 .PHONY: configure-readline maybe-configure-readline
25362 maybe-configure-readline:
25363 @if gcc-bootstrap
25364 configure-readline: stage_current
25365 @endif gcc-bootstrap
25366 @if readline
25367 maybe-configure-readline: configure-readline
25368 configure-readline:
25369 @: $(MAKE); $(unstage)
25370 @r=`${PWD_COMMAND}`; export r; \
25371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25372 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
25373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
25374 $(HOST_EXPORTS) \
25375 echo Configuring in $(HOST_SUBDIR)/readline; \
25376 cd "$(HOST_SUBDIR)/readline" || exit 1; \
25377 case $(srcdir) in \
25378 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25379 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
25380 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25381 esac; \
25382 module_srcdir=readline; \
25383 $(SHELL) \
25384 $$s/$$module_srcdir/configure \
25385 --srcdir=$${topdir}/$$module_srcdir \
25386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25387 --target=${target_alias} \
25388 || exit 1
25389 @endif readline
25395 .PHONY: all-readline maybe-all-readline
25396 maybe-all-readline:
25397 @if gcc-bootstrap
25398 all-readline: stage_current
25399 @endif gcc-bootstrap
25400 @if readline
25401 TARGET-readline=all
25402 maybe-all-readline: all-readline
25403 all-readline: configure-readline
25404 @: $(MAKE); $(unstage)
25405 @r=`${PWD_COMMAND}`; export r; \
25406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25407 $(HOST_EXPORTS) \
25408 (cd $(HOST_SUBDIR)/readline && \
25409 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25410 $(TARGET-readline))
25411 @endif readline
25416 .PHONY: check-readline maybe-check-readline
25417 maybe-check-readline:
25418 @if readline
25419 maybe-check-readline: check-readline
25421 check-readline:
25422 @: $(MAKE); $(unstage)
25423 @r=`${PWD_COMMAND}`; export r; \
25424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25425 $(HOST_EXPORTS) \
25426 (cd $(HOST_SUBDIR)/readline && \
25427 $(MAKE) $(FLAGS_TO_PASS) check)
25429 @endif readline
25431 .PHONY: install-readline maybe-install-readline
25432 maybe-install-readline:
25433 @if readline
25434 maybe-install-readline: install-readline
25436 install-readline: installdirs
25437 @: $(MAKE); $(unstage)
25438 @r=`${PWD_COMMAND}`; export r; \
25439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25440 $(HOST_EXPORTS) \
25441 (cd $(HOST_SUBDIR)/readline && \
25442 $(MAKE) $(FLAGS_TO_PASS) install)
25444 @endif readline
25446 .PHONY: install-strip-readline maybe-install-strip-readline
25447 maybe-install-strip-readline:
25448 @if readline
25449 maybe-install-strip-readline: install-strip-readline
25451 install-strip-readline: installdirs
25452 @: $(MAKE); $(unstage)
25453 @r=`${PWD_COMMAND}`; export r; \
25454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25455 $(HOST_EXPORTS) \
25456 (cd $(HOST_SUBDIR)/readline && \
25457 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25459 @endif readline
25461 # Other targets (info, dvi, pdf, etc.)
25463 .PHONY: maybe-info-readline info-readline
25464 maybe-info-readline:
25465 @if readline
25466 maybe-info-readline: info-readline
25468 info-readline: \
25469 configure-readline
25470 @: $(MAKE); $(unstage)
25471 @[ -f ./readline/Makefile ] || exit 0; \
25472 r=`${PWD_COMMAND}`; export r; \
25473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25474 $(HOST_EXPORTS) \
25475 for flag in $(EXTRA_HOST_FLAGS) ; do \
25476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25477 done; \
25478 echo "Doing info in readline"; \
25479 (cd $(HOST_SUBDIR)/readline && \
25480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25482 "RANLIB=$${RANLIB}" \
25483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25484 info) \
25485 || exit 1
25487 @endif readline
25489 .PHONY: maybe-dvi-readline dvi-readline
25490 maybe-dvi-readline:
25491 @if readline
25492 maybe-dvi-readline: dvi-readline
25494 dvi-readline: \
25495 configure-readline
25496 @: $(MAKE); $(unstage)
25497 @[ -f ./readline/Makefile ] || exit 0; \
25498 r=`${PWD_COMMAND}`; export r; \
25499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25500 $(HOST_EXPORTS) \
25501 for flag in $(EXTRA_HOST_FLAGS) ; do \
25502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 done; \
25504 echo "Doing dvi in readline"; \
25505 (cd $(HOST_SUBDIR)/readline && \
25506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25508 "RANLIB=$${RANLIB}" \
25509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25510 dvi) \
25511 || exit 1
25513 @endif readline
25515 .PHONY: maybe-pdf-readline pdf-readline
25516 maybe-pdf-readline:
25517 @if readline
25518 maybe-pdf-readline: pdf-readline
25520 pdf-readline: \
25521 configure-readline
25522 @: $(MAKE); $(unstage)
25523 @[ -f ./readline/Makefile ] || exit 0; \
25524 r=`${PWD_COMMAND}`; export r; \
25525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25526 $(HOST_EXPORTS) \
25527 for flag in $(EXTRA_HOST_FLAGS) ; do \
25528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25529 done; \
25530 echo "Doing pdf in readline"; \
25531 (cd $(HOST_SUBDIR)/readline && \
25532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25534 "RANLIB=$${RANLIB}" \
25535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25536 pdf) \
25537 || exit 1
25539 @endif readline
25541 .PHONY: maybe-html-readline html-readline
25542 maybe-html-readline:
25543 @if readline
25544 maybe-html-readline: html-readline
25546 html-readline: \
25547 configure-readline
25548 @: $(MAKE); $(unstage)
25549 @[ -f ./readline/Makefile ] || exit 0; \
25550 r=`${PWD_COMMAND}`; export r; \
25551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25552 $(HOST_EXPORTS) \
25553 for flag in $(EXTRA_HOST_FLAGS) ; do \
25554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25555 done; \
25556 echo "Doing html in readline"; \
25557 (cd $(HOST_SUBDIR)/readline && \
25558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25560 "RANLIB=$${RANLIB}" \
25561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25562 html) \
25563 || exit 1
25565 @endif readline
25567 .PHONY: maybe-TAGS-readline TAGS-readline
25568 maybe-TAGS-readline:
25569 @if readline
25570 maybe-TAGS-readline: TAGS-readline
25572 TAGS-readline: \
25573 configure-readline
25574 @: $(MAKE); $(unstage)
25575 @[ -f ./readline/Makefile ] || exit 0; \
25576 r=`${PWD_COMMAND}`; export r; \
25577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25578 $(HOST_EXPORTS) \
25579 for flag in $(EXTRA_HOST_FLAGS) ; do \
25580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25581 done; \
25582 echo "Doing TAGS in readline"; \
25583 (cd $(HOST_SUBDIR)/readline && \
25584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25586 "RANLIB=$${RANLIB}" \
25587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25588 TAGS) \
25589 || exit 1
25591 @endif readline
25593 .PHONY: maybe-install-info-readline install-info-readline
25594 maybe-install-info-readline:
25595 @if readline
25596 maybe-install-info-readline: install-info-readline
25598 install-info-readline: \
25599 configure-readline \
25600 info-readline
25601 @: $(MAKE); $(unstage)
25602 @[ -f ./readline/Makefile ] || exit 0; \
25603 r=`${PWD_COMMAND}`; export r; \
25604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25605 $(HOST_EXPORTS) \
25606 for flag in $(EXTRA_HOST_FLAGS) ; do \
25607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25608 done; \
25609 echo "Doing install-info in readline"; \
25610 (cd $(HOST_SUBDIR)/readline && \
25611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25613 "RANLIB=$${RANLIB}" \
25614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25615 install-info) \
25616 || exit 1
25618 @endif readline
25620 .PHONY: maybe-install-pdf-readline install-pdf-readline
25621 maybe-install-pdf-readline:
25622 @if readline
25623 maybe-install-pdf-readline: install-pdf-readline
25625 install-pdf-readline: \
25626 configure-readline \
25627 pdf-readline
25628 @: $(MAKE); $(unstage)
25629 @[ -f ./readline/Makefile ] || exit 0; \
25630 r=`${PWD_COMMAND}`; export r; \
25631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25632 $(HOST_EXPORTS) \
25633 for flag in $(EXTRA_HOST_FLAGS) ; do \
25634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25635 done; \
25636 echo "Doing install-pdf in readline"; \
25637 (cd $(HOST_SUBDIR)/readline && \
25638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25640 "RANLIB=$${RANLIB}" \
25641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25642 install-pdf) \
25643 || exit 1
25645 @endif readline
25647 .PHONY: maybe-install-html-readline install-html-readline
25648 maybe-install-html-readline:
25649 @if readline
25650 maybe-install-html-readline: install-html-readline
25652 install-html-readline: \
25653 configure-readline \
25654 html-readline
25655 @: $(MAKE); $(unstage)
25656 @[ -f ./readline/Makefile ] || exit 0; \
25657 r=`${PWD_COMMAND}`; export r; \
25658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25659 $(HOST_EXPORTS) \
25660 for flag in $(EXTRA_HOST_FLAGS) ; do \
25661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25662 done; \
25663 echo "Doing install-html in readline"; \
25664 (cd $(HOST_SUBDIR)/readline && \
25665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25667 "RANLIB=$${RANLIB}" \
25668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25669 install-html) \
25670 || exit 1
25672 @endif readline
25674 .PHONY: maybe-installcheck-readline installcheck-readline
25675 maybe-installcheck-readline:
25676 @if readline
25677 maybe-installcheck-readline: installcheck-readline
25679 installcheck-readline: \
25680 configure-readline
25681 @: $(MAKE); $(unstage)
25682 @[ -f ./readline/Makefile ] || exit 0; \
25683 r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25685 $(HOST_EXPORTS) \
25686 for flag in $(EXTRA_HOST_FLAGS) ; do \
25687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25688 done; \
25689 echo "Doing installcheck in readline"; \
25690 (cd $(HOST_SUBDIR)/readline && \
25691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25693 "RANLIB=$${RANLIB}" \
25694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25695 installcheck) \
25696 || exit 1
25698 @endif readline
25700 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
25701 maybe-mostlyclean-readline:
25702 @if readline
25703 maybe-mostlyclean-readline: mostlyclean-readline
25705 mostlyclean-readline:
25706 @: $(MAKE); $(unstage)
25707 @[ -f ./readline/Makefile ] || exit 0; \
25708 r=`${PWD_COMMAND}`; export r; \
25709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25710 $(HOST_EXPORTS) \
25711 for flag in $(EXTRA_HOST_FLAGS) ; do \
25712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25713 done; \
25714 echo "Doing mostlyclean in readline"; \
25715 (cd $(HOST_SUBDIR)/readline && \
25716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25718 "RANLIB=$${RANLIB}" \
25719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25720 mostlyclean) \
25721 || exit 1
25723 @endif readline
25725 .PHONY: maybe-clean-readline clean-readline
25726 maybe-clean-readline:
25727 @if readline
25728 maybe-clean-readline: clean-readline
25730 clean-readline:
25731 @: $(MAKE); $(unstage)
25732 @[ -f ./readline/Makefile ] || exit 0; \
25733 r=`${PWD_COMMAND}`; export r; \
25734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25735 $(HOST_EXPORTS) \
25736 for flag in $(EXTRA_HOST_FLAGS) ; do \
25737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25738 done; \
25739 echo "Doing clean in readline"; \
25740 (cd $(HOST_SUBDIR)/readline && \
25741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25743 "RANLIB=$${RANLIB}" \
25744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25745 clean) \
25746 || exit 1
25748 @endif readline
25750 .PHONY: maybe-distclean-readline distclean-readline
25751 maybe-distclean-readline:
25752 @if readline
25753 maybe-distclean-readline: distclean-readline
25755 distclean-readline:
25756 @: $(MAKE); $(unstage)
25757 @[ -f ./readline/Makefile ] || exit 0; \
25758 r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 $(HOST_EXPORTS) \
25761 for flag in $(EXTRA_HOST_FLAGS) ; do \
25762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25763 done; \
25764 echo "Doing distclean in readline"; \
25765 (cd $(HOST_SUBDIR)/readline && \
25766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25768 "RANLIB=$${RANLIB}" \
25769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25770 distclean) \
25771 || exit 1
25773 @endif readline
25775 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
25776 maybe-maintainer-clean-readline:
25777 @if readline
25778 maybe-maintainer-clean-readline: maintainer-clean-readline
25780 maintainer-clean-readline:
25781 @: $(MAKE); $(unstage)
25782 @[ -f ./readline/Makefile ] || exit 0; \
25783 r=`${PWD_COMMAND}`; export r; \
25784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25785 $(HOST_EXPORTS) \
25786 for flag in $(EXTRA_HOST_FLAGS) ; do \
25787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25788 done; \
25789 echo "Doing maintainer-clean in readline"; \
25790 (cd $(HOST_SUBDIR)/readline && \
25791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25793 "RANLIB=$${RANLIB}" \
25794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25795 maintainer-clean) \
25796 || exit 1
25798 @endif readline
25802 .PHONY: configure-sid maybe-configure-sid
25803 maybe-configure-sid:
25804 @if gcc-bootstrap
25805 configure-sid: stage_current
25806 @endif gcc-bootstrap
25807 @if sid
25808 maybe-configure-sid: configure-sid
25809 configure-sid:
25810 @: $(MAKE); $(unstage)
25811 @r=`${PWD_COMMAND}`; export r; \
25812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
25814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
25815 $(HOST_EXPORTS) \
25816 echo Configuring in $(HOST_SUBDIR)/sid; \
25817 cd "$(HOST_SUBDIR)/sid" || exit 1; \
25818 case $(srcdir) in \
25819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25820 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
25821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25822 esac; \
25823 module_srcdir=sid; \
25824 $(SHELL) \
25825 $$s/$$module_srcdir/configure \
25826 --srcdir=$${topdir}/$$module_srcdir \
25827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25828 --target=${target_alias} \
25829 || exit 1
25830 @endif sid
25836 .PHONY: all-sid maybe-all-sid
25837 maybe-all-sid:
25838 @if gcc-bootstrap
25839 all-sid: stage_current
25840 @endif gcc-bootstrap
25841 @if sid
25842 TARGET-sid=all
25843 maybe-all-sid: all-sid
25844 all-sid: configure-sid
25845 @: $(MAKE); $(unstage)
25846 @r=`${PWD_COMMAND}`; export r; \
25847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25848 $(HOST_EXPORTS) \
25849 (cd $(HOST_SUBDIR)/sid && \
25850 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25851 $(TARGET-sid))
25852 @endif sid
25857 .PHONY: check-sid maybe-check-sid
25858 maybe-check-sid:
25859 @if sid
25860 maybe-check-sid: check-sid
25862 check-sid:
25863 @: $(MAKE); $(unstage)
25864 @r=`${PWD_COMMAND}`; export r; \
25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25866 $(HOST_EXPORTS) \
25867 (cd $(HOST_SUBDIR)/sid && \
25868 $(MAKE) $(FLAGS_TO_PASS) check)
25870 @endif sid
25872 .PHONY: install-sid maybe-install-sid
25873 maybe-install-sid:
25874 @if sid
25875 maybe-install-sid: install-sid
25877 install-sid: installdirs
25878 @: $(MAKE); $(unstage)
25879 @r=`${PWD_COMMAND}`; export r; \
25880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25881 $(HOST_EXPORTS) \
25882 (cd $(HOST_SUBDIR)/sid && \
25883 $(MAKE) $(FLAGS_TO_PASS) install)
25885 @endif sid
25887 .PHONY: install-strip-sid maybe-install-strip-sid
25888 maybe-install-strip-sid:
25889 @if sid
25890 maybe-install-strip-sid: install-strip-sid
25892 install-strip-sid: installdirs
25893 @: $(MAKE); $(unstage)
25894 @r=`${PWD_COMMAND}`; export r; \
25895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25896 $(HOST_EXPORTS) \
25897 (cd $(HOST_SUBDIR)/sid && \
25898 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25900 @endif sid
25902 # Other targets (info, dvi, pdf, etc.)
25904 .PHONY: maybe-info-sid info-sid
25905 maybe-info-sid:
25906 @if sid
25907 maybe-info-sid: info-sid
25909 info-sid: \
25910 configure-sid
25911 @: $(MAKE); $(unstage)
25912 @[ -f ./sid/Makefile ] || exit 0; \
25913 r=`${PWD_COMMAND}`; export r; \
25914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25915 $(HOST_EXPORTS) \
25916 for flag in $(EXTRA_HOST_FLAGS) ; do \
25917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25918 done; \
25919 echo "Doing info in sid"; \
25920 (cd $(HOST_SUBDIR)/sid && \
25921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25923 "RANLIB=$${RANLIB}" \
25924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25925 info) \
25926 || exit 1
25928 @endif sid
25930 .PHONY: maybe-dvi-sid dvi-sid
25931 maybe-dvi-sid:
25932 @if sid
25933 maybe-dvi-sid: dvi-sid
25935 dvi-sid: \
25936 configure-sid
25937 @: $(MAKE); $(unstage)
25938 @[ -f ./sid/Makefile ] || exit 0; \
25939 r=`${PWD_COMMAND}`; export r; \
25940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25941 $(HOST_EXPORTS) \
25942 for flag in $(EXTRA_HOST_FLAGS) ; do \
25943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25944 done; \
25945 echo "Doing dvi in sid"; \
25946 (cd $(HOST_SUBDIR)/sid && \
25947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25949 "RANLIB=$${RANLIB}" \
25950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25951 dvi) \
25952 || exit 1
25954 @endif sid
25956 .PHONY: maybe-pdf-sid pdf-sid
25957 maybe-pdf-sid:
25958 @if sid
25959 maybe-pdf-sid: pdf-sid
25961 pdf-sid: \
25962 configure-sid
25963 @: $(MAKE); $(unstage)
25964 @[ -f ./sid/Makefile ] || exit 0; \
25965 r=`${PWD_COMMAND}`; export r; \
25966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25967 $(HOST_EXPORTS) \
25968 for flag in $(EXTRA_HOST_FLAGS) ; do \
25969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25970 done; \
25971 echo "Doing pdf in sid"; \
25972 (cd $(HOST_SUBDIR)/sid && \
25973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25975 "RANLIB=$${RANLIB}" \
25976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25977 pdf) \
25978 || exit 1
25980 @endif sid
25982 .PHONY: maybe-html-sid html-sid
25983 maybe-html-sid:
25984 @if sid
25985 maybe-html-sid: html-sid
25987 html-sid: \
25988 configure-sid
25989 @: $(MAKE); $(unstage)
25990 @[ -f ./sid/Makefile ] || exit 0; \
25991 r=`${PWD_COMMAND}`; export r; \
25992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25993 $(HOST_EXPORTS) \
25994 for flag in $(EXTRA_HOST_FLAGS) ; do \
25995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25996 done; \
25997 echo "Doing html in sid"; \
25998 (cd $(HOST_SUBDIR)/sid && \
25999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26001 "RANLIB=$${RANLIB}" \
26002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26003 html) \
26004 || exit 1
26006 @endif sid
26008 .PHONY: maybe-TAGS-sid TAGS-sid
26009 maybe-TAGS-sid:
26010 @if sid
26011 maybe-TAGS-sid: TAGS-sid
26013 TAGS-sid: \
26014 configure-sid
26015 @: $(MAKE); $(unstage)
26016 @[ -f ./sid/Makefile ] || exit 0; \
26017 r=`${PWD_COMMAND}`; export r; \
26018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26019 $(HOST_EXPORTS) \
26020 for flag in $(EXTRA_HOST_FLAGS) ; do \
26021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26022 done; \
26023 echo "Doing TAGS in sid"; \
26024 (cd $(HOST_SUBDIR)/sid && \
26025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26027 "RANLIB=$${RANLIB}" \
26028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26029 TAGS) \
26030 || exit 1
26032 @endif sid
26034 .PHONY: maybe-install-info-sid install-info-sid
26035 maybe-install-info-sid:
26036 @if sid
26037 maybe-install-info-sid: install-info-sid
26039 install-info-sid: \
26040 configure-sid \
26041 info-sid
26042 @: $(MAKE); $(unstage)
26043 @[ -f ./sid/Makefile ] || exit 0; \
26044 r=`${PWD_COMMAND}`; export r; \
26045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26046 $(HOST_EXPORTS) \
26047 for flag in $(EXTRA_HOST_FLAGS) ; do \
26048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26049 done; \
26050 echo "Doing install-info in sid"; \
26051 (cd $(HOST_SUBDIR)/sid && \
26052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26054 "RANLIB=$${RANLIB}" \
26055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26056 install-info) \
26057 || exit 1
26059 @endif sid
26061 .PHONY: maybe-install-pdf-sid install-pdf-sid
26062 maybe-install-pdf-sid:
26063 @if sid
26064 maybe-install-pdf-sid: install-pdf-sid
26066 install-pdf-sid: \
26067 configure-sid \
26068 pdf-sid
26069 @: $(MAKE); $(unstage)
26070 @[ -f ./sid/Makefile ] || exit 0; \
26071 r=`${PWD_COMMAND}`; export r; \
26072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26073 $(HOST_EXPORTS) \
26074 for flag in $(EXTRA_HOST_FLAGS) ; do \
26075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26076 done; \
26077 echo "Doing install-pdf in sid"; \
26078 (cd $(HOST_SUBDIR)/sid && \
26079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26081 "RANLIB=$${RANLIB}" \
26082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26083 install-pdf) \
26084 || exit 1
26086 @endif sid
26088 .PHONY: maybe-install-html-sid install-html-sid
26089 maybe-install-html-sid:
26090 @if sid
26091 maybe-install-html-sid: install-html-sid
26093 install-html-sid: \
26094 configure-sid \
26095 html-sid
26096 @: $(MAKE); $(unstage)
26097 @[ -f ./sid/Makefile ] || exit 0; \
26098 r=`${PWD_COMMAND}`; export r; \
26099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26100 $(HOST_EXPORTS) \
26101 for flag in $(EXTRA_HOST_FLAGS) ; do \
26102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26103 done; \
26104 echo "Doing install-html in sid"; \
26105 (cd $(HOST_SUBDIR)/sid && \
26106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26108 "RANLIB=$${RANLIB}" \
26109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26110 install-html) \
26111 || exit 1
26113 @endif sid
26115 .PHONY: maybe-installcheck-sid installcheck-sid
26116 maybe-installcheck-sid:
26117 @if sid
26118 maybe-installcheck-sid: installcheck-sid
26120 installcheck-sid: \
26121 configure-sid
26122 @: $(MAKE); $(unstage)
26123 @[ -f ./sid/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 installcheck in sid"; \
26131 (cd $(HOST_SUBDIR)/sid && \
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 installcheck) \
26137 || exit 1
26139 @endif sid
26141 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26142 maybe-mostlyclean-sid:
26143 @if sid
26144 maybe-mostlyclean-sid: mostlyclean-sid
26146 mostlyclean-sid:
26147 @: $(MAKE); $(unstage)
26148 @[ -f ./sid/Makefile ] || exit 0; \
26149 r=`${PWD_COMMAND}`; export r; \
26150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26151 $(HOST_EXPORTS) \
26152 for flag in $(EXTRA_HOST_FLAGS) ; do \
26153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26154 done; \
26155 echo "Doing mostlyclean in sid"; \
26156 (cd $(HOST_SUBDIR)/sid && \
26157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26159 "RANLIB=$${RANLIB}" \
26160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26161 mostlyclean) \
26162 || exit 1
26164 @endif sid
26166 .PHONY: maybe-clean-sid clean-sid
26167 maybe-clean-sid:
26168 @if sid
26169 maybe-clean-sid: clean-sid
26171 clean-sid:
26172 @: $(MAKE); $(unstage)
26173 @[ -f ./sid/Makefile ] || exit 0; \
26174 r=`${PWD_COMMAND}`; export r; \
26175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26176 $(HOST_EXPORTS) \
26177 for flag in $(EXTRA_HOST_FLAGS) ; do \
26178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26179 done; \
26180 echo "Doing clean in sid"; \
26181 (cd $(HOST_SUBDIR)/sid && \
26182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26184 "RANLIB=$${RANLIB}" \
26185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26186 clean) \
26187 || exit 1
26189 @endif sid
26191 .PHONY: maybe-distclean-sid distclean-sid
26192 maybe-distclean-sid:
26193 @if sid
26194 maybe-distclean-sid: distclean-sid
26196 distclean-sid:
26197 @: $(MAKE); $(unstage)
26198 @[ -f ./sid/Makefile ] || exit 0; \
26199 r=`${PWD_COMMAND}`; export r; \
26200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26201 $(HOST_EXPORTS) \
26202 for flag in $(EXTRA_HOST_FLAGS) ; do \
26203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26204 done; \
26205 echo "Doing distclean in sid"; \
26206 (cd $(HOST_SUBDIR)/sid && \
26207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26209 "RANLIB=$${RANLIB}" \
26210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26211 distclean) \
26212 || exit 1
26214 @endif sid
26216 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26217 maybe-maintainer-clean-sid:
26218 @if sid
26219 maybe-maintainer-clean-sid: maintainer-clean-sid
26221 maintainer-clean-sid:
26222 @: $(MAKE); $(unstage)
26223 @[ -f ./sid/Makefile ] || exit 0; \
26224 r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 $(HOST_EXPORTS) \
26227 for flag in $(EXTRA_HOST_FLAGS) ; do \
26228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26229 done; \
26230 echo "Doing maintainer-clean in sid"; \
26231 (cd $(HOST_SUBDIR)/sid && \
26232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26234 "RANLIB=$${RANLIB}" \
26235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26236 maintainer-clean) \
26237 || exit 1
26239 @endif sid
26243 .PHONY: configure-sim maybe-configure-sim
26244 maybe-configure-sim:
26245 @if gcc-bootstrap
26246 configure-sim: stage_current
26247 @endif gcc-bootstrap
26248 @if sim
26249 maybe-configure-sim: configure-sim
26250 configure-sim:
26251 @: $(MAKE); $(unstage)
26252 @r=`${PWD_COMMAND}`; export r; \
26253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26254 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
26256 $(HOST_EXPORTS) \
26257 echo Configuring in $(HOST_SUBDIR)/sim; \
26258 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26259 case $(srcdir) in \
26260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26261 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26263 esac; \
26264 module_srcdir=sim; \
26265 $(SHELL) \
26266 $$s/$$module_srcdir/configure \
26267 --srcdir=$${topdir}/$$module_srcdir \
26268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26269 --target=${target_alias} \
26270 || exit 1
26271 @endif sim
26277 .PHONY: all-sim maybe-all-sim
26278 maybe-all-sim:
26279 @if gcc-bootstrap
26280 all-sim: stage_current
26281 @endif gcc-bootstrap
26282 @if sim
26283 TARGET-sim=all
26284 maybe-all-sim: all-sim
26285 all-sim: configure-sim
26286 @: $(MAKE); $(unstage)
26287 @r=`${PWD_COMMAND}`; export r; \
26288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26289 $(HOST_EXPORTS) \
26290 (cd $(HOST_SUBDIR)/sim && \
26291 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26292 $(TARGET-sim))
26293 @endif sim
26298 .PHONY: check-sim maybe-check-sim
26299 maybe-check-sim:
26300 @if sim
26301 maybe-check-sim: check-sim
26303 check-sim:
26304 @: $(MAKE); $(unstage)
26305 @r=`${PWD_COMMAND}`; export r; \
26306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26307 $(HOST_EXPORTS) \
26308 (cd $(HOST_SUBDIR)/sim && \
26309 $(MAKE) $(FLAGS_TO_PASS) check)
26311 @endif sim
26313 .PHONY: install-sim maybe-install-sim
26314 maybe-install-sim:
26315 @if sim
26316 maybe-install-sim: install-sim
26318 install-sim: installdirs
26319 @: $(MAKE); $(unstage)
26320 @r=`${PWD_COMMAND}`; export r; \
26321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26322 $(HOST_EXPORTS) \
26323 (cd $(HOST_SUBDIR)/sim && \
26324 $(MAKE) $(FLAGS_TO_PASS) install)
26326 @endif sim
26328 .PHONY: install-strip-sim maybe-install-strip-sim
26329 maybe-install-strip-sim:
26330 @if sim
26331 maybe-install-strip-sim: install-strip-sim
26333 install-strip-sim: installdirs
26334 @: $(MAKE); $(unstage)
26335 @r=`${PWD_COMMAND}`; export r; \
26336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26337 $(HOST_EXPORTS) \
26338 (cd $(HOST_SUBDIR)/sim && \
26339 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26341 @endif sim
26343 # Other targets (info, dvi, pdf, etc.)
26345 .PHONY: maybe-info-sim info-sim
26346 maybe-info-sim:
26347 @if sim
26348 maybe-info-sim: info-sim
26350 info-sim: \
26351 configure-sim
26352 @: $(MAKE); $(unstage)
26353 @[ -f ./sim/Makefile ] || exit 0; \
26354 r=`${PWD_COMMAND}`; export r; \
26355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26356 $(HOST_EXPORTS) \
26357 for flag in $(EXTRA_HOST_FLAGS) ; do \
26358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26359 done; \
26360 echo "Doing info in sim"; \
26361 (cd $(HOST_SUBDIR)/sim && \
26362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26364 "RANLIB=$${RANLIB}" \
26365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26366 info) \
26367 || exit 1
26369 @endif sim
26371 .PHONY: maybe-dvi-sim dvi-sim
26372 maybe-dvi-sim:
26373 @if sim
26374 maybe-dvi-sim: dvi-sim
26376 dvi-sim: \
26377 configure-sim
26378 @: $(MAKE); $(unstage)
26379 @[ -f ./sim/Makefile ] || exit 0; \
26380 r=`${PWD_COMMAND}`; export r; \
26381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26382 $(HOST_EXPORTS) \
26383 for flag in $(EXTRA_HOST_FLAGS) ; do \
26384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26385 done; \
26386 echo "Doing dvi in sim"; \
26387 (cd $(HOST_SUBDIR)/sim && \
26388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26390 "RANLIB=$${RANLIB}" \
26391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26392 dvi) \
26393 || exit 1
26395 @endif sim
26397 .PHONY: maybe-pdf-sim pdf-sim
26398 maybe-pdf-sim:
26399 @if sim
26400 maybe-pdf-sim: pdf-sim
26402 pdf-sim: \
26403 configure-sim
26404 @: $(MAKE); $(unstage)
26405 @[ -f ./sim/Makefile ] || exit 0; \
26406 r=`${PWD_COMMAND}`; export r; \
26407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26408 $(HOST_EXPORTS) \
26409 for flag in $(EXTRA_HOST_FLAGS) ; do \
26410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26411 done; \
26412 echo "Doing pdf in sim"; \
26413 (cd $(HOST_SUBDIR)/sim && \
26414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416 "RANLIB=$${RANLIB}" \
26417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26418 pdf) \
26419 || exit 1
26421 @endif sim
26423 .PHONY: maybe-html-sim html-sim
26424 maybe-html-sim:
26425 @if sim
26426 maybe-html-sim: html-sim
26428 html-sim: \
26429 configure-sim
26430 @: $(MAKE); $(unstage)
26431 @[ -f ./sim/Makefile ] || exit 0; \
26432 r=`${PWD_COMMAND}`; export r; \
26433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26434 $(HOST_EXPORTS) \
26435 for flag in $(EXTRA_HOST_FLAGS) ; do \
26436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26437 done; \
26438 echo "Doing html in sim"; \
26439 (cd $(HOST_SUBDIR)/sim && \
26440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26442 "RANLIB=$${RANLIB}" \
26443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26444 html) \
26445 || exit 1
26447 @endif sim
26449 .PHONY: maybe-TAGS-sim TAGS-sim
26450 maybe-TAGS-sim:
26451 @if sim
26452 maybe-TAGS-sim: TAGS-sim
26454 TAGS-sim: \
26455 configure-sim
26456 @: $(MAKE); $(unstage)
26457 @[ -f ./sim/Makefile ] || exit 0; \
26458 r=`${PWD_COMMAND}`; export r; \
26459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26460 $(HOST_EXPORTS) \
26461 for flag in $(EXTRA_HOST_FLAGS) ; do \
26462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26463 done; \
26464 echo "Doing TAGS in sim"; \
26465 (cd $(HOST_SUBDIR)/sim && \
26466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26468 "RANLIB=$${RANLIB}" \
26469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26470 TAGS) \
26471 || exit 1
26473 @endif sim
26475 .PHONY: maybe-install-info-sim install-info-sim
26476 maybe-install-info-sim:
26477 @if sim
26478 maybe-install-info-sim: install-info-sim
26480 install-info-sim: \
26481 configure-sim \
26482 info-sim
26483 @: $(MAKE); $(unstage)
26484 @[ -f ./sim/Makefile ] || exit 0; \
26485 r=`${PWD_COMMAND}`; export r; \
26486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26487 $(HOST_EXPORTS) \
26488 for flag in $(EXTRA_HOST_FLAGS) ; do \
26489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26490 done; \
26491 echo "Doing install-info in sim"; \
26492 (cd $(HOST_SUBDIR)/sim && \
26493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26495 "RANLIB=$${RANLIB}" \
26496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26497 install-info) \
26498 || exit 1
26500 @endif sim
26502 .PHONY: maybe-install-pdf-sim install-pdf-sim
26503 maybe-install-pdf-sim:
26504 @if sim
26505 maybe-install-pdf-sim: install-pdf-sim
26507 install-pdf-sim: \
26508 configure-sim \
26509 pdf-sim
26510 @: $(MAKE); $(unstage)
26511 @[ -f ./sim/Makefile ] || exit 0; \
26512 r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 $(HOST_EXPORTS) \
26515 for flag in $(EXTRA_HOST_FLAGS) ; do \
26516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26517 done; \
26518 echo "Doing install-pdf in sim"; \
26519 (cd $(HOST_SUBDIR)/sim && \
26520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26522 "RANLIB=$${RANLIB}" \
26523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26524 install-pdf) \
26525 || exit 1
26527 @endif sim
26529 .PHONY: maybe-install-html-sim install-html-sim
26530 maybe-install-html-sim:
26531 @if sim
26532 maybe-install-html-sim: install-html-sim
26534 install-html-sim: \
26535 configure-sim \
26536 html-sim
26537 @: $(MAKE); $(unstage)
26538 @[ -f ./sim/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 install-html in sim"; \
26546 (cd $(HOST_SUBDIR)/sim && \
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 install-html) \
26552 || exit 1
26554 @endif sim
26556 .PHONY: maybe-installcheck-sim installcheck-sim
26557 maybe-installcheck-sim:
26558 @if sim
26559 maybe-installcheck-sim: installcheck-sim
26561 installcheck-sim: \
26562 configure-sim
26563 @: $(MAKE); $(unstage)
26564 @[ -f ./sim/Makefile ] || exit 0; \
26565 r=`${PWD_COMMAND}`; export r; \
26566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26567 $(HOST_EXPORTS) \
26568 for flag in $(EXTRA_HOST_FLAGS) ; do \
26569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26570 done; \
26571 echo "Doing installcheck in sim"; \
26572 (cd $(HOST_SUBDIR)/sim && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575 "RANLIB=$${RANLIB}" \
26576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26577 installcheck) \
26578 || exit 1
26580 @endif sim
26582 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26583 maybe-mostlyclean-sim:
26584 @if sim
26585 maybe-mostlyclean-sim: mostlyclean-sim
26587 mostlyclean-sim:
26588 @: $(MAKE); $(unstage)
26589 @[ -f ./sim/Makefile ] || exit 0; \
26590 r=`${PWD_COMMAND}`; export r; \
26591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26592 $(HOST_EXPORTS) \
26593 for flag in $(EXTRA_HOST_FLAGS) ; do \
26594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26595 done; \
26596 echo "Doing mostlyclean in sim"; \
26597 (cd $(HOST_SUBDIR)/sim && \
26598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26600 "RANLIB=$${RANLIB}" \
26601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26602 mostlyclean) \
26603 || exit 1
26605 @endif sim
26607 .PHONY: maybe-clean-sim clean-sim
26608 maybe-clean-sim:
26609 @if sim
26610 maybe-clean-sim: clean-sim
26612 clean-sim:
26613 @: $(MAKE); $(unstage)
26614 @[ -f ./sim/Makefile ] || exit 0; \
26615 r=`${PWD_COMMAND}`; export r; \
26616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26617 $(HOST_EXPORTS) \
26618 for flag in $(EXTRA_HOST_FLAGS) ; do \
26619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26620 done; \
26621 echo "Doing clean in sim"; \
26622 (cd $(HOST_SUBDIR)/sim && \
26623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26625 "RANLIB=$${RANLIB}" \
26626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26627 clean) \
26628 || exit 1
26630 @endif sim
26632 .PHONY: maybe-distclean-sim distclean-sim
26633 maybe-distclean-sim:
26634 @if sim
26635 maybe-distclean-sim: distclean-sim
26637 distclean-sim:
26638 @: $(MAKE); $(unstage)
26639 @[ -f ./sim/Makefile ] || exit 0; \
26640 r=`${PWD_COMMAND}`; export r; \
26641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 $(HOST_EXPORTS) \
26643 for flag in $(EXTRA_HOST_FLAGS) ; do \
26644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26645 done; \
26646 echo "Doing distclean in sim"; \
26647 (cd $(HOST_SUBDIR)/sim && \
26648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26650 "RANLIB=$${RANLIB}" \
26651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26652 distclean) \
26653 || exit 1
26655 @endif sim
26657 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26658 maybe-maintainer-clean-sim:
26659 @if sim
26660 maybe-maintainer-clean-sim: maintainer-clean-sim
26662 maintainer-clean-sim:
26663 @: $(MAKE); $(unstage)
26664 @[ -f ./sim/Makefile ] || exit 0; \
26665 r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26667 $(HOST_EXPORTS) \
26668 for flag in $(EXTRA_HOST_FLAGS) ; do \
26669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26670 done; \
26671 echo "Doing maintainer-clean in sim"; \
26672 (cd $(HOST_SUBDIR)/sim && \
26673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26675 "RANLIB=$${RANLIB}" \
26676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26677 maintainer-clean) \
26678 || exit 1
26680 @endif sim
26684 .PHONY: configure-texinfo maybe-configure-texinfo
26685 maybe-configure-texinfo:
26686 @if gcc-bootstrap
26687 configure-texinfo: stage_current
26688 @endif gcc-bootstrap
26689 @if texinfo
26690 maybe-configure-texinfo: configure-texinfo
26691 configure-texinfo:
26692 @: $(MAKE); $(unstage)
26693 @r=`${PWD_COMMAND}`; export r; \
26694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26695 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
26697 $(HOST_EXPORTS) \
26698 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26699 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26700 case $(srcdir) in \
26701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26702 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26704 esac; \
26705 module_srcdir=texinfo; \
26706 $(SHELL) \
26707 $$s/$$module_srcdir/configure \
26708 --srcdir=$${topdir}/$$module_srcdir \
26709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26710 --target=${target_alias} \
26711 || exit 1
26712 @endif texinfo
26718 .PHONY: all-texinfo maybe-all-texinfo
26719 maybe-all-texinfo:
26720 @if gcc-bootstrap
26721 all-texinfo: stage_current
26722 @endif gcc-bootstrap
26723 @if texinfo
26724 TARGET-texinfo=all
26725 maybe-all-texinfo: all-texinfo
26726 all-texinfo: configure-texinfo
26727 @: $(MAKE); $(unstage)
26728 @r=`${PWD_COMMAND}`; export r; \
26729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26730 $(HOST_EXPORTS) \
26731 (cd $(HOST_SUBDIR)/texinfo && \
26732 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26733 $(TARGET-texinfo))
26734 @endif texinfo
26739 .PHONY: check-texinfo maybe-check-texinfo
26740 maybe-check-texinfo:
26741 @if texinfo
26742 maybe-check-texinfo: check-texinfo
26744 check-texinfo:
26745 @: $(MAKE); $(unstage)
26746 @r=`${PWD_COMMAND}`; export r; \
26747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26748 $(HOST_EXPORTS) \
26749 (cd $(HOST_SUBDIR)/texinfo && \
26750 $(MAKE) $(FLAGS_TO_PASS) check)
26752 @endif texinfo
26754 .PHONY: install-texinfo maybe-install-texinfo
26755 maybe-install-texinfo:
26756 @if texinfo
26757 maybe-install-texinfo: install-texinfo
26759 install-texinfo:
26761 @endif texinfo
26763 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
26764 maybe-install-strip-texinfo:
26765 @if texinfo
26766 maybe-install-strip-texinfo: install-strip-texinfo
26768 install-strip-texinfo:
26770 @endif texinfo
26772 # Other targets (info, dvi, pdf, etc.)
26774 .PHONY: maybe-info-texinfo info-texinfo
26775 maybe-info-texinfo:
26776 @if texinfo
26777 maybe-info-texinfo: info-texinfo
26779 info-texinfo: \
26780 configure-texinfo
26781 @: $(MAKE); $(unstage)
26782 @[ -f ./texinfo/Makefile ] || exit 0; \
26783 r=`${PWD_COMMAND}`; export r; \
26784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26785 $(HOST_EXPORTS) \
26786 for flag in $(EXTRA_HOST_FLAGS) ; do \
26787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26788 done; \
26789 echo "Doing info in texinfo"; \
26790 (cd $(HOST_SUBDIR)/texinfo && \
26791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26793 "RANLIB=$${RANLIB}" \
26794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26795 info) \
26796 || exit 1
26798 @endif texinfo
26800 .PHONY: maybe-dvi-texinfo dvi-texinfo
26801 maybe-dvi-texinfo:
26802 @if texinfo
26803 maybe-dvi-texinfo: dvi-texinfo
26805 dvi-texinfo: \
26806 configure-texinfo
26807 @: $(MAKE); $(unstage)
26808 @[ -f ./texinfo/Makefile ] || exit 0; \
26809 r=`${PWD_COMMAND}`; export r; \
26810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26811 $(HOST_EXPORTS) \
26812 for flag in $(EXTRA_HOST_FLAGS) ; do \
26813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26814 done; \
26815 echo "Doing dvi in texinfo"; \
26816 (cd $(HOST_SUBDIR)/texinfo && \
26817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26819 "RANLIB=$${RANLIB}" \
26820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26821 dvi) \
26822 || exit 1
26824 @endif texinfo
26826 .PHONY: maybe-pdf-texinfo pdf-texinfo
26827 maybe-pdf-texinfo:
26828 @if texinfo
26829 maybe-pdf-texinfo: pdf-texinfo
26831 pdf-texinfo: \
26832 configure-texinfo
26833 @: $(MAKE); $(unstage)
26834 @[ -f ./texinfo/Makefile ] || exit 0; \
26835 r=`${PWD_COMMAND}`; export r; \
26836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26837 $(HOST_EXPORTS) \
26838 for flag in $(EXTRA_HOST_FLAGS) ; do \
26839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26840 done; \
26841 echo "Doing pdf in texinfo"; \
26842 (cd $(HOST_SUBDIR)/texinfo && \
26843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26845 "RANLIB=$${RANLIB}" \
26846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26847 pdf) \
26848 || exit 1
26850 @endif texinfo
26852 .PHONY: maybe-html-texinfo html-texinfo
26853 maybe-html-texinfo:
26854 @if texinfo
26855 maybe-html-texinfo: html-texinfo
26857 html-texinfo: \
26858 configure-texinfo
26859 @: $(MAKE); $(unstage)
26860 @[ -f ./texinfo/Makefile ] || exit 0; \
26861 r=`${PWD_COMMAND}`; export r; \
26862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26863 $(HOST_EXPORTS) \
26864 for flag in $(EXTRA_HOST_FLAGS) ; do \
26865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26866 done; \
26867 echo "Doing html in texinfo"; \
26868 (cd $(HOST_SUBDIR)/texinfo && \
26869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26871 "RANLIB=$${RANLIB}" \
26872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26873 html) \
26874 || exit 1
26876 @endif texinfo
26878 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26879 maybe-TAGS-texinfo:
26880 @if texinfo
26881 maybe-TAGS-texinfo: TAGS-texinfo
26883 TAGS-texinfo: \
26884 configure-texinfo
26885 @: $(MAKE); $(unstage)
26886 @[ -f ./texinfo/Makefile ] || exit 0; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26889 $(HOST_EXPORTS) \
26890 for flag in $(EXTRA_HOST_FLAGS) ; do \
26891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26892 done; \
26893 echo "Doing TAGS in texinfo"; \
26894 (cd $(HOST_SUBDIR)/texinfo && \
26895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26897 "RANLIB=$${RANLIB}" \
26898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26899 TAGS) \
26900 || exit 1
26902 @endif texinfo
26904 .PHONY: maybe-install-info-texinfo install-info-texinfo
26905 maybe-install-info-texinfo:
26906 @if texinfo
26907 maybe-install-info-texinfo: install-info-texinfo
26909 install-info-texinfo: \
26910 configure-texinfo \
26911 info-texinfo
26912 @: $(MAKE); $(unstage)
26913 @[ -f ./texinfo/Makefile ] || exit 0; \
26914 r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(HOST_EXPORTS) \
26917 for flag in $(EXTRA_HOST_FLAGS) ; do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26919 done; \
26920 echo "Doing install-info in texinfo"; \
26921 (cd $(HOST_SUBDIR)/texinfo && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26924 "RANLIB=$${RANLIB}" \
26925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26926 install-info) \
26927 || exit 1
26929 @endif texinfo
26931 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
26932 maybe-install-pdf-texinfo:
26933 @if texinfo
26934 maybe-install-pdf-texinfo: install-pdf-texinfo
26936 install-pdf-texinfo: \
26937 configure-texinfo \
26938 pdf-texinfo
26939 @: $(MAKE); $(unstage)
26940 @[ -f ./texinfo/Makefile ] || exit 0; \
26941 r=`${PWD_COMMAND}`; export r; \
26942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26943 $(HOST_EXPORTS) \
26944 for flag in $(EXTRA_HOST_FLAGS) ; do \
26945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26946 done; \
26947 echo "Doing install-pdf in texinfo"; \
26948 (cd $(HOST_SUBDIR)/texinfo && \
26949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26951 "RANLIB=$${RANLIB}" \
26952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26953 install-pdf) \
26954 || exit 1
26956 @endif texinfo
26958 .PHONY: maybe-install-html-texinfo install-html-texinfo
26959 maybe-install-html-texinfo:
26960 @if texinfo
26961 maybe-install-html-texinfo: install-html-texinfo
26963 install-html-texinfo: \
26964 configure-texinfo \
26965 html-texinfo
26966 @: $(MAKE); $(unstage)
26967 @[ -f ./texinfo/Makefile ] || exit 0; \
26968 r=`${PWD_COMMAND}`; export r; \
26969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26970 $(HOST_EXPORTS) \
26971 for flag in $(EXTRA_HOST_FLAGS) ; do \
26972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26973 done; \
26974 echo "Doing install-html in texinfo"; \
26975 (cd $(HOST_SUBDIR)/texinfo && \
26976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26978 "RANLIB=$${RANLIB}" \
26979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26980 install-html) \
26981 || exit 1
26983 @endif texinfo
26985 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26986 maybe-installcheck-texinfo:
26987 @if texinfo
26988 maybe-installcheck-texinfo: installcheck-texinfo
26990 installcheck-texinfo: \
26991 configure-texinfo
26992 @: $(MAKE); $(unstage)
26993 @[ -f ./texinfo/Makefile ] || exit 0; \
26994 r=`${PWD_COMMAND}`; export r; \
26995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26996 $(HOST_EXPORTS) \
26997 for flag in $(EXTRA_HOST_FLAGS) ; do \
26998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26999 done; \
27000 echo "Doing installcheck in texinfo"; \
27001 (cd $(HOST_SUBDIR)/texinfo && \
27002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27004 "RANLIB=$${RANLIB}" \
27005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27006 installcheck) \
27007 || exit 1
27009 @endif texinfo
27011 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27012 maybe-mostlyclean-texinfo:
27013 @if texinfo
27014 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27016 mostlyclean-texinfo:
27017 @: $(MAKE); $(unstage)
27018 @[ -f ./texinfo/Makefile ] || exit 0; \
27019 r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27021 $(HOST_EXPORTS) \
27022 for flag in $(EXTRA_HOST_FLAGS) ; do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27024 done; \
27025 echo "Doing mostlyclean in texinfo"; \
27026 (cd $(HOST_SUBDIR)/texinfo && \
27027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27029 "RANLIB=$${RANLIB}" \
27030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27031 mostlyclean) \
27032 || exit 1
27034 @endif texinfo
27036 .PHONY: maybe-clean-texinfo clean-texinfo
27037 maybe-clean-texinfo:
27038 @if texinfo
27039 maybe-clean-texinfo: clean-texinfo
27041 clean-texinfo:
27042 @: $(MAKE); $(unstage)
27043 @[ -f ./texinfo/Makefile ] || exit 0; \
27044 r=`${PWD_COMMAND}`; export r; \
27045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27046 $(HOST_EXPORTS) \
27047 for flag in $(EXTRA_HOST_FLAGS) ; do \
27048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27049 done; \
27050 echo "Doing clean in texinfo"; \
27051 (cd $(HOST_SUBDIR)/texinfo && \
27052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27054 "RANLIB=$${RANLIB}" \
27055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27056 clean) \
27057 || exit 1
27059 @endif texinfo
27061 .PHONY: maybe-distclean-texinfo distclean-texinfo
27062 maybe-distclean-texinfo:
27063 @if texinfo
27064 maybe-distclean-texinfo: distclean-texinfo
27066 distclean-texinfo:
27067 @: $(MAKE); $(unstage)
27068 @[ -f ./texinfo/Makefile ] || exit 0; \
27069 r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 $(HOST_EXPORTS) \
27072 for flag in $(EXTRA_HOST_FLAGS) ; do \
27073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27074 done; \
27075 echo "Doing distclean in texinfo"; \
27076 (cd $(HOST_SUBDIR)/texinfo && \
27077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27079 "RANLIB=$${RANLIB}" \
27080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27081 distclean) \
27082 || exit 1
27084 @endif texinfo
27086 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
27087 maybe-maintainer-clean-texinfo:
27088 @if texinfo
27089 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
27091 maintainer-clean-texinfo:
27092 @: $(MAKE); $(unstage)
27093 @[ -f ./texinfo/Makefile ] || exit 0; \
27094 r=`${PWD_COMMAND}`; export r; \
27095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27096 $(HOST_EXPORTS) \
27097 for flag in $(EXTRA_HOST_FLAGS) ; do \
27098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27099 done; \
27100 echo "Doing maintainer-clean in texinfo"; \
27101 (cd $(HOST_SUBDIR)/texinfo && \
27102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27104 "RANLIB=$${RANLIB}" \
27105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27106 maintainer-clean) \
27107 || exit 1
27109 @endif texinfo
27113 .PHONY: configure-zlib maybe-configure-zlib
27114 maybe-configure-zlib:
27115 @if gcc-bootstrap
27116 configure-zlib: stage_current
27117 @endif gcc-bootstrap
27118 @if zlib
27119 maybe-configure-zlib: configure-zlib
27120 configure-zlib:
27121 @r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27125 $(HOST_EXPORTS) \
27126 echo Configuring in $(HOST_SUBDIR)/zlib; \
27127 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
27128 case $(srcdir) in \
27129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27130 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27132 esac; \
27133 module_srcdir=zlib; \
27134 $(SHELL) \
27135 $$s/$$module_srcdir/configure \
27136 --srcdir=$${topdir}/$$module_srcdir \
27137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27138 --target=${target_alias} @extra_host_zlib_configure_flags@ \
27139 || exit 1
27140 @endif zlib
27144 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
27145 maybe-configure-stage1-zlib:
27146 @if zlib-bootstrap
27147 maybe-configure-stage1-zlib: configure-stage1-zlib
27148 configure-stage1-zlib:
27149 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27151 @r=`${PWD_COMMAND}`; export r; \
27152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27153 TFLAGS="$(STAGE1_TFLAGS)"; \
27154 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27155 $(HOST_EXPORTS) \
27156 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27157 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27158 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27159 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
27160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27161 cd $(HOST_SUBDIR)/zlib || exit 1; \
27162 case $(srcdir) in \
27163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27164 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27166 esac; \
27167 module_srcdir=zlib; \
27168 $(SHELL) $$s/$$module_srcdir/configure \
27169 --srcdir=$${topdir}/$$module_srcdir \
27170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27171 --target=${target_alias} \
27173 $(STAGE1_CONFIGURE_FLAGS) \
27174 @extra_host_zlib_configure_flags@
27175 @endif zlib-bootstrap
27177 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
27178 maybe-configure-stage2-zlib:
27179 @if zlib-bootstrap
27180 maybe-configure-stage2-zlib: configure-stage2-zlib
27181 configure-stage2-zlib:
27182 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27183 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27184 @r=`${PWD_COMMAND}`; export r; \
27185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27186 TFLAGS="$(STAGE2_TFLAGS)"; \
27187 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27188 $(HOST_EXPORTS) \
27189 $(POSTSTAGE1_HOST_EXPORTS) \
27190 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27191 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27192 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27193 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
27194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27195 cd $(HOST_SUBDIR)/zlib || exit 1; \
27196 case $(srcdir) in \
27197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27198 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27200 esac; \
27201 module_srcdir=zlib; \
27202 $(SHELL) $$s/$$module_srcdir/configure \
27203 --srcdir=$${topdir}/$$module_srcdir \
27204 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27205 --target=${target_alias} \
27206 --with-build-libsubdir=$(HOST_SUBDIR) \
27207 $(STAGE2_CONFIGURE_FLAGS) \
27208 @extra_host_zlib_configure_flags@
27209 @endif zlib-bootstrap
27211 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
27212 maybe-configure-stage3-zlib:
27213 @if zlib-bootstrap
27214 maybe-configure-stage3-zlib: configure-stage3-zlib
27215 configure-stage3-zlib:
27216 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27218 @r=`${PWD_COMMAND}`; export r; \
27219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27220 TFLAGS="$(STAGE3_TFLAGS)"; \
27221 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27222 $(HOST_EXPORTS) \
27223 $(POSTSTAGE1_HOST_EXPORTS) \
27224 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27225 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27226 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27227 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
27228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27229 cd $(HOST_SUBDIR)/zlib || exit 1; \
27230 case $(srcdir) in \
27231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27232 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27234 esac; \
27235 module_srcdir=zlib; \
27236 $(SHELL) $$s/$$module_srcdir/configure \
27237 --srcdir=$${topdir}/$$module_srcdir \
27238 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27239 --target=${target_alias} \
27240 --with-build-libsubdir=$(HOST_SUBDIR) \
27241 $(STAGE3_CONFIGURE_FLAGS) \
27242 @extra_host_zlib_configure_flags@
27243 @endif zlib-bootstrap
27245 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
27246 maybe-configure-stage4-zlib:
27247 @if zlib-bootstrap
27248 maybe-configure-stage4-zlib: configure-stage4-zlib
27249 configure-stage4-zlib:
27250 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27251 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27252 @r=`${PWD_COMMAND}`; export r; \
27253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27254 TFLAGS="$(STAGE4_TFLAGS)"; \
27255 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27256 $(HOST_EXPORTS) \
27257 $(POSTSTAGE1_HOST_EXPORTS) \
27258 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27259 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27260 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27261 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
27262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27263 cd $(HOST_SUBDIR)/zlib || exit 1; \
27264 case $(srcdir) in \
27265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27266 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27268 esac; \
27269 module_srcdir=zlib; \
27270 $(SHELL) $$s/$$module_srcdir/configure \
27271 --srcdir=$${topdir}/$$module_srcdir \
27272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27273 --target=${target_alias} \
27274 --with-build-libsubdir=$(HOST_SUBDIR) \
27275 $(STAGE4_CONFIGURE_FLAGS) \
27276 @extra_host_zlib_configure_flags@
27277 @endif zlib-bootstrap
27279 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
27280 maybe-configure-stageprofile-zlib:
27281 @if zlib-bootstrap
27282 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
27283 configure-stageprofile-zlib:
27284 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27285 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27286 @r=`${PWD_COMMAND}`; export r; \
27287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27288 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27289 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27290 $(HOST_EXPORTS) \
27291 $(POSTSTAGE1_HOST_EXPORTS) \
27292 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27293 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27294 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27295 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
27296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27297 cd $(HOST_SUBDIR)/zlib || exit 1; \
27298 case $(srcdir) in \
27299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27300 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27302 esac; \
27303 module_srcdir=zlib; \
27304 $(SHELL) $$s/$$module_srcdir/configure \
27305 --srcdir=$${topdir}/$$module_srcdir \
27306 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27307 --target=${target_alias} \
27308 --with-build-libsubdir=$(HOST_SUBDIR) \
27309 $(STAGEprofile_CONFIGURE_FLAGS) \
27310 @extra_host_zlib_configure_flags@
27311 @endif zlib-bootstrap
27313 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
27314 maybe-configure-stagefeedback-zlib:
27315 @if zlib-bootstrap
27316 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
27317 configure-stagefeedback-zlib:
27318 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27319 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27320 @r=`${PWD_COMMAND}`; export r; \
27321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27322 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27323 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27324 $(HOST_EXPORTS) \
27325 $(POSTSTAGE1_HOST_EXPORTS) \
27326 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27327 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27328 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27329 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
27330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27331 cd $(HOST_SUBDIR)/zlib || exit 1; \
27332 case $(srcdir) in \
27333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27334 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27336 esac; \
27337 module_srcdir=zlib; \
27338 $(SHELL) $$s/$$module_srcdir/configure \
27339 --srcdir=$${topdir}/$$module_srcdir \
27340 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27341 --target=${target_alias} \
27342 --with-build-libsubdir=$(HOST_SUBDIR) \
27343 $(STAGEfeedback_CONFIGURE_FLAGS) \
27344 @extra_host_zlib_configure_flags@
27345 @endif zlib-bootstrap
27351 .PHONY: all-zlib maybe-all-zlib
27352 maybe-all-zlib:
27353 @if gcc-bootstrap
27354 all-zlib: stage_current
27355 @endif gcc-bootstrap
27356 @if zlib
27357 TARGET-zlib=all
27358 maybe-all-zlib: all-zlib
27359 all-zlib: configure-zlib
27360 @r=`${PWD_COMMAND}`; export r; \
27361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27362 $(HOST_EXPORTS) \
27363 (cd $(HOST_SUBDIR)/zlib && \
27364 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27365 $(TARGET-zlib))
27366 @endif zlib
27370 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
27371 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
27372 maybe-all-stage1-zlib:
27373 maybe-clean-stage1-zlib:
27374 @if zlib-bootstrap
27375 maybe-all-stage1-zlib: all-stage1-zlib
27376 all-stage1: all-stage1-zlib
27377 TARGET-stage1-zlib = $(TARGET-zlib)
27378 all-stage1-zlib: configure-stage1-zlib
27379 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27380 @r=`${PWD_COMMAND}`; export r; \
27381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27382 TFLAGS="$(STAGE1_TFLAGS)"; \
27383 $(HOST_EXPORTS) \
27384 cd $(HOST_SUBDIR)/zlib && \
27385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27386 CFLAGS="$(STAGE1_CFLAGS)" \
27387 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27388 LIBCFLAGS="$(LIBCFLAGS)" \
27389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27392 $(EXTRA_HOST_FLAGS) \
27393 $(STAGE1_FLAGS_TO_PASS) \
27394 TFLAGS="$(STAGE1_TFLAGS)" \
27395 $(TARGET-stage1-zlib)
27397 maybe-clean-stage1-zlib: clean-stage1-zlib
27398 clean-stage1: clean-stage1-zlib
27399 clean-stage1-zlib:
27400 @if [ $(current_stage) = stage1 ]; then \
27401 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27402 else \
27403 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
27404 $(MAKE) stage1-start; \
27405 fi; \
27406 cd $(HOST_SUBDIR)/zlib && \
27407 $(MAKE) $(EXTRA_HOST_FLAGS) \
27408 $(STAGE1_FLAGS_TO_PASS) clean
27409 @endif zlib-bootstrap
27412 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
27413 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
27414 maybe-all-stage2-zlib:
27415 maybe-clean-stage2-zlib:
27416 @if zlib-bootstrap
27417 maybe-all-stage2-zlib: all-stage2-zlib
27418 all-stage2: all-stage2-zlib
27419 TARGET-stage2-zlib = $(TARGET-zlib)
27420 all-stage2-zlib: configure-stage2-zlib
27421 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27422 @r=`${PWD_COMMAND}`; export r; \
27423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27424 TFLAGS="$(STAGE2_TFLAGS)"; \
27425 $(HOST_EXPORTS) \
27426 $(POSTSTAGE1_HOST_EXPORTS) \
27427 cd $(HOST_SUBDIR)/zlib && \
27428 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27429 CFLAGS="$(STAGE2_CFLAGS)" \
27430 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27431 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27432 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27433 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27434 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27435 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27436 TFLAGS="$(STAGE2_TFLAGS)" \
27437 $(TARGET-stage2-zlib)
27439 maybe-clean-stage2-zlib: clean-stage2-zlib
27440 clean-stage2: clean-stage2-zlib
27441 clean-stage2-zlib:
27442 @if [ $(current_stage) = stage2 ]; then \
27443 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27444 else \
27445 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
27446 $(MAKE) stage2-start; \
27447 fi; \
27448 cd $(HOST_SUBDIR)/zlib && \
27449 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27450 @endif zlib-bootstrap
27453 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
27454 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
27455 maybe-all-stage3-zlib:
27456 maybe-clean-stage3-zlib:
27457 @if zlib-bootstrap
27458 maybe-all-stage3-zlib: all-stage3-zlib
27459 all-stage3: all-stage3-zlib
27460 TARGET-stage3-zlib = $(TARGET-zlib)
27461 all-stage3-zlib: configure-stage3-zlib
27462 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27463 @r=`${PWD_COMMAND}`; export r; \
27464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465 TFLAGS="$(STAGE3_TFLAGS)"; \
27466 $(HOST_EXPORTS) \
27467 $(POSTSTAGE1_HOST_EXPORTS) \
27468 cd $(HOST_SUBDIR)/zlib && \
27469 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27470 CFLAGS="$(STAGE3_CFLAGS)" \
27471 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27472 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27473 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27474 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27475 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27476 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27477 TFLAGS="$(STAGE3_TFLAGS)" \
27478 $(TARGET-stage3-zlib)
27480 maybe-clean-stage3-zlib: clean-stage3-zlib
27481 clean-stage3: clean-stage3-zlib
27482 clean-stage3-zlib:
27483 @if [ $(current_stage) = stage3 ]; then \
27484 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27485 else \
27486 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27487 $(MAKE) stage3-start; \
27488 fi; \
27489 cd $(HOST_SUBDIR)/zlib && \
27490 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27491 @endif zlib-bootstrap
27494 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27495 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27496 maybe-all-stage4-zlib:
27497 maybe-clean-stage4-zlib:
27498 @if zlib-bootstrap
27499 maybe-all-stage4-zlib: all-stage4-zlib
27500 all-stage4: all-stage4-zlib
27501 TARGET-stage4-zlib = $(TARGET-zlib)
27502 all-stage4-zlib: configure-stage4-zlib
27503 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27504 @r=`${PWD_COMMAND}`; export r; \
27505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27506 TFLAGS="$(STAGE4_TFLAGS)"; \
27507 $(HOST_EXPORTS) \
27508 $(POSTSTAGE1_HOST_EXPORTS) \
27509 cd $(HOST_SUBDIR)/zlib && \
27510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27511 CFLAGS="$(STAGE4_CFLAGS)" \
27512 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27513 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27518 TFLAGS="$(STAGE4_TFLAGS)" \
27519 $(TARGET-stage4-zlib)
27521 maybe-clean-stage4-zlib: clean-stage4-zlib
27522 clean-stage4: clean-stage4-zlib
27523 clean-stage4-zlib:
27524 @if [ $(current_stage) = stage4 ]; then \
27525 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27526 else \
27527 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27528 $(MAKE) stage4-start; \
27529 fi; \
27530 cd $(HOST_SUBDIR)/zlib && \
27531 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27532 @endif zlib-bootstrap
27535 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27536 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27537 maybe-all-stageprofile-zlib:
27538 maybe-clean-stageprofile-zlib:
27539 @if zlib-bootstrap
27540 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27541 all-stageprofile: all-stageprofile-zlib
27542 TARGET-stageprofile-zlib = $(TARGET-zlib)
27543 all-stageprofile-zlib: configure-stageprofile-zlib
27544 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27545 @r=`${PWD_COMMAND}`; export r; \
27546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27547 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27548 $(HOST_EXPORTS) \
27549 $(POSTSTAGE1_HOST_EXPORTS) \
27550 cd $(HOST_SUBDIR)/zlib && \
27551 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27552 CFLAGS="$(STAGEprofile_CFLAGS)" \
27553 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27554 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27558 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27559 TFLAGS="$(STAGEprofile_TFLAGS)" \
27560 $(TARGET-stageprofile-zlib)
27562 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27563 clean-stageprofile: clean-stageprofile-zlib
27564 clean-stageprofile-zlib:
27565 @if [ $(current_stage) = stageprofile ]; then \
27566 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27567 else \
27568 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27569 $(MAKE) stageprofile-start; \
27570 fi; \
27571 cd $(HOST_SUBDIR)/zlib && \
27572 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27573 @endif zlib-bootstrap
27576 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27577 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27578 maybe-all-stagefeedback-zlib:
27579 maybe-clean-stagefeedback-zlib:
27580 @if zlib-bootstrap
27581 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27582 all-stagefeedback: all-stagefeedback-zlib
27583 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27584 all-stagefeedback-zlib: configure-stagefeedback-zlib
27585 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27586 @r=`${PWD_COMMAND}`; export r; \
27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27588 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27589 $(HOST_EXPORTS) \
27590 $(POSTSTAGE1_HOST_EXPORTS) \
27591 cd $(HOST_SUBDIR)/zlib && \
27592 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27593 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27594 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27595 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27596 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27597 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27598 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27599 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27600 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27601 $(TARGET-stagefeedback-zlib)
27603 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27604 clean-stagefeedback: clean-stagefeedback-zlib
27605 clean-stagefeedback-zlib:
27606 @if [ $(current_stage) = stagefeedback ]; then \
27607 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27608 else \
27609 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27610 $(MAKE) stagefeedback-start; \
27611 fi; \
27612 cd $(HOST_SUBDIR)/zlib && \
27613 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27614 @endif zlib-bootstrap
27620 .PHONY: check-zlib maybe-check-zlib
27621 maybe-check-zlib:
27622 @if zlib
27623 maybe-check-zlib: check-zlib
27625 check-zlib:
27627 @endif zlib
27629 .PHONY: install-zlib maybe-install-zlib
27630 maybe-install-zlib:
27631 @if zlib
27632 maybe-install-zlib: install-zlib
27634 install-zlib:
27636 @endif zlib
27638 .PHONY: install-strip-zlib maybe-install-strip-zlib
27639 maybe-install-strip-zlib:
27640 @if zlib
27641 maybe-install-strip-zlib: install-strip-zlib
27643 install-strip-zlib:
27645 @endif zlib
27647 # Other targets (info, dvi, pdf, etc.)
27649 .PHONY: maybe-info-zlib info-zlib
27650 maybe-info-zlib:
27651 @if zlib
27652 maybe-info-zlib: info-zlib
27654 info-zlib: \
27655 configure-zlib
27656 @[ -f ./zlib/Makefile ] || exit 0; \
27657 r=`${PWD_COMMAND}`; export r; \
27658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27659 $(HOST_EXPORTS) \
27660 for flag in $(EXTRA_HOST_FLAGS) ; do \
27661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27662 done; \
27663 echo "Doing info in zlib"; \
27664 (cd $(HOST_SUBDIR)/zlib && \
27665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27667 "RANLIB=$${RANLIB}" \
27668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27669 info) \
27670 || exit 1
27672 @endif zlib
27674 .PHONY: maybe-dvi-zlib dvi-zlib
27675 maybe-dvi-zlib:
27676 @if zlib
27677 maybe-dvi-zlib: dvi-zlib
27679 dvi-zlib: \
27680 configure-zlib
27681 @[ -f ./zlib/Makefile ] || exit 0; \
27682 r=`${PWD_COMMAND}`; export r; \
27683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27684 $(HOST_EXPORTS) \
27685 for flag in $(EXTRA_HOST_FLAGS) ; do \
27686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27687 done; \
27688 echo "Doing dvi in zlib"; \
27689 (cd $(HOST_SUBDIR)/zlib && \
27690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27692 "RANLIB=$${RANLIB}" \
27693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27694 dvi) \
27695 || exit 1
27697 @endif zlib
27699 .PHONY: maybe-pdf-zlib pdf-zlib
27700 maybe-pdf-zlib:
27701 @if zlib
27702 maybe-pdf-zlib: pdf-zlib
27704 pdf-zlib: \
27705 configure-zlib
27706 @[ -f ./zlib/Makefile ] || exit 0; \
27707 r=`${PWD_COMMAND}`; export r; \
27708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27709 $(HOST_EXPORTS) \
27710 for flag in $(EXTRA_HOST_FLAGS) ; do \
27711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27712 done; \
27713 echo "Doing pdf in zlib"; \
27714 (cd $(HOST_SUBDIR)/zlib && \
27715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27717 "RANLIB=$${RANLIB}" \
27718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27719 pdf) \
27720 || exit 1
27722 @endif zlib
27724 .PHONY: maybe-html-zlib html-zlib
27725 maybe-html-zlib:
27726 @if zlib
27727 maybe-html-zlib: html-zlib
27729 html-zlib: \
27730 configure-zlib
27731 @[ -f ./zlib/Makefile ] || exit 0; \
27732 r=`${PWD_COMMAND}`; export r; \
27733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27734 $(HOST_EXPORTS) \
27735 for flag in $(EXTRA_HOST_FLAGS) ; do \
27736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27737 done; \
27738 echo "Doing html in zlib"; \
27739 (cd $(HOST_SUBDIR)/zlib && \
27740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27742 "RANLIB=$${RANLIB}" \
27743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27744 html) \
27745 || exit 1
27747 @endif zlib
27749 .PHONY: maybe-TAGS-zlib TAGS-zlib
27750 maybe-TAGS-zlib:
27751 @if zlib
27752 maybe-TAGS-zlib: TAGS-zlib
27754 TAGS-zlib: \
27755 configure-zlib
27756 @[ -f ./zlib/Makefile ] || exit 0; \
27757 r=`${PWD_COMMAND}`; export r; \
27758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27759 $(HOST_EXPORTS) \
27760 for flag in $(EXTRA_HOST_FLAGS) ; do \
27761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27762 done; \
27763 echo "Doing TAGS in zlib"; \
27764 (cd $(HOST_SUBDIR)/zlib && \
27765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27767 "RANLIB=$${RANLIB}" \
27768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27769 TAGS) \
27770 || exit 1
27772 @endif zlib
27774 .PHONY: maybe-install-info-zlib install-info-zlib
27775 maybe-install-info-zlib:
27776 @if zlib
27777 maybe-install-info-zlib: install-info-zlib
27779 install-info-zlib: \
27780 configure-zlib \
27781 info-zlib
27782 @[ -f ./zlib/Makefile ] || exit 0; \
27783 r=`${PWD_COMMAND}`; export r; \
27784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27785 $(HOST_EXPORTS) \
27786 for flag in $(EXTRA_HOST_FLAGS) ; do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 done; \
27789 echo "Doing install-info in zlib"; \
27790 (cd $(HOST_SUBDIR)/zlib && \
27791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27793 "RANLIB=$${RANLIB}" \
27794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27795 install-info) \
27796 || exit 1
27798 @endif zlib
27800 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
27801 maybe-install-pdf-zlib:
27802 @if zlib
27803 maybe-install-pdf-zlib: install-pdf-zlib
27805 install-pdf-zlib: \
27806 configure-zlib \
27807 pdf-zlib
27808 @[ -f ./zlib/Makefile ] || exit 0; \
27809 r=`${PWD_COMMAND}`; export r; \
27810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27811 $(HOST_EXPORTS) \
27812 for flag in $(EXTRA_HOST_FLAGS) ; do \
27813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27814 done; \
27815 echo "Doing install-pdf in zlib"; \
27816 (cd $(HOST_SUBDIR)/zlib && \
27817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27819 "RANLIB=$${RANLIB}" \
27820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27821 install-pdf) \
27822 || exit 1
27824 @endif zlib
27826 .PHONY: maybe-install-html-zlib install-html-zlib
27827 maybe-install-html-zlib:
27828 @if zlib
27829 maybe-install-html-zlib: install-html-zlib
27831 install-html-zlib: \
27832 configure-zlib \
27833 html-zlib
27834 @[ -f ./zlib/Makefile ] || exit 0; \
27835 r=`${PWD_COMMAND}`; export r; \
27836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27837 $(HOST_EXPORTS) \
27838 for flag in $(EXTRA_HOST_FLAGS) ; do \
27839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27840 done; \
27841 echo "Doing install-html in zlib"; \
27842 (cd $(HOST_SUBDIR)/zlib && \
27843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27845 "RANLIB=$${RANLIB}" \
27846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27847 install-html) \
27848 || exit 1
27850 @endif zlib
27852 .PHONY: maybe-installcheck-zlib installcheck-zlib
27853 maybe-installcheck-zlib:
27854 @if zlib
27855 maybe-installcheck-zlib: installcheck-zlib
27857 installcheck-zlib: \
27858 configure-zlib
27859 @[ -f ./zlib/Makefile ] || exit 0; \
27860 r=`${PWD_COMMAND}`; export r; \
27861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27862 $(HOST_EXPORTS) \
27863 for flag in $(EXTRA_HOST_FLAGS) ; do \
27864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27865 done; \
27866 echo "Doing installcheck in zlib"; \
27867 (cd $(HOST_SUBDIR)/zlib && \
27868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27870 "RANLIB=$${RANLIB}" \
27871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27872 installcheck) \
27873 || exit 1
27875 @endif zlib
27877 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27878 maybe-mostlyclean-zlib:
27879 @if zlib
27880 maybe-mostlyclean-zlib: mostlyclean-zlib
27882 mostlyclean-zlib:
27883 @[ -f ./zlib/Makefile ] || exit 0; \
27884 r=`${PWD_COMMAND}`; export r; \
27885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27886 $(HOST_EXPORTS) \
27887 for flag in $(EXTRA_HOST_FLAGS) ; do \
27888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27889 done; \
27890 echo "Doing mostlyclean in zlib"; \
27891 (cd $(HOST_SUBDIR)/zlib && \
27892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27894 "RANLIB=$${RANLIB}" \
27895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27896 mostlyclean) \
27897 || exit 1
27899 @endif zlib
27901 .PHONY: maybe-clean-zlib clean-zlib
27902 maybe-clean-zlib:
27903 @if zlib
27904 maybe-clean-zlib: clean-zlib
27906 clean-zlib:
27907 @[ -f ./zlib/Makefile ] || exit 0; \
27908 r=`${PWD_COMMAND}`; export r; \
27909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27910 $(HOST_EXPORTS) \
27911 for flag in $(EXTRA_HOST_FLAGS) ; do \
27912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27913 done; \
27914 echo "Doing clean in zlib"; \
27915 (cd $(HOST_SUBDIR)/zlib && \
27916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27918 "RANLIB=$${RANLIB}" \
27919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27920 clean) \
27921 || exit 1
27923 @endif zlib
27925 .PHONY: maybe-distclean-zlib distclean-zlib
27926 maybe-distclean-zlib:
27927 @if zlib
27928 maybe-distclean-zlib: distclean-zlib
27930 distclean-zlib:
27931 @[ -f ./zlib/Makefile ] || exit 0; \
27932 r=`${PWD_COMMAND}`; export r; \
27933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27934 $(HOST_EXPORTS) \
27935 for flag in $(EXTRA_HOST_FLAGS) ; do \
27936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27937 done; \
27938 echo "Doing distclean in zlib"; \
27939 (cd $(HOST_SUBDIR)/zlib && \
27940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27942 "RANLIB=$${RANLIB}" \
27943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27944 distclean) \
27945 || exit 1
27947 @endif zlib
27949 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27950 maybe-maintainer-clean-zlib:
27951 @if zlib
27952 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27954 maintainer-clean-zlib:
27955 @[ -f ./zlib/Makefile ] || exit 0; \
27956 r=`${PWD_COMMAND}`; export r; \
27957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27958 $(HOST_EXPORTS) \
27959 for flag in $(EXTRA_HOST_FLAGS) ; do \
27960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27961 done; \
27962 echo "Doing maintainer-clean in zlib"; \
27963 (cd $(HOST_SUBDIR)/zlib && \
27964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27966 "RANLIB=$${RANLIB}" \
27967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27968 maintainer-clean) \
27969 || exit 1
27971 @endif zlib
27975 .PHONY: configure-gdb maybe-configure-gdb
27976 maybe-configure-gdb:
27977 @if gcc-bootstrap
27978 configure-gdb: stage_current
27979 @endif gcc-bootstrap
27980 @if gdb
27981 maybe-configure-gdb: configure-gdb
27982 configure-gdb:
27983 @: $(MAKE); $(unstage)
27984 @r=`${PWD_COMMAND}`; export r; \
27985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27986 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
27988 $(HOST_EXPORTS) \
27989 echo Configuring in $(HOST_SUBDIR)/gdb; \
27990 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27991 case $(srcdir) in \
27992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27993 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27995 esac; \
27996 module_srcdir=gdb; \
27997 $(SHELL) \
27998 $$s/$$module_srcdir/configure \
27999 --srcdir=$${topdir}/$$module_srcdir \
28000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28001 --target=${target_alias} \
28002 || exit 1
28003 @endif gdb
28009 .PHONY: all-gdb maybe-all-gdb
28010 maybe-all-gdb:
28011 @if gcc-bootstrap
28012 all-gdb: stage_current
28013 @endif gcc-bootstrap
28014 @if gdb
28015 TARGET-gdb=all
28016 maybe-all-gdb: all-gdb
28017 all-gdb: configure-gdb
28018 @: $(MAKE); $(unstage)
28019 @r=`${PWD_COMMAND}`; export r; \
28020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28021 $(HOST_EXPORTS) \
28022 (cd $(HOST_SUBDIR)/gdb && \
28023 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28024 $(TARGET-gdb))
28025 @endif gdb
28030 .PHONY: check-gdb maybe-check-gdb
28031 maybe-check-gdb:
28032 @if gdb
28033 maybe-check-gdb: check-gdb
28035 check-gdb:
28036 @: $(MAKE); $(unstage)
28037 @r=`${PWD_COMMAND}`; export r; \
28038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28039 $(HOST_EXPORTS) \
28040 (cd $(HOST_SUBDIR)/gdb && \
28041 $(MAKE) $(FLAGS_TO_PASS) check)
28043 @endif gdb
28045 .PHONY: install-gdb maybe-install-gdb
28046 maybe-install-gdb:
28047 @if gdb
28048 maybe-install-gdb: install-gdb
28050 install-gdb: installdirs
28051 @: $(MAKE); $(unstage)
28052 @r=`${PWD_COMMAND}`; export r; \
28053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28054 $(HOST_EXPORTS) \
28055 (cd $(HOST_SUBDIR)/gdb && \
28056 $(MAKE) $(FLAGS_TO_PASS) install)
28058 @endif gdb
28060 .PHONY: install-strip-gdb maybe-install-strip-gdb
28061 maybe-install-strip-gdb:
28062 @if gdb
28063 maybe-install-strip-gdb: install-strip-gdb
28065 install-strip-gdb: installdirs
28066 @: $(MAKE); $(unstage)
28067 @r=`${PWD_COMMAND}`; export r; \
28068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28069 $(HOST_EXPORTS) \
28070 (cd $(HOST_SUBDIR)/gdb && \
28071 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28073 @endif gdb
28075 # Other targets (info, dvi, pdf, etc.)
28077 .PHONY: maybe-info-gdb info-gdb
28078 maybe-info-gdb:
28079 @if gdb
28080 maybe-info-gdb: info-gdb
28082 info-gdb: \
28083 configure-gdb
28084 @: $(MAKE); $(unstage)
28085 @[ -f ./gdb/Makefile ] || exit 0; \
28086 r=`${PWD_COMMAND}`; export r; \
28087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28088 $(HOST_EXPORTS) \
28089 for flag in $(EXTRA_HOST_FLAGS) ; do \
28090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28091 done; \
28092 echo "Doing info in gdb"; \
28093 (cd $(HOST_SUBDIR)/gdb && \
28094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28096 "RANLIB=$${RANLIB}" \
28097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28098 info) \
28099 || exit 1
28101 @endif gdb
28103 .PHONY: maybe-dvi-gdb dvi-gdb
28104 maybe-dvi-gdb:
28105 @if gdb
28106 maybe-dvi-gdb: dvi-gdb
28108 dvi-gdb: \
28109 configure-gdb
28110 @: $(MAKE); $(unstage)
28111 @[ -f ./gdb/Makefile ] || exit 0; \
28112 r=`${PWD_COMMAND}`; export r; \
28113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28114 $(HOST_EXPORTS) \
28115 for flag in $(EXTRA_HOST_FLAGS) ; do \
28116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28117 done; \
28118 echo "Doing dvi in gdb"; \
28119 (cd $(HOST_SUBDIR)/gdb && \
28120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28122 "RANLIB=$${RANLIB}" \
28123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28124 dvi) \
28125 || exit 1
28127 @endif gdb
28129 .PHONY: maybe-pdf-gdb pdf-gdb
28130 maybe-pdf-gdb:
28131 @if gdb
28132 maybe-pdf-gdb: pdf-gdb
28134 pdf-gdb: \
28135 configure-gdb
28136 @: $(MAKE); $(unstage)
28137 @[ -f ./gdb/Makefile ] || exit 0; \
28138 r=`${PWD_COMMAND}`; export r; \
28139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28140 $(HOST_EXPORTS) \
28141 for flag in $(EXTRA_HOST_FLAGS) ; do \
28142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28143 done; \
28144 echo "Doing pdf in gdb"; \
28145 (cd $(HOST_SUBDIR)/gdb && \
28146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28148 "RANLIB=$${RANLIB}" \
28149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28150 pdf) \
28151 || exit 1
28153 @endif gdb
28155 .PHONY: maybe-html-gdb html-gdb
28156 maybe-html-gdb:
28157 @if gdb
28158 maybe-html-gdb: html-gdb
28160 html-gdb: \
28161 configure-gdb
28162 @: $(MAKE); $(unstage)
28163 @[ -f ./gdb/Makefile ] || exit 0; \
28164 r=`${PWD_COMMAND}`; export r; \
28165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28166 $(HOST_EXPORTS) \
28167 for flag in $(EXTRA_HOST_FLAGS) ; do \
28168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28169 done; \
28170 echo "Doing html in gdb"; \
28171 (cd $(HOST_SUBDIR)/gdb && \
28172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28174 "RANLIB=$${RANLIB}" \
28175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28176 html) \
28177 || exit 1
28179 @endif gdb
28181 .PHONY: maybe-TAGS-gdb TAGS-gdb
28182 maybe-TAGS-gdb:
28183 @if gdb
28184 maybe-TAGS-gdb: TAGS-gdb
28186 TAGS-gdb: \
28187 configure-gdb
28188 @: $(MAKE); $(unstage)
28189 @[ -f ./gdb/Makefile ] || exit 0; \
28190 r=`${PWD_COMMAND}`; export r; \
28191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28192 $(HOST_EXPORTS) \
28193 for flag in $(EXTRA_HOST_FLAGS) ; do \
28194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28195 done; \
28196 echo "Doing TAGS in gdb"; \
28197 (cd $(HOST_SUBDIR)/gdb && \
28198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28200 "RANLIB=$${RANLIB}" \
28201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28202 TAGS) \
28203 || exit 1
28205 @endif gdb
28207 .PHONY: maybe-install-info-gdb install-info-gdb
28208 maybe-install-info-gdb:
28209 @if gdb
28210 maybe-install-info-gdb: install-info-gdb
28212 install-info-gdb: \
28213 configure-gdb \
28214 info-gdb
28215 @: $(MAKE); $(unstage)
28216 @[ -f ./gdb/Makefile ] || exit 0; \
28217 r=`${PWD_COMMAND}`; export r; \
28218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28219 $(HOST_EXPORTS) \
28220 for flag in $(EXTRA_HOST_FLAGS) ; do \
28221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28222 done; \
28223 echo "Doing install-info in gdb"; \
28224 (cd $(HOST_SUBDIR)/gdb && \
28225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28227 "RANLIB=$${RANLIB}" \
28228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28229 install-info) \
28230 || exit 1
28232 @endif gdb
28234 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
28235 maybe-install-pdf-gdb:
28236 @if gdb
28237 maybe-install-pdf-gdb: install-pdf-gdb
28239 install-pdf-gdb: \
28240 configure-gdb \
28241 pdf-gdb
28242 @: $(MAKE); $(unstage)
28243 @[ -f ./gdb/Makefile ] || exit 0; \
28244 r=`${PWD_COMMAND}`; export r; \
28245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28246 $(HOST_EXPORTS) \
28247 for flag in $(EXTRA_HOST_FLAGS) ; do \
28248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28249 done; \
28250 echo "Doing install-pdf in gdb"; \
28251 (cd $(HOST_SUBDIR)/gdb && \
28252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28254 "RANLIB=$${RANLIB}" \
28255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28256 install-pdf) \
28257 || exit 1
28259 @endif gdb
28261 .PHONY: maybe-install-html-gdb install-html-gdb
28262 maybe-install-html-gdb:
28263 @if gdb
28264 maybe-install-html-gdb: install-html-gdb
28266 install-html-gdb: \
28267 configure-gdb \
28268 html-gdb
28269 @: $(MAKE); $(unstage)
28270 @[ -f ./gdb/Makefile ] || exit 0; \
28271 r=`${PWD_COMMAND}`; export r; \
28272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28273 $(HOST_EXPORTS) \
28274 for flag in $(EXTRA_HOST_FLAGS) ; do \
28275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28276 done; \
28277 echo "Doing install-html in gdb"; \
28278 (cd $(HOST_SUBDIR)/gdb && \
28279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28281 "RANLIB=$${RANLIB}" \
28282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28283 install-html) \
28284 || exit 1
28286 @endif gdb
28288 .PHONY: maybe-installcheck-gdb installcheck-gdb
28289 maybe-installcheck-gdb:
28290 @if gdb
28291 maybe-installcheck-gdb: installcheck-gdb
28293 installcheck-gdb: \
28294 configure-gdb
28295 @: $(MAKE); $(unstage)
28296 @[ -f ./gdb/Makefile ] || exit 0; \
28297 r=`${PWD_COMMAND}`; export r; \
28298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28299 $(HOST_EXPORTS) \
28300 for flag in $(EXTRA_HOST_FLAGS) ; do \
28301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28302 done; \
28303 echo "Doing installcheck in gdb"; \
28304 (cd $(HOST_SUBDIR)/gdb && \
28305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28307 "RANLIB=$${RANLIB}" \
28308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28309 installcheck) \
28310 || exit 1
28312 @endif gdb
28314 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
28315 maybe-mostlyclean-gdb:
28316 @if gdb
28317 maybe-mostlyclean-gdb: mostlyclean-gdb
28319 mostlyclean-gdb:
28320 @: $(MAKE); $(unstage)
28321 @[ -f ./gdb/Makefile ] || exit 0; \
28322 r=`${PWD_COMMAND}`; export r; \
28323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28324 $(HOST_EXPORTS) \
28325 for flag in $(EXTRA_HOST_FLAGS) ; do \
28326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28327 done; \
28328 echo "Doing mostlyclean in gdb"; \
28329 (cd $(HOST_SUBDIR)/gdb && \
28330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28332 "RANLIB=$${RANLIB}" \
28333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28334 mostlyclean) \
28335 || exit 1
28337 @endif gdb
28339 .PHONY: maybe-clean-gdb clean-gdb
28340 maybe-clean-gdb:
28341 @if gdb
28342 maybe-clean-gdb: clean-gdb
28344 clean-gdb:
28345 @: $(MAKE); $(unstage)
28346 @[ -f ./gdb/Makefile ] || exit 0; \
28347 r=`${PWD_COMMAND}`; export r; \
28348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28349 $(HOST_EXPORTS) \
28350 for flag in $(EXTRA_HOST_FLAGS) ; do \
28351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28352 done; \
28353 echo "Doing clean in gdb"; \
28354 (cd $(HOST_SUBDIR)/gdb && \
28355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28357 "RANLIB=$${RANLIB}" \
28358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28359 clean) \
28360 || exit 1
28362 @endif gdb
28364 .PHONY: maybe-distclean-gdb distclean-gdb
28365 maybe-distclean-gdb:
28366 @if gdb
28367 maybe-distclean-gdb: distclean-gdb
28369 distclean-gdb:
28370 @: $(MAKE); $(unstage)
28371 @[ -f ./gdb/Makefile ] || exit 0; \
28372 r=`${PWD_COMMAND}`; export r; \
28373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28374 $(HOST_EXPORTS) \
28375 for flag in $(EXTRA_HOST_FLAGS) ; do \
28376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28377 done; \
28378 echo "Doing distclean in gdb"; \
28379 (cd $(HOST_SUBDIR)/gdb && \
28380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28382 "RANLIB=$${RANLIB}" \
28383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28384 distclean) \
28385 || exit 1
28387 @endif gdb
28389 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
28390 maybe-maintainer-clean-gdb:
28391 @if gdb
28392 maybe-maintainer-clean-gdb: maintainer-clean-gdb
28394 maintainer-clean-gdb:
28395 @: $(MAKE); $(unstage)
28396 @[ -f ./gdb/Makefile ] || exit 0; \
28397 r=`${PWD_COMMAND}`; export r; \
28398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28399 $(HOST_EXPORTS) \
28400 for flag in $(EXTRA_HOST_FLAGS) ; do \
28401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28402 done; \
28403 echo "Doing maintainer-clean in gdb"; \
28404 (cd $(HOST_SUBDIR)/gdb && \
28405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28407 "RANLIB=$${RANLIB}" \
28408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28409 maintainer-clean) \
28410 || exit 1
28412 @endif gdb
28416 .PHONY: configure-expect maybe-configure-expect
28417 maybe-configure-expect:
28418 @if gcc-bootstrap
28419 configure-expect: stage_current
28420 @endif gcc-bootstrap
28421 @if expect
28422 maybe-configure-expect: configure-expect
28423 configure-expect:
28424 @: $(MAKE); $(unstage)
28425 @r=`${PWD_COMMAND}`; export r; \
28426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28427 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
28428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
28429 $(HOST_EXPORTS) \
28430 echo Configuring in $(HOST_SUBDIR)/expect; \
28431 cd "$(HOST_SUBDIR)/expect" || exit 1; \
28432 case $(srcdir) in \
28433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28434 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
28435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28436 esac; \
28437 module_srcdir=expect; \
28438 $(SHELL) \
28439 $$s/$$module_srcdir/configure \
28440 --srcdir=$${topdir}/$$module_srcdir \
28441 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28442 --target=${target_alias} \
28443 || exit 1
28444 @endif expect
28450 .PHONY: all-expect maybe-all-expect
28451 maybe-all-expect:
28452 @if gcc-bootstrap
28453 all-expect: stage_current
28454 @endif gcc-bootstrap
28455 @if expect
28456 TARGET-expect=all
28457 maybe-all-expect: all-expect
28458 all-expect: configure-expect
28459 @: $(MAKE); $(unstage)
28460 @r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(HOST_EXPORTS) \
28463 (cd $(HOST_SUBDIR)/expect && \
28464 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28465 $(TARGET-expect))
28466 @endif expect
28471 .PHONY: check-expect maybe-check-expect
28472 maybe-check-expect:
28473 @if expect
28474 maybe-check-expect: check-expect
28476 check-expect:
28477 @: $(MAKE); $(unstage)
28478 @r=`${PWD_COMMAND}`; export r; \
28479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28480 $(HOST_EXPORTS) \
28481 (cd $(HOST_SUBDIR)/expect && \
28482 $(MAKE) $(FLAGS_TO_PASS) check)
28484 @endif expect
28486 .PHONY: install-expect maybe-install-expect
28487 maybe-install-expect:
28488 @if expect
28489 maybe-install-expect: install-expect
28491 install-expect: installdirs
28492 @: $(MAKE); $(unstage)
28493 @r=`${PWD_COMMAND}`; export r; \
28494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28495 $(HOST_EXPORTS) \
28496 (cd $(HOST_SUBDIR)/expect && \
28497 $(MAKE) $(FLAGS_TO_PASS) install)
28499 @endif expect
28501 .PHONY: install-strip-expect maybe-install-strip-expect
28502 maybe-install-strip-expect:
28503 @if expect
28504 maybe-install-strip-expect: install-strip-expect
28506 install-strip-expect: installdirs
28507 @: $(MAKE); $(unstage)
28508 @r=`${PWD_COMMAND}`; export r; \
28509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28510 $(HOST_EXPORTS) \
28511 (cd $(HOST_SUBDIR)/expect && \
28512 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28514 @endif expect
28516 # Other targets (info, dvi, pdf, etc.)
28518 .PHONY: maybe-info-expect info-expect
28519 maybe-info-expect:
28520 @if expect
28521 maybe-info-expect: info-expect
28523 info-expect: \
28524 configure-expect
28525 @: $(MAKE); $(unstage)
28526 @[ -f ./expect/Makefile ] || exit 0; \
28527 r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 for flag in $(EXTRA_HOST_FLAGS) ; do \
28531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28532 done; \
28533 echo "Doing info in expect"; \
28534 (cd $(HOST_SUBDIR)/expect && \
28535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28537 "RANLIB=$${RANLIB}" \
28538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28539 info) \
28540 || exit 1
28542 @endif expect
28544 .PHONY: maybe-dvi-expect dvi-expect
28545 maybe-dvi-expect:
28546 @if expect
28547 maybe-dvi-expect: dvi-expect
28549 dvi-expect: \
28550 configure-expect
28551 @: $(MAKE); $(unstage)
28552 @[ -f ./expect/Makefile ] || exit 0; \
28553 r=`${PWD_COMMAND}`; export r; \
28554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28555 $(HOST_EXPORTS) \
28556 for flag in $(EXTRA_HOST_FLAGS) ; do \
28557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28558 done; \
28559 echo "Doing dvi in expect"; \
28560 (cd $(HOST_SUBDIR)/expect && \
28561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28563 "RANLIB=$${RANLIB}" \
28564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28565 dvi) \
28566 || exit 1
28568 @endif expect
28570 .PHONY: maybe-pdf-expect pdf-expect
28571 maybe-pdf-expect:
28572 @if expect
28573 maybe-pdf-expect: pdf-expect
28575 pdf-expect: \
28576 configure-expect
28577 @: $(MAKE); $(unstage)
28578 @[ -f ./expect/Makefile ] || exit 0; \
28579 r=`${PWD_COMMAND}`; export r; \
28580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28581 $(HOST_EXPORTS) \
28582 for flag in $(EXTRA_HOST_FLAGS) ; do \
28583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28584 done; \
28585 echo "Doing pdf in expect"; \
28586 (cd $(HOST_SUBDIR)/expect && \
28587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28589 "RANLIB=$${RANLIB}" \
28590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28591 pdf) \
28592 || exit 1
28594 @endif expect
28596 .PHONY: maybe-html-expect html-expect
28597 maybe-html-expect:
28598 @if expect
28599 maybe-html-expect: html-expect
28601 html-expect: \
28602 configure-expect
28603 @: $(MAKE); $(unstage)
28604 @[ -f ./expect/Makefile ] || exit 0; \
28605 r=`${PWD_COMMAND}`; export r; \
28606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28607 $(HOST_EXPORTS) \
28608 for flag in $(EXTRA_HOST_FLAGS) ; do \
28609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28610 done; \
28611 echo "Doing html in expect"; \
28612 (cd $(HOST_SUBDIR)/expect && \
28613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28615 "RANLIB=$${RANLIB}" \
28616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28617 html) \
28618 || exit 1
28620 @endif expect
28622 .PHONY: maybe-TAGS-expect TAGS-expect
28623 maybe-TAGS-expect:
28624 @if expect
28625 maybe-TAGS-expect: TAGS-expect
28627 TAGS-expect: \
28628 configure-expect
28629 @: $(MAKE); $(unstage)
28630 @[ -f ./expect/Makefile ] || exit 0; \
28631 r=`${PWD_COMMAND}`; export r; \
28632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28633 $(HOST_EXPORTS) \
28634 for flag in $(EXTRA_HOST_FLAGS) ; do \
28635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28636 done; \
28637 echo "Doing TAGS in expect"; \
28638 (cd $(HOST_SUBDIR)/expect && \
28639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28641 "RANLIB=$${RANLIB}" \
28642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28643 TAGS) \
28644 || exit 1
28646 @endif expect
28648 .PHONY: maybe-install-info-expect install-info-expect
28649 maybe-install-info-expect:
28650 @if expect
28651 maybe-install-info-expect: install-info-expect
28653 install-info-expect: \
28654 configure-expect \
28655 info-expect
28656 @: $(MAKE); $(unstage)
28657 @[ -f ./expect/Makefile ] || exit 0; \
28658 r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28660 $(HOST_EXPORTS) \
28661 for flag in $(EXTRA_HOST_FLAGS) ; do \
28662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28663 done; \
28664 echo "Doing install-info in expect"; \
28665 (cd $(HOST_SUBDIR)/expect && \
28666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28668 "RANLIB=$${RANLIB}" \
28669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28670 install-info) \
28671 || exit 1
28673 @endif expect
28675 .PHONY: maybe-install-pdf-expect install-pdf-expect
28676 maybe-install-pdf-expect:
28677 @if expect
28678 maybe-install-pdf-expect: install-pdf-expect
28680 install-pdf-expect: \
28681 configure-expect \
28682 pdf-expect
28683 @: $(MAKE); $(unstage)
28684 @[ -f ./expect/Makefile ] || exit 0; \
28685 r=`${PWD_COMMAND}`; export r; \
28686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28687 $(HOST_EXPORTS) \
28688 for flag in $(EXTRA_HOST_FLAGS) ; do \
28689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28690 done; \
28691 echo "Doing install-pdf in expect"; \
28692 (cd $(HOST_SUBDIR)/expect && \
28693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28695 "RANLIB=$${RANLIB}" \
28696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28697 install-pdf) \
28698 || exit 1
28700 @endif expect
28702 .PHONY: maybe-install-html-expect install-html-expect
28703 maybe-install-html-expect:
28704 @if expect
28705 maybe-install-html-expect: install-html-expect
28707 install-html-expect: \
28708 configure-expect \
28709 html-expect
28710 @: $(MAKE); $(unstage)
28711 @[ -f ./expect/Makefile ] || exit 0; \
28712 r=`${PWD_COMMAND}`; export r; \
28713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28714 $(HOST_EXPORTS) \
28715 for flag in $(EXTRA_HOST_FLAGS) ; do \
28716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28717 done; \
28718 echo "Doing install-html in expect"; \
28719 (cd $(HOST_SUBDIR)/expect && \
28720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28722 "RANLIB=$${RANLIB}" \
28723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28724 install-html) \
28725 || exit 1
28727 @endif expect
28729 .PHONY: maybe-installcheck-expect installcheck-expect
28730 maybe-installcheck-expect:
28731 @if expect
28732 maybe-installcheck-expect: installcheck-expect
28734 installcheck-expect: \
28735 configure-expect
28736 @: $(MAKE); $(unstage)
28737 @[ -f ./expect/Makefile ] || exit 0; \
28738 r=`${PWD_COMMAND}`; export r; \
28739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28740 $(HOST_EXPORTS) \
28741 for flag in $(EXTRA_HOST_FLAGS) ; do \
28742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28743 done; \
28744 echo "Doing installcheck in expect"; \
28745 (cd $(HOST_SUBDIR)/expect && \
28746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28748 "RANLIB=$${RANLIB}" \
28749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28750 installcheck) \
28751 || exit 1
28753 @endif expect
28755 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
28756 maybe-mostlyclean-expect:
28757 @if expect
28758 maybe-mostlyclean-expect: mostlyclean-expect
28760 mostlyclean-expect:
28761 @: $(MAKE); $(unstage)
28762 @[ -f ./expect/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) ; do \
28767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28768 done; \
28769 echo "Doing mostlyclean in expect"; \
28770 (cd $(HOST_SUBDIR)/expect && \
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 expect
28780 .PHONY: maybe-clean-expect clean-expect
28781 maybe-clean-expect:
28782 @if expect
28783 maybe-clean-expect: clean-expect
28785 clean-expect:
28786 @: $(MAKE); $(unstage)
28787 @[ -f ./expect/Makefile ] || exit 0; \
28788 r=`${PWD_COMMAND}`; export r; \
28789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28790 $(HOST_EXPORTS) \
28791 for flag in $(EXTRA_HOST_FLAGS) ; do \
28792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28793 done; \
28794 echo "Doing clean in expect"; \
28795 (cd $(HOST_SUBDIR)/expect && \
28796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28798 "RANLIB=$${RANLIB}" \
28799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28800 clean) \
28801 || exit 1
28803 @endif expect
28805 .PHONY: maybe-distclean-expect distclean-expect
28806 maybe-distclean-expect:
28807 @if expect
28808 maybe-distclean-expect: distclean-expect
28810 distclean-expect:
28811 @: $(MAKE); $(unstage)
28812 @[ -f ./expect/Makefile ] || exit 0; \
28813 r=`${PWD_COMMAND}`; export r; \
28814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28815 $(HOST_EXPORTS) \
28816 for flag in $(EXTRA_HOST_FLAGS) ; do \
28817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28818 done; \
28819 echo "Doing distclean in expect"; \
28820 (cd $(HOST_SUBDIR)/expect && \
28821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28823 "RANLIB=$${RANLIB}" \
28824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28825 distclean) \
28826 || exit 1
28828 @endif expect
28830 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
28831 maybe-maintainer-clean-expect:
28832 @if expect
28833 maybe-maintainer-clean-expect: maintainer-clean-expect
28835 maintainer-clean-expect:
28836 @: $(MAKE); $(unstage)
28837 @[ -f ./expect/Makefile ] || exit 0; \
28838 r=`${PWD_COMMAND}`; export r; \
28839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28840 $(HOST_EXPORTS) \
28841 for flag in $(EXTRA_HOST_FLAGS) ; do \
28842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28843 done; \
28844 echo "Doing maintainer-clean in expect"; \
28845 (cd $(HOST_SUBDIR)/expect && \
28846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28848 "RANLIB=$${RANLIB}" \
28849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28850 maintainer-clean) \
28851 || exit 1
28853 @endif expect
28857 .PHONY: configure-guile maybe-configure-guile
28858 maybe-configure-guile:
28859 @if gcc-bootstrap
28860 configure-guile: stage_current
28861 @endif gcc-bootstrap
28862 @if guile
28863 maybe-configure-guile: configure-guile
28864 configure-guile:
28865 @: $(MAKE); $(unstage)
28866 @r=`${PWD_COMMAND}`; export r; \
28867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28868 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
28869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
28870 $(HOST_EXPORTS) \
28871 echo Configuring in $(HOST_SUBDIR)/guile; \
28872 cd "$(HOST_SUBDIR)/guile" || exit 1; \
28873 case $(srcdir) in \
28874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28875 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
28876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28877 esac; \
28878 module_srcdir=guile; \
28879 $(SHELL) \
28880 $$s/$$module_srcdir/configure \
28881 --srcdir=$${topdir}/$$module_srcdir \
28882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28883 --target=${target_alias} \
28884 || exit 1
28885 @endif guile
28891 .PHONY: all-guile maybe-all-guile
28892 maybe-all-guile:
28893 @if gcc-bootstrap
28894 all-guile: stage_current
28895 @endif gcc-bootstrap
28896 @if guile
28897 TARGET-guile=all
28898 maybe-all-guile: all-guile
28899 all-guile: configure-guile
28900 @: $(MAKE); $(unstage)
28901 @r=`${PWD_COMMAND}`; export r; \
28902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28903 $(HOST_EXPORTS) \
28904 (cd $(HOST_SUBDIR)/guile && \
28905 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28906 $(TARGET-guile))
28907 @endif guile
28912 .PHONY: check-guile maybe-check-guile
28913 maybe-check-guile:
28914 @if guile
28915 maybe-check-guile: check-guile
28917 check-guile:
28918 @: $(MAKE); $(unstage)
28919 @r=`${PWD_COMMAND}`; export r; \
28920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28921 $(HOST_EXPORTS) \
28922 (cd $(HOST_SUBDIR)/guile && \
28923 $(MAKE) $(FLAGS_TO_PASS) check)
28925 @endif guile
28927 .PHONY: install-guile maybe-install-guile
28928 maybe-install-guile:
28929 @if guile
28930 maybe-install-guile: install-guile
28932 install-guile: installdirs
28933 @: $(MAKE); $(unstage)
28934 @r=`${PWD_COMMAND}`; export r; \
28935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28936 $(HOST_EXPORTS) \
28937 (cd $(HOST_SUBDIR)/guile && \
28938 $(MAKE) $(FLAGS_TO_PASS) install)
28940 @endif guile
28942 .PHONY: install-strip-guile maybe-install-strip-guile
28943 maybe-install-strip-guile:
28944 @if guile
28945 maybe-install-strip-guile: install-strip-guile
28947 install-strip-guile: installdirs
28948 @: $(MAKE); $(unstage)
28949 @r=`${PWD_COMMAND}`; export r; \
28950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28951 $(HOST_EXPORTS) \
28952 (cd $(HOST_SUBDIR)/guile && \
28953 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28955 @endif guile
28957 # Other targets (info, dvi, pdf, etc.)
28959 .PHONY: maybe-info-guile info-guile
28960 maybe-info-guile:
28961 @if guile
28962 maybe-info-guile: info-guile
28964 info-guile: \
28965 configure-guile
28966 @: $(MAKE); $(unstage)
28967 @[ -f ./guile/Makefile ] || exit 0; \
28968 r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28970 $(HOST_EXPORTS) \
28971 for flag in $(EXTRA_HOST_FLAGS) ; do \
28972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28973 done; \
28974 echo "Doing info in guile"; \
28975 (cd $(HOST_SUBDIR)/guile && \
28976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28978 "RANLIB=$${RANLIB}" \
28979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28980 info) \
28981 || exit 1
28983 @endif guile
28985 .PHONY: maybe-dvi-guile dvi-guile
28986 maybe-dvi-guile:
28987 @if guile
28988 maybe-dvi-guile: dvi-guile
28990 dvi-guile: \
28991 configure-guile
28992 @: $(MAKE); $(unstage)
28993 @[ -f ./guile/Makefile ] || exit 0; \
28994 r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(HOST_EXPORTS) \
28997 for flag in $(EXTRA_HOST_FLAGS) ; do \
28998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28999 done; \
29000 echo "Doing dvi in guile"; \
29001 (cd $(HOST_SUBDIR)/guile && \
29002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004 "RANLIB=$${RANLIB}" \
29005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29006 dvi) \
29007 || exit 1
29009 @endif guile
29011 .PHONY: maybe-pdf-guile pdf-guile
29012 maybe-pdf-guile:
29013 @if guile
29014 maybe-pdf-guile: pdf-guile
29016 pdf-guile: \
29017 configure-guile
29018 @: $(MAKE); $(unstage)
29019 @[ -f ./guile/Makefile ] || exit 0; \
29020 r=`${PWD_COMMAND}`; export r; \
29021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29022 $(HOST_EXPORTS) \
29023 for flag in $(EXTRA_HOST_FLAGS) ; do \
29024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29025 done; \
29026 echo "Doing pdf in guile"; \
29027 (cd $(HOST_SUBDIR)/guile && \
29028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29030 "RANLIB=$${RANLIB}" \
29031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29032 pdf) \
29033 || exit 1
29035 @endif guile
29037 .PHONY: maybe-html-guile html-guile
29038 maybe-html-guile:
29039 @if guile
29040 maybe-html-guile: html-guile
29042 html-guile: \
29043 configure-guile
29044 @: $(MAKE); $(unstage)
29045 @[ -f ./guile/Makefile ] || exit 0; \
29046 r=`${PWD_COMMAND}`; export r; \
29047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29048 $(HOST_EXPORTS) \
29049 for flag in $(EXTRA_HOST_FLAGS) ; do \
29050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29051 done; \
29052 echo "Doing html in guile"; \
29053 (cd $(HOST_SUBDIR)/guile && \
29054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29056 "RANLIB=$${RANLIB}" \
29057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29058 html) \
29059 || exit 1
29061 @endif guile
29063 .PHONY: maybe-TAGS-guile TAGS-guile
29064 maybe-TAGS-guile:
29065 @if guile
29066 maybe-TAGS-guile: TAGS-guile
29068 TAGS-guile: \
29069 configure-guile
29070 @: $(MAKE); $(unstage)
29071 @[ -f ./guile/Makefile ] || exit 0; \
29072 r=`${PWD_COMMAND}`; export r; \
29073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29074 $(HOST_EXPORTS) \
29075 for flag in $(EXTRA_HOST_FLAGS) ; do \
29076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29077 done; \
29078 echo "Doing TAGS in guile"; \
29079 (cd $(HOST_SUBDIR)/guile && \
29080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29082 "RANLIB=$${RANLIB}" \
29083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29084 TAGS) \
29085 || exit 1
29087 @endif guile
29089 .PHONY: maybe-install-info-guile install-info-guile
29090 maybe-install-info-guile:
29091 @if guile
29092 maybe-install-info-guile: install-info-guile
29094 install-info-guile: \
29095 configure-guile \
29096 info-guile
29097 @: $(MAKE); $(unstage)
29098 @[ -f ./guile/Makefile ] || exit 0; \
29099 r=`${PWD_COMMAND}`; export r; \
29100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29101 $(HOST_EXPORTS) \
29102 for flag in $(EXTRA_HOST_FLAGS) ; do \
29103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29104 done; \
29105 echo "Doing install-info in guile"; \
29106 (cd $(HOST_SUBDIR)/guile && \
29107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29109 "RANLIB=$${RANLIB}" \
29110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29111 install-info) \
29112 || exit 1
29114 @endif guile
29116 .PHONY: maybe-install-pdf-guile install-pdf-guile
29117 maybe-install-pdf-guile:
29118 @if guile
29119 maybe-install-pdf-guile: install-pdf-guile
29121 install-pdf-guile: \
29122 configure-guile \
29123 pdf-guile
29124 @: $(MAKE); $(unstage)
29125 @[ -f ./guile/Makefile ] || exit 0; \
29126 r=`${PWD_COMMAND}`; export r; \
29127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29128 $(HOST_EXPORTS) \
29129 for flag in $(EXTRA_HOST_FLAGS) ; do \
29130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29131 done; \
29132 echo "Doing install-pdf in guile"; \
29133 (cd $(HOST_SUBDIR)/guile && \
29134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29136 "RANLIB=$${RANLIB}" \
29137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29138 install-pdf) \
29139 || exit 1
29141 @endif guile
29143 .PHONY: maybe-install-html-guile install-html-guile
29144 maybe-install-html-guile:
29145 @if guile
29146 maybe-install-html-guile: install-html-guile
29148 install-html-guile: \
29149 configure-guile \
29150 html-guile
29151 @: $(MAKE); $(unstage)
29152 @[ -f ./guile/Makefile ] || exit 0; \
29153 r=`${PWD_COMMAND}`; export r; \
29154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29155 $(HOST_EXPORTS) \
29156 for flag in $(EXTRA_HOST_FLAGS) ; do \
29157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29158 done; \
29159 echo "Doing install-html in guile"; \
29160 (cd $(HOST_SUBDIR)/guile && \
29161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29163 "RANLIB=$${RANLIB}" \
29164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29165 install-html) \
29166 || exit 1
29168 @endif guile
29170 .PHONY: maybe-installcheck-guile installcheck-guile
29171 maybe-installcheck-guile:
29172 @if guile
29173 maybe-installcheck-guile: installcheck-guile
29175 installcheck-guile: \
29176 configure-guile
29177 @: $(MAKE); $(unstage)
29178 @[ -f ./guile/Makefile ] || exit 0; \
29179 r=`${PWD_COMMAND}`; export r; \
29180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29181 $(HOST_EXPORTS) \
29182 for flag in $(EXTRA_HOST_FLAGS) ; do \
29183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29184 done; \
29185 echo "Doing installcheck in guile"; \
29186 (cd $(HOST_SUBDIR)/guile && \
29187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29189 "RANLIB=$${RANLIB}" \
29190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29191 installcheck) \
29192 || exit 1
29194 @endif guile
29196 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29197 maybe-mostlyclean-guile:
29198 @if guile
29199 maybe-mostlyclean-guile: mostlyclean-guile
29201 mostlyclean-guile:
29202 @: $(MAKE); $(unstage)
29203 @[ -f ./guile/Makefile ] || exit 0; \
29204 r=`${PWD_COMMAND}`; export r; \
29205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29206 $(HOST_EXPORTS) \
29207 for flag in $(EXTRA_HOST_FLAGS) ; do \
29208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29209 done; \
29210 echo "Doing mostlyclean in guile"; \
29211 (cd $(HOST_SUBDIR)/guile && \
29212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29214 "RANLIB=$${RANLIB}" \
29215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29216 mostlyclean) \
29217 || exit 1
29219 @endif guile
29221 .PHONY: maybe-clean-guile clean-guile
29222 maybe-clean-guile:
29223 @if guile
29224 maybe-clean-guile: clean-guile
29226 clean-guile:
29227 @: $(MAKE); $(unstage)
29228 @[ -f ./guile/Makefile ] || exit 0; \
29229 r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 $(HOST_EXPORTS) \
29232 for flag in $(EXTRA_HOST_FLAGS) ; do \
29233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29234 done; \
29235 echo "Doing clean in guile"; \
29236 (cd $(HOST_SUBDIR)/guile && \
29237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29239 "RANLIB=$${RANLIB}" \
29240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29241 clean) \
29242 || exit 1
29244 @endif guile
29246 .PHONY: maybe-distclean-guile distclean-guile
29247 maybe-distclean-guile:
29248 @if guile
29249 maybe-distclean-guile: distclean-guile
29251 distclean-guile:
29252 @: $(MAKE); $(unstage)
29253 @[ -f ./guile/Makefile ] || exit 0; \
29254 r=`${PWD_COMMAND}`; export r; \
29255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29256 $(HOST_EXPORTS) \
29257 for flag in $(EXTRA_HOST_FLAGS) ; do \
29258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29259 done; \
29260 echo "Doing distclean in guile"; \
29261 (cd $(HOST_SUBDIR)/guile && \
29262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29264 "RANLIB=$${RANLIB}" \
29265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29266 distclean) \
29267 || exit 1
29269 @endif guile
29271 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29272 maybe-maintainer-clean-guile:
29273 @if guile
29274 maybe-maintainer-clean-guile: maintainer-clean-guile
29276 maintainer-clean-guile:
29277 @: $(MAKE); $(unstage)
29278 @[ -f ./guile/Makefile ] || exit 0; \
29279 r=`${PWD_COMMAND}`; export r; \
29280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29281 $(HOST_EXPORTS) \
29282 for flag in $(EXTRA_HOST_FLAGS) ; do \
29283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29284 done; \
29285 echo "Doing maintainer-clean in guile"; \
29286 (cd $(HOST_SUBDIR)/guile && \
29287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29289 "RANLIB=$${RANLIB}" \
29290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29291 maintainer-clean) \
29292 || exit 1
29294 @endif guile
29298 .PHONY: configure-tk maybe-configure-tk
29299 maybe-configure-tk:
29300 @if gcc-bootstrap
29301 configure-tk: stage_current
29302 @endif gcc-bootstrap
29303 @if tk
29304 maybe-configure-tk: configure-tk
29305 configure-tk:
29306 @: $(MAKE); $(unstage)
29307 @r=`${PWD_COMMAND}`; export r; \
29308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29309 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
29311 $(HOST_EXPORTS) \
29312 echo Configuring in $(HOST_SUBDIR)/tk; \
29313 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29314 case $(srcdir) in \
29315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29316 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
29317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29318 esac; \
29319 module_srcdir=tk; \
29320 $(SHELL) \
29321 $$s/$$module_srcdir/configure \
29322 --srcdir=$${topdir}/$$module_srcdir \
29323 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29324 --target=${target_alias} \
29325 || exit 1
29326 @endif tk
29332 .PHONY: all-tk maybe-all-tk
29333 maybe-all-tk:
29334 @if gcc-bootstrap
29335 all-tk: stage_current
29336 @endif gcc-bootstrap
29337 @if tk
29338 TARGET-tk=all
29339 maybe-all-tk: all-tk
29340 all-tk: configure-tk
29341 @: $(MAKE); $(unstage)
29342 @r=`${PWD_COMMAND}`; export r; \
29343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29344 $(HOST_EXPORTS) \
29345 (cd $(HOST_SUBDIR)/tk && \
29346 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29347 $(TARGET-tk))
29348 @endif tk
29353 .PHONY: check-tk maybe-check-tk
29354 maybe-check-tk:
29355 @if tk
29356 maybe-check-tk: check-tk
29358 check-tk:
29359 @: $(MAKE); $(unstage)
29360 @r=`${PWD_COMMAND}`; export r; \
29361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29362 $(HOST_EXPORTS) \
29363 (cd $(HOST_SUBDIR)/tk && \
29364 $(MAKE) $(FLAGS_TO_PASS) check)
29366 @endif tk
29368 .PHONY: install-tk maybe-install-tk
29369 maybe-install-tk:
29370 @if tk
29371 maybe-install-tk: install-tk
29373 install-tk: installdirs
29374 @: $(MAKE); $(unstage)
29375 @r=`${PWD_COMMAND}`; export r; \
29376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29377 $(HOST_EXPORTS) \
29378 (cd $(HOST_SUBDIR)/tk && \
29379 $(MAKE) $(FLAGS_TO_PASS) install)
29381 @endif tk
29383 .PHONY: install-strip-tk maybe-install-strip-tk
29384 maybe-install-strip-tk:
29385 @if tk
29386 maybe-install-strip-tk: install-strip-tk
29388 install-strip-tk: installdirs
29389 @: $(MAKE); $(unstage)
29390 @r=`${PWD_COMMAND}`; export r; \
29391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29392 $(HOST_EXPORTS) \
29393 (cd $(HOST_SUBDIR)/tk && \
29394 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29396 @endif tk
29398 # Other targets (info, dvi, pdf, etc.)
29400 .PHONY: maybe-info-tk info-tk
29401 maybe-info-tk:
29402 @if tk
29403 maybe-info-tk: info-tk
29405 info-tk: \
29406 configure-tk
29407 @: $(MAKE); $(unstage)
29408 @[ -f ./tk/Makefile ] || exit 0; \
29409 r=`${PWD_COMMAND}`; export r; \
29410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29411 $(HOST_EXPORTS) \
29412 for flag in $(EXTRA_HOST_FLAGS) ; do \
29413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29414 done; \
29415 echo "Doing info in tk"; \
29416 (cd $(HOST_SUBDIR)/tk && \
29417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29419 "RANLIB=$${RANLIB}" \
29420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29421 info) \
29422 || exit 1
29424 @endif tk
29426 .PHONY: maybe-dvi-tk dvi-tk
29427 maybe-dvi-tk:
29428 @if tk
29429 maybe-dvi-tk: dvi-tk
29431 dvi-tk: \
29432 configure-tk
29433 @: $(MAKE); $(unstage)
29434 @[ -f ./tk/Makefile ] || exit 0; \
29435 r=`${PWD_COMMAND}`; export r; \
29436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29437 $(HOST_EXPORTS) \
29438 for flag in $(EXTRA_HOST_FLAGS) ; do \
29439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29440 done; \
29441 echo "Doing dvi in tk"; \
29442 (cd $(HOST_SUBDIR)/tk && \
29443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29445 "RANLIB=$${RANLIB}" \
29446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29447 dvi) \
29448 || exit 1
29450 @endif tk
29452 .PHONY: maybe-pdf-tk pdf-tk
29453 maybe-pdf-tk:
29454 @if tk
29455 maybe-pdf-tk: pdf-tk
29457 pdf-tk: \
29458 configure-tk
29459 @: $(MAKE); $(unstage)
29460 @[ -f ./tk/Makefile ] || exit 0; \
29461 r=`${PWD_COMMAND}`; export r; \
29462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29463 $(HOST_EXPORTS) \
29464 for flag in $(EXTRA_HOST_FLAGS) ; do \
29465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29466 done; \
29467 echo "Doing pdf in tk"; \
29468 (cd $(HOST_SUBDIR)/tk && \
29469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29471 "RANLIB=$${RANLIB}" \
29472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29473 pdf) \
29474 || exit 1
29476 @endif tk
29478 .PHONY: maybe-html-tk html-tk
29479 maybe-html-tk:
29480 @if tk
29481 maybe-html-tk: html-tk
29483 html-tk: \
29484 configure-tk
29485 @: $(MAKE); $(unstage)
29486 @[ -f ./tk/Makefile ] || exit 0; \
29487 r=`${PWD_COMMAND}`; export r; \
29488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29489 $(HOST_EXPORTS) \
29490 for flag in $(EXTRA_HOST_FLAGS) ; do \
29491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29492 done; \
29493 echo "Doing html in tk"; \
29494 (cd $(HOST_SUBDIR)/tk && \
29495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29497 "RANLIB=$${RANLIB}" \
29498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29499 html) \
29500 || exit 1
29502 @endif tk
29504 .PHONY: maybe-TAGS-tk TAGS-tk
29505 maybe-TAGS-tk:
29506 @if tk
29507 maybe-TAGS-tk: TAGS-tk
29509 TAGS-tk: \
29510 configure-tk
29511 @: $(MAKE); $(unstage)
29512 @[ -f ./tk/Makefile ] || exit 0; \
29513 r=`${PWD_COMMAND}`; export r; \
29514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29515 $(HOST_EXPORTS) \
29516 for flag in $(EXTRA_HOST_FLAGS) ; do \
29517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29518 done; \
29519 echo "Doing TAGS in tk"; \
29520 (cd $(HOST_SUBDIR)/tk && \
29521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29523 "RANLIB=$${RANLIB}" \
29524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29525 TAGS) \
29526 || exit 1
29528 @endif tk
29530 .PHONY: maybe-install-info-tk install-info-tk
29531 maybe-install-info-tk:
29532 @if tk
29533 maybe-install-info-tk: install-info-tk
29535 install-info-tk: \
29536 configure-tk \
29537 info-tk
29538 @: $(MAKE); $(unstage)
29539 @[ -f ./tk/Makefile ] || exit 0; \
29540 r=`${PWD_COMMAND}`; export r; \
29541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29542 $(HOST_EXPORTS) \
29543 for flag in $(EXTRA_HOST_FLAGS) ; do \
29544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29545 done; \
29546 echo "Doing install-info in tk"; \
29547 (cd $(HOST_SUBDIR)/tk && \
29548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29550 "RANLIB=$${RANLIB}" \
29551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29552 install-info) \
29553 || exit 1
29555 @endif tk
29557 .PHONY: maybe-install-pdf-tk install-pdf-tk
29558 maybe-install-pdf-tk:
29559 @if tk
29560 maybe-install-pdf-tk: install-pdf-tk
29562 install-pdf-tk: \
29563 configure-tk \
29564 pdf-tk
29565 @: $(MAKE); $(unstage)
29566 @[ -f ./tk/Makefile ] || exit 0; \
29567 r=`${PWD_COMMAND}`; export r; \
29568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29569 $(HOST_EXPORTS) \
29570 for flag in $(EXTRA_HOST_FLAGS) ; do \
29571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29572 done; \
29573 echo "Doing install-pdf in tk"; \
29574 (cd $(HOST_SUBDIR)/tk && \
29575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29577 "RANLIB=$${RANLIB}" \
29578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29579 install-pdf) \
29580 || exit 1
29582 @endif tk
29584 .PHONY: maybe-install-html-tk install-html-tk
29585 maybe-install-html-tk:
29586 @if tk
29587 maybe-install-html-tk: install-html-tk
29589 install-html-tk: \
29590 configure-tk \
29591 html-tk
29592 @: $(MAKE); $(unstage)
29593 @[ -f ./tk/Makefile ] || exit 0; \
29594 r=`${PWD_COMMAND}`; export r; \
29595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29596 $(HOST_EXPORTS) \
29597 for flag in $(EXTRA_HOST_FLAGS) ; do \
29598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29599 done; \
29600 echo "Doing install-html in tk"; \
29601 (cd $(HOST_SUBDIR)/tk && \
29602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29604 "RANLIB=$${RANLIB}" \
29605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29606 install-html) \
29607 || exit 1
29609 @endif tk
29611 .PHONY: maybe-installcheck-tk installcheck-tk
29612 maybe-installcheck-tk:
29613 @if tk
29614 maybe-installcheck-tk: installcheck-tk
29616 installcheck-tk: \
29617 configure-tk
29618 @: $(MAKE); $(unstage)
29619 @[ -f ./tk/Makefile ] || exit 0; \
29620 r=`${PWD_COMMAND}`; export r; \
29621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29622 $(HOST_EXPORTS) \
29623 for flag in $(EXTRA_HOST_FLAGS) ; do \
29624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29625 done; \
29626 echo "Doing installcheck in tk"; \
29627 (cd $(HOST_SUBDIR)/tk && \
29628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29630 "RANLIB=$${RANLIB}" \
29631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29632 installcheck) \
29633 || exit 1
29635 @endif tk
29637 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29638 maybe-mostlyclean-tk:
29639 @if tk
29640 maybe-mostlyclean-tk: mostlyclean-tk
29642 mostlyclean-tk:
29643 @: $(MAKE); $(unstage)
29644 @[ -f ./tk/Makefile ] || exit 0; \
29645 r=`${PWD_COMMAND}`; export r; \
29646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29647 $(HOST_EXPORTS) \
29648 for flag in $(EXTRA_HOST_FLAGS) ; do \
29649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29650 done; \
29651 echo "Doing mostlyclean in tk"; \
29652 (cd $(HOST_SUBDIR)/tk && \
29653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29655 "RANLIB=$${RANLIB}" \
29656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29657 mostlyclean) \
29658 || exit 1
29660 @endif tk
29662 .PHONY: maybe-clean-tk clean-tk
29663 maybe-clean-tk:
29664 @if tk
29665 maybe-clean-tk: clean-tk
29667 clean-tk:
29668 @: $(MAKE); $(unstage)
29669 @[ -f ./tk/Makefile ] || exit 0; \
29670 r=`${PWD_COMMAND}`; export r; \
29671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29672 $(HOST_EXPORTS) \
29673 for flag in $(EXTRA_HOST_FLAGS) ; do \
29674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29675 done; \
29676 echo "Doing clean in tk"; \
29677 (cd $(HOST_SUBDIR)/tk && \
29678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29680 "RANLIB=$${RANLIB}" \
29681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29682 clean) \
29683 || exit 1
29685 @endif tk
29687 .PHONY: maybe-distclean-tk distclean-tk
29688 maybe-distclean-tk:
29689 @if tk
29690 maybe-distclean-tk: distclean-tk
29692 distclean-tk:
29693 @: $(MAKE); $(unstage)
29694 @[ -f ./tk/Makefile ] || exit 0; \
29695 r=`${PWD_COMMAND}`; export r; \
29696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29697 $(HOST_EXPORTS) \
29698 for flag in $(EXTRA_HOST_FLAGS) ; do \
29699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29700 done; \
29701 echo "Doing distclean in tk"; \
29702 (cd $(HOST_SUBDIR)/tk && \
29703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29705 "RANLIB=$${RANLIB}" \
29706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29707 distclean) \
29708 || exit 1
29710 @endif tk
29712 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
29713 maybe-maintainer-clean-tk:
29714 @if tk
29715 maybe-maintainer-clean-tk: maintainer-clean-tk
29717 maintainer-clean-tk:
29718 @: $(MAKE); $(unstage)
29719 @[ -f ./tk/Makefile ] || exit 0; \
29720 r=`${PWD_COMMAND}`; export r; \
29721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29722 $(HOST_EXPORTS) \
29723 for flag in $(EXTRA_HOST_FLAGS) ; do \
29724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29725 done; \
29726 echo "Doing maintainer-clean in tk"; \
29727 (cd $(HOST_SUBDIR)/tk && \
29728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29730 "RANLIB=$${RANLIB}" \
29731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29732 maintainer-clean) \
29733 || exit 1
29735 @endif tk
29739 .PHONY: configure-libtermcap maybe-configure-libtermcap
29740 maybe-configure-libtermcap:
29741 @if gcc-bootstrap
29742 configure-libtermcap: stage_current
29743 @endif gcc-bootstrap
29744 @if libtermcap
29745 maybe-configure-libtermcap: configure-libtermcap
29746 configure-libtermcap:
29747 @: $(MAKE); $(unstage)
29748 @r=`${PWD_COMMAND}`; export r; \
29749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29750 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
29751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
29752 $(HOST_EXPORTS) \
29753 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
29754 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
29755 case $(srcdir) in \
29756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29757 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
29758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29759 esac; \
29760 module_srcdir=libtermcap; \
29761 $(SHELL) \
29762 $$s/$$module_srcdir/configure \
29763 --srcdir=$${topdir}/$$module_srcdir \
29764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29765 --target=${target_alias} \
29766 || exit 1
29767 @endif libtermcap
29773 .PHONY: all-libtermcap maybe-all-libtermcap
29774 maybe-all-libtermcap:
29775 @if gcc-bootstrap
29776 all-libtermcap: stage_current
29777 @endif gcc-bootstrap
29778 @if libtermcap
29779 TARGET-libtermcap=all
29780 maybe-all-libtermcap: all-libtermcap
29781 all-libtermcap: configure-libtermcap
29782 @: $(MAKE); $(unstage)
29783 @r=`${PWD_COMMAND}`; export r; \
29784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29785 $(HOST_EXPORTS) \
29786 (cd $(HOST_SUBDIR)/libtermcap && \
29787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29788 $(TARGET-libtermcap))
29789 @endif libtermcap
29794 .PHONY: check-libtermcap maybe-check-libtermcap
29795 maybe-check-libtermcap:
29796 @if libtermcap
29797 maybe-check-libtermcap: check-libtermcap
29799 check-libtermcap:
29801 @endif libtermcap
29803 .PHONY: install-libtermcap maybe-install-libtermcap
29804 maybe-install-libtermcap:
29805 @if libtermcap
29806 maybe-install-libtermcap: install-libtermcap
29808 install-libtermcap: installdirs
29809 @: $(MAKE); $(unstage)
29810 @r=`${PWD_COMMAND}`; export r; \
29811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29812 $(HOST_EXPORTS) \
29813 (cd $(HOST_SUBDIR)/libtermcap && \
29814 $(MAKE) $(FLAGS_TO_PASS) install)
29816 @endif libtermcap
29818 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
29819 maybe-install-strip-libtermcap:
29820 @if libtermcap
29821 maybe-install-strip-libtermcap: install-strip-libtermcap
29823 install-strip-libtermcap: installdirs
29824 @: $(MAKE); $(unstage)
29825 @r=`${PWD_COMMAND}`; export r; \
29826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29827 $(HOST_EXPORTS) \
29828 (cd $(HOST_SUBDIR)/libtermcap && \
29829 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29831 @endif libtermcap
29833 # Other targets (info, dvi, pdf, etc.)
29835 .PHONY: maybe-info-libtermcap info-libtermcap
29836 maybe-info-libtermcap:
29837 @if libtermcap
29838 maybe-info-libtermcap: info-libtermcap
29840 info-libtermcap: \
29841 configure-libtermcap
29842 @: $(MAKE); $(unstage)
29843 @[ -f ./libtermcap/Makefile ] || exit 0; \
29844 r=`${PWD_COMMAND}`; export r; \
29845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29846 $(HOST_EXPORTS) \
29847 for flag in $(EXTRA_HOST_FLAGS) ; do \
29848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29849 done; \
29850 echo "Doing info in libtermcap"; \
29851 (cd $(HOST_SUBDIR)/libtermcap && \
29852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29854 "RANLIB=$${RANLIB}" \
29855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29856 info) \
29857 || exit 1
29859 @endif libtermcap
29861 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
29862 maybe-dvi-libtermcap:
29863 @if libtermcap
29864 maybe-dvi-libtermcap: dvi-libtermcap
29866 dvi-libtermcap: \
29867 configure-libtermcap
29868 @: $(MAKE); $(unstage)
29869 @[ -f ./libtermcap/Makefile ] || exit 0; \
29870 r=`${PWD_COMMAND}`; export r; \
29871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29872 $(HOST_EXPORTS) \
29873 for flag in $(EXTRA_HOST_FLAGS) ; do \
29874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29875 done; \
29876 echo "Doing dvi in libtermcap"; \
29877 (cd $(HOST_SUBDIR)/libtermcap && \
29878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29880 "RANLIB=$${RANLIB}" \
29881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29882 dvi) \
29883 || exit 1
29885 @endif libtermcap
29887 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
29888 maybe-pdf-libtermcap:
29889 @if libtermcap
29890 maybe-pdf-libtermcap: pdf-libtermcap
29892 pdf-libtermcap: \
29893 configure-libtermcap
29894 @: $(MAKE); $(unstage)
29895 @[ -f ./libtermcap/Makefile ] || exit 0; \
29896 r=`${PWD_COMMAND}`; export r; \
29897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29898 $(HOST_EXPORTS) \
29899 for flag in $(EXTRA_HOST_FLAGS) ; do \
29900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29901 done; \
29902 echo "Doing pdf in libtermcap"; \
29903 (cd $(HOST_SUBDIR)/libtermcap && \
29904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29906 "RANLIB=$${RANLIB}" \
29907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29908 pdf) \
29909 || exit 1
29911 @endif libtermcap
29913 .PHONY: maybe-html-libtermcap html-libtermcap
29914 maybe-html-libtermcap:
29915 @if libtermcap
29916 maybe-html-libtermcap: html-libtermcap
29918 html-libtermcap: \
29919 configure-libtermcap
29920 @: $(MAKE); $(unstage)
29921 @[ -f ./libtermcap/Makefile ] || exit 0; \
29922 r=`${PWD_COMMAND}`; export r; \
29923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29924 $(HOST_EXPORTS) \
29925 for flag in $(EXTRA_HOST_FLAGS) ; do \
29926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29927 done; \
29928 echo "Doing html in libtermcap"; \
29929 (cd $(HOST_SUBDIR)/libtermcap && \
29930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29932 "RANLIB=$${RANLIB}" \
29933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29934 html) \
29935 || exit 1
29937 @endif libtermcap
29939 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
29940 maybe-TAGS-libtermcap:
29941 @if libtermcap
29942 maybe-TAGS-libtermcap: TAGS-libtermcap
29944 TAGS-libtermcap: \
29945 configure-libtermcap
29946 @: $(MAKE); $(unstage)
29947 @[ -f ./libtermcap/Makefile ] || exit 0; \
29948 r=`${PWD_COMMAND}`; export r; \
29949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29950 $(HOST_EXPORTS) \
29951 for flag in $(EXTRA_HOST_FLAGS) ; do \
29952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29953 done; \
29954 echo "Doing TAGS in libtermcap"; \
29955 (cd $(HOST_SUBDIR)/libtermcap && \
29956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29958 "RANLIB=$${RANLIB}" \
29959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29960 TAGS) \
29961 || exit 1
29963 @endif libtermcap
29965 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
29966 maybe-install-info-libtermcap:
29967 @if libtermcap
29968 maybe-install-info-libtermcap: install-info-libtermcap
29970 install-info-libtermcap: \
29971 configure-libtermcap \
29972 info-libtermcap
29973 @: $(MAKE); $(unstage)
29974 @[ -f ./libtermcap/Makefile ] || exit 0; \
29975 r=`${PWD_COMMAND}`; export r; \
29976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29977 $(HOST_EXPORTS) \
29978 for flag in $(EXTRA_HOST_FLAGS) ; do \
29979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29980 done; \
29981 echo "Doing install-info in libtermcap"; \
29982 (cd $(HOST_SUBDIR)/libtermcap && \
29983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29985 "RANLIB=$${RANLIB}" \
29986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29987 install-info) \
29988 || exit 1
29990 @endif libtermcap
29992 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
29993 maybe-install-pdf-libtermcap:
29994 @if libtermcap
29995 maybe-install-pdf-libtermcap: install-pdf-libtermcap
29997 install-pdf-libtermcap: \
29998 configure-libtermcap \
29999 pdf-libtermcap
30000 @: $(MAKE); $(unstage)
30001 @[ -f ./libtermcap/Makefile ] || exit 0; \
30002 r=`${PWD_COMMAND}`; export r; \
30003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30004 $(HOST_EXPORTS) \
30005 for flag in $(EXTRA_HOST_FLAGS) ; do \
30006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30007 done; \
30008 echo "Doing install-pdf in libtermcap"; \
30009 (cd $(HOST_SUBDIR)/libtermcap && \
30010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30012 "RANLIB=$${RANLIB}" \
30013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30014 install-pdf) \
30015 || exit 1
30017 @endif libtermcap
30019 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30020 maybe-install-html-libtermcap:
30021 @if libtermcap
30022 maybe-install-html-libtermcap: install-html-libtermcap
30024 install-html-libtermcap: \
30025 configure-libtermcap \
30026 html-libtermcap
30027 @: $(MAKE); $(unstage)
30028 @[ -f ./libtermcap/Makefile ] || exit 0; \
30029 r=`${PWD_COMMAND}`; export r; \
30030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30031 $(HOST_EXPORTS) \
30032 for flag in $(EXTRA_HOST_FLAGS) ; do \
30033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30034 done; \
30035 echo "Doing install-html in libtermcap"; \
30036 (cd $(HOST_SUBDIR)/libtermcap && \
30037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30039 "RANLIB=$${RANLIB}" \
30040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30041 install-html) \
30042 || exit 1
30044 @endif libtermcap
30046 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30047 maybe-installcheck-libtermcap:
30048 @if libtermcap
30049 maybe-installcheck-libtermcap: installcheck-libtermcap
30051 installcheck-libtermcap: \
30052 configure-libtermcap
30053 @: $(MAKE); $(unstage)
30054 @[ -f ./libtermcap/Makefile ] || exit 0; \
30055 r=`${PWD_COMMAND}`; export r; \
30056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30057 $(HOST_EXPORTS) \
30058 for flag in $(EXTRA_HOST_FLAGS) ; do \
30059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30060 done; \
30061 echo "Doing installcheck in libtermcap"; \
30062 (cd $(HOST_SUBDIR)/libtermcap && \
30063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30065 "RANLIB=$${RANLIB}" \
30066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30067 installcheck) \
30068 || exit 1
30070 @endif libtermcap
30072 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30073 maybe-mostlyclean-libtermcap:
30074 @if libtermcap
30075 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30077 # libtermcap doesn't support mostlyclean.
30078 mostlyclean-libtermcap:
30080 @endif libtermcap
30082 .PHONY: maybe-clean-libtermcap clean-libtermcap
30083 maybe-clean-libtermcap:
30084 @if libtermcap
30085 maybe-clean-libtermcap: clean-libtermcap
30087 # libtermcap doesn't support clean.
30088 clean-libtermcap:
30090 @endif libtermcap
30092 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30093 maybe-distclean-libtermcap:
30094 @if libtermcap
30095 maybe-distclean-libtermcap: distclean-libtermcap
30097 # libtermcap doesn't support distclean.
30098 distclean-libtermcap:
30100 @endif libtermcap
30102 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30103 maybe-maintainer-clean-libtermcap:
30104 @if libtermcap
30105 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30107 # libtermcap doesn't support maintainer-clean.
30108 maintainer-clean-libtermcap:
30110 @endif libtermcap
30114 .PHONY: configure-utils maybe-configure-utils
30115 maybe-configure-utils:
30116 @if gcc-bootstrap
30117 configure-utils: stage_current
30118 @endif gcc-bootstrap
30119 @if utils
30120 maybe-configure-utils: configure-utils
30121 configure-utils:
30122 @: $(MAKE); $(unstage)
30123 @r=`${PWD_COMMAND}`; export r; \
30124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30125 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
30127 $(HOST_EXPORTS) \
30128 echo Configuring in $(HOST_SUBDIR)/utils; \
30129 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30130 case $(srcdir) in \
30131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30132 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30134 esac; \
30135 module_srcdir=utils; \
30136 $(SHELL) \
30137 $$s/$$module_srcdir/configure \
30138 --srcdir=$${topdir}/$$module_srcdir \
30139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30140 --target=${target_alias} \
30141 || exit 1
30142 @endif utils
30148 .PHONY: all-utils maybe-all-utils
30149 maybe-all-utils:
30150 @if gcc-bootstrap
30151 all-utils: stage_current
30152 @endif gcc-bootstrap
30153 @if utils
30154 TARGET-utils=all
30155 maybe-all-utils: all-utils
30156 all-utils: configure-utils
30157 @: $(MAKE); $(unstage)
30158 @r=`${PWD_COMMAND}`; export r; \
30159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30160 $(HOST_EXPORTS) \
30161 (cd $(HOST_SUBDIR)/utils && \
30162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30163 $(TARGET-utils))
30164 @endif utils
30169 .PHONY: check-utils maybe-check-utils
30170 maybe-check-utils:
30171 @if utils
30172 maybe-check-utils: check-utils
30174 check-utils:
30176 @endif utils
30178 .PHONY: install-utils maybe-install-utils
30179 maybe-install-utils:
30180 @if utils
30181 maybe-install-utils: install-utils
30183 install-utils: installdirs
30184 @: $(MAKE); $(unstage)
30185 @r=`${PWD_COMMAND}`; export r; \
30186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30187 $(HOST_EXPORTS) \
30188 (cd $(HOST_SUBDIR)/utils && \
30189 $(MAKE) $(FLAGS_TO_PASS) install)
30191 @endif utils
30193 .PHONY: install-strip-utils maybe-install-strip-utils
30194 maybe-install-strip-utils:
30195 @if utils
30196 maybe-install-strip-utils: install-strip-utils
30198 install-strip-utils: installdirs
30199 @: $(MAKE); $(unstage)
30200 @r=`${PWD_COMMAND}`; export r; \
30201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30202 $(HOST_EXPORTS) \
30203 (cd $(HOST_SUBDIR)/utils && \
30204 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30206 @endif utils
30208 # Other targets (info, dvi, pdf, etc.)
30210 .PHONY: maybe-info-utils info-utils
30211 maybe-info-utils:
30212 @if utils
30213 maybe-info-utils: info-utils
30215 info-utils: \
30216 configure-utils
30217 @: $(MAKE); $(unstage)
30218 @[ -f ./utils/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 info in utils"; \
30226 (cd $(HOST_SUBDIR)/utils && \
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 info) \
30232 || exit 1
30234 @endif utils
30236 .PHONY: maybe-dvi-utils dvi-utils
30237 maybe-dvi-utils:
30238 @if utils
30239 maybe-dvi-utils: dvi-utils
30241 dvi-utils: \
30242 configure-utils
30243 @: $(MAKE); $(unstage)
30244 @[ -f ./utils/Makefile ] || exit 0; \
30245 r=`${PWD_COMMAND}`; export r; \
30246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30247 $(HOST_EXPORTS) \
30248 for flag in $(EXTRA_HOST_FLAGS) ; do \
30249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30250 done; \
30251 echo "Doing dvi in utils"; \
30252 (cd $(HOST_SUBDIR)/utils && \
30253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30255 "RANLIB=$${RANLIB}" \
30256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30257 dvi) \
30258 || exit 1
30260 @endif utils
30262 .PHONY: maybe-pdf-utils pdf-utils
30263 maybe-pdf-utils:
30264 @if utils
30265 maybe-pdf-utils: pdf-utils
30267 pdf-utils: \
30268 configure-utils
30269 @: $(MAKE); $(unstage)
30270 @[ -f ./utils/Makefile ] || exit 0; \
30271 r=`${PWD_COMMAND}`; export r; \
30272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30273 $(HOST_EXPORTS) \
30274 for flag in $(EXTRA_HOST_FLAGS) ; do \
30275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30276 done; \
30277 echo "Doing pdf in utils"; \
30278 (cd $(HOST_SUBDIR)/utils && \
30279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30281 "RANLIB=$${RANLIB}" \
30282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30283 pdf) \
30284 || exit 1
30286 @endif utils
30288 .PHONY: maybe-html-utils html-utils
30289 maybe-html-utils:
30290 @if utils
30291 maybe-html-utils: html-utils
30293 html-utils: \
30294 configure-utils
30295 @: $(MAKE); $(unstage)
30296 @[ -f ./utils/Makefile ] || exit 0; \
30297 r=`${PWD_COMMAND}`; export r; \
30298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30299 $(HOST_EXPORTS) \
30300 for flag in $(EXTRA_HOST_FLAGS) ; do \
30301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30302 done; \
30303 echo "Doing html in utils"; \
30304 (cd $(HOST_SUBDIR)/utils && \
30305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30307 "RANLIB=$${RANLIB}" \
30308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30309 html) \
30310 || exit 1
30312 @endif utils
30314 .PHONY: maybe-TAGS-utils TAGS-utils
30315 maybe-TAGS-utils:
30316 @if utils
30317 maybe-TAGS-utils: TAGS-utils
30319 TAGS-utils: \
30320 configure-utils
30321 @: $(MAKE); $(unstage)
30322 @[ -f ./utils/Makefile ] || exit 0; \
30323 r=`${PWD_COMMAND}`; export r; \
30324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30325 $(HOST_EXPORTS) \
30326 for flag in $(EXTRA_HOST_FLAGS) ; do \
30327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30328 done; \
30329 echo "Doing TAGS in utils"; \
30330 (cd $(HOST_SUBDIR)/utils && \
30331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30333 "RANLIB=$${RANLIB}" \
30334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30335 TAGS) \
30336 || exit 1
30338 @endif utils
30340 .PHONY: maybe-install-info-utils install-info-utils
30341 maybe-install-info-utils:
30342 @if utils
30343 maybe-install-info-utils: install-info-utils
30345 install-info-utils: \
30346 configure-utils \
30347 info-utils
30348 @: $(MAKE); $(unstage)
30349 @[ -f ./utils/Makefile ] || exit 0; \
30350 r=`${PWD_COMMAND}`; export r; \
30351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30352 $(HOST_EXPORTS) \
30353 for flag in $(EXTRA_HOST_FLAGS) ; do \
30354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30355 done; \
30356 echo "Doing install-info in utils"; \
30357 (cd $(HOST_SUBDIR)/utils && \
30358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30360 "RANLIB=$${RANLIB}" \
30361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30362 install-info) \
30363 || exit 1
30365 @endif utils
30367 .PHONY: maybe-install-pdf-utils install-pdf-utils
30368 maybe-install-pdf-utils:
30369 @if utils
30370 maybe-install-pdf-utils: install-pdf-utils
30372 install-pdf-utils: \
30373 configure-utils \
30374 pdf-utils
30375 @: $(MAKE); $(unstage)
30376 @[ -f ./utils/Makefile ] || exit 0; \
30377 r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30379 $(HOST_EXPORTS) \
30380 for flag in $(EXTRA_HOST_FLAGS) ; do \
30381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30382 done; \
30383 echo "Doing install-pdf in utils"; \
30384 (cd $(HOST_SUBDIR)/utils && \
30385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30387 "RANLIB=$${RANLIB}" \
30388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30389 install-pdf) \
30390 || exit 1
30392 @endif utils
30394 .PHONY: maybe-install-html-utils install-html-utils
30395 maybe-install-html-utils:
30396 @if utils
30397 maybe-install-html-utils: install-html-utils
30399 install-html-utils: \
30400 configure-utils \
30401 html-utils
30402 @: $(MAKE); $(unstage)
30403 @[ -f ./utils/Makefile ] || exit 0; \
30404 r=`${PWD_COMMAND}`; export r; \
30405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30406 $(HOST_EXPORTS) \
30407 for flag in $(EXTRA_HOST_FLAGS) ; do \
30408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30409 done; \
30410 echo "Doing install-html in utils"; \
30411 (cd $(HOST_SUBDIR)/utils && \
30412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30414 "RANLIB=$${RANLIB}" \
30415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30416 install-html) \
30417 || exit 1
30419 @endif utils
30421 .PHONY: maybe-installcheck-utils installcheck-utils
30422 maybe-installcheck-utils:
30423 @if utils
30424 maybe-installcheck-utils: installcheck-utils
30426 installcheck-utils: \
30427 configure-utils
30428 @: $(MAKE); $(unstage)
30429 @[ -f ./utils/Makefile ] || exit 0; \
30430 r=`${PWD_COMMAND}`; export r; \
30431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30432 $(HOST_EXPORTS) \
30433 for flag in $(EXTRA_HOST_FLAGS) ; do \
30434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30435 done; \
30436 echo "Doing installcheck in utils"; \
30437 (cd $(HOST_SUBDIR)/utils && \
30438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30440 "RANLIB=$${RANLIB}" \
30441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30442 installcheck) \
30443 || exit 1
30445 @endif utils
30447 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30448 maybe-mostlyclean-utils:
30449 @if utils
30450 maybe-mostlyclean-utils: mostlyclean-utils
30452 mostlyclean-utils:
30453 @: $(MAKE); $(unstage)
30454 @[ -f ./utils/Makefile ] || exit 0; \
30455 r=`${PWD_COMMAND}`; export r; \
30456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30457 $(HOST_EXPORTS) \
30458 for flag in $(EXTRA_HOST_FLAGS) ; do \
30459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30460 done; \
30461 echo "Doing mostlyclean in utils"; \
30462 (cd $(HOST_SUBDIR)/utils && \
30463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30465 "RANLIB=$${RANLIB}" \
30466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30467 mostlyclean) \
30468 || exit 1
30470 @endif utils
30472 .PHONY: maybe-clean-utils clean-utils
30473 maybe-clean-utils:
30474 @if utils
30475 maybe-clean-utils: clean-utils
30477 clean-utils:
30478 @: $(MAKE); $(unstage)
30479 @[ -f ./utils/Makefile ] || exit 0; \
30480 r=`${PWD_COMMAND}`; export r; \
30481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30482 $(HOST_EXPORTS) \
30483 for flag in $(EXTRA_HOST_FLAGS) ; do \
30484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30485 done; \
30486 echo "Doing clean in utils"; \
30487 (cd $(HOST_SUBDIR)/utils && \
30488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30490 "RANLIB=$${RANLIB}" \
30491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30492 clean) \
30493 || exit 1
30495 @endif utils
30497 .PHONY: maybe-distclean-utils distclean-utils
30498 maybe-distclean-utils:
30499 @if utils
30500 maybe-distclean-utils: distclean-utils
30502 distclean-utils:
30503 @: $(MAKE); $(unstage)
30504 @[ -f ./utils/Makefile ] || exit 0; \
30505 r=`${PWD_COMMAND}`; export r; \
30506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30507 $(HOST_EXPORTS) \
30508 for flag in $(EXTRA_HOST_FLAGS) ; do \
30509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30510 done; \
30511 echo "Doing distclean in utils"; \
30512 (cd $(HOST_SUBDIR)/utils && \
30513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30515 "RANLIB=$${RANLIB}" \
30516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30517 distclean) \
30518 || exit 1
30520 @endif utils
30522 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30523 maybe-maintainer-clean-utils:
30524 @if utils
30525 maybe-maintainer-clean-utils: maintainer-clean-utils
30527 maintainer-clean-utils:
30528 @: $(MAKE); $(unstage)
30529 @[ -f ./utils/Makefile ] || exit 0; \
30530 r=`${PWD_COMMAND}`; export r; \
30531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30532 $(HOST_EXPORTS) \
30533 for flag in $(EXTRA_HOST_FLAGS) ; do \
30534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30535 done; \
30536 echo "Doing maintainer-clean in utils"; \
30537 (cd $(HOST_SUBDIR)/utils && \
30538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30540 "RANLIB=$${RANLIB}" \
30541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30542 maintainer-clean) \
30543 || exit 1
30545 @endif utils
30549 .PHONY: configure-gnattools maybe-configure-gnattools
30550 maybe-configure-gnattools:
30551 @if gcc-bootstrap
30552 configure-gnattools: stage_current
30553 @endif gcc-bootstrap
30554 @if gnattools
30555 maybe-configure-gnattools: configure-gnattools
30556 configure-gnattools:
30557 @: $(MAKE); $(unstage)
30558 @r=`${PWD_COMMAND}`; export r; \
30559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30560 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
30562 $(HOST_EXPORTS) \
30563 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30564 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30565 case $(srcdir) in \
30566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30567 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30569 esac; \
30570 module_srcdir=gnattools; \
30571 $(SHELL) \
30572 $$s/$$module_srcdir/configure \
30573 --srcdir=$${topdir}/$$module_srcdir \
30574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30575 --target=${target_alias} \
30576 || exit 1
30577 @endif gnattools
30583 .PHONY: all-gnattools maybe-all-gnattools
30584 maybe-all-gnattools:
30585 @if gcc-bootstrap
30586 all-gnattools: stage_current
30587 @endif gcc-bootstrap
30588 @if gnattools
30589 TARGET-gnattools=all
30590 maybe-all-gnattools: all-gnattools
30591 all-gnattools: configure-gnattools
30592 @: $(MAKE); $(unstage)
30593 @r=`${PWD_COMMAND}`; export r; \
30594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30595 $(HOST_EXPORTS) \
30596 (cd $(HOST_SUBDIR)/gnattools && \
30597 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30598 $(TARGET-gnattools))
30599 @endif gnattools
30604 .PHONY: check-gnattools maybe-check-gnattools
30605 maybe-check-gnattools:
30606 @if gnattools
30607 maybe-check-gnattools: check-gnattools
30609 check-gnattools:
30610 @: $(MAKE); $(unstage)
30611 @r=`${PWD_COMMAND}`; export r; \
30612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30613 $(HOST_EXPORTS) \
30614 (cd $(HOST_SUBDIR)/gnattools && \
30615 $(MAKE) $(FLAGS_TO_PASS) check)
30617 @endif gnattools
30619 .PHONY: install-gnattools maybe-install-gnattools
30620 maybe-install-gnattools:
30621 @if gnattools
30622 maybe-install-gnattools: install-gnattools
30624 install-gnattools: installdirs
30625 @: $(MAKE); $(unstage)
30626 @r=`${PWD_COMMAND}`; export r; \
30627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30628 $(HOST_EXPORTS) \
30629 (cd $(HOST_SUBDIR)/gnattools && \
30630 $(MAKE) $(FLAGS_TO_PASS) install)
30632 @endif gnattools
30634 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30635 maybe-install-strip-gnattools:
30636 @if gnattools
30637 maybe-install-strip-gnattools: install-strip-gnattools
30639 install-strip-gnattools: installdirs
30640 @: $(MAKE); $(unstage)
30641 @r=`${PWD_COMMAND}`; export r; \
30642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30643 $(HOST_EXPORTS) \
30644 (cd $(HOST_SUBDIR)/gnattools && \
30645 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30647 @endif gnattools
30649 # Other targets (info, dvi, pdf, etc.)
30651 .PHONY: maybe-info-gnattools info-gnattools
30652 maybe-info-gnattools:
30653 @if gnattools
30654 maybe-info-gnattools: info-gnattools
30656 info-gnattools: \
30657 configure-gnattools
30658 @: $(MAKE); $(unstage)
30659 @[ -f ./gnattools/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 info in gnattools"; \
30667 (cd $(HOST_SUBDIR)/gnattools && \
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 info) \
30673 || exit 1
30675 @endif gnattools
30677 .PHONY: maybe-dvi-gnattools dvi-gnattools
30678 maybe-dvi-gnattools:
30679 @if gnattools
30680 maybe-dvi-gnattools: dvi-gnattools
30682 dvi-gnattools: \
30683 configure-gnattools
30684 @: $(MAKE); $(unstage)
30685 @[ -f ./gnattools/Makefile ] || exit 0; \
30686 r=`${PWD_COMMAND}`; export r; \
30687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30688 $(HOST_EXPORTS) \
30689 for flag in $(EXTRA_HOST_FLAGS) ; do \
30690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30691 done; \
30692 echo "Doing dvi in gnattools"; \
30693 (cd $(HOST_SUBDIR)/gnattools && \
30694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30696 "RANLIB=$${RANLIB}" \
30697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30698 dvi) \
30699 || exit 1
30701 @endif gnattools
30703 .PHONY: maybe-pdf-gnattools pdf-gnattools
30704 maybe-pdf-gnattools:
30705 @if gnattools
30706 maybe-pdf-gnattools: pdf-gnattools
30708 pdf-gnattools: \
30709 configure-gnattools
30710 @: $(MAKE); $(unstage)
30711 @[ -f ./gnattools/Makefile ] || exit 0; \
30712 r=`${PWD_COMMAND}`; export r; \
30713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30714 $(HOST_EXPORTS) \
30715 for flag in $(EXTRA_HOST_FLAGS) ; do \
30716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30717 done; \
30718 echo "Doing pdf in gnattools"; \
30719 (cd $(HOST_SUBDIR)/gnattools && \
30720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30722 "RANLIB=$${RANLIB}" \
30723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30724 pdf) \
30725 || exit 1
30727 @endif gnattools
30729 .PHONY: maybe-html-gnattools html-gnattools
30730 maybe-html-gnattools:
30731 @if gnattools
30732 maybe-html-gnattools: html-gnattools
30734 html-gnattools: \
30735 configure-gnattools
30736 @: $(MAKE); $(unstage)
30737 @[ -f ./gnattools/Makefile ] || exit 0; \
30738 r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 $(HOST_EXPORTS) \
30741 for flag in $(EXTRA_HOST_FLAGS) ; do \
30742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30743 done; \
30744 echo "Doing html in gnattools"; \
30745 (cd $(HOST_SUBDIR)/gnattools && \
30746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30748 "RANLIB=$${RANLIB}" \
30749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30750 html) \
30751 || exit 1
30753 @endif gnattools
30755 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30756 maybe-TAGS-gnattools:
30757 @if gnattools
30758 maybe-TAGS-gnattools: TAGS-gnattools
30760 TAGS-gnattools: \
30761 configure-gnattools
30762 @: $(MAKE); $(unstage)
30763 @[ -f ./gnattools/Makefile ] || exit 0; \
30764 r=`${PWD_COMMAND}`; export r; \
30765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30766 $(HOST_EXPORTS) \
30767 for flag in $(EXTRA_HOST_FLAGS) ; do \
30768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30769 done; \
30770 echo "Doing TAGS in gnattools"; \
30771 (cd $(HOST_SUBDIR)/gnattools && \
30772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30774 "RANLIB=$${RANLIB}" \
30775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30776 TAGS) \
30777 || exit 1
30779 @endif gnattools
30781 .PHONY: maybe-install-info-gnattools install-info-gnattools
30782 maybe-install-info-gnattools:
30783 @if gnattools
30784 maybe-install-info-gnattools: install-info-gnattools
30786 install-info-gnattools: \
30787 configure-gnattools \
30788 info-gnattools
30789 @: $(MAKE); $(unstage)
30790 @[ -f ./gnattools/Makefile ] || exit 0; \
30791 r=`${PWD_COMMAND}`; export r; \
30792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30793 $(HOST_EXPORTS) \
30794 for flag in $(EXTRA_HOST_FLAGS) ; do \
30795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30796 done; \
30797 echo "Doing install-info in gnattools"; \
30798 (cd $(HOST_SUBDIR)/gnattools && \
30799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30801 "RANLIB=$${RANLIB}" \
30802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30803 install-info) \
30804 || exit 1
30806 @endif gnattools
30808 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
30809 maybe-install-pdf-gnattools:
30810 @if gnattools
30811 maybe-install-pdf-gnattools: install-pdf-gnattools
30813 install-pdf-gnattools: \
30814 configure-gnattools \
30815 pdf-gnattools
30816 @: $(MAKE); $(unstage)
30817 @[ -f ./gnattools/Makefile ] || exit 0; \
30818 r=`${PWD_COMMAND}`; export r; \
30819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30820 $(HOST_EXPORTS) \
30821 for flag in $(EXTRA_HOST_FLAGS) ; do \
30822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30823 done; \
30824 echo "Doing install-pdf in gnattools"; \
30825 (cd $(HOST_SUBDIR)/gnattools && \
30826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30828 "RANLIB=$${RANLIB}" \
30829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30830 install-pdf) \
30831 || exit 1
30833 @endif gnattools
30835 .PHONY: maybe-install-html-gnattools install-html-gnattools
30836 maybe-install-html-gnattools:
30837 @if gnattools
30838 maybe-install-html-gnattools: install-html-gnattools
30840 install-html-gnattools: \
30841 configure-gnattools \
30842 html-gnattools
30843 @: $(MAKE); $(unstage)
30844 @[ -f ./gnattools/Makefile ] || exit 0; \
30845 r=`${PWD_COMMAND}`; export r; \
30846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30847 $(HOST_EXPORTS) \
30848 for flag in $(EXTRA_HOST_FLAGS) ; do \
30849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30850 done; \
30851 echo "Doing install-html in gnattools"; \
30852 (cd $(HOST_SUBDIR)/gnattools && \
30853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30855 "RANLIB=$${RANLIB}" \
30856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30857 install-html) \
30858 || exit 1
30860 @endif gnattools
30862 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30863 maybe-installcheck-gnattools:
30864 @if gnattools
30865 maybe-installcheck-gnattools: installcheck-gnattools
30867 installcheck-gnattools: \
30868 configure-gnattools
30869 @: $(MAKE); $(unstage)
30870 @[ -f ./gnattools/Makefile ] || exit 0; \
30871 r=`${PWD_COMMAND}`; export r; \
30872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30873 $(HOST_EXPORTS) \
30874 for flag in $(EXTRA_HOST_FLAGS) ; do \
30875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30876 done; \
30877 echo "Doing installcheck in gnattools"; \
30878 (cd $(HOST_SUBDIR)/gnattools && \
30879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30881 "RANLIB=$${RANLIB}" \
30882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30883 installcheck) \
30884 || exit 1
30886 @endif gnattools
30888 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30889 maybe-mostlyclean-gnattools:
30890 @if gnattools
30891 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30893 mostlyclean-gnattools:
30894 @: $(MAKE); $(unstage)
30895 @[ -f ./gnattools/Makefile ] || exit 0; \
30896 r=`${PWD_COMMAND}`; export r; \
30897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30898 $(HOST_EXPORTS) \
30899 for flag in $(EXTRA_HOST_FLAGS) ; do \
30900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30901 done; \
30902 echo "Doing mostlyclean in gnattools"; \
30903 (cd $(HOST_SUBDIR)/gnattools && \
30904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30906 "RANLIB=$${RANLIB}" \
30907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30908 mostlyclean) \
30909 || exit 1
30911 @endif gnattools
30913 .PHONY: maybe-clean-gnattools clean-gnattools
30914 maybe-clean-gnattools:
30915 @if gnattools
30916 maybe-clean-gnattools: clean-gnattools
30918 clean-gnattools:
30919 @: $(MAKE); $(unstage)
30920 @[ -f ./gnattools/Makefile ] || exit 0; \
30921 r=`${PWD_COMMAND}`; export r; \
30922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30923 $(HOST_EXPORTS) \
30924 for flag in $(EXTRA_HOST_FLAGS) ; do \
30925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30926 done; \
30927 echo "Doing clean in gnattools"; \
30928 (cd $(HOST_SUBDIR)/gnattools && \
30929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30931 "RANLIB=$${RANLIB}" \
30932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30933 clean) \
30934 || exit 1
30936 @endif gnattools
30938 .PHONY: maybe-distclean-gnattools distclean-gnattools
30939 maybe-distclean-gnattools:
30940 @if gnattools
30941 maybe-distclean-gnattools: distclean-gnattools
30943 distclean-gnattools:
30944 @: $(MAKE); $(unstage)
30945 @[ -f ./gnattools/Makefile ] || exit 0; \
30946 r=`${PWD_COMMAND}`; export r; \
30947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30948 $(HOST_EXPORTS) \
30949 for flag in $(EXTRA_HOST_FLAGS) ; do \
30950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30951 done; \
30952 echo "Doing distclean in gnattools"; \
30953 (cd $(HOST_SUBDIR)/gnattools && \
30954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30956 "RANLIB=$${RANLIB}" \
30957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30958 distclean) \
30959 || exit 1
30961 @endif gnattools
30963 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
30964 maybe-maintainer-clean-gnattools:
30965 @if gnattools
30966 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
30968 maintainer-clean-gnattools:
30969 @: $(MAKE); $(unstage)
30970 @[ -f ./gnattools/Makefile ] || exit 0; \
30971 r=`${PWD_COMMAND}`; export r; \
30972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30973 $(HOST_EXPORTS) \
30974 for flag in $(EXTRA_HOST_FLAGS) ; do \
30975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30976 done; \
30977 echo "Doing maintainer-clean in gnattools"; \
30978 (cd $(HOST_SUBDIR)/gnattools && \
30979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30981 "RANLIB=$${RANLIB}" \
30982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30983 maintainer-clean) \
30984 || exit 1
30986 @endif gnattools
30990 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
30991 maybe-configure-lto-plugin:
30992 @if gcc-bootstrap
30993 configure-lto-plugin: stage_current
30994 @endif gcc-bootstrap
30995 @if lto-plugin
30996 maybe-configure-lto-plugin: configure-lto-plugin
30997 configure-lto-plugin:
30998 @r=`${PWD_COMMAND}`; export r; \
30999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31000 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31002 $(HOST_EXPORTS) \
31003 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
31004 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
31005 case $(srcdir) in \
31006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31007 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31009 esac; \
31010 module_srcdir=lto-plugin; \
31011 $(SHELL) \
31012 $$s/$$module_srcdir/configure \
31013 --srcdir=$${topdir}/$$module_srcdir \
31014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31015 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
31016 || exit 1
31017 @endif lto-plugin
31021 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
31022 maybe-configure-stage1-lto-plugin:
31023 @if lto-plugin-bootstrap
31024 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
31025 configure-stage1-lto-plugin:
31026 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31028 @r=`${PWD_COMMAND}`; export r; \
31029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31030 TFLAGS="$(STAGE1_TFLAGS)"; \
31031 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31032 $(HOST_EXPORTS) \
31033 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31034 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31035 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31036 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
31037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31038 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31039 case $(srcdir) in \
31040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31041 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31043 esac; \
31044 module_srcdir=lto-plugin; \
31045 $(SHELL) $$s/$$module_srcdir/configure \
31046 --srcdir=$${topdir}/$$module_srcdir \
31047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31048 --target=${target_alias} \
31050 $(STAGE1_CONFIGURE_FLAGS) \
31051 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31052 @endif lto-plugin-bootstrap
31054 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
31055 maybe-configure-stage2-lto-plugin:
31056 @if lto-plugin-bootstrap
31057 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
31058 configure-stage2-lto-plugin:
31059 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31061 @r=`${PWD_COMMAND}`; export r; \
31062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31063 TFLAGS="$(STAGE2_TFLAGS)"; \
31064 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31065 $(HOST_EXPORTS) \
31066 $(POSTSTAGE1_HOST_EXPORTS) \
31067 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31068 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31069 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31070 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
31071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31072 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31073 case $(srcdir) in \
31074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31075 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31077 esac; \
31078 module_srcdir=lto-plugin; \
31079 $(SHELL) $$s/$$module_srcdir/configure \
31080 --srcdir=$${topdir}/$$module_srcdir \
31081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31082 --target=${target_alias} \
31083 --with-build-libsubdir=$(HOST_SUBDIR) \
31084 $(STAGE2_CONFIGURE_FLAGS) \
31085 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31086 @endif lto-plugin-bootstrap
31088 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
31089 maybe-configure-stage3-lto-plugin:
31090 @if lto-plugin-bootstrap
31091 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
31092 configure-stage3-lto-plugin:
31093 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31095 @r=`${PWD_COMMAND}`; export r; \
31096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31097 TFLAGS="$(STAGE3_TFLAGS)"; \
31098 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31099 $(HOST_EXPORTS) \
31100 $(POSTSTAGE1_HOST_EXPORTS) \
31101 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31102 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31103 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31104 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
31105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31106 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31107 case $(srcdir) in \
31108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31109 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31111 esac; \
31112 module_srcdir=lto-plugin; \
31113 $(SHELL) $$s/$$module_srcdir/configure \
31114 --srcdir=$${topdir}/$$module_srcdir \
31115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31116 --target=${target_alias} \
31117 --with-build-libsubdir=$(HOST_SUBDIR) \
31118 $(STAGE3_CONFIGURE_FLAGS) \
31119 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31120 @endif lto-plugin-bootstrap
31122 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
31123 maybe-configure-stage4-lto-plugin:
31124 @if lto-plugin-bootstrap
31125 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
31126 configure-stage4-lto-plugin:
31127 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31128 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31129 @r=`${PWD_COMMAND}`; export r; \
31130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31131 TFLAGS="$(STAGE4_TFLAGS)"; \
31132 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31133 $(HOST_EXPORTS) \
31134 $(POSTSTAGE1_HOST_EXPORTS) \
31135 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31136 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31137 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31138 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
31139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31140 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31141 case $(srcdir) in \
31142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31143 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31145 esac; \
31146 module_srcdir=lto-plugin; \
31147 $(SHELL) $$s/$$module_srcdir/configure \
31148 --srcdir=$${topdir}/$$module_srcdir \
31149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31150 --target=${target_alias} \
31151 --with-build-libsubdir=$(HOST_SUBDIR) \
31152 $(STAGE4_CONFIGURE_FLAGS) \
31153 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31154 @endif lto-plugin-bootstrap
31156 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
31157 maybe-configure-stageprofile-lto-plugin:
31158 @if lto-plugin-bootstrap
31159 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31160 configure-stageprofile-lto-plugin:
31161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31163 @r=`${PWD_COMMAND}`; export r; \
31164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31165 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31166 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31167 $(HOST_EXPORTS) \
31168 $(POSTSTAGE1_HOST_EXPORTS) \
31169 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31170 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31171 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31172 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
31173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31174 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31175 case $(srcdir) in \
31176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31177 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31179 esac; \
31180 module_srcdir=lto-plugin; \
31181 $(SHELL) $$s/$$module_srcdir/configure \
31182 --srcdir=$${topdir}/$$module_srcdir \
31183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31184 --target=${target_alias} \
31185 --with-build-libsubdir=$(HOST_SUBDIR) \
31186 $(STAGEprofile_CONFIGURE_FLAGS) \
31187 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31188 @endif lto-plugin-bootstrap
31190 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
31191 maybe-configure-stagefeedback-lto-plugin:
31192 @if lto-plugin-bootstrap
31193 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31194 configure-stagefeedback-lto-plugin:
31195 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31197 @r=`${PWD_COMMAND}`; export r; \
31198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31199 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31200 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31201 $(HOST_EXPORTS) \
31202 $(POSTSTAGE1_HOST_EXPORTS) \
31203 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31204 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31205 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31206 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
31207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31208 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31209 case $(srcdir) in \
31210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31211 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31213 esac; \
31214 module_srcdir=lto-plugin; \
31215 $(SHELL) $$s/$$module_srcdir/configure \
31216 --srcdir=$${topdir}/$$module_srcdir \
31217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31218 --target=${target_alias} \
31219 --with-build-libsubdir=$(HOST_SUBDIR) \
31220 $(STAGEfeedback_CONFIGURE_FLAGS) \
31221 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31222 @endif lto-plugin-bootstrap
31228 .PHONY: all-lto-plugin maybe-all-lto-plugin
31229 maybe-all-lto-plugin:
31230 @if gcc-bootstrap
31231 all-lto-plugin: stage_current
31232 @endif gcc-bootstrap
31233 @if lto-plugin
31234 TARGET-lto-plugin=all
31235 maybe-all-lto-plugin: all-lto-plugin
31236 all-lto-plugin: configure-lto-plugin
31237 @r=`${PWD_COMMAND}`; export r; \
31238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31239 $(HOST_EXPORTS) \
31240 (cd $(HOST_SUBDIR)/lto-plugin && \
31241 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31242 $(TARGET-lto-plugin))
31243 @endif lto-plugin
31247 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
31248 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
31249 maybe-all-stage1-lto-plugin:
31250 maybe-clean-stage1-lto-plugin:
31251 @if lto-plugin-bootstrap
31252 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
31253 all-stage1: all-stage1-lto-plugin
31254 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
31255 all-stage1-lto-plugin: configure-stage1-lto-plugin
31256 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31257 @r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 TFLAGS="$(STAGE1_TFLAGS)"; \
31260 $(HOST_EXPORTS) \
31261 cd $(HOST_SUBDIR)/lto-plugin && \
31262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31263 CFLAGS="$(STAGE1_CFLAGS)" \
31264 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31265 LIBCFLAGS="$(LIBCFLAGS)" \
31266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31269 $(EXTRA_HOST_FLAGS) \
31270 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31271 TFLAGS="$(STAGE1_TFLAGS)" \
31272 $(TARGET-stage1-lto-plugin)
31274 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
31275 clean-stage1: clean-stage1-lto-plugin
31276 clean-stage1-lto-plugin:
31277 @if [ $(current_stage) = stage1 ]; then \
31278 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31279 else \
31280 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
31281 $(MAKE) stage1-start; \
31282 fi; \
31283 cd $(HOST_SUBDIR)/lto-plugin && \
31284 $(MAKE) $(EXTRA_HOST_FLAGS) \
31285 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31286 @endif lto-plugin-bootstrap
31289 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
31290 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
31291 maybe-all-stage2-lto-plugin:
31292 maybe-clean-stage2-lto-plugin:
31293 @if lto-plugin-bootstrap
31294 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
31295 all-stage2: all-stage2-lto-plugin
31296 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
31297 all-stage2-lto-plugin: configure-stage2-lto-plugin
31298 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31299 @r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 TFLAGS="$(STAGE2_TFLAGS)"; \
31302 $(HOST_EXPORTS) \
31303 $(POSTSTAGE1_HOST_EXPORTS) \
31304 cd $(HOST_SUBDIR)/lto-plugin && \
31305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31306 CFLAGS="$(STAGE2_CFLAGS)" \
31307 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31308 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31312 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31313 TFLAGS="$(STAGE2_TFLAGS)" \
31314 $(TARGET-stage2-lto-plugin)
31316 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
31317 clean-stage2: clean-stage2-lto-plugin
31318 clean-stage2-lto-plugin:
31319 @if [ $(current_stage) = stage2 ]; then \
31320 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31321 else \
31322 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
31323 $(MAKE) stage2-start; \
31324 fi; \
31325 cd $(HOST_SUBDIR)/lto-plugin && \
31326 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31327 @endif lto-plugin-bootstrap
31330 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
31331 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
31332 maybe-all-stage3-lto-plugin:
31333 maybe-clean-stage3-lto-plugin:
31334 @if lto-plugin-bootstrap
31335 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
31336 all-stage3: all-stage3-lto-plugin
31337 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
31338 all-stage3-lto-plugin: configure-stage3-lto-plugin
31339 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31340 @r=`${PWD_COMMAND}`; export r; \
31341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31342 TFLAGS="$(STAGE3_TFLAGS)"; \
31343 $(HOST_EXPORTS) \
31344 $(POSTSTAGE1_HOST_EXPORTS) \
31345 cd $(HOST_SUBDIR)/lto-plugin && \
31346 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31347 CFLAGS="$(STAGE3_CFLAGS)" \
31348 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31349 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31353 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31354 TFLAGS="$(STAGE3_TFLAGS)" \
31355 $(TARGET-stage3-lto-plugin)
31357 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
31358 clean-stage3: clean-stage3-lto-plugin
31359 clean-stage3-lto-plugin:
31360 @if [ $(current_stage) = stage3 ]; then \
31361 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31362 else \
31363 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
31364 $(MAKE) stage3-start; \
31365 fi; \
31366 cd $(HOST_SUBDIR)/lto-plugin && \
31367 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31368 @endif lto-plugin-bootstrap
31371 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
31372 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
31373 maybe-all-stage4-lto-plugin:
31374 maybe-clean-stage4-lto-plugin:
31375 @if lto-plugin-bootstrap
31376 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
31377 all-stage4: all-stage4-lto-plugin
31378 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
31379 all-stage4-lto-plugin: configure-stage4-lto-plugin
31380 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31381 @r=`${PWD_COMMAND}`; export r; \
31382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31383 TFLAGS="$(STAGE4_TFLAGS)"; \
31384 $(HOST_EXPORTS) \
31385 $(POSTSTAGE1_HOST_EXPORTS) \
31386 cd $(HOST_SUBDIR)/lto-plugin && \
31387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31388 CFLAGS="$(STAGE4_CFLAGS)" \
31389 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31390 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31391 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31392 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31393 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31394 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31395 TFLAGS="$(STAGE4_TFLAGS)" \
31396 $(TARGET-stage4-lto-plugin)
31398 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
31399 clean-stage4: clean-stage4-lto-plugin
31400 clean-stage4-lto-plugin:
31401 @if [ $(current_stage) = stage4 ]; then \
31402 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31403 else \
31404 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
31405 $(MAKE) stage4-start; \
31406 fi; \
31407 cd $(HOST_SUBDIR)/lto-plugin && \
31408 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31409 @endif lto-plugin-bootstrap
31412 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
31413 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
31414 maybe-all-stageprofile-lto-plugin:
31415 maybe-clean-stageprofile-lto-plugin:
31416 @if lto-plugin-bootstrap
31417 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
31418 all-stageprofile: all-stageprofile-lto-plugin
31419 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
31420 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31421 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31422 @r=`${PWD_COMMAND}`; export r; \
31423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31424 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31425 $(HOST_EXPORTS) \
31426 $(POSTSTAGE1_HOST_EXPORTS) \
31427 cd $(HOST_SUBDIR)/lto-plugin && \
31428 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31429 CFLAGS="$(STAGEprofile_CFLAGS)" \
31430 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31431 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31432 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31433 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31434 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31435 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31436 TFLAGS="$(STAGEprofile_TFLAGS)" \
31437 $(TARGET-stageprofile-lto-plugin)
31439 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
31440 clean-stageprofile: clean-stageprofile-lto-plugin
31441 clean-stageprofile-lto-plugin:
31442 @if [ $(current_stage) = stageprofile ]; then \
31443 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31444 else \
31445 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
31446 $(MAKE) stageprofile-start; \
31447 fi; \
31448 cd $(HOST_SUBDIR)/lto-plugin && \
31449 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31450 @endif lto-plugin-bootstrap
31453 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
31454 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
31455 maybe-all-stagefeedback-lto-plugin:
31456 maybe-clean-stagefeedback-lto-plugin:
31457 @if lto-plugin-bootstrap
31458 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
31459 all-stagefeedback: all-stagefeedback-lto-plugin
31460 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
31461 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31462 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31463 @r=`${PWD_COMMAND}`; export r; \
31464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31465 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31466 $(HOST_EXPORTS) \
31467 $(POSTSTAGE1_HOST_EXPORTS) \
31468 cd $(HOST_SUBDIR)/lto-plugin && \
31469 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31470 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31471 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31472 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31473 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31474 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31475 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31476 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31477 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31478 $(TARGET-stagefeedback-lto-plugin)
31480 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31481 clean-stagefeedback: clean-stagefeedback-lto-plugin
31482 clean-stagefeedback-lto-plugin:
31483 @if [ $(current_stage) = stagefeedback ]; then \
31484 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31485 else \
31486 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31487 $(MAKE) stagefeedback-start; \
31488 fi; \
31489 cd $(HOST_SUBDIR)/lto-plugin && \
31490 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31491 @endif lto-plugin-bootstrap
31497 .PHONY: check-lto-plugin maybe-check-lto-plugin
31498 maybe-check-lto-plugin:
31499 @if lto-plugin
31500 maybe-check-lto-plugin: check-lto-plugin
31502 check-lto-plugin:
31503 @: $(MAKE); $(unstage)
31504 @r=`${PWD_COMMAND}`; export r; \
31505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31506 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
31507 (cd $(HOST_SUBDIR)/lto-plugin && \
31508 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
31510 @endif lto-plugin
31512 .PHONY: install-lto-plugin maybe-install-lto-plugin
31513 maybe-install-lto-plugin:
31514 @if lto-plugin
31515 maybe-install-lto-plugin: install-lto-plugin
31517 install-lto-plugin: installdirs
31518 @: $(MAKE); $(unstage)
31519 @r=`${PWD_COMMAND}`; export r; \
31520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31521 $(HOST_EXPORTS) \
31522 (cd $(HOST_SUBDIR)/lto-plugin && \
31523 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31525 @endif lto-plugin
31527 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31528 maybe-install-strip-lto-plugin:
31529 @if lto-plugin
31530 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31532 install-strip-lto-plugin: installdirs
31533 @: $(MAKE); $(unstage)
31534 @r=`${PWD_COMMAND}`; export r; \
31535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31536 $(HOST_EXPORTS) \
31537 (cd $(HOST_SUBDIR)/lto-plugin && \
31538 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31540 @endif lto-plugin
31542 # Other targets (info, dvi, pdf, etc.)
31544 .PHONY: maybe-info-lto-plugin info-lto-plugin
31545 maybe-info-lto-plugin:
31546 @if lto-plugin
31547 maybe-info-lto-plugin: info-lto-plugin
31549 info-lto-plugin: \
31550 configure-lto-plugin
31551 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31552 r=`${PWD_COMMAND}`; export r; \
31553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31554 $(HOST_EXPORTS) \
31555 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31557 done; \
31558 echo "Doing info in lto-plugin"; \
31559 (cd $(HOST_SUBDIR)/lto-plugin && \
31560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31562 "RANLIB=$${RANLIB}" \
31563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31564 info) \
31565 || exit 1
31567 @endif lto-plugin
31569 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31570 maybe-dvi-lto-plugin:
31571 @if lto-plugin
31572 maybe-dvi-lto-plugin: dvi-lto-plugin
31574 dvi-lto-plugin: \
31575 configure-lto-plugin
31576 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31577 r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(HOST_EXPORTS) \
31580 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31582 done; \
31583 echo "Doing dvi in lto-plugin"; \
31584 (cd $(HOST_SUBDIR)/lto-plugin && \
31585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31587 "RANLIB=$${RANLIB}" \
31588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31589 dvi) \
31590 || exit 1
31592 @endif lto-plugin
31594 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31595 maybe-pdf-lto-plugin:
31596 @if lto-plugin
31597 maybe-pdf-lto-plugin: pdf-lto-plugin
31599 pdf-lto-plugin: \
31600 configure-lto-plugin
31601 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31602 r=`${PWD_COMMAND}`; export r; \
31603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31604 $(HOST_EXPORTS) \
31605 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31607 done; \
31608 echo "Doing pdf in lto-plugin"; \
31609 (cd $(HOST_SUBDIR)/lto-plugin && \
31610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31612 "RANLIB=$${RANLIB}" \
31613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31614 pdf) \
31615 || exit 1
31617 @endif lto-plugin
31619 .PHONY: maybe-html-lto-plugin html-lto-plugin
31620 maybe-html-lto-plugin:
31621 @if lto-plugin
31622 maybe-html-lto-plugin: html-lto-plugin
31624 html-lto-plugin: \
31625 configure-lto-plugin
31626 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31627 r=`${PWD_COMMAND}`; export r; \
31628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31629 $(HOST_EXPORTS) \
31630 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31632 done; \
31633 echo "Doing html in lto-plugin"; \
31634 (cd $(HOST_SUBDIR)/lto-plugin && \
31635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31637 "RANLIB=$${RANLIB}" \
31638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31639 html) \
31640 || exit 1
31642 @endif lto-plugin
31644 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31645 maybe-TAGS-lto-plugin:
31646 @if lto-plugin
31647 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31649 TAGS-lto-plugin: \
31650 configure-lto-plugin
31651 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31652 r=`${PWD_COMMAND}`; export r; \
31653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31654 $(HOST_EXPORTS) \
31655 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31657 done; \
31658 echo "Doing TAGS in lto-plugin"; \
31659 (cd $(HOST_SUBDIR)/lto-plugin && \
31660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31662 "RANLIB=$${RANLIB}" \
31663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31664 TAGS) \
31665 || exit 1
31667 @endif lto-plugin
31669 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31670 maybe-install-info-lto-plugin:
31671 @if lto-plugin
31672 maybe-install-info-lto-plugin: install-info-lto-plugin
31674 install-info-lto-plugin: \
31675 configure-lto-plugin \
31676 info-lto-plugin
31677 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31678 r=`${PWD_COMMAND}`; export r; \
31679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31680 $(HOST_EXPORTS) \
31681 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31683 done; \
31684 echo "Doing install-info in lto-plugin"; \
31685 (cd $(HOST_SUBDIR)/lto-plugin && \
31686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31688 "RANLIB=$${RANLIB}" \
31689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31690 install-info) \
31691 || exit 1
31693 @endif lto-plugin
31695 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
31696 maybe-install-pdf-lto-plugin:
31697 @if lto-plugin
31698 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
31700 install-pdf-lto-plugin: \
31701 configure-lto-plugin \
31702 pdf-lto-plugin
31703 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31704 r=`${PWD_COMMAND}`; export r; \
31705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31706 $(HOST_EXPORTS) \
31707 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31709 done; \
31710 echo "Doing install-pdf in lto-plugin"; \
31711 (cd $(HOST_SUBDIR)/lto-plugin && \
31712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31714 "RANLIB=$${RANLIB}" \
31715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31716 install-pdf) \
31717 || exit 1
31719 @endif lto-plugin
31721 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
31722 maybe-install-html-lto-plugin:
31723 @if lto-plugin
31724 maybe-install-html-lto-plugin: install-html-lto-plugin
31726 install-html-lto-plugin: \
31727 configure-lto-plugin \
31728 html-lto-plugin
31729 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31730 r=`${PWD_COMMAND}`; export r; \
31731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31732 $(HOST_EXPORTS) \
31733 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31735 done; \
31736 echo "Doing install-html in lto-plugin"; \
31737 (cd $(HOST_SUBDIR)/lto-plugin && \
31738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31740 "RANLIB=$${RANLIB}" \
31741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31742 install-html) \
31743 || exit 1
31745 @endif lto-plugin
31747 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
31748 maybe-installcheck-lto-plugin:
31749 @if lto-plugin
31750 maybe-installcheck-lto-plugin: installcheck-lto-plugin
31752 installcheck-lto-plugin: \
31753 configure-lto-plugin
31754 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31755 r=`${PWD_COMMAND}`; export r; \
31756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31757 $(HOST_EXPORTS) \
31758 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31760 done; \
31761 echo "Doing installcheck in lto-plugin"; \
31762 (cd $(HOST_SUBDIR)/lto-plugin && \
31763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31765 "RANLIB=$${RANLIB}" \
31766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31767 installcheck) \
31768 || exit 1
31770 @endif lto-plugin
31772 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
31773 maybe-mostlyclean-lto-plugin:
31774 @if lto-plugin
31775 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
31777 mostlyclean-lto-plugin:
31778 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31779 r=`${PWD_COMMAND}`; export r; \
31780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31781 $(HOST_EXPORTS) \
31782 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31784 done; \
31785 echo "Doing mostlyclean in lto-plugin"; \
31786 (cd $(HOST_SUBDIR)/lto-plugin && \
31787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31789 "RANLIB=$${RANLIB}" \
31790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31791 mostlyclean) \
31792 || exit 1
31794 @endif lto-plugin
31796 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
31797 maybe-clean-lto-plugin:
31798 @if lto-plugin
31799 maybe-clean-lto-plugin: clean-lto-plugin
31801 clean-lto-plugin:
31802 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31803 r=`${PWD_COMMAND}`; export r; \
31804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31805 $(HOST_EXPORTS) \
31806 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31808 done; \
31809 echo "Doing clean in lto-plugin"; \
31810 (cd $(HOST_SUBDIR)/lto-plugin && \
31811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31813 "RANLIB=$${RANLIB}" \
31814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31815 clean) \
31816 || exit 1
31818 @endif lto-plugin
31820 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
31821 maybe-distclean-lto-plugin:
31822 @if lto-plugin
31823 maybe-distclean-lto-plugin: distclean-lto-plugin
31825 distclean-lto-plugin:
31826 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31827 r=`${PWD_COMMAND}`; export r; \
31828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31829 $(HOST_EXPORTS) \
31830 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31832 done; \
31833 echo "Doing distclean in lto-plugin"; \
31834 (cd $(HOST_SUBDIR)/lto-plugin && \
31835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31837 "RANLIB=$${RANLIB}" \
31838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31839 distclean) \
31840 || exit 1
31842 @endif lto-plugin
31844 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
31845 maybe-maintainer-clean-lto-plugin:
31846 @if lto-plugin
31847 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
31849 maintainer-clean-lto-plugin:
31850 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31851 r=`${PWD_COMMAND}`; export r; \
31852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31853 $(HOST_EXPORTS) \
31854 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31856 done; \
31857 echo "Doing maintainer-clean in lto-plugin"; \
31858 (cd $(HOST_SUBDIR)/lto-plugin && \
31859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31861 "RANLIB=$${RANLIB}" \
31862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31863 maintainer-clean) \
31864 || exit 1
31866 @endif lto-plugin
31870 .PHONY: configure-libcc1 maybe-configure-libcc1
31871 maybe-configure-libcc1:
31872 @if gcc-bootstrap
31873 configure-libcc1: stage_current
31874 @endif gcc-bootstrap
31875 @if libcc1
31876 maybe-configure-libcc1: configure-libcc1
31877 configure-libcc1:
31878 @: $(MAKE); $(unstage)
31879 @r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
31882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
31883 $(HOST_EXPORTS) \
31884 echo Configuring in $(HOST_SUBDIR)/libcc1; \
31885 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
31886 case $(srcdir) in \
31887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31888 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
31889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31890 esac; \
31891 module_srcdir=libcc1; \
31892 $(SHELL) \
31893 $$s/$$module_srcdir/configure \
31894 --srcdir=$${topdir}/$$module_srcdir \
31895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31896 --target=${target_alias} --enable-shared \
31897 || exit 1
31898 @endif libcc1
31904 .PHONY: all-libcc1 maybe-all-libcc1
31905 maybe-all-libcc1:
31906 @if gcc-bootstrap
31907 all-libcc1: stage_current
31908 @endif gcc-bootstrap
31909 @if libcc1
31910 TARGET-libcc1=all
31911 maybe-all-libcc1: all-libcc1
31912 all-libcc1: configure-libcc1
31913 @: $(MAKE); $(unstage)
31914 @r=`${PWD_COMMAND}`; export r; \
31915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31916 $(HOST_EXPORTS) \
31917 (cd $(HOST_SUBDIR)/libcc1 && \
31918 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31919 $(TARGET-libcc1))
31920 @endif libcc1
31925 .PHONY: check-libcc1 maybe-check-libcc1
31926 maybe-check-libcc1:
31927 @if libcc1
31928 maybe-check-libcc1: check-libcc1
31930 check-libcc1:
31931 @: $(MAKE); $(unstage)
31932 @r=`${PWD_COMMAND}`; export r; \
31933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31934 $(HOST_EXPORTS) \
31935 (cd $(HOST_SUBDIR)/libcc1 && \
31936 $(MAKE) $(FLAGS_TO_PASS) check)
31938 @endif libcc1
31940 .PHONY: install-libcc1 maybe-install-libcc1
31941 maybe-install-libcc1:
31942 @if libcc1
31943 maybe-install-libcc1: install-libcc1
31945 install-libcc1: installdirs
31946 @: $(MAKE); $(unstage)
31947 @r=`${PWD_COMMAND}`; export r; \
31948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31949 $(HOST_EXPORTS) \
31950 (cd $(HOST_SUBDIR)/libcc1 && \
31951 $(MAKE) $(FLAGS_TO_PASS) install)
31953 @endif libcc1
31955 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
31956 maybe-install-strip-libcc1:
31957 @if libcc1
31958 maybe-install-strip-libcc1: install-strip-libcc1
31960 install-strip-libcc1: installdirs
31961 @: $(MAKE); $(unstage)
31962 @r=`${PWD_COMMAND}`; export r; \
31963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31964 $(HOST_EXPORTS) \
31965 (cd $(HOST_SUBDIR)/libcc1 && \
31966 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31968 @endif libcc1
31970 # Other targets (info, dvi, pdf, etc.)
31972 .PHONY: maybe-info-libcc1 info-libcc1
31973 maybe-info-libcc1:
31974 @if libcc1
31975 maybe-info-libcc1: info-libcc1
31977 info-libcc1: \
31978 configure-libcc1
31979 @: $(MAKE); $(unstage)
31980 @[ -f ./libcc1/Makefile ] || exit 0; \
31981 r=`${PWD_COMMAND}`; export r; \
31982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31983 $(HOST_EXPORTS) \
31984 for flag in $(EXTRA_HOST_FLAGS) ; do \
31985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31986 done; \
31987 echo "Doing info in libcc1"; \
31988 (cd $(HOST_SUBDIR)/libcc1 && \
31989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31991 "RANLIB=$${RANLIB}" \
31992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31993 info) \
31994 || exit 1
31996 @endif libcc1
31998 .PHONY: maybe-dvi-libcc1 dvi-libcc1
31999 maybe-dvi-libcc1:
32000 @if libcc1
32001 maybe-dvi-libcc1: dvi-libcc1
32003 dvi-libcc1: \
32004 configure-libcc1
32005 @: $(MAKE); $(unstage)
32006 @[ -f ./libcc1/Makefile ] || exit 0; \
32007 r=`${PWD_COMMAND}`; export r; \
32008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32009 $(HOST_EXPORTS) \
32010 for flag in $(EXTRA_HOST_FLAGS) ; do \
32011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32012 done; \
32013 echo "Doing dvi in libcc1"; \
32014 (cd $(HOST_SUBDIR)/libcc1 && \
32015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32017 "RANLIB=$${RANLIB}" \
32018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32019 dvi) \
32020 || exit 1
32022 @endif libcc1
32024 .PHONY: maybe-pdf-libcc1 pdf-libcc1
32025 maybe-pdf-libcc1:
32026 @if libcc1
32027 maybe-pdf-libcc1: pdf-libcc1
32029 pdf-libcc1: \
32030 configure-libcc1
32031 @: $(MAKE); $(unstage)
32032 @[ -f ./libcc1/Makefile ] || exit 0; \
32033 r=`${PWD_COMMAND}`; export r; \
32034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32035 $(HOST_EXPORTS) \
32036 for flag in $(EXTRA_HOST_FLAGS) ; do \
32037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32038 done; \
32039 echo "Doing pdf in libcc1"; \
32040 (cd $(HOST_SUBDIR)/libcc1 && \
32041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32043 "RANLIB=$${RANLIB}" \
32044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32045 pdf) \
32046 || exit 1
32048 @endif libcc1
32050 .PHONY: maybe-html-libcc1 html-libcc1
32051 maybe-html-libcc1:
32052 @if libcc1
32053 maybe-html-libcc1: html-libcc1
32055 html-libcc1: \
32056 configure-libcc1
32057 @: $(MAKE); $(unstage)
32058 @[ -f ./libcc1/Makefile ] || exit 0; \
32059 r=`${PWD_COMMAND}`; export r; \
32060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32061 $(HOST_EXPORTS) \
32062 for flag in $(EXTRA_HOST_FLAGS) ; do \
32063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32064 done; \
32065 echo "Doing html in libcc1"; \
32066 (cd $(HOST_SUBDIR)/libcc1 && \
32067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32069 "RANLIB=$${RANLIB}" \
32070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32071 html) \
32072 || exit 1
32074 @endif libcc1
32076 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
32077 maybe-TAGS-libcc1:
32078 @if libcc1
32079 maybe-TAGS-libcc1: TAGS-libcc1
32081 TAGS-libcc1: \
32082 configure-libcc1
32083 @: $(MAKE); $(unstage)
32084 @[ -f ./libcc1/Makefile ] || exit 0; \
32085 r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 $(HOST_EXPORTS) \
32088 for flag in $(EXTRA_HOST_FLAGS) ; do \
32089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32090 done; \
32091 echo "Doing TAGS in libcc1"; \
32092 (cd $(HOST_SUBDIR)/libcc1 && \
32093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32095 "RANLIB=$${RANLIB}" \
32096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32097 TAGS) \
32098 || exit 1
32100 @endif libcc1
32102 .PHONY: maybe-install-info-libcc1 install-info-libcc1
32103 maybe-install-info-libcc1:
32104 @if libcc1
32105 maybe-install-info-libcc1: install-info-libcc1
32107 install-info-libcc1: \
32108 configure-libcc1 \
32109 info-libcc1
32110 @: $(MAKE); $(unstage)
32111 @[ -f ./libcc1/Makefile ] || exit 0; \
32112 r=`${PWD_COMMAND}`; export r; \
32113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32114 $(HOST_EXPORTS) \
32115 for flag in $(EXTRA_HOST_FLAGS) ; do \
32116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32117 done; \
32118 echo "Doing install-info in libcc1"; \
32119 (cd $(HOST_SUBDIR)/libcc1 && \
32120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32122 "RANLIB=$${RANLIB}" \
32123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32124 install-info) \
32125 || exit 1
32127 @endif libcc1
32129 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
32130 maybe-install-pdf-libcc1:
32131 @if libcc1
32132 maybe-install-pdf-libcc1: install-pdf-libcc1
32134 install-pdf-libcc1: \
32135 configure-libcc1 \
32136 pdf-libcc1
32137 @: $(MAKE); $(unstage)
32138 @[ -f ./libcc1/Makefile ] || exit 0; \
32139 r=`${PWD_COMMAND}`; export r; \
32140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32141 $(HOST_EXPORTS) \
32142 for flag in $(EXTRA_HOST_FLAGS) ; do \
32143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32144 done; \
32145 echo "Doing install-pdf in libcc1"; \
32146 (cd $(HOST_SUBDIR)/libcc1 && \
32147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32149 "RANLIB=$${RANLIB}" \
32150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32151 install-pdf) \
32152 || exit 1
32154 @endif libcc1
32156 .PHONY: maybe-install-html-libcc1 install-html-libcc1
32157 maybe-install-html-libcc1:
32158 @if libcc1
32159 maybe-install-html-libcc1: install-html-libcc1
32161 install-html-libcc1: \
32162 configure-libcc1 \
32163 html-libcc1
32164 @: $(MAKE); $(unstage)
32165 @[ -f ./libcc1/Makefile ] || exit 0; \
32166 r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 $(HOST_EXPORTS) \
32169 for flag in $(EXTRA_HOST_FLAGS) ; do \
32170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32171 done; \
32172 echo "Doing install-html in libcc1"; \
32173 (cd $(HOST_SUBDIR)/libcc1 && \
32174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32176 "RANLIB=$${RANLIB}" \
32177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32178 install-html) \
32179 || exit 1
32181 @endif libcc1
32183 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
32184 maybe-installcheck-libcc1:
32185 @if libcc1
32186 maybe-installcheck-libcc1: installcheck-libcc1
32188 installcheck-libcc1: \
32189 configure-libcc1
32190 @: $(MAKE); $(unstage)
32191 @[ -f ./libcc1/Makefile ] || exit 0; \
32192 r=`${PWD_COMMAND}`; export r; \
32193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32194 $(HOST_EXPORTS) \
32195 for flag in $(EXTRA_HOST_FLAGS) ; do \
32196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32197 done; \
32198 echo "Doing installcheck in libcc1"; \
32199 (cd $(HOST_SUBDIR)/libcc1 && \
32200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32202 "RANLIB=$${RANLIB}" \
32203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32204 installcheck) \
32205 || exit 1
32207 @endif libcc1
32209 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
32210 maybe-mostlyclean-libcc1:
32211 @if libcc1
32212 maybe-mostlyclean-libcc1: mostlyclean-libcc1
32214 mostlyclean-libcc1:
32215 @: $(MAKE); $(unstage)
32216 @[ -f ./libcc1/Makefile ] || exit 0; \
32217 r=`${PWD_COMMAND}`; export r; \
32218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32219 $(HOST_EXPORTS) \
32220 for flag in $(EXTRA_HOST_FLAGS) ; do \
32221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32222 done; \
32223 echo "Doing mostlyclean in libcc1"; \
32224 (cd $(HOST_SUBDIR)/libcc1 && \
32225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32227 "RANLIB=$${RANLIB}" \
32228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32229 mostlyclean) \
32230 || exit 1
32232 @endif libcc1
32234 .PHONY: maybe-clean-libcc1 clean-libcc1
32235 maybe-clean-libcc1:
32236 @if libcc1
32237 maybe-clean-libcc1: clean-libcc1
32239 clean-libcc1:
32240 @: $(MAKE); $(unstage)
32241 @[ -f ./libcc1/Makefile ] || exit 0; \
32242 r=`${PWD_COMMAND}`; export r; \
32243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32244 $(HOST_EXPORTS) \
32245 for flag in $(EXTRA_HOST_FLAGS) ; do \
32246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32247 done; \
32248 echo "Doing clean in libcc1"; \
32249 (cd $(HOST_SUBDIR)/libcc1 && \
32250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32252 "RANLIB=$${RANLIB}" \
32253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32254 clean) \
32255 || exit 1
32257 @endif libcc1
32259 .PHONY: maybe-distclean-libcc1 distclean-libcc1
32260 maybe-distclean-libcc1:
32261 @if libcc1
32262 maybe-distclean-libcc1: distclean-libcc1
32264 distclean-libcc1:
32265 @: $(MAKE); $(unstage)
32266 @[ -f ./libcc1/Makefile ] || exit 0; \
32267 r=`${PWD_COMMAND}`; export r; \
32268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32269 $(HOST_EXPORTS) \
32270 for flag in $(EXTRA_HOST_FLAGS) ; do \
32271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32272 done; \
32273 echo "Doing distclean in libcc1"; \
32274 (cd $(HOST_SUBDIR)/libcc1 && \
32275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32277 "RANLIB=$${RANLIB}" \
32278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32279 distclean) \
32280 || exit 1
32282 @endif libcc1
32284 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
32285 maybe-maintainer-clean-libcc1:
32286 @if libcc1
32287 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
32289 maintainer-clean-libcc1:
32290 @: $(MAKE); $(unstage)
32291 @[ -f ./libcc1/Makefile ] || exit 0; \
32292 r=`${PWD_COMMAND}`; export r; \
32293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32294 $(HOST_EXPORTS) \
32295 for flag in $(EXTRA_HOST_FLAGS) ; do \
32296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32297 done; \
32298 echo "Doing maintainer-clean in libcc1"; \
32299 (cd $(HOST_SUBDIR)/libcc1 && \
32300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32302 "RANLIB=$${RANLIB}" \
32303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32304 maintainer-clean) \
32305 || exit 1
32307 @endif libcc1
32311 .PHONY: configure-gotools maybe-configure-gotools
32312 maybe-configure-gotools:
32313 @if gcc-bootstrap
32314 configure-gotools: stage_current
32315 @endif gcc-bootstrap
32316 @if gotools
32317 maybe-configure-gotools: configure-gotools
32318 configure-gotools:
32319 @: $(MAKE); $(unstage)
32320 @r=`${PWD_COMMAND}`; export r; \
32321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32322 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
32323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
32324 $(HOST_EXPORTS) \
32325 echo Configuring in $(HOST_SUBDIR)/gotools; \
32326 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
32327 case $(srcdir) in \
32328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32329 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
32330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32331 esac; \
32332 module_srcdir=gotools; \
32333 $(SHELL) \
32334 $$s/$$module_srcdir/configure \
32335 --srcdir=$${topdir}/$$module_srcdir \
32336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32337 --target=${target_alias} \
32338 || exit 1
32339 @endif gotools
32345 .PHONY: all-gotools maybe-all-gotools
32346 maybe-all-gotools:
32347 @if gcc-bootstrap
32348 all-gotools: stage_current
32349 @endif gcc-bootstrap
32350 @if gotools
32351 TARGET-gotools=all
32352 maybe-all-gotools: all-gotools
32353 all-gotools: configure-gotools
32354 @: $(MAKE); $(unstage)
32355 @r=`${PWD_COMMAND}`; export r; \
32356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32357 $(HOST_EXPORTS) \
32358 (cd $(HOST_SUBDIR)/gotools && \
32359 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32360 $(TARGET-gotools))
32361 @endif gotools
32366 .PHONY: check-gotools maybe-check-gotools
32367 maybe-check-gotools:
32368 @if gotools
32369 maybe-check-gotools: check-gotools
32371 check-gotools:
32372 @: $(MAKE); $(unstage)
32373 @r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 $(HOST_EXPORTS) \
32376 (cd $(HOST_SUBDIR)/gotools && \
32377 $(MAKE) $(FLAGS_TO_PASS) check)
32379 @endif gotools
32381 .PHONY: install-gotools maybe-install-gotools
32382 maybe-install-gotools:
32383 @if gotools
32384 maybe-install-gotools: install-gotools
32386 install-gotools: installdirs
32387 @: $(MAKE); $(unstage)
32388 @r=`${PWD_COMMAND}`; export r; \
32389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32390 $(HOST_EXPORTS) \
32391 (cd $(HOST_SUBDIR)/gotools && \
32392 $(MAKE) $(FLAGS_TO_PASS) install)
32394 @endif gotools
32396 .PHONY: install-strip-gotools maybe-install-strip-gotools
32397 maybe-install-strip-gotools:
32398 @if gotools
32399 maybe-install-strip-gotools: install-strip-gotools
32401 install-strip-gotools: installdirs
32402 @: $(MAKE); $(unstage)
32403 @r=`${PWD_COMMAND}`; export r; \
32404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32405 $(HOST_EXPORTS) \
32406 (cd $(HOST_SUBDIR)/gotools && \
32407 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32409 @endif gotools
32411 # Other targets (info, dvi, pdf, etc.)
32413 .PHONY: maybe-info-gotools info-gotools
32414 maybe-info-gotools:
32415 @if gotools
32416 maybe-info-gotools: info-gotools
32418 info-gotools: \
32419 configure-gotools
32420 @: $(MAKE); $(unstage)
32421 @[ -f ./gotools/Makefile ] || exit 0; \
32422 r=`${PWD_COMMAND}`; export r; \
32423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32424 $(HOST_EXPORTS) \
32425 for flag in $(EXTRA_HOST_FLAGS) ; do \
32426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32427 done; \
32428 echo "Doing info in gotools"; \
32429 (cd $(HOST_SUBDIR)/gotools && \
32430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32432 "RANLIB=$${RANLIB}" \
32433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32434 info) \
32435 || exit 1
32437 @endif gotools
32439 .PHONY: maybe-dvi-gotools dvi-gotools
32440 maybe-dvi-gotools:
32441 @if gotools
32442 maybe-dvi-gotools: dvi-gotools
32444 dvi-gotools: \
32445 configure-gotools
32446 @: $(MAKE); $(unstage)
32447 @[ -f ./gotools/Makefile ] || exit 0; \
32448 r=`${PWD_COMMAND}`; export r; \
32449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32450 $(HOST_EXPORTS) \
32451 for flag in $(EXTRA_HOST_FLAGS) ; do \
32452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32453 done; \
32454 echo "Doing dvi in gotools"; \
32455 (cd $(HOST_SUBDIR)/gotools && \
32456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32458 "RANLIB=$${RANLIB}" \
32459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32460 dvi) \
32461 || exit 1
32463 @endif gotools
32465 .PHONY: maybe-pdf-gotools pdf-gotools
32466 maybe-pdf-gotools:
32467 @if gotools
32468 maybe-pdf-gotools: pdf-gotools
32470 pdf-gotools: \
32471 configure-gotools
32472 @: $(MAKE); $(unstage)
32473 @[ -f ./gotools/Makefile ] || exit 0; \
32474 r=`${PWD_COMMAND}`; export r; \
32475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32476 $(HOST_EXPORTS) \
32477 for flag in $(EXTRA_HOST_FLAGS) ; do \
32478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32479 done; \
32480 echo "Doing pdf in gotools"; \
32481 (cd $(HOST_SUBDIR)/gotools && \
32482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32484 "RANLIB=$${RANLIB}" \
32485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32486 pdf) \
32487 || exit 1
32489 @endif gotools
32491 .PHONY: maybe-html-gotools html-gotools
32492 maybe-html-gotools:
32493 @if gotools
32494 maybe-html-gotools: html-gotools
32496 html-gotools: \
32497 configure-gotools
32498 @: $(MAKE); $(unstage)
32499 @[ -f ./gotools/Makefile ] || exit 0; \
32500 r=`${PWD_COMMAND}`; export r; \
32501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32502 $(HOST_EXPORTS) \
32503 for flag in $(EXTRA_HOST_FLAGS) ; do \
32504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32505 done; \
32506 echo "Doing html in gotools"; \
32507 (cd $(HOST_SUBDIR)/gotools && \
32508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32510 "RANLIB=$${RANLIB}" \
32511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32512 html) \
32513 || exit 1
32515 @endif gotools
32517 .PHONY: maybe-TAGS-gotools TAGS-gotools
32518 maybe-TAGS-gotools:
32519 @if gotools
32520 maybe-TAGS-gotools: TAGS-gotools
32522 TAGS-gotools: \
32523 configure-gotools
32524 @: $(MAKE); $(unstage)
32525 @[ -f ./gotools/Makefile ] || exit 0; \
32526 r=`${PWD_COMMAND}`; export r; \
32527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32528 $(HOST_EXPORTS) \
32529 for flag in $(EXTRA_HOST_FLAGS) ; do \
32530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32531 done; \
32532 echo "Doing TAGS in gotools"; \
32533 (cd $(HOST_SUBDIR)/gotools && \
32534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32536 "RANLIB=$${RANLIB}" \
32537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32538 TAGS) \
32539 || exit 1
32541 @endif gotools
32543 .PHONY: maybe-install-info-gotools install-info-gotools
32544 maybe-install-info-gotools:
32545 @if gotools
32546 maybe-install-info-gotools: install-info-gotools
32548 install-info-gotools: \
32549 configure-gotools \
32550 info-gotools
32551 @: $(MAKE); $(unstage)
32552 @[ -f ./gotools/Makefile ] || exit 0; \
32553 r=`${PWD_COMMAND}`; export r; \
32554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32555 $(HOST_EXPORTS) \
32556 for flag in $(EXTRA_HOST_FLAGS) ; do \
32557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32558 done; \
32559 echo "Doing install-info in gotools"; \
32560 (cd $(HOST_SUBDIR)/gotools && \
32561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32563 "RANLIB=$${RANLIB}" \
32564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32565 install-info) \
32566 || exit 1
32568 @endif gotools
32570 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
32571 maybe-install-pdf-gotools:
32572 @if gotools
32573 maybe-install-pdf-gotools: install-pdf-gotools
32575 install-pdf-gotools: \
32576 configure-gotools \
32577 pdf-gotools
32578 @: $(MAKE); $(unstage)
32579 @[ -f ./gotools/Makefile ] || exit 0; \
32580 r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(HOST_EXPORTS) \
32583 for flag in $(EXTRA_HOST_FLAGS) ; do \
32584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32585 done; \
32586 echo "Doing install-pdf in gotools"; \
32587 (cd $(HOST_SUBDIR)/gotools && \
32588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32590 "RANLIB=$${RANLIB}" \
32591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32592 install-pdf) \
32593 || exit 1
32595 @endif gotools
32597 .PHONY: maybe-install-html-gotools install-html-gotools
32598 maybe-install-html-gotools:
32599 @if gotools
32600 maybe-install-html-gotools: install-html-gotools
32602 install-html-gotools: \
32603 configure-gotools \
32604 html-gotools
32605 @: $(MAKE); $(unstage)
32606 @[ -f ./gotools/Makefile ] || exit 0; \
32607 r=`${PWD_COMMAND}`; export r; \
32608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32609 $(HOST_EXPORTS) \
32610 for flag in $(EXTRA_HOST_FLAGS) ; do \
32611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32612 done; \
32613 echo "Doing install-html in gotools"; \
32614 (cd $(HOST_SUBDIR)/gotools && \
32615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32617 "RANLIB=$${RANLIB}" \
32618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32619 install-html) \
32620 || exit 1
32622 @endif gotools
32624 .PHONY: maybe-installcheck-gotools installcheck-gotools
32625 maybe-installcheck-gotools:
32626 @if gotools
32627 maybe-installcheck-gotools: installcheck-gotools
32629 installcheck-gotools: \
32630 configure-gotools
32631 @: $(MAKE); $(unstage)
32632 @[ -f ./gotools/Makefile ] || exit 0; \
32633 r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 $(HOST_EXPORTS) \
32636 for flag in $(EXTRA_HOST_FLAGS) ; do \
32637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32638 done; \
32639 echo "Doing installcheck in gotools"; \
32640 (cd $(HOST_SUBDIR)/gotools && \
32641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32643 "RANLIB=$${RANLIB}" \
32644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32645 installcheck) \
32646 || exit 1
32648 @endif gotools
32650 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
32651 maybe-mostlyclean-gotools:
32652 @if gotools
32653 maybe-mostlyclean-gotools: mostlyclean-gotools
32655 mostlyclean-gotools:
32656 @: $(MAKE); $(unstage)
32657 @[ -f ./gotools/Makefile ] || exit 0; \
32658 r=`${PWD_COMMAND}`; export r; \
32659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32660 $(HOST_EXPORTS) \
32661 for flag in $(EXTRA_HOST_FLAGS) ; do \
32662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32663 done; \
32664 echo "Doing mostlyclean in gotools"; \
32665 (cd $(HOST_SUBDIR)/gotools && \
32666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32668 "RANLIB=$${RANLIB}" \
32669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32670 mostlyclean) \
32671 || exit 1
32673 @endif gotools
32675 .PHONY: maybe-clean-gotools clean-gotools
32676 maybe-clean-gotools:
32677 @if gotools
32678 maybe-clean-gotools: clean-gotools
32680 clean-gotools:
32681 @: $(MAKE); $(unstage)
32682 @[ -f ./gotools/Makefile ] || exit 0; \
32683 r=`${PWD_COMMAND}`; export r; \
32684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32685 $(HOST_EXPORTS) \
32686 for flag in $(EXTRA_HOST_FLAGS) ; do \
32687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32688 done; \
32689 echo "Doing clean in gotools"; \
32690 (cd $(HOST_SUBDIR)/gotools && \
32691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32693 "RANLIB=$${RANLIB}" \
32694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32695 clean) \
32696 || exit 1
32698 @endif gotools
32700 .PHONY: maybe-distclean-gotools distclean-gotools
32701 maybe-distclean-gotools:
32702 @if gotools
32703 maybe-distclean-gotools: distclean-gotools
32705 distclean-gotools:
32706 @: $(MAKE); $(unstage)
32707 @[ -f ./gotools/Makefile ] || exit 0; \
32708 r=`${PWD_COMMAND}`; export r; \
32709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32710 $(HOST_EXPORTS) \
32711 for flag in $(EXTRA_HOST_FLAGS) ; do \
32712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32713 done; \
32714 echo "Doing distclean in gotools"; \
32715 (cd $(HOST_SUBDIR)/gotools && \
32716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32718 "RANLIB=$${RANLIB}" \
32719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32720 distclean) \
32721 || exit 1
32723 @endif gotools
32725 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
32726 maybe-maintainer-clean-gotools:
32727 @if gotools
32728 maybe-maintainer-clean-gotools: maintainer-clean-gotools
32730 maintainer-clean-gotools:
32731 @: $(MAKE); $(unstage)
32732 @[ -f ./gotools/Makefile ] || exit 0; \
32733 r=`${PWD_COMMAND}`; export r; \
32734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32735 $(HOST_EXPORTS) \
32736 for flag in $(EXTRA_HOST_FLAGS) ; do \
32737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32738 done; \
32739 echo "Doing maintainer-clean in gotools"; \
32740 (cd $(HOST_SUBDIR)/gotools && \
32741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32743 "RANLIB=$${RANLIB}" \
32744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32745 maintainer-clean) \
32746 || exit 1
32748 @endif gotools
32752 # ---------------------------------------
32753 # Modules which run on the target machine
32754 # ---------------------------------------
32759 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
32760 maybe-configure-target-libstdc++-v3:
32761 @if gcc-bootstrap
32762 configure-target-libstdc++-v3: stage_current
32763 @endif gcc-bootstrap
32764 @if target-libstdc++-v3
32765 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
32766 configure-target-libstdc++-v3:
32767 @r=`${PWD_COMMAND}`; export r; \
32768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32769 echo "Checking multilib configuration for libstdc++-v3..."; \
32770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32771 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32772 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32773 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32774 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32775 else \
32776 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32777 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32778 fi; \
32779 else \
32780 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32781 fi; \
32782 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32784 $(RAW_CXX_TARGET_EXPORTS) \
32785 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
32786 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
32787 case $(srcdir) in \
32788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32789 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32791 esac; \
32792 module_srcdir=libstdc++-v3; \
32793 rm -f no-such-file || : ; \
32794 CONFIG_SITE=no-such-file $(SHELL) \
32795 $$s/$$module_srcdir/configure \
32796 --srcdir=$${topdir}/$$module_srcdir \
32797 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32798 --target=${target_alias} \
32799 || exit 1
32800 @endif target-libstdc++-v3
32804 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
32805 maybe-configure-stage1-target-libstdc++-v3:
32806 @if target-libstdc++-v3-bootstrap
32807 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32808 configure-stage1-target-libstdc++-v3:
32809 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32810 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32811 @r=`${PWD_COMMAND}`; export r; \
32812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32813 TFLAGS="$(STAGE1_TFLAGS)"; \
32814 echo "Checking multilib configuration for libstdc++-v3..."; \
32815 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32816 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32817 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32818 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32819 else \
32820 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32821 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32822 fi; \
32823 else \
32824 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32825 fi; \
32826 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32827 $(RAW_CXX_TARGET_EXPORTS) \
32828 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32829 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32830 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32831 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
32832 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32833 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32834 case $(srcdir) in \
32835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32836 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32838 esac; \
32839 module_srcdir=libstdc++-v3; \
32840 $(SHELL) $$s/$$module_srcdir/configure \
32841 --srcdir=$${topdir}/$$module_srcdir \
32842 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32843 --target=${target_alias} \
32845 $(STAGE1_CONFIGURE_FLAGS)
32846 @endif target-libstdc++-v3-bootstrap
32848 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
32849 maybe-configure-stage2-target-libstdc++-v3:
32850 @if target-libstdc++-v3-bootstrap
32851 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32852 configure-stage2-target-libstdc++-v3:
32853 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32854 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32855 @r=`${PWD_COMMAND}`; export r; \
32856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32857 TFLAGS="$(STAGE2_TFLAGS)"; \
32858 echo "Checking multilib configuration for libstdc++-v3..."; \
32859 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32860 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32861 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32862 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32863 else \
32864 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32865 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32866 fi; \
32867 else \
32868 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32869 fi; \
32870 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32871 $(RAW_CXX_TARGET_EXPORTS) \
32873 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32874 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32875 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32876 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
32877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32878 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32879 case $(srcdir) in \
32880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32881 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32883 esac; \
32884 module_srcdir=libstdc++-v3; \
32885 $(SHELL) $$s/$$module_srcdir/configure \
32886 --srcdir=$${topdir}/$$module_srcdir \
32887 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32888 --target=${target_alias} \
32889 --with-build-libsubdir=$(HOST_SUBDIR) \
32890 $(STAGE2_CONFIGURE_FLAGS)
32891 @endif target-libstdc++-v3-bootstrap
32893 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
32894 maybe-configure-stage3-target-libstdc++-v3:
32895 @if target-libstdc++-v3-bootstrap
32896 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32897 configure-stage3-target-libstdc++-v3:
32898 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32899 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32900 @r=`${PWD_COMMAND}`; export r; \
32901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32902 TFLAGS="$(STAGE3_TFLAGS)"; \
32903 echo "Checking multilib configuration for libstdc++-v3..."; \
32904 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32905 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32906 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32907 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32908 else \
32909 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32910 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32911 fi; \
32912 else \
32913 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32914 fi; \
32915 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32916 $(RAW_CXX_TARGET_EXPORTS) \
32918 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32919 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32920 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32921 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
32922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32923 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32924 case $(srcdir) in \
32925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32926 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32928 esac; \
32929 module_srcdir=libstdc++-v3; \
32930 $(SHELL) $$s/$$module_srcdir/configure \
32931 --srcdir=$${topdir}/$$module_srcdir \
32932 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32933 --target=${target_alias} \
32934 --with-build-libsubdir=$(HOST_SUBDIR) \
32935 $(STAGE3_CONFIGURE_FLAGS)
32936 @endif target-libstdc++-v3-bootstrap
32938 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32939 maybe-configure-stage4-target-libstdc++-v3:
32940 @if target-libstdc++-v3-bootstrap
32941 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32942 configure-stage4-target-libstdc++-v3:
32943 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32944 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32945 @r=`${PWD_COMMAND}`; export r; \
32946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32947 TFLAGS="$(STAGE4_TFLAGS)"; \
32948 echo "Checking multilib configuration for libstdc++-v3..."; \
32949 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32950 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32951 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32952 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32953 else \
32954 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32955 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32956 fi; \
32957 else \
32958 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32959 fi; \
32960 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32961 $(RAW_CXX_TARGET_EXPORTS) \
32963 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32964 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32965 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32966 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
32967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32968 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32969 case $(srcdir) in \
32970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32971 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32973 esac; \
32974 module_srcdir=libstdc++-v3; \
32975 $(SHELL) $$s/$$module_srcdir/configure \
32976 --srcdir=$${topdir}/$$module_srcdir \
32977 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32978 --target=${target_alias} \
32979 --with-build-libsubdir=$(HOST_SUBDIR) \
32980 $(STAGE4_CONFIGURE_FLAGS)
32981 @endif target-libstdc++-v3-bootstrap
32983 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32984 maybe-configure-stageprofile-target-libstdc++-v3:
32985 @if target-libstdc++-v3-bootstrap
32986 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32987 configure-stageprofile-target-libstdc++-v3:
32988 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32989 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32990 @r=`${PWD_COMMAND}`; export r; \
32991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32993 echo "Checking multilib configuration for libstdc++-v3..."; \
32994 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32995 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32996 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32997 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32998 else \
32999 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33000 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33001 fi; \
33002 else \
33003 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33004 fi; \
33005 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33006 $(RAW_CXX_TARGET_EXPORTS) \
33008 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33011 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
33012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
33013 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
33014 case $(srcdir) in \
33015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33016 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33018 esac; \
33019 module_srcdir=libstdc++-v3; \
33020 $(SHELL) $$s/$$module_srcdir/configure \
33021 --srcdir=$${topdir}/$$module_srcdir \
33022 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33023 --target=${target_alias} \
33024 --with-build-libsubdir=$(HOST_SUBDIR) \
33025 $(STAGEprofile_CONFIGURE_FLAGS)
33026 @endif target-libstdc++-v3-bootstrap
33028 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
33029 maybe-configure-stagefeedback-target-libstdc++-v3:
33030 @if target-libstdc++-v3-bootstrap
33031 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
33032 configure-stagefeedback-target-libstdc++-v3:
33033 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33034 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
33035 @r=`${PWD_COMMAND}`; export r; \
33036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33037 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33038 echo "Checking multilib configuration for libstdc++-v3..."; \
33039 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
33040 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33041 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33042 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33043 else \
33044 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33045 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33046 fi; \
33047 else \
33048 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33049 fi; \
33050 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33051 $(RAW_CXX_TARGET_EXPORTS) \
33053 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33054 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33055 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33056 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
33057 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
33058 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
33059 case $(srcdir) in \
33060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33061 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33063 esac; \
33064 module_srcdir=libstdc++-v3; \
33065 $(SHELL) $$s/$$module_srcdir/configure \
33066 --srcdir=$${topdir}/$$module_srcdir \
33067 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33068 --target=${target_alias} \
33069 --with-build-libsubdir=$(HOST_SUBDIR) \
33070 $(STAGEfeedback_CONFIGURE_FLAGS)
33071 @endif target-libstdc++-v3-bootstrap
33077 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33078 maybe-all-target-libstdc++-v3:
33079 @if gcc-bootstrap
33080 all-target-libstdc++-v3: stage_current
33081 @endif gcc-bootstrap
33082 @if target-libstdc++-v3
33083 TARGET-target-libstdc++-v3=all
33084 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33085 all-target-libstdc++-v3: configure-target-libstdc++-v3
33086 @r=`${PWD_COMMAND}`; export r; \
33087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33088 $(RAW_CXX_TARGET_EXPORTS) \
33089 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33090 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33091 $(TARGET-target-libstdc++-v3))
33092 @endif target-libstdc++-v3
33096 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
33097 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
33098 maybe-all-stage1-target-libstdc++-v3:
33099 maybe-clean-stage1-target-libstdc++-v3:
33100 @if target-libstdc++-v3-bootstrap
33101 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
33102 all-stage1: all-stage1-target-libstdc++-v3
33103 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33104 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
33105 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33106 @r=`${PWD_COMMAND}`; export r; \
33107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33108 TFLAGS="$(STAGE1_TFLAGS)"; \
33109 $(RAW_CXX_TARGET_EXPORTS) \
33110 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33112 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33118 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33120 TFLAGS="$(STAGE1_TFLAGS)" \
33121 $(TARGET-stage1-target-libstdc++-v3)
33123 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
33124 clean-stage1: clean-stage1-target-libstdc++-v3
33125 clean-stage1-target-libstdc++-v3:
33126 @if [ $(current_stage) = stage1 ]; then \
33127 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33128 else \
33129 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
33130 $(MAKE) stage1-start; \
33131 fi; \
33132 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33133 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33134 clean
33135 @endif target-libstdc++-v3-bootstrap
33138 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
33139 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
33140 maybe-all-stage2-target-libstdc++-v3:
33141 maybe-clean-stage2-target-libstdc++-v3:
33142 @if target-libstdc++-v3-bootstrap
33143 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
33144 all-stage2: all-stage2-target-libstdc++-v3
33145 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33146 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
33147 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33148 @r=`${PWD_COMMAND}`; export r; \
33149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33150 TFLAGS="$(STAGE2_TFLAGS)"; \
33151 $(RAW_CXX_TARGET_EXPORTS) \
33153 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33155 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33156 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33157 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33161 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33162 TFLAGS="$(STAGE2_TFLAGS)" \
33163 $(TARGET-stage2-target-libstdc++-v3)
33165 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
33166 clean-stage2: clean-stage2-target-libstdc++-v3
33167 clean-stage2-target-libstdc++-v3:
33168 @if [ $(current_stage) = stage2 ]; then \
33169 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33170 else \
33171 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
33172 $(MAKE) stage2-start; \
33173 fi; \
33174 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33175 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33176 @endif target-libstdc++-v3-bootstrap
33179 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
33180 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
33181 maybe-all-stage3-target-libstdc++-v3:
33182 maybe-clean-stage3-target-libstdc++-v3:
33183 @if target-libstdc++-v3-bootstrap
33184 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
33185 all-stage3: all-stage3-target-libstdc++-v3
33186 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33187 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
33188 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33189 @r=`${PWD_COMMAND}`; export r; \
33190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33191 TFLAGS="$(STAGE3_TFLAGS)"; \
33192 $(RAW_CXX_TARGET_EXPORTS) \
33194 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33196 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33198 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33202 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33203 TFLAGS="$(STAGE3_TFLAGS)" \
33204 $(TARGET-stage3-target-libstdc++-v3)
33206 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
33207 clean-stage3: clean-stage3-target-libstdc++-v3
33208 clean-stage3-target-libstdc++-v3:
33209 @if [ $(current_stage) = stage3 ]; then \
33210 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33211 else \
33212 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
33213 $(MAKE) stage3-start; \
33214 fi; \
33215 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33216 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33217 @endif target-libstdc++-v3-bootstrap
33220 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
33221 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
33222 maybe-all-stage4-target-libstdc++-v3:
33223 maybe-clean-stage4-target-libstdc++-v3:
33224 @if target-libstdc++-v3-bootstrap
33225 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
33226 all-stage4: all-stage4-target-libstdc++-v3
33227 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33228 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
33229 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33230 @r=`${PWD_COMMAND}`; export r; \
33231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33232 TFLAGS="$(STAGE4_TFLAGS)"; \
33233 $(RAW_CXX_TARGET_EXPORTS) \
33235 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33237 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33238 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33239 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33243 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33244 TFLAGS="$(STAGE4_TFLAGS)" \
33245 $(TARGET-stage4-target-libstdc++-v3)
33247 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
33248 clean-stage4: clean-stage4-target-libstdc++-v3
33249 clean-stage4-target-libstdc++-v3:
33250 @if [ $(current_stage) = stage4 ]; then \
33251 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33252 else \
33253 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
33254 $(MAKE) stage4-start; \
33255 fi; \
33256 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33257 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33258 @endif target-libstdc++-v3-bootstrap
33261 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
33262 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
33263 maybe-all-stageprofile-target-libstdc++-v3:
33264 maybe-clean-stageprofile-target-libstdc++-v3:
33265 @if target-libstdc++-v3-bootstrap
33266 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
33267 all-stageprofile: all-stageprofile-target-libstdc++-v3
33268 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33269 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
33270 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33271 @r=`${PWD_COMMAND}`; export r; \
33272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33273 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33274 $(RAW_CXX_TARGET_EXPORTS) \
33276 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33278 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33284 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33285 TFLAGS="$(STAGEprofile_TFLAGS)" \
33286 $(TARGET-stageprofile-target-libstdc++-v3)
33288 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
33289 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
33290 clean-stageprofile-target-libstdc++-v3:
33291 @if [ $(current_stage) = stageprofile ]; then \
33292 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33293 else \
33294 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
33295 $(MAKE) stageprofile-start; \
33296 fi; \
33297 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33298 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33299 @endif target-libstdc++-v3-bootstrap
33302 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
33303 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
33304 maybe-all-stagefeedback-target-libstdc++-v3:
33305 maybe-clean-stagefeedback-target-libstdc++-v3:
33306 @if target-libstdc++-v3-bootstrap
33307 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
33308 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
33309 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33310 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
33311 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33312 @r=`${PWD_COMMAND}`; export r; \
33313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33314 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33315 $(RAW_CXX_TARGET_EXPORTS) \
33317 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33319 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33320 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33321 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33325 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33326 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33327 $(TARGET-stagefeedback-target-libstdc++-v3)
33329 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
33330 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
33331 clean-stagefeedback-target-libstdc++-v3:
33332 @if [ $(current_stage) = stagefeedback ]; then \
33333 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33334 else \
33335 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
33336 $(MAKE) stagefeedback-start; \
33337 fi; \
33338 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33339 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33340 @endif target-libstdc++-v3-bootstrap
33347 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33348 maybe-check-target-libstdc++-v3:
33349 @if target-libstdc++-v3
33350 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33352 check-target-libstdc++-v3:
33353 @: $(MAKE); $(unstage)
33354 @r=`${PWD_COMMAND}`; export r; \
33355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33356 $(RAW_CXX_TARGET_EXPORTS) \
33357 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33358 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33360 @endif target-libstdc++-v3
33362 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33363 maybe-install-target-libstdc++-v3:
33364 @if target-libstdc++-v3
33365 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33367 install-target-libstdc++-v3: installdirs
33368 @: $(MAKE); $(unstage)
33369 @r=`${PWD_COMMAND}`; export r; \
33370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33371 $(RAW_CXX_TARGET_EXPORTS) \
33372 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33373 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33375 @endif target-libstdc++-v3
33377 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
33378 maybe-install-strip-target-libstdc++-v3:
33379 @if target-libstdc++-v3
33380 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
33382 install-strip-target-libstdc++-v3: installdirs
33383 @: $(MAKE); $(unstage)
33384 @r=`${PWD_COMMAND}`; export r; \
33385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33386 $(RAW_CXX_TARGET_EXPORTS) \
33387 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33388 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33390 @endif target-libstdc++-v3
33392 # Other targets (info, dvi, pdf, etc.)
33394 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33395 maybe-info-target-libstdc++-v3:
33396 @if target-libstdc++-v3
33397 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33399 info-target-libstdc++-v3: \
33400 configure-target-libstdc++-v3
33401 @: $(MAKE); $(unstage)
33402 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33403 r=`${PWD_COMMAND}`; export r; \
33404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33405 $(RAW_CXX_TARGET_EXPORTS) \
33406 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
33407 for flag in $(EXTRA_TARGET_FLAGS); do \
33408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33409 done; \
33410 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33413 "RANLIB=$${RANLIB}" \
33414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33415 info) \
33416 || exit 1
33418 @endif target-libstdc++-v3
33420 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33421 maybe-dvi-target-libstdc++-v3:
33422 @if target-libstdc++-v3
33423 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33425 dvi-target-libstdc++-v3: \
33426 configure-target-libstdc++-v3
33427 @: $(MAKE); $(unstage)
33428 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33429 r=`${PWD_COMMAND}`; export r; \
33430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33431 $(RAW_CXX_TARGET_EXPORTS) \
33432 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
33433 for flag in $(EXTRA_TARGET_FLAGS); do \
33434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33435 done; \
33436 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33439 "RANLIB=$${RANLIB}" \
33440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33441 dvi) \
33442 || exit 1
33444 @endif target-libstdc++-v3
33446 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33447 maybe-pdf-target-libstdc++-v3:
33448 @if target-libstdc++-v3
33449 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33451 pdf-target-libstdc++-v3: \
33452 configure-target-libstdc++-v3
33453 @: $(MAKE); $(unstage)
33454 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33455 r=`${PWD_COMMAND}`; export r; \
33456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33457 $(RAW_CXX_TARGET_EXPORTS) \
33458 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
33459 for flag in $(EXTRA_TARGET_FLAGS); do \
33460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33461 done; \
33462 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33465 "RANLIB=$${RANLIB}" \
33466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33467 pdf) \
33468 || exit 1
33470 @endif target-libstdc++-v3
33472 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33473 maybe-html-target-libstdc++-v3:
33474 @if target-libstdc++-v3
33475 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33477 html-target-libstdc++-v3: \
33478 configure-target-libstdc++-v3
33479 @: $(MAKE); $(unstage)
33480 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33481 r=`${PWD_COMMAND}`; export r; \
33482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33483 $(RAW_CXX_TARGET_EXPORTS) \
33484 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
33485 for flag in $(EXTRA_TARGET_FLAGS); do \
33486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33487 done; \
33488 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33491 "RANLIB=$${RANLIB}" \
33492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33493 html) \
33494 || exit 1
33496 @endif target-libstdc++-v3
33498 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33499 maybe-TAGS-target-libstdc++-v3:
33500 @if target-libstdc++-v3
33501 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33503 TAGS-target-libstdc++-v3: \
33504 configure-target-libstdc++-v3
33505 @: $(MAKE); $(unstage)
33506 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33507 r=`${PWD_COMMAND}`; export r; \
33508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33509 $(RAW_CXX_TARGET_EXPORTS) \
33510 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
33511 for flag in $(EXTRA_TARGET_FLAGS); do \
33512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33513 done; \
33514 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33517 "RANLIB=$${RANLIB}" \
33518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33519 TAGS) \
33520 || exit 1
33522 @endif target-libstdc++-v3
33524 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33525 maybe-install-info-target-libstdc++-v3:
33526 @if target-libstdc++-v3
33527 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33529 install-info-target-libstdc++-v3: \
33530 configure-target-libstdc++-v3 \
33531 info-target-libstdc++-v3
33532 @: $(MAKE); $(unstage)
33533 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33534 r=`${PWD_COMMAND}`; export r; \
33535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33536 $(RAW_CXX_TARGET_EXPORTS) \
33537 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
33538 for flag in $(EXTRA_TARGET_FLAGS); do \
33539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33540 done; \
33541 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33544 "RANLIB=$${RANLIB}" \
33545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33546 install-info) \
33547 || exit 1
33549 @endif target-libstdc++-v3
33551 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
33552 maybe-install-pdf-target-libstdc++-v3:
33553 @if target-libstdc++-v3
33554 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
33556 install-pdf-target-libstdc++-v3: \
33557 configure-target-libstdc++-v3 \
33558 pdf-target-libstdc++-v3
33559 @: $(MAKE); $(unstage)
33560 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33561 r=`${PWD_COMMAND}`; export r; \
33562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33563 $(RAW_CXX_TARGET_EXPORTS) \
33564 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
33565 for flag in $(EXTRA_TARGET_FLAGS); do \
33566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33567 done; \
33568 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33571 "RANLIB=$${RANLIB}" \
33572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33573 install-pdf) \
33574 || exit 1
33576 @endif target-libstdc++-v3
33578 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33579 maybe-install-html-target-libstdc++-v3:
33580 @if target-libstdc++-v3
33581 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33583 install-html-target-libstdc++-v3: \
33584 configure-target-libstdc++-v3 \
33585 html-target-libstdc++-v3
33586 @: $(MAKE); $(unstage)
33587 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33588 r=`${PWD_COMMAND}`; export r; \
33589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33590 $(RAW_CXX_TARGET_EXPORTS) \
33591 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
33592 for flag in $(EXTRA_TARGET_FLAGS); do \
33593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33594 done; \
33595 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33598 "RANLIB=$${RANLIB}" \
33599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33600 install-html) \
33601 || exit 1
33603 @endif target-libstdc++-v3
33605 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33606 maybe-installcheck-target-libstdc++-v3:
33607 @if target-libstdc++-v3
33608 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33610 installcheck-target-libstdc++-v3: \
33611 configure-target-libstdc++-v3
33612 @: $(MAKE); $(unstage)
33613 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33614 r=`${PWD_COMMAND}`; export r; \
33615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33616 $(RAW_CXX_TARGET_EXPORTS) \
33617 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
33618 for flag in $(EXTRA_TARGET_FLAGS); do \
33619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33620 done; \
33621 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33624 "RANLIB=$${RANLIB}" \
33625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33626 installcheck) \
33627 || exit 1
33629 @endif target-libstdc++-v3
33631 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33632 maybe-mostlyclean-target-libstdc++-v3:
33633 @if target-libstdc++-v3
33634 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33636 mostlyclean-target-libstdc++-v3:
33637 @: $(MAKE); $(unstage)
33638 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33639 r=`${PWD_COMMAND}`; export r; \
33640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33641 $(RAW_CXX_TARGET_EXPORTS) \
33642 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33643 for flag in $(EXTRA_TARGET_FLAGS); do \
33644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33645 done; \
33646 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33649 "RANLIB=$${RANLIB}" \
33650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33651 mostlyclean) \
33652 || exit 1
33654 @endif target-libstdc++-v3
33656 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33657 maybe-clean-target-libstdc++-v3:
33658 @if target-libstdc++-v3
33659 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33661 clean-target-libstdc++-v3:
33662 @: $(MAKE); $(unstage)
33663 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33664 r=`${PWD_COMMAND}`; export r; \
33665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33666 $(RAW_CXX_TARGET_EXPORTS) \
33667 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33668 for flag in $(EXTRA_TARGET_FLAGS); do \
33669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33670 done; \
33671 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33674 "RANLIB=$${RANLIB}" \
33675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33676 clean) \
33677 || exit 1
33679 @endif target-libstdc++-v3
33681 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33682 maybe-distclean-target-libstdc++-v3:
33683 @if target-libstdc++-v3
33684 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33686 distclean-target-libstdc++-v3:
33687 @: $(MAKE); $(unstage)
33688 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33689 r=`${PWD_COMMAND}`; export r; \
33690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33691 $(RAW_CXX_TARGET_EXPORTS) \
33692 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33693 for flag in $(EXTRA_TARGET_FLAGS); do \
33694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33695 done; \
33696 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33699 "RANLIB=$${RANLIB}" \
33700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33701 distclean) \
33702 || exit 1
33704 @endif target-libstdc++-v3
33706 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33707 maybe-maintainer-clean-target-libstdc++-v3:
33708 @if target-libstdc++-v3
33709 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33711 maintainer-clean-target-libstdc++-v3:
33712 @: $(MAKE); $(unstage)
33713 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33714 r=`${PWD_COMMAND}`; export r; \
33715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33716 $(RAW_CXX_TARGET_EXPORTS) \
33717 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33718 for flag in $(EXTRA_TARGET_FLAGS); do \
33719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33720 done; \
33721 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33724 "RANLIB=$${RANLIB}" \
33725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33726 maintainer-clean) \
33727 || exit 1
33729 @endif target-libstdc++-v3
33735 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33736 maybe-configure-target-libsanitizer:
33737 @if gcc-bootstrap
33738 configure-target-libsanitizer: stage_current
33739 @endif gcc-bootstrap
33740 @if target-libsanitizer
33741 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33742 configure-target-libsanitizer:
33743 @r=`${PWD_COMMAND}`; export r; \
33744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33745 echo "Checking multilib configuration for libsanitizer..."; \
33746 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33747 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33748 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33749 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33750 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33751 else \
33752 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33753 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33754 fi; \
33755 else \
33756 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33757 fi; \
33758 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33759 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33760 $(RAW_CXX_TARGET_EXPORTS) \
33761 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33762 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33763 case $(srcdir) in \
33764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33765 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33767 esac; \
33768 module_srcdir=libsanitizer; \
33769 rm -f no-such-file || : ; \
33770 CONFIG_SITE=no-such-file $(SHELL) \
33771 $$s/$$module_srcdir/configure \
33772 --srcdir=$${topdir}/$$module_srcdir \
33773 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33774 --target=${target_alias} \
33775 || exit 1
33776 @endif target-libsanitizer
33780 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33781 maybe-configure-stage1-target-libsanitizer:
33782 @if target-libsanitizer-bootstrap
33783 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33784 configure-stage1-target-libsanitizer:
33785 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33786 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33787 @r=`${PWD_COMMAND}`; export r; \
33788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33789 TFLAGS="$(STAGE1_TFLAGS)"; \
33790 echo "Checking multilib configuration for libsanitizer..."; \
33791 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33792 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33793 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33794 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33795 else \
33796 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33797 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33798 fi; \
33799 else \
33800 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33801 fi; \
33802 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33803 $(RAW_CXX_TARGET_EXPORTS) \
33804 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33805 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33806 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33807 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
33808 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33809 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33810 case $(srcdir) in \
33811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33812 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33814 esac; \
33815 module_srcdir=libsanitizer; \
33816 $(SHELL) $$s/$$module_srcdir/configure \
33817 --srcdir=$${topdir}/$$module_srcdir \
33818 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33819 --target=${target_alias} \
33821 $(STAGE1_CONFIGURE_FLAGS)
33822 @endif target-libsanitizer-bootstrap
33824 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33825 maybe-configure-stage2-target-libsanitizer:
33826 @if target-libsanitizer-bootstrap
33827 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33828 configure-stage2-target-libsanitizer:
33829 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33830 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33831 @r=`${PWD_COMMAND}`; export r; \
33832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33833 TFLAGS="$(STAGE2_TFLAGS)"; \
33834 echo "Checking multilib configuration for libsanitizer..."; \
33835 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33836 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33837 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33838 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33839 else \
33840 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33841 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33842 fi; \
33843 else \
33844 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33845 fi; \
33846 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33847 $(RAW_CXX_TARGET_EXPORTS) \
33849 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33850 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33851 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33852 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
33853 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33854 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33855 case $(srcdir) in \
33856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33857 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33859 esac; \
33860 module_srcdir=libsanitizer; \
33861 $(SHELL) $$s/$$module_srcdir/configure \
33862 --srcdir=$${topdir}/$$module_srcdir \
33863 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33864 --target=${target_alias} \
33865 --with-build-libsubdir=$(HOST_SUBDIR) \
33866 $(STAGE2_CONFIGURE_FLAGS)
33867 @endif target-libsanitizer-bootstrap
33869 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33870 maybe-configure-stage3-target-libsanitizer:
33871 @if target-libsanitizer-bootstrap
33872 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33873 configure-stage3-target-libsanitizer:
33874 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33875 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33876 @r=`${PWD_COMMAND}`; export r; \
33877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33878 TFLAGS="$(STAGE3_TFLAGS)"; \
33879 echo "Checking multilib configuration for libsanitizer..."; \
33880 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33881 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33882 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33883 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33884 else \
33885 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33886 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33887 fi; \
33888 else \
33889 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33890 fi; \
33891 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33892 $(RAW_CXX_TARGET_EXPORTS) \
33894 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33895 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33896 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33897 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
33898 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33899 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33900 case $(srcdir) in \
33901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33902 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33904 esac; \
33905 module_srcdir=libsanitizer; \
33906 $(SHELL) $$s/$$module_srcdir/configure \
33907 --srcdir=$${topdir}/$$module_srcdir \
33908 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33909 --target=${target_alias} \
33910 --with-build-libsubdir=$(HOST_SUBDIR) \
33911 $(STAGE3_CONFIGURE_FLAGS)
33912 @endif target-libsanitizer-bootstrap
33914 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33915 maybe-configure-stage4-target-libsanitizer:
33916 @if target-libsanitizer-bootstrap
33917 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33918 configure-stage4-target-libsanitizer:
33919 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33920 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33921 @r=`${PWD_COMMAND}`; export r; \
33922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33923 TFLAGS="$(STAGE4_TFLAGS)"; \
33924 echo "Checking multilib configuration for libsanitizer..."; \
33925 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33926 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33927 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33928 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33929 else \
33930 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33931 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33932 fi; \
33933 else \
33934 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33935 fi; \
33936 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33937 $(RAW_CXX_TARGET_EXPORTS) \
33939 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33940 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33941 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33942 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
33943 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33944 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33945 case $(srcdir) in \
33946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33947 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33949 esac; \
33950 module_srcdir=libsanitizer; \
33951 $(SHELL) $$s/$$module_srcdir/configure \
33952 --srcdir=$${topdir}/$$module_srcdir \
33953 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33954 --target=${target_alias} \
33955 --with-build-libsubdir=$(HOST_SUBDIR) \
33956 $(STAGE4_CONFIGURE_FLAGS)
33957 @endif target-libsanitizer-bootstrap
33959 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33960 maybe-configure-stageprofile-target-libsanitizer:
33961 @if target-libsanitizer-bootstrap
33962 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33963 configure-stageprofile-target-libsanitizer:
33964 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33965 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33966 @r=`${PWD_COMMAND}`; export r; \
33967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33968 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33969 echo "Checking multilib configuration for libsanitizer..."; \
33970 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33971 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33972 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33973 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33974 else \
33975 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33976 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33977 fi; \
33978 else \
33979 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33980 fi; \
33981 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33982 $(RAW_CXX_TARGET_EXPORTS) \
33984 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33985 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33986 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33987 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
33988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33989 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33990 case $(srcdir) in \
33991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33992 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33994 esac; \
33995 module_srcdir=libsanitizer; \
33996 $(SHELL) $$s/$$module_srcdir/configure \
33997 --srcdir=$${topdir}/$$module_srcdir \
33998 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33999 --target=${target_alias} \
34000 --with-build-libsubdir=$(HOST_SUBDIR) \
34001 $(STAGEprofile_CONFIGURE_FLAGS)
34002 @endif target-libsanitizer-bootstrap
34004 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
34005 maybe-configure-stagefeedback-target-libsanitizer:
34006 @if target-libsanitizer-bootstrap
34007 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
34008 configure-stagefeedback-target-libsanitizer:
34009 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34010 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
34011 @r=`${PWD_COMMAND}`; export r; \
34012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34013 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34014 echo "Checking multilib configuration for libsanitizer..."; \
34015 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
34016 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
34017 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
34018 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
34019 else \
34020 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
34021 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
34022 fi; \
34023 else \
34024 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
34025 fi; \
34026 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
34027 $(RAW_CXX_TARGET_EXPORTS) \
34029 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34030 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34031 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34032 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
34033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
34034 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
34035 case $(srcdir) in \
34036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34037 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
34038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34039 esac; \
34040 module_srcdir=libsanitizer; \
34041 $(SHELL) $$s/$$module_srcdir/configure \
34042 --srcdir=$${topdir}/$$module_srcdir \
34043 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34044 --target=${target_alias} \
34045 --with-build-libsubdir=$(HOST_SUBDIR) \
34046 $(STAGEfeedback_CONFIGURE_FLAGS)
34047 @endif target-libsanitizer-bootstrap
34053 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
34054 maybe-all-target-libsanitizer:
34055 @if gcc-bootstrap
34056 all-target-libsanitizer: stage_current
34057 @endif gcc-bootstrap
34058 @if target-libsanitizer
34059 TARGET-target-libsanitizer=all
34060 maybe-all-target-libsanitizer: all-target-libsanitizer
34061 all-target-libsanitizer: configure-target-libsanitizer
34062 @r=`${PWD_COMMAND}`; export r; \
34063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34064 $(RAW_CXX_TARGET_EXPORTS) \
34065 (cd $(TARGET_SUBDIR)/libsanitizer && \
34066 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34067 $(TARGET-target-libsanitizer))
34068 @endif target-libsanitizer
34072 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
34073 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
34074 maybe-all-stage1-target-libsanitizer:
34075 maybe-clean-stage1-target-libsanitizer:
34076 @if target-libsanitizer-bootstrap
34077 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
34078 all-stage1: all-stage1-target-libsanitizer
34079 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
34080 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
34081 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34082 @r=`${PWD_COMMAND}`; export r; \
34083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34084 TFLAGS="$(STAGE1_TFLAGS)"; \
34085 $(RAW_CXX_TARGET_EXPORTS) \
34086 cd $(TARGET_SUBDIR)/libsanitizer && \
34087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34088 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34089 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34090 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34091 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34094 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34096 TFLAGS="$(STAGE1_TFLAGS)" \
34097 $(TARGET-stage1-target-libsanitizer)
34099 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
34100 clean-stage1: clean-stage1-target-libsanitizer
34101 clean-stage1-target-libsanitizer:
34102 @if [ $(current_stage) = stage1 ]; then \
34103 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34104 else \
34105 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
34106 $(MAKE) stage1-start; \
34107 fi; \
34108 cd $(TARGET_SUBDIR)/libsanitizer && \
34109 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34110 clean
34111 @endif target-libsanitizer-bootstrap
34114 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
34115 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
34116 maybe-all-stage2-target-libsanitizer:
34117 maybe-clean-stage2-target-libsanitizer:
34118 @if target-libsanitizer-bootstrap
34119 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
34120 all-stage2: all-stage2-target-libsanitizer
34121 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
34122 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
34123 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34124 @r=`${PWD_COMMAND}`; export r; \
34125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34126 TFLAGS="$(STAGE2_TFLAGS)"; \
34127 $(RAW_CXX_TARGET_EXPORTS) \
34129 cd $(TARGET_SUBDIR)/libsanitizer && \
34130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34131 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34132 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34133 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34134 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34135 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34136 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34137 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34138 TFLAGS="$(STAGE2_TFLAGS)" \
34139 $(TARGET-stage2-target-libsanitizer)
34141 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
34142 clean-stage2: clean-stage2-target-libsanitizer
34143 clean-stage2-target-libsanitizer:
34144 @if [ $(current_stage) = stage2 ]; then \
34145 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34146 else \
34147 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
34148 $(MAKE) stage2-start; \
34149 fi; \
34150 cd $(TARGET_SUBDIR)/libsanitizer && \
34151 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34152 @endif target-libsanitizer-bootstrap
34155 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
34156 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
34157 maybe-all-stage3-target-libsanitizer:
34158 maybe-clean-stage3-target-libsanitizer:
34159 @if target-libsanitizer-bootstrap
34160 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
34161 all-stage3: all-stage3-target-libsanitizer
34162 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
34163 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
34164 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34165 @r=`${PWD_COMMAND}`; export r; \
34166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34167 TFLAGS="$(STAGE3_TFLAGS)"; \
34168 $(RAW_CXX_TARGET_EXPORTS) \
34170 cd $(TARGET_SUBDIR)/libsanitizer && \
34171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34172 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34173 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34174 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34178 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34179 TFLAGS="$(STAGE3_TFLAGS)" \
34180 $(TARGET-stage3-target-libsanitizer)
34182 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
34183 clean-stage3: clean-stage3-target-libsanitizer
34184 clean-stage3-target-libsanitizer:
34185 @if [ $(current_stage) = stage3 ]; then \
34186 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34187 else \
34188 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
34189 $(MAKE) stage3-start; \
34190 fi; \
34191 cd $(TARGET_SUBDIR)/libsanitizer && \
34192 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34193 @endif target-libsanitizer-bootstrap
34196 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
34197 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
34198 maybe-all-stage4-target-libsanitizer:
34199 maybe-clean-stage4-target-libsanitizer:
34200 @if target-libsanitizer-bootstrap
34201 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
34202 all-stage4: all-stage4-target-libsanitizer
34203 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
34204 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
34205 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34206 @r=`${PWD_COMMAND}`; export r; \
34207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34208 TFLAGS="$(STAGE4_TFLAGS)"; \
34209 $(RAW_CXX_TARGET_EXPORTS) \
34211 cd $(TARGET_SUBDIR)/libsanitizer && \
34212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34213 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34214 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34215 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34219 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34220 TFLAGS="$(STAGE4_TFLAGS)" \
34221 $(TARGET-stage4-target-libsanitizer)
34223 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
34224 clean-stage4: clean-stage4-target-libsanitizer
34225 clean-stage4-target-libsanitizer:
34226 @if [ $(current_stage) = stage4 ]; then \
34227 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34228 else \
34229 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
34230 $(MAKE) stage4-start; \
34231 fi; \
34232 cd $(TARGET_SUBDIR)/libsanitizer && \
34233 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34234 @endif target-libsanitizer-bootstrap
34237 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
34238 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
34239 maybe-all-stageprofile-target-libsanitizer:
34240 maybe-clean-stageprofile-target-libsanitizer:
34241 @if target-libsanitizer-bootstrap
34242 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
34243 all-stageprofile: all-stageprofile-target-libsanitizer
34244 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
34245 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
34246 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34247 @r=`${PWD_COMMAND}`; export r; \
34248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34249 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34250 $(RAW_CXX_TARGET_EXPORTS) \
34252 cd $(TARGET_SUBDIR)/libsanitizer && \
34253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34254 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34255 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34256 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34257 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34258 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34259 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34260 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34261 TFLAGS="$(STAGEprofile_TFLAGS)" \
34262 $(TARGET-stageprofile-target-libsanitizer)
34264 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
34265 clean-stageprofile: clean-stageprofile-target-libsanitizer
34266 clean-stageprofile-target-libsanitizer:
34267 @if [ $(current_stage) = stageprofile ]; then \
34268 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34269 else \
34270 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
34271 $(MAKE) stageprofile-start; \
34272 fi; \
34273 cd $(TARGET_SUBDIR)/libsanitizer && \
34274 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34275 @endif target-libsanitizer-bootstrap
34278 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
34279 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
34280 maybe-all-stagefeedback-target-libsanitizer:
34281 maybe-clean-stagefeedback-target-libsanitizer:
34282 @if target-libsanitizer-bootstrap
34283 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
34284 all-stagefeedback: all-stagefeedback-target-libsanitizer
34285 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
34286 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
34287 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34288 @r=`${PWD_COMMAND}`; export r; \
34289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34290 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34291 $(RAW_CXX_TARGET_EXPORTS) \
34293 cd $(TARGET_SUBDIR)/libsanitizer && \
34294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34295 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34296 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34297 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34301 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34302 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34303 $(TARGET-stagefeedback-target-libsanitizer)
34305 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
34306 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
34307 clean-stagefeedback-target-libsanitizer:
34308 @if [ $(current_stage) = stagefeedback ]; then \
34309 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34310 else \
34311 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
34312 $(MAKE) stagefeedback-start; \
34313 fi; \
34314 cd $(TARGET_SUBDIR)/libsanitizer && \
34315 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34316 @endif target-libsanitizer-bootstrap
34323 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
34324 maybe-check-target-libsanitizer:
34325 @if target-libsanitizer
34326 maybe-check-target-libsanitizer: check-target-libsanitizer
34328 check-target-libsanitizer:
34329 @: $(MAKE); $(unstage)
34330 @r=`${PWD_COMMAND}`; export r; \
34331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34332 $(RAW_CXX_TARGET_EXPORTS) \
34333 (cd $(TARGET_SUBDIR)/libsanitizer && \
34334 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34336 @endif target-libsanitizer
34338 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
34339 maybe-install-target-libsanitizer:
34340 @if target-libsanitizer
34341 maybe-install-target-libsanitizer: install-target-libsanitizer
34343 install-target-libsanitizer: installdirs
34344 @: $(MAKE); $(unstage)
34345 @r=`${PWD_COMMAND}`; export r; \
34346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34347 $(RAW_CXX_TARGET_EXPORTS) \
34348 (cd $(TARGET_SUBDIR)/libsanitizer && \
34349 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34351 @endif target-libsanitizer
34353 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
34354 maybe-install-strip-target-libsanitizer:
34355 @if target-libsanitizer
34356 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
34358 install-strip-target-libsanitizer: installdirs
34359 @: $(MAKE); $(unstage)
34360 @r=`${PWD_COMMAND}`; export r; \
34361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34362 $(RAW_CXX_TARGET_EXPORTS) \
34363 (cd $(TARGET_SUBDIR)/libsanitizer && \
34364 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34366 @endif target-libsanitizer
34368 # Other targets (info, dvi, pdf, etc.)
34370 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
34371 maybe-info-target-libsanitizer:
34372 @if target-libsanitizer
34373 maybe-info-target-libsanitizer: info-target-libsanitizer
34375 info-target-libsanitizer: \
34376 configure-target-libsanitizer
34377 @: $(MAKE); $(unstage)
34378 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34379 r=`${PWD_COMMAND}`; export r; \
34380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34381 $(RAW_CXX_TARGET_EXPORTS) \
34382 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
34383 for flag in $(EXTRA_TARGET_FLAGS); do \
34384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34385 done; \
34386 (cd $(TARGET_SUBDIR)/libsanitizer && \
34387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34389 "RANLIB=$${RANLIB}" \
34390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34391 info) \
34392 || exit 1
34394 @endif target-libsanitizer
34396 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
34397 maybe-dvi-target-libsanitizer:
34398 @if target-libsanitizer
34399 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
34401 dvi-target-libsanitizer: \
34402 configure-target-libsanitizer
34403 @: $(MAKE); $(unstage)
34404 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34405 r=`${PWD_COMMAND}`; export r; \
34406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34407 $(RAW_CXX_TARGET_EXPORTS) \
34408 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
34409 for flag in $(EXTRA_TARGET_FLAGS); do \
34410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34411 done; \
34412 (cd $(TARGET_SUBDIR)/libsanitizer && \
34413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34415 "RANLIB=$${RANLIB}" \
34416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34417 dvi) \
34418 || exit 1
34420 @endif target-libsanitizer
34422 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
34423 maybe-pdf-target-libsanitizer:
34424 @if target-libsanitizer
34425 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
34427 pdf-target-libsanitizer: \
34428 configure-target-libsanitizer
34429 @: $(MAKE); $(unstage)
34430 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34431 r=`${PWD_COMMAND}`; export r; \
34432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34433 $(RAW_CXX_TARGET_EXPORTS) \
34434 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
34435 for flag in $(EXTRA_TARGET_FLAGS); do \
34436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34437 done; \
34438 (cd $(TARGET_SUBDIR)/libsanitizer && \
34439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34441 "RANLIB=$${RANLIB}" \
34442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34443 pdf) \
34444 || exit 1
34446 @endif target-libsanitizer
34448 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
34449 maybe-html-target-libsanitizer:
34450 @if target-libsanitizer
34451 maybe-html-target-libsanitizer: html-target-libsanitizer
34453 html-target-libsanitizer: \
34454 configure-target-libsanitizer
34455 @: $(MAKE); $(unstage)
34456 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34457 r=`${PWD_COMMAND}`; export r; \
34458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34459 $(RAW_CXX_TARGET_EXPORTS) \
34460 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
34461 for flag in $(EXTRA_TARGET_FLAGS); do \
34462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34463 done; \
34464 (cd $(TARGET_SUBDIR)/libsanitizer && \
34465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34467 "RANLIB=$${RANLIB}" \
34468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34469 html) \
34470 || exit 1
34472 @endif target-libsanitizer
34474 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
34475 maybe-TAGS-target-libsanitizer:
34476 @if target-libsanitizer
34477 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
34479 TAGS-target-libsanitizer: \
34480 configure-target-libsanitizer
34481 @: $(MAKE); $(unstage)
34482 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34483 r=`${PWD_COMMAND}`; export r; \
34484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34485 $(RAW_CXX_TARGET_EXPORTS) \
34486 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
34487 for flag in $(EXTRA_TARGET_FLAGS); do \
34488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34489 done; \
34490 (cd $(TARGET_SUBDIR)/libsanitizer && \
34491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34493 "RANLIB=$${RANLIB}" \
34494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34495 TAGS) \
34496 || exit 1
34498 @endif target-libsanitizer
34500 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
34501 maybe-install-info-target-libsanitizer:
34502 @if target-libsanitizer
34503 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
34505 install-info-target-libsanitizer: \
34506 configure-target-libsanitizer \
34507 info-target-libsanitizer
34508 @: $(MAKE); $(unstage)
34509 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34510 r=`${PWD_COMMAND}`; export r; \
34511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34512 $(RAW_CXX_TARGET_EXPORTS) \
34513 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
34514 for flag in $(EXTRA_TARGET_FLAGS); do \
34515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34516 done; \
34517 (cd $(TARGET_SUBDIR)/libsanitizer && \
34518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34520 "RANLIB=$${RANLIB}" \
34521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34522 install-info) \
34523 || exit 1
34525 @endif target-libsanitizer
34527 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
34528 maybe-install-pdf-target-libsanitizer:
34529 @if target-libsanitizer
34530 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
34532 install-pdf-target-libsanitizer: \
34533 configure-target-libsanitizer \
34534 pdf-target-libsanitizer
34535 @: $(MAKE); $(unstage)
34536 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34537 r=`${PWD_COMMAND}`; export r; \
34538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34539 $(RAW_CXX_TARGET_EXPORTS) \
34540 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
34541 for flag in $(EXTRA_TARGET_FLAGS); do \
34542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34543 done; \
34544 (cd $(TARGET_SUBDIR)/libsanitizer && \
34545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34547 "RANLIB=$${RANLIB}" \
34548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34549 install-pdf) \
34550 || exit 1
34552 @endif target-libsanitizer
34554 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
34555 maybe-install-html-target-libsanitizer:
34556 @if target-libsanitizer
34557 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
34559 install-html-target-libsanitizer: \
34560 configure-target-libsanitizer \
34561 html-target-libsanitizer
34562 @: $(MAKE); $(unstage)
34563 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34564 r=`${PWD_COMMAND}`; export r; \
34565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34566 $(RAW_CXX_TARGET_EXPORTS) \
34567 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
34568 for flag in $(EXTRA_TARGET_FLAGS); do \
34569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34570 done; \
34571 (cd $(TARGET_SUBDIR)/libsanitizer && \
34572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34574 "RANLIB=$${RANLIB}" \
34575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34576 install-html) \
34577 || exit 1
34579 @endif target-libsanitizer
34581 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
34582 maybe-installcheck-target-libsanitizer:
34583 @if target-libsanitizer
34584 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
34586 installcheck-target-libsanitizer: \
34587 configure-target-libsanitizer
34588 @: $(MAKE); $(unstage)
34589 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34590 r=`${PWD_COMMAND}`; export r; \
34591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34592 $(RAW_CXX_TARGET_EXPORTS) \
34593 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
34594 for flag in $(EXTRA_TARGET_FLAGS); do \
34595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34596 done; \
34597 (cd $(TARGET_SUBDIR)/libsanitizer && \
34598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34600 "RANLIB=$${RANLIB}" \
34601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34602 installcheck) \
34603 || exit 1
34605 @endif target-libsanitizer
34607 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
34608 maybe-mostlyclean-target-libsanitizer:
34609 @if target-libsanitizer
34610 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
34612 mostlyclean-target-libsanitizer:
34613 @: $(MAKE); $(unstage)
34614 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34615 r=`${PWD_COMMAND}`; export r; \
34616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34617 $(RAW_CXX_TARGET_EXPORTS) \
34618 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
34619 for flag in $(EXTRA_TARGET_FLAGS); do \
34620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34621 done; \
34622 (cd $(TARGET_SUBDIR)/libsanitizer && \
34623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34625 "RANLIB=$${RANLIB}" \
34626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34627 mostlyclean) \
34628 || exit 1
34630 @endif target-libsanitizer
34632 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
34633 maybe-clean-target-libsanitizer:
34634 @if target-libsanitizer
34635 maybe-clean-target-libsanitizer: clean-target-libsanitizer
34637 clean-target-libsanitizer:
34638 @: $(MAKE); $(unstage)
34639 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34640 r=`${PWD_COMMAND}`; export r; \
34641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34642 $(RAW_CXX_TARGET_EXPORTS) \
34643 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
34644 for flag in $(EXTRA_TARGET_FLAGS); do \
34645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34646 done; \
34647 (cd $(TARGET_SUBDIR)/libsanitizer && \
34648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34650 "RANLIB=$${RANLIB}" \
34651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34652 clean) \
34653 || exit 1
34655 @endif target-libsanitizer
34657 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
34658 maybe-distclean-target-libsanitizer:
34659 @if target-libsanitizer
34660 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34662 distclean-target-libsanitizer:
34663 @: $(MAKE); $(unstage)
34664 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34665 r=`${PWD_COMMAND}`; export r; \
34666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34667 $(RAW_CXX_TARGET_EXPORTS) \
34668 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
34669 for flag in $(EXTRA_TARGET_FLAGS); do \
34670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34671 done; \
34672 (cd $(TARGET_SUBDIR)/libsanitizer && \
34673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34675 "RANLIB=$${RANLIB}" \
34676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34677 distclean) \
34678 || exit 1
34680 @endif target-libsanitizer
34682 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34683 maybe-maintainer-clean-target-libsanitizer:
34684 @if target-libsanitizer
34685 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34687 maintainer-clean-target-libsanitizer:
34688 @: $(MAKE); $(unstage)
34689 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34690 r=`${PWD_COMMAND}`; export r; \
34691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34692 $(RAW_CXX_TARGET_EXPORTS) \
34693 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
34694 for flag in $(EXTRA_TARGET_FLAGS); do \
34695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34696 done; \
34697 (cd $(TARGET_SUBDIR)/libsanitizer && \
34698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34700 "RANLIB=$${RANLIB}" \
34701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34702 maintainer-clean) \
34703 || exit 1
34705 @endif target-libsanitizer
34711 .PHONY: configure-target-libmpx maybe-configure-target-libmpx
34712 maybe-configure-target-libmpx:
34713 @if gcc-bootstrap
34714 configure-target-libmpx: stage_current
34715 @endif gcc-bootstrap
34716 @if target-libmpx
34717 maybe-configure-target-libmpx: configure-target-libmpx
34718 configure-target-libmpx:
34719 @r=`${PWD_COMMAND}`; export r; \
34720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34721 echo "Checking multilib configuration for libmpx..."; \
34722 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34723 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34724 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34725 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34726 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34727 else \
34728 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34729 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34730 fi; \
34731 else \
34732 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34733 fi; \
34734 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34735 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34736 $(NORMAL_TARGET_EXPORTS) \
34737 echo Configuring in $(TARGET_SUBDIR)/libmpx; \
34738 cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
34739 case $(srcdir) in \
34740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34741 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34743 esac; \
34744 module_srcdir=libmpx; \
34745 rm -f no-such-file || : ; \
34746 CONFIG_SITE=no-such-file $(SHELL) \
34747 $$s/$$module_srcdir/configure \
34748 --srcdir=$${topdir}/$$module_srcdir \
34749 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34750 --target=${target_alias} \
34751 || exit 1
34752 @endif target-libmpx
34756 .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
34757 maybe-configure-stage1-target-libmpx:
34758 @if target-libmpx-bootstrap
34759 maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
34760 configure-stage1-target-libmpx:
34761 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34762 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34763 @r=`${PWD_COMMAND}`; export r; \
34764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34765 TFLAGS="$(STAGE1_TFLAGS)"; \
34766 echo "Checking multilib configuration for libmpx..."; \
34767 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34768 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34769 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34770 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34771 else \
34772 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34773 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34774 fi; \
34775 else \
34776 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34777 fi; \
34778 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34779 $(NORMAL_TARGET_EXPORTS) \
34780 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34781 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34782 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34783 echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx; \
34784 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34785 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34786 case $(srcdir) in \
34787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34788 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34790 esac; \
34791 module_srcdir=libmpx; \
34792 $(SHELL) $$s/$$module_srcdir/configure \
34793 --srcdir=$${topdir}/$$module_srcdir \
34794 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34795 --target=${target_alias} \
34797 $(STAGE1_CONFIGURE_FLAGS)
34798 @endif target-libmpx-bootstrap
34800 .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
34801 maybe-configure-stage2-target-libmpx:
34802 @if target-libmpx-bootstrap
34803 maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
34804 configure-stage2-target-libmpx:
34805 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34806 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34807 @r=`${PWD_COMMAND}`; export r; \
34808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34809 TFLAGS="$(STAGE2_TFLAGS)"; \
34810 echo "Checking multilib configuration for libmpx..."; \
34811 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34812 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34813 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34814 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34815 else \
34816 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34817 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34818 fi; \
34819 else \
34820 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34821 fi; \
34822 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34823 $(NORMAL_TARGET_EXPORTS) \
34825 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34826 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34827 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34828 echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx; \
34829 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34830 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34831 case $(srcdir) in \
34832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34833 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34835 esac; \
34836 module_srcdir=libmpx; \
34837 $(SHELL) $$s/$$module_srcdir/configure \
34838 --srcdir=$${topdir}/$$module_srcdir \
34839 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34840 --target=${target_alias} \
34841 --with-build-libsubdir=$(HOST_SUBDIR) \
34842 $(STAGE2_CONFIGURE_FLAGS)
34843 @endif target-libmpx-bootstrap
34845 .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
34846 maybe-configure-stage3-target-libmpx:
34847 @if target-libmpx-bootstrap
34848 maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
34849 configure-stage3-target-libmpx:
34850 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34851 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34852 @r=`${PWD_COMMAND}`; export r; \
34853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34854 TFLAGS="$(STAGE3_TFLAGS)"; \
34855 echo "Checking multilib configuration for libmpx..."; \
34856 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34857 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34858 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34859 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34860 else \
34861 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34862 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34863 fi; \
34864 else \
34865 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34866 fi; \
34867 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34868 $(NORMAL_TARGET_EXPORTS) \
34870 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34871 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34872 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34873 echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx; \
34874 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34875 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34876 case $(srcdir) in \
34877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34878 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34880 esac; \
34881 module_srcdir=libmpx; \
34882 $(SHELL) $$s/$$module_srcdir/configure \
34883 --srcdir=$${topdir}/$$module_srcdir \
34884 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34885 --target=${target_alias} \
34886 --with-build-libsubdir=$(HOST_SUBDIR) \
34887 $(STAGE3_CONFIGURE_FLAGS)
34888 @endif target-libmpx-bootstrap
34890 .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
34891 maybe-configure-stage4-target-libmpx:
34892 @if target-libmpx-bootstrap
34893 maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
34894 configure-stage4-target-libmpx:
34895 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34896 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34897 @r=`${PWD_COMMAND}`; export r; \
34898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34899 TFLAGS="$(STAGE4_TFLAGS)"; \
34900 echo "Checking multilib configuration for libmpx..."; \
34901 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34902 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34903 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34904 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34905 else \
34906 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34907 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34908 fi; \
34909 else \
34910 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34911 fi; \
34912 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34913 $(NORMAL_TARGET_EXPORTS) \
34915 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34916 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34917 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34918 echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx; \
34919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34920 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34921 case $(srcdir) in \
34922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34923 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34925 esac; \
34926 module_srcdir=libmpx; \
34927 $(SHELL) $$s/$$module_srcdir/configure \
34928 --srcdir=$${topdir}/$$module_srcdir \
34929 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34930 --target=${target_alias} \
34931 --with-build-libsubdir=$(HOST_SUBDIR) \
34932 $(STAGE4_CONFIGURE_FLAGS)
34933 @endif target-libmpx-bootstrap
34935 .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
34936 maybe-configure-stageprofile-target-libmpx:
34937 @if target-libmpx-bootstrap
34938 maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
34939 configure-stageprofile-target-libmpx:
34940 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34941 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34942 @r=`${PWD_COMMAND}`; export r; \
34943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34944 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34945 echo "Checking multilib configuration for libmpx..."; \
34946 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34947 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34948 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34949 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34950 else \
34951 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34952 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34953 fi; \
34954 else \
34955 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34956 fi; \
34957 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34958 $(NORMAL_TARGET_EXPORTS) \
34960 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34961 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34962 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34963 echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx; \
34964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34965 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34966 case $(srcdir) in \
34967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34968 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34970 esac; \
34971 module_srcdir=libmpx; \
34972 $(SHELL) $$s/$$module_srcdir/configure \
34973 --srcdir=$${topdir}/$$module_srcdir \
34974 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34975 --target=${target_alias} \
34976 --with-build-libsubdir=$(HOST_SUBDIR) \
34977 $(STAGEprofile_CONFIGURE_FLAGS)
34978 @endif target-libmpx-bootstrap
34980 .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
34981 maybe-configure-stagefeedback-target-libmpx:
34982 @if target-libmpx-bootstrap
34983 maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
34984 configure-stagefeedback-target-libmpx:
34985 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34986 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34987 @r=`${PWD_COMMAND}`; export r; \
34988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34989 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34990 echo "Checking multilib configuration for libmpx..."; \
34991 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34992 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34993 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34994 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34995 else \
34996 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34997 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34998 fi; \
34999 else \
35000 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
35001 fi; \
35002 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
35003 $(NORMAL_TARGET_EXPORTS) \
35005 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35006 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35007 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35008 echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx; \
35009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
35010 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
35011 case $(srcdir) in \
35012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35013 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
35014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35015 esac; \
35016 module_srcdir=libmpx; \
35017 $(SHELL) $$s/$$module_srcdir/configure \
35018 --srcdir=$${topdir}/$$module_srcdir \
35019 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35020 --target=${target_alias} \
35021 --with-build-libsubdir=$(HOST_SUBDIR) \
35022 $(STAGEfeedback_CONFIGURE_FLAGS)
35023 @endif target-libmpx-bootstrap
35029 .PHONY: all-target-libmpx maybe-all-target-libmpx
35030 maybe-all-target-libmpx:
35031 @if gcc-bootstrap
35032 all-target-libmpx: stage_current
35033 @endif gcc-bootstrap
35034 @if target-libmpx
35035 TARGET-target-libmpx=all
35036 maybe-all-target-libmpx: all-target-libmpx
35037 all-target-libmpx: configure-target-libmpx
35038 @r=`${PWD_COMMAND}`; export r; \
35039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35040 $(NORMAL_TARGET_EXPORTS) \
35041 (cd $(TARGET_SUBDIR)/libmpx && \
35042 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35043 $(TARGET-target-libmpx))
35044 @endif target-libmpx
35048 .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
35049 .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
35050 maybe-all-stage1-target-libmpx:
35051 maybe-clean-stage1-target-libmpx:
35052 @if target-libmpx-bootstrap
35053 maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
35054 all-stage1: all-stage1-target-libmpx
35055 TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
35056 all-stage1-target-libmpx: configure-stage1-target-libmpx
35057 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35058 @r=`${PWD_COMMAND}`; export r; \
35059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35060 TFLAGS="$(STAGE1_TFLAGS)"; \
35061 $(NORMAL_TARGET_EXPORTS) \
35062 cd $(TARGET_SUBDIR)/libmpx && \
35063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35064 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35065 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35066 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35070 $(EXTRA_TARGET_FLAGS) \
35072 TFLAGS="$(STAGE1_TFLAGS)" \
35073 $(TARGET-stage1-target-libmpx)
35075 maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
35076 clean-stage1: clean-stage1-target-libmpx
35077 clean-stage1-target-libmpx:
35078 @if [ $(current_stage) = stage1 ]; then \
35079 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35080 else \
35081 [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
35082 $(MAKE) stage1-start; \
35083 fi; \
35084 cd $(TARGET_SUBDIR)/libmpx && \
35085 $(MAKE) $(EXTRA_TARGET_FLAGS) \
35086 clean
35087 @endif target-libmpx-bootstrap
35090 .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
35091 .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
35092 maybe-all-stage2-target-libmpx:
35093 maybe-clean-stage2-target-libmpx:
35094 @if target-libmpx-bootstrap
35095 maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
35096 all-stage2: all-stage2-target-libmpx
35097 TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
35098 all-stage2-target-libmpx: configure-stage2-target-libmpx
35099 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35100 @r=`${PWD_COMMAND}`; export r; \
35101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35102 TFLAGS="$(STAGE2_TFLAGS)"; \
35103 $(NORMAL_TARGET_EXPORTS) \
35105 cd $(TARGET_SUBDIR)/libmpx && \
35106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35107 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35108 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35109 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35113 $(EXTRA_TARGET_FLAGS) \
35114 TFLAGS="$(STAGE2_TFLAGS)" \
35115 $(TARGET-stage2-target-libmpx)
35117 maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
35118 clean-stage2: clean-stage2-target-libmpx
35119 clean-stage2-target-libmpx:
35120 @if [ $(current_stage) = stage2 ]; then \
35121 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35122 else \
35123 [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
35124 $(MAKE) stage2-start; \
35125 fi; \
35126 cd $(TARGET_SUBDIR)/libmpx && \
35127 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35128 @endif target-libmpx-bootstrap
35131 .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
35132 .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
35133 maybe-all-stage3-target-libmpx:
35134 maybe-clean-stage3-target-libmpx:
35135 @if target-libmpx-bootstrap
35136 maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
35137 all-stage3: all-stage3-target-libmpx
35138 TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
35139 all-stage3-target-libmpx: configure-stage3-target-libmpx
35140 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35141 @r=`${PWD_COMMAND}`; export r; \
35142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35143 TFLAGS="$(STAGE3_TFLAGS)"; \
35144 $(NORMAL_TARGET_EXPORTS) \
35146 cd $(TARGET_SUBDIR)/libmpx && \
35147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35148 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35149 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35150 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35154 $(EXTRA_TARGET_FLAGS) \
35155 TFLAGS="$(STAGE3_TFLAGS)" \
35156 $(TARGET-stage3-target-libmpx)
35158 maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
35159 clean-stage3: clean-stage3-target-libmpx
35160 clean-stage3-target-libmpx:
35161 @if [ $(current_stage) = stage3 ]; then \
35162 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35163 else \
35164 [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
35165 $(MAKE) stage3-start; \
35166 fi; \
35167 cd $(TARGET_SUBDIR)/libmpx && \
35168 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35169 @endif target-libmpx-bootstrap
35172 .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
35173 .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
35174 maybe-all-stage4-target-libmpx:
35175 maybe-clean-stage4-target-libmpx:
35176 @if target-libmpx-bootstrap
35177 maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
35178 all-stage4: all-stage4-target-libmpx
35179 TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
35180 all-stage4-target-libmpx: configure-stage4-target-libmpx
35181 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35182 @r=`${PWD_COMMAND}`; export r; \
35183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35184 TFLAGS="$(STAGE4_TFLAGS)"; \
35185 $(NORMAL_TARGET_EXPORTS) \
35187 cd $(TARGET_SUBDIR)/libmpx && \
35188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35189 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35190 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35191 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35192 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35193 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35194 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35195 $(EXTRA_TARGET_FLAGS) \
35196 TFLAGS="$(STAGE4_TFLAGS)" \
35197 $(TARGET-stage4-target-libmpx)
35199 maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
35200 clean-stage4: clean-stage4-target-libmpx
35201 clean-stage4-target-libmpx:
35202 @if [ $(current_stage) = stage4 ]; then \
35203 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35204 else \
35205 [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
35206 $(MAKE) stage4-start; \
35207 fi; \
35208 cd $(TARGET_SUBDIR)/libmpx && \
35209 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35210 @endif target-libmpx-bootstrap
35213 .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
35214 .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
35215 maybe-all-stageprofile-target-libmpx:
35216 maybe-clean-stageprofile-target-libmpx:
35217 @if target-libmpx-bootstrap
35218 maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
35219 all-stageprofile: all-stageprofile-target-libmpx
35220 TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
35221 all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
35222 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35223 @r=`${PWD_COMMAND}`; export r; \
35224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35225 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35226 $(NORMAL_TARGET_EXPORTS) \
35228 cd $(TARGET_SUBDIR)/libmpx && \
35229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35230 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35231 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35232 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35236 $(EXTRA_TARGET_FLAGS) \
35237 TFLAGS="$(STAGEprofile_TFLAGS)" \
35238 $(TARGET-stageprofile-target-libmpx)
35240 maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
35241 clean-stageprofile: clean-stageprofile-target-libmpx
35242 clean-stageprofile-target-libmpx:
35243 @if [ $(current_stage) = stageprofile ]; then \
35244 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35245 else \
35246 [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
35247 $(MAKE) stageprofile-start; \
35248 fi; \
35249 cd $(TARGET_SUBDIR)/libmpx && \
35250 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35251 @endif target-libmpx-bootstrap
35254 .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
35255 .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
35256 maybe-all-stagefeedback-target-libmpx:
35257 maybe-clean-stagefeedback-target-libmpx:
35258 @if target-libmpx-bootstrap
35259 maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
35260 all-stagefeedback: all-stagefeedback-target-libmpx
35261 TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
35262 all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
35263 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35264 @r=`${PWD_COMMAND}`; export r; \
35265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35266 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35267 $(NORMAL_TARGET_EXPORTS) \
35269 cd $(TARGET_SUBDIR)/libmpx && \
35270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35271 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35273 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35277 $(EXTRA_TARGET_FLAGS) \
35278 TFLAGS="$(STAGEfeedback_TFLAGS)" \
35279 $(TARGET-stagefeedback-target-libmpx)
35281 maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
35282 clean-stagefeedback: clean-stagefeedback-target-libmpx
35283 clean-stagefeedback-target-libmpx:
35284 @if [ $(current_stage) = stagefeedback ]; then \
35285 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35286 else \
35287 [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
35288 $(MAKE) stagefeedback-start; \
35289 fi; \
35290 cd $(TARGET_SUBDIR)/libmpx && \
35291 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35292 @endif target-libmpx-bootstrap
35299 .PHONY: check-target-libmpx maybe-check-target-libmpx
35300 maybe-check-target-libmpx:
35301 @if target-libmpx
35302 maybe-check-target-libmpx: check-target-libmpx
35304 check-target-libmpx:
35305 @: $(MAKE); $(unstage)
35306 @r=`${PWD_COMMAND}`; export r; \
35307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35308 $(NORMAL_TARGET_EXPORTS) \
35309 (cd $(TARGET_SUBDIR)/libmpx && \
35310 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35312 @endif target-libmpx
35314 .PHONY: install-target-libmpx maybe-install-target-libmpx
35315 maybe-install-target-libmpx:
35316 @if target-libmpx
35317 maybe-install-target-libmpx: install-target-libmpx
35319 install-target-libmpx: installdirs
35320 @: $(MAKE); $(unstage)
35321 @r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(NORMAL_TARGET_EXPORTS) \
35324 (cd $(TARGET_SUBDIR)/libmpx && \
35325 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35327 @endif target-libmpx
35329 .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
35330 maybe-install-strip-target-libmpx:
35331 @if target-libmpx
35332 maybe-install-strip-target-libmpx: install-strip-target-libmpx
35334 install-strip-target-libmpx: installdirs
35335 @: $(MAKE); $(unstage)
35336 @r=`${PWD_COMMAND}`; export r; \
35337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35338 $(NORMAL_TARGET_EXPORTS) \
35339 (cd $(TARGET_SUBDIR)/libmpx && \
35340 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35342 @endif target-libmpx
35344 # Other targets (info, dvi, pdf, etc.)
35346 .PHONY: maybe-info-target-libmpx info-target-libmpx
35347 maybe-info-target-libmpx:
35348 @if target-libmpx
35349 maybe-info-target-libmpx: info-target-libmpx
35351 info-target-libmpx: \
35352 configure-target-libmpx
35353 @: $(MAKE); $(unstage)
35354 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35355 r=`${PWD_COMMAND}`; export r; \
35356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35357 $(NORMAL_TARGET_EXPORTS) \
35358 echo "Doing info in $(TARGET_SUBDIR)/libmpx"; \
35359 for flag in $(EXTRA_TARGET_FLAGS); do \
35360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35361 done; \
35362 (cd $(TARGET_SUBDIR)/libmpx && \
35363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35365 "RANLIB=$${RANLIB}" \
35366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35367 info) \
35368 || exit 1
35370 @endif target-libmpx
35372 .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
35373 maybe-dvi-target-libmpx:
35374 @if target-libmpx
35375 maybe-dvi-target-libmpx: dvi-target-libmpx
35377 dvi-target-libmpx: \
35378 configure-target-libmpx
35379 @: $(MAKE); $(unstage)
35380 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35381 r=`${PWD_COMMAND}`; export r; \
35382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35383 $(NORMAL_TARGET_EXPORTS) \
35384 echo "Doing dvi in $(TARGET_SUBDIR)/libmpx"; \
35385 for flag in $(EXTRA_TARGET_FLAGS); do \
35386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35387 done; \
35388 (cd $(TARGET_SUBDIR)/libmpx && \
35389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35391 "RANLIB=$${RANLIB}" \
35392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35393 dvi) \
35394 || exit 1
35396 @endif target-libmpx
35398 .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
35399 maybe-pdf-target-libmpx:
35400 @if target-libmpx
35401 maybe-pdf-target-libmpx: pdf-target-libmpx
35403 pdf-target-libmpx: \
35404 configure-target-libmpx
35405 @: $(MAKE); $(unstage)
35406 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35407 r=`${PWD_COMMAND}`; export r; \
35408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35409 $(NORMAL_TARGET_EXPORTS) \
35410 echo "Doing pdf in $(TARGET_SUBDIR)/libmpx"; \
35411 for flag in $(EXTRA_TARGET_FLAGS); do \
35412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35413 done; \
35414 (cd $(TARGET_SUBDIR)/libmpx && \
35415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35417 "RANLIB=$${RANLIB}" \
35418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35419 pdf) \
35420 || exit 1
35422 @endif target-libmpx
35424 .PHONY: maybe-html-target-libmpx html-target-libmpx
35425 maybe-html-target-libmpx:
35426 @if target-libmpx
35427 maybe-html-target-libmpx: html-target-libmpx
35429 html-target-libmpx: \
35430 configure-target-libmpx
35431 @: $(MAKE); $(unstage)
35432 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35433 r=`${PWD_COMMAND}`; export r; \
35434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35435 $(NORMAL_TARGET_EXPORTS) \
35436 echo "Doing html in $(TARGET_SUBDIR)/libmpx"; \
35437 for flag in $(EXTRA_TARGET_FLAGS); do \
35438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35439 done; \
35440 (cd $(TARGET_SUBDIR)/libmpx && \
35441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35443 "RANLIB=$${RANLIB}" \
35444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35445 html) \
35446 || exit 1
35448 @endif target-libmpx
35450 .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
35451 maybe-TAGS-target-libmpx:
35452 @if target-libmpx
35453 maybe-TAGS-target-libmpx: TAGS-target-libmpx
35455 TAGS-target-libmpx: \
35456 configure-target-libmpx
35457 @: $(MAKE); $(unstage)
35458 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35459 r=`${PWD_COMMAND}`; export r; \
35460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35461 $(NORMAL_TARGET_EXPORTS) \
35462 echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx"; \
35463 for flag in $(EXTRA_TARGET_FLAGS); do \
35464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35465 done; \
35466 (cd $(TARGET_SUBDIR)/libmpx && \
35467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35469 "RANLIB=$${RANLIB}" \
35470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35471 TAGS) \
35472 || exit 1
35474 @endif target-libmpx
35476 .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
35477 maybe-install-info-target-libmpx:
35478 @if target-libmpx
35479 maybe-install-info-target-libmpx: install-info-target-libmpx
35481 install-info-target-libmpx: \
35482 configure-target-libmpx \
35483 info-target-libmpx
35484 @: $(MAKE); $(unstage)
35485 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35486 r=`${PWD_COMMAND}`; export r; \
35487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35488 $(NORMAL_TARGET_EXPORTS) \
35489 echo "Doing install-info in $(TARGET_SUBDIR)/libmpx"; \
35490 for flag in $(EXTRA_TARGET_FLAGS); do \
35491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35492 done; \
35493 (cd $(TARGET_SUBDIR)/libmpx && \
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 install-info) \
35499 || exit 1
35501 @endif target-libmpx
35503 .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
35504 maybe-install-pdf-target-libmpx:
35505 @if target-libmpx
35506 maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
35508 install-pdf-target-libmpx: \
35509 configure-target-libmpx \
35510 pdf-target-libmpx
35511 @: $(MAKE); $(unstage)
35512 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35513 r=`${PWD_COMMAND}`; export r; \
35514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35515 $(NORMAL_TARGET_EXPORTS) \
35516 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx"; \
35517 for flag in $(EXTRA_TARGET_FLAGS); do \
35518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35519 done; \
35520 (cd $(TARGET_SUBDIR)/libmpx && \
35521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35523 "RANLIB=$${RANLIB}" \
35524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35525 install-pdf) \
35526 || exit 1
35528 @endif target-libmpx
35530 .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
35531 maybe-install-html-target-libmpx:
35532 @if target-libmpx
35533 maybe-install-html-target-libmpx: install-html-target-libmpx
35535 install-html-target-libmpx: \
35536 configure-target-libmpx \
35537 html-target-libmpx
35538 @: $(MAKE); $(unstage)
35539 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35540 r=`${PWD_COMMAND}`; export r; \
35541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35542 $(NORMAL_TARGET_EXPORTS) \
35543 echo "Doing install-html in $(TARGET_SUBDIR)/libmpx"; \
35544 for flag in $(EXTRA_TARGET_FLAGS); do \
35545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35546 done; \
35547 (cd $(TARGET_SUBDIR)/libmpx && \
35548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35550 "RANLIB=$${RANLIB}" \
35551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35552 install-html) \
35553 || exit 1
35555 @endif target-libmpx
35557 .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
35558 maybe-installcheck-target-libmpx:
35559 @if target-libmpx
35560 maybe-installcheck-target-libmpx: installcheck-target-libmpx
35562 installcheck-target-libmpx: \
35563 configure-target-libmpx
35564 @: $(MAKE); $(unstage)
35565 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35566 r=`${PWD_COMMAND}`; export r; \
35567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35568 $(NORMAL_TARGET_EXPORTS) \
35569 echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx"; \
35570 for flag in $(EXTRA_TARGET_FLAGS); do \
35571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35572 done; \
35573 (cd $(TARGET_SUBDIR)/libmpx && \
35574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35576 "RANLIB=$${RANLIB}" \
35577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35578 installcheck) \
35579 || exit 1
35581 @endif target-libmpx
35583 .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
35584 maybe-mostlyclean-target-libmpx:
35585 @if target-libmpx
35586 maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
35588 mostlyclean-target-libmpx:
35589 @: $(MAKE); $(unstage)
35590 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35591 r=`${PWD_COMMAND}`; export r; \
35592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35593 $(NORMAL_TARGET_EXPORTS) \
35594 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx"; \
35595 for flag in $(EXTRA_TARGET_FLAGS); do \
35596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35597 done; \
35598 (cd $(TARGET_SUBDIR)/libmpx && \
35599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35601 "RANLIB=$${RANLIB}" \
35602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35603 mostlyclean) \
35604 || exit 1
35606 @endif target-libmpx
35608 .PHONY: maybe-clean-target-libmpx clean-target-libmpx
35609 maybe-clean-target-libmpx:
35610 @if target-libmpx
35611 maybe-clean-target-libmpx: clean-target-libmpx
35613 clean-target-libmpx:
35614 @: $(MAKE); $(unstage)
35615 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35616 r=`${PWD_COMMAND}`; export r; \
35617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35618 $(NORMAL_TARGET_EXPORTS) \
35619 echo "Doing clean in $(TARGET_SUBDIR)/libmpx"; \
35620 for flag in $(EXTRA_TARGET_FLAGS); do \
35621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35622 done; \
35623 (cd $(TARGET_SUBDIR)/libmpx && \
35624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35626 "RANLIB=$${RANLIB}" \
35627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35628 clean) \
35629 || exit 1
35631 @endif target-libmpx
35633 .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
35634 maybe-distclean-target-libmpx:
35635 @if target-libmpx
35636 maybe-distclean-target-libmpx: distclean-target-libmpx
35638 distclean-target-libmpx:
35639 @: $(MAKE); $(unstage)
35640 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35641 r=`${PWD_COMMAND}`; export r; \
35642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35643 $(NORMAL_TARGET_EXPORTS) \
35644 echo "Doing distclean in $(TARGET_SUBDIR)/libmpx"; \
35645 for flag in $(EXTRA_TARGET_FLAGS); do \
35646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35647 done; \
35648 (cd $(TARGET_SUBDIR)/libmpx && \
35649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35651 "RANLIB=$${RANLIB}" \
35652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35653 distclean) \
35654 || exit 1
35656 @endif target-libmpx
35658 .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
35659 maybe-maintainer-clean-target-libmpx:
35660 @if target-libmpx
35661 maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
35663 maintainer-clean-target-libmpx:
35664 @: $(MAKE); $(unstage)
35665 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35666 r=`${PWD_COMMAND}`; export r; \
35667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35668 $(NORMAL_TARGET_EXPORTS) \
35669 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx"; \
35670 for flag in $(EXTRA_TARGET_FLAGS); do \
35671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35672 done; \
35673 (cd $(TARGET_SUBDIR)/libmpx && \
35674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35676 "RANLIB=$${RANLIB}" \
35677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35678 maintainer-clean) \
35679 || exit 1
35681 @endif target-libmpx
35687 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
35688 maybe-configure-target-libvtv:
35689 @if gcc-bootstrap
35690 configure-target-libvtv: stage_current
35691 @endif gcc-bootstrap
35692 @if target-libvtv
35693 maybe-configure-target-libvtv: configure-target-libvtv
35694 configure-target-libvtv:
35695 @r=`${PWD_COMMAND}`; export r; \
35696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35697 echo "Checking multilib configuration for libvtv..."; \
35698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35699 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35700 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35701 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35702 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35703 else \
35704 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35705 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35706 fi; \
35707 else \
35708 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35709 fi; \
35710 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35712 $(RAW_CXX_TARGET_EXPORTS) \
35713 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
35714 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
35715 case $(srcdir) in \
35716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35717 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35719 esac; \
35720 module_srcdir=libvtv; \
35721 rm -f no-such-file || : ; \
35722 CONFIG_SITE=no-such-file $(SHELL) \
35723 $$s/$$module_srcdir/configure \
35724 --srcdir=$${topdir}/$$module_srcdir \
35725 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35726 --target=${target_alias} \
35727 || exit 1
35728 @endif target-libvtv
35732 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
35733 maybe-configure-stage1-target-libvtv:
35734 @if target-libvtv-bootstrap
35735 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
35736 configure-stage1-target-libvtv:
35737 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35738 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35739 @r=`${PWD_COMMAND}`; export r; \
35740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35741 TFLAGS="$(STAGE1_TFLAGS)"; \
35742 echo "Checking multilib configuration for libvtv..."; \
35743 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35744 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35745 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35746 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35747 else \
35748 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35749 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35750 fi; \
35751 else \
35752 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35753 fi; \
35754 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35755 $(RAW_CXX_TARGET_EXPORTS) \
35756 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35757 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35758 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35759 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
35760 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35761 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35762 case $(srcdir) in \
35763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35764 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35766 esac; \
35767 module_srcdir=libvtv; \
35768 $(SHELL) $$s/$$module_srcdir/configure \
35769 --srcdir=$${topdir}/$$module_srcdir \
35770 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35771 --target=${target_alias} \
35773 $(STAGE1_CONFIGURE_FLAGS)
35774 @endif target-libvtv-bootstrap
35776 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
35777 maybe-configure-stage2-target-libvtv:
35778 @if target-libvtv-bootstrap
35779 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
35780 configure-stage2-target-libvtv:
35781 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35782 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35783 @r=`${PWD_COMMAND}`; export r; \
35784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35785 TFLAGS="$(STAGE2_TFLAGS)"; \
35786 echo "Checking multilib configuration for libvtv..."; \
35787 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35788 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35789 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35790 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35791 else \
35792 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35793 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35794 fi; \
35795 else \
35796 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35797 fi; \
35798 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35799 $(RAW_CXX_TARGET_EXPORTS) \
35801 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35802 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35803 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35804 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
35805 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35806 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35807 case $(srcdir) in \
35808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35809 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35811 esac; \
35812 module_srcdir=libvtv; \
35813 $(SHELL) $$s/$$module_srcdir/configure \
35814 --srcdir=$${topdir}/$$module_srcdir \
35815 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35816 --target=${target_alias} \
35817 --with-build-libsubdir=$(HOST_SUBDIR) \
35818 $(STAGE2_CONFIGURE_FLAGS)
35819 @endif target-libvtv-bootstrap
35821 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
35822 maybe-configure-stage3-target-libvtv:
35823 @if target-libvtv-bootstrap
35824 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
35825 configure-stage3-target-libvtv:
35826 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35827 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35828 @r=`${PWD_COMMAND}`; export r; \
35829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35830 TFLAGS="$(STAGE3_TFLAGS)"; \
35831 echo "Checking multilib configuration for libvtv..."; \
35832 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35833 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35834 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35835 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35836 else \
35837 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35838 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35839 fi; \
35840 else \
35841 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35842 fi; \
35843 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35844 $(RAW_CXX_TARGET_EXPORTS) \
35846 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35847 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35848 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35849 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
35850 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35851 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35852 case $(srcdir) in \
35853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35854 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35856 esac; \
35857 module_srcdir=libvtv; \
35858 $(SHELL) $$s/$$module_srcdir/configure \
35859 --srcdir=$${topdir}/$$module_srcdir \
35860 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35861 --target=${target_alias} \
35862 --with-build-libsubdir=$(HOST_SUBDIR) \
35863 $(STAGE3_CONFIGURE_FLAGS)
35864 @endif target-libvtv-bootstrap
35866 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
35867 maybe-configure-stage4-target-libvtv:
35868 @if target-libvtv-bootstrap
35869 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
35870 configure-stage4-target-libvtv:
35871 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35872 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35873 @r=`${PWD_COMMAND}`; export r; \
35874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35875 TFLAGS="$(STAGE4_TFLAGS)"; \
35876 echo "Checking multilib configuration for libvtv..."; \
35877 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35878 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35879 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35880 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35881 else \
35882 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35883 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35884 fi; \
35885 else \
35886 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35887 fi; \
35888 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35889 $(RAW_CXX_TARGET_EXPORTS) \
35891 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35892 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35893 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35894 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
35895 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35896 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35897 case $(srcdir) in \
35898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35899 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35901 esac; \
35902 module_srcdir=libvtv; \
35903 $(SHELL) $$s/$$module_srcdir/configure \
35904 --srcdir=$${topdir}/$$module_srcdir \
35905 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35906 --target=${target_alias} \
35907 --with-build-libsubdir=$(HOST_SUBDIR) \
35908 $(STAGE4_CONFIGURE_FLAGS)
35909 @endif target-libvtv-bootstrap
35911 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
35912 maybe-configure-stageprofile-target-libvtv:
35913 @if target-libvtv-bootstrap
35914 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
35915 configure-stageprofile-target-libvtv:
35916 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35917 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35918 @r=`${PWD_COMMAND}`; export r; \
35919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35920 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35921 echo "Checking multilib configuration for libvtv..."; \
35922 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35923 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35924 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35925 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35926 else \
35927 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35928 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35929 fi; \
35930 else \
35931 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35932 fi; \
35933 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35934 $(RAW_CXX_TARGET_EXPORTS) \
35936 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35937 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35938 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35939 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
35940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35941 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35942 case $(srcdir) in \
35943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35944 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35946 esac; \
35947 module_srcdir=libvtv; \
35948 $(SHELL) $$s/$$module_srcdir/configure \
35949 --srcdir=$${topdir}/$$module_srcdir \
35950 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35951 --target=${target_alias} \
35952 --with-build-libsubdir=$(HOST_SUBDIR) \
35953 $(STAGEprofile_CONFIGURE_FLAGS)
35954 @endif target-libvtv-bootstrap
35956 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
35957 maybe-configure-stagefeedback-target-libvtv:
35958 @if target-libvtv-bootstrap
35959 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
35960 configure-stagefeedback-target-libvtv:
35961 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35962 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35963 @r=`${PWD_COMMAND}`; export r; \
35964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35965 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35966 echo "Checking multilib configuration for libvtv..."; \
35967 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35968 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35969 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35970 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35971 else \
35972 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35973 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35974 fi; \
35975 else \
35976 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35977 fi; \
35978 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35979 $(RAW_CXX_TARGET_EXPORTS) \
35981 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35982 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35983 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35984 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
35985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35986 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35987 case $(srcdir) in \
35988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35989 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35991 esac; \
35992 module_srcdir=libvtv; \
35993 $(SHELL) $$s/$$module_srcdir/configure \
35994 --srcdir=$${topdir}/$$module_srcdir \
35995 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35996 --target=${target_alias} \
35997 --with-build-libsubdir=$(HOST_SUBDIR) \
35998 $(STAGEfeedback_CONFIGURE_FLAGS)
35999 @endif target-libvtv-bootstrap
36005 .PHONY: all-target-libvtv maybe-all-target-libvtv
36006 maybe-all-target-libvtv:
36007 @if gcc-bootstrap
36008 all-target-libvtv: stage_current
36009 @endif gcc-bootstrap
36010 @if target-libvtv
36011 TARGET-target-libvtv=all
36012 maybe-all-target-libvtv: all-target-libvtv
36013 all-target-libvtv: configure-target-libvtv
36014 @r=`${PWD_COMMAND}`; export r; \
36015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36016 $(RAW_CXX_TARGET_EXPORTS) \
36017 (cd $(TARGET_SUBDIR)/libvtv && \
36018 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36019 $(TARGET-target-libvtv))
36020 @endif target-libvtv
36024 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
36025 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
36026 maybe-all-stage1-target-libvtv:
36027 maybe-clean-stage1-target-libvtv:
36028 @if target-libvtv-bootstrap
36029 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
36030 all-stage1: all-stage1-target-libvtv
36031 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
36032 all-stage1-target-libvtv: configure-stage1-target-libvtv
36033 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36034 @r=`${PWD_COMMAND}`; export r; \
36035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36036 TFLAGS="$(STAGE1_TFLAGS)"; \
36037 $(RAW_CXX_TARGET_EXPORTS) \
36038 cd $(TARGET_SUBDIR)/libvtv && \
36039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36040 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36041 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36042 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36046 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36048 TFLAGS="$(STAGE1_TFLAGS)" \
36049 $(TARGET-stage1-target-libvtv)
36051 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
36052 clean-stage1: clean-stage1-target-libvtv
36053 clean-stage1-target-libvtv:
36054 @if [ $(current_stage) = stage1 ]; then \
36055 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36056 else \
36057 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
36058 $(MAKE) stage1-start; \
36059 fi; \
36060 cd $(TARGET_SUBDIR)/libvtv && \
36061 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36062 clean
36063 @endif target-libvtv-bootstrap
36066 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
36067 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
36068 maybe-all-stage2-target-libvtv:
36069 maybe-clean-stage2-target-libvtv:
36070 @if target-libvtv-bootstrap
36071 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
36072 all-stage2: all-stage2-target-libvtv
36073 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
36074 all-stage2-target-libvtv: configure-stage2-target-libvtv
36075 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36076 @r=`${PWD_COMMAND}`; export r; \
36077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36078 TFLAGS="$(STAGE2_TFLAGS)"; \
36079 $(RAW_CXX_TARGET_EXPORTS) \
36081 cd $(TARGET_SUBDIR)/libvtv && \
36082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36083 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36085 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36089 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36090 TFLAGS="$(STAGE2_TFLAGS)" \
36091 $(TARGET-stage2-target-libvtv)
36093 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
36094 clean-stage2: clean-stage2-target-libvtv
36095 clean-stage2-target-libvtv:
36096 @if [ $(current_stage) = stage2 ]; then \
36097 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36098 else \
36099 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
36100 $(MAKE) stage2-start; \
36101 fi; \
36102 cd $(TARGET_SUBDIR)/libvtv && \
36103 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36104 @endif target-libvtv-bootstrap
36107 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
36108 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
36109 maybe-all-stage3-target-libvtv:
36110 maybe-clean-stage3-target-libvtv:
36111 @if target-libvtv-bootstrap
36112 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
36113 all-stage3: all-stage3-target-libvtv
36114 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
36115 all-stage3-target-libvtv: configure-stage3-target-libvtv
36116 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36117 @r=`${PWD_COMMAND}`; export r; \
36118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36119 TFLAGS="$(STAGE3_TFLAGS)"; \
36120 $(RAW_CXX_TARGET_EXPORTS) \
36122 cd $(TARGET_SUBDIR)/libvtv && \
36123 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36124 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36125 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36126 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36127 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36128 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36129 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36130 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36131 TFLAGS="$(STAGE3_TFLAGS)" \
36132 $(TARGET-stage3-target-libvtv)
36134 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
36135 clean-stage3: clean-stage3-target-libvtv
36136 clean-stage3-target-libvtv:
36137 @if [ $(current_stage) = stage3 ]; then \
36138 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36139 else \
36140 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
36141 $(MAKE) stage3-start; \
36142 fi; \
36143 cd $(TARGET_SUBDIR)/libvtv && \
36144 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36145 @endif target-libvtv-bootstrap
36148 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
36149 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
36150 maybe-all-stage4-target-libvtv:
36151 maybe-clean-stage4-target-libvtv:
36152 @if target-libvtv-bootstrap
36153 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
36154 all-stage4: all-stage4-target-libvtv
36155 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
36156 all-stage4-target-libvtv: configure-stage4-target-libvtv
36157 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36158 @r=`${PWD_COMMAND}`; export r; \
36159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36160 TFLAGS="$(STAGE4_TFLAGS)"; \
36161 $(RAW_CXX_TARGET_EXPORTS) \
36163 cd $(TARGET_SUBDIR)/libvtv && \
36164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36165 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36166 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36167 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36168 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36169 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36170 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36171 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36172 TFLAGS="$(STAGE4_TFLAGS)" \
36173 $(TARGET-stage4-target-libvtv)
36175 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
36176 clean-stage4: clean-stage4-target-libvtv
36177 clean-stage4-target-libvtv:
36178 @if [ $(current_stage) = stage4 ]; then \
36179 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36180 else \
36181 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
36182 $(MAKE) stage4-start; \
36183 fi; \
36184 cd $(TARGET_SUBDIR)/libvtv && \
36185 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36186 @endif target-libvtv-bootstrap
36189 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
36190 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
36191 maybe-all-stageprofile-target-libvtv:
36192 maybe-clean-stageprofile-target-libvtv:
36193 @if target-libvtv-bootstrap
36194 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
36195 all-stageprofile: all-stageprofile-target-libvtv
36196 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
36197 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
36198 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36199 @r=`${PWD_COMMAND}`; export r; \
36200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36201 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36202 $(RAW_CXX_TARGET_EXPORTS) \
36204 cd $(TARGET_SUBDIR)/libvtv && \
36205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36206 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36207 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36208 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36212 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36213 TFLAGS="$(STAGEprofile_TFLAGS)" \
36214 $(TARGET-stageprofile-target-libvtv)
36216 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
36217 clean-stageprofile: clean-stageprofile-target-libvtv
36218 clean-stageprofile-target-libvtv:
36219 @if [ $(current_stage) = stageprofile ]; then \
36220 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36221 else \
36222 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
36223 $(MAKE) stageprofile-start; \
36224 fi; \
36225 cd $(TARGET_SUBDIR)/libvtv && \
36226 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36227 @endif target-libvtv-bootstrap
36230 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
36231 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
36232 maybe-all-stagefeedback-target-libvtv:
36233 maybe-clean-stagefeedback-target-libvtv:
36234 @if target-libvtv-bootstrap
36235 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
36236 all-stagefeedback: all-stagefeedback-target-libvtv
36237 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
36238 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
36239 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36240 @r=`${PWD_COMMAND}`; export r; \
36241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36242 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36243 $(RAW_CXX_TARGET_EXPORTS) \
36245 cd $(TARGET_SUBDIR)/libvtv && \
36246 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36247 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36248 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36249 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36253 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36254 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36255 $(TARGET-stagefeedback-target-libvtv)
36257 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
36258 clean-stagefeedback: clean-stagefeedback-target-libvtv
36259 clean-stagefeedback-target-libvtv:
36260 @if [ $(current_stage) = stagefeedback ]; then \
36261 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36262 else \
36263 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
36264 $(MAKE) stagefeedback-start; \
36265 fi; \
36266 cd $(TARGET_SUBDIR)/libvtv && \
36267 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36268 @endif target-libvtv-bootstrap
36275 .PHONY: check-target-libvtv maybe-check-target-libvtv
36276 maybe-check-target-libvtv:
36277 @if target-libvtv
36278 maybe-check-target-libvtv: check-target-libvtv
36280 check-target-libvtv:
36281 @: $(MAKE); $(unstage)
36282 @r=`${PWD_COMMAND}`; export r; \
36283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36284 $(RAW_CXX_TARGET_EXPORTS) \
36285 (cd $(TARGET_SUBDIR)/libvtv && \
36286 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36288 @endif target-libvtv
36290 .PHONY: install-target-libvtv maybe-install-target-libvtv
36291 maybe-install-target-libvtv:
36292 @if target-libvtv
36293 maybe-install-target-libvtv: install-target-libvtv
36295 install-target-libvtv: installdirs
36296 @: $(MAKE); $(unstage)
36297 @r=`${PWD_COMMAND}`; export r; \
36298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36299 $(RAW_CXX_TARGET_EXPORTS) \
36300 (cd $(TARGET_SUBDIR)/libvtv && \
36301 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36303 @endif target-libvtv
36305 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
36306 maybe-install-strip-target-libvtv:
36307 @if target-libvtv
36308 maybe-install-strip-target-libvtv: install-strip-target-libvtv
36310 install-strip-target-libvtv: installdirs
36311 @: $(MAKE); $(unstage)
36312 @r=`${PWD_COMMAND}`; export r; \
36313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36314 $(RAW_CXX_TARGET_EXPORTS) \
36315 (cd $(TARGET_SUBDIR)/libvtv && \
36316 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36318 @endif target-libvtv
36320 # Other targets (info, dvi, pdf, etc.)
36322 .PHONY: maybe-info-target-libvtv info-target-libvtv
36323 maybe-info-target-libvtv:
36324 @if target-libvtv
36325 maybe-info-target-libvtv: info-target-libvtv
36327 info-target-libvtv: \
36328 configure-target-libvtv
36329 @: $(MAKE); $(unstage)
36330 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36331 r=`${PWD_COMMAND}`; export r; \
36332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36333 $(RAW_CXX_TARGET_EXPORTS) \
36334 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
36335 for flag in $(EXTRA_TARGET_FLAGS); do \
36336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36337 done; \
36338 (cd $(TARGET_SUBDIR)/libvtv && \
36339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36341 "RANLIB=$${RANLIB}" \
36342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36343 info) \
36344 || exit 1
36346 @endif target-libvtv
36348 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
36349 maybe-dvi-target-libvtv:
36350 @if target-libvtv
36351 maybe-dvi-target-libvtv: dvi-target-libvtv
36353 dvi-target-libvtv: \
36354 configure-target-libvtv
36355 @: $(MAKE); $(unstage)
36356 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36357 r=`${PWD_COMMAND}`; export r; \
36358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36359 $(RAW_CXX_TARGET_EXPORTS) \
36360 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
36361 for flag in $(EXTRA_TARGET_FLAGS); do \
36362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36363 done; \
36364 (cd $(TARGET_SUBDIR)/libvtv && \
36365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36367 "RANLIB=$${RANLIB}" \
36368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36369 dvi) \
36370 || exit 1
36372 @endif target-libvtv
36374 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
36375 maybe-pdf-target-libvtv:
36376 @if target-libvtv
36377 maybe-pdf-target-libvtv: pdf-target-libvtv
36379 pdf-target-libvtv: \
36380 configure-target-libvtv
36381 @: $(MAKE); $(unstage)
36382 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36383 r=`${PWD_COMMAND}`; export r; \
36384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36385 $(RAW_CXX_TARGET_EXPORTS) \
36386 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
36387 for flag in $(EXTRA_TARGET_FLAGS); do \
36388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36389 done; \
36390 (cd $(TARGET_SUBDIR)/libvtv && \
36391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36393 "RANLIB=$${RANLIB}" \
36394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36395 pdf) \
36396 || exit 1
36398 @endif target-libvtv
36400 .PHONY: maybe-html-target-libvtv html-target-libvtv
36401 maybe-html-target-libvtv:
36402 @if target-libvtv
36403 maybe-html-target-libvtv: html-target-libvtv
36405 html-target-libvtv: \
36406 configure-target-libvtv
36407 @: $(MAKE); $(unstage)
36408 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36409 r=`${PWD_COMMAND}`; export r; \
36410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36411 $(RAW_CXX_TARGET_EXPORTS) \
36412 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
36413 for flag in $(EXTRA_TARGET_FLAGS); do \
36414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36415 done; \
36416 (cd $(TARGET_SUBDIR)/libvtv && \
36417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36419 "RANLIB=$${RANLIB}" \
36420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36421 html) \
36422 || exit 1
36424 @endif target-libvtv
36426 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
36427 maybe-TAGS-target-libvtv:
36428 @if target-libvtv
36429 maybe-TAGS-target-libvtv: TAGS-target-libvtv
36431 TAGS-target-libvtv: \
36432 configure-target-libvtv
36433 @: $(MAKE); $(unstage)
36434 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36435 r=`${PWD_COMMAND}`; export r; \
36436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36437 $(RAW_CXX_TARGET_EXPORTS) \
36438 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
36439 for flag in $(EXTRA_TARGET_FLAGS); do \
36440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36441 done; \
36442 (cd $(TARGET_SUBDIR)/libvtv && \
36443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36445 "RANLIB=$${RANLIB}" \
36446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36447 TAGS) \
36448 || exit 1
36450 @endif target-libvtv
36452 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
36453 maybe-install-info-target-libvtv:
36454 @if target-libvtv
36455 maybe-install-info-target-libvtv: install-info-target-libvtv
36457 install-info-target-libvtv: \
36458 configure-target-libvtv \
36459 info-target-libvtv
36460 @: $(MAKE); $(unstage)
36461 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36462 r=`${PWD_COMMAND}`; export r; \
36463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36464 $(RAW_CXX_TARGET_EXPORTS) \
36465 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
36466 for flag in $(EXTRA_TARGET_FLAGS); do \
36467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36468 done; \
36469 (cd $(TARGET_SUBDIR)/libvtv && \
36470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36472 "RANLIB=$${RANLIB}" \
36473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36474 install-info) \
36475 || exit 1
36477 @endif target-libvtv
36479 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
36480 maybe-install-pdf-target-libvtv:
36481 @if target-libvtv
36482 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
36484 install-pdf-target-libvtv: \
36485 configure-target-libvtv \
36486 pdf-target-libvtv
36487 @: $(MAKE); $(unstage)
36488 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36489 r=`${PWD_COMMAND}`; export r; \
36490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36491 $(RAW_CXX_TARGET_EXPORTS) \
36492 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
36493 for flag in $(EXTRA_TARGET_FLAGS); do \
36494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36495 done; \
36496 (cd $(TARGET_SUBDIR)/libvtv && \
36497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36499 "RANLIB=$${RANLIB}" \
36500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36501 install-pdf) \
36502 || exit 1
36504 @endif target-libvtv
36506 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
36507 maybe-install-html-target-libvtv:
36508 @if target-libvtv
36509 maybe-install-html-target-libvtv: install-html-target-libvtv
36511 install-html-target-libvtv: \
36512 configure-target-libvtv \
36513 html-target-libvtv
36514 @: $(MAKE); $(unstage)
36515 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36516 r=`${PWD_COMMAND}`; export r; \
36517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36518 $(RAW_CXX_TARGET_EXPORTS) \
36519 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
36520 for flag in $(EXTRA_TARGET_FLAGS); do \
36521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36522 done; \
36523 (cd $(TARGET_SUBDIR)/libvtv && \
36524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36526 "RANLIB=$${RANLIB}" \
36527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36528 install-html) \
36529 || exit 1
36531 @endif target-libvtv
36533 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
36534 maybe-installcheck-target-libvtv:
36535 @if target-libvtv
36536 maybe-installcheck-target-libvtv: installcheck-target-libvtv
36538 installcheck-target-libvtv: \
36539 configure-target-libvtv
36540 @: $(MAKE); $(unstage)
36541 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36542 r=`${PWD_COMMAND}`; export r; \
36543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36544 $(RAW_CXX_TARGET_EXPORTS) \
36545 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
36546 for flag in $(EXTRA_TARGET_FLAGS); do \
36547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36548 done; \
36549 (cd $(TARGET_SUBDIR)/libvtv && \
36550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36552 "RANLIB=$${RANLIB}" \
36553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36554 installcheck) \
36555 || exit 1
36557 @endif target-libvtv
36559 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
36560 maybe-mostlyclean-target-libvtv:
36561 @if target-libvtv
36562 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
36564 mostlyclean-target-libvtv:
36565 @: $(MAKE); $(unstage)
36566 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36567 r=`${PWD_COMMAND}`; export r; \
36568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36569 $(RAW_CXX_TARGET_EXPORTS) \
36570 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
36571 for flag in $(EXTRA_TARGET_FLAGS); do \
36572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36573 done; \
36574 (cd $(TARGET_SUBDIR)/libvtv && \
36575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36577 "RANLIB=$${RANLIB}" \
36578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36579 mostlyclean) \
36580 || exit 1
36582 @endif target-libvtv
36584 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
36585 maybe-clean-target-libvtv:
36586 @if target-libvtv
36587 maybe-clean-target-libvtv: clean-target-libvtv
36589 clean-target-libvtv:
36590 @: $(MAKE); $(unstage)
36591 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36592 r=`${PWD_COMMAND}`; export r; \
36593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36594 $(RAW_CXX_TARGET_EXPORTS) \
36595 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
36596 for flag in $(EXTRA_TARGET_FLAGS); do \
36597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36598 done; \
36599 (cd $(TARGET_SUBDIR)/libvtv && \
36600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36602 "RANLIB=$${RANLIB}" \
36603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36604 clean) \
36605 || exit 1
36607 @endif target-libvtv
36609 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
36610 maybe-distclean-target-libvtv:
36611 @if target-libvtv
36612 maybe-distclean-target-libvtv: distclean-target-libvtv
36614 distclean-target-libvtv:
36615 @: $(MAKE); $(unstage)
36616 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36617 r=`${PWD_COMMAND}`; export r; \
36618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36619 $(RAW_CXX_TARGET_EXPORTS) \
36620 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
36621 for flag in $(EXTRA_TARGET_FLAGS); do \
36622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36623 done; \
36624 (cd $(TARGET_SUBDIR)/libvtv && \
36625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36627 "RANLIB=$${RANLIB}" \
36628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36629 distclean) \
36630 || exit 1
36632 @endif target-libvtv
36634 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
36635 maybe-maintainer-clean-target-libvtv:
36636 @if target-libvtv
36637 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
36639 maintainer-clean-target-libvtv:
36640 @: $(MAKE); $(unstage)
36641 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36642 r=`${PWD_COMMAND}`; export r; \
36643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36644 $(RAW_CXX_TARGET_EXPORTS) \
36645 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
36646 for flag in $(EXTRA_TARGET_FLAGS); do \
36647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36648 done; \
36649 (cd $(TARGET_SUBDIR)/libvtv && \
36650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36652 "RANLIB=$${RANLIB}" \
36653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36654 maintainer-clean) \
36655 || exit 1
36657 @endif target-libvtv
36663 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
36664 maybe-configure-target-libcilkrts:
36665 @if gcc-bootstrap
36666 configure-target-libcilkrts: stage_current
36667 @endif gcc-bootstrap
36668 @if target-libcilkrts
36669 maybe-configure-target-libcilkrts: configure-target-libcilkrts
36670 configure-target-libcilkrts:
36671 @: $(MAKE); $(unstage)
36672 @r=`${PWD_COMMAND}`; export r; \
36673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36674 echo "Checking multilib configuration for libcilkrts..."; \
36675 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
36676 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null; \
36677 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
36678 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
36679 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
36680 else \
36681 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
36682 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
36683 fi; \
36684 else \
36685 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
36686 fi; \
36687 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
36688 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
36689 $(NORMAL_TARGET_EXPORTS) \
36690 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
36691 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
36692 case $(srcdir) in \
36693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36694 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
36695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36696 esac; \
36697 module_srcdir=libcilkrts; \
36698 rm -f no-such-file || : ; \
36699 CONFIG_SITE=no-such-file $(SHELL) \
36700 $$s/$$module_srcdir/configure \
36701 --srcdir=$${topdir}/$$module_srcdir \
36702 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36703 --target=${target_alias} \
36704 || exit 1
36705 @endif target-libcilkrts
36711 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
36712 maybe-all-target-libcilkrts:
36713 @if gcc-bootstrap
36714 all-target-libcilkrts: stage_current
36715 @endif gcc-bootstrap
36716 @if target-libcilkrts
36717 TARGET-target-libcilkrts=all
36718 maybe-all-target-libcilkrts: all-target-libcilkrts
36719 all-target-libcilkrts: configure-target-libcilkrts
36720 @: $(MAKE); $(unstage)
36721 @r=`${PWD_COMMAND}`; export r; \
36722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36723 $(NORMAL_TARGET_EXPORTS) \
36724 (cd $(TARGET_SUBDIR)/libcilkrts && \
36725 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36726 $(TARGET-target-libcilkrts))
36727 @endif target-libcilkrts
36733 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
36734 maybe-check-target-libcilkrts:
36735 @if target-libcilkrts
36736 maybe-check-target-libcilkrts: check-target-libcilkrts
36738 check-target-libcilkrts:
36739 @: $(MAKE); $(unstage)
36740 @r=`${PWD_COMMAND}`; export r; \
36741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36742 $(NORMAL_TARGET_EXPORTS) \
36743 (cd $(TARGET_SUBDIR)/libcilkrts && \
36744 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36746 @endif target-libcilkrts
36748 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
36749 maybe-install-target-libcilkrts:
36750 @if target-libcilkrts
36751 maybe-install-target-libcilkrts: install-target-libcilkrts
36753 install-target-libcilkrts: installdirs
36754 @: $(MAKE); $(unstage)
36755 @r=`${PWD_COMMAND}`; export r; \
36756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36757 $(NORMAL_TARGET_EXPORTS) \
36758 (cd $(TARGET_SUBDIR)/libcilkrts && \
36759 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36761 @endif target-libcilkrts
36763 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
36764 maybe-install-strip-target-libcilkrts:
36765 @if target-libcilkrts
36766 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
36768 install-strip-target-libcilkrts: installdirs
36769 @: $(MAKE); $(unstage)
36770 @r=`${PWD_COMMAND}`; export r; \
36771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36772 $(NORMAL_TARGET_EXPORTS) \
36773 (cd $(TARGET_SUBDIR)/libcilkrts && \
36774 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36776 @endif target-libcilkrts
36778 # Other targets (info, dvi, pdf, etc.)
36780 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
36781 maybe-info-target-libcilkrts:
36782 @if target-libcilkrts
36783 maybe-info-target-libcilkrts: info-target-libcilkrts
36785 info-target-libcilkrts: \
36786 configure-target-libcilkrts
36787 @: $(MAKE); $(unstage)
36788 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36789 r=`${PWD_COMMAND}`; export r; \
36790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36791 $(NORMAL_TARGET_EXPORTS) \
36792 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts"; \
36793 for flag in $(EXTRA_TARGET_FLAGS); do \
36794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36795 done; \
36796 (cd $(TARGET_SUBDIR)/libcilkrts && \
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 info) \
36802 || exit 1
36804 @endif target-libcilkrts
36806 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
36807 maybe-dvi-target-libcilkrts:
36808 @if target-libcilkrts
36809 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
36811 dvi-target-libcilkrts: \
36812 configure-target-libcilkrts
36813 @: $(MAKE); $(unstage)
36814 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36815 r=`${PWD_COMMAND}`; export r; \
36816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36817 $(NORMAL_TARGET_EXPORTS) \
36818 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts"; \
36819 for flag in $(EXTRA_TARGET_FLAGS); do \
36820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36821 done; \
36822 (cd $(TARGET_SUBDIR)/libcilkrts && \
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 dvi) \
36828 || exit 1
36830 @endif target-libcilkrts
36832 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
36833 maybe-pdf-target-libcilkrts:
36834 @if target-libcilkrts
36835 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
36837 pdf-target-libcilkrts: \
36838 configure-target-libcilkrts
36839 @: $(MAKE); $(unstage)
36840 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36841 r=`${PWD_COMMAND}`; export r; \
36842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36843 $(NORMAL_TARGET_EXPORTS) \
36844 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts"; \
36845 for flag in $(EXTRA_TARGET_FLAGS); do \
36846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36847 done; \
36848 (cd $(TARGET_SUBDIR)/libcilkrts && \
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 pdf) \
36854 || exit 1
36856 @endif target-libcilkrts
36858 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
36859 maybe-html-target-libcilkrts:
36860 @if target-libcilkrts
36861 maybe-html-target-libcilkrts: html-target-libcilkrts
36863 html-target-libcilkrts: \
36864 configure-target-libcilkrts
36865 @: $(MAKE); $(unstage)
36866 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36867 r=`${PWD_COMMAND}`; export r; \
36868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36869 $(NORMAL_TARGET_EXPORTS) \
36870 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts"; \
36871 for flag in $(EXTRA_TARGET_FLAGS); do \
36872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36873 done; \
36874 (cd $(TARGET_SUBDIR)/libcilkrts && \
36875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36877 "RANLIB=$${RANLIB}" \
36878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36879 html) \
36880 || exit 1
36882 @endif target-libcilkrts
36884 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
36885 maybe-TAGS-target-libcilkrts:
36886 @if target-libcilkrts
36887 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
36889 TAGS-target-libcilkrts: \
36890 configure-target-libcilkrts
36891 @: $(MAKE); $(unstage)
36892 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36893 r=`${PWD_COMMAND}`; export r; \
36894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36895 $(NORMAL_TARGET_EXPORTS) \
36896 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts"; \
36897 for flag in $(EXTRA_TARGET_FLAGS); do \
36898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36899 done; \
36900 (cd $(TARGET_SUBDIR)/libcilkrts && \
36901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36903 "RANLIB=$${RANLIB}" \
36904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36905 TAGS) \
36906 || exit 1
36908 @endif target-libcilkrts
36910 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
36911 maybe-install-info-target-libcilkrts:
36912 @if target-libcilkrts
36913 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
36915 install-info-target-libcilkrts: \
36916 configure-target-libcilkrts \
36917 info-target-libcilkrts
36918 @: $(MAKE); $(unstage)
36919 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36920 r=`${PWD_COMMAND}`; export r; \
36921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36922 $(NORMAL_TARGET_EXPORTS) \
36923 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts"; \
36924 for flag in $(EXTRA_TARGET_FLAGS); do \
36925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36926 done; \
36927 (cd $(TARGET_SUBDIR)/libcilkrts && \
36928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36930 "RANLIB=$${RANLIB}" \
36931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36932 install-info) \
36933 || exit 1
36935 @endif target-libcilkrts
36937 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
36938 maybe-install-pdf-target-libcilkrts:
36939 @if target-libcilkrts
36940 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
36942 install-pdf-target-libcilkrts: \
36943 configure-target-libcilkrts \
36944 pdf-target-libcilkrts
36945 @: $(MAKE); $(unstage)
36946 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36947 r=`${PWD_COMMAND}`; export r; \
36948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36949 $(NORMAL_TARGET_EXPORTS) \
36950 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts"; \
36951 for flag in $(EXTRA_TARGET_FLAGS); do \
36952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36953 done; \
36954 (cd $(TARGET_SUBDIR)/libcilkrts && \
36955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36957 "RANLIB=$${RANLIB}" \
36958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36959 install-pdf) \
36960 || exit 1
36962 @endif target-libcilkrts
36964 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
36965 maybe-install-html-target-libcilkrts:
36966 @if target-libcilkrts
36967 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
36969 install-html-target-libcilkrts: \
36970 configure-target-libcilkrts \
36971 html-target-libcilkrts
36972 @: $(MAKE); $(unstage)
36973 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36974 r=`${PWD_COMMAND}`; export r; \
36975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36976 $(NORMAL_TARGET_EXPORTS) \
36977 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts"; \
36978 for flag in $(EXTRA_TARGET_FLAGS); do \
36979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36980 done; \
36981 (cd $(TARGET_SUBDIR)/libcilkrts && \
36982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36984 "RANLIB=$${RANLIB}" \
36985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36986 install-html) \
36987 || exit 1
36989 @endif target-libcilkrts
36991 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
36992 maybe-installcheck-target-libcilkrts:
36993 @if target-libcilkrts
36994 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
36996 installcheck-target-libcilkrts: \
36997 configure-target-libcilkrts
36998 @: $(MAKE); $(unstage)
36999 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37000 r=`${PWD_COMMAND}`; export r; \
37001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37002 $(NORMAL_TARGET_EXPORTS) \
37003 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts"; \
37004 for flag in $(EXTRA_TARGET_FLAGS); do \
37005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37006 done; \
37007 (cd $(TARGET_SUBDIR)/libcilkrts && \
37008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37010 "RANLIB=$${RANLIB}" \
37011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37012 installcheck) \
37013 || exit 1
37015 @endif target-libcilkrts
37017 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
37018 maybe-mostlyclean-target-libcilkrts:
37019 @if target-libcilkrts
37020 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
37022 mostlyclean-target-libcilkrts:
37023 @: $(MAKE); $(unstage)
37024 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37025 r=`${PWD_COMMAND}`; export r; \
37026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37027 $(NORMAL_TARGET_EXPORTS) \
37028 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts"; \
37029 for flag in $(EXTRA_TARGET_FLAGS); do \
37030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37031 done; \
37032 (cd $(TARGET_SUBDIR)/libcilkrts && \
37033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37035 "RANLIB=$${RANLIB}" \
37036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37037 mostlyclean) \
37038 || exit 1
37040 @endif target-libcilkrts
37042 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
37043 maybe-clean-target-libcilkrts:
37044 @if target-libcilkrts
37045 maybe-clean-target-libcilkrts: clean-target-libcilkrts
37047 clean-target-libcilkrts:
37048 @: $(MAKE); $(unstage)
37049 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37050 r=`${PWD_COMMAND}`; export r; \
37051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37052 $(NORMAL_TARGET_EXPORTS) \
37053 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts"; \
37054 for flag in $(EXTRA_TARGET_FLAGS); do \
37055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37056 done; \
37057 (cd $(TARGET_SUBDIR)/libcilkrts && \
37058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37060 "RANLIB=$${RANLIB}" \
37061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37062 clean) \
37063 || exit 1
37065 @endif target-libcilkrts
37067 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
37068 maybe-distclean-target-libcilkrts:
37069 @if target-libcilkrts
37070 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
37072 distclean-target-libcilkrts:
37073 @: $(MAKE); $(unstage)
37074 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37075 r=`${PWD_COMMAND}`; export r; \
37076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37077 $(NORMAL_TARGET_EXPORTS) \
37078 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts"; \
37079 for flag in $(EXTRA_TARGET_FLAGS); do \
37080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37081 done; \
37082 (cd $(TARGET_SUBDIR)/libcilkrts && \
37083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37085 "RANLIB=$${RANLIB}" \
37086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37087 distclean) \
37088 || exit 1
37090 @endif target-libcilkrts
37092 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
37093 maybe-maintainer-clean-target-libcilkrts:
37094 @if target-libcilkrts
37095 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
37097 maintainer-clean-target-libcilkrts:
37098 @: $(MAKE); $(unstage)
37099 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37100 r=`${PWD_COMMAND}`; export r; \
37101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37102 $(NORMAL_TARGET_EXPORTS) \
37103 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts"; \
37104 for flag in $(EXTRA_TARGET_FLAGS); do \
37105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37106 done; \
37107 (cd $(TARGET_SUBDIR)/libcilkrts && \
37108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37110 "RANLIB=$${RANLIB}" \
37111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37112 maintainer-clean) \
37113 || exit 1
37115 @endif target-libcilkrts
37121 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
37122 maybe-configure-target-liboffloadmic:
37123 @if gcc-bootstrap
37124 configure-target-liboffloadmic: stage_current
37125 @endif gcc-bootstrap
37126 @if target-liboffloadmic
37127 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
37128 configure-target-liboffloadmic:
37129 @: $(MAKE); $(unstage)
37130 @r=`${PWD_COMMAND}`; export r; \
37131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37132 echo "Checking multilib configuration for liboffloadmic..."; \
37133 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
37134 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
37135 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
37136 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
37137 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
37138 else \
37139 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
37140 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
37141 fi; \
37142 else \
37143 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
37144 fi; \
37145 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
37146 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
37147 $(NORMAL_TARGET_EXPORTS) \
37148 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
37149 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
37150 case $(srcdir) in \
37151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37152 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
37153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37154 esac; \
37155 module_srcdir=liboffloadmic; \
37156 rm -f no-such-file || : ; \
37157 CONFIG_SITE=no-such-file $(SHELL) \
37158 $$s/$$module_srcdir/configure \
37159 --srcdir=$${topdir}/$$module_srcdir \
37160 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37161 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
37162 || exit 1
37163 @endif target-liboffloadmic
37169 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
37170 maybe-all-target-liboffloadmic:
37171 @if gcc-bootstrap
37172 all-target-liboffloadmic: stage_current
37173 @endif gcc-bootstrap
37174 @if target-liboffloadmic
37175 TARGET-target-liboffloadmic=all
37176 maybe-all-target-liboffloadmic: all-target-liboffloadmic
37177 all-target-liboffloadmic: configure-target-liboffloadmic
37178 @: $(MAKE); $(unstage)
37179 @r=`${PWD_COMMAND}`; export r; \
37180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37181 $(NORMAL_TARGET_EXPORTS) \
37182 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37183 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37184 $(TARGET-target-liboffloadmic))
37185 @endif target-liboffloadmic
37191 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
37192 maybe-check-target-liboffloadmic:
37193 @if target-liboffloadmic
37194 maybe-check-target-liboffloadmic: check-target-liboffloadmic
37196 check-target-liboffloadmic:
37197 @: $(MAKE); $(unstage)
37198 @r=`${PWD_COMMAND}`; export r; \
37199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37200 $(NORMAL_TARGET_EXPORTS) \
37201 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37202 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37204 @endif target-liboffloadmic
37206 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
37207 maybe-install-target-liboffloadmic:
37208 @if target-liboffloadmic
37209 maybe-install-target-liboffloadmic: install-target-liboffloadmic
37211 install-target-liboffloadmic: installdirs
37212 @: $(MAKE); $(unstage)
37213 @r=`${PWD_COMMAND}`; export r; \
37214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37215 $(NORMAL_TARGET_EXPORTS) \
37216 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37217 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37219 @endif target-liboffloadmic
37221 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
37222 maybe-install-strip-target-liboffloadmic:
37223 @if target-liboffloadmic
37224 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
37226 install-strip-target-liboffloadmic: installdirs
37227 @: $(MAKE); $(unstage)
37228 @r=`${PWD_COMMAND}`; export r; \
37229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37230 $(NORMAL_TARGET_EXPORTS) \
37231 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37232 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37234 @endif target-liboffloadmic
37236 # Other targets (info, dvi, pdf, etc.)
37238 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
37239 maybe-info-target-liboffloadmic:
37240 @if target-liboffloadmic
37241 maybe-info-target-liboffloadmic: info-target-liboffloadmic
37243 info-target-liboffloadmic: \
37244 configure-target-liboffloadmic
37245 @: $(MAKE); $(unstage)
37246 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37247 r=`${PWD_COMMAND}`; export r; \
37248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37249 $(NORMAL_TARGET_EXPORTS) \
37250 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
37251 for flag in $(EXTRA_TARGET_FLAGS); do \
37252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37253 done; \
37254 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37257 "RANLIB=$${RANLIB}" \
37258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37259 info) \
37260 || exit 1
37262 @endif target-liboffloadmic
37264 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
37265 maybe-dvi-target-liboffloadmic:
37266 @if target-liboffloadmic
37267 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
37269 dvi-target-liboffloadmic: \
37270 configure-target-liboffloadmic
37271 @: $(MAKE); $(unstage)
37272 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37273 r=`${PWD_COMMAND}`; export r; \
37274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37275 $(NORMAL_TARGET_EXPORTS) \
37276 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
37277 for flag in $(EXTRA_TARGET_FLAGS); do \
37278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37279 done; \
37280 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37283 "RANLIB=$${RANLIB}" \
37284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37285 dvi) \
37286 || exit 1
37288 @endif target-liboffloadmic
37290 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
37291 maybe-pdf-target-liboffloadmic:
37292 @if target-liboffloadmic
37293 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
37295 pdf-target-liboffloadmic: \
37296 configure-target-liboffloadmic
37297 @: $(MAKE); $(unstage)
37298 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37299 r=`${PWD_COMMAND}`; export r; \
37300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37301 $(NORMAL_TARGET_EXPORTS) \
37302 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
37303 for flag in $(EXTRA_TARGET_FLAGS); do \
37304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37305 done; \
37306 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37309 "RANLIB=$${RANLIB}" \
37310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37311 pdf) \
37312 || exit 1
37314 @endif target-liboffloadmic
37316 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
37317 maybe-html-target-liboffloadmic:
37318 @if target-liboffloadmic
37319 maybe-html-target-liboffloadmic: html-target-liboffloadmic
37321 html-target-liboffloadmic: \
37322 configure-target-liboffloadmic
37323 @: $(MAKE); $(unstage)
37324 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37325 r=`${PWD_COMMAND}`; export r; \
37326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37327 $(NORMAL_TARGET_EXPORTS) \
37328 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
37329 for flag in $(EXTRA_TARGET_FLAGS); do \
37330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37331 done; \
37332 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37335 "RANLIB=$${RANLIB}" \
37336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37337 html) \
37338 || exit 1
37340 @endif target-liboffloadmic
37342 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
37343 maybe-TAGS-target-liboffloadmic:
37344 @if target-liboffloadmic
37345 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
37347 TAGS-target-liboffloadmic: \
37348 configure-target-liboffloadmic
37349 @: $(MAKE); $(unstage)
37350 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37351 r=`${PWD_COMMAND}`; export r; \
37352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37353 $(NORMAL_TARGET_EXPORTS) \
37354 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
37355 for flag in $(EXTRA_TARGET_FLAGS); do \
37356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37357 done; \
37358 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37361 "RANLIB=$${RANLIB}" \
37362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37363 TAGS) \
37364 || exit 1
37366 @endif target-liboffloadmic
37368 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
37369 maybe-install-info-target-liboffloadmic:
37370 @if target-liboffloadmic
37371 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
37373 install-info-target-liboffloadmic: \
37374 configure-target-liboffloadmic \
37375 info-target-liboffloadmic
37376 @: $(MAKE); $(unstage)
37377 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37378 r=`${PWD_COMMAND}`; export r; \
37379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37380 $(NORMAL_TARGET_EXPORTS) \
37381 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
37382 for flag in $(EXTRA_TARGET_FLAGS); do \
37383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37384 done; \
37385 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37388 "RANLIB=$${RANLIB}" \
37389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37390 install-info) \
37391 || exit 1
37393 @endif target-liboffloadmic
37395 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
37396 maybe-install-pdf-target-liboffloadmic:
37397 @if target-liboffloadmic
37398 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
37400 install-pdf-target-liboffloadmic: \
37401 configure-target-liboffloadmic \
37402 pdf-target-liboffloadmic
37403 @: $(MAKE); $(unstage)
37404 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37405 r=`${PWD_COMMAND}`; export r; \
37406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37407 $(NORMAL_TARGET_EXPORTS) \
37408 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
37409 for flag in $(EXTRA_TARGET_FLAGS); do \
37410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37411 done; \
37412 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37415 "RANLIB=$${RANLIB}" \
37416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37417 install-pdf) \
37418 || exit 1
37420 @endif target-liboffloadmic
37422 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
37423 maybe-install-html-target-liboffloadmic:
37424 @if target-liboffloadmic
37425 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
37427 install-html-target-liboffloadmic: \
37428 configure-target-liboffloadmic \
37429 html-target-liboffloadmic
37430 @: $(MAKE); $(unstage)
37431 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37432 r=`${PWD_COMMAND}`; export r; \
37433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37434 $(NORMAL_TARGET_EXPORTS) \
37435 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
37436 for flag in $(EXTRA_TARGET_FLAGS); do \
37437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37438 done; \
37439 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37442 "RANLIB=$${RANLIB}" \
37443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37444 install-html) \
37445 || exit 1
37447 @endif target-liboffloadmic
37449 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
37450 maybe-installcheck-target-liboffloadmic:
37451 @if target-liboffloadmic
37452 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
37454 installcheck-target-liboffloadmic: \
37455 configure-target-liboffloadmic
37456 @: $(MAKE); $(unstage)
37457 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37458 r=`${PWD_COMMAND}`; export r; \
37459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37460 $(NORMAL_TARGET_EXPORTS) \
37461 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
37462 for flag in $(EXTRA_TARGET_FLAGS); do \
37463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37464 done; \
37465 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37468 "RANLIB=$${RANLIB}" \
37469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37470 installcheck) \
37471 || exit 1
37473 @endif target-liboffloadmic
37475 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
37476 maybe-mostlyclean-target-liboffloadmic:
37477 @if target-liboffloadmic
37478 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
37480 mostlyclean-target-liboffloadmic:
37481 @: $(MAKE); $(unstage)
37482 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37483 r=`${PWD_COMMAND}`; export r; \
37484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37485 $(NORMAL_TARGET_EXPORTS) \
37486 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
37487 for flag in $(EXTRA_TARGET_FLAGS); do \
37488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37489 done; \
37490 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37493 "RANLIB=$${RANLIB}" \
37494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37495 mostlyclean) \
37496 || exit 1
37498 @endif target-liboffloadmic
37500 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
37501 maybe-clean-target-liboffloadmic:
37502 @if target-liboffloadmic
37503 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
37505 clean-target-liboffloadmic:
37506 @: $(MAKE); $(unstage)
37507 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37508 r=`${PWD_COMMAND}`; export r; \
37509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37510 $(NORMAL_TARGET_EXPORTS) \
37511 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
37512 for flag in $(EXTRA_TARGET_FLAGS); do \
37513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37514 done; \
37515 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37518 "RANLIB=$${RANLIB}" \
37519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37520 clean) \
37521 || exit 1
37523 @endif target-liboffloadmic
37525 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
37526 maybe-distclean-target-liboffloadmic:
37527 @if target-liboffloadmic
37528 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
37530 distclean-target-liboffloadmic:
37531 @: $(MAKE); $(unstage)
37532 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37533 r=`${PWD_COMMAND}`; export r; \
37534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37535 $(NORMAL_TARGET_EXPORTS) \
37536 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
37537 for flag in $(EXTRA_TARGET_FLAGS); do \
37538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37539 done; \
37540 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37543 "RANLIB=$${RANLIB}" \
37544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37545 distclean) \
37546 || exit 1
37548 @endif target-liboffloadmic
37550 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
37551 maybe-maintainer-clean-target-liboffloadmic:
37552 @if target-liboffloadmic
37553 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
37555 maintainer-clean-target-liboffloadmic:
37556 @: $(MAKE); $(unstage)
37557 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37558 r=`${PWD_COMMAND}`; export r; \
37559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37560 $(NORMAL_TARGET_EXPORTS) \
37561 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
37562 for flag in $(EXTRA_TARGET_FLAGS); do \
37563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37564 done; \
37565 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37568 "RANLIB=$${RANLIB}" \
37569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37570 maintainer-clean) \
37571 || exit 1
37573 @endif target-liboffloadmic
37579 .PHONY: configure-target-libssp maybe-configure-target-libssp
37580 maybe-configure-target-libssp:
37581 @if gcc-bootstrap
37582 configure-target-libssp: stage_current
37583 @endif gcc-bootstrap
37584 @if target-libssp
37585 maybe-configure-target-libssp: configure-target-libssp
37586 configure-target-libssp:
37587 @: $(MAKE); $(unstage)
37588 @r=`${PWD_COMMAND}`; export r; \
37589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37590 echo "Checking multilib configuration for libssp..."; \
37591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
37592 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
37593 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
37594 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
37595 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
37596 else \
37597 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
37598 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
37599 fi; \
37600 else \
37601 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
37602 fi; \
37603 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
37604 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
37605 $(NORMAL_TARGET_EXPORTS) \
37606 echo Configuring in $(TARGET_SUBDIR)/libssp; \
37607 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
37608 case $(srcdir) in \
37609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37610 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
37611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37612 esac; \
37613 module_srcdir=libssp; \
37614 rm -f no-such-file || : ; \
37615 CONFIG_SITE=no-such-file $(SHELL) \
37616 $$s/$$module_srcdir/configure \
37617 --srcdir=$${topdir}/$$module_srcdir \
37618 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37619 --target=${target_alias} \
37620 || exit 1
37621 @endif target-libssp
37627 .PHONY: all-target-libssp maybe-all-target-libssp
37628 maybe-all-target-libssp:
37629 @if gcc-bootstrap
37630 all-target-libssp: stage_current
37631 @endif gcc-bootstrap
37632 @if target-libssp
37633 TARGET-target-libssp=all
37634 maybe-all-target-libssp: all-target-libssp
37635 all-target-libssp: configure-target-libssp
37636 @: $(MAKE); $(unstage)
37637 @r=`${PWD_COMMAND}`; export r; \
37638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37639 $(NORMAL_TARGET_EXPORTS) \
37640 (cd $(TARGET_SUBDIR)/libssp && \
37641 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37642 $(TARGET-target-libssp))
37643 @endif target-libssp
37649 .PHONY: check-target-libssp maybe-check-target-libssp
37650 maybe-check-target-libssp:
37651 @if target-libssp
37652 maybe-check-target-libssp: check-target-libssp
37654 check-target-libssp:
37655 @: $(MAKE); $(unstage)
37656 @r=`${PWD_COMMAND}`; export r; \
37657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37658 $(NORMAL_TARGET_EXPORTS) \
37659 (cd $(TARGET_SUBDIR)/libssp && \
37660 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37662 @endif target-libssp
37664 .PHONY: install-target-libssp maybe-install-target-libssp
37665 maybe-install-target-libssp:
37666 @if target-libssp
37667 maybe-install-target-libssp: install-target-libssp
37669 install-target-libssp: installdirs
37670 @: $(MAKE); $(unstage)
37671 @r=`${PWD_COMMAND}`; export r; \
37672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37673 $(NORMAL_TARGET_EXPORTS) \
37674 (cd $(TARGET_SUBDIR)/libssp && \
37675 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37677 @endif target-libssp
37679 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
37680 maybe-install-strip-target-libssp:
37681 @if target-libssp
37682 maybe-install-strip-target-libssp: install-strip-target-libssp
37684 install-strip-target-libssp: installdirs
37685 @: $(MAKE); $(unstage)
37686 @r=`${PWD_COMMAND}`; export r; \
37687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37688 $(NORMAL_TARGET_EXPORTS) \
37689 (cd $(TARGET_SUBDIR)/libssp && \
37690 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37692 @endif target-libssp
37694 # Other targets (info, dvi, pdf, etc.)
37696 .PHONY: maybe-info-target-libssp info-target-libssp
37697 maybe-info-target-libssp:
37698 @if target-libssp
37699 maybe-info-target-libssp: info-target-libssp
37701 info-target-libssp: \
37702 configure-target-libssp
37703 @: $(MAKE); $(unstage)
37704 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37705 r=`${PWD_COMMAND}`; export r; \
37706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37707 $(NORMAL_TARGET_EXPORTS) \
37708 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
37709 for flag in $(EXTRA_TARGET_FLAGS); do \
37710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37711 done; \
37712 (cd $(TARGET_SUBDIR)/libssp && \
37713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37715 "RANLIB=$${RANLIB}" \
37716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37717 info) \
37718 || exit 1
37720 @endif target-libssp
37722 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
37723 maybe-dvi-target-libssp:
37724 @if target-libssp
37725 maybe-dvi-target-libssp: dvi-target-libssp
37727 dvi-target-libssp: \
37728 configure-target-libssp
37729 @: $(MAKE); $(unstage)
37730 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37731 r=`${PWD_COMMAND}`; export r; \
37732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37733 $(NORMAL_TARGET_EXPORTS) \
37734 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
37735 for flag in $(EXTRA_TARGET_FLAGS); do \
37736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37737 done; \
37738 (cd $(TARGET_SUBDIR)/libssp && \
37739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37741 "RANLIB=$${RANLIB}" \
37742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37743 dvi) \
37744 || exit 1
37746 @endif target-libssp
37748 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
37749 maybe-pdf-target-libssp:
37750 @if target-libssp
37751 maybe-pdf-target-libssp: pdf-target-libssp
37753 pdf-target-libssp: \
37754 configure-target-libssp
37755 @: $(MAKE); $(unstage)
37756 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37757 r=`${PWD_COMMAND}`; export r; \
37758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37759 $(NORMAL_TARGET_EXPORTS) \
37760 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
37761 for flag in $(EXTRA_TARGET_FLAGS); do \
37762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37763 done; \
37764 (cd $(TARGET_SUBDIR)/libssp && \
37765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37767 "RANLIB=$${RANLIB}" \
37768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37769 pdf) \
37770 || exit 1
37772 @endif target-libssp
37774 .PHONY: maybe-html-target-libssp html-target-libssp
37775 maybe-html-target-libssp:
37776 @if target-libssp
37777 maybe-html-target-libssp: html-target-libssp
37779 html-target-libssp: \
37780 configure-target-libssp
37781 @: $(MAKE); $(unstage)
37782 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37783 r=`${PWD_COMMAND}`; export r; \
37784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37785 $(NORMAL_TARGET_EXPORTS) \
37786 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
37787 for flag in $(EXTRA_TARGET_FLAGS); do \
37788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37789 done; \
37790 (cd $(TARGET_SUBDIR)/libssp && \
37791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37793 "RANLIB=$${RANLIB}" \
37794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37795 html) \
37796 || exit 1
37798 @endif target-libssp
37800 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
37801 maybe-TAGS-target-libssp:
37802 @if target-libssp
37803 maybe-TAGS-target-libssp: TAGS-target-libssp
37805 TAGS-target-libssp: \
37806 configure-target-libssp
37807 @: $(MAKE); $(unstage)
37808 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37809 r=`${PWD_COMMAND}`; export r; \
37810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37811 $(NORMAL_TARGET_EXPORTS) \
37812 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
37813 for flag in $(EXTRA_TARGET_FLAGS); do \
37814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37815 done; \
37816 (cd $(TARGET_SUBDIR)/libssp && \
37817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37819 "RANLIB=$${RANLIB}" \
37820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37821 TAGS) \
37822 || exit 1
37824 @endif target-libssp
37826 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
37827 maybe-install-info-target-libssp:
37828 @if target-libssp
37829 maybe-install-info-target-libssp: install-info-target-libssp
37831 install-info-target-libssp: \
37832 configure-target-libssp \
37833 info-target-libssp
37834 @: $(MAKE); $(unstage)
37835 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37836 r=`${PWD_COMMAND}`; export r; \
37837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37838 $(NORMAL_TARGET_EXPORTS) \
37839 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
37840 for flag in $(EXTRA_TARGET_FLAGS); do \
37841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37842 done; \
37843 (cd $(TARGET_SUBDIR)/libssp && \
37844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37846 "RANLIB=$${RANLIB}" \
37847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37848 install-info) \
37849 || exit 1
37851 @endif target-libssp
37853 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
37854 maybe-install-pdf-target-libssp:
37855 @if target-libssp
37856 maybe-install-pdf-target-libssp: install-pdf-target-libssp
37858 install-pdf-target-libssp: \
37859 configure-target-libssp \
37860 pdf-target-libssp
37861 @: $(MAKE); $(unstage)
37862 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37863 r=`${PWD_COMMAND}`; export r; \
37864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37865 $(NORMAL_TARGET_EXPORTS) \
37866 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
37867 for flag in $(EXTRA_TARGET_FLAGS); do \
37868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37869 done; \
37870 (cd $(TARGET_SUBDIR)/libssp && \
37871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37873 "RANLIB=$${RANLIB}" \
37874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37875 install-pdf) \
37876 || exit 1
37878 @endif target-libssp
37880 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
37881 maybe-install-html-target-libssp:
37882 @if target-libssp
37883 maybe-install-html-target-libssp: install-html-target-libssp
37885 install-html-target-libssp: \
37886 configure-target-libssp \
37887 html-target-libssp
37888 @: $(MAKE); $(unstage)
37889 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37890 r=`${PWD_COMMAND}`; export r; \
37891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37892 $(NORMAL_TARGET_EXPORTS) \
37893 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
37894 for flag in $(EXTRA_TARGET_FLAGS); do \
37895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37896 done; \
37897 (cd $(TARGET_SUBDIR)/libssp && \
37898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37900 "RANLIB=$${RANLIB}" \
37901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37902 install-html) \
37903 || exit 1
37905 @endif target-libssp
37907 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
37908 maybe-installcheck-target-libssp:
37909 @if target-libssp
37910 maybe-installcheck-target-libssp: installcheck-target-libssp
37912 installcheck-target-libssp: \
37913 configure-target-libssp
37914 @: $(MAKE); $(unstage)
37915 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37916 r=`${PWD_COMMAND}`; export r; \
37917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37918 $(NORMAL_TARGET_EXPORTS) \
37919 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
37920 for flag in $(EXTRA_TARGET_FLAGS); do \
37921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37922 done; \
37923 (cd $(TARGET_SUBDIR)/libssp && \
37924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37926 "RANLIB=$${RANLIB}" \
37927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37928 installcheck) \
37929 || exit 1
37931 @endif target-libssp
37933 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
37934 maybe-mostlyclean-target-libssp:
37935 @if target-libssp
37936 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
37938 mostlyclean-target-libssp:
37939 @: $(MAKE); $(unstage)
37940 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37941 r=`${PWD_COMMAND}`; export r; \
37942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37943 $(NORMAL_TARGET_EXPORTS) \
37944 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
37945 for flag in $(EXTRA_TARGET_FLAGS); do \
37946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37947 done; \
37948 (cd $(TARGET_SUBDIR)/libssp && \
37949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37951 "RANLIB=$${RANLIB}" \
37952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37953 mostlyclean) \
37954 || exit 1
37956 @endif target-libssp
37958 .PHONY: maybe-clean-target-libssp clean-target-libssp
37959 maybe-clean-target-libssp:
37960 @if target-libssp
37961 maybe-clean-target-libssp: clean-target-libssp
37963 clean-target-libssp:
37964 @: $(MAKE); $(unstage)
37965 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37966 r=`${PWD_COMMAND}`; export r; \
37967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37968 $(NORMAL_TARGET_EXPORTS) \
37969 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
37970 for flag in $(EXTRA_TARGET_FLAGS); do \
37971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37972 done; \
37973 (cd $(TARGET_SUBDIR)/libssp && \
37974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37976 "RANLIB=$${RANLIB}" \
37977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37978 clean) \
37979 || exit 1
37981 @endif target-libssp
37983 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
37984 maybe-distclean-target-libssp:
37985 @if target-libssp
37986 maybe-distclean-target-libssp: distclean-target-libssp
37988 distclean-target-libssp:
37989 @: $(MAKE); $(unstage)
37990 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37991 r=`${PWD_COMMAND}`; export r; \
37992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37993 $(NORMAL_TARGET_EXPORTS) \
37994 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
37995 for flag in $(EXTRA_TARGET_FLAGS); do \
37996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37997 done; \
37998 (cd $(TARGET_SUBDIR)/libssp && \
37999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38001 "RANLIB=$${RANLIB}" \
38002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38003 distclean) \
38004 || exit 1
38006 @endif target-libssp
38008 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
38009 maybe-maintainer-clean-target-libssp:
38010 @if target-libssp
38011 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
38013 maintainer-clean-target-libssp:
38014 @: $(MAKE); $(unstage)
38015 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
38016 r=`${PWD_COMMAND}`; export r; \
38017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38018 $(NORMAL_TARGET_EXPORTS) \
38019 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
38020 for flag in $(EXTRA_TARGET_FLAGS); do \
38021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38022 done; \
38023 (cd $(TARGET_SUBDIR)/libssp && \
38024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38026 "RANLIB=$${RANLIB}" \
38027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38028 maintainer-clean) \
38029 || exit 1
38031 @endif target-libssp
38037 .PHONY: configure-target-newlib maybe-configure-target-newlib
38038 maybe-configure-target-newlib:
38039 @if gcc-bootstrap
38040 configure-target-newlib: stage_current
38041 @endif gcc-bootstrap
38042 @if target-newlib
38043 maybe-configure-target-newlib: configure-target-newlib
38044 configure-target-newlib:
38045 @: $(MAKE); $(unstage)
38046 @r=`${PWD_COMMAND}`; export r; \
38047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38048 echo "Checking multilib configuration for newlib..."; \
38049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
38050 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
38051 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
38052 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
38053 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
38054 else \
38055 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
38056 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
38057 fi; \
38058 else \
38059 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
38060 fi; \
38061 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
38062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
38063 $(NORMAL_TARGET_EXPORTS) \
38064 echo Configuring in $(TARGET_SUBDIR)/newlib; \
38065 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
38066 case $(srcdir) in \
38067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38068 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
38069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38070 esac; \
38071 module_srcdir=newlib; \
38072 rm -f no-such-file || : ; \
38073 CONFIG_SITE=no-such-file $(SHELL) \
38074 $$s/$$module_srcdir/configure \
38075 --srcdir=$${topdir}/$$module_srcdir \
38076 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38077 --target=${target_alias} \
38078 || exit 1
38079 @endif target-newlib
38085 .PHONY: all-target-newlib maybe-all-target-newlib
38086 maybe-all-target-newlib:
38087 @if gcc-bootstrap
38088 all-target-newlib: stage_current
38089 @endif gcc-bootstrap
38090 @if target-newlib
38091 TARGET-target-newlib=all
38092 maybe-all-target-newlib: all-target-newlib
38093 all-target-newlib: configure-target-newlib
38094 @: $(MAKE); $(unstage)
38095 @r=`${PWD_COMMAND}`; export r; \
38096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38097 $(NORMAL_TARGET_EXPORTS) \
38098 (cd $(TARGET_SUBDIR)/newlib && \
38099 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38100 $(TARGET-target-newlib))
38101 @endif target-newlib
38107 .PHONY: check-target-newlib maybe-check-target-newlib
38108 maybe-check-target-newlib:
38109 @if target-newlib
38110 maybe-check-target-newlib: check-target-newlib
38112 check-target-newlib:
38113 @: $(MAKE); $(unstage)
38114 @r=`${PWD_COMMAND}`; export r; \
38115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38116 $(NORMAL_TARGET_EXPORTS) \
38117 (cd $(TARGET_SUBDIR)/newlib && \
38118 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38120 @endif target-newlib
38122 .PHONY: install-target-newlib maybe-install-target-newlib
38123 maybe-install-target-newlib:
38124 @if target-newlib
38125 maybe-install-target-newlib: install-target-newlib
38127 install-target-newlib: installdirs
38128 @: $(MAKE); $(unstage)
38129 @r=`${PWD_COMMAND}`; export r; \
38130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38131 $(NORMAL_TARGET_EXPORTS) \
38132 (cd $(TARGET_SUBDIR)/newlib && \
38133 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38135 @endif target-newlib
38137 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
38138 maybe-install-strip-target-newlib:
38139 @if target-newlib
38140 maybe-install-strip-target-newlib: install-strip-target-newlib
38142 install-strip-target-newlib: installdirs
38143 @: $(MAKE); $(unstage)
38144 @r=`${PWD_COMMAND}`; export r; \
38145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38146 $(NORMAL_TARGET_EXPORTS) \
38147 (cd $(TARGET_SUBDIR)/newlib && \
38148 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38150 @endif target-newlib
38152 # Other targets (info, dvi, pdf, etc.)
38154 .PHONY: maybe-info-target-newlib info-target-newlib
38155 maybe-info-target-newlib:
38156 @if target-newlib
38157 maybe-info-target-newlib: info-target-newlib
38159 info-target-newlib: \
38160 configure-target-newlib
38161 @: $(MAKE); $(unstage)
38162 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38163 r=`${PWD_COMMAND}`; export r; \
38164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38165 $(NORMAL_TARGET_EXPORTS) \
38166 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
38167 for flag in $(EXTRA_TARGET_FLAGS); do \
38168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38169 done; \
38170 (cd $(TARGET_SUBDIR)/newlib && \
38171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38173 "RANLIB=$${RANLIB}" \
38174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38175 info) \
38176 || exit 1
38178 @endif target-newlib
38180 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
38181 maybe-dvi-target-newlib:
38182 @if target-newlib
38183 maybe-dvi-target-newlib: dvi-target-newlib
38185 dvi-target-newlib: \
38186 configure-target-newlib
38187 @: $(MAKE); $(unstage)
38188 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38189 r=`${PWD_COMMAND}`; export r; \
38190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38191 $(NORMAL_TARGET_EXPORTS) \
38192 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
38193 for flag in $(EXTRA_TARGET_FLAGS); do \
38194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38195 done; \
38196 (cd $(TARGET_SUBDIR)/newlib && \
38197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38199 "RANLIB=$${RANLIB}" \
38200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38201 dvi) \
38202 || exit 1
38204 @endif target-newlib
38206 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
38207 maybe-pdf-target-newlib:
38208 @if target-newlib
38209 maybe-pdf-target-newlib: pdf-target-newlib
38211 pdf-target-newlib: \
38212 configure-target-newlib
38213 @: $(MAKE); $(unstage)
38214 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38215 r=`${PWD_COMMAND}`; export r; \
38216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38217 $(NORMAL_TARGET_EXPORTS) \
38218 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
38219 for flag in $(EXTRA_TARGET_FLAGS); do \
38220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38221 done; \
38222 (cd $(TARGET_SUBDIR)/newlib && \
38223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38225 "RANLIB=$${RANLIB}" \
38226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38227 pdf) \
38228 || exit 1
38230 @endif target-newlib
38232 .PHONY: maybe-html-target-newlib html-target-newlib
38233 maybe-html-target-newlib:
38234 @if target-newlib
38235 maybe-html-target-newlib: html-target-newlib
38237 html-target-newlib: \
38238 configure-target-newlib
38239 @: $(MAKE); $(unstage)
38240 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38241 r=`${PWD_COMMAND}`; export r; \
38242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38243 $(NORMAL_TARGET_EXPORTS) \
38244 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
38245 for flag in $(EXTRA_TARGET_FLAGS); do \
38246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38247 done; \
38248 (cd $(TARGET_SUBDIR)/newlib && \
38249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38251 "RANLIB=$${RANLIB}" \
38252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38253 html) \
38254 || exit 1
38256 @endif target-newlib
38258 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
38259 maybe-TAGS-target-newlib:
38260 @if target-newlib
38261 maybe-TAGS-target-newlib: TAGS-target-newlib
38263 TAGS-target-newlib: \
38264 configure-target-newlib
38265 @: $(MAKE); $(unstage)
38266 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38267 r=`${PWD_COMMAND}`; export r; \
38268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38269 $(NORMAL_TARGET_EXPORTS) \
38270 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
38271 for flag in $(EXTRA_TARGET_FLAGS); do \
38272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38273 done; \
38274 (cd $(TARGET_SUBDIR)/newlib && \
38275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38277 "RANLIB=$${RANLIB}" \
38278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38279 TAGS) \
38280 || exit 1
38282 @endif target-newlib
38284 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
38285 maybe-install-info-target-newlib:
38286 @if target-newlib
38287 maybe-install-info-target-newlib: install-info-target-newlib
38289 install-info-target-newlib: \
38290 configure-target-newlib \
38291 info-target-newlib
38292 @: $(MAKE); $(unstage)
38293 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38294 r=`${PWD_COMMAND}`; export r; \
38295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38296 $(NORMAL_TARGET_EXPORTS) \
38297 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
38298 for flag in $(EXTRA_TARGET_FLAGS); do \
38299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38300 done; \
38301 (cd $(TARGET_SUBDIR)/newlib && \
38302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38304 "RANLIB=$${RANLIB}" \
38305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38306 install-info) \
38307 || exit 1
38309 @endif target-newlib
38311 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
38312 maybe-install-pdf-target-newlib:
38313 @if target-newlib
38314 maybe-install-pdf-target-newlib: install-pdf-target-newlib
38316 install-pdf-target-newlib: \
38317 configure-target-newlib \
38318 pdf-target-newlib
38319 @: $(MAKE); $(unstage)
38320 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38321 r=`${PWD_COMMAND}`; export r; \
38322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38323 $(NORMAL_TARGET_EXPORTS) \
38324 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
38325 for flag in $(EXTRA_TARGET_FLAGS); do \
38326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38327 done; \
38328 (cd $(TARGET_SUBDIR)/newlib && \
38329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38331 "RANLIB=$${RANLIB}" \
38332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38333 install-pdf) \
38334 || exit 1
38336 @endif target-newlib
38338 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
38339 maybe-install-html-target-newlib:
38340 @if target-newlib
38341 maybe-install-html-target-newlib: install-html-target-newlib
38343 install-html-target-newlib: \
38344 configure-target-newlib \
38345 html-target-newlib
38346 @: $(MAKE); $(unstage)
38347 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38348 r=`${PWD_COMMAND}`; export r; \
38349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38350 $(NORMAL_TARGET_EXPORTS) \
38351 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
38352 for flag in $(EXTRA_TARGET_FLAGS); do \
38353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38354 done; \
38355 (cd $(TARGET_SUBDIR)/newlib && \
38356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38358 "RANLIB=$${RANLIB}" \
38359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38360 install-html) \
38361 || exit 1
38363 @endif target-newlib
38365 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
38366 maybe-installcheck-target-newlib:
38367 @if target-newlib
38368 maybe-installcheck-target-newlib: installcheck-target-newlib
38370 installcheck-target-newlib: \
38371 configure-target-newlib
38372 @: $(MAKE); $(unstage)
38373 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38374 r=`${PWD_COMMAND}`; export r; \
38375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38376 $(NORMAL_TARGET_EXPORTS) \
38377 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
38378 for flag in $(EXTRA_TARGET_FLAGS); do \
38379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38380 done; \
38381 (cd $(TARGET_SUBDIR)/newlib && \
38382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38384 "RANLIB=$${RANLIB}" \
38385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38386 installcheck) \
38387 || exit 1
38389 @endif target-newlib
38391 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
38392 maybe-mostlyclean-target-newlib:
38393 @if target-newlib
38394 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
38396 mostlyclean-target-newlib:
38397 @: $(MAKE); $(unstage)
38398 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38399 r=`${PWD_COMMAND}`; export r; \
38400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38401 $(NORMAL_TARGET_EXPORTS) \
38402 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
38403 for flag in $(EXTRA_TARGET_FLAGS); do \
38404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38405 done; \
38406 (cd $(TARGET_SUBDIR)/newlib && \
38407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38409 "RANLIB=$${RANLIB}" \
38410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38411 mostlyclean) \
38412 || exit 1
38414 @endif target-newlib
38416 .PHONY: maybe-clean-target-newlib clean-target-newlib
38417 maybe-clean-target-newlib:
38418 @if target-newlib
38419 maybe-clean-target-newlib: clean-target-newlib
38421 clean-target-newlib:
38422 @: $(MAKE); $(unstage)
38423 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38424 r=`${PWD_COMMAND}`; export r; \
38425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38426 $(NORMAL_TARGET_EXPORTS) \
38427 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
38428 for flag in $(EXTRA_TARGET_FLAGS); do \
38429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38430 done; \
38431 (cd $(TARGET_SUBDIR)/newlib && \
38432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38434 "RANLIB=$${RANLIB}" \
38435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38436 clean) \
38437 || exit 1
38439 @endif target-newlib
38441 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
38442 maybe-distclean-target-newlib:
38443 @if target-newlib
38444 maybe-distclean-target-newlib: distclean-target-newlib
38446 distclean-target-newlib:
38447 @: $(MAKE); $(unstage)
38448 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38449 r=`${PWD_COMMAND}`; export r; \
38450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38451 $(NORMAL_TARGET_EXPORTS) \
38452 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
38453 for flag in $(EXTRA_TARGET_FLAGS); do \
38454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38455 done; \
38456 (cd $(TARGET_SUBDIR)/newlib && \
38457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38459 "RANLIB=$${RANLIB}" \
38460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38461 distclean) \
38462 || exit 1
38464 @endif target-newlib
38466 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
38467 maybe-maintainer-clean-target-newlib:
38468 @if target-newlib
38469 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
38471 maintainer-clean-target-newlib:
38472 @: $(MAKE); $(unstage)
38473 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38474 r=`${PWD_COMMAND}`; export r; \
38475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38476 $(NORMAL_TARGET_EXPORTS) \
38477 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
38478 for flag in $(EXTRA_TARGET_FLAGS); do \
38479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38480 done; \
38481 (cd $(TARGET_SUBDIR)/newlib && \
38482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38484 "RANLIB=$${RANLIB}" \
38485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38486 maintainer-clean) \
38487 || exit 1
38489 @endif target-newlib
38495 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
38496 maybe-configure-target-libgcc:
38497 @if gcc-bootstrap
38498 configure-target-libgcc: stage_current
38499 @endif gcc-bootstrap
38500 @if target-libgcc
38501 maybe-configure-target-libgcc: configure-target-libgcc
38502 configure-target-libgcc:
38503 @r=`${PWD_COMMAND}`; export r; \
38504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38505 echo "Checking multilib configuration for libgcc..."; \
38506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38507 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38508 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38509 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38510 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38511 else \
38512 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38513 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38514 fi; \
38515 else \
38516 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38517 fi; \
38518 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38520 $(NORMAL_TARGET_EXPORTS) \
38521 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
38522 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
38523 case $(srcdir) in \
38524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38525 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38527 esac; \
38528 module_srcdir=libgcc; \
38529 rm -f no-such-file || : ; \
38530 CONFIG_SITE=no-such-file $(SHELL) \
38531 $$s/$$module_srcdir/configure \
38532 --srcdir=$${topdir}/$$module_srcdir \
38533 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38534 --target=${target_alias} \
38535 || exit 1
38536 @endif target-libgcc
38540 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
38541 maybe-configure-stage1-target-libgcc:
38542 @if target-libgcc-bootstrap
38543 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
38544 configure-stage1-target-libgcc:
38545 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38546 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38547 @r=`${PWD_COMMAND}`; export r; \
38548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38549 TFLAGS="$(STAGE1_TFLAGS)"; \
38550 echo "Checking multilib configuration for libgcc..."; \
38551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38552 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38553 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38554 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38555 else \
38556 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38557 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38558 fi; \
38559 else \
38560 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38561 fi; \
38562 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38563 $(NORMAL_TARGET_EXPORTS) \
38564 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38565 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38566 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38567 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
38568 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38569 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38570 case $(srcdir) in \
38571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38572 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38574 esac; \
38575 module_srcdir=libgcc; \
38576 $(SHELL) $$s/$$module_srcdir/configure \
38577 --srcdir=$${topdir}/$$module_srcdir \
38578 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38579 --target=${target_alias} \
38581 $(STAGE1_CONFIGURE_FLAGS)
38582 @endif target-libgcc-bootstrap
38584 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
38585 maybe-configure-stage2-target-libgcc:
38586 @if target-libgcc-bootstrap
38587 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
38588 configure-stage2-target-libgcc:
38589 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38590 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38591 @r=`${PWD_COMMAND}`; export r; \
38592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38593 TFLAGS="$(STAGE2_TFLAGS)"; \
38594 echo "Checking multilib configuration for libgcc..."; \
38595 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38596 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38597 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38598 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38599 else \
38600 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38601 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38602 fi; \
38603 else \
38604 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38605 fi; \
38606 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38607 $(NORMAL_TARGET_EXPORTS) \
38609 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38610 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38611 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38612 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
38613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38614 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38615 case $(srcdir) in \
38616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38617 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38619 esac; \
38620 module_srcdir=libgcc; \
38621 $(SHELL) $$s/$$module_srcdir/configure \
38622 --srcdir=$${topdir}/$$module_srcdir \
38623 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38624 --target=${target_alias} \
38625 --with-build-libsubdir=$(HOST_SUBDIR) \
38626 $(STAGE2_CONFIGURE_FLAGS)
38627 @endif target-libgcc-bootstrap
38629 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
38630 maybe-configure-stage3-target-libgcc:
38631 @if target-libgcc-bootstrap
38632 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
38633 configure-stage3-target-libgcc:
38634 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38635 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38636 @r=`${PWD_COMMAND}`; export r; \
38637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38638 TFLAGS="$(STAGE3_TFLAGS)"; \
38639 echo "Checking multilib configuration for libgcc..."; \
38640 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38641 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38642 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38643 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38644 else \
38645 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38646 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38647 fi; \
38648 else \
38649 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38650 fi; \
38651 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38652 $(NORMAL_TARGET_EXPORTS) \
38654 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38655 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38656 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38657 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
38658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38659 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38660 case $(srcdir) in \
38661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38662 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38664 esac; \
38665 module_srcdir=libgcc; \
38666 $(SHELL) $$s/$$module_srcdir/configure \
38667 --srcdir=$${topdir}/$$module_srcdir \
38668 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38669 --target=${target_alias} \
38670 --with-build-libsubdir=$(HOST_SUBDIR) \
38671 $(STAGE3_CONFIGURE_FLAGS)
38672 @endif target-libgcc-bootstrap
38674 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
38675 maybe-configure-stage4-target-libgcc:
38676 @if target-libgcc-bootstrap
38677 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
38678 configure-stage4-target-libgcc:
38679 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38680 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38681 @r=`${PWD_COMMAND}`; export r; \
38682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38683 TFLAGS="$(STAGE4_TFLAGS)"; \
38684 echo "Checking multilib configuration for libgcc..."; \
38685 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38686 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38687 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38688 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38689 else \
38690 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38691 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38692 fi; \
38693 else \
38694 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38695 fi; \
38696 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38697 $(NORMAL_TARGET_EXPORTS) \
38699 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38700 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38701 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38702 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
38703 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38704 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38705 case $(srcdir) in \
38706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38707 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38709 esac; \
38710 module_srcdir=libgcc; \
38711 $(SHELL) $$s/$$module_srcdir/configure \
38712 --srcdir=$${topdir}/$$module_srcdir \
38713 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38714 --target=${target_alias} \
38715 --with-build-libsubdir=$(HOST_SUBDIR) \
38716 $(STAGE4_CONFIGURE_FLAGS)
38717 @endif target-libgcc-bootstrap
38719 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
38720 maybe-configure-stageprofile-target-libgcc:
38721 @if target-libgcc-bootstrap
38722 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
38723 configure-stageprofile-target-libgcc:
38724 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38725 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38726 @r=`${PWD_COMMAND}`; export r; \
38727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38728 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38729 echo "Checking multilib configuration for libgcc..."; \
38730 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38731 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38732 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38733 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38734 else \
38735 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38736 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38737 fi; \
38738 else \
38739 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38740 fi; \
38741 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38742 $(NORMAL_TARGET_EXPORTS) \
38744 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38745 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38746 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38747 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
38748 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38749 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38750 case $(srcdir) in \
38751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38752 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38754 esac; \
38755 module_srcdir=libgcc; \
38756 $(SHELL) $$s/$$module_srcdir/configure \
38757 --srcdir=$${topdir}/$$module_srcdir \
38758 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38759 --target=${target_alias} \
38760 --with-build-libsubdir=$(HOST_SUBDIR) \
38761 $(STAGEprofile_CONFIGURE_FLAGS)
38762 @endif target-libgcc-bootstrap
38764 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
38765 maybe-configure-stagefeedback-target-libgcc:
38766 @if target-libgcc-bootstrap
38767 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
38768 configure-stagefeedback-target-libgcc:
38769 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38770 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38771 @r=`${PWD_COMMAND}`; export r; \
38772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38773 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38774 echo "Checking multilib configuration for libgcc..."; \
38775 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38776 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38777 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38778 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38779 else \
38780 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38781 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38782 fi; \
38783 else \
38784 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38785 fi; \
38786 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38787 $(NORMAL_TARGET_EXPORTS) \
38789 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38790 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38791 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38792 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
38793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38794 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38795 case $(srcdir) in \
38796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38797 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38799 esac; \
38800 module_srcdir=libgcc; \
38801 $(SHELL) $$s/$$module_srcdir/configure \
38802 --srcdir=$${topdir}/$$module_srcdir \
38803 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38804 --target=${target_alias} \
38805 --with-build-libsubdir=$(HOST_SUBDIR) \
38806 $(STAGEfeedback_CONFIGURE_FLAGS)
38807 @endif target-libgcc-bootstrap
38813 .PHONY: all-target-libgcc maybe-all-target-libgcc
38814 maybe-all-target-libgcc:
38815 @if gcc-bootstrap
38816 all-target-libgcc: stage_current
38817 @endif gcc-bootstrap
38818 @if target-libgcc
38819 TARGET-target-libgcc=all
38820 maybe-all-target-libgcc: all-target-libgcc
38821 all-target-libgcc: configure-target-libgcc
38822 @r=`${PWD_COMMAND}`; export r; \
38823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38824 $(NORMAL_TARGET_EXPORTS) \
38825 (cd $(TARGET_SUBDIR)/libgcc && \
38826 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38827 $(TARGET-target-libgcc))
38828 @endif target-libgcc
38832 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
38833 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
38834 maybe-all-stage1-target-libgcc:
38835 maybe-clean-stage1-target-libgcc:
38836 @if target-libgcc-bootstrap
38837 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
38838 all-stage1: all-stage1-target-libgcc
38839 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
38840 all-stage1-target-libgcc: configure-stage1-target-libgcc
38841 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38842 @r=`${PWD_COMMAND}`; export r; \
38843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38844 TFLAGS="$(STAGE1_TFLAGS)"; \
38845 $(NORMAL_TARGET_EXPORTS) \
38846 cd $(TARGET_SUBDIR)/libgcc && \
38847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38848 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38849 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38850 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38854 $(EXTRA_TARGET_FLAGS) \
38856 TFLAGS="$(STAGE1_TFLAGS)" \
38857 $(TARGET-stage1-target-libgcc)
38859 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
38860 clean-stage1: clean-stage1-target-libgcc
38861 clean-stage1-target-libgcc:
38862 @if [ $(current_stage) = stage1 ]; then \
38863 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38864 else \
38865 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
38866 $(MAKE) stage1-start; \
38867 fi; \
38868 cd $(TARGET_SUBDIR)/libgcc && \
38869 $(MAKE) $(EXTRA_TARGET_FLAGS) \
38870 clean
38871 @endif target-libgcc-bootstrap
38874 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
38875 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
38876 maybe-all-stage2-target-libgcc:
38877 maybe-clean-stage2-target-libgcc:
38878 @if target-libgcc-bootstrap
38879 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
38880 all-stage2: all-stage2-target-libgcc
38881 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
38882 all-stage2-target-libgcc: configure-stage2-target-libgcc
38883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38884 @r=`${PWD_COMMAND}`; export r; \
38885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38886 TFLAGS="$(STAGE2_TFLAGS)"; \
38887 $(NORMAL_TARGET_EXPORTS) \
38889 cd $(TARGET_SUBDIR)/libgcc && \
38890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38891 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38892 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38893 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38897 $(EXTRA_TARGET_FLAGS) \
38898 TFLAGS="$(STAGE2_TFLAGS)" \
38899 $(TARGET-stage2-target-libgcc)
38901 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
38902 clean-stage2: clean-stage2-target-libgcc
38903 clean-stage2-target-libgcc:
38904 @if [ $(current_stage) = stage2 ]; then \
38905 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38906 else \
38907 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
38908 $(MAKE) stage2-start; \
38909 fi; \
38910 cd $(TARGET_SUBDIR)/libgcc && \
38911 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
38912 @endif target-libgcc-bootstrap
38915 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
38916 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
38917 maybe-all-stage3-target-libgcc:
38918 maybe-clean-stage3-target-libgcc:
38919 @if target-libgcc-bootstrap
38920 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
38921 all-stage3: all-stage3-target-libgcc
38922 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
38923 all-stage3-target-libgcc: configure-stage3-target-libgcc
38924 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38925 @r=`${PWD_COMMAND}`; export r; \
38926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38927 TFLAGS="$(STAGE3_TFLAGS)"; \
38928 $(NORMAL_TARGET_EXPORTS) \
38930 cd $(TARGET_SUBDIR)/libgcc && \
38931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38932 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38933 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38934 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38938 $(EXTRA_TARGET_FLAGS) \
38939 TFLAGS="$(STAGE3_TFLAGS)" \
38940 $(TARGET-stage3-target-libgcc)
38942 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
38943 clean-stage3: clean-stage3-target-libgcc
38944 clean-stage3-target-libgcc:
38945 @if [ $(current_stage) = stage3 ]; then \
38946 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38947 else \
38948 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
38949 $(MAKE) stage3-start; \
38950 fi; \
38951 cd $(TARGET_SUBDIR)/libgcc && \
38952 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
38953 @endif target-libgcc-bootstrap
38956 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
38957 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
38958 maybe-all-stage4-target-libgcc:
38959 maybe-clean-stage4-target-libgcc:
38960 @if target-libgcc-bootstrap
38961 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
38962 all-stage4: all-stage4-target-libgcc
38963 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
38964 all-stage4-target-libgcc: configure-stage4-target-libgcc
38965 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38966 @r=`${PWD_COMMAND}`; export r; \
38967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38968 TFLAGS="$(STAGE4_TFLAGS)"; \
38969 $(NORMAL_TARGET_EXPORTS) \
38971 cd $(TARGET_SUBDIR)/libgcc && \
38972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38973 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38974 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38975 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38979 $(EXTRA_TARGET_FLAGS) \
38980 TFLAGS="$(STAGE4_TFLAGS)" \
38981 $(TARGET-stage4-target-libgcc)
38983 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
38984 clean-stage4: clean-stage4-target-libgcc
38985 clean-stage4-target-libgcc:
38986 @if [ $(current_stage) = stage4 ]; then \
38987 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38988 else \
38989 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
38990 $(MAKE) stage4-start; \
38991 fi; \
38992 cd $(TARGET_SUBDIR)/libgcc && \
38993 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
38994 @endif target-libgcc-bootstrap
38997 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
38998 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
38999 maybe-all-stageprofile-target-libgcc:
39000 maybe-clean-stageprofile-target-libgcc:
39001 @if target-libgcc-bootstrap
39002 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
39003 all-stageprofile: all-stageprofile-target-libgcc
39004 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
39005 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
39006 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39007 @r=`${PWD_COMMAND}`; export r; \
39008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39009 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39010 $(NORMAL_TARGET_EXPORTS) \
39012 cd $(TARGET_SUBDIR)/libgcc && \
39013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39014 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39015 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39016 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39020 $(EXTRA_TARGET_FLAGS) \
39021 TFLAGS="$(STAGEprofile_TFLAGS)" \
39022 $(TARGET-stageprofile-target-libgcc)
39024 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
39025 clean-stageprofile: clean-stageprofile-target-libgcc
39026 clean-stageprofile-target-libgcc:
39027 @if [ $(current_stage) = stageprofile ]; then \
39028 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39029 else \
39030 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
39031 $(MAKE) stageprofile-start; \
39032 fi; \
39033 cd $(TARGET_SUBDIR)/libgcc && \
39034 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39035 @endif target-libgcc-bootstrap
39038 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
39039 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
39040 maybe-all-stagefeedback-target-libgcc:
39041 maybe-clean-stagefeedback-target-libgcc:
39042 @if target-libgcc-bootstrap
39043 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
39044 all-stagefeedback: all-stagefeedback-target-libgcc
39045 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
39046 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
39047 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39048 @r=`${PWD_COMMAND}`; export r; \
39049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39050 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39051 $(NORMAL_TARGET_EXPORTS) \
39053 cd $(TARGET_SUBDIR)/libgcc && \
39054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39055 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39056 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39057 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39061 $(EXTRA_TARGET_FLAGS) \
39062 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39063 $(TARGET-stagefeedback-target-libgcc)
39065 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
39066 clean-stagefeedback: clean-stagefeedback-target-libgcc
39067 clean-stagefeedback-target-libgcc:
39068 @if [ $(current_stage) = stagefeedback ]; then \
39069 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39070 else \
39071 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
39072 $(MAKE) stagefeedback-start; \
39073 fi; \
39074 cd $(TARGET_SUBDIR)/libgcc && \
39075 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39076 @endif target-libgcc-bootstrap
39083 .PHONY: check-target-libgcc maybe-check-target-libgcc
39084 maybe-check-target-libgcc:
39085 @if target-libgcc
39086 maybe-check-target-libgcc: check-target-libgcc
39088 # Dummy target for uncheckable module.
39089 check-target-libgcc:
39091 @endif target-libgcc
39093 .PHONY: install-target-libgcc maybe-install-target-libgcc
39094 maybe-install-target-libgcc:
39095 @if target-libgcc
39096 maybe-install-target-libgcc: install-target-libgcc
39098 install-target-libgcc: installdirs
39099 @: $(MAKE); $(unstage)
39100 @r=`${PWD_COMMAND}`; export r; \
39101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39102 $(NORMAL_TARGET_EXPORTS) \
39103 (cd $(TARGET_SUBDIR)/libgcc && \
39104 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39106 @endif target-libgcc
39108 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
39109 maybe-install-strip-target-libgcc:
39110 @if target-libgcc
39111 maybe-install-strip-target-libgcc: install-strip-target-libgcc
39113 install-strip-target-libgcc: installdirs
39114 @: $(MAKE); $(unstage)
39115 @r=`${PWD_COMMAND}`; export r; \
39116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39117 $(NORMAL_TARGET_EXPORTS) \
39118 (cd $(TARGET_SUBDIR)/libgcc && \
39119 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39121 @endif target-libgcc
39123 # Other targets (info, dvi, pdf, etc.)
39125 .PHONY: maybe-info-target-libgcc info-target-libgcc
39126 maybe-info-target-libgcc:
39127 @if target-libgcc
39128 maybe-info-target-libgcc: info-target-libgcc
39130 info-target-libgcc: \
39131 configure-target-libgcc
39132 @: $(MAKE); $(unstage)
39133 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39134 r=`${PWD_COMMAND}`; export r; \
39135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39136 $(NORMAL_TARGET_EXPORTS) \
39137 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
39138 for flag in $(EXTRA_TARGET_FLAGS); do \
39139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39140 done; \
39141 (cd $(TARGET_SUBDIR)/libgcc && \
39142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39144 "RANLIB=$${RANLIB}" \
39145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39146 info) \
39147 || exit 1
39149 @endif target-libgcc
39151 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
39152 maybe-dvi-target-libgcc:
39153 @if target-libgcc
39154 maybe-dvi-target-libgcc: dvi-target-libgcc
39156 dvi-target-libgcc: \
39157 configure-target-libgcc
39158 @: $(MAKE); $(unstage)
39159 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39160 r=`${PWD_COMMAND}`; export r; \
39161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39162 $(NORMAL_TARGET_EXPORTS) \
39163 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
39164 for flag in $(EXTRA_TARGET_FLAGS); do \
39165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39166 done; \
39167 (cd $(TARGET_SUBDIR)/libgcc && \
39168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39170 "RANLIB=$${RANLIB}" \
39171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39172 dvi) \
39173 || exit 1
39175 @endif target-libgcc
39177 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
39178 maybe-pdf-target-libgcc:
39179 @if target-libgcc
39180 maybe-pdf-target-libgcc: pdf-target-libgcc
39182 pdf-target-libgcc: \
39183 configure-target-libgcc
39184 @: $(MAKE); $(unstage)
39185 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39186 r=`${PWD_COMMAND}`; export r; \
39187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39188 $(NORMAL_TARGET_EXPORTS) \
39189 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
39190 for flag in $(EXTRA_TARGET_FLAGS); do \
39191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39192 done; \
39193 (cd $(TARGET_SUBDIR)/libgcc && \
39194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39196 "RANLIB=$${RANLIB}" \
39197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39198 pdf) \
39199 || exit 1
39201 @endif target-libgcc
39203 .PHONY: maybe-html-target-libgcc html-target-libgcc
39204 maybe-html-target-libgcc:
39205 @if target-libgcc
39206 maybe-html-target-libgcc: html-target-libgcc
39208 html-target-libgcc: \
39209 configure-target-libgcc
39210 @: $(MAKE); $(unstage)
39211 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39212 r=`${PWD_COMMAND}`; export r; \
39213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39214 $(NORMAL_TARGET_EXPORTS) \
39215 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
39216 for flag in $(EXTRA_TARGET_FLAGS); do \
39217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39218 done; \
39219 (cd $(TARGET_SUBDIR)/libgcc && \
39220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39222 "RANLIB=$${RANLIB}" \
39223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39224 html) \
39225 || exit 1
39227 @endif target-libgcc
39229 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
39230 maybe-TAGS-target-libgcc:
39231 @if target-libgcc
39232 maybe-TAGS-target-libgcc: TAGS-target-libgcc
39234 TAGS-target-libgcc: \
39235 configure-target-libgcc
39236 @: $(MAKE); $(unstage)
39237 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39238 r=`${PWD_COMMAND}`; export r; \
39239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39240 $(NORMAL_TARGET_EXPORTS) \
39241 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
39242 for flag in $(EXTRA_TARGET_FLAGS); do \
39243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39244 done; \
39245 (cd $(TARGET_SUBDIR)/libgcc && \
39246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39248 "RANLIB=$${RANLIB}" \
39249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39250 TAGS) \
39251 || exit 1
39253 @endif target-libgcc
39255 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
39256 maybe-install-info-target-libgcc:
39257 @if target-libgcc
39258 maybe-install-info-target-libgcc: install-info-target-libgcc
39260 install-info-target-libgcc: \
39261 configure-target-libgcc \
39262 info-target-libgcc
39263 @: $(MAKE); $(unstage)
39264 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39265 r=`${PWD_COMMAND}`; export r; \
39266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39267 $(NORMAL_TARGET_EXPORTS) \
39268 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
39269 for flag in $(EXTRA_TARGET_FLAGS); do \
39270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39271 done; \
39272 (cd $(TARGET_SUBDIR)/libgcc && \
39273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39275 "RANLIB=$${RANLIB}" \
39276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39277 install-info) \
39278 || exit 1
39280 @endif target-libgcc
39282 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
39283 maybe-install-pdf-target-libgcc:
39284 @if target-libgcc
39285 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
39287 install-pdf-target-libgcc: \
39288 configure-target-libgcc \
39289 pdf-target-libgcc
39290 @: $(MAKE); $(unstage)
39291 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39292 r=`${PWD_COMMAND}`; export r; \
39293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39294 $(NORMAL_TARGET_EXPORTS) \
39295 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
39296 for flag in $(EXTRA_TARGET_FLAGS); do \
39297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39298 done; \
39299 (cd $(TARGET_SUBDIR)/libgcc && \
39300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39302 "RANLIB=$${RANLIB}" \
39303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39304 install-pdf) \
39305 || exit 1
39307 @endif target-libgcc
39309 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
39310 maybe-install-html-target-libgcc:
39311 @if target-libgcc
39312 maybe-install-html-target-libgcc: install-html-target-libgcc
39314 install-html-target-libgcc: \
39315 configure-target-libgcc \
39316 html-target-libgcc
39317 @: $(MAKE); $(unstage)
39318 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39319 r=`${PWD_COMMAND}`; export r; \
39320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39321 $(NORMAL_TARGET_EXPORTS) \
39322 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
39323 for flag in $(EXTRA_TARGET_FLAGS); do \
39324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39325 done; \
39326 (cd $(TARGET_SUBDIR)/libgcc && \
39327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39329 "RANLIB=$${RANLIB}" \
39330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39331 install-html) \
39332 || exit 1
39334 @endif target-libgcc
39336 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
39337 maybe-installcheck-target-libgcc:
39338 @if target-libgcc
39339 maybe-installcheck-target-libgcc: installcheck-target-libgcc
39341 installcheck-target-libgcc: \
39342 configure-target-libgcc
39343 @: $(MAKE); $(unstage)
39344 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39345 r=`${PWD_COMMAND}`; export r; \
39346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39347 $(NORMAL_TARGET_EXPORTS) \
39348 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
39349 for flag in $(EXTRA_TARGET_FLAGS); do \
39350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39351 done; \
39352 (cd $(TARGET_SUBDIR)/libgcc && \
39353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39355 "RANLIB=$${RANLIB}" \
39356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39357 installcheck) \
39358 || exit 1
39360 @endif target-libgcc
39362 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
39363 maybe-mostlyclean-target-libgcc:
39364 @if target-libgcc
39365 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
39367 mostlyclean-target-libgcc:
39368 @: $(MAKE); $(unstage)
39369 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39370 r=`${PWD_COMMAND}`; export r; \
39371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39372 $(NORMAL_TARGET_EXPORTS) \
39373 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
39374 for flag in $(EXTRA_TARGET_FLAGS); do \
39375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39376 done; \
39377 (cd $(TARGET_SUBDIR)/libgcc && \
39378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39380 "RANLIB=$${RANLIB}" \
39381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39382 mostlyclean) \
39383 || exit 1
39385 @endif target-libgcc
39387 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
39388 maybe-clean-target-libgcc:
39389 @if target-libgcc
39390 maybe-clean-target-libgcc: clean-target-libgcc
39392 clean-target-libgcc:
39393 @: $(MAKE); $(unstage)
39394 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39395 r=`${PWD_COMMAND}`; export r; \
39396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39397 $(NORMAL_TARGET_EXPORTS) \
39398 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
39399 for flag in $(EXTRA_TARGET_FLAGS); do \
39400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39401 done; \
39402 (cd $(TARGET_SUBDIR)/libgcc && \
39403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39405 "RANLIB=$${RANLIB}" \
39406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39407 clean) \
39408 || exit 1
39410 @endif target-libgcc
39412 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
39413 maybe-distclean-target-libgcc:
39414 @if target-libgcc
39415 maybe-distclean-target-libgcc: distclean-target-libgcc
39417 distclean-target-libgcc:
39418 @: $(MAKE); $(unstage)
39419 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39420 r=`${PWD_COMMAND}`; export r; \
39421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39422 $(NORMAL_TARGET_EXPORTS) \
39423 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
39424 for flag in $(EXTRA_TARGET_FLAGS); do \
39425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39426 done; \
39427 (cd $(TARGET_SUBDIR)/libgcc && \
39428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39430 "RANLIB=$${RANLIB}" \
39431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39432 distclean) \
39433 || exit 1
39435 @endif target-libgcc
39437 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
39438 maybe-maintainer-clean-target-libgcc:
39439 @if target-libgcc
39440 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
39442 maintainer-clean-target-libgcc:
39443 @: $(MAKE); $(unstage)
39444 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39445 r=`${PWD_COMMAND}`; export r; \
39446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39447 $(NORMAL_TARGET_EXPORTS) \
39448 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
39449 for flag in $(EXTRA_TARGET_FLAGS); do \
39450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39451 done; \
39452 (cd $(TARGET_SUBDIR)/libgcc && \
39453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39455 "RANLIB=$${RANLIB}" \
39456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39457 maintainer-clean) \
39458 || exit 1
39460 @endif target-libgcc
39466 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
39467 maybe-configure-target-libbacktrace:
39468 @if gcc-bootstrap
39469 configure-target-libbacktrace: stage_current
39470 @endif gcc-bootstrap
39471 @if target-libbacktrace
39472 maybe-configure-target-libbacktrace: configure-target-libbacktrace
39473 configure-target-libbacktrace:
39474 @: $(MAKE); $(unstage)
39475 @r=`${PWD_COMMAND}`; export r; \
39476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39477 echo "Checking multilib configuration for libbacktrace..."; \
39478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
39479 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
39480 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
39481 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
39482 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
39483 else \
39484 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
39485 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
39486 fi; \
39487 else \
39488 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
39489 fi; \
39490 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
39491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
39492 $(NORMAL_TARGET_EXPORTS) \
39493 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
39494 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
39495 case $(srcdir) in \
39496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39497 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
39498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39499 esac; \
39500 module_srcdir=libbacktrace; \
39501 rm -f no-such-file || : ; \
39502 CONFIG_SITE=no-such-file $(SHELL) \
39503 $$s/$$module_srcdir/configure \
39504 --srcdir=$${topdir}/$$module_srcdir \
39505 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39506 --target=${target_alias} \
39507 || exit 1
39508 @endif target-libbacktrace
39514 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
39515 maybe-all-target-libbacktrace:
39516 @if gcc-bootstrap
39517 all-target-libbacktrace: stage_current
39518 @endif gcc-bootstrap
39519 @if target-libbacktrace
39520 TARGET-target-libbacktrace=all
39521 maybe-all-target-libbacktrace: all-target-libbacktrace
39522 all-target-libbacktrace: configure-target-libbacktrace
39523 @: $(MAKE); $(unstage)
39524 @r=`${PWD_COMMAND}`; export r; \
39525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39526 $(NORMAL_TARGET_EXPORTS) \
39527 (cd $(TARGET_SUBDIR)/libbacktrace && \
39528 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39529 $(TARGET-target-libbacktrace))
39530 @endif target-libbacktrace
39536 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
39537 maybe-check-target-libbacktrace:
39538 @if target-libbacktrace
39539 maybe-check-target-libbacktrace: check-target-libbacktrace
39541 check-target-libbacktrace:
39542 @: $(MAKE); $(unstage)
39543 @r=`${PWD_COMMAND}`; export r; \
39544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39545 $(NORMAL_TARGET_EXPORTS) \
39546 (cd $(TARGET_SUBDIR)/libbacktrace && \
39547 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39549 @endif target-libbacktrace
39551 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
39552 maybe-install-target-libbacktrace:
39553 @if target-libbacktrace
39554 maybe-install-target-libbacktrace: install-target-libbacktrace
39556 install-target-libbacktrace: installdirs
39557 @: $(MAKE); $(unstage)
39558 @r=`${PWD_COMMAND}`; export r; \
39559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39560 $(NORMAL_TARGET_EXPORTS) \
39561 (cd $(TARGET_SUBDIR)/libbacktrace && \
39562 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39564 @endif target-libbacktrace
39566 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
39567 maybe-install-strip-target-libbacktrace:
39568 @if target-libbacktrace
39569 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
39571 install-strip-target-libbacktrace: installdirs
39572 @: $(MAKE); $(unstage)
39573 @r=`${PWD_COMMAND}`; export r; \
39574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39575 $(NORMAL_TARGET_EXPORTS) \
39576 (cd $(TARGET_SUBDIR)/libbacktrace && \
39577 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39579 @endif target-libbacktrace
39581 # Other targets (info, dvi, pdf, etc.)
39583 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
39584 maybe-info-target-libbacktrace:
39585 @if target-libbacktrace
39586 maybe-info-target-libbacktrace: info-target-libbacktrace
39588 info-target-libbacktrace: \
39589 configure-target-libbacktrace
39590 @: $(MAKE); $(unstage)
39591 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39592 r=`${PWD_COMMAND}`; export r; \
39593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39594 $(NORMAL_TARGET_EXPORTS) \
39595 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
39596 for flag in $(EXTRA_TARGET_FLAGS); do \
39597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39598 done; \
39599 (cd $(TARGET_SUBDIR)/libbacktrace && \
39600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39602 "RANLIB=$${RANLIB}" \
39603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39604 info) \
39605 || exit 1
39607 @endif target-libbacktrace
39609 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
39610 maybe-dvi-target-libbacktrace:
39611 @if target-libbacktrace
39612 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
39614 dvi-target-libbacktrace: \
39615 configure-target-libbacktrace
39616 @: $(MAKE); $(unstage)
39617 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39618 r=`${PWD_COMMAND}`; export r; \
39619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39620 $(NORMAL_TARGET_EXPORTS) \
39621 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
39622 for flag in $(EXTRA_TARGET_FLAGS); do \
39623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39624 done; \
39625 (cd $(TARGET_SUBDIR)/libbacktrace && \
39626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39628 "RANLIB=$${RANLIB}" \
39629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39630 dvi) \
39631 || exit 1
39633 @endif target-libbacktrace
39635 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
39636 maybe-pdf-target-libbacktrace:
39637 @if target-libbacktrace
39638 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
39640 pdf-target-libbacktrace: \
39641 configure-target-libbacktrace
39642 @: $(MAKE); $(unstage)
39643 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39644 r=`${PWD_COMMAND}`; export r; \
39645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39646 $(NORMAL_TARGET_EXPORTS) \
39647 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
39648 for flag in $(EXTRA_TARGET_FLAGS); do \
39649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39650 done; \
39651 (cd $(TARGET_SUBDIR)/libbacktrace && \
39652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39654 "RANLIB=$${RANLIB}" \
39655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39656 pdf) \
39657 || exit 1
39659 @endif target-libbacktrace
39661 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
39662 maybe-html-target-libbacktrace:
39663 @if target-libbacktrace
39664 maybe-html-target-libbacktrace: html-target-libbacktrace
39666 html-target-libbacktrace: \
39667 configure-target-libbacktrace
39668 @: $(MAKE); $(unstage)
39669 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39670 r=`${PWD_COMMAND}`; export r; \
39671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39672 $(NORMAL_TARGET_EXPORTS) \
39673 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
39674 for flag in $(EXTRA_TARGET_FLAGS); do \
39675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39676 done; \
39677 (cd $(TARGET_SUBDIR)/libbacktrace && \
39678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39680 "RANLIB=$${RANLIB}" \
39681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39682 html) \
39683 || exit 1
39685 @endif target-libbacktrace
39687 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
39688 maybe-TAGS-target-libbacktrace:
39689 @if target-libbacktrace
39690 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
39692 TAGS-target-libbacktrace: \
39693 configure-target-libbacktrace
39694 @: $(MAKE); $(unstage)
39695 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39696 r=`${PWD_COMMAND}`; export r; \
39697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39698 $(NORMAL_TARGET_EXPORTS) \
39699 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
39700 for flag in $(EXTRA_TARGET_FLAGS); do \
39701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39702 done; \
39703 (cd $(TARGET_SUBDIR)/libbacktrace && \
39704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39706 "RANLIB=$${RANLIB}" \
39707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39708 TAGS) \
39709 || exit 1
39711 @endif target-libbacktrace
39713 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
39714 maybe-install-info-target-libbacktrace:
39715 @if target-libbacktrace
39716 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
39718 install-info-target-libbacktrace: \
39719 configure-target-libbacktrace \
39720 info-target-libbacktrace
39721 @: $(MAKE); $(unstage)
39722 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39723 r=`${PWD_COMMAND}`; export r; \
39724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39725 $(NORMAL_TARGET_EXPORTS) \
39726 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
39727 for flag in $(EXTRA_TARGET_FLAGS); do \
39728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39729 done; \
39730 (cd $(TARGET_SUBDIR)/libbacktrace && \
39731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39733 "RANLIB=$${RANLIB}" \
39734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39735 install-info) \
39736 || exit 1
39738 @endif target-libbacktrace
39740 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
39741 maybe-install-pdf-target-libbacktrace:
39742 @if target-libbacktrace
39743 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
39745 install-pdf-target-libbacktrace: \
39746 configure-target-libbacktrace \
39747 pdf-target-libbacktrace
39748 @: $(MAKE); $(unstage)
39749 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39750 r=`${PWD_COMMAND}`; export r; \
39751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39752 $(NORMAL_TARGET_EXPORTS) \
39753 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
39754 for flag in $(EXTRA_TARGET_FLAGS); do \
39755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39756 done; \
39757 (cd $(TARGET_SUBDIR)/libbacktrace && \
39758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39760 "RANLIB=$${RANLIB}" \
39761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39762 install-pdf) \
39763 || exit 1
39765 @endif target-libbacktrace
39767 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
39768 maybe-install-html-target-libbacktrace:
39769 @if target-libbacktrace
39770 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
39772 install-html-target-libbacktrace: \
39773 configure-target-libbacktrace \
39774 html-target-libbacktrace
39775 @: $(MAKE); $(unstage)
39776 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39777 r=`${PWD_COMMAND}`; export r; \
39778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39779 $(NORMAL_TARGET_EXPORTS) \
39780 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
39781 for flag in $(EXTRA_TARGET_FLAGS); do \
39782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39783 done; \
39784 (cd $(TARGET_SUBDIR)/libbacktrace && \
39785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39787 "RANLIB=$${RANLIB}" \
39788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39789 install-html) \
39790 || exit 1
39792 @endif target-libbacktrace
39794 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
39795 maybe-installcheck-target-libbacktrace:
39796 @if target-libbacktrace
39797 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
39799 installcheck-target-libbacktrace: \
39800 configure-target-libbacktrace
39801 @: $(MAKE); $(unstage)
39802 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39803 r=`${PWD_COMMAND}`; export r; \
39804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39805 $(NORMAL_TARGET_EXPORTS) \
39806 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
39807 for flag in $(EXTRA_TARGET_FLAGS); do \
39808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39809 done; \
39810 (cd $(TARGET_SUBDIR)/libbacktrace && \
39811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39813 "RANLIB=$${RANLIB}" \
39814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39815 installcheck) \
39816 || exit 1
39818 @endif target-libbacktrace
39820 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
39821 maybe-mostlyclean-target-libbacktrace:
39822 @if target-libbacktrace
39823 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
39825 mostlyclean-target-libbacktrace:
39826 @: $(MAKE); $(unstage)
39827 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39828 r=`${PWD_COMMAND}`; export r; \
39829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39830 $(NORMAL_TARGET_EXPORTS) \
39831 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
39832 for flag in $(EXTRA_TARGET_FLAGS); do \
39833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39834 done; \
39835 (cd $(TARGET_SUBDIR)/libbacktrace && \
39836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39838 "RANLIB=$${RANLIB}" \
39839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39840 mostlyclean) \
39841 || exit 1
39843 @endif target-libbacktrace
39845 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
39846 maybe-clean-target-libbacktrace:
39847 @if target-libbacktrace
39848 maybe-clean-target-libbacktrace: clean-target-libbacktrace
39850 clean-target-libbacktrace:
39851 @: $(MAKE); $(unstage)
39852 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39853 r=`${PWD_COMMAND}`; export r; \
39854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39855 $(NORMAL_TARGET_EXPORTS) \
39856 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
39857 for flag in $(EXTRA_TARGET_FLAGS); do \
39858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39859 done; \
39860 (cd $(TARGET_SUBDIR)/libbacktrace && \
39861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39863 "RANLIB=$${RANLIB}" \
39864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39865 clean) \
39866 || exit 1
39868 @endif target-libbacktrace
39870 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
39871 maybe-distclean-target-libbacktrace:
39872 @if target-libbacktrace
39873 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
39875 distclean-target-libbacktrace:
39876 @: $(MAKE); $(unstage)
39877 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39878 r=`${PWD_COMMAND}`; export r; \
39879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39880 $(NORMAL_TARGET_EXPORTS) \
39881 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
39882 for flag in $(EXTRA_TARGET_FLAGS); do \
39883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39884 done; \
39885 (cd $(TARGET_SUBDIR)/libbacktrace && \
39886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39888 "RANLIB=$${RANLIB}" \
39889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39890 distclean) \
39891 || exit 1
39893 @endif target-libbacktrace
39895 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
39896 maybe-maintainer-clean-target-libbacktrace:
39897 @if target-libbacktrace
39898 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
39900 maintainer-clean-target-libbacktrace:
39901 @: $(MAKE); $(unstage)
39902 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39903 r=`${PWD_COMMAND}`; export r; \
39904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39905 $(NORMAL_TARGET_EXPORTS) \
39906 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
39907 for flag in $(EXTRA_TARGET_FLAGS); do \
39908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39909 done; \
39910 (cd $(TARGET_SUBDIR)/libbacktrace && \
39911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39913 "RANLIB=$${RANLIB}" \
39914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39915 maintainer-clean) \
39916 || exit 1
39918 @endif target-libbacktrace
39924 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
39925 maybe-configure-target-libquadmath:
39926 @if gcc-bootstrap
39927 configure-target-libquadmath: stage_current
39928 @endif gcc-bootstrap
39929 @if target-libquadmath
39930 maybe-configure-target-libquadmath: configure-target-libquadmath
39931 configure-target-libquadmath:
39932 @: $(MAKE); $(unstage)
39933 @r=`${PWD_COMMAND}`; export r; \
39934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39935 echo "Checking multilib configuration for libquadmath..."; \
39936 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
39937 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
39938 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
39939 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
39940 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
39941 else \
39942 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
39943 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
39944 fi; \
39945 else \
39946 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
39947 fi; \
39948 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
39949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
39950 $(NORMAL_TARGET_EXPORTS) \
39951 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
39952 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
39953 case $(srcdir) in \
39954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39955 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
39956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39957 esac; \
39958 module_srcdir=libquadmath; \
39959 rm -f no-such-file || : ; \
39960 CONFIG_SITE=no-such-file $(SHELL) \
39961 $$s/$$module_srcdir/configure \
39962 --srcdir=$${topdir}/$$module_srcdir \
39963 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39964 --target=${target_alias} \
39965 || exit 1
39966 @endif target-libquadmath
39972 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
39973 maybe-all-target-libquadmath:
39974 @if gcc-bootstrap
39975 all-target-libquadmath: stage_current
39976 @endif gcc-bootstrap
39977 @if target-libquadmath
39978 TARGET-target-libquadmath=all
39979 maybe-all-target-libquadmath: all-target-libquadmath
39980 all-target-libquadmath: configure-target-libquadmath
39981 @: $(MAKE); $(unstage)
39982 @r=`${PWD_COMMAND}`; export r; \
39983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39984 $(NORMAL_TARGET_EXPORTS) \
39985 (cd $(TARGET_SUBDIR)/libquadmath && \
39986 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39987 $(TARGET-target-libquadmath))
39988 @endif target-libquadmath
39994 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
39995 maybe-check-target-libquadmath:
39996 @if target-libquadmath
39997 maybe-check-target-libquadmath: check-target-libquadmath
39999 check-target-libquadmath:
40000 @: $(MAKE); $(unstage)
40001 @r=`${PWD_COMMAND}`; export r; \
40002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40003 $(NORMAL_TARGET_EXPORTS) \
40004 (cd $(TARGET_SUBDIR)/libquadmath && \
40005 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40007 @endif target-libquadmath
40009 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
40010 maybe-install-target-libquadmath:
40011 @if target-libquadmath
40012 maybe-install-target-libquadmath: install-target-libquadmath
40014 install-target-libquadmath: installdirs
40015 @: $(MAKE); $(unstage)
40016 @r=`${PWD_COMMAND}`; export r; \
40017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40018 $(NORMAL_TARGET_EXPORTS) \
40019 (cd $(TARGET_SUBDIR)/libquadmath && \
40020 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40022 @endif target-libquadmath
40024 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
40025 maybe-install-strip-target-libquadmath:
40026 @if target-libquadmath
40027 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
40029 install-strip-target-libquadmath: installdirs
40030 @: $(MAKE); $(unstage)
40031 @r=`${PWD_COMMAND}`; export r; \
40032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40033 $(NORMAL_TARGET_EXPORTS) \
40034 (cd $(TARGET_SUBDIR)/libquadmath && \
40035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40037 @endif target-libquadmath
40039 # Other targets (info, dvi, pdf, etc.)
40041 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
40042 maybe-info-target-libquadmath:
40043 @if target-libquadmath
40044 maybe-info-target-libquadmath: info-target-libquadmath
40046 info-target-libquadmath: \
40047 configure-target-libquadmath
40048 @: $(MAKE); $(unstage)
40049 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40050 r=`${PWD_COMMAND}`; export r; \
40051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40052 $(NORMAL_TARGET_EXPORTS) \
40053 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
40054 for flag in $(EXTRA_TARGET_FLAGS); do \
40055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40056 done; \
40057 (cd $(TARGET_SUBDIR)/libquadmath && \
40058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40060 "RANLIB=$${RANLIB}" \
40061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40062 info) \
40063 || exit 1
40065 @endif target-libquadmath
40067 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
40068 maybe-dvi-target-libquadmath:
40069 @if target-libquadmath
40070 maybe-dvi-target-libquadmath: dvi-target-libquadmath
40072 dvi-target-libquadmath: \
40073 configure-target-libquadmath
40074 @: $(MAKE); $(unstage)
40075 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40076 r=`${PWD_COMMAND}`; export r; \
40077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40078 $(NORMAL_TARGET_EXPORTS) \
40079 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
40080 for flag in $(EXTRA_TARGET_FLAGS); do \
40081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40082 done; \
40083 (cd $(TARGET_SUBDIR)/libquadmath && \
40084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40086 "RANLIB=$${RANLIB}" \
40087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40088 dvi) \
40089 || exit 1
40091 @endif target-libquadmath
40093 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
40094 maybe-pdf-target-libquadmath:
40095 @if target-libquadmath
40096 maybe-pdf-target-libquadmath: pdf-target-libquadmath
40098 pdf-target-libquadmath: \
40099 configure-target-libquadmath
40100 @: $(MAKE); $(unstage)
40101 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40102 r=`${PWD_COMMAND}`; export r; \
40103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40104 $(NORMAL_TARGET_EXPORTS) \
40105 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
40106 for flag in $(EXTRA_TARGET_FLAGS); do \
40107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40108 done; \
40109 (cd $(TARGET_SUBDIR)/libquadmath && \
40110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40112 "RANLIB=$${RANLIB}" \
40113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40114 pdf) \
40115 || exit 1
40117 @endif target-libquadmath
40119 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
40120 maybe-html-target-libquadmath:
40121 @if target-libquadmath
40122 maybe-html-target-libquadmath: html-target-libquadmath
40124 html-target-libquadmath: \
40125 configure-target-libquadmath
40126 @: $(MAKE); $(unstage)
40127 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40128 r=`${PWD_COMMAND}`; export r; \
40129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40130 $(NORMAL_TARGET_EXPORTS) \
40131 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
40132 for flag in $(EXTRA_TARGET_FLAGS); do \
40133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40134 done; \
40135 (cd $(TARGET_SUBDIR)/libquadmath && \
40136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40138 "RANLIB=$${RANLIB}" \
40139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40140 html) \
40141 || exit 1
40143 @endif target-libquadmath
40145 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
40146 maybe-TAGS-target-libquadmath:
40147 @if target-libquadmath
40148 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
40150 TAGS-target-libquadmath: \
40151 configure-target-libquadmath
40152 @: $(MAKE); $(unstage)
40153 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40154 r=`${PWD_COMMAND}`; export r; \
40155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40156 $(NORMAL_TARGET_EXPORTS) \
40157 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
40158 for flag in $(EXTRA_TARGET_FLAGS); do \
40159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40160 done; \
40161 (cd $(TARGET_SUBDIR)/libquadmath && \
40162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40164 "RANLIB=$${RANLIB}" \
40165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40166 TAGS) \
40167 || exit 1
40169 @endif target-libquadmath
40171 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
40172 maybe-install-info-target-libquadmath:
40173 @if target-libquadmath
40174 maybe-install-info-target-libquadmath: install-info-target-libquadmath
40176 install-info-target-libquadmath: \
40177 configure-target-libquadmath \
40178 info-target-libquadmath
40179 @: $(MAKE); $(unstage)
40180 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40181 r=`${PWD_COMMAND}`; export r; \
40182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40183 $(NORMAL_TARGET_EXPORTS) \
40184 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
40185 for flag in $(EXTRA_TARGET_FLAGS); do \
40186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40187 done; \
40188 (cd $(TARGET_SUBDIR)/libquadmath && \
40189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40191 "RANLIB=$${RANLIB}" \
40192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40193 install-info) \
40194 || exit 1
40196 @endif target-libquadmath
40198 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
40199 maybe-install-pdf-target-libquadmath:
40200 @if target-libquadmath
40201 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
40203 install-pdf-target-libquadmath: \
40204 configure-target-libquadmath \
40205 pdf-target-libquadmath
40206 @: $(MAKE); $(unstage)
40207 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40208 r=`${PWD_COMMAND}`; export r; \
40209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40210 $(NORMAL_TARGET_EXPORTS) \
40211 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
40212 for flag in $(EXTRA_TARGET_FLAGS); do \
40213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40214 done; \
40215 (cd $(TARGET_SUBDIR)/libquadmath && \
40216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40218 "RANLIB=$${RANLIB}" \
40219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40220 install-pdf) \
40221 || exit 1
40223 @endif target-libquadmath
40225 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
40226 maybe-install-html-target-libquadmath:
40227 @if target-libquadmath
40228 maybe-install-html-target-libquadmath: install-html-target-libquadmath
40230 install-html-target-libquadmath: \
40231 configure-target-libquadmath \
40232 html-target-libquadmath
40233 @: $(MAKE); $(unstage)
40234 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40235 r=`${PWD_COMMAND}`; export r; \
40236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40237 $(NORMAL_TARGET_EXPORTS) \
40238 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
40239 for flag in $(EXTRA_TARGET_FLAGS); do \
40240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40241 done; \
40242 (cd $(TARGET_SUBDIR)/libquadmath && \
40243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40245 "RANLIB=$${RANLIB}" \
40246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40247 install-html) \
40248 || exit 1
40250 @endif target-libquadmath
40252 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
40253 maybe-installcheck-target-libquadmath:
40254 @if target-libquadmath
40255 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
40257 installcheck-target-libquadmath: \
40258 configure-target-libquadmath
40259 @: $(MAKE); $(unstage)
40260 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40261 r=`${PWD_COMMAND}`; export r; \
40262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40263 $(NORMAL_TARGET_EXPORTS) \
40264 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
40265 for flag in $(EXTRA_TARGET_FLAGS); do \
40266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40267 done; \
40268 (cd $(TARGET_SUBDIR)/libquadmath && \
40269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40271 "RANLIB=$${RANLIB}" \
40272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40273 installcheck) \
40274 || exit 1
40276 @endif target-libquadmath
40278 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
40279 maybe-mostlyclean-target-libquadmath:
40280 @if target-libquadmath
40281 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
40283 mostlyclean-target-libquadmath:
40284 @: $(MAKE); $(unstage)
40285 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40286 r=`${PWD_COMMAND}`; export r; \
40287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40288 $(NORMAL_TARGET_EXPORTS) \
40289 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
40290 for flag in $(EXTRA_TARGET_FLAGS); do \
40291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40292 done; \
40293 (cd $(TARGET_SUBDIR)/libquadmath && \
40294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40296 "RANLIB=$${RANLIB}" \
40297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40298 mostlyclean) \
40299 || exit 1
40301 @endif target-libquadmath
40303 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
40304 maybe-clean-target-libquadmath:
40305 @if target-libquadmath
40306 maybe-clean-target-libquadmath: clean-target-libquadmath
40308 clean-target-libquadmath:
40309 @: $(MAKE); $(unstage)
40310 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40311 r=`${PWD_COMMAND}`; export r; \
40312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40313 $(NORMAL_TARGET_EXPORTS) \
40314 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
40315 for flag in $(EXTRA_TARGET_FLAGS); do \
40316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40317 done; \
40318 (cd $(TARGET_SUBDIR)/libquadmath && \
40319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40321 "RANLIB=$${RANLIB}" \
40322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40323 clean) \
40324 || exit 1
40326 @endif target-libquadmath
40328 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
40329 maybe-distclean-target-libquadmath:
40330 @if target-libquadmath
40331 maybe-distclean-target-libquadmath: distclean-target-libquadmath
40333 distclean-target-libquadmath:
40334 @: $(MAKE); $(unstage)
40335 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40336 r=`${PWD_COMMAND}`; export r; \
40337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40338 $(NORMAL_TARGET_EXPORTS) \
40339 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
40340 for flag in $(EXTRA_TARGET_FLAGS); do \
40341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40342 done; \
40343 (cd $(TARGET_SUBDIR)/libquadmath && \
40344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40346 "RANLIB=$${RANLIB}" \
40347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40348 distclean) \
40349 || exit 1
40351 @endif target-libquadmath
40353 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
40354 maybe-maintainer-clean-target-libquadmath:
40355 @if target-libquadmath
40356 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
40358 maintainer-clean-target-libquadmath:
40359 @: $(MAKE); $(unstage)
40360 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40361 r=`${PWD_COMMAND}`; export r; \
40362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40363 $(NORMAL_TARGET_EXPORTS) \
40364 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
40365 for flag in $(EXTRA_TARGET_FLAGS); do \
40366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40367 done; \
40368 (cd $(TARGET_SUBDIR)/libquadmath && \
40369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40371 "RANLIB=$${RANLIB}" \
40372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40373 maintainer-clean) \
40374 || exit 1
40376 @endif target-libquadmath
40382 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
40383 maybe-configure-target-libgfortran:
40384 @if gcc-bootstrap
40385 configure-target-libgfortran: stage_current
40386 @endif gcc-bootstrap
40387 @if target-libgfortran
40388 maybe-configure-target-libgfortran: configure-target-libgfortran
40389 configure-target-libgfortran:
40390 @: $(MAKE); $(unstage)
40391 @r=`${PWD_COMMAND}`; export r; \
40392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40393 echo "Checking multilib configuration for libgfortran..."; \
40394 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
40395 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
40396 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
40397 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
40398 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
40399 else \
40400 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
40401 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
40402 fi; \
40403 else \
40404 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
40405 fi; \
40406 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
40407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
40408 $(NORMAL_TARGET_EXPORTS) \
40409 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
40410 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
40411 case $(srcdir) in \
40412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40413 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
40414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40415 esac; \
40416 module_srcdir=libgfortran; \
40417 rm -f no-such-file || : ; \
40418 CONFIG_SITE=no-such-file $(SHELL) \
40419 $$s/$$module_srcdir/configure \
40420 --srcdir=$${topdir}/$$module_srcdir \
40421 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40422 --target=${target_alias} \
40423 || exit 1
40424 @endif target-libgfortran
40430 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
40431 maybe-all-target-libgfortran:
40432 @if gcc-bootstrap
40433 all-target-libgfortran: stage_current
40434 @endif gcc-bootstrap
40435 @if target-libgfortran
40436 TARGET-target-libgfortran=all
40437 maybe-all-target-libgfortran: all-target-libgfortran
40438 all-target-libgfortran: configure-target-libgfortran
40439 @: $(MAKE); $(unstage)
40440 @r=`${PWD_COMMAND}`; export r; \
40441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40442 $(NORMAL_TARGET_EXPORTS) \
40443 (cd $(TARGET_SUBDIR)/libgfortran && \
40444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40445 $(TARGET-target-libgfortran))
40446 @endif target-libgfortran
40452 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
40453 maybe-check-target-libgfortran:
40454 @if target-libgfortran
40455 maybe-check-target-libgfortran: check-target-libgfortran
40457 check-target-libgfortran:
40458 @: $(MAKE); $(unstage)
40459 @r=`${PWD_COMMAND}`; export r; \
40460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40461 $(NORMAL_TARGET_EXPORTS) \
40462 (cd $(TARGET_SUBDIR)/libgfortran && \
40463 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40465 @endif target-libgfortran
40467 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
40468 maybe-install-target-libgfortran:
40469 @if target-libgfortran
40470 maybe-install-target-libgfortran: install-target-libgfortran
40472 install-target-libgfortran: installdirs
40473 @: $(MAKE); $(unstage)
40474 @r=`${PWD_COMMAND}`; export r; \
40475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40476 $(NORMAL_TARGET_EXPORTS) \
40477 (cd $(TARGET_SUBDIR)/libgfortran && \
40478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40480 @endif target-libgfortran
40482 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
40483 maybe-install-strip-target-libgfortran:
40484 @if target-libgfortran
40485 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
40487 install-strip-target-libgfortran: installdirs
40488 @: $(MAKE); $(unstage)
40489 @r=`${PWD_COMMAND}`; export r; \
40490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40491 $(NORMAL_TARGET_EXPORTS) \
40492 (cd $(TARGET_SUBDIR)/libgfortran && \
40493 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40495 @endif target-libgfortran
40497 # Other targets (info, dvi, pdf, etc.)
40499 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
40500 maybe-info-target-libgfortran:
40501 @if target-libgfortran
40502 maybe-info-target-libgfortran: info-target-libgfortran
40504 info-target-libgfortran: \
40505 configure-target-libgfortran
40506 @: $(MAKE); $(unstage)
40507 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40508 r=`${PWD_COMMAND}`; export r; \
40509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40510 $(NORMAL_TARGET_EXPORTS) \
40511 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
40512 for flag in $(EXTRA_TARGET_FLAGS); do \
40513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40514 done; \
40515 (cd $(TARGET_SUBDIR)/libgfortran && \
40516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40518 "RANLIB=$${RANLIB}" \
40519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40520 info) \
40521 || exit 1
40523 @endif target-libgfortran
40525 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
40526 maybe-dvi-target-libgfortran:
40527 @if target-libgfortran
40528 maybe-dvi-target-libgfortran: dvi-target-libgfortran
40530 dvi-target-libgfortran: \
40531 configure-target-libgfortran
40532 @: $(MAKE); $(unstage)
40533 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40534 r=`${PWD_COMMAND}`; export r; \
40535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40536 $(NORMAL_TARGET_EXPORTS) \
40537 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
40538 for flag in $(EXTRA_TARGET_FLAGS); do \
40539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40540 done; \
40541 (cd $(TARGET_SUBDIR)/libgfortran && \
40542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40544 "RANLIB=$${RANLIB}" \
40545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40546 dvi) \
40547 || exit 1
40549 @endif target-libgfortran
40551 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
40552 maybe-pdf-target-libgfortran:
40553 @if target-libgfortran
40554 maybe-pdf-target-libgfortran: pdf-target-libgfortran
40556 pdf-target-libgfortran: \
40557 configure-target-libgfortran
40558 @: $(MAKE); $(unstage)
40559 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40560 r=`${PWD_COMMAND}`; export r; \
40561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40562 $(NORMAL_TARGET_EXPORTS) \
40563 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
40564 for flag in $(EXTRA_TARGET_FLAGS); do \
40565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40566 done; \
40567 (cd $(TARGET_SUBDIR)/libgfortran && \
40568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40570 "RANLIB=$${RANLIB}" \
40571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40572 pdf) \
40573 || exit 1
40575 @endif target-libgfortran
40577 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
40578 maybe-html-target-libgfortran:
40579 @if target-libgfortran
40580 maybe-html-target-libgfortran: html-target-libgfortran
40582 html-target-libgfortran: \
40583 configure-target-libgfortran
40584 @: $(MAKE); $(unstage)
40585 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40586 r=`${PWD_COMMAND}`; export r; \
40587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40588 $(NORMAL_TARGET_EXPORTS) \
40589 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
40590 for flag in $(EXTRA_TARGET_FLAGS); do \
40591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40592 done; \
40593 (cd $(TARGET_SUBDIR)/libgfortran && \
40594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40596 "RANLIB=$${RANLIB}" \
40597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40598 html) \
40599 || exit 1
40601 @endif target-libgfortran
40603 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
40604 maybe-TAGS-target-libgfortran:
40605 @if target-libgfortran
40606 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
40608 TAGS-target-libgfortran: \
40609 configure-target-libgfortran
40610 @: $(MAKE); $(unstage)
40611 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40612 r=`${PWD_COMMAND}`; export r; \
40613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40614 $(NORMAL_TARGET_EXPORTS) \
40615 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
40616 for flag in $(EXTRA_TARGET_FLAGS); do \
40617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40618 done; \
40619 (cd $(TARGET_SUBDIR)/libgfortran && \
40620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40622 "RANLIB=$${RANLIB}" \
40623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40624 TAGS) \
40625 || exit 1
40627 @endif target-libgfortran
40629 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
40630 maybe-install-info-target-libgfortran:
40631 @if target-libgfortran
40632 maybe-install-info-target-libgfortran: install-info-target-libgfortran
40634 install-info-target-libgfortran: \
40635 configure-target-libgfortran \
40636 info-target-libgfortran
40637 @: $(MAKE); $(unstage)
40638 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40639 r=`${PWD_COMMAND}`; export r; \
40640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40641 $(NORMAL_TARGET_EXPORTS) \
40642 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
40643 for flag in $(EXTRA_TARGET_FLAGS); do \
40644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40645 done; \
40646 (cd $(TARGET_SUBDIR)/libgfortran && \
40647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40649 "RANLIB=$${RANLIB}" \
40650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40651 install-info) \
40652 || exit 1
40654 @endif target-libgfortran
40656 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
40657 maybe-install-pdf-target-libgfortran:
40658 @if target-libgfortran
40659 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
40661 install-pdf-target-libgfortran: \
40662 configure-target-libgfortran \
40663 pdf-target-libgfortran
40664 @: $(MAKE); $(unstage)
40665 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40666 r=`${PWD_COMMAND}`; export r; \
40667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40668 $(NORMAL_TARGET_EXPORTS) \
40669 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
40670 for flag in $(EXTRA_TARGET_FLAGS); do \
40671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40672 done; \
40673 (cd $(TARGET_SUBDIR)/libgfortran && \
40674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40676 "RANLIB=$${RANLIB}" \
40677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40678 install-pdf) \
40679 || exit 1
40681 @endif target-libgfortran
40683 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
40684 maybe-install-html-target-libgfortran:
40685 @if target-libgfortran
40686 maybe-install-html-target-libgfortran: install-html-target-libgfortran
40688 install-html-target-libgfortran: \
40689 configure-target-libgfortran \
40690 html-target-libgfortran
40691 @: $(MAKE); $(unstage)
40692 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40693 r=`${PWD_COMMAND}`; export r; \
40694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40695 $(NORMAL_TARGET_EXPORTS) \
40696 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
40697 for flag in $(EXTRA_TARGET_FLAGS); do \
40698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40699 done; \
40700 (cd $(TARGET_SUBDIR)/libgfortran && \
40701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40703 "RANLIB=$${RANLIB}" \
40704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40705 install-html) \
40706 || exit 1
40708 @endif target-libgfortran
40710 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
40711 maybe-installcheck-target-libgfortran:
40712 @if target-libgfortran
40713 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
40715 installcheck-target-libgfortran: \
40716 configure-target-libgfortran
40717 @: $(MAKE); $(unstage)
40718 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40719 r=`${PWD_COMMAND}`; export r; \
40720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40721 $(NORMAL_TARGET_EXPORTS) \
40722 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
40723 for flag in $(EXTRA_TARGET_FLAGS); do \
40724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40725 done; \
40726 (cd $(TARGET_SUBDIR)/libgfortran && \
40727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40729 "RANLIB=$${RANLIB}" \
40730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40731 installcheck) \
40732 || exit 1
40734 @endif target-libgfortran
40736 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
40737 maybe-mostlyclean-target-libgfortran:
40738 @if target-libgfortran
40739 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
40741 mostlyclean-target-libgfortran:
40742 @: $(MAKE); $(unstage)
40743 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40744 r=`${PWD_COMMAND}`; export r; \
40745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40746 $(NORMAL_TARGET_EXPORTS) \
40747 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
40748 for flag in $(EXTRA_TARGET_FLAGS); do \
40749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40750 done; \
40751 (cd $(TARGET_SUBDIR)/libgfortran && \
40752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40754 "RANLIB=$${RANLIB}" \
40755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40756 mostlyclean) \
40757 || exit 1
40759 @endif target-libgfortran
40761 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
40762 maybe-clean-target-libgfortran:
40763 @if target-libgfortran
40764 maybe-clean-target-libgfortran: clean-target-libgfortran
40766 clean-target-libgfortran:
40767 @: $(MAKE); $(unstage)
40768 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40769 r=`${PWD_COMMAND}`; export r; \
40770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40771 $(NORMAL_TARGET_EXPORTS) \
40772 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
40773 for flag in $(EXTRA_TARGET_FLAGS); do \
40774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40775 done; \
40776 (cd $(TARGET_SUBDIR)/libgfortran && \
40777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40779 "RANLIB=$${RANLIB}" \
40780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40781 clean) \
40782 || exit 1
40784 @endif target-libgfortran
40786 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
40787 maybe-distclean-target-libgfortran:
40788 @if target-libgfortran
40789 maybe-distclean-target-libgfortran: distclean-target-libgfortran
40791 distclean-target-libgfortran:
40792 @: $(MAKE); $(unstage)
40793 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40794 r=`${PWD_COMMAND}`; export r; \
40795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40796 $(NORMAL_TARGET_EXPORTS) \
40797 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
40798 for flag in $(EXTRA_TARGET_FLAGS); do \
40799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40800 done; \
40801 (cd $(TARGET_SUBDIR)/libgfortran && \
40802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40804 "RANLIB=$${RANLIB}" \
40805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40806 distclean) \
40807 || exit 1
40809 @endif target-libgfortran
40811 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
40812 maybe-maintainer-clean-target-libgfortran:
40813 @if target-libgfortran
40814 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
40816 maintainer-clean-target-libgfortran:
40817 @: $(MAKE); $(unstage)
40818 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40819 r=`${PWD_COMMAND}`; export r; \
40820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40821 $(NORMAL_TARGET_EXPORTS) \
40822 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
40823 for flag in $(EXTRA_TARGET_FLAGS); do \
40824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40825 done; \
40826 (cd $(TARGET_SUBDIR)/libgfortran && \
40827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40829 "RANLIB=$${RANLIB}" \
40830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40831 maintainer-clean) \
40832 || exit 1
40834 @endif target-libgfortran
40840 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
40841 maybe-configure-target-libobjc:
40842 @if gcc-bootstrap
40843 configure-target-libobjc: stage_current
40844 @endif gcc-bootstrap
40845 @if target-libobjc
40846 maybe-configure-target-libobjc: configure-target-libobjc
40847 configure-target-libobjc:
40848 @: $(MAKE); $(unstage)
40849 @r=`${PWD_COMMAND}`; export r; \
40850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40851 echo "Checking multilib configuration for libobjc..."; \
40852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
40853 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
40854 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
40855 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
40856 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
40857 else \
40858 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
40859 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
40860 fi; \
40861 else \
40862 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
40863 fi; \
40864 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
40865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
40866 $(NORMAL_TARGET_EXPORTS) \
40867 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
40868 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
40869 case $(srcdir) in \
40870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40871 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
40872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40873 esac; \
40874 module_srcdir=libobjc; \
40875 rm -f no-such-file || : ; \
40876 CONFIG_SITE=no-such-file $(SHELL) \
40877 $$s/$$module_srcdir/configure \
40878 --srcdir=$${topdir}/$$module_srcdir \
40879 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40880 --target=${target_alias} \
40881 || exit 1
40882 @endif target-libobjc
40888 .PHONY: all-target-libobjc maybe-all-target-libobjc
40889 maybe-all-target-libobjc:
40890 @if gcc-bootstrap
40891 all-target-libobjc: stage_current
40892 @endif gcc-bootstrap
40893 @if target-libobjc
40894 TARGET-target-libobjc=all
40895 maybe-all-target-libobjc: all-target-libobjc
40896 all-target-libobjc: configure-target-libobjc
40897 @: $(MAKE); $(unstage)
40898 @r=`${PWD_COMMAND}`; export r; \
40899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40900 $(NORMAL_TARGET_EXPORTS) \
40901 (cd $(TARGET_SUBDIR)/libobjc && \
40902 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40903 $(TARGET-target-libobjc))
40904 @endif target-libobjc
40910 .PHONY: check-target-libobjc maybe-check-target-libobjc
40911 maybe-check-target-libobjc:
40912 @if target-libobjc
40913 maybe-check-target-libobjc: check-target-libobjc
40915 check-target-libobjc:
40916 @: $(MAKE); $(unstage)
40917 @r=`${PWD_COMMAND}`; export r; \
40918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40919 $(NORMAL_TARGET_EXPORTS) \
40920 (cd $(TARGET_SUBDIR)/libobjc && \
40921 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40923 @endif target-libobjc
40925 .PHONY: install-target-libobjc maybe-install-target-libobjc
40926 maybe-install-target-libobjc:
40927 @if target-libobjc
40928 maybe-install-target-libobjc: install-target-libobjc
40930 install-target-libobjc: installdirs
40931 @: $(MAKE); $(unstage)
40932 @r=`${PWD_COMMAND}`; export r; \
40933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40934 $(NORMAL_TARGET_EXPORTS) \
40935 (cd $(TARGET_SUBDIR)/libobjc && \
40936 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40938 @endif target-libobjc
40940 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
40941 maybe-install-strip-target-libobjc:
40942 @if target-libobjc
40943 maybe-install-strip-target-libobjc: install-strip-target-libobjc
40945 install-strip-target-libobjc: installdirs
40946 @: $(MAKE); $(unstage)
40947 @r=`${PWD_COMMAND}`; export r; \
40948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40949 $(NORMAL_TARGET_EXPORTS) \
40950 (cd $(TARGET_SUBDIR)/libobjc && \
40951 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40953 @endif target-libobjc
40955 # Other targets (info, dvi, pdf, etc.)
40957 .PHONY: maybe-info-target-libobjc info-target-libobjc
40958 maybe-info-target-libobjc:
40959 @if target-libobjc
40960 maybe-info-target-libobjc: info-target-libobjc
40962 info-target-libobjc: \
40963 configure-target-libobjc
40964 @: $(MAKE); $(unstage)
40965 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
40966 r=`${PWD_COMMAND}`; export r; \
40967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40968 $(NORMAL_TARGET_EXPORTS) \
40969 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
40970 for flag in $(EXTRA_TARGET_FLAGS); do \
40971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40972 done; \
40973 (cd $(TARGET_SUBDIR)/libobjc && \
40974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40976 "RANLIB=$${RANLIB}" \
40977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40978 info) \
40979 || exit 1
40981 @endif target-libobjc
40983 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
40984 maybe-dvi-target-libobjc:
40985 @if target-libobjc
40986 maybe-dvi-target-libobjc: dvi-target-libobjc
40988 dvi-target-libobjc: \
40989 configure-target-libobjc
40990 @: $(MAKE); $(unstage)
40991 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
40992 r=`${PWD_COMMAND}`; export r; \
40993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40994 $(NORMAL_TARGET_EXPORTS) \
40995 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
40996 for flag in $(EXTRA_TARGET_FLAGS); do \
40997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40998 done; \
40999 (cd $(TARGET_SUBDIR)/libobjc && \
41000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41002 "RANLIB=$${RANLIB}" \
41003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41004 dvi) \
41005 || exit 1
41007 @endif target-libobjc
41009 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
41010 maybe-pdf-target-libobjc:
41011 @if target-libobjc
41012 maybe-pdf-target-libobjc: pdf-target-libobjc
41014 pdf-target-libobjc: \
41015 configure-target-libobjc
41016 @: $(MAKE); $(unstage)
41017 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41018 r=`${PWD_COMMAND}`; export r; \
41019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41020 $(NORMAL_TARGET_EXPORTS) \
41021 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
41022 for flag in $(EXTRA_TARGET_FLAGS); do \
41023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41024 done; \
41025 (cd $(TARGET_SUBDIR)/libobjc && \
41026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41028 "RANLIB=$${RANLIB}" \
41029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41030 pdf) \
41031 || exit 1
41033 @endif target-libobjc
41035 .PHONY: maybe-html-target-libobjc html-target-libobjc
41036 maybe-html-target-libobjc:
41037 @if target-libobjc
41038 maybe-html-target-libobjc: html-target-libobjc
41040 html-target-libobjc: \
41041 configure-target-libobjc
41042 @: $(MAKE); $(unstage)
41043 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41044 r=`${PWD_COMMAND}`; export r; \
41045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41046 $(NORMAL_TARGET_EXPORTS) \
41047 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
41048 for flag in $(EXTRA_TARGET_FLAGS); do \
41049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41050 done; \
41051 (cd $(TARGET_SUBDIR)/libobjc && \
41052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41054 "RANLIB=$${RANLIB}" \
41055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41056 html) \
41057 || exit 1
41059 @endif target-libobjc
41061 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
41062 maybe-TAGS-target-libobjc:
41063 @if target-libobjc
41064 maybe-TAGS-target-libobjc: TAGS-target-libobjc
41066 TAGS-target-libobjc: \
41067 configure-target-libobjc
41068 @: $(MAKE); $(unstage)
41069 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41070 r=`${PWD_COMMAND}`; export r; \
41071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41072 $(NORMAL_TARGET_EXPORTS) \
41073 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
41074 for flag in $(EXTRA_TARGET_FLAGS); do \
41075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41076 done; \
41077 (cd $(TARGET_SUBDIR)/libobjc && \
41078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41080 "RANLIB=$${RANLIB}" \
41081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41082 TAGS) \
41083 || exit 1
41085 @endif target-libobjc
41087 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
41088 maybe-install-info-target-libobjc:
41089 @if target-libobjc
41090 maybe-install-info-target-libobjc: install-info-target-libobjc
41092 install-info-target-libobjc: \
41093 configure-target-libobjc \
41094 info-target-libobjc
41095 @: $(MAKE); $(unstage)
41096 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41097 r=`${PWD_COMMAND}`; export r; \
41098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41099 $(NORMAL_TARGET_EXPORTS) \
41100 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
41101 for flag in $(EXTRA_TARGET_FLAGS); do \
41102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41103 done; \
41104 (cd $(TARGET_SUBDIR)/libobjc && \
41105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41107 "RANLIB=$${RANLIB}" \
41108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41109 install-info) \
41110 || exit 1
41112 @endif target-libobjc
41114 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
41115 maybe-install-pdf-target-libobjc:
41116 @if target-libobjc
41117 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
41119 install-pdf-target-libobjc: \
41120 configure-target-libobjc \
41121 pdf-target-libobjc
41122 @: $(MAKE); $(unstage)
41123 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41124 r=`${PWD_COMMAND}`; export r; \
41125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41126 $(NORMAL_TARGET_EXPORTS) \
41127 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
41128 for flag in $(EXTRA_TARGET_FLAGS); do \
41129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41130 done; \
41131 (cd $(TARGET_SUBDIR)/libobjc && \
41132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41134 "RANLIB=$${RANLIB}" \
41135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41136 install-pdf) \
41137 || exit 1
41139 @endif target-libobjc
41141 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
41142 maybe-install-html-target-libobjc:
41143 @if target-libobjc
41144 maybe-install-html-target-libobjc: install-html-target-libobjc
41146 install-html-target-libobjc: \
41147 configure-target-libobjc \
41148 html-target-libobjc
41149 @: $(MAKE); $(unstage)
41150 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41151 r=`${PWD_COMMAND}`; export r; \
41152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41153 $(NORMAL_TARGET_EXPORTS) \
41154 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
41155 for flag in $(EXTRA_TARGET_FLAGS); do \
41156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41157 done; \
41158 (cd $(TARGET_SUBDIR)/libobjc && \
41159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41161 "RANLIB=$${RANLIB}" \
41162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41163 install-html) \
41164 || exit 1
41166 @endif target-libobjc
41168 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
41169 maybe-installcheck-target-libobjc:
41170 @if target-libobjc
41171 maybe-installcheck-target-libobjc: installcheck-target-libobjc
41173 installcheck-target-libobjc: \
41174 configure-target-libobjc
41175 @: $(MAKE); $(unstage)
41176 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41177 r=`${PWD_COMMAND}`; export r; \
41178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41179 $(NORMAL_TARGET_EXPORTS) \
41180 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
41181 for flag in $(EXTRA_TARGET_FLAGS); do \
41182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41183 done; \
41184 (cd $(TARGET_SUBDIR)/libobjc && \
41185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41187 "RANLIB=$${RANLIB}" \
41188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41189 installcheck) \
41190 || exit 1
41192 @endif target-libobjc
41194 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
41195 maybe-mostlyclean-target-libobjc:
41196 @if target-libobjc
41197 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
41199 mostlyclean-target-libobjc:
41200 @: $(MAKE); $(unstage)
41201 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41202 r=`${PWD_COMMAND}`; export r; \
41203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41204 $(NORMAL_TARGET_EXPORTS) \
41205 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
41206 for flag in $(EXTRA_TARGET_FLAGS); do \
41207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41208 done; \
41209 (cd $(TARGET_SUBDIR)/libobjc && \
41210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41212 "RANLIB=$${RANLIB}" \
41213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41214 mostlyclean) \
41215 || exit 1
41217 @endif target-libobjc
41219 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
41220 maybe-clean-target-libobjc:
41221 @if target-libobjc
41222 maybe-clean-target-libobjc: clean-target-libobjc
41224 clean-target-libobjc:
41225 @: $(MAKE); $(unstage)
41226 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41227 r=`${PWD_COMMAND}`; export r; \
41228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41229 $(NORMAL_TARGET_EXPORTS) \
41230 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
41231 for flag in $(EXTRA_TARGET_FLAGS); do \
41232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41233 done; \
41234 (cd $(TARGET_SUBDIR)/libobjc && \
41235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41237 "RANLIB=$${RANLIB}" \
41238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41239 clean) \
41240 || exit 1
41242 @endif target-libobjc
41244 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
41245 maybe-distclean-target-libobjc:
41246 @if target-libobjc
41247 maybe-distclean-target-libobjc: distclean-target-libobjc
41249 distclean-target-libobjc:
41250 @: $(MAKE); $(unstage)
41251 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41252 r=`${PWD_COMMAND}`; export r; \
41253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41254 $(NORMAL_TARGET_EXPORTS) \
41255 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
41256 for flag in $(EXTRA_TARGET_FLAGS); do \
41257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41258 done; \
41259 (cd $(TARGET_SUBDIR)/libobjc && \
41260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41262 "RANLIB=$${RANLIB}" \
41263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41264 distclean) \
41265 || exit 1
41267 @endif target-libobjc
41269 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
41270 maybe-maintainer-clean-target-libobjc:
41271 @if target-libobjc
41272 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
41274 maintainer-clean-target-libobjc:
41275 @: $(MAKE); $(unstage)
41276 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41277 r=`${PWD_COMMAND}`; export r; \
41278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41279 $(NORMAL_TARGET_EXPORTS) \
41280 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
41281 for flag in $(EXTRA_TARGET_FLAGS); do \
41282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41283 done; \
41284 (cd $(TARGET_SUBDIR)/libobjc && \
41285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41287 "RANLIB=$${RANLIB}" \
41288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41289 maintainer-clean) \
41290 || exit 1
41292 @endif target-libobjc
41298 .PHONY: configure-target-libgo maybe-configure-target-libgo
41299 maybe-configure-target-libgo:
41300 @if gcc-bootstrap
41301 configure-target-libgo: stage_current
41302 @endif gcc-bootstrap
41303 @if target-libgo
41304 maybe-configure-target-libgo: configure-target-libgo
41305 configure-target-libgo:
41306 @: $(MAKE); $(unstage)
41307 @r=`${PWD_COMMAND}`; export r; \
41308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41309 echo "Checking multilib configuration for libgo..."; \
41310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
41311 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
41312 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
41313 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
41314 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
41315 else \
41316 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
41317 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
41318 fi; \
41319 else \
41320 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
41321 fi; \
41322 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
41323 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
41324 $(NORMAL_TARGET_EXPORTS) \
41325 echo Configuring in $(TARGET_SUBDIR)/libgo; \
41326 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
41327 case $(srcdir) in \
41328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41329 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
41330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41331 esac; \
41332 module_srcdir=libgo; \
41333 rm -f no-such-file || : ; \
41334 CONFIG_SITE=no-such-file $(SHELL) \
41335 $$s/$$module_srcdir/configure \
41336 --srcdir=$${topdir}/$$module_srcdir \
41337 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41338 --target=${target_alias} \
41339 || exit 1
41340 @endif target-libgo
41346 .PHONY: all-target-libgo maybe-all-target-libgo
41347 maybe-all-target-libgo:
41348 @if gcc-bootstrap
41349 all-target-libgo: stage_current
41350 @endif gcc-bootstrap
41351 @if target-libgo
41352 TARGET-target-libgo=all
41353 maybe-all-target-libgo: all-target-libgo
41354 all-target-libgo: configure-target-libgo
41355 @: $(MAKE); $(unstage)
41356 @r=`${PWD_COMMAND}`; export r; \
41357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41358 $(NORMAL_TARGET_EXPORTS) \
41359 (cd $(TARGET_SUBDIR)/libgo && \
41360 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41361 $(TARGET-target-libgo))
41362 @endif target-libgo
41368 .PHONY: check-target-libgo maybe-check-target-libgo
41369 maybe-check-target-libgo:
41370 @if target-libgo
41371 maybe-check-target-libgo: check-target-libgo
41373 check-target-libgo:
41374 @: $(MAKE); $(unstage)
41375 @r=`${PWD_COMMAND}`; export r; \
41376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41377 $(NORMAL_TARGET_EXPORTS) \
41378 (cd $(TARGET_SUBDIR)/libgo && \
41379 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41381 @endif target-libgo
41383 .PHONY: install-target-libgo maybe-install-target-libgo
41384 maybe-install-target-libgo:
41385 @if target-libgo
41386 maybe-install-target-libgo: install-target-libgo
41388 install-target-libgo: installdirs
41389 @: $(MAKE); $(unstage)
41390 @r=`${PWD_COMMAND}`; export r; \
41391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41392 $(NORMAL_TARGET_EXPORTS) \
41393 (cd $(TARGET_SUBDIR)/libgo && \
41394 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41396 @endif target-libgo
41398 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
41399 maybe-install-strip-target-libgo:
41400 @if target-libgo
41401 maybe-install-strip-target-libgo: install-strip-target-libgo
41403 install-strip-target-libgo: installdirs
41404 @: $(MAKE); $(unstage)
41405 @r=`${PWD_COMMAND}`; export r; \
41406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41407 $(NORMAL_TARGET_EXPORTS) \
41408 (cd $(TARGET_SUBDIR)/libgo && \
41409 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41411 @endif target-libgo
41413 # Other targets (info, dvi, pdf, etc.)
41415 .PHONY: maybe-info-target-libgo info-target-libgo
41416 maybe-info-target-libgo:
41417 @if target-libgo
41418 maybe-info-target-libgo: info-target-libgo
41420 info-target-libgo: \
41421 configure-target-libgo
41422 @: $(MAKE); $(unstage)
41423 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41424 r=`${PWD_COMMAND}`; export r; \
41425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41426 $(NORMAL_TARGET_EXPORTS) \
41427 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
41428 for flag in $(EXTRA_TARGET_FLAGS); do \
41429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41430 done; \
41431 (cd $(TARGET_SUBDIR)/libgo && \
41432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41434 "RANLIB=$${RANLIB}" \
41435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41436 info) \
41437 || exit 1
41439 @endif target-libgo
41441 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
41442 maybe-dvi-target-libgo:
41443 @if target-libgo
41444 maybe-dvi-target-libgo: dvi-target-libgo
41446 dvi-target-libgo: \
41447 configure-target-libgo
41448 @: $(MAKE); $(unstage)
41449 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41450 r=`${PWD_COMMAND}`; export r; \
41451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41452 $(NORMAL_TARGET_EXPORTS) \
41453 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
41454 for flag in $(EXTRA_TARGET_FLAGS); do \
41455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41456 done; \
41457 (cd $(TARGET_SUBDIR)/libgo && \
41458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41460 "RANLIB=$${RANLIB}" \
41461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41462 dvi) \
41463 || exit 1
41465 @endif target-libgo
41467 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
41468 maybe-pdf-target-libgo:
41469 @if target-libgo
41470 maybe-pdf-target-libgo: pdf-target-libgo
41472 pdf-target-libgo: \
41473 configure-target-libgo
41474 @: $(MAKE); $(unstage)
41475 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41476 r=`${PWD_COMMAND}`; export r; \
41477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41478 $(NORMAL_TARGET_EXPORTS) \
41479 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
41480 for flag in $(EXTRA_TARGET_FLAGS); do \
41481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41482 done; \
41483 (cd $(TARGET_SUBDIR)/libgo && \
41484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41486 "RANLIB=$${RANLIB}" \
41487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41488 pdf) \
41489 || exit 1
41491 @endif target-libgo
41493 .PHONY: maybe-html-target-libgo html-target-libgo
41494 maybe-html-target-libgo:
41495 @if target-libgo
41496 maybe-html-target-libgo: html-target-libgo
41498 html-target-libgo: \
41499 configure-target-libgo
41500 @: $(MAKE); $(unstage)
41501 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41502 r=`${PWD_COMMAND}`; export r; \
41503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41504 $(NORMAL_TARGET_EXPORTS) \
41505 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
41506 for flag in $(EXTRA_TARGET_FLAGS); do \
41507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41508 done; \
41509 (cd $(TARGET_SUBDIR)/libgo && \
41510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41512 "RANLIB=$${RANLIB}" \
41513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41514 html) \
41515 || exit 1
41517 @endif target-libgo
41519 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
41520 maybe-TAGS-target-libgo:
41521 @if target-libgo
41522 maybe-TAGS-target-libgo: TAGS-target-libgo
41524 TAGS-target-libgo: \
41525 configure-target-libgo
41526 @: $(MAKE); $(unstage)
41527 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41528 r=`${PWD_COMMAND}`; export r; \
41529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41530 $(NORMAL_TARGET_EXPORTS) \
41531 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
41532 for flag in $(EXTRA_TARGET_FLAGS); do \
41533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41534 done; \
41535 (cd $(TARGET_SUBDIR)/libgo && \
41536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41538 "RANLIB=$${RANLIB}" \
41539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41540 TAGS) \
41541 || exit 1
41543 @endif target-libgo
41545 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
41546 maybe-install-info-target-libgo:
41547 @if target-libgo
41548 maybe-install-info-target-libgo: install-info-target-libgo
41550 install-info-target-libgo: \
41551 configure-target-libgo \
41552 info-target-libgo
41553 @: $(MAKE); $(unstage)
41554 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41555 r=`${PWD_COMMAND}`; export r; \
41556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41557 $(NORMAL_TARGET_EXPORTS) \
41558 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
41559 for flag in $(EXTRA_TARGET_FLAGS); do \
41560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41561 done; \
41562 (cd $(TARGET_SUBDIR)/libgo && \
41563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41565 "RANLIB=$${RANLIB}" \
41566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41567 install-info) \
41568 || exit 1
41570 @endif target-libgo
41572 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
41573 maybe-install-pdf-target-libgo:
41574 @if target-libgo
41575 maybe-install-pdf-target-libgo: install-pdf-target-libgo
41577 install-pdf-target-libgo: \
41578 configure-target-libgo \
41579 pdf-target-libgo
41580 @: $(MAKE); $(unstage)
41581 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41582 r=`${PWD_COMMAND}`; export r; \
41583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41584 $(NORMAL_TARGET_EXPORTS) \
41585 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
41586 for flag in $(EXTRA_TARGET_FLAGS); do \
41587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41588 done; \
41589 (cd $(TARGET_SUBDIR)/libgo && \
41590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41592 "RANLIB=$${RANLIB}" \
41593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41594 install-pdf) \
41595 || exit 1
41597 @endif target-libgo
41599 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
41600 maybe-install-html-target-libgo:
41601 @if target-libgo
41602 maybe-install-html-target-libgo: install-html-target-libgo
41604 install-html-target-libgo: \
41605 configure-target-libgo \
41606 html-target-libgo
41607 @: $(MAKE); $(unstage)
41608 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41609 r=`${PWD_COMMAND}`; export r; \
41610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41611 $(NORMAL_TARGET_EXPORTS) \
41612 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
41613 for flag in $(EXTRA_TARGET_FLAGS); do \
41614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41615 done; \
41616 (cd $(TARGET_SUBDIR)/libgo && \
41617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41619 "RANLIB=$${RANLIB}" \
41620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41621 install-html) \
41622 || exit 1
41624 @endif target-libgo
41626 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
41627 maybe-installcheck-target-libgo:
41628 @if target-libgo
41629 maybe-installcheck-target-libgo: installcheck-target-libgo
41631 installcheck-target-libgo: \
41632 configure-target-libgo
41633 @: $(MAKE); $(unstage)
41634 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41635 r=`${PWD_COMMAND}`; export r; \
41636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41637 $(NORMAL_TARGET_EXPORTS) \
41638 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
41639 for flag in $(EXTRA_TARGET_FLAGS); do \
41640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41641 done; \
41642 (cd $(TARGET_SUBDIR)/libgo && \
41643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41645 "RANLIB=$${RANLIB}" \
41646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41647 installcheck) \
41648 || exit 1
41650 @endif target-libgo
41652 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
41653 maybe-mostlyclean-target-libgo:
41654 @if target-libgo
41655 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
41657 mostlyclean-target-libgo:
41658 @: $(MAKE); $(unstage)
41659 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41660 r=`${PWD_COMMAND}`; export r; \
41661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41662 $(NORMAL_TARGET_EXPORTS) \
41663 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
41664 for flag in $(EXTRA_TARGET_FLAGS); do \
41665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41666 done; \
41667 (cd $(TARGET_SUBDIR)/libgo && \
41668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41670 "RANLIB=$${RANLIB}" \
41671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41672 mostlyclean) \
41673 || exit 1
41675 @endif target-libgo
41677 .PHONY: maybe-clean-target-libgo clean-target-libgo
41678 maybe-clean-target-libgo:
41679 @if target-libgo
41680 maybe-clean-target-libgo: clean-target-libgo
41682 clean-target-libgo:
41683 @: $(MAKE); $(unstage)
41684 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41685 r=`${PWD_COMMAND}`; export r; \
41686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41687 $(NORMAL_TARGET_EXPORTS) \
41688 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
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)/libgo && \
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 clean) \
41698 || exit 1
41700 @endif target-libgo
41702 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
41703 maybe-distclean-target-libgo:
41704 @if target-libgo
41705 maybe-distclean-target-libgo: distclean-target-libgo
41707 distclean-target-libgo:
41708 @: $(MAKE); $(unstage)
41709 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41710 r=`${PWD_COMMAND}`; export r; \
41711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41712 $(NORMAL_TARGET_EXPORTS) \
41713 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
41714 for flag in $(EXTRA_TARGET_FLAGS); do \
41715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41716 done; \
41717 (cd $(TARGET_SUBDIR)/libgo && \
41718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41720 "RANLIB=$${RANLIB}" \
41721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41722 distclean) \
41723 || exit 1
41725 @endif target-libgo
41727 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
41728 maybe-maintainer-clean-target-libgo:
41729 @if target-libgo
41730 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
41732 maintainer-clean-target-libgo:
41733 @: $(MAKE); $(unstage)
41734 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41735 r=`${PWD_COMMAND}`; export r; \
41736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41737 $(NORMAL_TARGET_EXPORTS) \
41738 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
41739 for flag in $(EXTRA_TARGET_FLAGS); do \
41740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41741 done; \
41742 (cd $(TARGET_SUBDIR)/libgo && \
41743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41745 "RANLIB=$${RANLIB}" \
41746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41747 maintainer-clean) \
41748 || exit 1
41750 @endif target-libgo
41756 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
41757 maybe-configure-target-libtermcap:
41758 @if gcc-bootstrap
41759 configure-target-libtermcap: stage_current
41760 @endif gcc-bootstrap
41761 @if target-libtermcap
41762 maybe-configure-target-libtermcap: configure-target-libtermcap
41763 configure-target-libtermcap:
41764 @: $(MAKE); $(unstage)
41765 @r=`${PWD_COMMAND}`; export r; \
41766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41767 echo "Checking multilib configuration for libtermcap..."; \
41768 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
41769 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
41770 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
41771 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
41772 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
41773 else \
41774 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
41775 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
41776 fi; \
41777 else \
41778 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
41779 fi; \
41780 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
41781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
41782 $(NORMAL_TARGET_EXPORTS) \
41783 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
41784 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
41785 case $(srcdir) in \
41786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41787 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
41788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41789 esac; \
41790 module_srcdir=libtermcap; \
41791 rm -f no-such-file || : ; \
41792 CONFIG_SITE=no-such-file $(SHELL) \
41793 $$s/$$module_srcdir/configure \
41794 --srcdir=$${topdir}/$$module_srcdir \
41795 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41796 --target=${target_alias} \
41797 || exit 1
41798 @endif target-libtermcap
41804 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
41805 maybe-all-target-libtermcap:
41806 @if gcc-bootstrap
41807 all-target-libtermcap: stage_current
41808 @endif gcc-bootstrap
41809 @if target-libtermcap
41810 TARGET-target-libtermcap=all
41811 maybe-all-target-libtermcap: all-target-libtermcap
41812 all-target-libtermcap: configure-target-libtermcap
41813 @: $(MAKE); $(unstage)
41814 @r=`${PWD_COMMAND}`; export r; \
41815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41816 $(NORMAL_TARGET_EXPORTS) \
41817 (cd $(TARGET_SUBDIR)/libtermcap && \
41818 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41819 $(TARGET-target-libtermcap))
41820 @endif target-libtermcap
41826 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
41827 maybe-check-target-libtermcap:
41828 @if target-libtermcap
41829 maybe-check-target-libtermcap: check-target-libtermcap
41831 # Dummy target for uncheckable module.
41832 check-target-libtermcap:
41834 @endif target-libtermcap
41836 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
41837 maybe-install-target-libtermcap:
41838 @if target-libtermcap
41839 maybe-install-target-libtermcap: install-target-libtermcap
41841 install-target-libtermcap: installdirs
41842 @: $(MAKE); $(unstage)
41843 @r=`${PWD_COMMAND}`; export r; \
41844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41845 $(NORMAL_TARGET_EXPORTS) \
41846 (cd $(TARGET_SUBDIR)/libtermcap && \
41847 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41849 @endif target-libtermcap
41851 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
41852 maybe-install-strip-target-libtermcap:
41853 @if target-libtermcap
41854 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
41856 install-strip-target-libtermcap: installdirs
41857 @: $(MAKE); $(unstage)
41858 @r=`${PWD_COMMAND}`; export r; \
41859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41860 $(NORMAL_TARGET_EXPORTS) \
41861 (cd $(TARGET_SUBDIR)/libtermcap && \
41862 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41864 @endif target-libtermcap
41866 # Other targets (info, dvi, pdf, etc.)
41868 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
41869 maybe-info-target-libtermcap:
41870 @if target-libtermcap
41871 maybe-info-target-libtermcap: info-target-libtermcap
41873 info-target-libtermcap: \
41874 configure-target-libtermcap
41875 @: $(MAKE); $(unstage)
41876 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41877 r=`${PWD_COMMAND}`; export r; \
41878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41879 $(NORMAL_TARGET_EXPORTS) \
41880 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
41881 for flag in $(EXTRA_TARGET_FLAGS); do \
41882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41883 done; \
41884 (cd $(TARGET_SUBDIR)/libtermcap && \
41885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41887 "RANLIB=$${RANLIB}" \
41888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41889 info) \
41890 || exit 1
41892 @endif target-libtermcap
41894 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
41895 maybe-dvi-target-libtermcap:
41896 @if target-libtermcap
41897 maybe-dvi-target-libtermcap: dvi-target-libtermcap
41899 dvi-target-libtermcap: \
41900 configure-target-libtermcap
41901 @: $(MAKE); $(unstage)
41902 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41903 r=`${PWD_COMMAND}`; export r; \
41904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41905 $(NORMAL_TARGET_EXPORTS) \
41906 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
41907 for flag in $(EXTRA_TARGET_FLAGS); do \
41908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41909 done; \
41910 (cd $(TARGET_SUBDIR)/libtermcap && \
41911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41913 "RANLIB=$${RANLIB}" \
41914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41915 dvi) \
41916 || exit 1
41918 @endif target-libtermcap
41920 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
41921 maybe-pdf-target-libtermcap:
41922 @if target-libtermcap
41923 maybe-pdf-target-libtermcap: pdf-target-libtermcap
41925 pdf-target-libtermcap: \
41926 configure-target-libtermcap
41927 @: $(MAKE); $(unstage)
41928 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41929 r=`${PWD_COMMAND}`; export r; \
41930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41931 $(NORMAL_TARGET_EXPORTS) \
41932 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
41933 for flag in $(EXTRA_TARGET_FLAGS); do \
41934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41935 done; \
41936 (cd $(TARGET_SUBDIR)/libtermcap && \
41937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41939 "RANLIB=$${RANLIB}" \
41940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41941 pdf) \
41942 || exit 1
41944 @endif target-libtermcap
41946 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
41947 maybe-html-target-libtermcap:
41948 @if target-libtermcap
41949 maybe-html-target-libtermcap: html-target-libtermcap
41951 html-target-libtermcap: \
41952 configure-target-libtermcap
41953 @: $(MAKE); $(unstage)
41954 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41955 r=`${PWD_COMMAND}`; export r; \
41956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41957 $(NORMAL_TARGET_EXPORTS) \
41958 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
41959 for flag in $(EXTRA_TARGET_FLAGS); do \
41960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41961 done; \
41962 (cd $(TARGET_SUBDIR)/libtermcap && \
41963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41965 "RANLIB=$${RANLIB}" \
41966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41967 html) \
41968 || exit 1
41970 @endif target-libtermcap
41972 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
41973 maybe-TAGS-target-libtermcap:
41974 @if target-libtermcap
41975 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
41977 TAGS-target-libtermcap: \
41978 configure-target-libtermcap
41979 @: $(MAKE); $(unstage)
41980 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41981 r=`${PWD_COMMAND}`; export r; \
41982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41983 $(NORMAL_TARGET_EXPORTS) \
41984 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
41985 for flag in $(EXTRA_TARGET_FLAGS); do \
41986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41987 done; \
41988 (cd $(TARGET_SUBDIR)/libtermcap && \
41989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41991 "RANLIB=$${RANLIB}" \
41992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41993 TAGS) \
41994 || exit 1
41996 @endif target-libtermcap
41998 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
41999 maybe-install-info-target-libtermcap:
42000 @if target-libtermcap
42001 maybe-install-info-target-libtermcap: install-info-target-libtermcap
42003 install-info-target-libtermcap: \
42004 configure-target-libtermcap \
42005 info-target-libtermcap
42006 @: $(MAKE); $(unstage)
42007 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
42008 r=`${PWD_COMMAND}`; export r; \
42009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42010 $(NORMAL_TARGET_EXPORTS) \
42011 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
42012 for flag in $(EXTRA_TARGET_FLAGS); do \
42013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42014 done; \
42015 (cd $(TARGET_SUBDIR)/libtermcap && \
42016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42018 "RANLIB=$${RANLIB}" \
42019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42020 install-info) \
42021 || exit 1
42023 @endif target-libtermcap
42025 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
42026 maybe-install-pdf-target-libtermcap:
42027 @if target-libtermcap
42028 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
42030 install-pdf-target-libtermcap: \
42031 configure-target-libtermcap \
42032 pdf-target-libtermcap
42033 @: $(MAKE); $(unstage)
42034 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
42035 r=`${PWD_COMMAND}`; export r; \
42036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42037 $(NORMAL_TARGET_EXPORTS) \
42038 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
42039 for flag in $(EXTRA_TARGET_FLAGS); do \
42040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42041 done; \
42042 (cd $(TARGET_SUBDIR)/libtermcap && \
42043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42045 "RANLIB=$${RANLIB}" \
42046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42047 install-pdf) \
42048 || exit 1
42050 @endif target-libtermcap
42052 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
42053 maybe-install-html-target-libtermcap:
42054 @if target-libtermcap
42055 maybe-install-html-target-libtermcap: install-html-target-libtermcap
42057 install-html-target-libtermcap: \
42058 configure-target-libtermcap \
42059 html-target-libtermcap
42060 @: $(MAKE); $(unstage)
42061 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
42062 r=`${PWD_COMMAND}`; export r; \
42063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42064 $(NORMAL_TARGET_EXPORTS) \
42065 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
42066 for flag in $(EXTRA_TARGET_FLAGS); do \
42067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42068 done; \
42069 (cd $(TARGET_SUBDIR)/libtermcap && \
42070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42072 "RANLIB=$${RANLIB}" \
42073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42074 install-html) \
42075 || exit 1
42077 @endif target-libtermcap
42079 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
42080 maybe-installcheck-target-libtermcap:
42081 @if target-libtermcap
42082 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
42084 installcheck-target-libtermcap: \
42085 configure-target-libtermcap
42086 @: $(MAKE); $(unstage)
42087 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
42088 r=`${PWD_COMMAND}`; export r; \
42089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42090 $(NORMAL_TARGET_EXPORTS) \
42091 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
42092 for flag in $(EXTRA_TARGET_FLAGS); do \
42093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42094 done; \
42095 (cd $(TARGET_SUBDIR)/libtermcap && \
42096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42098 "RANLIB=$${RANLIB}" \
42099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42100 installcheck) \
42101 || exit 1
42103 @endif target-libtermcap
42105 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
42106 maybe-mostlyclean-target-libtermcap:
42107 @if target-libtermcap
42108 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
42110 # libtermcap doesn't support mostlyclean.
42111 mostlyclean-target-libtermcap:
42113 @endif target-libtermcap
42115 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
42116 maybe-clean-target-libtermcap:
42117 @if target-libtermcap
42118 maybe-clean-target-libtermcap: clean-target-libtermcap
42120 # libtermcap doesn't support clean.
42121 clean-target-libtermcap:
42123 @endif target-libtermcap
42125 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
42126 maybe-distclean-target-libtermcap:
42127 @if target-libtermcap
42128 maybe-distclean-target-libtermcap: distclean-target-libtermcap
42130 # libtermcap doesn't support distclean.
42131 distclean-target-libtermcap:
42133 @endif target-libtermcap
42135 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
42136 maybe-maintainer-clean-target-libtermcap:
42137 @if target-libtermcap
42138 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
42140 # libtermcap doesn't support maintainer-clean.
42141 maintainer-clean-target-libtermcap:
42143 @endif target-libtermcap
42149 .PHONY: configure-target-winsup maybe-configure-target-winsup
42150 maybe-configure-target-winsup:
42151 @if gcc-bootstrap
42152 configure-target-winsup: stage_current
42153 @endif gcc-bootstrap
42154 @if target-winsup
42155 maybe-configure-target-winsup: configure-target-winsup
42156 configure-target-winsup:
42157 @: $(MAKE); $(unstage)
42158 @r=`${PWD_COMMAND}`; export r; \
42159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42160 echo "Checking multilib configuration for winsup..."; \
42161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
42162 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
42163 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
42164 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
42165 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
42166 else \
42167 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
42168 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
42169 fi; \
42170 else \
42171 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
42172 fi; \
42173 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
42174 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
42175 $(NORMAL_TARGET_EXPORTS) \
42176 echo Configuring in $(TARGET_SUBDIR)/winsup; \
42177 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
42178 case $(srcdir) in \
42179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42180 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
42181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42182 esac; \
42183 module_srcdir=winsup; \
42184 rm -f no-such-file || : ; \
42185 CONFIG_SITE=no-such-file $(SHELL) \
42186 $$s/$$module_srcdir/configure \
42187 --srcdir=$${topdir}/$$module_srcdir \
42188 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42189 --target=${target_alias} \
42190 || exit 1
42191 @endif target-winsup
42197 .PHONY: all-target-winsup maybe-all-target-winsup
42198 maybe-all-target-winsup:
42199 @if gcc-bootstrap
42200 all-target-winsup: stage_current
42201 @endif gcc-bootstrap
42202 @if target-winsup
42203 TARGET-target-winsup=all
42204 maybe-all-target-winsup: all-target-winsup
42205 all-target-winsup: configure-target-winsup
42206 @: $(MAKE); $(unstage)
42207 @r=`${PWD_COMMAND}`; export r; \
42208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42209 $(NORMAL_TARGET_EXPORTS) \
42210 (cd $(TARGET_SUBDIR)/winsup && \
42211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42212 $(TARGET-target-winsup))
42213 @endif target-winsup
42219 .PHONY: check-target-winsup maybe-check-target-winsup
42220 maybe-check-target-winsup:
42221 @if target-winsup
42222 maybe-check-target-winsup: check-target-winsup
42224 check-target-winsup:
42225 @: $(MAKE); $(unstage)
42226 @r=`${PWD_COMMAND}`; export r; \
42227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42228 $(NORMAL_TARGET_EXPORTS) \
42229 (cd $(TARGET_SUBDIR)/winsup && \
42230 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42232 @endif target-winsup
42234 .PHONY: install-target-winsup maybe-install-target-winsup
42235 maybe-install-target-winsup:
42236 @if target-winsup
42237 maybe-install-target-winsup: install-target-winsup
42239 install-target-winsup: installdirs
42240 @: $(MAKE); $(unstage)
42241 @r=`${PWD_COMMAND}`; export r; \
42242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42243 $(NORMAL_TARGET_EXPORTS) \
42244 (cd $(TARGET_SUBDIR)/winsup && \
42245 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42247 @endif target-winsup
42249 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
42250 maybe-install-strip-target-winsup:
42251 @if target-winsup
42252 maybe-install-strip-target-winsup: install-strip-target-winsup
42254 install-strip-target-winsup: installdirs
42255 @: $(MAKE); $(unstage)
42256 @r=`${PWD_COMMAND}`; export r; \
42257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42258 $(NORMAL_TARGET_EXPORTS) \
42259 (cd $(TARGET_SUBDIR)/winsup && \
42260 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42262 @endif target-winsup
42264 # Other targets (info, dvi, pdf, etc.)
42266 .PHONY: maybe-info-target-winsup info-target-winsup
42267 maybe-info-target-winsup:
42268 @if target-winsup
42269 maybe-info-target-winsup: info-target-winsup
42271 info-target-winsup: \
42272 configure-target-winsup
42273 @: $(MAKE); $(unstage)
42274 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42275 r=`${PWD_COMMAND}`; export r; \
42276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42277 $(NORMAL_TARGET_EXPORTS) \
42278 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
42279 for flag in $(EXTRA_TARGET_FLAGS); do \
42280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42281 done; \
42282 (cd $(TARGET_SUBDIR)/winsup && \
42283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42285 "RANLIB=$${RANLIB}" \
42286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42287 info) \
42288 || exit 1
42290 @endif target-winsup
42292 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
42293 maybe-dvi-target-winsup:
42294 @if target-winsup
42295 maybe-dvi-target-winsup: dvi-target-winsup
42297 dvi-target-winsup: \
42298 configure-target-winsup
42299 @: $(MAKE); $(unstage)
42300 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42301 r=`${PWD_COMMAND}`; export r; \
42302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42303 $(NORMAL_TARGET_EXPORTS) \
42304 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
42305 for flag in $(EXTRA_TARGET_FLAGS); do \
42306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42307 done; \
42308 (cd $(TARGET_SUBDIR)/winsup && \
42309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42311 "RANLIB=$${RANLIB}" \
42312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42313 dvi) \
42314 || exit 1
42316 @endif target-winsup
42318 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
42319 maybe-pdf-target-winsup:
42320 @if target-winsup
42321 maybe-pdf-target-winsup: pdf-target-winsup
42323 pdf-target-winsup: \
42324 configure-target-winsup
42325 @: $(MAKE); $(unstage)
42326 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42327 r=`${PWD_COMMAND}`; export r; \
42328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42329 $(NORMAL_TARGET_EXPORTS) \
42330 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
42331 for flag in $(EXTRA_TARGET_FLAGS); do \
42332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42333 done; \
42334 (cd $(TARGET_SUBDIR)/winsup && \
42335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42337 "RANLIB=$${RANLIB}" \
42338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42339 pdf) \
42340 || exit 1
42342 @endif target-winsup
42344 .PHONY: maybe-html-target-winsup html-target-winsup
42345 maybe-html-target-winsup:
42346 @if target-winsup
42347 maybe-html-target-winsup: html-target-winsup
42349 html-target-winsup: \
42350 configure-target-winsup
42351 @: $(MAKE); $(unstage)
42352 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42353 r=`${PWD_COMMAND}`; export r; \
42354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42355 $(NORMAL_TARGET_EXPORTS) \
42356 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
42357 for flag in $(EXTRA_TARGET_FLAGS); do \
42358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42359 done; \
42360 (cd $(TARGET_SUBDIR)/winsup && \
42361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42363 "RANLIB=$${RANLIB}" \
42364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42365 html) \
42366 || exit 1
42368 @endif target-winsup
42370 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
42371 maybe-TAGS-target-winsup:
42372 @if target-winsup
42373 maybe-TAGS-target-winsup: TAGS-target-winsup
42375 TAGS-target-winsup: \
42376 configure-target-winsup
42377 @: $(MAKE); $(unstage)
42378 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42379 r=`${PWD_COMMAND}`; export r; \
42380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42381 $(NORMAL_TARGET_EXPORTS) \
42382 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
42383 for flag in $(EXTRA_TARGET_FLAGS); do \
42384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42385 done; \
42386 (cd $(TARGET_SUBDIR)/winsup && \
42387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42389 "RANLIB=$${RANLIB}" \
42390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42391 TAGS) \
42392 || exit 1
42394 @endif target-winsup
42396 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
42397 maybe-install-info-target-winsup:
42398 @if target-winsup
42399 maybe-install-info-target-winsup: install-info-target-winsup
42401 install-info-target-winsup: \
42402 configure-target-winsup \
42403 info-target-winsup
42404 @: $(MAKE); $(unstage)
42405 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42406 r=`${PWD_COMMAND}`; export r; \
42407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42408 $(NORMAL_TARGET_EXPORTS) \
42409 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
42410 for flag in $(EXTRA_TARGET_FLAGS); do \
42411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42412 done; \
42413 (cd $(TARGET_SUBDIR)/winsup && \
42414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42416 "RANLIB=$${RANLIB}" \
42417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42418 install-info) \
42419 || exit 1
42421 @endif target-winsup
42423 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
42424 maybe-install-pdf-target-winsup:
42425 @if target-winsup
42426 maybe-install-pdf-target-winsup: install-pdf-target-winsup
42428 install-pdf-target-winsup: \
42429 configure-target-winsup \
42430 pdf-target-winsup
42431 @: $(MAKE); $(unstage)
42432 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42433 r=`${PWD_COMMAND}`; export r; \
42434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42435 $(NORMAL_TARGET_EXPORTS) \
42436 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
42437 for flag in $(EXTRA_TARGET_FLAGS); do \
42438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42439 done; \
42440 (cd $(TARGET_SUBDIR)/winsup && \
42441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42443 "RANLIB=$${RANLIB}" \
42444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42445 install-pdf) \
42446 || exit 1
42448 @endif target-winsup
42450 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
42451 maybe-install-html-target-winsup:
42452 @if target-winsup
42453 maybe-install-html-target-winsup: install-html-target-winsup
42455 install-html-target-winsup: \
42456 configure-target-winsup \
42457 html-target-winsup
42458 @: $(MAKE); $(unstage)
42459 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42460 r=`${PWD_COMMAND}`; export r; \
42461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42462 $(NORMAL_TARGET_EXPORTS) \
42463 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
42464 for flag in $(EXTRA_TARGET_FLAGS); do \
42465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42466 done; \
42467 (cd $(TARGET_SUBDIR)/winsup && \
42468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42470 "RANLIB=$${RANLIB}" \
42471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42472 install-html) \
42473 || exit 1
42475 @endif target-winsup
42477 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
42478 maybe-installcheck-target-winsup:
42479 @if target-winsup
42480 maybe-installcheck-target-winsup: installcheck-target-winsup
42482 installcheck-target-winsup: \
42483 configure-target-winsup
42484 @: $(MAKE); $(unstage)
42485 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42486 r=`${PWD_COMMAND}`; export r; \
42487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42488 $(NORMAL_TARGET_EXPORTS) \
42489 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
42490 for flag in $(EXTRA_TARGET_FLAGS); do \
42491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42492 done; \
42493 (cd $(TARGET_SUBDIR)/winsup && \
42494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42496 "RANLIB=$${RANLIB}" \
42497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42498 installcheck) \
42499 || exit 1
42501 @endif target-winsup
42503 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
42504 maybe-mostlyclean-target-winsup:
42505 @if target-winsup
42506 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
42508 mostlyclean-target-winsup:
42509 @: $(MAKE); $(unstage)
42510 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42511 r=`${PWD_COMMAND}`; export r; \
42512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42513 $(NORMAL_TARGET_EXPORTS) \
42514 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
42515 for flag in $(EXTRA_TARGET_FLAGS); do \
42516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42517 done; \
42518 (cd $(TARGET_SUBDIR)/winsup && \
42519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42521 "RANLIB=$${RANLIB}" \
42522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42523 mostlyclean) \
42524 || exit 1
42526 @endif target-winsup
42528 .PHONY: maybe-clean-target-winsup clean-target-winsup
42529 maybe-clean-target-winsup:
42530 @if target-winsup
42531 maybe-clean-target-winsup: clean-target-winsup
42533 clean-target-winsup:
42534 @: $(MAKE); $(unstage)
42535 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42536 r=`${PWD_COMMAND}`; export r; \
42537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42538 $(NORMAL_TARGET_EXPORTS) \
42539 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
42540 for flag in $(EXTRA_TARGET_FLAGS); do \
42541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42542 done; \
42543 (cd $(TARGET_SUBDIR)/winsup && \
42544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42546 "RANLIB=$${RANLIB}" \
42547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42548 clean) \
42549 || exit 1
42551 @endif target-winsup
42553 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
42554 maybe-distclean-target-winsup:
42555 @if target-winsup
42556 maybe-distclean-target-winsup: distclean-target-winsup
42558 distclean-target-winsup:
42559 @: $(MAKE); $(unstage)
42560 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42561 r=`${PWD_COMMAND}`; export r; \
42562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42563 $(NORMAL_TARGET_EXPORTS) \
42564 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
42565 for flag in $(EXTRA_TARGET_FLAGS); do \
42566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42567 done; \
42568 (cd $(TARGET_SUBDIR)/winsup && \
42569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42571 "RANLIB=$${RANLIB}" \
42572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42573 distclean) \
42574 || exit 1
42576 @endif target-winsup
42578 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
42579 maybe-maintainer-clean-target-winsup:
42580 @if target-winsup
42581 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
42583 maintainer-clean-target-winsup:
42584 @: $(MAKE); $(unstage)
42585 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42586 r=`${PWD_COMMAND}`; export r; \
42587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42588 $(NORMAL_TARGET_EXPORTS) \
42589 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
42590 for flag in $(EXTRA_TARGET_FLAGS); do \
42591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42592 done; \
42593 (cd $(TARGET_SUBDIR)/winsup && \
42594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42596 "RANLIB=$${RANLIB}" \
42597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42598 maintainer-clean) \
42599 || exit 1
42601 @endif target-winsup
42607 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
42608 maybe-configure-target-libgloss:
42609 @if gcc-bootstrap
42610 configure-target-libgloss: stage_current
42611 @endif gcc-bootstrap
42612 @if target-libgloss
42613 maybe-configure-target-libgloss: configure-target-libgloss
42614 configure-target-libgloss:
42615 @: $(MAKE); $(unstage)
42616 @r=`${PWD_COMMAND}`; export r; \
42617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42618 echo "Checking multilib configuration for libgloss..."; \
42619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
42620 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
42621 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
42622 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
42623 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
42624 else \
42625 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
42626 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
42627 fi; \
42628 else \
42629 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
42630 fi; \
42631 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
42632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
42633 $(NORMAL_TARGET_EXPORTS) \
42634 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
42635 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
42636 case $(srcdir) in \
42637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42638 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
42639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42640 esac; \
42641 module_srcdir=libgloss; \
42642 rm -f no-such-file || : ; \
42643 CONFIG_SITE=no-such-file $(SHELL) \
42644 $$s/$$module_srcdir/configure \
42645 --srcdir=$${topdir}/$$module_srcdir \
42646 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42647 --target=${target_alias} \
42648 || exit 1
42649 @endif target-libgloss
42655 .PHONY: all-target-libgloss maybe-all-target-libgloss
42656 maybe-all-target-libgloss:
42657 @if gcc-bootstrap
42658 all-target-libgloss: stage_current
42659 @endif gcc-bootstrap
42660 @if target-libgloss
42661 TARGET-target-libgloss=all
42662 maybe-all-target-libgloss: all-target-libgloss
42663 all-target-libgloss: configure-target-libgloss
42664 @: $(MAKE); $(unstage)
42665 @r=`${PWD_COMMAND}`; export r; \
42666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42667 $(NORMAL_TARGET_EXPORTS) \
42668 (cd $(TARGET_SUBDIR)/libgloss && \
42669 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42670 $(TARGET-target-libgloss))
42671 @endif target-libgloss
42677 .PHONY: check-target-libgloss maybe-check-target-libgloss
42678 maybe-check-target-libgloss:
42679 @if target-libgloss
42680 maybe-check-target-libgloss: check-target-libgloss
42682 # Dummy target for uncheckable module.
42683 check-target-libgloss:
42685 @endif target-libgloss
42687 .PHONY: install-target-libgloss maybe-install-target-libgloss
42688 maybe-install-target-libgloss:
42689 @if target-libgloss
42690 maybe-install-target-libgloss: install-target-libgloss
42692 install-target-libgloss: installdirs
42693 @: $(MAKE); $(unstage)
42694 @r=`${PWD_COMMAND}`; export r; \
42695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42696 $(NORMAL_TARGET_EXPORTS) \
42697 (cd $(TARGET_SUBDIR)/libgloss && \
42698 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42700 @endif target-libgloss
42702 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
42703 maybe-install-strip-target-libgloss:
42704 @if target-libgloss
42705 maybe-install-strip-target-libgloss: install-strip-target-libgloss
42707 install-strip-target-libgloss: installdirs
42708 @: $(MAKE); $(unstage)
42709 @r=`${PWD_COMMAND}`; export r; \
42710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42711 $(NORMAL_TARGET_EXPORTS) \
42712 (cd $(TARGET_SUBDIR)/libgloss && \
42713 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42715 @endif target-libgloss
42717 # Other targets (info, dvi, pdf, etc.)
42719 .PHONY: maybe-info-target-libgloss info-target-libgloss
42720 maybe-info-target-libgloss:
42721 @if target-libgloss
42722 maybe-info-target-libgloss: info-target-libgloss
42724 info-target-libgloss: \
42725 configure-target-libgloss
42726 @: $(MAKE); $(unstage)
42727 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42728 r=`${PWD_COMMAND}`; export r; \
42729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42730 $(NORMAL_TARGET_EXPORTS) \
42731 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
42732 for flag in $(EXTRA_TARGET_FLAGS); do \
42733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42734 done; \
42735 (cd $(TARGET_SUBDIR)/libgloss && \
42736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42738 "RANLIB=$${RANLIB}" \
42739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42740 info) \
42741 || exit 1
42743 @endif target-libgloss
42745 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
42746 maybe-dvi-target-libgloss:
42747 @if target-libgloss
42748 maybe-dvi-target-libgloss: dvi-target-libgloss
42750 dvi-target-libgloss: \
42751 configure-target-libgloss
42752 @: $(MAKE); $(unstage)
42753 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42754 r=`${PWD_COMMAND}`; export r; \
42755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42756 $(NORMAL_TARGET_EXPORTS) \
42757 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
42758 for flag in $(EXTRA_TARGET_FLAGS); do \
42759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42760 done; \
42761 (cd $(TARGET_SUBDIR)/libgloss && \
42762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42764 "RANLIB=$${RANLIB}" \
42765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42766 dvi) \
42767 || exit 1
42769 @endif target-libgloss
42771 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
42772 maybe-pdf-target-libgloss:
42773 @if target-libgloss
42774 maybe-pdf-target-libgloss: pdf-target-libgloss
42776 pdf-target-libgloss: \
42777 configure-target-libgloss
42778 @: $(MAKE); $(unstage)
42779 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42780 r=`${PWD_COMMAND}`; export r; \
42781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42782 $(NORMAL_TARGET_EXPORTS) \
42783 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
42784 for flag in $(EXTRA_TARGET_FLAGS); do \
42785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42786 done; \
42787 (cd $(TARGET_SUBDIR)/libgloss && \
42788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42790 "RANLIB=$${RANLIB}" \
42791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42792 pdf) \
42793 || exit 1
42795 @endif target-libgloss
42797 .PHONY: maybe-html-target-libgloss html-target-libgloss
42798 maybe-html-target-libgloss:
42799 @if target-libgloss
42800 maybe-html-target-libgloss: html-target-libgloss
42802 html-target-libgloss: \
42803 configure-target-libgloss
42804 @: $(MAKE); $(unstage)
42805 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42806 r=`${PWD_COMMAND}`; export r; \
42807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42808 $(NORMAL_TARGET_EXPORTS) \
42809 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
42810 for flag in $(EXTRA_TARGET_FLAGS); do \
42811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42812 done; \
42813 (cd $(TARGET_SUBDIR)/libgloss && \
42814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42816 "RANLIB=$${RANLIB}" \
42817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42818 html) \
42819 || exit 1
42821 @endif target-libgloss
42823 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
42824 maybe-TAGS-target-libgloss:
42825 @if target-libgloss
42826 maybe-TAGS-target-libgloss: TAGS-target-libgloss
42828 TAGS-target-libgloss: \
42829 configure-target-libgloss
42830 @: $(MAKE); $(unstage)
42831 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42832 r=`${PWD_COMMAND}`; export r; \
42833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42834 $(NORMAL_TARGET_EXPORTS) \
42835 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
42836 for flag in $(EXTRA_TARGET_FLAGS); do \
42837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42838 done; \
42839 (cd $(TARGET_SUBDIR)/libgloss && \
42840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42842 "RANLIB=$${RANLIB}" \
42843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42844 TAGS) \
42845 || exit 1
42847 @endif target-libgloss
42849 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
42850 maybe-install-info-target-libgloss:
42851 @if target-libgloss
42852 maybe-install-info-target-libgloss: install-info-target-libgloss
42854 install-info-target-libgloss: \
42855 configure-target-libgloss \
42856 info-target-libgloss
42857 @: $(MAKE); $(unstage)
42858 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42859 r=`${PWD_COMMAND}`; export r; \
42860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42861 $(NORMAL_TARGET_EXPORTS) \
42862 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
42863 for flag in $(EXTRA_TARGET_FLAGS); do \
42864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42865 done; \
42866 (cd $(TARGET_SUBDIR)/libgloss && \
42867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42869 "RANLIB=$${RANLIB}" \
42870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42871 install-info) \
42872 || exit 1
42874 @endif target-libgloss
42876 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
42877 maybe-install-pdf-target-libgloss:
42878 @if target-libgloss
42879 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
42881 install-pdf-target-libgloss: \
42882 configure-target-libgloss \
42883 pdf-target-libgloss
42884 @: $(MAKE); $(unstage)
42885 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42886 r=`${PWD_COMMAND}`; export r; \
42887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42888 $(NORMAL_TARGET_EXPORTS) \
42889 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
42890 for flag in $(EXTRA_TARGET_FLAGS); do \
42891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42892 done; \
42893 (cd $(TARGET_SUBDIR)/libgloss && \
42894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42896 "RANLIB=$${RANLIB}" \
42897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42898 install-pdf) \
42899 || exit 1
42901 @endif target-libgloss
42903 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
42904 maybe-install-html-target-libgloss:
42905 @if target-libgloss
42906 maybe-install-html-target-libgloss: install-html-target-libgloss
42908 install-html-target-libgloss: \
42909 configure-target-libgloss \
42910 html-target-libgloss
42911 @: $(MAKE); $(unstage)
42912 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42913 r=`${PWD_COMMAND}`; export r; \
42914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42915 $(NORMAL_TARGET_EXPORTS) \
42916 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
42917 for flag in $(EXTRA_TARGET_FLAGS); do \
42918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42919 done; \
42920 (cd $(TARGET_SUBDIR)/libgloss && \
42921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42923 "RANLIB=$${RANLIB}" \
42924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42925 install-html) \
42926 || exit 1
42928 @endif target-libgloss
42930 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
42931 maybe-installcheck-target-libgloss:
42932 @if target-libgloss
42933 maybe-installcheck-target-libgloss: installcheck-target-libgloss
42935 installcheck-target-libgloss: \
42936 configure-target-libgloss
42937 @: $(MAKE); $(unstage)
42938 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42939 r=`${PWD_COMMAND}`; export r; \
42940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42941 $(NORMAL_TARGET_EXPORTS) \
42942 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
42943 for flag in $(EXTRA_TARGET_FLAGS); do \
42944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42945 done; \
42946 (cd $(TARGET_SUBDIR)/libgloss && \
42947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42949 "RANLIB=$${RANLIB}" \
42950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42951 installcheck) \
42952 || exit 1
42954 @endif target-libgloss
42956 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
42957 maybe-mostlyclean-target-libgloss:
42958 @if target-libgloss
42959 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
42961 mostlyclean-target-libgloss:
42962 @: $(MAKE); $(unstage)
42963 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42964 r=`${PWD_COMMAND}`; export r; \
42965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42966 $(NORMAL_TARGET_EXPORTS) \
42967 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
42968 for flag in $(EXTRA_TARGET_FLAGS); do \
42969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42970 done; \
42971 (cd $(TARGET_SUBDIR)/libgloss && \
42972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42974 "RANLIB=$${RANLIB}" \
42975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42976 mostlyclean) \
42977 || exit 1
42979 @endif target-libgloss
42981 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
42982 maybe-clean-target-libgloss:
42983 @if target-libgloss
42984 maybe-clean-target-libgloss: clean-target-libgloss
42986 clean-target-libgloss:
42987 @: $(MAKE); $(unstage)
42988 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42989 r=`${PWD_COMMAND}`; export r; \
42990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42991 $(NORMAL_TARGET_EXPORTS) \
42992 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
42993 for flag in $(EXTRA_TARGET_FLAGS); do \
42994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42995 done; \
42996 (cd $(TARGET_SUBDIR)/libgloss && \
42997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42999 "RANLIB=$${RANLIB}" \
43000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43001 clean) \
43002 || exit 1
43004 @endif target-libgloss
43006 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
43007 maybe-distclean-target-libgloss:
43008 @if target-libgloss
43009 maybe-distclean-target-libgloss: distclean-target-libgloss
43011 distclean-target-libgloss:
43012 @: $(MAKE); $(unstage)
43013 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
43014 r=`${PWD_COMMAND}`; export r; \
43015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43016 $(NORMAL_TARGET_EXPORTS) \
43017 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
43018 for flag in $(EXTRA_TARGET_FLAGS); do \
43019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43020 done; \
43021 (cd $(TARGET_SUBDIR)/libgloss && \
43022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43024 "RANLIB=$${RANLIB}" \
43025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43026 distclean) \
43027 || exit 1
43029 @endif target-libgloss
43031 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
43032 maybe-maintainer-clean-target-libgloss:
43033 @if target-libgloss
43034 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
43036 maintainer-clean-target-libgloss:
43037 @: $(MAKE); $(unstage)
43038 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
43039 r=`${PWD_COMMAND}`; export r; \
43040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43041 $(NORMAL_TARGET_EXPORTS) \
43042 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
43043 for flag in $(EXTRA_TARGET_FLAGS); do \
43044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43045 done; \
43046 (cd $(TARGET_SUBDIR)/libgloss && \
43047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43049 "RANLIB=$${RANLIB}" \
43050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43051 maintainer-clean) \
43052 || exit 1
43054 @endif target-libgloss
43060 .PHONY: configure-target-libffi maybe-configure-target-libffi
43061 maybe-configure-target-libffi:
43062 @if gcc-bootstrap
43063 configure-target-libffi: stage_current
43064 @endif gcc-bootstrap
43065 @if target-libffi
43066 maybe-configure-target-libffi: configure-target-libffi
43067 configure-target-libffi:
43068 @: $(MAKE); $(unstage)
43069 @r=`${PWD_COMMAND}`; export r; \
43070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43071 echo "Checking multilib configuration for libffi..."; \
43072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
43073 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
43074 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
43075 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
43076 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
43077 else \
43078 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
43079 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
43080 fi; \
43081 else \
43082 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
43083 fi; \
43084 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
43085 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
43086 $(NORMAL_TARGET_EXPORTS) \
43087 echo Configuring in $(TARGET_SUBDIR)/libffi; \
43088 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
43089 case $(srcdir) in \
43090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43091 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
43092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43093 esac; \
43094 module_srcdir=libffi; \
43095 rm -f no-such-file || : ; \
43096 CONFIG_SITE=no-such-file $(SHELL) \
43097 $$s/$$module_srcdir/configure \
43098 --srcdir=$${topdir}/$$module_srcdir \
43099 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43100 --target=${target_alias} \
43101 || exit 1
43102 @endif target-libffi
43108 .PHONY: all-target-libffi maybe-all-target-libffi
43109 maybe-all-target-libffi:
43110 @if gcc-bootstrap
43111 all-target-libffi: stage_current
43112 @endif gcc-bootstrap
43113 @if target-libffi
43114 TARGET-target-libffi=all
43115 maybe-all-target-libffi: all-target-libffi
43116 all-target-libffi: configure-target-libffi
43117 @: $(MAKE); $(unstage)
43118 @r=`${PWD_COMMAND}`; export r; \
43119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43120 $(NORMAL_TARGET_EXPORTS) \
43121 (cd $(TARGET_SUBDIR)/libffi && \
43122 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43123 $(TARGET-target-libffi))
43124 @endif target-libffi
43130 .PHONY: check-target-libffi maybe-check-target-libffi
43131 maybe-check-target-libffi:
43132 @if target-libffi
43133 maybe-check-target-libffi: check-target-libffi
43135 check-target-libffi:
43136 @: $(MAKE); $(unstage)
43137 @r=`${PWD_COMMAND}`; export r; \
43138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43139 $(NORMAL_TARGET_EXPORTS) \
43140 (cd $(TARGET_SUBDIR)/libffi && \
43141 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43143 @endif target-libffi
43145 .PHONY: install-target-libffi maybe-install-target-libffi
43146 maybe-install-target-libffi:
43147 @if target-libffi
43148 maybe-install-target-libffi: install-target-libffi
43150 # Dummy target for uninstallable.
43151 install-target-libffi:
43153 @endif target-libffi
43155 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
43156 maybe-install-strip-target-libffi:
43157 @if target-libffi
43158 maybe-install-strip-target-libffi: install-strip-target-libffi
43160 # Dummy target for uninstallable.
43161 install-strip-target-libffi:
43163 @endif target-libffi
43165 # Other targets (info, dvi, pdf, etc.)
43167 .PHONY: maybe-info-target-libffi info-target-libffi
43168 maybe-info-target-libffi:
43169 @if target-libffi
43170 maybe-info-target-libffi: info-target-libffi
43172 info-target-libffi: \
43173 configure-target-libffi
43174 @: $(MAKE); $(unstage)
43175 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43176 r=`${PWD_COMMAND}`; export r; \
43177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43178 $(NORMAL_TARGET_EXPORTS) \
43179 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
43180 for flag in $(EXTRA_TARGET_FLAGS); do \
43181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43182 done; \
43183 (cd $(TARGET_SUBDIR)/libffi && \
43184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43186 "RANLIB=$${RANLIB}" \
43187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43188 info) \
43189 || exit 1
43191 @endif target-libffi
43193 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
43194 maybe-dvi-target-libffi:
43195 @if target-libffi
43196 maybe-dvi-target-libffi: dvi-target-libffi
43198 dvi-target-libffi: \
43199 configure-target-libffi
43200 @: $(MAKE); $(unstage)
43201 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43202 r=`${PWD_COMMAND}`; export r; \
43203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43204 $(NORMAL_TARGET_EXPORTS) \
43205 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
43206 for flag in $(EXTRA_TARGET_FLAGS); do \
43207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43208 done; \
43209 (cd $(TARGET_SUBDIR)/libffi && \
43210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43212 "RANLIB=$${RANLIB}" \
43213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43214 dvi) \
43215 || exit 1
43217 @endif target-libffi
43219 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
43220 maybe-pdf-target-libffi:
43221 @if target-libffi
43222 maybe-pdf-target-libffi: pdf-target-libffi
43224 pdf-target-libffi: \
43225 configure-target-libffi
43226 @: $(MAKE); $(unstage)
43227 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43228 r=`${PWD_COMMAND}`; export r; \
43229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43230 $(NORMAL_TARGET_EXPORTS) \
43231 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
43232 for flag in $(EXTRA_TARGET_FLAGS); do \
43233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43234 done; \
43235 (cd $(TARGET_SUBDIR)/libffi && \
43236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43238 "RANLIB=$${RANLIB}" \
43239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43240 pdf) \
43241 || exit 1
43243 @endif target-libffi
43245 .PHONY: maybe-html-target-libffi html-target-libffi
43246 maybe-html-target-libffi:
43247 @if target-libffi
43248 maybe-html-target-libffi: html-target-libffi
43250 html-target-libffi: \
43251 configure-target-libffi
43252 @: $(MAKE); $(unstage)
43253 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43254 r=`${PWD_COMMAND}`; export r; \
43255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43256 $(NORMAL_TARGET_EXPORTS) \
43257 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
43258 for flag in $(EXTRA_TARGET_FLAGS); do \
43259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43260 done; \
43261 (cd $(TARGET_SUBDIR)/libffi && \
43262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43264 "RANLIB=$${RANLIB}" \
43265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43266 html) \
43267 || exit 1
43269 @endif target-libffi
43271 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
43272 maybe-TAGS-target-libffi:
43273 @if target-libffi
43274 maybe-TAGS-target-libffi: TAGS-target-libffi
43276 TAGS-target-libffi: \
43277 configure-target-libffi
43278 @: $(MAKE); $(unstage)
43279 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43280 r=`${PWD_COMMAND}`; export r; \
43281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43282 $(NORMAL_TARGET_EXPORTS) \
43283 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
43284 for flag in $(EXTRA_TARGET_FLAGS); do \
43285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43286 done; \
43287 (cd $(TARGET_SUBDIR)/libffi && \
43288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43290 "RANLIB=$${RANLIB}" \
43291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43292 TAGS) \
43293 || exit 1
43295 @endif target-libffi
43297 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
43298 maybe-install-info-target-libffi:
43299 @if target-libffi
43300 maybe-install-info-target-libffi: install-info-target-libffi
43302 install-info-target-libffi: \
43303 configure-target-libffi \
43304 info-target-libffi
43305 @: $(MAKE); $(unstage)
43306 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43307 r=`${PWD_COMMAND}`; export r; \
43308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43309 $(NORMAL_TARGET_EXPORTS) \
43310 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
43311 for flag in $(EXTRA_TARGET_FLAGS); do \
43312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43313 done; \
43314 (cd $(TARGET_SUBDIR)/libffi && \
43315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43317 "RANLIB=$${RANLIB}" \
43318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43319 install-info) \
43320 || exit 1
43322 @endif target-libffi
43324 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
43325 maybe-install-pdf-target-libffi:
43326 @if target-libffi
43327 maybe-install-pdf-target-libffi: install-pdf-target-libffi
43329 install-pdf-target-libffi: \
43330 configure-target-libffi \
43331 pdf-target-libffi
43332 @: $(MAKE); $(unstage)
43333 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43334 r=`${PWD_COMMAND}`; export r; \
43335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43336 $(NORMAL_TARGET_EXPORTS) \
43337 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
43338 for flag in $(EXTRA_TARGET_FLAGS); do \
43339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43340 done; \
43341 (cd $(TARGET_SUBDIR)/libffi && \
43342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43344 "RANLIB=$${RANLIB}" \
43345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43346 install-pdf) \
43347 || exit 1
43349 @endif target-libffi
43351 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
43352 maybe-install-html-target-libffi:
43353 @if target-libffi
43354 maybe-install-html-target-libffi: install-html-target-libffi
43356 install-html-target-libffi: \
43357 configure-target-libffi \
43358 html-target-libffi
43359 @: $(MAKE); $(unstage)
43360 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43361 r=`${PWD_COMMAND}`; export r; \
43362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43363 $(NORMAL_TARGET_EXPORTS) \
43364 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
43365 for flag in $(EXTRA_TARGET_FLAGS); do \
43366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43367 done; \
43368 (cd $(TARGET_SUBDIR)/libffi && \
43369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43371 "RANLIB=$${RANLIB}" \
43372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43373 install-html) \
43374 || exit 1
43376 @endif target-libffi
43378 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
43379 maybe-installcheck-target-libffi:
43380 @if target-libffi
43381 maybe-installcheck-target-libffi: installcheck-target-libffi
43383 installcheck-target-libffi: \
43384 configure-target-libffi
43385 @: $(MAKE); $(unstage)
43386 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43387 r=`${PWD_COMMAND}`; export r; \
43388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43389 $(NORMAL_TARGET_EXPORTS) \
43390 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
43391 for flag in $(EXTRA_TARGET_FLAGS); do \
43392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43393 done; \
43394 (cd $(TARGET_SUBDIR)/libffi && \
43395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43397 "RANLIB=$${RANLIB}" \
43398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43399 installcheck) \
43400 || exit 1
43402 @endif target-libffi
43404 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
43405 maybe-mostlyclean-target-libffi:
43406 @if target-libffi
43407 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
43409 mostlyclean-target-libffi:
43410 @: $(MAKE); $(unstage)
43411 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43412 r=`${PWD_COMMAND}`; export r; \
43413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43414 $(NORMAL_TARGET_EXPORTS) \
43415 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
43416 for flag in $(EXTRA_TARGET_FLAGS); do \
43417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43418 done; \
43419 (cd $(TARGET_SUBDIR)/libffi && \
43420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43422 "RANLIB=$${RANLIB}" \
43423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43424 mostlyclean) \
43425 || exit 1
43427 @endif target-libffi
43429 .PHONY: maybe-clean-target-libffi clean-target-libffi
43430 maybe-clean-target-libffi:
43431 @if target-libffi
43432 maybe-clean-target-libffi: clean-target-libffi
43434 clean-target-libffi:
43435 @: $(MAKE); $(unstage)
43436 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43437 r=`${PWD_COMMAND}`; export r; \
43438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43439 $(NORMAL_TARGET_EXPORTS) \
43440 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
43441 for flag in $(EXTRA_TARGET_FLAGS); do \
43442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43443 done; \
43444 (cd $(TARGET_SUBDIR)/libffi && \
43445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43447 "RANLIB=$${RANLIB}" \
43448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43449 clean) \
43450 || exit 1
43452 @endif target-libffi
43454 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
43455 maybe-distclean-target-libffi:
43456 @if target-libffi
43457 maybe-distclean-target-libffi: distclean-target-libffi
43459 distclean-target-libffi:
43460 @: $(MAKE); $(unstage)
43461 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43462 r=`${PWD_COMMAND}`; export r; \
43463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43464 $(NORMAL_TARGET_EXPORTS) \
43465 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
43466 for flag in $(EXTRA_TARGET_FLAGS); do \
43467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43468 done; \
43469 (cd $(TARGET_SUBDIR)/libffi && \
43470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43472 "RANLIB=$${RANLIB}" \
43473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43474 distclean) \
43475 || exit 1
43477 @endif target-libffi
43479 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
43480 maybe-maintainer-clean-target-libffi:
43481 @if target-libffi
43482 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
43484 maintainer-clean-target-libffi:
43485 @: $(MAKE); $(unstage)
43486 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43487 r=`${PWD_COMMAND}`; export r; \
43488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43489 $(NORMAL_TARGET_EXPORTS) \
43490 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
43491 for flag in $(EXTRA_TARGET_FLAGS); do \
43492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43493 done; \
43494 (cd $(TARGET_SUBDIR)/libffi && \
43495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43497 "RANLIB=$${RANLIB}" \
43498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43499 maintainer-clean) \
43500 || exit 1
43502 @endif target-libffi
43508 .PHONY: configure-target-libjava maybe-configure-target-libjava
43509 maybe-configure-target-libjava:
43510 @if gcc-bootstrap
43511 configure-target-libjava: stage_current
43512 @endif gcc-bootstrap
43513 @if target-libjava
43514 maybe-configure-target-libjava: configure-target-libjava
43515 configure-target-libjava:
43516 @: $(MAKE); $(unstage)
43517 @r=`${PWD_COMMAND}`; export r; \
43518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43519 echo "Checking multilib configuration for libjava..."; \
43520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava; \
43521 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null; \
43522 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
43523 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
43524 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
43525 else \
43526 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
43527 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
43528 fi; \
43529 else \
43530 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
43531 fi; \
43532 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
43533 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava; \
43534 $(RAW_CXX_TARGET_EXPORTS) \
43535 echo Configuring in $(TARGET_SUBDIR)/libjava; \
43536 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
43537 case $(srcdir) in \
43538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43539 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
43540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43541 esac; \
43542 module_srcdir=libjava; \
43543 rm -f no-such-file || : ; \
43544 CONFIG_SITE=no-such-file $(SHELL) \
43545 $$s/$$module_srcdir/configure \
43546 --srcdir=$${topdir}/$$module_srcdir \
43547 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43548 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
43549 || exit 1
43550 @endif target-libjava
43556 .PHONY: all-target-libjava maybe-all-target-libjava
43557 maybe-all-target-libjava:
43558 @if gcc-bootstrap
43559 all-target-libjava: stage_current
43560 @endif gcc-bootstrap
43561 @if target-libjava
43562 TARGET-target-libjava=all
43563 maybe-all-target-libjava: all-target-libjava
43564 all-target-libjava: configure-target-libjava
43565 @: $(MAKE); $(unstage)
43566 @r=`${PWD_COMMAND}`; export r; \
43567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43568 $(RAW_CXX_TARGET_EXPORTS) \
43569 (cd $(TARGET_SUBDIR)/libjava && \
43570 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43571 $(TARGET-target-libjava))
43572 @endif target-libjava
43578 .PHONY: check-target-libjava maybe-check-target-libjava
43579 maybe-check-target-libjava:
43580 @if target-libjava
43581 maybe-check-target-libjava: check-target-libjava
43583 check-target-libjava:
43584 @: $(MAKE); $(unstage)
43585 @r=`${PWD_COMMAND}`; export r; \
43586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43587 $(RAW_CXX_TARGET_EXPORTS) \
43588 (cd $(TARGET_SUBDIR)/libjava && \
43589 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
43591 @endif target-libjava
43593 .PHONY: install-target-libjava maybe-install-target-libjava
43594 maybe-install-target-libjava:
43595 @if target-libjava
43596 maybe-install-target-libjava: install-target-libjava
43598 install-target-libjava: installdirs
43599 @: $(MAKE); $(unstage)
43600 @r=`${PWD_COMMAND}`; export r; \
43601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43602 $(RAW_CXX_TARGET_EXPORTS) \
43603 (cd $(TARGET_SUBDIR)/libjava && \
43604 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43606 @endif target-libjava
43608 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
43609 maybe-install-strip-target-libjava:
43610 @if target-libjava
43611 maybe-install-strip-target-libjava: install-strip-target-libjava
43613 install-strip-target-libjava: installdirs
43614 @: $(MAKE); $(unstage)
43615 @r=`${PWD_COMMAND}`; export r; \
43616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43617 $(RAW_CXX_TARGET_EXPORTS) \
43618 (cd $(TARGET_SUBDIR)/libjava && \
43619 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43621 @endif target-libjava
43623 # Other targets (info, dvi, pdf, etc.)
43625 .PHONY: maybe-info-target-libjava info-target-libjava
43626 maybe-info-target-libjava:
43627 @if target-libjava
43628 maybe-info-target-libjava: info-target-libjava
43630 info-target-libjava: \
43631 configure-target-libjava
43632 @: $(MAKE); $(unstage)
43633 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43634 r=`${PWD_COMMAND}`; export r; \
43635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43636 $(RAW_CXX_TARGET_EXPORTS) \
43637 echo "Doing info in $(TARGET_SUBDIR)/libjava"; \
43638 for flag in $(EXTRA_TARGET_FLAGS); do \
43639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43640 done; \
43641 (cd $(TARGET_SUBDIR)/libjava && \
43642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43644 "RANLIB=$${RANLIB}" \
43645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43646 info) \
43647 || exit 1
43649 @endif target-libjava
43651 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
43652 maybe-dvi-target-libjava:
43653 @if target-libjava
43654 maybe-dvi-target-libjava: dvi-target-libjava
43656 dvi-target-libjava: \
43657 configure-target-libjava
43658 @: $(MAKE); $(unstage)
43659 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43660 r=`${PWD_COMMAND}`; export r; \
43661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43662 $(RAW_CXX_TARGET_EXPORTS) \
43663 echo "Doing dvi in $(TARGET_SUBDIR)/libjava"; \
43664 for flag in $(EXTRA_TARGET_FLAGS); do \
43665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43666 done; \
43667 (cd $(TARGET_SUBDIR)/libjava && \
43668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43670 "RANLIB=$${RANLIB}" \
43671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43672 dvi) \
43673 || exit 1
43675 @endif target-libjava
43677 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
43678 maybe-pdf-target-libjava:
43679 @if target-libjava
43680 maybe-pdf-target-libjava: pdf-target-libjava
43682 pdf-target-libjava: \
43683 configure-target-libjava
43684 @: $(MAKE); $(unstage)
43685 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43686 r=`${PWD_COMMAND}`; export r; \
43687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43688 $(RAW_CXX_TARGET_EXPORTS) \
43689 echo "Doing pdf in $(TARGET_SUBDIR)/libjava"; \
43690 for flag in $(EXTRA_TARGET_FLAGS); do \
43691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43692 done; \
43693 (cd $(TARGET_SUBDIR)/libjava && \
43694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43696 "RANLIB=$${RANLIB}" \
43697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43698 pdf) \
43699 || exit 1
43701 @endif target-libjava
43703 .PHONY: maybe-html-target-libjava html-target-libjava
43704 maybe-html-target-libjava:
43705 @if target-libjava
43706 maybe-html-target-libjava: html-target-libjava
43708 html-target-libjava: \
43709 configure-target-libjava
43710 @: $(MAKE); $(unstage)
43711 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43712 r=`${PWD_COMMAND}`; export r; \
43713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43714 $(RAW_CXX_TARGET_EXPORTS) \
43715 echo "Doing html in $(TARGET_SUBDIR)/libjava"; \
43716 for flag in $(EXTRA_TARGET_FLAGS); do \
43717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43718 done; \
43719 (cd $(TARGET_SUBDIR)/libjava && \
43720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43722 "RANLIB=$${RANLIB}" \
43723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43724 html) \
43725 || exit 1
43727 @endif target-libjava
43729 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
43730 maybe-TAGS-target-libjava:
43731 @if target-libjava
43732 maybe-TAGS-target-libjava: TAGS-target-libjava
43734 TAGS-target-libjava: \
43735 configure-target-libjava
43736 @: $(MAKE); $(unstage)
43737 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43738 r=`${PWD_COMMAND}`; export r; \
43739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43740 $(RAW_CXX_TARGET_EXPORTS) \
43741 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava"; \
43742 for flag in $(EXTRA_TARGET_FLAGS); do \
43743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43744 done; \
43745 (cd $(TARGET_SUBDIR)/libjava && \
43746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43748 "RANLIB=$${RANLIB}" \
43749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43750 TAGS) \
43751 || exit 1
43753 @endif target-libjava
43755 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
43756 maybe-install-info-target-libjava:
43757 @if target-libjava
43758 maybe-install-info-target-libjava: install-info-target-libjava
43760 install-info-target-libjava: \
43761 configure-target-libjava \
43762 info-target-libjava
43763 @: $(MAKE); $(unstage)
43764 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43765 r=`${PWD_COMMAND}`; export r; \
43766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43767 $(RAW_CXX_TARGET_EXPORTS) \
43768 echo "Doing install-info in $(TARGET_SUBDIR)/libjava"; \
43769 for flag in $(EXTRA_TARGET_FLAGS); do \
43770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43771 done; \
43772 (cd $(TARGET_SUBDIR)/libjava && \
43773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43775 "RANLIB=$${RANLIB}" \
43776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43777 install-info) \
43778 || exit 1
43780 @endif target-libjava
43782 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
43783 maybe-install-pdf-target-libjava:
43784 @if target-libjava
43785 maybe-install-pdf-target-libjava: install-pdf-target-libjava
43787 install-pdf-target-libjava: \
43788 configure-target-libjava \
43789 pdf-target-libjava
43790 @: $(MAKE); $(unstage)
43791 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43792 r=`${PWD_COMMAND}`; export r; \
43793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43794 $(RAW_CXX_TARGET_EXPORTS) \
43795 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava"; \
43796 for flag in $(EXTRA_TARGET_FLAGS); do \
43797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43798 done; \
43799 (cd $(TARGET_SUBDIR)/libjava && \
43800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43802 "RANLIB=$${RANLIB}" \
43803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43804 install-pdf) \
43805 || exit 1
43807 @endif target-libjava
43809 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
43810 maybe-install-html-target-libjava:
43811 @if target-libjava
43812 maybe-install-html-target-libjava: install-html-target-libjava
43814 install-html-target-libjava: \
43815 configure-target-libjava \
43816 html-target-libjava
43817 @: $(MAKE); $(unstage)
43818 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43819 r=`${PWD_COMMAND}`; export r; \
43820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43821 $(RAW_CXX_TARGET_EXPORTS) \
43822 echo "Doing install-html in $(TARGET_SUBDIR)/libjava"; \
43823 for flag in $(EXTRA_TARGET_FLAGS); do \
43824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43825 done; \
43826 (cd $(TARGET_SUBDIR)/libjava && \
43827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43829 "RANLIB=$${RANLIB}" \
43830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43831 install-html) \
43832 || exit 1
43834 @endif target-libjava
43836 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
43837 maybe-installcheck-target-libjava:
43838 @if target-libjava
43839 maybe-installcheck-target-libjava: installcheck-target-libjava
43841 installcheck-target-libjava: \
43842 configure-target-libjava
43843 @: $(MAKE); $(unstage)
43844 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43845 r=`${PWD_COMMAND}`; export r; \
43846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43847 $(RAW_CXX_TARGET_EXPORTS) \
43848 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava"; \
43849 for flag in $(EXTRA_TARGET_FLAGS); do \
43850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43851 done; \
43852 (cd $(TARGET_SUBDIR)/libjava && \
43853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43855 "RANLIB=$${RANLIB}" \
43856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43857 installcheck) \
43858 || exit 1
43860 @endif target-libjava
43862 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
43863 maybe-mostlyclean-target-libjava:
43864 @if target-libjava
43865 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
43867 mostlyclean-target-libjava:
43868 @: $(MAKE); $(unstage)
43869 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43870 r=`${PWD_COMMAND}`; export r; \
43871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43872 $(RAW_CXX_TARGET_EXPORTS) \
43873 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava"; \
43874 for flag in $(EXTRA_TARGET_FLAGS); do \
43875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43876 done; \
43877 (cd $(TARGET_SUBDIR)/libjava && \
43878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43880 "RANLIB=$${RANLIB}" \
43881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43882 mostlyclean) \
43883 || exit 1
43885 @endif target-libjava
43887 .PHONY: maybe-clean-target-libjava clean-target-libjava
43888 maybe-clean-target-libjava:
43889 @if target-libjava
43890 maybe-clean-target-libjava: clean-target-libjava
43892 clean-target-libjava:
43893 @: $(MAKE); $(unstage)
43894 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43895 r=`${PWD_COMMAND}`; export r; \
43896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43897 $(RAW_CXX_TARGET_EXPORTS) \
43898 echo "Doing clean in $(TARGET_SUBDIR)/libjava"; \
43899 for flag in $(EXTRA_TARGET_FLAGS); do \
43900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43901 done; \
43902 (cd $(TARGET_SUBDIR)/libjava && \
43903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43905 "RANLIB=$${RANLIB}" \
43906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43907 clean) \
43908 || exit 1
43910 @endif target-libjava
43912 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
43913 maybe-distclean-target-libjava:
43914 @if target-libjava
43915 maybe-distclean-target-libjava: distclean-target-libjava
43917 distclean-target-libjava:
43918 @: $(MAKE); $(unstage)
43919 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43920 r=`${PWD_COMMAND}`; export r; \
43921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43922 $(RAW_CXX_TARGET_EXPORTS) \
43923 echo "Doing distclean in $(TARGET_SUBDIR)/libjava"; \
43924 for flag in $(EXTRA_TARGET_FLAGS); do \
43925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43926 done; \
43927 (cd $(TARGET_SUBDIR)/libjava && \
43928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43930 "RANLIB=$${RANLIB}" \
43931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43932 distclean) \
43933 || exit 1
43935 @endif target-libjava
43937 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
43938 maybe-maintainer-clean-target-libjava:
43939 @if target-libjava
43940 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
43942 maintainer-clean-target-libjava:
43943 @: $(MAKE); $(unstage)
43944 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43945 r=`${PWD_COMMAND}`; export r; \
43946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43947 $(RAW_CXX_TARGET_EXPORTS) \
43948 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava"; \
43949 for flag in $(EXTRA_TARGET_FLAGS); do \
43950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43951 done; \
43952 (cd $(TARGET_SUBDIR)/libjava && \
43953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43955 "RANLIB=$${RANLIB}" \
43956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43957 maintainer-clean) \
43958 || exit 1
43960 @endif target-libjava
43966 .PHONY: configure-target-zlib maybe-configure-target-zlib
43967 maybe-configure-target-zlib:
43968 @if gcc-bootstrap
43969 configure-target-zlib: stage_current
43970 @endif gcc-bootstrap
43971 @if target-zlib
43972 maybe-configure-target-zlib: configure-target-zlib
43973 configure-target-zlib:
43974 @: $(MAKE); $(unstage)
43975 @r=`${PWD_COMMAND}`; export r; \
43976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43977 echo "Checking multilib configuration for zlib..."; \
43978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
43979 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
43980 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
43981 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
43982 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
43983 else \
43984 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
43985 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
43986 fi; \
43987 else \
43988 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
43989 fi; \
43990 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
43991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
43992 $(NORMAL_TARGET_EXPORTS) \
43993 echo Configuring in $(TARGET_SUBDIR)/zlib; \
43994 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
43995 case $(srcdir) in \
43996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43997 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
43998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43999 esac; \
44000 module_srcdir=zlib; \
44001 rm -f no-such-file || : ; \
44002 CONFIG_SITE=no-such-file $(SHELL) \
44003 $$s/$$module_srcdir/configure \
44004 --srcdir=$${topdir}/$$module_srcdir \
44005 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44006 --target=${target_alias} \
44007 || exit 1
44008 @endif target-zlib
44014 .PHONY: all-target-zlib maybe-all-target-zlib
44015 maybe-all-target-zlib:
44016 @if gcc-bootstrap
44017 all-target-zlib: stage_current
44018 @endif gcc-bootstrap
44019 @if target-zlib
44020 TARGET-target-zlib=all
44021 maybe-all-target-zlib: all-target-zlib
44022 all-target-zlib: configure-target-zlib
44023 @: $(MAKE); $(unstage)
44024 @r=`${PWD_COMMAND}`; export r; \
44025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44026 $(NORMAL_TARGET_EXPORTS) \
44027 (cd $(TARGET_SUBDIR)/zlib && \
44028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44029 $(TARGET-target-zlib))
44030 @endif target-zlib
44036 .PHONY: check-target-zlib maybe-check-target-zlib
44037 maybe-check-target-zlib:
44038 @if target-zlib
44039 maybe-check-target-zlib: check-target-zlib
44041 check-target-zlib:
44042 @: $(MAKE); $(unstage)
44043 @r=`${PWD_COMMAND}`; export r; \
44044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44045 $(NORMAL_TARGET_EXPORTS) \
44046 (cd $(TARGET_SUBDIR)/zlib && \
44047 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44049 @endif target-zlib
44051 .PHONY: install-target-zlib maybe-install-target-zlib
44052 maybe-install-target-zlib:
44053 @if target-zlib
44054 maybe-install-target-zlib: install-target-zlib
44056 install-target-zlib: installdirs
44057 @: $(MAKE); $(unstage)
44058 @r=`${PWD_COMMAND}`; export r; \
44059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44060 $(NORMAL_TARGET_EXPORTS) \
44061 (cd $(TARGET_SUBDIR)/zlib && \
44062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44064 @endif target-zlib
44066 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
44067 maybe-install-strip-target-zlib:
44068 @if target-zlib
44069 maybe-install-strip-target-zlib: install-strip-target-zlib
44071 install-strip-target-zlib: installdirs
44072 @: $(MAKE); $(unstage)
44073 @r=`${PWD_COMMAND}`; export r; \
44074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44075 $(NORMAL_TARGET_EXPORTS) \
44076 (cd $(TARGET_SUBDIR)/zlib && \
44077 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44079 @endif target-zlib
44081 # Other targets (info, dvi, pdf, etc.)
44083 .PHONY: maybe-info-target-zlib info-target-zlib
44084 maybe-info-target-zlib:
44085 @if target-zlib
44086 maybe-info-target-zlib: info-target-zlib
44088 info-target-zlib: \
44089 configure-target-zlib
44090 @: $(MAKE); $(unstage)
44091 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44092 r=`${PWD_COMMAND}`; export r; \
44093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44094 $(NORMAL_TARGET_EXPORTS) \
44095 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
44096 for flag in $(EXTRA_TARGET_FLAGS); do \
44097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44098 done; \
44099 (cd $(TARGET_SUBDIR)/zlib && \
44100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44102 "RANLIB=$${RANLIB}" \
44103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44104 info) \
44105 || exit 1
44107 @endif target-zlib
44109 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
44110 maybe-dvi-target-zlib:
44111 @if target-zlib
44112 maybe-dvi-target-zlib: dvi-target-zlib
44114 dvi-target-zlib: \
44115 configure-target-zlib
44116 @: $(MAKE); $(unstage)
44117 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44118 r=`${PWD_COMMAND}`; export r; \
44119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44120 $(NORMAL_TARGET_EXPORTS) \
44121 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
44122 for flag in $(EXTRA_TARGET_FLAGS); do \
44123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44124 done; \
44125 (cd $(TARGET_SUBDIR)/zlib && \
44126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44128 "RANLIB=$${RANLIB}" \
44129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44130 dvi) \
44131 || exit 1
44133 @endif target-zlib
44135 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
44136 maybe-pdf-target-zlib:
44137 @if target-zlib
44138 maybe-pdf-target-zlib: pdf-target-zlib
44140 pdf-target-zlib: \
44141 configure-target-zlib
44142 @: $(MAKE); $(unstage)
44143 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44144 r=`${PWD_COMMAND}`; export r; \
44145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44146 $(NORMAL_TARGET_EXPORTS) \
44147 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
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)/zlib && \
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 pdf) \
44157 || exit 1
44159 @endif target-zlib
44161 .PHONY: maybe-html-target-zlib html-target-zlib
44162 maybe-html-target-zlib:
44163 @if target-zlib
44164 maybe-html-target-zlib: html-target-zlib
44166 html-target-zlib: \
44167 configure-target-zlib
44168 @: $(MAKE); $(unstage)
44169 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44170 r=`${PWD_COMMAND}`; export r; \
44171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44172 $(NORMAL_TARGET_EXPORTS) \
44173 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
44174 for flag in $(EXTRA_TARGET_FLAGS); do \
44175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44176 done; \
44177 (cd $(TARGET_SUBDIR)/zlib && \
44178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44180 "RANLIB=$${RANLIB}" \
44181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44182 html) \
44183 || exit 1
44185 @endif target-zlib
44187 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
44188 maybe-TAGS-target-zlib:
44189 @if target-zlib
44190 maybe-TAGS-target-zlib: TAGS-target-zlib
44192 TAGS-target-zlib: \
44193 configure-target-zlib
44194 @: $(MAKE); $(unstage)
44195 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44196 r=`${PWD_COMMAND}`; export r; \
44197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44198 $(NORMAL_TARGET_EXPORTS) \
44199 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
44200 for flag in $(EXTRA_TARGET_FLAGS); do \
44201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44202 done; \
44203 (cd $(TARGET_SUBDIR)/zlib && \
44204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44206 "RANLIB=$${RANLIB}" \
44207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44208 TAGS) \
44209 || exit 1
44211 @endif target-zlib
44213 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
44214 maybe-install-info-target-zlib:
44215 @if target-zlib
44216 maybe-install-info-target-zlib: install-info-target-zlib
44218 install-info-target-zlib: \
44219 configure-target-zlib \
44220 info-target-zlib
44221 @: $(MAKE); $(unstage)
44222 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44223 r=`${PWD_COMMAND}`; export r; \
44224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44225 $(NORMAL_TARGET_EXPORTS) \
44226 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
44227 for flag in $(EXTRA_TARGET_FLAGS); do \
44228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44229 done; \
44230 (cd $(TARGET_SUBDIR)/zlib && \
44231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44233 "RANLIB=$${RANLIB}" \
44234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44235 install-info) \
44236 || exit 1
44238 @endif target-zlib
44240 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
44241 maybe-install-pdf-target-zlib:
44242 @if target-zlib
44243 maybe-install-pdf-target-zlib: install-pdf-target-zlib
44245 install-pdf-target-zlib: \
44246 configure-target-zlib \
44247 pdf-target-zlib
44248 @: $(MAKE); $(unstage)
44249 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44250 r=`${PWD_COMMAND}`; export r; \
44251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44252 $(NORMAL_TARGET_EXPORTS) \
44253 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
44254 for flag in $(EXTRA_TARGET_FLAGS); do \
44255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44256 done; \
44257 (cd $(TARGET_SUBDIR)/zlib && \
44258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44260 "RANLIB=$${RANLIB}" \
44261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44262 install-pdf) \
44263 || exit 1
44265 @endif target-zlib
44267 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
44268 maybe-install-html-target-zlib:
44269 @if target-zlib
44270 maybe-install-html-target-zlib: install-html-target-zlib
44272 install-html-target-zlib: \
44273 configure-target-zlib \
44274 html-target-zlib
44275 @: $(MAKE); $(unstage)
44276 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44277 r=`${PWD_COMMAND}`; export r; \
44278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44279 $(NORMAL_TARGET_EXPORTS) \
44280 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
44281 for flag in $(EXTRA_TARGET_FLAGS); do \
44282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44283 done; \
44284 (cd $(TARGET_SUBDIR)/zlib && \
44285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44287 "RANLIB=$${RANLIB}" \
44288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44289 install-html) \
44290 || exit 1
44292 @endif target-zlib
44294 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
44295 maybe-installcheck-target-zlib:
44296 @if target-zlib
44297 maybe-installcheck-target-zlib: installcheck-target-zlib
44299 installcheck-target-zlib: \
44300 configure-target-zlib
44301 @: $(MAKE); $(unstage)
44302 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44303 r=`${PWD_COMMAND}`; export r; \
44304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44305 $(NORMAL_TARGET_EXPORTS) \
44306 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
44307 for flag in $(EXTRA_TARGET_FLAGS); do \
44308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44309 done; \
44310 (cd $(TARGET_SUBDIR)/zlib && \
44311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44313 "RANLIB=$${RANLIB}" \
44314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44315 installcheck) \
44316 || exit 1
44318 @endif target-zlib
44320 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
44321 maybe-mostlyclean-target-zlib:
44322 @if target-zlib
44323 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
44325 mostlyclean-target-zlib:
44326 @: $(MAKE); $(unstage)
44327 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44328 r=`${PWD_COMMAND}`; export r; \
44329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44330 $(NORMAL_TARGET_EXPORTS) \
44331 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
44332 for flag in $(EXTRA_TARGET_FLAGS); do \
44333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44334 done; \
44335 (cd $(TARGET_SUBDIR)/zlib && \
44336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44338 "RANLIB=$${RANLIB}" \
44339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44340 mostlyclean) \
44341 || exit 1
44343 @endif target-zlib
44345 .PHONY: maybe-clean-target-zlib clean-target-zlib
44346 maybe-clean-target-zlib:
44347 @if target-zlib
44348 maybe-clean-target-zlib: clean-target-zlib
44350 clean-target-zlib:
44351 @: $(MAKE); $(unstage)
44352 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44353 r=`${PWD_COMMAND}`; export r; \
44354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44355 $(NORMAL_TARGET_EXPORTS) \
44356 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
44357 for flag in $(EXTRA_TARGET_FLAGS); do \
44358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44359 done; \
44360 (cd $(TARGET_SUBDIR)/zlib && \
44361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44363 "RANLIB=$${RANLIB}" \
44364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44365 clean) \
44366 || exit 1
44368 @endif target-zlib
44370 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
44371 maybe-distclean-target-zlib:
44372 @if target-zlib
44373 maybe-distclean-target-zlib: distclean-target-zlib
44375 distclean-target-zlib:
44376 @: $(MAKE); $(unstage)
44377 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44378 r=`${PWD_COMMAND}`; export r; \
44379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44380 $(NORMAL_TARGET_EXPORTS) \
44381 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
44382 for flag in $(EXTRA_TARGET_FLAGS); do \
44383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44384 done; \
44385 (cd $(TARGET_SUBDIR)/zlib && \
44386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44388 "RANLIB=$${RANLIB}" \
44389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44390 distclean) \
44391 || exit 1
44393 @endif target-zlib
44395 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
44396 maybe-maintainer-clean-target-zlib:
44397 @if target-zlib
44398 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
44400 maintainer-clean-target-zlib:
44401 @: $(MAKE); $(unstage)
44402 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44403 r=`${PWD_COMMAND}`; export r; \
44404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44405 $(NORMAL_TARGET_EXPORTS) \
44406 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
44407 for flag in $(EXTRA_TARGET_FLAGS); do \
44408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44409 done; \
44410 (cd $(TARGET_SUBDIR)/zlib && \
44411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44413 "RANLIB=$${RANLIB}" \
44414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44415 maintainer-clean) \
44416 || exit 1
44418 @endif target-zlib
44424 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
44425 maybe-configure-target-boehm-gc:
44426 @if gcc-bootstrap
44427 configure-target-boehm-gc: stage_current
44428 @endif gcc-bootstrap
44429 @if target-boehm-gc
44430 maybe-configure-target-boehm-gc: configure-target-boehm-gc
44431 configure-target-boehm-gc:
44432 @: $(MAKE); $(unstage)
44433 @r=`${PWD_COMMAND}`; export r; \
44434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44435 echo "Checking multilib configuration for boehm-gc..."; \
44436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
44437 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null; \
44438 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
44439 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
44440 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
44441 else \
44442 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
44443 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
44444 fi; \
44445 else \
44446 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
44447 fi; \
44448 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
44449 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
44450 $(NORMAL_TARGET_EXPORTS) \
44451 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
44452 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
44453 case $(srcdir) in \
44454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44455 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
44456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44457 esac; \
44458 module_srcdir=boehm-gc; \
44459 rm -f no-such-file || : ; \
44460 CONFIG_SITE=no-such-file $(SHELL) \
44461 $$s/$$module_srcdir/configure \
44462 --srcdir=$${topdir}/$$module_srcdir \
44463 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44464 --target=${target_alias} \
44465 || exit 1
44466 @endif target-boehm-gc
44472 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
44473 maybe-all-target-boehm-gc:
44474 @if gcc-bootstrap
44475 all-target-boehm-gc: stage_current
44476 @endif gcc-bootstrap
44477 @if target-boehm-gc
44478 TARGET-target-boehm-gc=all
44479 maybe-all-target-boehm-gc: all-target-boehm-gc
44480 all-target-boehm-gc: configure-target-boehm-gc
44481 @: $(MAKE); $(unstage)
44482 @r=`${PWD_COMMAND}`; export r; \
44483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44484 $(NORMAL_TARGET_EXPORTS) \
44485 (cd $(TARGET_SUBDIR)/boehm-gc && \
44486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44487 $(TARGET-target-boehm-gc))
44488 @endif target-boehm-gc
44494 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
44495 maybe-check-target-boehm-gc:
44496 @if target-boehm-gc
44497 maybe-check-target-boehm-gc: check-target-boehm-gc
44499 check-target-boehm-gc:
44500 @: $(MAKE); $(unstage)
44501 @r=`${PWD_COMMAND}`; export r; \
44502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44503 $(NORMAL_TARGET_EXPORTS) \
44504 (cd $(TARGET_SUBDIR)/boehm-gc && \
44505 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44507 @endif target-boehm-gc
44509 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
44510 maybe-install-target-boehm-gc:
44511 @if target-boehm-gc
44512 maybe-install-target-boehm-gc: install-target-boehm-gc
44514 install-target-boehm-gc: installdirs
44515 @: $(MAKE); $(unstage)
44516 @r=`${PWD_COMMAND}`; export r; \
44517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44518 $(NORMAL_TARGET_EXPORTS) \
44519 (cd $(TARGET_SUBDIR)/boehm-gc && \
44520 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44522 @endif target-boehm-gc
44524 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
44525 maybe-install-strip-target-boehm-gc:
44526 @if target-boehm-gc
44527 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
44529 install-strip-target-boehm-gc: installdirs
44530 @: $(MAKE); $(unstage)
44531 @r=`${PWD_COMMAND}`; export r; \
44532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44533 $(NORMAL_TARGET_EXPORTS) \
44534 (cd $(TARGET_SUBDIR)/boehm-gc && \
44535 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44537 @endif target-boehm-gc
44539 # Other targets (info, dvi, pdf, etc.)
44541 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
44542 maybe-info-target-boehm-gc:
44543 @if target-boehm-gc
44544 maybe-info-target-boehm-gc: info-target-boehm-gc
44546 info-target-boehm-gc: \
44547 configure-target-boehm-gc
44548 @: $(MAKE); $(unstage)
44549 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44550 r=`${PWD_COMMAND}`; export r; \
44551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44552 $(NORMAL_TARGET_EXPORTS) \
44553 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc"; \
44554 for flag in $(EXTRA_TARGET_FLAGS); do \
44555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44556 done; \
44557 (cd $(TARGET_SUBDIR)/boehm-gc && \
44558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44560 "RANLIB=$${RANLIB}" \
44561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44562 info) \
44563 || exit 1
44565 @endif target-boehm-gc
44567 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
44568 maybe-dvi-target-boehm-gc:
44569 @if target-boehm-gc
44570 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
44572 dvi-target-boehm-gc: \
44573 configure-target-boehm-gc
44574 @: $(MAKE); $(unstage)
44575 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44576 r=`${PWD_COMMAND}`; export r; \
44577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44578 $(NORMAL_TARGET_EXPORTS) \
44579 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc"; \
44580 for flag in $(EXTRA_TARGET_FLAGS); do \
44581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44582 done; \
44583 (cd $(TARGET_SUBDIR)/boehm-gc && \
44584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44586 "RANLIB=$${RANLIB}" \
44587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44588 dvi) \
44589 || exit 1
44591 @endif target-boehm-gc
44593 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
44594 maybe-pdf-target-boehm-gc:
44595 @if target-boehm-gc
44596 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
44598 pdf-target-boehm-gc: \
44599 configure-target-boehm-gc
44600 @: $(MAKE); $(unstage)
44601 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44602 r=`${PWD_COMMAND}`; export r; \
44603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44604 $(NORMAL_TARGET_EXPORTS) \
44605 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc"; \
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)/boehm-gc && \
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 pdf) \
44615 || exit 1
44617 @endif target-boehm-gc
44619 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
44620 maybe-html-target-boehm-gc:
44621 @if target-boehm-gc
44622 maybe-html-target-boehm-gc: html-target-boehm-gc
44624 html-target-boehm-gc: \
44625 configure-target-boehm-gc
44626 @: $(MAKE); $(unstage)
44627 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44628 r=`${PWD_COMMAND}`; export r; \
44629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44630 $(NORMAL_TARGET_EXPORTS) \
44631 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc"; \
44632 for flag in $(EXTRA_TARGET_FLAGS); do \
44633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44634 done; \
44635 (cd $(TARGET_SUBDIR)/boehm-gc && \
44636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44638 "RANLIB=$${RANLIB}" \
44639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44640 html) \
44641 || exit 1
44643 @endif target-boehm-gc
44645 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
44646 maybe-TAGS-target-boehm-gc:
44647 @if target-boehm-gc
44648 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
44650 TAGS-target-boehm-gc: \
44651 configure-target-boehm-gc
44652 @: $(MAKE); $(unstage)
44653 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44654 r=`${PWD_COMMAND}`; export r; \
44655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44656 $(NORMAL_TARGET_EXPORTS) \
44657 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc"; \
44658 for flag in $(EXTRA_TARGET_FLAGS); do \
44659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44660 done; \
44661 (cd $(TARGET_SUBDIR)/boehm-gc && \
44662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44664 "RANLIB=$${RANLIB}" \
44665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44666 TAGS) \
44667 || exit 1
44669 @endif target-boehm-gc
44671 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
44672 maybe-install-info-target-boehm-gc:
44673 @if target-boehm-gc
44674 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
44676 install-info-target-boehm-gc: \
44677 configure-target-boehm-gc \
44678 info-target-boehm-gc
44679 @: $(MAKE); $(unstage)
44680 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44681 r=`${PWD_COMMAND}`; export r; \
44682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44683 $(NORMAL_TARGET_EXPORTS) \
44684 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc"; \
44685 for flag in $(EXTRA_TARGET_FLAGS); do \
44686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44687 done; \
44688 (cd $(TARGET_SUBDIR)/boehm-gc && \
44689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44691 "RANLIB=$${RANLIB}" \
44692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44693 install-info) \
44694 || exit 1
44696 @endif target-boehm-gc
44698 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
44699 maybe-install-pdf-target-boehm-gc:
44700 @if target-boehm-gc
44701 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
44703 install-pdf-target-boehm-gc: \
44704 configure-target-boehm-gc \
44705 pdf-target-boehm-gc
44706 @: $(MAKE); $(unstage)
44707 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44708 r=`${PWD_COMMAND}`; export r; \
44709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44710 $(NORMAL_TARGET_EXPORTS) \
44711 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc"; \
44712 for flag in $(EXTRA_TARGET_FLAGS); do \
44713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44714 done; \
44715 (cd $(TARGET_SUBDIR)/boehm-gc && \
44716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44718 "RANLIB=$${RANLIB}" \
44719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44720 install-pdf) \
44721 || exit 1
44723 @endif target-boehm-gc
44725 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
44726 maybe-install-html-target-boehm-gc:
44727 @if target-boehm-gc
44728 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
44730 install-html-target-boehm-gc: \
44731 configure-target-boehm-gc \
44732 html-target-boehm-gc
44733 @: $(MAKE); $(unstage)
44734 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44735 r=`${PWD_COMMAND}`; export r; \
44736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44737 $(NORMAL_TARGET_EXPORTS) \
44738 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc"; \
44739 for flag in $(EXTRA_TARGET_FLAGS); do \
44740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44741 done; \
44742 (cd $(TARGET_SUBDIR)/boehm-gc && \
44743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44745 "RANLIB=$${RANLIB}" \
44746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44747 install-html) \
44748 || exit 1
44750 @endif target-boehm-gc
44752 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
44753 maybe-installcheck-target-boehm-gc:
44754 @if target-boehm-gc
44755 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
44757 installcheck-target-boehm-gc: \
44758 configure-target-boehm-gc
44759 @: $(MAKE); $(unstage)
44760 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44761 r=`${PWD_COMMAND}`; export r; \
44762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44763 $(NORMAL_TARGET_EXPORTS) \
44764 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc"; \
44765 for flag in $(EXTRA_TARGET_FLAGS); do \
44766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44767 done; \
44768 (cd $(TARGET_SUBDIR)/boehm-gc && \
44769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44771 "RANLIB=$${RANLIB}" \
44772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44773 installcheck) \
44774 || exit 1
44776 @endif target-boehm-gc
44778 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
44779 maybe-mostlyclean-target-boehm-gc:
44780 @if target-boehm-gc
44781 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
44783 mostlyclean-target-boehm-gc:
44784 @: $(MAKE); $(unstage)
44785 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44786 r=`${PWD_COMMAND}`; export r; \
44787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44788 $(NORMAL_TARGET_EXPORTS) \
44789 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc"; \
44790 for flag in $(EXTRA_TARGET_FLAGS); do \
44791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44792 done; \
44793 (cd $(TARGET_SUBDIR)/boehm-gc && \
44794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44796 "RANLIB=$${RANLIB}" \
44797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44798 mostlyclean) \
44799 || exit 1
44801 @endif target-boehm-gc
44803 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
44804 maybe-clean-target-boehm-gc:
44805 @if target-boehm-gc
44806 maybe-clean-target-boehm-gc: clean-target-boehm-gc
44808 clean-target-boehm-gc:
44809 @: $(MAKE); $(unstage)
44810 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44811 r=`${PWD_COMMAND}`; export r; \
44812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44813 $(NORMAL_TARGET_EXPORTS) \
44814 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc"; \
44815 for flag in $(EXTRA_TARGET_FLAGS); do \
44816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44817 done; \
44818 (cd $(TARGET_SUBDIR)/boehm-gc && \
44819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44821 "RANLIB=$${RANLIB}" \
44822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44823 clean) \
44824 || exit 1
44826 @endif target-boehm-gc
44828 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
44829 maybe-distclean-target-boehm-gc:
44830 @if target-boehm-gc
44831 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
44833 distclean-target-boehm-gc:
44834 @: $(MAKE); $(unstage)
44835 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44836 r=`${PWD_COMMAND}`; export r; \
44837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44838 $(NORMAL_TARGET_EXPORTS) \
44839 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc"; \
44840 for flag in $(EXTRA_TARGET_FLAGS); do \
44841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44842 done; \
44843 (cd $(TARGET_SUBDIR)/boehm-gc && \
44844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44846 "RANLIB=$${RANLIB}" \
44847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44848 distclean) \
44849 || exit 1
44851 @endif target-boehm-gc
44853 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
44854 maybe-maintainer-clean-target-boehm-gc:
44855 @if target-boehm-gc
44856 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
44858 maintainer-clean-target-boehm-gc:
44859 @: $(MAKE); $(unstage)
44860 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44861 r=`${PWD_COMMAND}`; export r; \
44862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44863 $(NORMAL_TARGET_EXPORTS) \
44864 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc"; \
44865 for flag in $(EXTRA_TARGET_FLAGS); do \
44866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44867 done; \
44868 (cd $(TARGET_SUBDIR)/boehm-gc && \
44869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44871 "RANLIB=$${RANLIB}" \
44872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44873 maintainer-clean) \
44874 || exit 1
44876 @endif target-boehm-gc
44882 .PHONY: configure-target-rda maybe-configure-target-rda
44883 maybe-configure-target-rda:
44884 @if gcc-bootstrap
44885 configure-target-rda: stage_current
44886 @endif gcc-bootstrap
44887 @if target-rda
44888 maybe-configure-target-rda: configure-target-rda
44889 configure-target-rda:
44890 @: $(MAKE); $(unstage)
44891 @r=`${PWD_COMMAND}`; export r; \
44892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44893 echo "Checking multilib configuration for rda..."; \
44894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
44895 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
44896 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
44897 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
44898 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
44899 else \
44900 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
44901 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
44902 fi; \
44903 else \
44904 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
44905 fi; \
44906 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
44907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
44908 $(NORMAL_TARGET_EXPORTS) \
44909 echo Configuring in $(TARGET_SUBDIR)/rda; \
44910 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
44911 case $(srcdir) in \
44912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44913 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
44914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44915 esac; \
44916 module_srcdir=rda; \
44917 rm -f no-such-file || : ; \
44918 CONFIG_SITE=no-such-file $(SHELL) \
44919 $$s/$$module_srcdir/configure \
44920 --srcdir=$${topdir}/$$module_srcdir \
44921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44922 --target=${target_alias} \
44923 || exit 1
44924 @endif target-rda
44930 .PHONY: all-target-rda maybe-all-target-rda
44931 maybe-all-target-rda:
44932 @if gcc-bootstrap
44933 all-target-rda: stage_current
44934 @endif gcc-bootstrap
44935 @if target-rda
44936 TARGET-target-rda=all
44937 maybe-all-target-rda: all-target-rda
44938 all-target-rda: configure-target-rda
44939 @: $(MAKE); $(unstage)
44940 @r=`${PWD_COMMAND}`; export r; \
44941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44942 $(NORMAL_TARGET_EXPORTS) \
44943 (cd $(TARGET_SUBDIR)/rda && \
44944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44945 $(TARGET-target-rda))
44946 @endif target-rda
44952 .PHONY: check-target-rda maybe-check-target-rda
44953 maybe-check-target-rda:
44954 @if target-rda
44955 maybe-check-target-rda: check-target-rda
44957 check-target-rda:
44958 @: $(MAKE); $(unstage)
44959 @r=`${PWD_COMMAND}`; export r; \
44960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44961 $(NORMAL_TARGET_EXPORTS) \
44962 (cd $(TARGET_SUBDIR)/rda && \
44963 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44965 @endif target-rda
44967 .PHONY: install-target-rda maybe-install-target-rda
44968 maybe-install-target-rda:
44969 @if target-rda
44970 maybe-install-target-rda: install-target-rda
44972 install-target-rda: installdirs
44973 @: $(MAKE); $(unstage)
44974 @r=`${PWD_COMMAND}`; export r; \
44975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44976 $(NORMAL_TARGET_EXPORTS) \
44977 (cd $(TARGET_SUBDIR)/rda && \
44978 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44980 @endif target-rda
44982 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
44983 maybe-install-strip-target-rda:
44984 @if target-rda
44985 maybe-install-strip-target-rda: install-strip-target-rda
44987 install-strip-target-rda: installdirs
44988 @: $(MAKE); $(unstage)
44989 @r=`${PWD_COMMAND}`; export r; \
44990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44991 $(NORMAL_TARGET_EXPORTS) \
44992 (cd $(TARGET_SUBDIR)/rda && \
44993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44995 @endif target-rda
44997 # Other targets (info, dvi, pdf, etc.)
44999 .PHONY: maybe-info-target-rda info-target-rda
45000 maybe-info-target-rda:
45001 @if target-rda
45002 maybe-info-target-rda: info-target-rda
45004 info-target-rda: \
45005 configure-target-rda
45006 @: $(MAKE); $(unstage)
45007 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45008 r=`${PWD_COMMAND}`; export r; \
45009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45010 $(NORMAL_TARGET_EXPORTS) \
45011 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
45012 for flag in $(EXTRA_TARGET_FLAGS); do \
45013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45014 done; \
45015 (cd $(TARGET_SUBDIR)/rda && \
45016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45018 "RANLIB=$${RANLIB}" \
45019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45020 info) \
45021 || exit 1
45023 @endif target-rda
45025 .PHONY: maybe-dvi-target-rda dvi-target-rda
45026 maybe-dvi-target-rda:
45027 @if target-rda
45028 maybe-dvi-target-rda: dvi-target-rda
45030 dvi-target-rda: \
45031 configure-target-rda
45032 @: $(MAKE); $(unstage)
45033 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45034 r=`${PWD_COMMAND}`; export r; \
45035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45036 $(NORMAL_TARGET_EXPORTS) \
45037 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
45038 for flag in $(EXTRA_TARGET_FLAGS); do \
45039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45040 done; \
45041 (cd $(TARGET_SUBDIR)/rda && \
45042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45044 "RANLIB=$${RANLIB}" \
45045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45046 dvi) \
45047 || exit 1
45049 @endif target-rda
45051 .PHONY: maybe-pdf-target-rda pdf-target-rda
45052 maybe-pdf-target-rda:
45053 @if target-rda
45054 maybe-pdf-target-rda: pdf-target-rda
45056 pdf-target-rda: \
45057 configure-target-rda
45058 @: $(MAKE); $(unstage)
45059 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45060 r=`${PWD_COMMAND}`; export r; \
45061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45062 $(NORMAL_TARGET_EXPORTS) \
45063 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
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)/rda && \
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 pdf) \
45073 || exit 1
45075 @endif target-rda
45077 .PHONY: maybe-html-target-rda html-target-rda
45078 maybe-html-target-rda:
45079 @if target-rda
45080 maybe-html-target-rda: html-target-rda
45082 html-target-rda: \
45083 configure-target-rda
45084 @: $(MAKE); $(unstage)
45085 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45086 r=`${PWD_COMMAND}`; export r; \
45087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45088 $(NORMAL_TARGET_EXPORTS) \
45089 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
45090 for flag in $(EXTRA_TARGET_FLAGS); do \
45091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45092 done; \
45093 (cd $(TARGET_SUBDIR)/rda && \
45094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45096 "RANLIB=$${RANLIB}" \
45097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45098 html) \
45099 || exit 1
45101 @endif target-rda
45103 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
45104 maybe-TAGS-target-rda:
45105 @if target-rda
45106 maybe-TAGS-target-rda: TAGS-target-rda
45108 TAGS-target-rda: \
45109 configure-target-rda
45110 @: $(MAKE); $(unstage)
45111 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45112 r=`${PWD_COMMAND}`; export r; \
45113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45114 $(NORMAL_TARGET_EXPORTS) \
45115 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
45116 for flag in $(EXTRA_TARGET_FLAGS); do \
45117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45118 done; \
45119 (cd $(TARGET_SUBDIR)/rda && \
45120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45122 "RANLIB=$${RANLIB}" \
45123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45124 TAGS) \
45125 || exit 1
45127 @endif target-rda
45129 .PHONY: maybe-install-info-target-rda install-info-target-rda
45130 maybe-install-info-target-rda:
45131 @if target-rda
45132 maybe-install-info-target-rda: install-info-target-rda
45134 install-info-target-rda: \
45135 configure-target-rda \
45136 info-target-rda
45137 @: $(MAKE); $(unstage)
45138 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45139 r=`${PWD_COMMAND}`; export r; \
45140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45141 $(NORMAL_TARGET_EXPORTS) \
45142 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
45143 for flag in $(EXTRA_TARGET_FLAGS); do \
45144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45145 done; \
45146 (cd $(TARGET_SUBDIR)/rda && \
45147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45149 "RANLIB=$${RANLIB}" \
45150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45151 install-info) \
45152 || exit 1
45154 @endif target-rda
45156 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
45157 maybe-install-pdf-target-rda:
45158 @if target-rda
45159 maybe-install-pdf-target-rda: install-pdf-target-rda
45161 install-pdf-target-rda: \
45162 configure-target-rda \
45163 pdf-target-rda
45164 @: $(MAKE); $(unstage)
45165 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45166 r=`${PWD_COMMAND}`; export r; \
45167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45168 $(NORMAL_TARGET_EXPORTS) \
45169 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
45170 for flag in $(EXTRA_TARGET_FLAGS); do \
45171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45172 done; \
45173 (cd $(TARGET_SUBDIR)/rda && \
45174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45176 "RANLIB=$${RANLIB}" \
45177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45178 install-pdf) \
45179 || exit 1
45181 @endif target-rda
45183 .PHONY: maybe-install-html-target-rda install-html-target-rda
45184 maybe-install-html-target-rda:
45185 @if target-rda
45186 maybe-install-html-target-rda: install-html-target-rda
45188 install-html-target-rda: \
45189 configure-target-rda \
45190 html-target-rda
45191 @: $(MAKE); $(unstage)
45192 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45193 r=`${PWD_COMMAND}`; export r; \
45194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45195 $(NORMAL_TARGET_EXPORTS) \
45196 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
45197 for flag in $(EXTRA_TARGET_FLAGS); do \
45198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45199 done; \
45200 (cd $(TARGET_SUBDIR)/rda && \
45201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45203 "RANLIB=$${RANLIB}" \
45204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45205 install-html) \
45206 || exit 1
45208 @endif target-rda
45210 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
45211 maybe-installcheck-target-rda:
45212 @if target-rda
45213 maybe-installcheck-target-rda: installcheck-target-rda
45215 installcheck-target-rda: \
45216 configure-target-rda
45217 @: $(MAKE); $(unstage)
45218 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45219 r=`${PWD_COMMAND}`; export r; \
45220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45221 $(NORMAL_TARGET_EXPORTS) \
45222 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
45223 for flag in $(EXTRA_TARGET_FLAGS); do \
45224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45225 done; \
45226 (cd $(TARGET_SUBDIR)/rda && \
45227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45229 "RANLIB=$${RANLIB}" \
45230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45231 installcheck) \
45232 || exit 1
45234 @endif target-rda
45236 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
45237 maybe-mostlyclean-target-rda:
45238 @if target-rda
45239 maybe-mostlyclean-target-rda: mostlyclean-target-rda
45241 mostlyclean-target-rda:
45242 @: $(MAKE); $(unstage)
45243 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45244 r=`${PWD_COMMAND}`; export r; \
45245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45246 $(NORMAL_TARGET_EXPORTS) \
45247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
45248 for flag in $(EXTRA_TARGET_FLAGS); do \
45249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45250 done; \
45251 (cd $(TARGET_SUBDIR)/rda && \
45252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45254 "RANLIB=$${RANLIB}" \
45255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45256 mostlyclean) \
45257 || exit 1
45259 @endif target-rda
45261 .PHONY: maybe-clean-target-rda clean-target-rda
45262 maybe-clean-target-rda:
45263 @if target-rda
45264 maybe-clean-target-rda: clean-target-rda
45266 clean-target-rda:
45267 @: $(MAKE); $(unstage)
45268 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45269 r=`${PWD_COMMAND}`; export r; \
45270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45271 $(NORMAL_TARGET_EXPORTS) \
45272 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
45273 for flag in $(EXTRA_TARGET_FLAGS); do \
45274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45275 done; \
45276 (cd $(TARGET_SUBDIR)/rda && \
45277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45279 "RANLIB=$${RANLIB}" \
45280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45281 clean) \
45282 || exit 1
45284 @endif target-rda
45286 .PHONY: maybe-distclean-target-rda distclean-target-rda
45287 maybe-distclean-target-rda:
45288 @if target-rda
45289 maybe-distclean-target-rda: distclean-target-rda
45291 distclean-target-rda:
45292 @: $(MAKE); $(unstage)
45293 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45294 r=`${PWD_COMMAND}`; export r; \
45295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45296 $(NORMAL_TARGET_EXPORTS) \
45297 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
45298 for flag in $(EXTRA_TARGET_FLAGS); do \
45299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45300 done; \
45301 (cd $(TARGET_SUBDIR)/rda && \
45302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45304 "RANLIB=$${RANLIB}" \
45305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45306 distclean) \
45307 || exit 1
45309 @endif target-rda
45311 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
45312 maybe-maintainer-clean-target-rda:
45313 @if target-rda
45314 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
45316 maintainer-clean-target-rda:
45317 @: $(MAKE); $(unstage)
45318 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45319 r=`${PWD_COMMAND}`; export r; \
45320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45321 $(NORMAL_TARGET_EXPORTS) \
45322 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
45323 for flag in $(EXTRA_TARGET_FLAGS); do \
45324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45325 done; \
45326 (cd $(TARGET_SUBDIR)/rda && \
45327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45329 "RANLIB=$${RANLIB}" \
45330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45331 maintainer-clean) \
45332 || exit 1
45334 @endif target-rda
45340 .PHONY: configure-target-libada maybe-configure-target-libada
45341 maybe-configure-target-libada:
45342 @if gcc-bootstrap
45343 configure-target-libada: stage_current
45344 @endif gcc-bootstrap
45345 @if target-libada
45346 maybe-configure-target-libada: configure-target-libada
45347 configure-target-libada:
45348 @: $(MAKE); $(unstage)
45349 @r=`${PWD_COMMAND}`; export r; \
45350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45351 echo "Checking multilib configuration for libada..."; \
45352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
45353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
45354 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
45355 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
45356 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
45357 else \
45358 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
45359 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
45360 fi; \
45361 else \
45362 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
45363 fi; \
45364 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
45365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
45366 $(NORMAL_TARGET_EXPORTS) \
45367 echo Configuring in $(TARGET_SUBDIR)/libada; \
45368 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
45369 case $(srcdir) in \
45370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45371 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
45372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45373 esac; \
45374 module_srcdir=libada; \
45375 rm -f no-such-file || : ; \
45376 CONFIG_SITE=no-such-file $(SHELL) \
45377 $$s/$$module_srcdir/configure \
45378 --srcdir=$${topdir}/$$module_srcdir \
45379 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45380 --target=${target_alias} \
45381 || exit 1
45382 @endif target-libada
45388 .PHONY: all-target-libada maybe-all-target-libada
45389 maybe-all-target-libada:
45390 @if gcc-bootstrap
45391 all-target-libada: stage_current
45392 @endif gcc-bootstrap
45393 @if target-libada
45394 TARGET-target-libada=all
45395 maybe-all-target-libada: all-target-libada
45396 all-target-libada: configure-target-libada
45397 @: $(MAKE); $(unstage)
45398 @r=`${PWD_COMMAND}`; export r; \
45399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45400 $(NORMAL_TARGET_EXPORTS) \
45401 (cd $(TARGET_SUBDIR)/libada && \
45402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45403 $(TARGET-target-libada))
45404 @endif target-libada
45410 .PHONY: check-target-libada maybe-check-target-libada
45411 maybe-check-target-libada:
45412 @if target-libada
45413 maybe-check-target-libada: check-target-libada
45415 check-target-libada:
45416 @: $(MAKE); $(unstage)
45417 @r=`${PWD_COMMAND}`; export r; \
45418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45419 $(NORMAL_TARGET_EXPORTS) \
45420 (cd $(TARGET_SUBDIR)/libada && \
45421 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45423 @endif target-libada
45425 .PHONY: install-target-libada maybe-install-target-libada
45426 maybe-install-target-libada:
45427 @if target-libada
45428 maybe-install-target-libada: install-target-libada
45430 install-target-libada: installdirs
45431 @: $(MAKE); $(unstage)
45432 @r=`${PWD_COMMAND}`; export r; \
45433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45434 $(NORMAL_TARGET_EXPORTS) \
45435 (cd $(TARGET_SUBDIR)/libada && \
45436 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45438 @endif target-libada
45440 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
45441 maybe-install-strip-target-libada:
45442 @if target-libada
45443 maybe-install-strip-target-libada: install-strip-target-libada
45445 install-strip-target-libada: installdirs
45446 @: $(MAKE); $(unstage)
45447 @r=`${PWD_COMMAND}`; export r; \
45448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45449 $(NORMAL_TARGET_EXPORTS) \
45450 (cd $(TARGET_SUBDIR)/libada && \
45451 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45453 @endif target-libada
45455 # Other targets (info, dvi, pdf, etc.)
45457 .PHONY: maybe-info-target-libada info-target-libada
45458 maybe-info-target-libada:
45459 @if target-libada
45460 maybe-info-target-libada: info-target-libada
45462 info-target-libada: \
45463 configure-target-libada
45464 @: $(MAKE); $(unstage)
45465 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45466 r=`${PWD_COMMAND}`; export r; \
45467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45468 $(NORMAL_TARGET_EXPORTS) \
45469 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
45470 for flag in $(EXTRA_TARGET_FLAGS); do \
45471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45472 done; \
45473 (cd $(TARGET_SUBDIR)/libada && \
45474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45476 "RANLIB=$${RANLIB}" \
45477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45478 info) \
45479 || exit 1
45481 @endif target-libada
45483 .PHONY: maybe-dvi-target-libada dvi-target-libada
45484 maybe-dvi-target-libada:
45485 @if target-libada
45486 maybe-dvi-target-libada: dvi-target-libada
45488 dvi-target-libada: \
45489 configure-target-libada
45490 @: $(MAKE); $(unstage)
45491 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45492 r=`${PWD_COMMAND}`; export r; \
45493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45494 $(NORMAL_TARGET_EXPORTS) \
45495 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
45496 for flag in $(EXTRA_TARGET_FLAGS); do \
45497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45498 done; \
45499 (cd $(TARGET_SUBDIR)/libada && \
45500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45502 "RANLIB=$${RANLIB}" \
45503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45504 dvi) \
45505 || exit 1
45507 @endif target-libada
45509 .PHONY: maybe-pdf-target-libada pdf-target-libada
45510 maybe-pdf-target-libada:
45511 @if target-libada
45512 maybe-pdf-target-libada: pdf-target-libada
45514 pdf-target-libada: \
45515 configure-target-libada
45516 @: $(MAKE); $(unstage)
45517 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45518 r=`${PWD_COMMAND}`; export r; \
45519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45520 $(NORMAL_TARGET_EXPORTS) \
45521 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
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)/libada && \
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 pdf) \
45531 || exit 1
45533 @endif target-libada
45535 .PHONY: maybe-html-target-libada html-target-libada
45536 maybe-html-target-libada:
45537 @if target-libada
45538 maybe-html-target-libada: html-target-libada
45540 html-target-libada: \
45541 configure-target-libada
45542 @: $(MAKE); $(unstage)
45543 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45544 r=`${PWD_COMMAND}`; export r; \
45545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45546 $(NORMAL_TARGET_EXPORTS) \
45547 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
45548 for flag in $(EXTRA_TARGET_FLAGS); do \
45549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45550 done; \
45551 (cd $(TARGET_SUBDIR)/libada && \
45552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45554 "RANLIB=$${RANLIB}" \
45555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45556 html) \
45557 || exit 1
45559 @endif target-libada
45561 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
45562 maybe-TAGS-target-libada:
45563 @if target-libada
45564 maybe-TAGS-target-libada: TAGS-target-libada
45566 TAGS-target-libada: \
45567 configure-target-libada
45568 @: $(MAKE); $(unstage)
45569 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45570 r=`${PWD_COMMAND}`; export r; \
45571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45572 $(NORMAL_TARGET_EXPORTS) \
45573 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
45574 for flag in $(EXTRA_TARGET_FLAGS); do \
45575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45576 done; \
45577 (cd $(TARGET_SUBDIR)/libada && \
45578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45580 "RANLIB=$${RANLIB}" \
45581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45582 TAGS) \
45583 || exit 1
45585 @endif target-libada
45587 .PHONY: maybe-install-info-target-libada install-info-target-libada
45588 maybe-install-info-target-libada:
45589 @if target-libada
45590 maybe-install-info-target-libada: install-info-target-libada
45592 install-info-target-libada: \
45593 configure-target-libada \
45594 info-target-libada
45595 @: $(MAKE); $(unstage)
45596 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45597 r=`${PWD_COMMAND}`; export r; \
45598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45599 $(NORMAL_TARGET_EXPORTS) \
45600 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
45601 for flag in $(EXTRA_TARGET_FLAGS); do \
45602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45603 done; \
45604 (cd $(TARGET_SUBDIR)/libada && \
45605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45607 "RANLIB=$${RANLIB}" \
45608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45609 install-info) \
45610 || exit 1
45612 @endif target-libada
45614 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
45615 maybe-install-pdf-target-libada:
45616 @if target-libada
45617 maybe-install-pdf-target-libada: install-pdf-target-libada
45619 install-pdf-target-libada: \
45620 configure-target-libada \
45621 pdf-target-libada
45622 @: $(MAKE); $(unstage)
45623 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45624 r=`${PWD_COMMAND}`; export r; \
45625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45626 $(NORMAL_TARGET_EXPORTS) \
45627 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
45628 for flag in $(EXTRA_TARGET_FLAGS); do \
45629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45630 done; \
45631 (cd $(TARGET_SUBDIR)/libada && \
45632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45634 "RANLIB=$${RANLIB}" \
45635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45636 install-pdf) \
45637 || exit 1
45639 @endif target-libada
45641 .PHONY: maybe-install-html-target-libada install-html-target-libada
45642 maybe-install-html-target-libada:
45643 @if target-libada
45644 maybe-install-html-target-libada: install-html-target-libada
45646 install-html-target-libada: \
45647 configure-target-libada \
45648 html-target-libada
45649 @: $(MAKE); $(unstage)
45650 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45651 r=`${PWD_COMMAND}`; export r; \
45652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45653 $(NORMAL_TARGET_EXPORTS) \
45654 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
45655 for flag in $(EXTRA_TARGET_FLAGS); do \
45656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45657 done; \
45658 (cd $(TARGET_SUBDIR)/libada && \
45659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45661 "RANLIB=$${RANLIB}" \
45662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45663 install-html) \
45664 || exit 1
45666 @endif target-libada
45668 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
45669 maybe-installcheck-target-libada:
45670 @if target-libada
45671 maybe-installcheck-target-libada: installcheck-target-libada
45673 installcheck-target-libada: \
45674 configure-target-libada
45675 @: $(MAKE); $(unstage)
45676 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45677 r=`${PWD_COMMAND}`; export r; \
45678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45679 $(NORMAL_TARGET_EXPORTS) \
45680 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
45681 for flag in $(EXTRA_TARGET_FLAGS); do \
45682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45683 done; \
45684 (cd $(TARGET_SUBDIR)/libada && \
45685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45687 "RANLIB=$${RANLIB}" \
45688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45689 installcheck) \
45690 || exit 1
45692 @endif target-libada
45694 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
45695 maybe-mostlyclean-target-libada:
45696 @if target-libada
45697 maybe-mostlyclean-target-libada: mostlyclean-target-libada
45699 mostlyclean-target-libada:
45700 @: $(MAKE); $(unstage)
45701 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45702 r=`${PWD_COMMAND}`; export r; \
45703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45704 $(NORMAL_TARGET_EXPORTS) \
45705 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
45706 for flag in $(EXTRA_TARGET_FLAGS); do \
45707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45708 done; \
45709 (cd $(TARGET_SUBDIR)/libada && \
45710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45712 "RANLIB=$${RANLIB}" \
45713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45714 mostlyclean) \
45715 || exit 1
45717 @endif target-libada
45719 .PHONY: maybe-clean-target-libada clean-target-libada
45720 maybe-clean-target-libada:
45721 @if target-libada
45722 maybe-clean-target-libada: clean-target-libada
45724 clean-target-libada:
45725 @: $(MAKE); $(unstage)
45726 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45727 r=`${PWD_COMMAND}`; export r; \
45728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45729 $(NORMAL_TARGET_EXPORTS) \
45730 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
45731 for flag in $(EXTRA_TARGET_FLAGS); do \
45732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45733 done; \
45734 (cd $(TARGET_SUBDIR)/libada && \
45735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45737 "RANLIB=$${RANLIB}" \
45738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45739 clean) \
45740 || exit 1
45742 @endif target-libada
45744 .PHONY: maybe-distclean-target-libada distclean-target-libada
45745 maybe-distclean-target-libada:
45746 @if target-libada
45747 maybe-distclean-target-libada: distclean-target-libada
45749 distclean-target-libada:
45750 @: $(MAKE); $(unstage)
45751 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45752 r=`${PWD_COMMAND}`; export r; \
45753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45754 $(NORMAL_TARGET_EXPORTS) \
45755 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
45756 for flag in $(EXTRA_TARGET_FLAGS); do \
45757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45758 done; \
45759 (cd $(TARGET_SUBDIR)/libada && \
45760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45762 "RANLIB=$${RANLIB}" \
45763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45764 distclean) \
45765 || exit 1
45767 @endif target-libada
45769 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
45770 maybe-maintainer-clean-target-libada:
45771 @if target-libada
45772 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
45774 maintainer-clean-target-libada:
45775 @: $(MAKE); $(unstage)
45776 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45777 r=`${PWD_COMMAND}`; export r; \
45778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45779 $(NORMAL_TARGET_EXPORTS) \
45780 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
45781 for flag in $(EXTRA_TARGET_FLAGS); do \
45782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45783 done; \
45784 (cd $(TARGET_SUBDIR)/libada && \
45785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45787 "RANLIB=$${RANLIB}" \
45788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45789 maintainer-clean) \
45790 || exit 1
45792 @endif target-libada
45798 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
45799 maybe-configure-target-libgomp:
45800 @if gcc-bootstrap
45801 configure-target-libgomp: stage_current
45802 @endif gcc-bootstrap
45803 @if target-libgomp
45804 maybe-configure-target-libgomp: configure-target-libgomp
45805 configure-target-libgomp:
45806 @r=`${PWD_COMMAND}`; export r; \
45807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45808 echo "Checking multilib configuration for libgomp..."; \
45809 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45810 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45811 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45812 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45813 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45814 else \
45815 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45816 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45817 fi; \
45818 else \
45819 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45820 fi; \
45821 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45823 $(NORMAL_TARGET_EXPORTS) \
45824 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
45825 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
45826 case $(srcdir) in \
45827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45828 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45830 esac; \
45831 module_srcdir=libgomp; \
45832 rm -f no-such-file || : ; \
45833 CONFIG_SITE=no-such-file $(SHELL) \
45834 $$s/$$module_srcdir/configure \
45835 --srcdir=$${topdir}/$$module_srcdir \
45836 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45837 --target=${target_alias} \
45838 || exit 1
45839 @endif target-libgomp
45843 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
45844 maybe-configure-stage1-target-libgomp:
45845 @if target-libgomp-bootstrap
45846 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
45847 configure-stage1-target-libgomp:
45848 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45849 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45850 @r=`${PWD_COMMAND}`; export r; \
45851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45852 TFLAGS="$(STAGE1_TFLAGS)"; \
45853 echo "Checking multilib configuration for libgomp..."; \
45854 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45855 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45856 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45857 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45858 else \
45859 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45860 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45861 fi; \
45862 else \
45863 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45864 fi; \
45865 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45866 $(NORMAL_TARGET_EXPORTS) \
45867 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45868 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45869 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45870 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
45871 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45872 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
45873 case $(srcdir) in \
45874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45875 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45877 esac; \
45878 module_srcdir=libgomp; \
45879 $(SHELL) $$s/$$module_srcdir/configure \
45880 --srcdir=$${topdir}/$$module_srcdir \
45881 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45882 --target=${target_alias} \
45884 $(STAGE1_CONFIGURE_FLAGS)
45885 @endif target-libgomp-bootstrap
45887 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
45888 maybe-configure-stage2-target-libgomp:
45889 @if target-libgomp-bootstrap
45890 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
45891 configure-stage2-target-libgomp:
45892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45893 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45894 @r=`${PWD_COMMAND}`; export r; \
45895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45896 TFLAGS="$(STAGE2_TFLAGS)"; \
45897 echo "Checking multilib configuration for libgomp..."; \
45898 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45899 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45900 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45901 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45902 else \
45903 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45904 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45905 fi; \
45906 else \
45907 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45908 fi; \
45909 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45910 $(NORMAL_TARGET_EXPORTS) \
45912 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45913 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45914 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45915 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
45916 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45917 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
45918 case $(srcdir) in \
45919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45920 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45922 esac; \
45923 module_srcdir=libgomp; \
45924 $(SHELL) $$s/$$module_srcdir/configure \
45925 --srcdir=$${topdir}/$$module_srcdir \
45926 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45927 --target=${target_alias} \
45928 --with-build-libsubdir=$(HOST_SUBDIR) \
45929 $(STAGE2_CONFIGURE_FLAGS)
45930 @endif target-libgomp-bootstrap
45932 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
45933 maybe-configure-stage3-target-libgomp:
45934 @if target-libgomp-bootstrap
45935 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
45936 configure-stage3-target-libgomp:
45937 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45938 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45939 @r=`${PWD_COMMAND}`; export r; \
45940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45941 TFLAGS="$(STAGE3_TFLAGS)"; \
45942 echo "Checking multilib configuration for libgomp..."; \
45943 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45944 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45945 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45946 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45947 else \
45948 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45949 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45950 fi; \
45951 else \
45952 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45953 fi; \
45954 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45955 $(NORMAL_TARGET_EXPORTS) \
45957 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45958 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45959 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45960 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
45961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45962 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
45963 case $(srcdir) in \
45964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45965 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45967 esac; \
45968 module_srcdir=libgomp; \
45969 $(SHELL) $$s/$$module_srcdir/configure \
45970 --srcdir=$${topdir}/$$module_srcdir \
45971 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45972 --target=${target_alias} \
45973 --with-build-libsubdir=$(HOST_SUBDIR) \
45974 $(STAGE3_CONFIGURE_FLAGS)
45975 @endif target-libgomp-bootstrap
45977 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
45978 maybe-configure-stage4-target-libgomp:
45979 @if target-libgomp-bootstrap
45980 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
45981 configure-stage4-target-libgomp:
45982 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45983 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45984 @r=`${PWD_COMMAND}`; export r; \
45985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45986 TFLAGS="$(STAGE4_TFLAGS)"; \
45987 echo "Checking multilib configuration for libgomp..."; \
45988 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45989 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45990 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45991 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45992 else \
45993 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45994 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45995 fi; \
45996 else \
45997 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45998 fi; \
45999 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
46000 $(NORMAL_TARGET_EXPORTS) \
46002 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46003 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46004 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46005 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
46006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
46007 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
46008 case $(srcdir) in \
46009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46010 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
46011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46012 esac; \
46013 module_srcdir=libgomp; \
46014 $(SHELL) $$s/$$module_srcdir/configure \
46015 --srcdir=$${topdir}/$$module_srcdir \
46016 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46017 --target=${target_alias} \
46018 --with-build-libsubdir=$(HOST_SUBDIR) \
46019 $(STAGE4_CONFIGURE_FLAGS)
46020 @endif target-libgomp-bootstrap
46022 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
46023 maybe-configure-stageprofile-target-libgomp:
46024 @if target-libgomp-bootstrap
46025 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
46026 configure-stageprofile-target-libgomp:
46027 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46028 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
46029 @r=`${PWD_COMMAND}`; export r; \
46030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46031 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46032 echo "Checking multilib configuration for libgomp..."; \
46033 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
46034 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46035 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46036 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
46037 else \
46038 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
46039 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46040 fi; \
46041 else \
46042 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46043 fi; \
46044 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
46045 $(NORMAL_TARGET_EXPORTS) \
46047 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46048 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46049 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46050 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
46051 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
46052 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
46053 case $(srcdir) in \
46054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46055 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
46056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46057 esac; \
46058 module_srcdir=libgomp; \
46059 $(SHELL) $$s/$$module_srcdir/configure \
46060 --srcdir=$${topdir}/$$module_srcdir \
46061 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46062 --target=${target_alias} \
46063 --with-build-libsubdir=$(HOST_SUBDIR) \
46064 $(STAGEprofile_CONFIGURE_FLAGS)
46065 @endif target-libgomp-bootstrap
46067 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
46068 maybe-configure-stagefeedback-target-libgomp:
46069 @if target-libgomp-bootstrap
46070 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
46071 configure-stagefeedback-target-libgomp:
46072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46073 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
46074 @r=`${PWD_COMMAND}`; export r; \
46075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46076 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46077 echo "Checking multilib configuration for libgomp..."; \
46078 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
46079 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46080 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46081 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
46082 else \
46083 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
46084 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46085 fi; \
46086 else \
46087 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46088 fi; \
46089 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
46090 $(NORMAL_TARGET_EXPORTS) \
46092 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46093 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46094 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46095 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
46096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
46097 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
46098 case $(srcdir) in \
46099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46100 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
46101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46102 esac; \
46103 module_srcdir=libgomp; \
46104 $(SHELL) $$s/$$module_srcdir/configure \
46105 --srcdir=$${topdir}/$$module_srcdir \
46106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46107 --target=${target_alias} \
46108 --with-build-libsubdir=$(HOST_SUBDIR) \
46109 $(STAGEfeedback_CONFIGURE_FLAGS)
46110 @endif target-libgomp-bootstrap
46116 .PHONY: all-target-libgomp maybe-all-target-libgomp
46117 maybe-all-target-libgomp:
46118 @if gcc-bootstrap
46119 all-target-libgomp: stage_current
46120 @endif gcc-bootstrap
46121 @if target-libgomp
46122 TARGET-target-libgomp=all
46123 maybe-all-target-libgomp: all-target-libgomp
46124 all-target-libgomp: configure-target-libgomp
46125 @r=`${PWD_COMMAND}`; export r; \
46126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46127 $(NORMAL_TARGET_EXPORTS) \
46128 (cd $(TARGET_SUBDIR)/libgomp && \
46129 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46130 $(TARGET-target-libgomp))
46131 @endif target-libgomp
46135 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
46136 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
46137 maybe-all-stage1-target-libgomp:
46138 maybe-clean-stage1-target-libgomp:
46139 @if target-libgomp-bootstrap
46140 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
46141 all-stage1: all-stage1-target-libgomp
46142 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
46143 all-stage1-target-libgomp: configure-stage1-target-libgomp
46144 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46145 @r=`${PWD_COMMAND}`; export r; \
46146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46147 TFLAGS="$(STAGE1_TFLAGS)"; \
46148 $(NORMAL_TARGET_EXPORTS) \
46149 cd $(TARGET_SUBDIR)/libgomp && \
46150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46151 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46152 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46153 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46157 $(EXTRA_TARGET_FLAGS) \
46159 TFLAGS="$(STAGE1_TFLAGS)" \
46160 $(TARGET-stage1-target-libgomp)
46162 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
46163 clean-stage1: clean-stage1-target-libgomp
46164 clean-stage1-target-libgomp:
46165 @if [ $(current_stage) = stage1 ]; then \
46166 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46167 else \
46168 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
46169 $(MAKE) stage1-start; \
46170 fi; \
46171 cd $(TARGET_SUBDIR)/libgomp && \
46172 $(MAKE) $(EXTRA_TARGET_FLAGS) \
46173 clean
46174 @endif target-libgomp-bootstrap
46177 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
46178 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
46179 maybe-all-stage2-target-libgomp:
46180 maybe-clean-stage2-target-libgomp:
46181 @if target-libgomp-bootstrap
46182 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
46183 all-stage2: all-stage2-target-libgomp
46184 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
46185 all-stage2-target-libgomp: configure-stage2-target-libgomp
46186 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46187 @r=`${PWD_COMMAND}`; export r; \
46188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46189 TFLAGS="$(STAGE2_TFLAGS)"; \
46190 $(NORMAL_TARGET_EXPORTS) \
46192 cd $(TARGET_SUBDIR)/libgomp && \
46193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46194 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46195 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46196 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46200 $(EXTRA_TARGET_FLAGS) \
46201 TFLAGS="$(STAGE2_TFLAGS)" \
46202 $(TARGET-stage2-target-libgomp)
46204 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
46205 clean-stage2: clean-stage2-target-libgomp
46206 clean-stage2-target-libgomp:
46207 @if [ $(current_stage) = stage2 ]; then \
46208 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46209 else \
46210 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
46211 $(MAKE) stage2-start; \
46212 fi; \
46213 cd $(TARGET_SUBDIR)/libgomp && \
46214 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46215 @endif target-libgomp-bootstrap
46218 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
46219 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
46220 maybe-all-stage3-target-libgomp:
46221 maybe-clean-stage3-target-libgomp:
46222 @if target-libgomp-bootstrap
46223 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
46224 all-stage3: all-stage3-target-libgomp
46225 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
46226 all-stage3-target-libgomp: configure-stage3-target-libgomp
46227 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46228 @r=`${PWD_COMMAND}`; export r; \
46229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46230 TFLAGS="$(STAGE3_TFLAGS)"; \
46231 $(NORMAL_TARGET_EXPORTS) \
46233 cd $(TARGET_SUBDIR)/libgomp && \
46234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46235 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46236 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46237 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46241 $(EXTRA_TARGET_FLAGS) \
46242 TFLAGS="$(STAGE3_TFLAGS)" \
46243 $(TARGET-stage3-target-libgomp)
46245 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
46246 clean-stage3: clean-stage3-target-libgomp
46247 clean-stage3-target-libgomp:
46248 @if [ $(current_stage) = stage3 ]; then \
46249 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46250 else \
46251 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
46252 $(MAKE) stage3-start; \
46253 fi; \
46254 cd $(TARGET_SUBDIR)/libgomp && \
46255 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46256 @endif target-libgomp-bootstrap
46259 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
46260 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
46261 maybe-all-stage4-target-libgomp:
46262 maybe-clean-stage4-target-libgomp:
46263 @if target-libgomp-bootstrap
46264 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
46265 all-stage4: all-stage4-target-libgomp
46266 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
46267 all-stage4-target-libgomp: configure-stage4-target-libgomp
46268 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46269 @r=`${PWD_COMMAND}`; export r; \
46270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46271 TFLAGS="$(STAGE4_TFLAGS)"; \
46272 $(NORMAL_TARGET_EXPORTS) \
46274 cd $(TARGET_SUBDIR)/libgomp && \
46275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46276 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46277 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46278 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46282 $(EXTRA_TARGET_FLAGS) \
46283 TFLAGS="$(STAGE4_TFLAGS)" \
46284 $(TARGET-stage4-target-libgomp)
46286 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
46287 clean-stage4: clean-stage4-target-libgomp
46288 clean-stage4-target-libgomp:
46289 @if [ $(current_stage) = stage4 ]; then \
46290 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46291 else \
46292 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
46293 $(MAKE) stage4-start; \
46294 fi; \
46295 cd $(TARGET_SUBDIR)/libgomp && \
46296 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46297 @endif target-libgomp-bootstrap
46300 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
46301 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
46302 maybe-all-stageprofile-target-libgomp:
46303 maybe-clean-stageprofile-target-libgomp:
46304 @if target-libgomp-bootstrap
46305 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
46306 all-stageprofile: all-stageprofile-target-libgomp
46307 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
46308 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
46309 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46310 @r=`${PWD_COMMAND}`; export r; \
46311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46312 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46313 $(NORMAL_TARGET_EXPORTS) \
46315 cd $(TARGET_SUBDIR)/libgomp && \
46316 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46317 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46318 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46319 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46323 $(EXTRA_TARGET_FLAGS) \
46324 TFLAGS="$(STAGEprofile_TFLAGS)" \
46325 $(TARGET-stageprofile-target-libgomp)
46327 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
46328 clean-stageprofile: clean-stageprofile-target-libgomp
46329 clean-stageprofile-target-libgomp:
46330 @if [ $(current_stage) = stageprofile ]; then \
46331 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46332 else \
46333 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
46334 $(MAKE) stageprofile-start; \
46335 fi; \
46336 cd $(TARGET_SUBDIR)/libgomp && \
46337 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46338 @endif target-libgomp-bootstrap
46341 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
46342 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
46343 maybe-all-stagefeedback-target-libgomp:
46344 maybe-clean-stagefeedback-target-libgomp:
46345 @if target-libgomp-bootstrap
46346 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
46347 all-stagefeedback: all-stagefeedback-target-libgomp
46348 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
46349 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
46350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46351 @r=`${PWD_COMMAND}`; export r; \
46352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46353 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46354 $(NORMAL_TARGET_EXPORTS) \
46356 cd $(TARGET_SUBDIR)/libgomp && \
46357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46358 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46359 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46360 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46364 $(EXTRA_TARGET_FLAGS) \
46365 TFLAGS="$(STAGEfeedback_TFLAGS)" \
46366 $(TARGET-stagefeedback-target-libgomp)
46368 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
46369 clean-stagefeedback: clean-stagefeedback-target-libgomp
46370 clean-stagefeedback-target-libgomp:
46371 @if [ $(current_stage) = stagefeedback ]; then \
46372 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46373 else \
46374 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
46375 $(MAKE) stagefeedback-start; \
46376 fi; \
46377 cd $(TARGET_SUBDIR)/libgomp && \
46378 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46379 @endif target-libgomp-bootstrap
46386 .PHONY: check-target-libgomp maybe-check-target-libgomp
46387 maybe-check-target-libgomp:
46388 @if target-libgomp
46389 maybe-check-target-libgomp: check-target-libgomp
46391 check-target-libgomp:
46392 @: $(MAKE); $(unstage)
46393 @r=`${PWD_COMMAND}`; export r; \
46394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46395 $(NORMAL_TARGET_EXPORTS) \
46396 (cd $(TARGET_SUBDIR)/libgomp && \
46397 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46399 @endif target-libgomp
46401 .PHONY: install-target-libgomp maybe-install-target-libgomp
46402 maybe-install-target-libgomp:
46403 @if target-libgomp
46404 maybe-install-target-libgomp: install-target-libgomp
46406 install-target-libgomp: installdirs
46407 @: $(MAKE); $(unstage)
46408 @r=`${PWD_COMMAND}`; export r; \
46409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46410 $(NORMAL_TARGET_EXPORTS) \
46411 (cd $(TARGET_SUBDIR)/libgomp && \
46412 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46414 @endif target-libgomp
46416 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
46417 maybe-install-strip-target-libgomp:
46418 @if target-libgomp
46419 maybe-install-strip-target-libgomp: install-strip-target-libgomp
46421 install-strip-target-libgomp: installdirs
46422 @: $(MAKE); $(unstage)
46423 @r=`${PWD_COMMAND}`; export r; \
46424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46425 $(NORMAL_TARGET_EXPORTS) \
46426 (cd $(TARGET_SUBDIR)/libgomp && \
46427 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46429 @endif target-libgomp
46431 # Other targets (info, dvi, pdf, etc.)
46433 .PHONY: maybe-info-target-libgomp info-target-libgomp
46434 maybe-info-target-libgomp:
46435 @if target-libgomp
46436 maybe-info-target-libgomp: info-target-libgomp
46438 info-target-libgomp: \
46439 configure-target-libgomp
46440 @: $(MAKE); $(unstage)
46441 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46442 r=`${PWD_COMMAND}`; export r; \
46443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46444 $(NORMAL_TARGET_EXPORTS) \
46445 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
46446 for flag in $(EXTRA_TARGET_FLAGS); do \
46447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46448 done; \
46449 (cd $(TARGET_SUBDIR)/libgomp && \
46450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46452 "RANLIB=$${RANLIB}" \
46453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46454 info) \
46455 || exit 1
46457 @endif target-libgomp
46459 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
46460 maybe-dvi-target-libgomp:
46461 @if target-libgomp
46462 maybe-dvi-target-libgomp: dvi-target-libgomp
46464 dvi-target-libgomp: \
46465 configure-target-libgomp
46466 @: $(MAKE); $(unstage)
46467 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46468 r=`${PWD_COMMAND}`; export r; \
46469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46470 $(NORMAL_TARGET_EXPORTS) \
46471 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
46472 for flag in $(EXTRA_TARGET_FLAGS); do \
46473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46474 done; \
46475 (cd $(TARGET_SUBDIR)/libgomp && \
46476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46478 "RANLIB=$${RANLIB}" \
46479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46480 dvi) \
46481 || exit 1
46483 @endif target-libgomp
46485 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
46486 maybe-pdf-target-libgomp:
46487 @if target-libgomp
46488 maybe-pdf-target-libgomp: pdf-target-libgomp
46490 pdf-target-libgomp: \
46491 configure-target-libgomp
46492 @: $(MAKE); $(unstage)
46493 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46494 r=`${PWD_COMMAND}`; export r; \
46495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46496 $(NORMAL_TARGET_EXPORTS) \
46497 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
46498 for flag in $(EXTRA_TARGET_FLAGS); do \
46499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46500 done; \
46501 (cd $(TARGET_SUBDIR)/libgomp && \
46502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46504 "RANLIB=$${RANLIB}" \
46505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46506 pdf) \
46507 || exit 1
46509 @endif target-libgomp
46511 .PHONY: maybe-html-target-libgomp html-target-libgomp
46512 maybe-html-target-libgomp:
46513 @if target-libgomp
46514 maybe-html-target-libgomp: html-target-libgomp
46516 html-target-libgomp: \
46517 configure-target-libgomp
46518 @: $(MAKE); $(unstage)
46519 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46520 r=`${PWD_COMMAND}`; export r; \
46521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46522 $(NORMAL_TARGET_EXPORTS) \
46523 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
46524 for flag in $(EXTRA_TARGET_FLAGS); do \
46525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46526 done; \
46527 (cd $(TARGET_SUBDIR)/libgomp && \
46528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46530 "RANLIB=$${RANLIB}" \
46531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46532 html) \
46533 || exit 1
46535 @endif target-libgomp
46537 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
46538 maybe-TAGS-target-libgomp:
46539 @if target-libgomp
46540 maybe-TAGS-target-libgomp: TAGS-target-libgomp
46542 TAGS-target-libgomp: \
46543 configure-target-libgomp
46544 @: $(MAKE); $(unstage)
46545 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46546 r=`${PWD_COMMAND}`; export r; \
46547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46548 $(NORMAL_TARGET_EXPORTS) \
46549 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
46550 for flag in $(EXTRA_TARGET_FLAGS); do \
46551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46552 done; \
46553 (cd $(TARGET_SUBDIR)/libgomp && \
46554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46556 "RANLIB=$${RANLIB}" \
46557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46558 TAGS) \
46559 || exit 1
46561 @endif target-libgomp
46563 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
46564 maybe-install-info-target-libgomp:
46565 @if target-libgomp
46566 maybe-install-info-target-libgomp: install-info-target-libgomp
46568 install-info-target-libgomp: \
46569 configure-target-libgomp \
46570 info-target-libgomp
46571 @: $(MAKE); $(unstage)
46572 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46573 r=`${PWD_COMMAND}`; export r; \
46574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46575 $(NORMAL_TARGET_EXPORTS) \
46576 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
46577 for flag in $(EXTRA_TARGET_FLAGS); do \
46578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46579 done; \
46580 (cd $(TARGET_SUBDIR)/libgomp && \
46581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46583 "RANLIB=$${RANLIB}" \
46584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46585 install-info) \
46586 || exit 1
46588 @endif target-libgomp
46590 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
46591 maybe-install-pdf-target-libgomp:
46592 @if target-libgomp
46593 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
46595 install-pdf-target-libgomp: \
46596 configure-target-libgomp \
46597 pdf-target-libgomp
46598 @: $(MAKE); $(unstage)
46599 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46600 r=`${PWD_COMMAND}`; export r; \
46601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46602 $(NORMAL_TARGET_EXPORTS) \
46603 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
46604 for flag in $(EXTRA_TARGET_FLAGS); do \
46605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46606 done; \
46607 (cd $(TARGET_SUBDIR)/libgomp && \
46608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46610 "RANLIB=$${RANLIB}" \
46611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46612 install-pdf) \
46613 || exit 1
46615 @endif target-libgomp
46617 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
46618 maybe-install-html-target-libgomp:
46619 @if target-libgomp
46620 maybe-install-html-target-libgomp: install-html-target-libgomp
46622 install-html-target-libgomp: \
46623 configure-target-libgomp \
46624 html-target-libgomp
46625 @: $(MAKE); $(unstage)
46626 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46627 r=`${PWD_COMMAND}`; export r; \
46628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46629 $(NORMAL_TARGET_EXPORTS) \
46630 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
46631 for flag in $(EXTRA_TARGET_FLAGS); do \
46632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46633 done; \
46634 (cd $(TARGET_SUBDIR)/libgomp && \
46635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46637 "RANLIB=$${RANLIB}" \
46638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46639 install-html) \
46640 || exit 1
46642 @endif target-libgomp
46644 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
46645 maybe-installcheck-target-libgomp:
46646 @if target-libgomp
46647 maybe-installcheck-target-libgomp: installcheck-target-libgomp
46649 installcheck-target-libgomp: \
46650 configure-target-libgomp
46651 @: $(MAKE); $(unstage)
46652 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46653 r=`${PWD_COMMAND}`; export r; \
46654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46655 $(NORMAL_TARGET_EXPORTS) \
46656 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
46657 for flag in $(EXTRA_TARGET_FLAGS); do \
46658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46659 done; \
46660 (cd $(TARGET_SUBDIR)/libgomp && \
46661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46663 "RANLIB=$${RANLIB}" \
46664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46665 installcheck) \
46666 || exit 1
46668 @endif target-libgomp
46670 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
46671 maybe-mostlyclean-target-libgomp:
46672 @if target-libgomp
46673 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
46675 mostlyclean-target-libgomp:
46676 @: $(MAKE); $(unstage)
46677 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46678 r=`${PWD_COMMAND}`; export r; \
46679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46680 $(NORMAL_TARGET_EXPORTS) \
46681 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
46682 for flag in $(EXTRA_TARGET_FLAGS); do \
46683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46684 done; \
46685 (cd $(TARGET_SUBDIR)/libgomp && \
46686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46688 "RANLIB=$${RANLIB}" \
46689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46690 mostlyclean) \
46691 || exit 1
46693 @endif target-libgomp
46695 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
46696 maybe-clean-target-libgomp:
46697 @if target-libgomp
46698 maybe-clean-target-libgomp: clean-target-libgomp
46700 clean-target-libgomp:
46701 @: $(MAKE); $(unstage)
46702 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46703 r=`${PWD_COMMAND}`; export r; \
46704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46705 $(NORMAL_TARGET_EXPORTS) \
46706 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
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)/libgomp && \
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 clean) \
46716 || exit 1
46718 @endif target-libgomp
46720 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
46721 maybe-distclean-target-libgomp:
46722 @if target-libgomp
46723 maybe-distclean-target-libgomp: distclean-target-libgomp
46725 distclean-target-libgomp:
46726 @: $(MAKE); $(unstage)
46727 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46728 r=`${PWD_COMMAND}`; export r; \
46729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46730 $(NORMAL_TARGET_EXPORTS) \
46731 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
46732 for flag in $(EXTRA_TARGET_FLAGS); do \
46733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46734 done; \
46735 (cd $(TARGET_SUBDIR)/libgomp && \
46736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46738 "RANLIB=$${RANLIB}" \
46739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46740 distclean) \
46741 || exit 1
46743 @endif target-libgomp
46745 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
46746 maybe-maintainer-clean-target-libgomp:
46747 @if target-libgomp
46748 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
46750 maintainer-clean-target-libgomp:
46751 @: $(MAKE); $(unstage)
46752 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46753 r=`${PWD_COMMAND}`; export r; \
46754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46755 $(NORMAL_TARGET_EXPORTS) \
46756 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
46757 for flag in $(EXTRA_TARGET_FLAGS); do \
46758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46759 done; \
46760 (cd $(TARGET_SUBDIR)/libgomp && \
46761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46763 "RANLIB=$${RANLIB}" \
46764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46765 maintainer-clean) \
46766 || exit 1
46768 @endif target-libgomp
46774 .PHONY: configure-target-libitm maybe-configure-target-libitm
46775 maybe-configure-target-libitm:
46776 @if gcc-bootstrap
46777 configure-target-libitm: stage_current
46778 @endif gcc-bootstrap
46779 @if target-libitm
46780 maybe-configure-target-libitm: configure-target-libitm
46781 configure-target-libitm:
46782 @: $(MAKE); $(unstage)
46783 @r=`${PWD_COMMAND}`; export r; \
46784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46785 echo "Checking multilib configuration for libitm..."; \
46786 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
46787 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
46788 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
46789 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
46790 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
46791 else \
46792 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
46793 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
46794 fi; \
46795 else \
46796 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
46797 fi; \
46798 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
46799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
46800 $(NORMAL_TARGET_EXPORTS) \
46801 echo Configuring in $(TARGET_SUBDIR)/libitm; \
46802 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
46803 case $(srcdir) in \
46804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46805 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
46806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46807 esac; \
46808 module_srcdir=libitm; \
46809 rm -f no-such-file || : ; \
46810 CONFIG_SITE=no-such-file $(SHELL) \
46811 $$s/$$module_srcdir/configure \
46812 --srcdir=$${topdir}/$$module_srcdir \
46813 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46814 --target=${target_alias} \
46815 || exit 1
46816 @endif target-libitm
46822 .PHONY: all-target-libitm maybe-all-target-libitm
46823 maybe-all-target-libitm:
46824 @if gcc-bootstrap
46825 all-target-libitm: stage_current
46826 @endif gcc-bootstrap
46827 @if target-libitm
46828 TARGET-target-libitm=all
46829 maybe-all-target-libitm: all-target-libitm
46830 all-target-libitm: configure-target-libitm
46831 @: $(MAKE); $(unstage)
46832 @r=`${PWD_COMMAND}`; export r; \
46833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46834 $(NORMAL_TARGET_EXPORTS) \
46835 (cd $(TARGET_SUBDIR)/libitm && \
46836 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46837 $(TARGET-target-libitm))
46838 @endif target-libitm
46844 .PHONY: check-target-libitm maybe-check-target-libitm
46845 maybe-check-target-libitm:
46846 @if target-libitm
46847 maybe-check-target-libitm: check-target-libitm
46849 check-target-libitm:
46850 @: $(MAKE); $(unstage)
46851 @r=`${PWD_COMMAND}`; export r; \
46852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46853 $(NORMAL_TARGET_EXPORTS) \
46854 (cd $(TARGET_SUBDIR)/libitm && \
46855 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46857 @endif target-libitm
46859 .PHONY: install-target-libitm maybe-install-target-libitm
46860 maybe-install-target-libitm:
46861 @if target-libitm
46862 maybe-install-target-libitm: install-target-libitm
46864 install-target-libitm: installdirs
46865 @: $(MAKE); $(unstage)
46866 @r=`${PWD_COMMAND}`; export r; \
46867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46868 $(NORMAL_TARGET_EXPORTS) \
46869 (cd $(TARGET_SUBDIR)/libitm && \
46870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46872 @endif target-libitm
46874 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
46875 maybe-install-strip-target-libitm:
46876 @if target-libitm
46877 maybe-install-strip-target-libitm: install-strip-target-libitm
46879 install-strip-target-libitm: installdirs
46880 @: $(MAKE); $(unstage)
46881 @r=`${PWD_COMMAND}`; export r; \
46882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46883 $(NORMAL_TARGET_EXPORTS) \
46884 (cd $(TARGET_SUBDIR)/libitm && \
46885 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46887 @endif target-libitm
46889 # Other targets (info, dvi, pdf, etc.)
46891 .PHONY: maybe-info-target-libitm info-target-libitm
46892 maybe-info-target-libitm:
46893 @if target-libitm
46894 maybe-info-target-libitm: info-target-libitm
46896 info-target-libitm: \
46897 configure-target-libitm
46898 @: $(MAKE); $(unstage)
46899 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46900 r=`${PWD_COMMAND}`; export r; \
46901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46902 $(NORMAL_TARGET_EXPORTS) \
46903 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
46904 for flag in $(EXTRA_TARGET_FLAGS); do \
46905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46906 done; \
46907 (cd $(TARGET_SUBDIR)/libitm && \
46908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46910 "RANLIB=$${RANLIB}" \
46911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46912 info) \
46913 || exit 1
46915 @endif target-libitm
46917 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
46918 maybe-dvi-target-libitm:
46919 @if target-libitm
46920 maybe-dvi-target-libitm: dvi-target-libitm
46922 dvi-target-libitm: \
46923 configure-target-libitm
46924 @: $(MAKE); $(unstage)
46925 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46926 r=`${PWD_COMMAND}`; export r; \
46927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46928 $(NORMAL_TARGET_EXPORTS) \
46929 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
46930 for flag in $(EXTRA_TARGET_FLAGS); do \
46931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46932 done; \
46933 (cd $(TARGET_SUBDIR)/libitm && \
46934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46936 "RANLIB=$${RANLIB}" \
46937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46938 dvi) \
46939 || exit 1
46941 @endif target-libitm
46943 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
46944 maybe-pdf-target-libitm:
46945 @if target-libitm
46946 maybe-pdf-target-libitm: pdf-target-libitm
46948 pdf-target-libitm: \
46949 configure-target-libitm
46950 @: $(MAKE); $(unstage)
46951 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46952 r=`${PWD_COMMAND}`; export r; \
46953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46954 $(NORMAL_TARGET_EXPORTS) \
46955 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
46956 for flag in $(EXTRA_TARGET_FLAGS); do \
46957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46958 done; \
46959 (cd $(TARGET_SUBDIR)/libitm && \
46960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46962 "RANLIB=$${RANLIB}" \
46963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46964 pdf) \
46965 || exit 1
46967 @endif target-libitm
46969 .PHONY: maybe-html-target-libitm html-target-libitm
46970 maybe-html-target-libitm:
46971 @if target-libitm
46972 maybe-html-target-libitm: html-target-libitm
46974 html-target-libitm: \
46975 configure-target-libitm
46976 @: $(MAKE); $(unstage)
46977 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46978 r=`${PWD_COMMAND}`; export r; \
46979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46980 $(NORMAL_TARGET_EXPORTS) \
46981 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
46982 for flag in $(EXTRA_TARGET_FLAGS); do \
46983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46984 done; \
46985 (cd $(TARGET_SUBDIR)/libitm && \
46986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46988 "RANLIB=$${RANLIB}" \
46989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46990 html) \
46991 || exit 1
46993 @endif target-libitm
46995 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
46996 maybe-TAGS-target-libitm:
46997 @if target-libitm
46998 maybe-TAGS-target-libitm: TAGS-target-libitm
47000 TAGS-target-libitm: \
47001 configure-target-libitm
47002 @: $(MAKE); $(unstage)
47003 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47004 r=`${PWD_COMMAND}`; export r; \
47005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47006 $(NORMAL_TARGET_EXPORTS) \
47007 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
47008 for flag in $(EXTRA_TARGET_FLAGS); do \
47009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47010 done; \
47011 (cd $(TARGET_SUBDIR)/libitm && \
47012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47014 "RANLIB=$${RANLIB}" \
47015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47016 TAGS) \
47017 || exit 1
47019 @endif target-libitm
47021 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
47022 maybe-install-info-target-libitm:
47023 @if target-libitm
47024 maybe-install-info-target-libitm: install-info-target-libitm
47026 install-info-target-libitm: \
47027 configure-target-libitm \
47028 info-target-libitm
47029 @: $(MAKE); $(unstage)
47030 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47031 r=`${PWD_COMMAND}`; export r; \
47032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47033 $(NORMAL_TARGET_EXPORTS) \
47034 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
47035 for flag in $(EXTRA_TARGET_FLAGS); do \
47036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47037 done; \
47038 (cd $(TARGET_SUBDIR)/libitm && \
47039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47041 "RANLIB=$${RANLIB}" \
47042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47043 install-info) \
47044 || exit 1
47046 @endif target-libitm
47048 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
47049 maybe-install-pdf-target-libitm:
47050 @if target-libitm
47051 maybe-install-pdf-target-libitm: install-pdf-target-libitm
47053 install-pdf-target-libitm: \
47054 configure-target-libitm \
47055 pdf-target-libitm
47056 @: $(MAKE); $(unstage)
47057 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47058 r=`${PWD_COMMAND}`; export r; \
47059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47060 $(NORMAL_TARGET_EXPORTS) \
47061 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
47062 for flag in $(EXTRA_TARGET_FLAGS); do \
47063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47064 done; \
47065 (cd $(TARGET_SUBDIR)/libitm && \
47066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47068 "RANLIB=$${RANLIB}" \
47069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47070 install-pdf) \
47071 || exit 1
47073 @endif target-libitm
47075 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
47076 maybe-install-html-target-libitm:
47077 @if target-libitm
47078 maybe-install-html-target-libitm: install-html-target-libitm
47080 install-html-target-libitm: \
47081 configure-target-libitm \
47082 html-target-libitm
47083 @: $(MAKE); $(unstage)
47084 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47085 r=`${PWD_COMMAND}`; export r; \
47086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47087 $(NORMAL_TARGET_EXPORTS) \
47088 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
47089 for flag in $(EXTRA_TARGET_FLAGS); do \
47090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47091 done; \
47092 (cd $(TARGET_SUBDIR)/libitm && \
47093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47095 "RANLIB=$${RANLIB}" \
47096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47097 install-html) \
47098 || exit 1
47100 @endif target-libitm
47102 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
47103 maybe-installcheck-target-libitm:
47104 @if target-libitm
47105 maybe-installcheck-target-libitm: installcheck-target-libitm
47107 installcheck-target-libitm: \
47108 configure-target-libitm
47109 @: $(MAKE); $(unstage)
47110 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47111 r=`${PWD_COMMAND}`; export r; \
47112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47113 $(NORMAL_TARGET_EXPORTS) \
47114 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
47115 for flag in $(EXTRA_TARGET_FLAGS); do \
47116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47117 done; \
47118 (cd $(TARGET_SUBDIR)/libitm && \
47119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47121 "RANLIB=$${RANLIB}" \
47122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47123 installcheck) \
47124 || exit 1
47126 @endif target-libitm
47128 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
47129 maybe-mostlyclean-target-libitm:
47130 @if target-libitm
47131 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
47133 mostlyclean-target-libitm:
47134 @: $(MAKE); $(unstage)
47135 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47136 r=`${PWD_COMMAND}`; export r; \
47137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47138 $(NORMAL_TARGET_EXPORTS) \
47139 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
47140 for flag in $(EXTRA_TARGET_FLAGS); do \
47141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47142 done; \
47143 (cd $(TARGET_SUBDIR)/libitm && \
47144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47146 "RANLIB=$${RANLIB}" \
47147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47148 mostlyclean) \
47149 || exit 1
47151 @endif target-libitm
47153 .PHONY: maybe-clean-target-libitm clean-target-libitm
47154 maybe-clean-target-libitm:
47155 @if target-libitm
47156 maybe-clean-target-libitm: clean-target-libitm
47158 clean-target-libitm:
47159 @: $(MAKE); $(unstage)
47160 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47161 r=`${PWD_COMMAND}`; export r; \
47162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47163 $(NORMAL_TARGET_EXPORTS) \
47164 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
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)/libitm && \
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 clean) \
47174 || exit 1
47176 @endif target-libitm
47178 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
47179 maybe-distclean-target-libitm:
47180 @if target-libitm
47181 maybe-distclean-target-libitm: distclean-target-libitm
47183 distclean-target-libitm:
47184 @: $(MAKE); $(unstage)
47185 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47186 r=`${PWD_COMMAND}`; export r; \
47187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47188 $(NORMAL_TARGET_EXPORTS) \
47189 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
47190 for flag in $(EXTRA_TARGET_FLAGS); do \
47191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47192 done; \
47193 (cd $(TARGET_SUBDIR)/libitm && \
47194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47196 "RANLIB=$${RANLIB}" \
47197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47198 distclean) \
47199 || exit 1
47201 @endif target-libitm
47203 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
47204 maybe-maintainer-clean-target-libitm:
47205 @if target-libitm
47206 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
47208 maintainer-clean-target-libitm:
47209 @: $(MAKE); $(unstage)
47210 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47211 r=`${PWD_COMMAND}`; export r; \
47212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47213 $(NORMAL_TARGET_EXPORTS) \
47214 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
47215 for flag in $(EXTRA_TARGET_FLAGS); do \
47216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47217 done; \
47218 (cd $(TARGET_SUBDIR)/libitm && \
47219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47221 "RANLIB=$${RANLIB}" \
47222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47223 maintainer-clean) \
47224 || exit 1
47226 @endif target-libitm
47232 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
47233 maybe-configure-target-libatomic:
47234 @if gcc-bootstrap
47235 configure-target-libatomic: stage_current
47236 @endif gcc-bootstrap
47237 @if target-libatomic
47238 maybe-configure-target-libatomic: configure-target-libatomic
47239 configure-target-libatomic:
47240 @: $(MAKE); $(unstage)
47241 @r=`${PWD_COMMAND}`; export r; \
47242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47243 echo "Checking multilib configuration for libatomic..."; \
47244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
47245 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
47246 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
47247 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
47248 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
47249 else \
47250 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
47251 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
47252 fi; \
47253 else \
47254 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
47255 fi; \
47256 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
47257 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
47258 $(NORMAL_TARGET_EXPORTS) \
47259 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
47260 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
47261 case $(srcdir) in \
47262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47263 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
47264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47265 esac; \
47266 module_srcdir=libatomic; \
47267 rm -f no-such-file || : ; \
47268 CONFIG_SITE=no-such-file $(SHELL) \
47269 $$s/$$module_srcdir/configure \
47270 --srcdir=$${topdir}/$$module_srcdir \
47271 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47272 --target=${target_alias} \
47273 || exit 1
47274 @endif target-libatomic
47280 .PHONY: all-target-libatomic maybe-all-target-libatomic
47281 maybe-all-target-libatomic:
47282 @if gcc-bootstrap
47283 all-target-libatomic: stage_current
47284 @endif gcc-bootstrap
47285 @if target-libatomic
47286 TARGET-target-libatomic=all
47287 maybe-all-target-libatomic: all-target-libatomic
47288 all-target-libatomic: configure-target-libatomic
47289 @: $(MAKE); $(unstage)
47290 @r=`${PWD_COMMAND}`; export r; \
47291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47292 $(NORMAL_TARGET_EXPORTS) \
47293 (cd $(TARGET_SUBDIR)/libatomic && \
47294 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47295 $(TARGET-target-libatomic))
47296 @endif target-libatomic
47302 .PHONY: check-target-libatomic maybe-check-target-libatomic
47303 maybe-check-target-libatomic:
47304 @if target-libatomic
47305 maybe-check-target-libatomic: check-target-libatomic
47307 check-target-libatomic:
47308 @: $(MAKE); $(unstage)
47309 @r=`${PWD_COMMAND}`; export r; \
47310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47311 $(NORMAL_TARGET_EXPORTS) \
47312 (cd $(TARGET_SUBDIR)/libatomic && \
47313 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47315 @endif target-libatomic
47317 .PHONY: install-target-libatomic maybe-install-target-libatomic
47318 maybe-install-target-libatomic:
47319 @if target-libatomic
47320 maybe-install-target-libatomic: install-target-libatomic
47322 install-target-libatomic: installdirs
47323 @: $(MAKE); $(unstage)
47324 @r=`${PWD_COMMAND}`; export r; \
47325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47326 $(NORMAL_TARGET_EXPORTS) \
47327 (cd $(TARGET_SUBDIR)/libatomic && \
47328 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47330 @endif target-libatomic
47332 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
47333 maybe-install-strip-target-libatomic:
47334 @if target-libatomic
47335 maybe-install-strip-target-libatomic: install-strip-target-libatomic
47337 install-strip-target-libatomic: installdirs
47338 @: $(MAKE); $(unstage)
47339 @r=`${PWD_COMMAND}`; export r; \
47340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47341 $(NORMAL_TARGET_EXPORTS) \
47342 (cd $(TARGET_SUBDIR)/libatomic && \
47343 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47345 @endif target-libatomic
47347 # Other targets (info, dvi, pdf, etc.)
47349 .PHONY: maybe-info-target-libatomic info-target-libatomic
47350 maybe-info-target-libatomic:
47351 @if target-libatomic
47352 maybe-info-target-libatomic: info-target-libatomic
47354 info-target-libatomic: \
47355 configure-target-libatomic
47356 @: $(MAKE); $(unstage)
47357 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47358 r=`${PWD_COMMAND}`; export r; \
47359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47360 $(NORMAL_TARGET_EXPORTS) \
47361 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
47362 for flag in $(EXTRA_TARGET_FLAGS); do \
47363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47364 done; \
47365 (cd $(TARGET_SUBDIR)/libatomic && \
47366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47368 "RANLIB=$${RANLIB}" \
47369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47370 info) \
47371 || exit 1
47373 @endif target-libatomic
47375 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
47376 maybe-dvi-target-libatomic:
47377 @if target-libatomic
47378 maybe-dvi-target-libatomic: dvi-target-libatomic
47380 dvi-target-libatomic: \
47381 configure-target-libatomic
47382 @: $(MAKE); $(unstage)
47383 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47384 r=`${PWD_COMMAND}`; export r; \
47385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47386 $(NORMAL_TARGET_EXPORTS) \
47387 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
47388 for flag in $(EXTRA_TARGET_FLAGS); do \
47389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47390 done; \
47391 (cd $(TARGET_SUBDIR)/libatomic && \
47392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47394 "RANLIB=$${RANLIB}" \
47395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47396 dvi) \
47397 || exit 1
47399 @endif target-libatomic
47401 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
47402 maybe-pdf-target-libatomic:
47403 @if target-libatomic
47404 maybe-pdf-target-libatomic: pdf-target-libatomic
47406 pdf-target-libatomic: \
47407 configure-target-libatomic
47408 @: $(MAKE); $(unstage)
47409 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47410 r=`${PWD_COMMAND}`; export r; \
47411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47412 $(NORMAL_TARGET_EXPORTS) \
47413 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
47414 for flag in $(EXTRA_TARGET_FLAGS); do \
47415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47416 done; \
47417 (cd $(TARGET_SUBDIR)/libatomic && \
47418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47420 "RANLIB=$${RANLIB}" \
47421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47422 pdf) \
47423 || exit 1
47425 @endif target-libatomic
47427 .PHONY: maybe-html-target-libatomic html-target-libatomic
47428 maybe-html-target-libatomic:
47429 @if target-libatomic
47430 maybe-html-target-libatomic: html-target-libatomic
47432 html-target-libatomic: \
47433 configure-target-libatomic
47434 @: $(MAKE); $(unstage)
47435 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47436 r=`${PWD_COMMAND}`; export r; \
47437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47438 $(NORMAL_TARGET_EXPORTS) \
47439 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
47440 for flag in $(EXTRA_TARGET_FLAGS); do \
47441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47442 done; \
47443 (cd $(TARGET_SUBDIR)/libatomic && \
47444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47446 "RANLIB=$${RANLIB}" \
47447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47448 html) \
47449 || exit 1
47451 @endif target-libatomic
47453 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
47454 maybe-TAGS-target-libatomic:
47455 @if target-libatomic
47456 maybe-TAGS-target-libatomic: TAGS-target-libatomic
47458 TAGS-target-libatomic: \
47459 configure-target-libatomic
47460 @: $(MAKE); $(unstage)
47461 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47462 r=`${PWD_COMMAND}`; export r; \
47463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47464 $(NORMAL_TARGET_EXPORTS) \
47465 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
47466 for flag in $(EXTRA_TARGET_FLAGS); do \
47467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47468 done; \
47469 (cd $(TARGET_SUBDIR)/libatomic && \
47470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47472 "RANLIB=$${RANLIB}" \
47473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47474 TAGS) \
47475 || exit 1
47477 @endif target-libatomic
47479 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
47480 maybe-install-info-target-libatomic:
47481 @if target-libatomic
47482 maybe-install-info-target-libatomic: install-info-target-libatomic
47484 install-info-target-libatomic: \
47485 configure-target-libatomic \
47486 info-target-libatomic
47487 @: $(MAKE); $(unstage)
47488 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47489 r=`${PWD_COMMAND}`; export r; \
47490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47491 $(NORMAL_TARGET_EXPORTS) \
47492 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
47493 for flag in $(EXTRA_TARGET_FLAGS); do \
47494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47495 done; \
47496 (cd $(TARGET_SUBDIR)/libatomic && \
47497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47499 "RANLIB=$${RANLIB}" \
47500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47501 install-info) \
47502 || exit 1
47504 @endif target-libatomic
47506 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
47507 maybe-install-pdf-target-libatomic:
47508 @if target-libatomic
47509 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
47511 install-pdf-target-libatomic: \
47512 configure-target-libatomic \
47513 pdf-target-libatomic
47514 @: $(MAKE); $(unstage)
47515 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47516 r=`${PWD_COMMAND}`; export r; \
47517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47518 $(NORMAL_TARGET_EXPORTS) \
47519 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
47520 for flag in $(EXTRA_TARGET_FLAGS); do \
47521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47522 done; \
47523 (cd $(TARGET_SUBDIR)/libatomic && \
47524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47526 "RANLIB=$${RANLIB}" \
47527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47528 install-pdf) \
47529 || exit 1
47531 @endif target-libatomic
47533 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
47534 maybe-install-html-target-libatomic:
47535 @if target-libatomic
47536 maybe-install-html-target-libatomic: install-html-target-libatomic
47538 install-html-target-libatomic: \
47539 configure-target-libatomic \
47540 html-target-libatomic
47541 @: $(MAKE); $(unstage)
47542 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47543 r=`${PWD_COMMAND}`; export r; \
47544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47545 $(NORMAL_TARGET_EXPORTS) \
47546 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
47547 for flag in $(EXTRA_TARGET_FLAGS); do \
47548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47549 done; \
47550 (cd $(TARGET_SUBDIR)/libatomic && \
47551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47553 "RANLIB=$${RANLIB}" \
47554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47555 install-html) \
47556 || exit 1
47558 @endif target-libatomic
47560 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
47561 maybe-installcheck-target-libatomic:
47562 @if target-libatomic
47563 maybe-installcheck-target-libatomic: installcheck-target-libatomic
47565 installcheck-target-libatomic: \
47566 configure-target-libatomic
47567 @: $(MAKE); $(unstage)
47568 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47569 r=`${PWD_COMMAND}`; export r; \
47570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47571 $(NORMAL_TARGET_EXPORTS) \
47572 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
47573 for flag in $(EXTRA_TARGET_FLAGS); do \
47574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47575 done; \
47576 (cd $(TARGET_SUBDIR)/libatomic && \
47577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47579 "RANLIB=$${RANLIB}" \
47580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47581 installcheck) \
47582 || exit 1
47584 @endif target-libatomic
47586 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
47587 maybe-mostlyclean-target-libatomic:
47588 @if target-libatomic
47589 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
47591 mostlyclean-target-libatomic:
47592 @: $(MAKE); $(unstage)
47593 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47594 r=`${PWD_COMMAND}`; export r; \
47595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47596 $(NORMAL_TARGET_EXPORTS) \
47597 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
47598 for flag in $(EXTRA_TARGET_FLAGS); do \
47599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47600 done; \
47601 (cd $(TARGET_SUBDIR)/libatomic && \
47602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47604 "RANLIB=$${RANLIB}" \
47605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47606 mostlyclean) \
47607 || exit 1
47609 @endif target-libatomic
47611 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
47612 maybe-clean-target-libatomic:
47613 @if target-libatomic
47614 maybe-clean-target-libatomic: clean-target-libatomic
47616 clean-target-libatomic:
47617 @: $(MAKE); $(unstage)
47618 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47619 r=`${PWD_COMMAND}`; export r; \
47620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47621 $(NORMAL_TARGET_EXPORTS) \
47622 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
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)/libatomic && \
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 clean) \
47632 || exit 1
47634 @endif target-libatomic
47636 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
47637 maybe-distclean-target-libatomic:
47638 @if target-libatomic
47639 maybe-distclean-target-libatomic: distclean-target-libatomic
47641 distclean-target-libatomic:
47642 @: $(MAKE); $(unstage)
47643 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47644 r=`${PWD_COMMAND}`; export r; \
47645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47646 $(NORMAL_TARGET_EXPORTS) \
47647 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
47648 for flag in $(EXTRA_TARGET_FLAGS); do \
47649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47650 done; \
47651 (cd $(TARGET_SUBDIR)/libatomic && \
47652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47654 "RANLIB=$${RANLIB}" \
47655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47656 distclean) \
47657 || exit 1
47659 @endif target-libatomic
47661 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
47662 maybe-maintainer-clean-target-libatomic:
47663 @if target-libatomic
47664 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
47666 maintainer-clean-target-libatomic:
47667 @: $(MAKE); $(unstage)
47668 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47669 r=`${PWD_COMMAND}`; export r; \
47670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47671 $(NORMAL_TARGET_EXPORTS) \
47672 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
47673 for flag in $(EXTRA_TARGET_FLAGS); do \
47674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47675 done; \
47676 (cd $(TARGET_SUBDIR)/libatomic && \
47677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47679 "RANLIB=$${RANLIB}" \
47680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47681 maintainer-clean) \
47682 || exit 1
47684 @endif target-libatomic
47688 @if target-libgomp
47689 .PHONY: check-target-libgomp-c++
47690 check-target-libgomp-c++:
47691 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
47693 @endif target-libgomp
47695 @if target-libitm
47696 .PHONY: check-target-libitm-c++
47697 check-target-libitm-c++:
47698 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
47700 @endif target-libitm
47702 # ----------
47703 # GCC module
47704 # ----------
47706 @if gcc-no-bootstrap
47707 .PHONY: cross
47708 cross: all-build all-gas all-ld
47709 @r=`${PWD_COMMAND}`; export r; \
47710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47711 $(HOST_EXPORTS) \
47712 echo "Building the C and C++ compiler"; \
47713 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
47714 @r=`${PWD_COMMAND}`; export r; \
47715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47716 echo "Building runtime libraries"; \
47717 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
47718 @endif gcc-no-bootstrap
47720 @if gcc
47722 .PHONY: check-gcc-c check-c
47723 check-gcc-c:
47724 r=`${PWD_COMMAND}`; export r; \
47725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47726 $(HOST_EXPORTS) \
47727 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
47728 check-c: check-gcc-c
47730 .PHONY: check-gcc-c++ check-c++
47731 check-gcc-c++:
47732 r=`${PWD_COMMAND}`; export r; \
47733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47734 $(HOST_EXPORTS) \
47735 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
47736 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
47738 .PHONY: check-gcc-fortran check-fortran
47739 check-gcc-fortran:
47740 r=`${PWD_COMMAND}`; export r; \
47741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47742 $(HOST_EXPORTS) \
47743 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
47744 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
47746 .PHONY: check-gcc-java check-java
47747 check-gcc-java:
47748 r=`${PWD_COMMAND}`; export r; \
47749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47750 $(HOST_EXPORTS) \
47751 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
47752 check-java: check-gcc-java check-target-libjava
47754 .PHONY: check-gcc-ada check-ada
47755 check-gcc-ada:
47756 r=`${PWD_COMMAND}`; export r; \
47757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47758 $(HOST_EXPORTS) \
47759 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
47760 check-ada: check-gcc-ada check-target-libada
47762 .PHONY: check-gcc-objc check-objc
47763 check-gcc-objc:
47764 r=`${PWD_COMMAND}`; export r; \
47765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47766 $(HOST_EXPORTS) \
47767 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
47768 check-objc: check-gcc-objc check-target-libobjc
47770 .PHONY: check-gcc-obj-c++ check-obj-c++
47771 check-gcc-obj-c++:
47772 r=`${PWD_COMMAND}`; export r; \
47773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47774 $(HOST_EXPORTS) \
47775 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
47776 check-obj-c++: check-gcc-obj-c++
47778 .PHONY: check-gcc-go check-go
47779 check-gcc-go:
47780 r=`${PWD_COMMAND}`; export r; \
47781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47782 $(HOST_EXPORTS) \
47783 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
47784 check-go: check-gcc-go check-target-libgo
47787 # The gcc part of install-no-fixedincludes, which relies on an intimate
47788 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
47789 .PHONY: gcc-install-no-fixedincludes
47790 gcc-install-no-fixedincludes:
47791 @if [ -f ./gcc/Makefile ]; then \
47792 r=`${PWD_COMMAND}`; export r; \
47793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47794 $(HOST_EXPORTS) \
47795 (cd ./gcc \
47796 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
47797 else true; fi
47798 @endif gcc
47800 # ---------------------
47801 # GCC bootstrap support
47802 # ---------------------
47804 # We track the current stage (the one in 'gcc') in the stage_current file.
47805 # stage_last instead tracks the stage that was built last. These targets
47806 # are dummy when toplevel bootstrap is not active.
47808 # While making host and target tools, symlinks to the final stage must be
47809 # there, so $(unstage) should be run at various points. To avoid excessive
47810 # recursive invocations of make, we "inline" them using a variable. These
47811 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
47812 # to avoid warnings from the GNU Make job server.
47814 unstage = :
47815 stage = :
47816 current_stage = ""
47818 @if gcc-bootstrap
47819 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
47820 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
47821 current_stage = "`cat stage_current 2> /dev/null`"
47822 @endif gcc-bootstrap
47824 .PHONY: unstage stage
47825 unstage:
47826 @: $(MAKE); $(unstage)
47827 stage:
47828 @: $(MAKE); $(stage)
47830 # Disable commands for lean bootstrap.
47831 LEAN = false
47833 # We name the build directories for the various stages "stage1-gcc",
47834 # "stage2-gcc","stage3-gcc", etc.
47836 # Since the 'compare' process will fail (on debugging information) if any
47837 # directory names are different, we need to link the gcc directory for
47838 # the previous stage to a constant name ('prev-gcc'), and to make the name of
47839 # the build directories constant as well. For the latter, we use naked names
47840 # like 'gcc', because the scripts in that directory assume it. We use
47841 # mv on platforms where symlinks to directories do not work or are not
47842 # reliable.
47844 # 'touch' doesn't work right on some platforms.
47845 STAMP = echo timestamp >
47847 # We only want to compare .o files, so set this!
47848 objext = .o
47851 .PHONY: stage1-start stage1-end
47853 stage1-start::
47854 @: $(MAKE); $(stage); \
47855 echo stage1 > stage_current; \
47856 echo stage1 > stage_last; \
47857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47858 @if bfd
47859 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
47860 mkdir stage1-bfd; \
47861 mv stage1-bfd bfd
47862 @endif bfd
47863 @if opcodes
47864 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
47865 mkdir stage1-opcodes; \
47866 mv stage1-opcodes opcodes
47867 @endif opcodes
47868 @if binutils
47869 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
47870 mkdir stage1-binutils; \
47871 mv stage1-binutils binutils
47872 @endif binutils
47873 @if fixincludes
47874 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
47875 mkdir stage1-fixincludes; \
47876 mv stage1-fixincludes fixincludes
47877 @endif fixincludes
47878 @if gas
47879 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
47880 mkdir stage1-gas; \
47881 mv stage1-gas gas
47882 @endif gas
47883 @if gcc
47884 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
47885 mkdir stage1-gcc; \
47886 mv stage1-gcc gcc
47887 @endif gcc
47888 @if gmp
47889 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
47890 mkdir stage1-gmp; \
47891 mv stage1-gmp gmp
47892 @endif gmp
47893 @if mpfr
47894 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
47895 mkdir stage1-mpfr; \
47896 mv stage1-mpfr mpfr
47897 @endif mpfr
47898 @if mpc
47899 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
47900 mkdir stage1-mpc; \
47901 mv stage1-mpc mpc
47902 @endif mpc
47903 @if isl
47904 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
47905 mkdir stage1-isl; \
47906 mv stage1-isl isl
47907 @endif isl
47908 @if libelf
47909 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
47910 mkdir stage1-libelf; \
47911 mv stage1-libelf libelf
47912 @endif libelf
47913 @if gold
47914 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
47915 mkdir stage1-gold; \
47916 mv stage1-gold gold
47917 @endif gold
47918 @if intl
47919 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
47920 mkdir stage1-intl; \
47921 mv stage1-intl intl
47922 @endif intl
47923 @if ld
47924 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
47925 mkdir stage1-ld; \
47926 mv stage1-ld ld
47927 @endif ld
47928 @if libbacktrace
47929 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
47930 mkdir stage1-libbacktrace; \
47931 mv stage1-libbacktrace libbacktrace
47932 @endif libbacktrace
47933 @if libcpp
47934 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
47935 mkdir stage1-libcpp; \
47936 mv stage1-libcpp libcpp
47937 @endif libcpp
47938 @if libdecnumber
47939 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
47940 mkdir stage1-libdecnumber; \
47941 mv stage1-libdecnumber libdecnumber
47942 @endif libdecnumber
47943 @if libiberty
47944 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
47945 mkdir stage1-libiberty; \
47946 mv stage1-libiberty libiberty
47947 @endif libiberty
47948 @if libiberty-linker-plugin
47949 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
47950 mkdir stage1-libiberty-linker-plugin; \
47951 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
47952 @endif libiberty-linker-plugin
47953 @if libiconv
47954 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
47955 mkdir stage1-libiconv; \
47956 mv stage1-libiconv libiconv
47957 @endif libiconv
47958 @if zlib
47959 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
47960 mkdir stage1-zlib; \
47961 mv stage1-zlib zlib
47962 @endif zlib
47963 @if lto-plugin
47964 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
47965 mkdir stage1-lto-plugin; \
47966 mv stage1-lto-plugin lto-plugin
47967 @endif lto-plugin
47968 @[ -d stage1-$(TARGET_SUBDIR) ] || \
47969 mkdir stage1-$(TARGET_SUBDIR); \
47970 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
47972 stage1-end::
47973 @if bfd
47974 @if test -d $(HOST_SUBDIR)/bfd; then \
47975 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
47977 @endif bfd
47978 @if opcodes
47979 @if test -d $(HOST_SUBDIR)/opcodes; then \
47980 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
47982 @endif opcodes
47983 @if binutils
47984 @if test -d $(HOST_SUBDIR)/binutils; then \
47985 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
47987 @endif binutils
47988 @if fixincludes
47989 @if test -d $(HOST_SUBDIR)/fixincludes; then \
47990 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
47992 @endif fixincludes
47993 @if gas
47994 @if test -d $(HOST_SUBDIR)/gas; then \
47995 cd $(HOST_SUBDIR); mv gas stage1-gas; \
47997 @endif gas
47998 @if gcc
47999 @if test -d $(HOST_SUBDIR)/gcc; then \
48000 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
48002 @endif gcc
48003 @if gmp
48004 @if test -d $(HOST_SUBDIR)/gmp; then \
48005 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
48007 @endif gmp
48008 @if mpfr
48009 @if test -d $(HOST_SUBDIR)/mpfr; then \
48010 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
48012 @endif mpfr
48013 @if mpc
48014 @if test -d $(HOST_SUBDIR)/mpc; then \
48015 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
48017 @endif mpc
48018 @if isl
48019 @if test -d $(HOST_SUBDIR)/isl; then \
48020 cd $(HOST_SUBDIR); mv isl stage1-isl; \
48022 @endif isl
48023 @if libelf
48024 @if test -d $(HOST_SUBDIR)/libelf; then \
48025 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
48027 @endif libelf
48028 @if gold
48029 @if test -d $(HOST_SUBDIR)/gold; then \
48030 cd $(HOST_SUBDIR); mv gold stage1-gold; \
48032 @endif gold
48033 @if intl
48034 @if test -d $(HOST_SUBDIR)/intl; then \
48035 cd $(HOST_SUBDIR); mv intl stage1-intl; \
48037 @endif intl
48038 @if ld
48039 @if test -d $(HOST_SUBDIR)/ld; then \
48040 cd $(HOST_SUBDIR); mv ld stage1-ld; \
48042 @endif ld
48043 @if libbacktrace
48044 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
48045 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
48047 @endif libbacktrace
48048 @if libcpp
48049 @if test -d $(HOST_SUBDIR)/libcpp; then \
48050 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
48052 @endif libcpp
48053 @if libdecnumber
48054 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
48055 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
48057 @endif libdecnumber
48058 @if libiberty
48059 @if test -d $(HOST_SUBDIR)/libiberty; then \
48060 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
48062 @endif libiberty
48063 @if libiberty-linker-plugin
48064 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
48065 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
48067 @endif libiberty-linker-plugin
48068 @if libiconv
48069 @if test -d $(HOST_SUBDIR)/libiconv; then \
48070 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
48072 @endif libiconv
48073 @if zlib
48074 @if test -d $(HOST_SUBDIR)/zlib; then \
48075 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
48077 @endif zlib
48078 @if lto-plugin
48079 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
48080 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
48082 @endif lto-plugin
48083 @if test -d $(TARGET_SUBDIR); then \
48084 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
48086 rm -f stage_current
48088 # Bubble a bug fix through all the stages up to stage 1. They are
48089 # remade, but not reconfigured. The next stage (if any) will not be
48090 # reconfigured either.
48091 .PHONY: stage1-bubble
48092 stage1-bubble::
48093 @r=`${PWD_COMMAND}`; export r; \
48094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48095 if test -f stage1-lean ; then \
48096 echo Skipping rebuild of stage1; \
48097 else \
48098 $(MAKE) stage1-start; \
48099 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
48102 .PHONY: all-stage1 clean-stage1
48103 do-clean: clean-stage1
48105 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48106 # only possibility, but now it conflicts with no-bootstrap rules
48107 @if gcc-bootstrap
48112 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48114 .PHONY: distclean-stage1
48115 distclean-stage1::
48116 @: $(MAKE); $(stage)
48117 @test "`cat stage_last`" != stage1 || rm -f stage_last
48118 rm -rf stage1-*
48121 @endif gcc-bootstrap
48124 .PHONY: stage2-start stage2-end
48126 stage2-start::
48127 @: $(MAKE); $(stage); \
48128 echo stage2 > stage_current; \
48129 echo stage2 > stage_last; \
48130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48131 @if bfd
48132 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
48133 mkdir stage2-bfd; \
48134 mv stage2-bfd bfd; \
48135 mv stage1-bfd prev-bfd || test -f stage1-lean
48136 @endif bfd
48137 @if opcodes
48138 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
48139 mkdir stage2-opcodes; \
48140 mv stage2-opcodes opcodes; \
48141 mv stage1-opcodes prev-opcodes || test -f stage1-lean
48142 @endif opcodes
48143 @if binutils
48144 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
48145 mkdir stage2-binutils; \
48146 mv stage2-binutils binutils; \
48147 mv stage1-binutils prev-binutils || test -f stage1-lean
48148 @endif binutils
48149 @if fixincludes
48150 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
48151 mkdir stage2-fixincludes; \
48152 mv stage2-fixincludes fixincludes; \
48153 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
48154 @endif fixincludes
48155 @if gas
48156 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
48157 mkdir stage2-gas; \
48158 mv stage2-gas gas; \
48159 mv stage1-gas prev-gas || test -f stage1-lean
48160 @endif gas
48161 @if gcc
48162 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
48163 mkdir stage2-gcc; \
48164 mv stage2-gcc gcc; \
48165 mv stage1-gcc prev-gcc || test -f stage1-lean
48166 @endif gcc
48167 @if gmp
48168 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
48169 mkdir stage2-gmp; \
48170 mv stage2-gmp gmp; \
48171 mv stage1-gmp prev-gmp || test -f stage1-lean
48172 @endif gmp
48173 @if mpfr
48174 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
48175 mkdir stage2-mpfr; \
48176 mv stage2-mpfr mpfr; \
48177 mv stage1-mpfr prev-mpfr || test -f stage1-lean
48178 @endif mpfr
48179 @if mpc
48180 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
48181 mkdir stage2-mpc; \
48182 mv stage2-mpc mpc; \
48183 mv stage1-mpc prev-mpc || test -f stage1-lean
48184 @endif mpc
48185 @if isl
48186 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
48187 mkdir stage2-isl; \
48188 mv stage2-isl isl; \
48189 mv stage1-isl prev-isl || test -f stage1-lean
48190 @endif isl
48191 @if libelf
48192 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
48193 mkdir stage2-libelf; \
48194 mv stage2-libelf libelf; \
48195 mv stage1-libelf prev-libelf || test -f stage1-lean
48196 @endif libelf
48197 @if gold
48198 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
48199 mkdir stage2-gold; \
48200 mv stage2-gold gold; \
48201 mv stage1-gold prev-gold || test -f stage1-lean
48202 @endif gold
48203 @if intl
48204 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
48205 mkdir stage2-intl; \
48206 mv stage2-intl intl; \
48207 mv stage1-intl prev-intl || test -f stage1-lean
48208 @endif intl
48209 @if ld
48210 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
48211 mkdir stage2-ld; \
48212 mv stage2-ld ld; \
48213 mv stage1-ld prev-ld || test -f stage1-lean
48214 @endif ld
48215 @if libbacktrace
48216 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
48217 mkdir stage2-libbacktrace; \
48218 mv stage2-libbacktrace libbacktrace; \
48219 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
48220 @endif libbacktrace
48221 @if libcpp
48222 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
48223 mkdir stage2-libcpp; \
48224 mv stage2-libcpp libcpp; \
48225 mv stage1-libcpp prev-libcpp || test -f stage1-lean
48226 @endif libcpp
48227 @if libdecnumber
48228 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
48229 mkdir stage2-libdecnumber; \
48230 mv stage2-libdecnumber libdecnumber; \
48231 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
48232 @endif libdecnumber
48233 @if libiberty
48234 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
48235 mkdir stage2-libiberty; \
48236 mv stage2-libiberty libiberty; \
48237 mv stage1-libiberty prev-libiberty || test -f stage1-lean
48238 @endif libiberty
48239 @if libiberty-linker-plugin
48240 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
48241 mkdir stage2-libiberty-linker-plugin; \
48242 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
48243 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
48244 @endif libiberty-linker-plugin
48245 @if libiconv
48246 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
48247 mkdir stage2-libiconv; \
48248 mv stage2-libiconv libiconv; \
48249 mv stage1-libiconv prev-libiconv || test -f stage1-lean
48250 @endif libiconv
48251 @if zlib
48252 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
48253 mkdir stage2-zlib; \
48254 mv stage2-zlib zlib; \
48255 mv stage1-zlib prev-zlib || test -f stage1-lean
48256 @endif zlib
48257 @if lto-plugin
48258 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
48259 mkdir stage2-lto-plugin; \
48260 mv stage2-lto-plugin lto-plugin; \
48261 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
48262 @endif lto-plugin
48263 @[ -d stage2-$(TARGET_SUBDIR) ] || \
48264 mkdir stage2-$(TARGET_SUBDIR); \
48265 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
48266 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
48268 stage2-end::
48269 @if bfd
48270 @if test -d $(HOST_SUBDIR)/bfd; then \
48271 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
48272 mv prev-bfd stage1-bfd; : ; \
48274 @endif bfd
48275 @if opcodes
48276 @if test -d $(HOST_SUBDIR)/opcodes; then \
48277 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
48278 mv prev-opcodes stage1-opcodes; : ; \
48280 @endif opcodes
48281 @if binutils
48282 @if test -d $(HOST_SUBDIR)/binutils; then \
48283 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
48284 mv prev-binutils stage1-binutils; : ; \
48286 @endif binutils
48287 @if fixincludes
48288 @if test -d $(HOST_SUBDIR)/fixincludes; then \
48289 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
48290 mv prev-fixincludes stage1-fixincludes; : ; \
48292 @endif fixincludes
48293 @if gas
48294 @if test -d $(HOST_SUBDIR)/gas; then \
48295 cd $(HOST_SUBDIR); mv gas stage2-gas; \
48296 mv prev-gas stage1-gas; : ; \
48298 @endif gas
48299 @if gcc
48300 @if test -d $(HOST_SUBDIR)/gcc; then \
48301 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
48302 mv prev-gcc stage1-gcc; : ; \
48304 @endif gcc
48305 @if gmp
48306 @if test -d $(HOST_SUBDIR)/gmp; then \
48307 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
48308 mv prev-gmp stage1-gmp; : ; \
48310 @endif gmp
48311 @if mpfr
48312 @if test -d $(HOST_SUBDIR)/mpfr; then \
48313 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
48314 mv prev-mpfr stage1-mpfr; : ; \
48316 @endif mpfr
48317 @if mpc
48318 @if test -d $(HOST_SUBDIR)/mpc; then \
48319 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
48320 mv prev-mpc stage1-mpc; : ; \
48322 @endif mpc
48323 @if isl
48324 @if test -d $(HOST_SUBDIR)/isl; then \
48325 cd $(HOST_SUBDIR); mv isl stage2-isl; \
48326 mv prev-isl stage1-isl; : ; \
48328 @endif isl
48329 @if libelf
48330 @if test -d $(HOST_SUBDIR)/libelf; then \
48331 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
48332 mv prev-libelf stage1-libelf; : ; \
48334 @endif libelf
48335 @if gold
48336 @if test -d $(HOST_SUBDIR)/gold; then \
48337 cd $(HOST_SUBDIR); mv gold stage2-gold; \
48338 mv prev-gold stage1-gold; : ; \
48340 @endif gold
48341 @if intl
48342 @if test -d $(HOST_SUBDIR)/intl; then \
48343 cd $(HOST_SUBDIR); mv intl stage2-intl; \
48344 mv prev-intl stage1-intl; : ; \
48346 @endif intl
48347 @if ld
48348 @if test -d $(HOST_SUBDIR)/ld; then \
48349 cd $(HOST_SUBDIR); mv ld stage2-ld; \
48350 mv prev-ld stage1-ld; : ; \
48352 @endif ld
48353 @if libbacktrace
48354 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
48355 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
48356 mv prev-libbacktrace stage1-libbacktrace; : ; \
48358 @endif libbacktrace
48359 @if libcpp
48360 @if test -d $(HOST_SUBDIR)/libcpp; then \
48361 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
48362 mv prev-libcpp stage1-libcpp; : ; \
48364 @endif libcpp
48365 @if libdecnumber
48366 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
48367 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
48368 mv prev-libdecnumber stage1-libdecnumber; : ; \
48370 @endif libdecnumber
48371 @if libiberty
48372 @if test -d $(HOST_SUBDIR)/libiberty; then \
48373 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
48374 mv prev-libiberty stage1-libiberty; : ; \
48376 @endif libiberty
48377 @if libiberty-linker-plugin
48378 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
48379 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
48380 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
48382 @endif libiberty-linker-plugin
48383 @if libiconv
48384 @if test -d $(HOST_SUBDIR)/libiconv; then \
48385 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
48386 mv prev-libiconv stage1-libiconv; : ; \
48388 @endif libiconv
48389 @if zlib
48390 @if test -d $(HOST_SUBDIR)/zlib; then \
48391 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
48392 mv prev-zlib stage1-zlib; : ; \
48394 @endif zlib
48395 @if lto-plugin
48396 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
48397 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
48398 mv prev-lto-plugin stage1-lto-plugin; : ; \
48400 @endif lto-plugin
48401 @if test -d $(TARGET_SUBDIR); then \
48402 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
48403 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
48405 rm -f stage_current
48407 # Bubble a bug fix through all the stages up to stage 2. They are
48408 # remade, but not reconfigured. The next stage (if any) will not be
48409 # reconfigured either.
48410 .PHONY: stage2-bubble
48411 stage2-bubble:: stage1-bubble
48412 @r=`${PWD_COMMAND}`; export r; \
48413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48414 if test -f stage2-lean || test -f stage1-lean ; then \
48415 echo Skipping rebuild of stage2; \
48416 else \
48417 $(MAKE) stage2-start; \
48418 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
48421 .PHONY: all-stage2 clean-stage2
48422 do-clean: clean-stage2
48424 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48425 # only possibility, but now it conflicts with no-bootstrap rules
48426 @if gcc-bootstrap
48430 .PHONY: bootstrap2 bootstrap2-lean
48431 bootstrap2:
48432 echo stage2 > stage_final
48433 @r=`${PWD_COMMAND}`; export r; \
48434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48435 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
48436 @: $(MAKE); $(unstage)
48437 @r=`${PWD_COMMAND}`; export r; \
48438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48439 TFLAGS="$(STAGE2_TFLAGS)"; \
48440 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48442 bootstrap2-lean:
48443 echo stage2 > stage_final
48444 @r=`${PWD_COMMAND}`; export r; \
48445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48446 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
48447 @: $(MAKE); $(unstage)
48448 @r=`${PWD_COMMAND}`; export r; \
48449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48450 TFLAGS="$(STAGE2_TFLAGS)"; \
48451 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48454 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48455 distclean-stage1:: distclean-stage2
48456 .PHONY: distclean-stage2
48457 distclean-stage2::
48458 @: $(MAKE); $(stage)
48459 @test "`cat stage_last`" != stage2 || rm -f stage_last
48460 rm -rf stage2-*
48463 @endif gcc-bootstrap
48466 .PHONY: stage3-start stage3-end
48468 stage3-start::
48469 @: $(MAKE); $(stage); \
48470 echo stage3 > stage_current; \
48471 echo stage3 > stage_last; \
48472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48473 @if bfd
48474 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
48475 mkdir stage3-bfd; \
48476 mv stage3-bfd bfd; \
48477 mv stage2-bfd prev-bfd || test -f stage2-lean
48478 @endif bfd
48479 @if opcodes
48480 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
48481 mkdir stage3-opcodes; \
48482 mv stage3-opcodes opcodes; \
48483 mv stage2-opcodes prev-opcodes || test -f stage2-lean
48484 @endif opcodes
48485 @if binutils
48486 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
48487 mkdir stage3-binutils; \
48488 mv stage3-binutils binutils; \
48489 mv stage2-binutils prev-binutils || test -f stage2-lean
48490 @endif binutils
48491 @if fixincludes
48492 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
48493 mkdir stage3-fixincludes; \
48494 mv stage3-fixincludes fixincludes; \
48495 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
48496 @endif fixincludes
48497 @if gas
48498 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
48499 mkdir stage3-gas; \
48500 mv stage3-gas gas; \
48501 mv stage2-gas prev-gas || test -f stage2-lean
48502 @endif gas
48503 @if gcc
48504 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
48505 mkdir stage3-gcc; \
48506 mv stage3-gcc gcc; \
48507 mv stage2-gcc prev-gcc || test -f stage2-lean
48508 @endif gcc
48509 @if gmp
48510 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
48511 mkdir stage3-gmp; \
48512 mv stage3-gmp gmp; \
48513 mv stage2-gmp prev-gmp || test -f stage2-lean
48514 @endif gmp
48515 @if mpfr
48516 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
48517 mkdir stage3-mpfr; \
48518 mv stage3-mpfr mpfr; \
48519 mv stage2-mpfr prev-mpfr || test -f stage2-lean
48520 @endif mpfr
48521 @if mpc
48522 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
48523 mkdir stage3-mpc; \
48524 mv stage3-mpc mpc; \
48525 mv stage2-mpc prev-mpc || test -f stage2-lean
48526 @endif mpc
48527 @if isl
48528 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
48529 mkdir stage3-isl; \
48530 mv stage3-isl isl; \
48531 mv stage2-isl prev-isl || test -f stage2-lean
48532 @endif isl
48533 @if libelf
48534 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
48535 mkdir stage3-libelf; \
48536 mv stage3-libelf libelf; \
48537 mv stage2-libelf prev-libelf || test -f stage2-lean
48538 @endif libelf
48539 @if gold
48540 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
48541 mkdir stage3-gold; \
48542 mv stage3-gold gold; \
48543 mv stage2-gold prev-gold || test -f stage2-lean
48544 @endif gold
48545 @if intl
48546 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
48547 mkdir stage3-intl; \
48548 mv stage3-intl intl; \
48549 mv stage2-intl prev-intl || test -f stage2-lean
48550 @endif intl
48551 @if ld
48552 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
48553 mkdir stage3-ld; \
48554 mv stage3-ld ld; \
48555 mv stage2-ld prev-ld || test -f stage2-lean
48556 @endif ld
48557 @if libbacktrace
48558 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
48559 mkdir stage3-libbacktrace; \
48560 mv stage3-libbacktrace libbacktrace; \
48561 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
48562 @endif libbacktrace
48563 @if libcpp
48564 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
48565 mkdir stage3-libcpp; \
48566 mv stage3-libcpp libcpp; \
48567 mv stage2-libcpp prev-libcpp || test -f stage2-lean
48568 @endif libcpp
48569 @if libdecnumber
48570 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
48571 mkdir stage3-libdecnumber; \
48572 mv stage3-libdecnumber libdecnumber; \
48573 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
48574 @endif libdecnumber
48575 @if libiberty
48576 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
48577 mkdir stage3-libiberty; \
48578 mv stage3-libiberty libiberty; \
48579 mv stage2-libiberty prev-libiberty || test -f stage2-lean
48580 @endif libiberty
48581 @if libiberty-linker-plugin
48582 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
48583 mkdir stage3-libiberty-linker-plugin; \
48584 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
48585 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
48586 @endif libiberty-linker-plugin
48587 @if libiconv
48588 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
48589 mkdir stage3-libiconv; \
48590 mv stage3-libiconv libiconv; \
48591 mv stage2-libiconv prev-libiconv || test -f stage2-lean
48592 @endif libiconv
48593 @if zlib
48594 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
48595 mkdir stage3-zlib; \
48596 mv stage3-zlib zlib; \
48597 mv stage2-zlib prev-zlib || test -f stage2-lean
48598 @endif zlib
48599 @if lto-plugin
48600 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
48601 mkdir stage3-lto-plugin; \
48602 mv stage3-lto-plugin lto-plugin; \
48603 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
48604 @endif lto-plugin
48605 @[ -d stage3-$(TARGET_SUBDIR) ] || \
48606 mkdir stage3-$(TARGET_SUBDIR); \
48607 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
48608 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
48610 stage3-end::
48611 @if bfd
48612 @if test -d $(HOST_SUBDIR)/bfd; then \
48613 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
48614 mv prev-bfd stage2-bfd; : ; \
48616 @endif bfd
48617 @if opcodes
48618 @if test -d $(HOST_SUBDIR)/opcodes; then \
48619 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
48620 mv prev-opcodes stage2-opcodes; : ; \
48622 @endif opcodes
48623 @if binutils
48624 @if test -d $(HOST_SUBDIR)/binutils; then \
48625 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
48626 mv prev-binutils stage2-binutils; : ; \
48628 @endif binutils
48629 @if fixincludes
48630 @if test -d $(HOST_SUBDIR)/fixincludes; then \
48631 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
48632 mv prev-fixincludes stage2-fixincludes; : ; \
48634 @endif fixincludes
48635 @if gas
48636 @if test -d $(HOST_SUBDIR)/gas; then \
48637 cd $(HOST_SUBDIR); mv gas stage3-gas; \
48638 mv prev-gas stage2-gas; : ; \
48640 @endif gas
48641 @if gcc
48642 @if test -d $(HOST_SUBDIR)/gcc; then \
48643 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
48644 mv prev-gcc stage2-gcc; : ; \
48646 @endif gcc
48647 @if gmp
48648 @if test -d $(HOST_SUBDIR)/gmp; then \
48649 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
48650 mv prev-gmp stage2-gmp; : ; \
48652 @endif gmp
48653 @if mpfr
48654 @if test -d $(HOST_SUBDIR)/mpfr; then \
48655 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
48656 mv prev-mpfr stage2-mpfr; : ; \
48658 @endif mpfr
48659 @if mpc
48660 @if test -d $(HOST_SUBDIR)/mpc; then \
48661 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
48662 mv prev-mpc stage2-mpc; : ; \
48664 @endif mpc
48665 @if isl
48666 @if test -d $(HOST_SUBDIR)/isl; then \
48667 cd $(HOST_SUBDIR); mv isl stage3-isl; \
48668 mv prev-isl stage2-isl; : ; \
48670 @endif isl
48671 @if libelf
48672 @if test -d $(HOST_SUBDIR)/libelf; then \
48673 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
48674 mv prev-libelf stage2-libelf; : ; \
48676 @endif libelf
48677 @if gold
48678 @if test -d $(HOST_SUBDIR)/gold; then \
48679 cd $(HOST_SUBDIR); mv gold stage3-gold; \
48680 mv prev-gold stage2-gold; : ; \
48682 @endif gold
48683 @if intl
48684 @if test -d $(HOST_SUBDIR)/intl; then \
48685 cd $(HOST_SUBDIR); mv intl stage3-intl; \
48686 mv prev-intl stage2-intl; : ; \
48688 @endif intl
48689 @if ld
48690 @if test -d $(HOST_SUBDIR)/ld; then \
48691 cd $(HOST_SUBDIR); mv ld stage3-ld; \
48692 mv prev-ld stage2-ld; : ; \
48694 @endif ld
48695 @if libbacktrace
48696 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
48697 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
48698 mv prev-libbacktrace stage2-libbacktrace; : ; \
48700 @endif libbacktrace
48701 @if libcpp
48702 @if test -d $(HOST_SUBDIR)/libcpp; then \
48703 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
48704 mv prev-libcpp stage2-libcpp; : ; \
48706 @endif libcpp
48707 @if libdecnumber
48708 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
48709 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
48710 mv prev-libdecnumber stage2-libdecnumber; : ; \
48712 @endif libdecnumber
48713 @if libiberty
48714 @if test -d $(HOST_SUBDIR)/libiberty; then \
48715 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
48716 mv prev-libiberty stage2-libiberty; : ; \
48718 @endif libiberty
48719 @if libiberty-linker-plugin
48720 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
48721 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
48722 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
48724 @endif libiberty-linker-plugin
48725 @if libiconv
48726 @if test -d $(HOST_SUBDIR)/libiconv; then \
48727 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
48728 mv prev-libiconv stage2-libiconv; : ; \
48730 @endif libiconv
48731 @if zlib
48732 @if test -d $(HOST_SUBDIR)/zlib; then \
48733 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
48734 mv prev-zlib stage2-zlib; : ; \
48736 @endif zlib
48737 @if lto-plugin
48738 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
48739 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
48740 mv prev-lto-plugin stage2-lto-plugin; : ; \
48742 @endif lto-plugin
48743 @if test -d $(TARGET_SUBDIR); then \
48744 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
48745 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
48747 rm -f stage_current
48749 # Bubble a bug fix through all the stages up to stage 3. They are
48750 # remade, but not reconfigured. The next stage (if any) will not be
48751 # reconfigured either.
48752 .PHONY: stage3-bubble
48753 stage3-bubble:: stage2-bubble
48754 @r=`${PWD_COMMAND}`; export r; \
48755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48756 if test -f stage3-lean || test -f stage2-lean ; then \
48757 echo Skipping rebuild of stage3; \
48758 else \
48759 $(MAKE) stage3-start; \
48760 if $(LEAN); then \
48761 rm -rf stage1-*; \
48762 $(STAMP) stage1-lean; \
48763 fi; \
48764 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
48766 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
48768 .PHONY: all-stage3 clean-stage3
48769 do-clean: clean-stage3
48771 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48772 # only possibility, but now it conflicts with no-bootstrap rules
48773 @if gcc-bootstrap
48775 compare:
48776 @r=`${PWD_COMMAND}`; export r; \
48777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48778 if test -f stage2-lean; then \
48779 echo Cannot compare object files as stage 2 was deleted.; \
48780 exit 0; \
48781 fi; \
48782 : $(MAKE); $(stage); \
48783 rm -f .bad_compare; \
48784 echo Comparing stages 2 and 3; \
48785 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
48786 files=`find stage3-* -name "*$(objext)" -print | \
48787 sed -n s,^stage$$sed-,,p`; \
48788 for file in $${files}; do \
48789 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
48790 if test ! -f $$f1; then continue; fi; \
48791 $(do-compare) > /dev/null 2>&1; \
48792 if test $$? -eq 1; then \
48793 case $$file in \
48794 @compare_exclusions@) \
48795 echo warning: $$file differs ;; \
48796 *) \
48797 echo $$file differs >> .bad_compare ;; \
48798 esac; \
48799 fi; \
48800 done; \
48801 if [ -f .bad_compare ]; then \
48802 echo "Bootstrap comparison failure!"; \
48803 cat .bad_compare; \
48804 exit 1; \
48805 else \
48806 echo Comparison successful.; \
48807 fi; \
48808 $(STAMP) compare
48809 if $(LEAN); then \
48810 rm -rf stage2-*; \
48811 $(STAMP) stage2-lean; \
48816 .PHONY: bootstrap bootstrap-lean
48817 bootstrap:
48818 echo stage3 > stage_final
48819 @r=`${PWD_COMMAND}`; export r; \
48820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48821 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
48822 @: $(MAKE); $(unstage)
48823 @r=`${PWD_COMMAND}`; export r; \
48824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48825 TFLAGS="$(STAGE3_TFLAGS)"; \
48826 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48828 bootstrap-lean:
48829 echo stage3 > stage_final
48830 @r=`${PWD_COMMAND}`; export r; \
48831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48832 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
48833 @: $(MAKE); $(unstage)
48834 @r=`${PWD_COMMAND}`; export r; \
48835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48836 TFLAGS="$(STAGE3_TFLAGS)"; \
48837 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48840 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48841 distclean-stage2:: distclean-stage3
48842 .PHONY: distclean-stage3
48843 distclean-stage3::
48844 @: $(MAKE); $(stage)
48845 @test "`cat stage_last`" != stage3 || rm -f stage_last
48846 rm -rf stage3-* compare
48849 .PHONY: cleanstrap
48850 cleanstrap: do-distclean local-clean
48851 echo stage3 > stage_final
48852 @r=`${PWD_COMMAND}`; export r; \
48853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48854 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
48855 @: $(MAKE); $(unstage)
48856 @r=`${PWD_COMMAND}`; export r; \
48857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48858 TFLAGS="$(STAGE3_TFLAGS)"; \
48859 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48861 @endif gcc-bootstrap
48864 .PHONY: stage4-start stage4-end
48866 stage4-start::
48867 @: $(MAKE); $(stage); \
48868 echo stage4 > stage_current; \
48869 echo stage4 > stage_last; \
48870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48871 @if bfd
48872 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
48873 mkdir stage4-bfd; \
48874 mv stage4-bfd bfd; \
48875 mv stage3-bfd prev-bfd || test -f stage3-lean
48876 @endif bfd
48877 @if opcodes
48878 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
48879 mkdir stage4-opcodes; \
48880 mv stage4-opcodes opcodes; \
48881 mv stage3-opcodes prev-opcodes || test -f stage3-lean
48882 @endif opcodes
48883 @if binutils
48884 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
48885 mkdir stage4-binutils; \
48886 mv stage4-binutils binutils; \
48887 mv stage3-binutils prev-binutils || test -f stage3-lean
48888 @endif binutils
48889 @if fixincludes
48890 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
48891 mkdir stage4-fixincludes; \
48892 mv stage4-fixincludes fixincludes; \
48893 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
48894 @endif fixincludes
48895 @if gas
48896 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
48897 mkdir stage4-gas; \
48898 mv stage4-gas gas; \
48899 mv stage3-gas prev-gas || test -f stage3-lean
48900 @endif gas
48901 @if gcc
48902 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
48903 mkdir stage4-gcc; \
48904 mv stage4-gcc gcc; \
48905 mv stage3-gcc prev-gcc || test -f stage3-lean
48906 @endif gcc
48907 @if gmp
48908 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
48909 mkdir stage4-gmp; \
48910 mv stage4-gmp gmp; \
48911 mv stage3-gmp prev-gmp || test -f stage3-lean
48912 @endif gmp
48913 @if mpfr
48914 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
48915 mkdir stage4-mpfr; \
48916 mv stage4-mpfr mpfr; \
48917 mv stage3-mpfr prev-mpfr || test -f stage3-lean
48918 @endif mpfr
48919 @if mpc
48920 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
48921 mkdir stage4-mpc; \
48922 mv stage4-mpc mpc; \
48923 mv stage3-mpc prev-mpc || test -f stage3-lean
48924 @endif mpc
48925 @if isl
48926 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
48927 mkdir stage4-isl; \
48928 mv stage4-isl isl; \
48929 mv stage3-isl prev-isl || test -f stage3-lean
48930 @endif isl
48931 @if libelf
48932 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
48933 mkdir stage4-libelf; \
48934 mv stage4-libelf libelf; \
48935 mv stage3-libelf prev-libelf || test -f stage3-lean
48936 @endif libelf
48937 @if gold
48938 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
48939 mkdir stage4-gold; \
48940 mv stage4-gold gold; \
48941 mv stage3-gold prev-gold || test -f stage3-lean
48942 @endif gold
48943 @if intl
48944 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
48945 mkdir stage4-intl; \
48946 mv stage4-intl intl; \
48947 mv stage3-intl prev-intl || test -f stage3-lean
48948 @endif intl
48949 @if ld
48950 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
48951 mkdir stage4-ld; \
48952 mv stage4-ld ld; \
48953 mv stage3-ld prev-ld || test -f stage3-lean
48954 @endif ld
48955 @if libbacktrace
48956 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
48957 mkdir stage4-libbacktrace; \
48958 mv stage4-libbacktrace libbacktrace; \
48959 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
48960 @endif libbacktrace
48961 @if libcpp
48962 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
48963 mkdir stage4-libcpp; \
48964 mv stage4-libcpp libcpp; \
48965 mv stage3-libcpp prev-libcpp || test -f stage3-lean
48966 @endif libcpp
48967 @if libdecnumber
48968 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
48969 mkdir stage4-libdecnumber; \
48970 mv stage4-libdecnumber libdecnumber; \
48971 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
48972 @endif libdecnumber
48973 @if libiberty
48974 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
48975 mkdir stage4-libiberty; \
48976 mv stage4-libiberty libiberty; \
48977 mv stage3-libiberty prev-libiberty || test -f stage3-lean
48978 @endif libiberty
48979 @if libiberty-linker-plugin
48980 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
48981 mkdir stage4-libiberty-linker-plugin; \
48982 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
48983 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
48984 @endif libiberty-linker-plugin
48985 @if libiconv
48986 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
48987 mkdir stage4-libiconv; \
48988 mv stage4-libiconv libiconv; \
48989 mv stage3-libiconv prev-libiconv || test -f stage3-lean
48990 @endif libiconv
48991 @if zlib
48992 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
48993 mkdir stage4-zlib; \
48994 mv stage4-zlib zlib; \
48995 mv stage3-zlib prev-zlib || test -f stage3-lean
48996 @endif zlib
48997 @if lto-plugin
48998 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
48999 mkdir stage4-lto-plugin; \
49000 mv stage4-lto-plugin lto-plugin; \
49001 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
49002 @endif lto-plugin
49003 @[ -d stage4-$(TARGET_SUBDIR) ] || \
49004 mkdir stage4-$(TARGET_SUBDIR); \
49005 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
49006 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
49008 stage4-end::
49009 @if bfd
49010 @if test -d $(HOST_SUBDIR)/bfd; then \
49011 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
49012 mv prev-bfd stage3-bfd; : ; \
49014 @endif bfd
49015 @if opcodes
49016 @if test -d $(HOST_SUBDIR)/opcodes; then \
49017 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
49018 mv prev-opcodes stage3-opcodes; : ; \
49020 @endif opcodes
49021 @if binutils
49022 @if test -d $(HOST_SUBDIR)/binutils; then \
49023 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
49024 mv prev-binutils stage3-binutils; : ; \
49026 @endif binutils
49027 @if fixincludes
49028 @if test -d $(HOST_SUBDIR)/fixincludes; then \
49029 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
49030 mv prev-fixincludes stage3-fixincludes; : ; \
49032 @endif fixincludes
49033 @if gas
49034 @if test -d $(HOST_SUBDIR)/gas; then \
49035 cd $(HOST_SUBDIR); mv gas stage4-gas; \
49036 mv prev-gas stage3-gas; : ; \
49038 @endif gas
49039 @if gcc
49040 @if test -d $(HOST_SUBDIR)/gcc; then \
49041 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
49042 mv prev-gcc stage3-gcc; : ; \
49044 @endif gcc
49045 @if gmp
49046 @if test -d $(HOST_SUBDIR)/gmp; then \
49047 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
49048 mv prev-gmp stage3-gmp; : ; \
49050 @endif gmp
49051 @if mpfr
49052 @if test -d $(HOST_SUBDIR)/mpfr; then \
49053 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
49054 mv prev-mpfr stage3-mpfr; : ; \
49056 @endif mpfr
49057 @if mpc
49058 @if test -d $(HOST_SUBDIR)/mpc; then \
49059 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
49060 mv prev-mpc stage3-mpc; : ; \
49062 @endif mpc
49063 @if isl
49064 @if test -d $(HOST_SUBDIR)/isl; then \
49065 cd $(HOST_SUBDIR); mv isl stage4-isl; \
49066 mv prev-isl stage3-isl; : ; \
49068 @endif isl
49069 @if libelf
49070 @if test -d $(HOST_SUBDIR)/libelf; then \
49071 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
49072 mv prev-libelf stage3-libelf; : ; \
49074 @endif libelf
49075 @if gold
49076 @if test -d $(HOST_SUBDIR)/gold; then \
49077 cd $(HOST_SUBDIR); mv gold stage4-gold; \
49078 mv prev-gold stage3-gold; : ; \
49080 @endif gold
49081 @if intl
49082 @if test -d $(HOST_SUBDIR)/intl; then \
49083 cd $(HOST_SUBDIR); mv intl stage4-intl; \
49084 mv prev-intl stage3-intl; : ; \
49086 @endif intl
49087 @if ld
49088 @if test -d $(HOST_SUBDIR)/ld; then \
49089 cd $(HOST_SUBDIR); mv ld stage4-ld; \
49090 mv prev-ld stage3-ld; : ; \
49092 @endif ld
49093 @if libbacktrace
49094 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
49095 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
49096 mv prev-libbacktrace stage3-libbacktrace; : ; \
49098 @endif libbacktrace
49099 @if libcpp
49100 @if test -d $(HOST_SUBDIR)/libcpp; then \
49101 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
49102 mv prev-libcpp stage3-libcpp; : ; \
49104 @endif libcpp
49105 @if libdecnumber
49106 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
49107 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
49108 mv prev-libdecnumber stage3-libdecnumber; : ; \
49110 @endif libdecnumber
49111 @if libiberty
49112 @if test -d $(HOST_SUBDIR)/libiberty; then \
49113 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
49114 mv prev-libiberty stage3-libiberty; : ; \
49116 @endif libiberty
49117 @if libiberty-linker-plugin
49118 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
49119 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
49120 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
49122 @endif libiberty-linker-plugin
49123 @if libiconv
49124 @if test -d $(HOST_SUBDIR)/libiconv; then \
49125 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
49126 mv prev-libiconv stage3-libiconv; : ; \
49128 @endif libiconv
49129 @if zlib
49130 @if test -d $(HOST_SUBDIR)/zlib; then \
49131 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
49132 mv prev-zlib stage3-zlib; : ; \
49134 @endif zlib
49135 @if lto-plugin
49136 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
49137 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
49138 mv prev-lto-plugin stage3-lto-plugin; : ; \
49140 @endif lto-plugin
49141 @if test -d $(TARGET_SUBDIR); then \
49142 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
49143 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
49145 rm -f stage_current
49147 # Bubble a bug fix through all the stages up to stage 4. They are
49148 # remade, but not reconfigured. The next stage (if any) will not be
49149 # reconfigured either.
49150 .PHONY: stage4-bubble
49151 stage4-bubble:: stage3-bubble
49152 @r=`${PWD_COMMAND}`; export r; \
49153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49154 if test -f stage4-lean || test -f stage3-lean ; then \
49155 echo Skipping rebuild of stage4; \
49156 else \
49157 $(MAKE) stage4-start; \
49158 if $(LEAN); then \
49159 rm -rf stage2-*; \
49160 $(STAMP) stage2-lean; \
49161 fi; \
49162 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
49164 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
49166 .PHONY: all-stage4 clean-stage4
49167 do-clean: clean-stage4
49169 # FIXME: Will not need to be conditional when toplevel bootstrap is the
49170 # only possibility, but now it conflicts with no-bootstrap rules
49171 @if gcc-bootstrap
49173 compare3:
49174 @r=`${PWD_COMMAND}`; export r; \
49175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49176 if test -f stage3-lean; then \
49177 echo Cannot compare object files as stage 3 was deleted.; \
49178 exit 0; \
49179 fi; \
49180 : $(MAKE); $(stage); \
49181 rm -f .bad_compare; \
49182 echo Comparing stages 3 and 4; \
49183 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
49184 files=`find stage4-* -name "*$(objext)" -print | \
49185 sed -n s,^stage$$sed-,,p`; \
49186 for file in $${files}; do \
49187 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
49188 if test ! -f $$f1; then continue; fi; \
49189 $(do-compare3) > /dev/null 2>&1; \
49190 if test $$? -eq 1; then \
49191 case $$file in \
49192 @compare_exclusions@) \
49193 echo warning: $$file differs ;; \
49194 *) \
49195 echo $$file differs >> .bad_compare ;; \
49196 esac; \
49197 fi; \
49198 done; \
49199 if [ -f .bad_compare ]; then \
49200 echo "Bootstrap comparison failure!"; \
49201 cat .bad_compare; \
49202 exit 1; \
49203 else \
49204 echo Comparison successful.; \
49205 fi; \
49206 $(STAMP) compare3
49207 if $(LEAN); then \
49208 rm -rf stage3-*; \
49209 $(STAMP) stage3-lean; \
49214 .PHONY: bootstrap4 bootstrap4-lean
49215 bootstrap4:
49216 echo stage4 > stage_final
49217 @r=`${PWD_COMMAND}`; export r; \
49218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49219 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
49220 @: $(MAKE); $(unstage)
49221 @r=`${PWD_COMMAND}`; export r; \
49222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49223 TFLAGS="$(STAGE4_TFLAGS)"; \
49224 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49226 bootstrap4-lean:
49227 echo stage4 > stage_final
49228 @r=`${PWD_COMMAND}`; export r; \
49229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49230 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
49231 @: $(MAKE); $(unstage)
49232 @r=`${PWD_COMMAND}`; export r; \
49233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49234 TFLAGS="$(STAGE4_TFLAGS)"; \
49235 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49238 # Rules to wipe a stage and all the following ones, also used for cleanstrap
49239 distclean-stage3:: distclean-stage4
49240 .PHONY: distclean-stage4
49241 distclean-stage4::
49242 @: $(MAKE); $(stage)
49243 @test "`cat stage_last`" != stage4 || rm -f stage_last
49244 rm -rf stage4-* compare3
49247 @endif gcc-bootstrap
49250 .PHONY: stageprofile-start stageprofile-end
49252 stageprofile-start::
49253 @: $(MAKE); $(stage); \
49254 echo stageprofile > stage_current; \
49255 echo stageprofile > stage_last; \
49256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
49257 @if bfd
49258 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
49259 mkdir stageprofile-bfd; \
49260 mv stageprofile-bfd bfd; \
49261 mv stage1-bfd prev-bfd || test -f stage1-lean
49262 @endif bfd
49263 @if opcodes
49264 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
49265 mkdir stageprofile-opcodes; \
49266 mv stageprofile-opcodes opcodes; \
49267 mv stage1-opcodes prev-opcodes || test -f stage1-lean
49268 @endif opcodes
49269 @if binutils
49270 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
49271 mkdir stageprofile-binutils; \
49272 mv stageprofile-binutils binutils; \
49273 mv stage1-binutils prev-binutils || test -f stage1-lean
49274 @endif binutils
49275 @if fixincludes
49276 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
49277 mkdir stageprofile-fixincludes; \
49278 mv stageprofile-fixincludes fixincludes; \
49279 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
49280 @endif fixincludes
49281 @if gas
49282 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
49283 mkdir stageprofile-gas; \
49284 mv stageprofile-gas gas; \
49285 mv stage1-gas prev-gas || test -f stage1-lean
49286 @endif gas
49287 @if gcc
49288 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
49289 mkdir stageprofile-gcc; \
49290 mv stageprofile-gcc gcc; \
49291 mv stage1-gcc prev-gcc || test -f stage1-lean
49292 @endif gcc
49293 @if gmp
49294 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
49295 mkdir stageprofile-gmp; \
49296 mv stageprofile-gmp gmp; \
49297 mv stage1-gmp prev-gmp || test -f stage1-lean
49298 @endif gmp
49299 @if mpfr
49300 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
49301 mkdir stageprofile-mpfr; \
49302 mv stageprofile-mpfr mpfr; \
49303 mv stage1-mpfr prev-mpfr || test -f stage1-lean
49304 @endif mpfr
49305 @if mpc
49306 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
49307 mkdir stageprofile-mpc; \
49308 mv stageprofile-mpc mpc; \
49309 mv stage1-mpc prev-mpc || test -f stage1-lean
49310 @endif mpc
49311 @if isl
49312 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
49313 mkdir stageprofile-isl; \
49314 mv stageprofile-isl isl; \
49315 mv stage1-isl prev-isl || test -f stage1-lean
49316 @endif isl
49317 @if libelf
49318 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
49319 mkdir stageprofile-libelf; \
49320 mv stageprofile-libelf libelf; \
49321 mv stage1-libelf prev-libelf || test -f stage1-lean
49322 @endif libelf
49323 @if gold
49324 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
49325 mkdir stageprofile-gold; \
49326 mv stageprofile-gold gold; \
49327 mv stage1-gold prev-gold || test -f stage1-lean
49328 @endif gold
49329 @if intl
49330 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
49331 mkdir stageprofile-intl; \
49332 mv stageprofile-intl intl; \
49333 mv stage1-intl prev-intl || test -f stage1-lean
49334 @endif intl
49335 @if ld
49336 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
49337 mkdir stageprofile-ld; \
49338 mv stageprofile-ld ld; \
49339 mv stage1-ld prev-ld || test -f stage1-lean
49340 @endif ld
49341 @if libbacktrace
49342 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
49343 mkdir stageprofile-libbacktrace; \
49344 mv stageprofile-libbacktrace libbacktrace; \
49345 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
49346 @endif libbacktrace
49347 @if libcpp
49348 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
49349 mkdir stageprofile-libcpp; \
49350 mv stageprofile-libcpp libcpp; \
49351 mv stage1-libcpp prev-libcpp || test -f stage1-lean
49352 @endif libcpp
49353 @if libdecnumber
49354 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
49355 mkdir stageprofile-libdecnumber; \
49356 mv stageprofile-libdecnumber libdecnumber; \
49357 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
49358 @endif libdecnumber
49359 @if libiberty
49360 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
49361 mkdir stageprofile-libiberty; \
49362 mv stageprofile-libiberty libiberty; \
49363 mv stage1-libiberty prev-libiberty || test -f stage1-lean
49364 @endif libiberty
49365 @if libiberty-linker-plugin
49366 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
49367 mkdir stageprofile-libiberty-linker-plugin; \
49368 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
49369 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
49370 @endif libiberty-linker-plugin
49371 @if libiconv
49372 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
49373 mkdir stageprofile-libiconv; \
49374 mv stageprofile-libiconv libiconv; \
49375 mv stage1-libiconv prev-libiconv || test -f stage1-lean
49376 @endif libiconv
49377 @if zlib
49378 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
49379 mkdir stageprofile-zlib; \
49380 mv stageprofile-zlib zlib; \
49381 mv stage1-zlib prev-zlib || test -f stage1-lean
49382 @endif zlib
49383 @if lto-plugin
49384 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
49385 mkdir stageprofile-lto-plugin; \
49386 mv stageprofile-lto-plugin lto-plugin; \
49387 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
49388 @endif lto-plugin
49389 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
49390 mkdir stageprofile-$(TARGET_SUBDIR); \
49391 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
49392 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
49394 stageprofile-end::
49395 @if bfd
49396 @if test -d $(HOST_SUBDIR)/bfd; then \
49397 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
49398 mv prev-bfd stage1-bfd; : ; \
49400 @endif bfd
49401 @if opcodes
49402 @if test -d $(HOST_SUBDIR)/opcodes; then \
49403 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
49404 mv prev-opcodes stage1-opcodes; : ; \
49406 @endif opcodes
49407 @if binutils
49408 @if test -d $(HOST_SUBDIR)/binutils; then \
49409 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
49410 mv prev-binutils stage1-binutils; : ; \
49412 @endif binutils
49413 @if fixincludes
49414 @if test -d $(HOST_SUBDIR)/fixincludes; then \
49415 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
49416 mv prev-fixincludes stage1-fixincludes; : ; \
49418 @endif fixincludes
49419 @if gas
49420 @if test -d $(HOST_SUBDIR)/gas; then \
49421 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
49422 mv prev-gas stage1-gas; : ; \
49424 @endif gas
49425 @if gcc
49426 @if test -d $(HOST_SUBDIR)/gcc; then \
49427 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
49428 mv prev-gcc stage1-gcc; : ; \
49430 @endif gcc
49431 @if gmp
49432 @if test -d $(HOST_SUBDIR)/gmp; then \
49433 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
49434 mv prev-gmp stage1-gmp; : ; \
49436 @endif gmp
49437 @if mpfr
49438 @if test -d $(HOST_SUBDIR)/mpfr; then \
49439 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
49440 mv prev-mpfr stage1-mpfr; : ; \
49442 @endif mpfr
49443 @if mpc
49444 @if test -d $(HOST_SUBDIR)/mpc; then \
49445 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
49446 mv prev-mpc stage1-mpc; : ; \
49448 @endif mpc
49449 @if isl
49450 @if test -d $(HOST_SUBDIR)/isl; then \
49451 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
49452 mv prev-isl stage1-isl; : ; \
49454 @endif isl
49455 @if libelf
49456 @if test -d $(HOST_SUBDIR)/libelf; then \
49457 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
49458 mv prev-libelf stage1-libelf; : ; \
49460 @endif libelf
49461 @if gold
49462 @if test -d $(HOST_SUBDIR)/gold; then \
49463 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
49464 mv prev-gold stage1-gold; : ; \
49466 @endif gold
49467 @if intl
49468 @if test -d $(HOST_SUBDIR)/intl; then \
49469 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
49470 mv prev-intl stage1-intl; : ; \
49472 @endif intl
49473 @if ld
49474 @if test -d $(HOST_SUBDIR)/ld; then \
49475 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
49476 mv prev-ld stage1-ld; : ; \
49478 @endif ld
49479 @if libbacktrace
49480 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
49481 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
49482 mv prev-libbacktrace stage1-libbacktrace; : ; \
49484 @endif libbacktrace
49485 @if libcpp
49486 @if test -d $(HOST_SUBDIR)/libcpp; then \
49487 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
49488 mv prev-libcpp stage1-libcpp; : ; \
49490 @endif libcpp
49491 @if libdecnumber
49492 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
49493 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
49494 mv prev-libdecnumber stage1-libdecnumber; : ; \
49496 @endif libdecnumber
49497 @if libiberty
49498 @if test -d $(HOST_SUBDIR)/libiberty; then \
49499 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
49500 mv prev-libiberty stage1-libiberty; : ; \
49502 @endif libiberty
49503 @if libiberty-linker-plugin
49504 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
49505 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
49506 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
49508 @endif libiberty-linker-plugin
49509 @if libiconv
49510 @if test -d $(HOST_SUBDIR)/libiconv; then \
49511 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
49512 mv prev-libiconv stage1-libiconv; : ; \
49514 @endif libiconv
49515 @if zlib
49516 @if test -d $(HOST_SUBDIR)/zlib; then \
49517 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
49518 mv prev-zlib stage1-zlib; : ; \
49520 @endif zlib
49521 @if lto-plugin
49522 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
49523 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
49524 mv prev-lto-plugin stage1-lto-plugin; : ; \
49526 @endif lto-plugin
49527 @if test -d $(TARGET_SUBDIR); then \
49528 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
49529 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
49531 rm -f stage_current
49533 # Bubble a bug fix through all the stages up to stage profile. They are
49534 # remade, but not reconfigured. The next stage (if any) will not be
49535 # reconfigured either.
49536 .PHONY: stageprofile-bubble
49537 stageprofile-bubble:: stage1-bubble
49538 @r=`${PWD_COMMAND}`; export r; \
49539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49540 if test -f stageprofile-lean || test -f stage1-lean ; then \
49541 echo Skipping rebuild of stageprofile; \
49542 else \
49543 $(MAKE) stageprofile-start; \
49544 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
49547 .PHONY: all-stageprofile clean-stageprofile
49548 do-clean: clean-stageprofile
49550 # FIXME: Will not need to be conditional when toplevel bootstrap is the
49551 # only possibility, but now it conflicts with no-bootstrap rules
49552 @if gcc-bootstrap
49557 # Rules to wipe a stage and all the following ones, also used for cleanstrap
49558 distclean-stage1:: distclean-stageprofile
49559 .PHONY: distclean-stageprofile
49560 distclean-stageprofile::
49561 @: $(MAKE); $(stage)
49562 @test "`cat stage_last`" != stageprofile || rm -f stage_last
49563 rm -rf stageprofile-*
49566 @endif gcc-bootstrap
49569 .PHONY: stagefeedback-start stagefeedback-end
49571 stagefeedback-start::
49572 @: $(MAKE); $(stage); \
49573 echo stagefeedback > stage_current; \
49574 echo stagefeedback > stage_last; \
49575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
49576 @if bfd
49577 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
49578 mkdir stagefeedback-bfd; \
49579 mv stagefeedback-bfd bfd; \
49580 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
49581 @endif bfd
49582 @if opcodes
49583 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
49584 mkdir stagefeedback-opcodes; \
49585 mv stagefeedback-opcodes opcodes; \
49586 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
49587 @endif opcodes
49588 @if binutils
49589 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
49590 mkdir stagefeedback-binutils; \
49591 mv stagefeedback-binutils binutils; \
49592 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
49593 @endif binutils
49594 @if fixincludes
49595 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
49596 mkdir stagefeedback-fixincludes; \
49597 mv stagefeedback-fixincludes fixincludes; \
49598 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
49599 @endif fixincludes
49600 @if gas
49601 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
49602 mkdir stagefeedback-gas; \
49603 mv stagefeedback-gas gas; \
49604 mv stageprofile-gas prev-gas || test -f stageprofile-lean
49605 @endif gas
49606 @if gcc
49607 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
49608 mkdir stagefeedback-gcc; \
49609 mv stagefeedback-gcc gcc; \
49610 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
49611 @endif gcc
49612 @if gmp
49613 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
49614 mkdir stagefeedback-gmp; \
49615 mv stagefeedback-gmp gmp; \
49616 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
49617 @endif gmp
49618 @if mpfr
49619 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
49620 mkdir stagefeedback-mpfr; \
49621 mv stagefeedback-mpfr mpfr; \
49622 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
49623 @endif mpfr
49624 @if mpc
49625 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
49626 mkdir stagefeedback-mpc; \
49627 mv stagefeedback-mpc mpc; \
49628 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
49629 @endif mpc
49630 @if isl
49631 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
49632 mkdir stagefeedback-isl; \
49633 mv stagefeedback-isl isl; \
49634 mv stageprofile-isl prev-isl || test -f stageprofile-lean
49635 @endif isl
49636 @if libelf
49637 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
49638 mkdir stagefeedback-libelf; \
49639 mv stagefeedback-libelf libelf; \
49640 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
49641 @endif libelf
49642 @if gold
49643 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
49644 mkdir stagefeedback-gold; \
49645 mv stagefeedback-gold gold; \
49646 mv stageprofile-gold prev-gold || test -f stageprofile-lean
49647 @endif gold
49648 @if intl
49649 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
49650 mkdir stagefeedback-intl; \
49651 mv stagefeedback-intl intl; \
49652 mv stageprofile-intl prev-intl || test -f stageprofile-lean
49653 @endif intl
49654 @if ld
49655 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
49656 mkdir stagefeedback-ld; \
49657 mv stagefeedback-ld ld; \
49658 mv stageprofile-ld prev-ld || test -f stageprofile-lean
49659 @endif ld
49660 @if libbacktrace
49661 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
49662 mkdir stagefeedback-libbacktrace; \
49663 mv stagefeedback-libbacktrace libbacktrace; \
49664 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
49665 @endif libbacktrace
49666 @if libcpp
49667 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
49668 mkdir stagefeedback-libcpp; \
49669 mv stagefeedback-libcpp libcpp; \
49670 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
49671 @endif libcpp
49672 @if libdecnumber
49673 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
49674 mkdir stagefeedback-libdecnumber; \
49675 mv stagefeedback-libdecnumber libdecnumber; \
49676 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
49677 @endif libdecnumber
49678 @if libiberty
49679 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
49680 mkdir stagefeedback-libiberty; \
49681 mv stagefeedback-libiberty libiberty; \
49682 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
49683 @endif libiberty
49684 @if libiberty-linker-plugin
49685 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
49686 mkdir stagefeedback-libiberty-linker-plugin; \
49687 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
49688 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
49689 @endif libiberty-linker-plugin
49690 @if libiconv
49691 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
49692 mkdir stagefeedback-libiconv; \
49693 mv stagefeedback-libiconv libiconv; \
49694 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
49695 @endif libiconv
49696 @if zlib
49697 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
49698 mkdir stagefeedback-zlib; \
49699 mv stagefeedback-zlib zlib; \
49700 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
49701 @endif zlib
49702 @if lto-plugin
49703 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
49704 mkdir stagefeedback-lto-plugin; \
49705 mv stagefeedback-lto-plugin lto-plugin; \
49706 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
49707 @endif lto-plugin
49708 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
49709 mkdir stagefeedback-$(TARGET_SUBDIR); \
49710 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
49711 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
49713 stagefeedback-end::
49714 @if bfd
49715 @if test -d $(HOST_SUBDIR)/bfd; then \
49716 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
49717 mv prev-bfd stageprofile-bfd; : ; \
49719 @endif bfd
49720 @if opcodes
49721 @if test -d $(HOST_SUBDIR)/opcodes; then \
49722 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
49723 mv prev-opcodes stageprofile-opcodes; : ; \
49725 @endif opcodes
49726 @if binutils
49727 @if test -d $(HOST_SUBDIR)/binutils; then \
49728 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
49729 mv prev-binutils stageprofile-binutils; : ; \
49731 @endif binutils
49732 @if fixincludes
49733 @if test -d $(HOST_SUBDIR)/fixincludes; then \
49734 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
49735 mv prev-fixincludes stageprofile-fixincludes; : ; \
49737 @endif fixincludes
49738 @if gas
49739 @if test -d $(HOST_SUBDIR)/gas; then \
49740 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
49741 mv prev-gas stageprofile-gas; : ; \
49743 @endif gas
49744 @if gcc
49745 @if test -d $(HOST_SUBDIR)/gcc; then \
49746 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
49747 mv prev-gcc stageprofile-gcc; : ; \
49749 @endif gcc
49750 @if gmp
49751 @if test -d $(HOST_SUBDIR)/gmp; then \
49752 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
49753 mv prev-gmp stageprofile-gmp; : ; \
49755 @endif gmp
49756 @if mpfr
49757 @if test -d $(HOST_SUBDIR)/mpfr; then \
49758 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
49759 mv prev-mpfr stageprofile-mpfr; : ; \
49761 @endif mpfr
49762 @if mpc
49763 @if test -d $(HOST_SUBDIR)/mpc; then \
49764 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
49765 mv prev-mpc stageprofile-mpc; : ; \
49767 @endif mpc
49768 @if isl
49769 @if test -d $(HOST_SUBDIR)/isl; then \
49770 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
49771 mv prev-isl stageprofile-isl; : ; \
49773 @endif isl
49774 @if libelf
49775 @if test -d $(HOST_SUBDIR)/libelf; then \
49776 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
49777 mv prev-libelf stageprofile-libelf; : ; \
49779 @endif libelf
49780 @if gold
49781 @if test -d $(HOST_SUBDIR)/gold; then \
49782 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
49783 mv prev-gold stageprofile-gold; : ; \
49785 @endif gold
49786 @if intl
49787 @if test -d $(HOST_SUBDIR)/intl; then \
49788 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
49789 mv prev-intl stageprofile-intl; : ; \
49791 @endif intl
49792 @if ld
49793 @if test -d $(HOST_SUBDIR)/ld; then \
49794 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
49795 mv prev-ld stageprofile-ld; : ; \
49797 @endif ld
49798 @if libbacktrace
49799 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
49800 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
49801 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
49803 @endif libbacktrace
49804 @if libcpp
49805 @if test -d $(HOST_SUBDIR)/libcpp; then \
49806 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
49807 mv prev-libcpp stageprofile-libcpp; : ; \
49809 @endif libcpp
49810 @if libdecnumber
49811 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
49812 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
49813 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
49815 @endif libdecnumber
49816 @if libiberty
49817 @if test -d $(HOST_SUBDIR)/libiberty; then \
49818 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
49819 mv prev-libiberty stageprofile-libiberty; : ; \
49821 @endif libiberty
49822 @if libiberty-linker-plugin
49823 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
49824 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
49825 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
49827 @endif libiberty-linker-plugin
49828 @if libiconv
49829 @if test -d $(HOST_SUBDIR)/libiconv; then \
49830 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
49831 mv prev-libiconv stageprofile-libiconv; : ; \
49833 @endif libiconv
49834 @if zlib
49835 @if test -d $(HOST_SUBDIR)/zlib; then \
49836 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
49837 mv prev-zlib stageprofile-zlib; : ; \
49839 @endif zlib
49840 @if lto-plugin
49841 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
49842 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
49843 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
49845 @endif lto-plugin
49846 @if test -d $(TARGET_SUBDIR); then \
49847 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
49848 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
49850 rm -f stage_current
49852 # Bubble a bug fix through all the stages up to stage feedback. They are
49853 # remade, but not reconfigured. The next stage (if any) will not be
49854 # reconfigured either.
49855 .PHONY: stagefeedback-bubble
49856 stagefeedback-bubble:: stageprofile-bubble
49857 @r=`${PWD_COMMAND}`; export r; \
49858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49859 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
49860 echo Skipping rebuild of stagefeedback; \
49861 else \
49862 $(MAKE) stagefeedback-start; \
49863 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
49866 .PHONY: all-stagefeedback clean-stagefeedback
49867 do-clean: clean-stagefeedback
49869 # FIXME: Will not need to be conditional when toplevel bootstrap is the
49870 # only possibility, but now it conflicts with no-bootstrap rules
49871 @if gcc-bootstrap
49875 .PHONY: profiledbootstrap profiledbootstrap-lean
49876 profiledbootstrap:
49877 echo stagefeedback > stage_final
49878 @r=`${PWD_COMMAND}`; export r; \
49879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49880 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
49881 @: $(MAKE); $(unstage)
49882 @r=`${PWD_COMMAND}`; export r; \
49883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49884 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49885 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49887 profiledbootstrap-lean:
49888 echo stagefeedback > stage_final
49889 @r=`${PWD_COMMAND}`; export r; \
49890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49891 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
49892 @: $(MAKE); $(unstage)
49893 @r=`${PWD_COMMAND}`; export r; \
49894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49895 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49896 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49899 # Rules to wipe a stage and all the following ones, also used for cleanstrap
49900 distclean-stageprofile:: distclean-stagefeedback
49901 .PHONY: distclean-stagefeedback
49902 distclean-stagefeedback::
49903 @: $(MAKE); $(stage)
49904 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
49905 rm -rf stagefeedback-*
49908 @endif gcc-bootstrap
49912 stageprofile-end::
49913 $(MAKE) distclean-stagefeedback
49915 stagefeedback-start::
49916 @r=`${PWD_COMMAND}`; export r; \
49917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49918 for i in prev-*; do \
49919 j=`echo $$i | sed s/^prev-//`; \
49920 cd $$r/$$i && \
49921 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
49922 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
49923 done
49925 @if gcc-bootstrap
49926 do-distclean: distclean-stage1
49928 # Provide a GCC build when we're building target libraries. This does
49929 # not work as a dependency, just as the minimum necessary to avoid errors.
49930 stage_last:
49931 @r=`${PWD_COMMAND}`; export r; \
49932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49933 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
49935 # Same as unstage, but not phony and defaulting to stage1-start. We place
49936 # it in the dependency so that for example `make -j3 all-gcc' works.
49937 stage_current:
49938 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
49940 .PHONY: restrap
49941 restrap::
49942 @: $(MAKE); $(stage)
49943 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
49944 restrap:: all
49945 @endif gcc-bootstrap
49947 # --------------------------------------
49948 # Dependencies between different modules
49949 # --------------------------------------
49951 # Generic dependencies for target modules on host stuff, especially gcc
49952 @if gcc-bootstrap
49953 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
49954 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
49955 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
49956 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
49957 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
49958 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
49959 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
49960 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
49961 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
49962 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
49963 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
49964 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
49965 configure-stage1-target-libmpx: maybe-all-stage1-gcc
49966 configure-stage2-target-libmpx: maybe-all-stage2-gcc
49967 configure-stage3-target-libmpx: maybe-all-stage3-gcc
49968 configure-stage4-target-libmpx: maybe-all-stage4-gcc
49969 configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
49970 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
49971 configure-stage1-target-libvtv: maybe-all-stage1-gcc
49972 configure-stage2-target-libvtv: maybe-all-stage2-gcc
49973 configure-stage3-target-libvtv: maybe-all-stage3-gcc
49974 configure-stage4-target-libvtv: maybe-all-stage4-gcc
49975 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
49976 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
49977 configure-target-libcilkrts: stage_last
49978 configure-target-liboffloadmic: stage_last
49979 configure-target-libssp: stage_last
49980 configure-target-newlib: stage_last
49981 configure-stage1-target-libgcc: maybe-all-stage1-gcc
49982 configure-stage2-target-libgcc: maybe-all-stage2-gcc
49983 configure-stage3-target-libgcc: maybe-all-stage3-gcc
49984 configure-stage4-target-libgcc: maybe-all-stage4-gcc
49985 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
49986 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
49987 configure-target-libbacktrace: stage_last
49988 configure-target-libquadmath: stage_last
49989 configure-target-libgfortran: stage_last
49990 configure-target-libobjc: stage_last
49991 configure-target-libgo: stage_last
49992 configure-target-libtermcap: stage_last
49993 configure-target-winsup: stage_last
49994 configure-target-libgloss: stage_last
49995 configure-target-libffi: stage_last
49996 configure-target-libjava: stage_last
49997 configure-target-zlib: stage_last
49998 configure-target-boehm-gc: stage_last
49999 configure-target-rda: stage_last
50000 configure-target-libada: stage_last
50001 configure-stage1-target-libgomp: maybe-all-stage1-gcc
50002 configure-stage2-target-libgomp: maybe-all-stage2-gcc
50003 configure-stage3-target-libgomp: maybe-all-stage3-gcc
50004 configure-stage4-target-libgomp: maybe-all-stage4-gcc
50005 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
50006 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
50007 configure-target-libitm: stage_last
50008 configure-target-libatomic: stage_last
50009 @endif gcc-bootstrap
50011 @if gcc-no-bootstrap
50012 configure-target-libstdc++-v3: maybe-all-gcc
50013 configure-target-libsanitizer: maybe-all-gcc
50014 configure-target-libmpx: maybe-all-gcc
50015 configure-target-libvtv: maybe-all-gcc
50016 configure-target-libcilkrts: maybe-all-gcc
50017 configure-target-liboffloadmic: maybe-all-gcc
50018 configure-target-libssp: maybe-all-gcc
50019 configure-target-newlib: maybe-all-gcc
50020 configure-target-libgcc: maybe-all-gcc
50021 configure-target-libbacktrace: maybe-all-gcc
50022 configure-target-libquadmath: maybe-all-gcc
50023 configure-target-libgfortran: maybe-all-gcc
50024 configure-target-libobjc: maybe-all-gcc
50025 configure-target-libgo: maybe-all-gcc
50026 configure-target-libtermcap: maybe-all-gcc
50027 configure-target-winsup: maybe-all-gcc
50028 configure-target-libgloss: maybe-all-gcc
50029 configure-target-libffi: maybe-all-gcc
50030 configure-target-libjava: maybe-all-gcc
50031 configure-target-zlib: maybe-all-gcc
50032 configure-target-boehm-gc: maybe-all-gcc
50033 configure-target-rda: maybe-all-gcc
50034 configure-target-libada: maybe-all-gcc
50035 configure-target-libgomp: maybe-all-gcc
50036 configure-target-libitm: maybe-all-gcc
50037 configure-target-libatomic: maybe-all-gcc
50038 @endif gcc-no-bootstrap
50041 # There are two types of dependencies here: 'hard' dependencies, where one
50042 # module simply won't build without the other; and 'soft' dependencies, where
50043 # if the depended-on module is missing, the depending module will do without
50044 # or find a substitute somewhere (perhaps installed). Soft dependencies
50045 # are made here to depend on a 'maybe-' target. If you're not sure,
50046 # it's safer to use a soft dependency.
50053 # With all the machinery above in place, it is pretty easy to generate
50054 # dependencies. Host dependencies are a bit more complex because we have
50055 # to check for bootstrap/prebootstrap dependencies. To resolve
50056 # prebootstrap dependencies, prebootstrap modules are gathered in
50057 # a hash table.
50058 all-build-bison: maybe-all-build-texinfo
50059 all-build-flex: maybe-all-build-texinfo
50060 all-build-flex: maybe-all-build-bison
50061 all-build-flex: maybe-all-build-m4
50062 all-build-libiberty: maybe-all-build-texinfo
50063 all-build-m4: maybe-all-build-texinfo
50064 all-build-fixincludes: maybe-all-build-libiberty
50065 all-build-libcpp: maybe-all-build-libiberty
50066 configure-gcc: maybe-configure-intl
50068 configure-stage1-gcc: maybe-configure-stage1-intl
50069 configure-stage2-gcc: maybe-configure-stage2-intl
50070 configure-stage3-gcc: maybe-configure-stage3-intl
50071 configure-stage4-gcc: maybe-configure-stage4-intl
50072 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
50073 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
50074 configure-gcc: maybe-all-gmp
50076 configure-stage1-gcc: maybe-all-stage1-gmp
50077 configure-stage2-gcc: maybe-all-stage2-gmp
50078 configure-stage3-gcc: maybe-all-stage3-gmp
50079 configure-stage4-gcc: maybe-all-stage4-gmp
50080 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
50081 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
50082 configure-gcc: maybe-all-mpfr
50084 configure-stage1-gcc: maybe-all-stage1-mpfr
50085 configure-stage2-gcc: maybe-all-stage2-mpfr
50086 configure-stage3-gcc: maybe-all-stage3-mpfr
50087 configure-stage4-gcc: maybe-all-stage4-mpfr
50088 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
50089 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
50090 configure-gcc: maybe-all-mpc
50092 configure-stage1-gcc: maybe-all-stage1-mpc
50093 configure-stage2-gcc: maybe-all-stage2-mpc
50094 configure-stage3-gcc: maybe-all-stage3-mpc
50095 configure-stage4-gcc: maybe-all-stage4-mpc
50096 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
50097 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
50098 configure-gcc: maybe-all-isl
50100 configure-stage1-gcc: maybe-all-stage1-isl
50101 configure-stage2-gcc: maybe-all-stage2-isl
50102 configure-stage3-gcc: maybe-all-stage3-isl
50103 configure-stage4-gcc: maybe-all-stage4-isl
50104 configure-stageprofile-gcc: maybe-all-stageprofile-isl
50105 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
50106 configure-gcc: maybe-all-lto-plugin
50108 configure-stage1-gcc: maybe-all-stage1-lto-plugin
50109 configure-stage2-gcc: maybe-all-stage2-lto-plugin
50110 configure-stage3-gcc: maybe-all-stage3-lto-plugin
50111 configure-stage4-gcc: maybe-all-stage4-lto-plugin
50112 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
50113 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
50114 configure-gcc: maybe-all-binutils
50116 configure-stage1-gcc: maybe-all-stage1-binutils
50117 configure-stage2-gcc: maybe-all-stage2-binutils
50118 configure-stage3-gcc: maybe-all-stage3-binutils
50119 configure-stage4-gcc: maybe-all-stage4-binutils
50120 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
50121 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
50122 configure-gcc: maybe-all-gas
50124 configure-stage1-gcc: maybe-all-stage1-gas
50125 configure-stage2-gcc: maybe-all-stage2-gas
50126 configure-stage3-gcc: maybe-all-stage3-gas
50127 configure-stage4-gcc: maybe-all-stage4-gas
50128 configure-stageprofile-gcc: maybe-all-stageprofile-gas
50129 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
50130 configure-gcc: maybe-all-ld
50132 configure-stage1-gcc: maybe-all-stage1-ld
50133 configure-stage2-gcc: maybe-all-stage2-ld
50134 configure-stage3-gcc: maybe-all-stage3-ld
50135 configure-stage4-gcc: maybe-all-stage4-ld
50136 configure-stageprofile-gcc: maybe-all-stageprofile-ld
50137 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
50138 configure-gcc: maybe-all-gold
50140 configure-stage1-gcc: maybe-all-stage1-gold
50141 configure-stage2-gcc: maybe-all-stage2-gold
50142 configure-stage3-gcc: maybe-all-stage3-gold
50143 configure-stage4-gcc: maybe-all-stage4-gold
50144 configure-stageprofile-gcc: maybe-all-stageprofile-gold
50145 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
50146 configure-gcc: maybe-all-libelf
50148 configure-stage1-gcc: maybe-all-stage1-libelf
50149 configure-stage2-gcc: maybe-all-stage2-libelf
50150 configure-stage3-gcc: maybe-all-stage3-libelf
50151 configure-stage4-gcc: maybe-all-stage4-libelf
50152 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
50153 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
50154 configure-gcc: maybe-all-libiconv
50156 configure-stage1-gcc: maybe-all-stage1-libiconv
50157 configure-stage2-gcc: maybe-all-stage2-libiconv
50158 configure-stage3-gcc: maybe-all-stage3-libiconv
50159 configure-stage4-gcc: maybe-all-stage4-libiconv
50160 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
50161 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
50162 all-gcc: all-libiberty
50164 all-stage1-gcc: all-stage1-libiberty
50165 all-stage2-gcc: all-stage2-libiberty
50166 all-stage3-gcc: all-stage3-libiberty
50167 all-stage4-gcc: all-stage4-libiberty
50168 all-stageprofile-gcc: all-stageprofile-libiberty
50169 all-stagefeedback-gcc: all-stagefeedback-libiberty
50170 all-gcc: maybe-all-intl
50172 all-stage1-gcc: maybe-all-stage1-intl
50173 all-stage2-gcc: maybe-all-stage2-intl
50174 all-stage3-gcc: maybe-all-stage3-intl
50175 all-stage4-gcc: maybe-all-stage4-intl
50176 all-stageprofile-gcc: maybe-all-stageprofile-intl
50177 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
50178 all-gcc: maybe-all-mpfr
50180 all-stage1-gcc: maybe-all-stage1-mpfr
50181 all-stage2-gcc: maybe-all-stage2-mpfr
50182 all-stage3-gcc: maybe-all-stage3-mpfr
50183 all-stage4-gcc: maybe-all-stage4-mpfr
50184 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
50185 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
50186 all-gcc: maybe-all-mpc
50188 all-stage1-gcc: maybe-all-stage1-mpc
50189 all-stage2-gcc: maybe-all-stage2-mpc
50190 all-stage3-gcc: maybe-all-stage3-mpc
50191 all-stage4-gcc: maybe-all-stage4-mpc
50192 all-stageprofile-gcc: maybe-all-stageprofile-mpc
50193 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
50194 all-gcc: maybe-all-isl
50196 all-stage1-gcc: maybe-all-stage1-isl
50197 all-stage2-gcc: maybe-all-stage2-isl
50198 all-stage3-gcc: maybe-all-stage3-isl
50199 all-stage4-gcc: maybe-all-stage4-isl
50200 all-stageprofile-gcc: maybe-all-stageprofile-isl
50201 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
50202 all-gcc: maybe-all-build-texinfo
50204 all-stage1-gcc: maybe-all-build-texinfo
50205 all-stage2-gcc: maybe-all-build-texinfo
50206 all-stage3-gcc: maybe-all-build-texinfo
50207 all-stage4-gcc: maybe-all-build-texinfo
50208 all-stageprofile-gcc: maybe-all-build-texinfo
50209 all-stagefeedback-gcc: maybe-all-build-texinfo
50210 all-gcc: maybe-all-build-bison
50212 all-stage1-gcc: maybe-all-build-bison
50213 all-stage2-gcc: maybe-all-build-bison
50214 all-stage3-gcc: maybe-all-build-bison
50215 all-stage4-gcc: maybe-all-build-bison
50216 all-stageprofile-gcc: maybe-all-build-bison
50217 all-stagefeedback-gcc: maybe-all-build-bison
50218 all-gcc: maybe-all-build-flex
50220 all-stage1-gcc: maybe-all-build-flex
50221 all-stage2-gcc: maybe-all-build-flex
50222 all-stage3-gcc: maybe-all-build-flex
50223 all-stage4-gcc: maybe-all-build-flex
50224 all-stageprofile-gcc: maybe-all-build-flex
50225 all-stagefeedback-gcc: maybe-all-build-flex
50226 all-gcc: maybe-all-build-libiberty
50228 all-stage1-gcc: maybe-all-build-libiberty
50229 all-stage2-gcc: maybe-all-build-libiberty
50230 all-stage3-gcc: maybe-all-build-libiberty
50231 all-stage4-gcc: maybe-all-build-libiberty
50232 all-stageprofile-gcc: maybe-all-build-libiberty
50233 all-stagefeedback-gcc: maybe-all-build-libiberty
50234 all-gcc: maybe-all-build-fixincludes
50236 all-stage1-gcc: maybe-all-build-fixincludes
50237 all-stage2-gcc: maybe-all-build-fixincludes
50238 all-stage3-gcc: maybe-all-build-fixincludes
50239 all-stage4-gcc: maybe-all-build-fixincludes
50240 all-stageprofile-gcc: maybe-all-build-fixincludes
50241 all-stagefeedback-gcc: maybe-all-build-fixincludes
50242 all-gcc: maybe-all-build-libcpp
50244 all-stage1-gcc: maybe-all-build-libcpp
50245 all-stage2-gcc: maybe-all-build-libcpp
50246 all-stage3-gcc: maybe-all-build-libcpp
50247 all-stage4-gcc: maybe-all-build-libcpp
50248 all-stageprofile-gcc: maybe-all-build-libcpp
50249 all-stagefeedback-gcc: maybe-all-build-libcpp
50250 all-gcc: maybe-all-zlib
50252 all-stage1-gcc: maybe-all-stage1-zlib
50253 all-stage2-gcc: maybe-all-stage2-zlib
50254 all-stage3-gcc: maybe-all-stage3-zlib
50255 all-stage4-gcc: maybe-all-stage4-zlib
50256 all-stageprofile-gcc: maybe-all-stageprofile-zlib
50257 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
50258 all-gcc: all-libbacktrace
50260 all-stage1-gcc: all-stage1-libbacktrace
50261 all-stage2-gcc: all-stage2-libbacktrace
50262 all-stage3-gcc: all-stage3-libbacktrace
50263 all-stage4-gcc: all-stage4-libbacktrace
50264 all-stageprofile-gcc: all-stageprofile-libbacktrace
50265 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
50266 all-gcc: all-libcpp
50268 all-stage1-gcc: all-stage1-libcpp
50269 all-stage2-gcc: all-stage2-libcpp
50270 all-stage3-gcc: all-stage3-libcpp
50271 all-stage4-gcc: all-stage4-libcpp
50272 all-stageprofile-gcc: all-stageprofile-libcpp
50273 all-stagefeedback-gcc: all-stagefeedback-libcpp
50274 all-gcc: all-libdecnumber
50276 all-stage1-gcc: all-stage1-libdecnumber
50277 all-stage2-gcc: all-stage2-libdecnumber
50278 all-stage3-gcc: all-stage3-libdecnumber
50279 all-stage4-gcc: all-stage4-libdecnumber
50280 all-stageprofile-gcc: all-stageprofile-libdecnumber
50281 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
50282 all-gcc: maybe-all-libiberty
50284 all-stage1-gcc: maybe-all-stage1-libiberty
50285 all-stage2-gcc: maybe-all-stage2-libiberty
50286 all-stage3-gcc: maybe-all-stage3-libiberty
50287 all-stage4-gcc: maybe-all-stage4-libiberty
50288 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
50289 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
50290 all-gcc: maybe-all-fixincludes
50292 all-stage1-gcc: maybe-all-stage1-fixincludes
50293 all-stage2-gcc: maybe-all-stage2-fixincludes
50294 all-stage3-gcc: maybe-all-stage3-fixincludes
50295 all-stage4-gcc: maybe-all-stage4-fixincludes
50296 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
50297 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
50298 all-gcc: maybe-all-lto-plugin
50300 all-stage1-gcc: maybe-all-stage1-lto-plugin
50301 all-stage2-gcc: maybe-all-stage2-lto-plugin
50302 all-stage3-gcc: maybe-all-stage3-lto-plugin
50303 all-stage4-gcc: maybe-all-stage4-lto-plugin
50304 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
50305 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
50306 all-gcc: maybe-all-libiconv
50308 all-stage1-gcc: maybe-all-stage1-libiconv
50309 all-stage2-gcc: maybe-all-stage2-libiconv
50310 all-stage3-gcc: maybe-all-stage3-libiconv
50311 all-stage4-gcc: maybe-all-stage4-libiconv
50312 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
50313 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
50314 info-gcc: maybe-all-build-libiberty
50316 info-stage1-gcc: maybe-all-build-libiberty
50317 info-stage2-gcc: maybe-all-build-libiberty
50318 info-stage3-gcc: maybe-all-build-libiberty
50319 info-stage4-gcc: maybe-all-build-libiberty
50320 info-stageprofile-gcc: maybe-all-build-libiberty
50321 info-stagefeedback-gcc: maybe-all-build-libiberty
50322 dvi-gcc: maybe-all-build-libiberty
50324 dvi-stage1-gcc: maybe-all-build-libiberty
50325 dvi-stage2-gcc: maybe-all-build-libiberty
50326 dvi-stage3-gcc: maybe-all-build-libiberty
50327 dvi-stage4-gcc: maybe-all-build-libiberty
50328 dvi-stageprofile-gcc: maybe-all-build-libiberty
50329 dvi-stagefeedback-gcc: maybe-all-build-libiberty
50330 pdf-gcc: maybe-all-build-libiberty
50332 pdf-stage1-gcc: maybe-all-build-libiberty
50333 pdf-stage2-gcc: maybe-all-build-libiberty
50334 pdf-stage3-gcc: maybe-all-build-libiberty
50335 pdf-stage4-gcc: maybe-all-build-libiberty
50336 pdf-stageprofile-gcc: maybe-all-build-libiberty
50337 pdf-stagefeedback-gcc: maybe-all-build-libiberty
50338 html-gcc: maybe-all-build-libiberty
50340 html-stage1-gcc: maybe-all-build-libiberty
50341 html-stage2-gcc: maybe-all-build-libiberty
50342 html-stage3-gcc: maybe-all-build-libiberty
50343 html-stage4-gcc: maybe-all-build-libiberty
50344 html-stageprofile-gcc: maybe-all-build-libiberty
50345 html-stagefeedback-gcc: maybe-all-build-libiberty
50346 install-gcc: maybe-install-fixincludes
50347 install-gcc: maybe-install-lto-plugin
50348 install-strip-gcc: maybe-install-strip-fixincludes
50349 install-strip-gcc: maybe-install-strip-lto-plugin
50350 configure-libcpp: configure-libiberty
50352 configure-stage1-libcpp: configure-stage1-libiberty
50353 configure-stage2-libcpp: configure-stage2-libiberty
50354 configure-stage3-libcpp: configure-stage3-libiberty
50355 configure-stage4-libcpp: configure-stage4-libiberty
50356 configure-stageprofile-libcpp: configure-stageprofile-libiberty
50357 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
50358 configure-libcpp: maybe-configure-intl
50360 configure-stage1-libcpp: maybe-configure-stage1-intl
50361 configure-stage2-libcpp: maybe-configure-stage2-intl
50362 configure-stage3-libcpp: maybe-configure-stage3-intl
50363 configure-stage4-libcpp: maybe-configure-stage4-intl
50364 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
50365 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
50366 configure-libcpp: maybe-all-libiconv
50368 configure-stage1-libcpp: maybe-all-stage1-libiconv
50369 configure-stage2-libcpp: maybe-all-stage2-libiconv
50370 configure-stage3-libcpp: maybe-all-stage3-libiconv
50371 configure-stage4-libcpp: maybe-all-stage4-libiconv
50372 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
50373 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
50374 all-libcpp: all-libiberty
50376 all-stage1-libcpp: all-stage1-libiberty
50377 all-stage2-libcpp: all-stage2-libiberty
50378 all-stage3-libcpp: all-stage3-libiberty
50379 all-stage4-libcpp: all-stage4-libiberty
50380 all-stageprofile-libcpp: all-stageprofile-libiberty
50381 all-stagefeedback-libcpp: all-stagefeedback-libiberty
50382 all-libcpp: maybe-all-intl
50384 all-stage1-libcpp: maybe-all-stage1-intl
50385 all-stage2-libcpp: maybe-all-stage2-intl
50386 all-stage3-libcpp: maybe-all-stage3-intl
50387 all-stage4-libcpp: maybe-all-stage4-intl
50388 all-stageprofile-libcpp: maybe-all-stageprofile-intl
50389 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
50390 all-libcpp: maybe-all-libiconv
50392 all-stage1-libcpp: maybe-all-stage1-libiconv
50393 all-stage2-libcpp: maybe-all-stage2-libiconv
50394 all-stage3-libcpp: maybe-all-stage3-libiconv
50395 all-stage4-libcpp: maybe-all-stage4-libiconv
50396 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
50397 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
50398 all-fixincludes: maybe-all-libiberty
50400 all-stage1-fixincludes: maybe-all-stage1-libiberty
50401 all-stage2-fixincludes: maybe-all-stage2-libiberty
50402 all-stage3-fixincludes: maybe-all-stage3-libiberty
50403 all-stage4-fixincludes: maybe-all-stage4-libiberty
50404 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
50405 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
50406 all-gnattools: maybe-all-target-libada
50407 all-gnattools: maybe-all-target-libstdc++-v3
50408 all-lto-plugin: maybe-all-libiberty
50410 all-stage1-lto-plugin: maybe-all-stage1-libiberty
50411 all-stage2-lto-plugin: maybe-all-stage2-libiberty
50412 all-stage3-lto-plugin: maybe-all-stage3-libiberty
50413 all-stage4-lto-plugin: maybe-all-stage4-libiberty
50414 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
50415 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
50416 all-lto-plugin: maybe-all-libiberty-linker-plugin
50418 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
50419 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
50420 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
50421 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
50422 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
50423 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
50424 configure-libcc1: maybe-configure-gcc
50425 all-libcc1: maybe-all-gcc
50426 all-gotools: maybe-all-target-libgo
50427 all-utils: maybe-all-libiberty
50428 configure-intl: maybe-all-libiconv
50430 configure-stage1-intl: maybe-all-stage1-libiconv
50431 configure-stage2-intl: maybe-all-stage2-libiconv
50432 configure-stage3-intl: maybe-all-stage3-libiconv
50433 configure-stage4-intl: maybe-all-stage4-libiconv
50434 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
50435 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
50436 configure-mpfr: maybe-all-gmp
50438 configure-stage1-mpfr: maybe-all-stage1-gmp
50439 configure-stage2-mpfr: maybe-all-stage2-gmp
50440 configure-stage3-mpfr: maybe-all-stage3-gmp
50441 configure-stage4-mpfr: maybe-all-stage4-gmp
50442 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
50443 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
50444 configure-mpc: maybe-all-mpfr
50446 configure-stage1-mpc: maybe-all-stage1-mpfr
50447 configure-stage2-mpc: maybe-all-stage2-mpfr
50448 configure-stage3-mpc: maybe-all-stage3-mpfr
50449 configure-stage4-mpc: maybe-all-stage4-mpfr
50450 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
50451 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
50452 configure-isl: maybe-all-gmp
50454 configure-stage1-isl: maybe-all-stage1-gmp
50455 configure-stage2-isl: maybe-all-stage2-gmp
50456 configure-stage3-isl: maybe-all-stage3-gmp
50457 configure-stage4-isl: maybe-all-stage4-gmp
50458 configure-stageprofile-isl: maybe-all-stageprofile-gmp
50459 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
50460 all-intl: maybe-all-libiconv
50462 all-stage1-intl: maybe-all-stage1-libiconv
50463 all-stage2-intl: maybe-all-stage2-libiconv
50464 all-stage3-intl: maybe-all-stage3-libiconv
50465 all-stage4-intl: maybe-all-stage4-libiconv
50466 all-stageprofile-intl: maybe-all-stageprofile-libiconv
50467 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
50468 configure-gdb: maybe-all-intl
50469 configure-gdb: maybe-configure-sim
50470 configure-gdb: maybe-all-bfd
50471 configure-gdb: maybe-all-libiconv
50472 all-gdb: maybe-all-libiberty
50473 all-gdb: maybe-all-libiconv
50474 all-gdb: maybe-all-opcodes
50475 all-gdb: maybe-all-readline
50476 all-gdb: maybe-all-build-bison
50477 all-gdb: maybe-all-sim
50478 all-gdb: maybe-all-libdecnumber
50479 all-gdb: maybe-all-libtermcap
50480 configure-libgui: maybe-configure-tcl
50481 configure-libgui: maybe-configure-tk
50482 all-libgui: maybe-all-tcl
50483 all-libgui: maybe-all-tk
50484 all-libgui: maybe-all-itcl
50485 configure-bfd: configure-libiberty
50487 configure-stage1-bfd: configure-stage1-libiberty
50488 configure-stage2-bfd: configure-stage2-libiberty
50489 configure-stage3-bfd: configure-stage3-libiberty
50490 configure-stage4-bfd: configure-stage4-libiberty
50491 configure-stageprofile-bfd: configure-stageprofile-libiberty
50492 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
50493 configure-bfd: maybe-configure-intl
50495 configure-stage1-bfd: maybe-configure-stage1-intl
50496 configure-stage2-bfd: maybe-configure-stage2-intl
50497 configure-stage3-bfd: maybe-configure-stage3-intl
50498 configure-stage4-bfd: maybe-configure-stage4-intl
50499 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
50500 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
50501 all-bfd: maybe-all-libiberty
50503 all-stage1-bfd: maybe-all-stage1-libiberty
50504 all-stage2-bfd: maybe-all-stage2-libiberty
50505 all-stage3-bfd: maybe-all-stage3-libiberty
50506 all-stage4-bfd: maybe-all-stage4-libiberty
50507 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
50508 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
50509 all-bfd: maybe-all-intl
50511 all-stage1-bfd: maybe-all-stage1-intl
50512 all-stage2-bfd: maybe-all-stage2-intl
50513 all-stage3-bfd: maybe-all-stage3-intl
50514 all-stage4-bfd: maybe-all-stage4-intl
50515 all-stageprofile-bfd: maybe-all-stageprofile-intl
50516 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
50517 all-bfd: maybe-all-zlib
50519 all-stage1-bfd: maybe-all-stage1-zlib
50520 all-stage2-bfd: maybe-all-stage2-zlib
50521 all-stage3-bfd: maybe-all-stage3-zlib
50522 all-stage4-bfd: maybe-all-stage4-zlib
50523 all-stageprofile-bfd: maybe-all-stageprofile-zlib
50524 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
50525 configure-opcodes: configure-libiberty
50527 configure-stage1-opcodes: configure-stage1-libiberty
50528 configure-stage2-opcodes: configure-stage2-libiberty
50529 configure-stage3-opcodes: configure-stage3-libiberty
50530 configure-stage4-opcodes: configure-stage4-libiberty
50531 configure-stageprofile-opcodes: configure-stageprofile-libiberty
50532 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
50533 all-opcodes: maybe-all-libiberty
50535 all-stage1-opcodes: maybe-all-stage1-libiberty
50536 all-stage2-opcodes: maybe-all-stage2-libiberty
50537 all-stage3-opcodes: maybe-all-stage3-libiberty
50538 all-stage4-opcodes: maybe-all-stage4-libiberty
50539 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
50540 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
50541 configure-binutils: maybe-configure-intl
50543 configure-stage1-binutils: maybe-configure-stage1-intl
50544 configure-stage2-binutils: maybe-configure-stage2-intl
50545 configure-stage3-binutils: maybe-configure-stage3-intl
50546 configure-stage4-binutils: maybe-configure-stage4-intl
50547 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
50548 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
50549 all-binutils: maybe-all-libiberty
50551 all-stage1-binutils: maybe-all-stage1-libiberty
50552 all-stage2-binutils: maybe-all-stage2-libiberty
50553 all-stage3-binutils: maybe-all-stage3-libiberty
50554 all-stage4-binutils: maybe-all-stage4-libiberty
50555 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
50556 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
50557 all-binutils: maybe-all-opcodes
50559 all-stage1-binutils: maybe-all-stage1-opcodes
50560 all-stage2-binutils: maybe-all-stage2-opcodes
50561 all-stage3-binutils: maybe-all-stage3-opcodes
50562 all-stage4-binutils: maybe-all-stage4-opcodes
50563 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
50564 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
50565 all-binutils: maybe-all-bfd
50567 all-stage1-binutils: maybe-all-stage1-bfd
50568 all-stage2-binutils: maybe-all-stage2-bfd
50569 all-stage3-binutils: maybe-all-stage3-bfd
50570 all-stage4-binutils: maybe-all-stage4-bfd
50571 all-stageprofile-binutils: maybe-all-stageprofile-bfd
50572 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
50573 all-binutils: maybe-all-build-flex
50575 all-stage1-binutils: maybe-all-build-flex
50576 all-stage2-binutils: maybe-all-build-flex
50577 all-stage3-binutils: maybe-all-build-flex
50578 all-stage4-binutils: maybe-all-build-flex
50579 all-stageprofile-binutils: maybe-all-build-flex
50580 all-stagefeedback-binutils: maybe-all-build-flex
50581 all-binutils: maybe-all-build-bison
50583 all-stage1-binutils: maybe-all-build-bison
50584 all-stage2-binutils: maybe-all-build-bison
50585 all-stage3-binutils: maybe-all-build-bison
50586 all-stage4-binutils: maybe-all-build-bison
50587 all-stageprofile-binutils: maybe-all-build-bison
50588 all-stagefeedback-binutils: maybe-all-build-bison
50589 all-binutils: maybe-all-intl
50591 all-stage1-binutils: maybe-all-stage1-intl
50592 all-stage2-binutils: maybe-all-stage2-intl
50593 all-stage3-binutils: maybe-all-stage3-intl
50594 all-stage4-binutils: maybe-all-stage4-intl
50595 all-stageprofile-binutils: maybe-all-stageprofile-intl
50596 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
50597 all-binutils: maybe-all-gas
50599 all-stage1-binutils: maybe-all-stage1-gas
50600 all-stage2-binutils: maybe-all-stage2-gas
50601 all-stage3-binutils: maybe-all-stage3-gas
50602 all-stage4-binutils: maybe-all-stage4-gas
50603 all-stageprofile-binutils: maybe-all-stageprofile-gas
50604 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
50605 install-binutils: maybe-install-opcodes
50606 install-strip-binutils: maybe-install-strip-opcodes
50607 install-opcodes: maybe-install-bfd
50608 install-strip-opcodes: maybe-install-strip-bfd
50609 configure-gas: maybe-configure-intl
50611 configure-stage1-gas: maybe-configure-stage1-intl
50612 configure-stage2-gas: maybe-configure-stage2-intl
50613 configure-stage3-gas: maybe-configure-stage3-intl
50614 configure-stage4-gas: maybe-configure-stage4-intl
50615 configure-stageprofile-gas: maybe-configure-stageprofile-intl
50616 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
50617 all-gas: maybe-all-libiberty
50619 all-stage1-gas: maybe-all-stage1-libiberty
50620 all-stage2-gas: maybe-all-stage2-libiberty
50621 all-stage3-gas: maybe-all-stage3-libiberty
50622 all-stage4-gas: maybe-all-stage4-libiberty
50623 all-stageprofile-gas: maybe-all-stageprofile-libiberty
50624 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
50625 all-gas: maybe-all-opcodes
50627 all-stage1-gas: maybe-all-stage1-opcodes
50628 all-stage2-gas: maybe-all-stage2-opcodes
50629 all-stage3-gas: maybe-all-stage3-opcodes
50630 all-stage4-gas: maybe-all-stage4-opcodes
50631 all-stageprofile-gas: maybe-all-stageprofile-opcodes
50632 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
50633 all-gas: maybe-all-bfd
50635 all-stage1-gas: maybe-all-stage1-bfd
50636 all-stage2-gas: maybe-all-stage2-bfd
50637 all-stage3-gas: maybe-all-stage3-bfd
50638 all-stage4-gas: maybe-all-stage4-bfd
50639 all-stageprofile-gas: maybe-all-stageprofile-bfd
50640 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
50641 all-gas: maybe-all-intl
50643 all-stage1-gas: maybe-all-stage1-intl
50644 all-stage2-gas: maybe-all-stage2-intl
50645 all-stage3-gas: maybe-all-stage3-intl
50646 all-stage4-gas: maybe-all-stage4-intl
50647 all-stageprofile-gas: maybe-all-stageprofile-intl
50648 all-stagefeedback-gas: maybe-all-stagefeedback-intl
50649 configure-gprof: maybe-configure-intl
50650 all-gprof: maybe-all-libiberty
50651 all-gprof: maybe-all-bfd
50652 all-gprof: maybe-all-opcodes
50653 all-gprof: maybe-all-intl
50654 all-gprof: maybe-all-gas
50655 configure-ld: maybe-configure-intl
50657 configure-stage1-ld: maybe-configure-stage1-intl
50658 configure-stage2-ld: maybe-configure-stage2-intl
50659 configure-stage3-ld: maybe-configure-stage3-intl
50660 configure-stage4-ld: maybe-configure-stage4-intl
50661 configure-stageprofile-ld: maybe-configure-stageprofile-intl
50662 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
50663 all-ld: maybe-all-libiberty
50665 all-stage1-ld: maybe-all-stage1-libiberty
50666 all-stage2-ld: maybe-all-stage2-libiberty
50667 all-stage3-ld: maybe-all-stage3-libiberty
50668 all-stage4-ld: maybe-all-stage4-libiberty
50669 all-stageprofile-ld: maybe-all-stageprofile-libiberty
50670 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
50671 all-ld: maybe-all-bfd
50673 all-stage1-ld: maybe-all-stage1-bfd
50674 all-stage2-ld: maybe-all-stage2-bfd
50675 all-stage3-ld: maybe-all-stage3-bfd
50676 all-stage4-ld: maybe-all-stage4-bfd
50677 all-stageprofile-ld: maybe-all-stageprofile-bfd
50678 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
50679 all-ld: maybe-all-opcodes
50681 all-stage1-ld: maybe-all-stage1-opcodes
50682 all-stage2-ld: maybe-all-stage2-opcodes
50683 all-stage3-ld: maybe-all-stage3-opcodes
50684 all-stage4-ld: maybe-all-stage4-opcodes
50685 all-stageprofile-ld: maybe-all-stageprofile-opcodes
50686 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
50687 all-ld: maybe-all-build-bison
50689 all-stage1-ld: maybe-all-build-bison
50690 all-stage2-ld: maybe-all-build-bison
50691 all-stage3-ld: maybe-all-build-bison
50692 all-stage4-ld: maybe-all-build-bison
50693 all-stageprofile-ld: maybe-all-build-bison
50694 all-stagefeedback-ld: maybe-all-build-bison
50695 all-ld: maybe-all-build-flex
50697 all-stage1-ld: maybe-all-build-flex
50698 all-stage2-ld: maybe-all-build-flex
50699 all-stage3-ld: maybe-all-build-flex
50700 all-stage4-ld: maybe-all-build-flex
50701 all-stageprofile-ld: maybe-all-build-flex
50702 all-stagefeedback-ld: maybe-all-build-flex
50703 all-ld: maybe-all-intl
50705 all-stage1-ld: maybe-all-stage1-intl
50706 all-stage2-ld: maybe-all-stage2-intl
50707 all-stage3-ld: maybe-all-stage3-intl
50708 all-stage4-ld: maybe-all-stage4-intl
50709 all-stageprofile-ld: maybe-all-stageprofile-intl
50710 all-stagefeedback-ld: maybe-all-stagefeedback-intl
50711 all-ld: maybe-all-gas
50713 all-stage1-ld: maybe-all-stage1-gas
50714 all-stage2-ld: maybe-all-stage2-gas
50715 all-stage3-ld: maybe-all-stage3-gas
50716 all-stage4-ld: maybe-all-stage4-gas
50717 all-stageprofile-ld: maybe-all-stageprofile-gas
50718 all-stagefeedback-ld: maybe-all-stagefeedback-gas
50719 all-ld: maybe-all-binutils
50721 all-stage1-ld: maybe-all-stage1-binutils
50722 all-stage2-ld: maybe-all-stage2-binutils
50723 all-stage3-ld: maybe-all-stage3-binutils
50724 all-stage4-ld: maybe-all-stage4-binutils
50725 all-stageprofile-ld: maybe-all-stageprofile-binutils
50726 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
50727 install-ld: maybe-install-gold
50728 install-strip-ld: maybe-install-strip-gold
50729 configure-gold: maybe-configure-intl
50731 configure-stage1-gold: maybe-configure-stage1-intl
50732 configure-stage2-gold: maybe-configure-stage2-intl
50733 configure-stage3-gold: maybe-configure-stage3-intl
50734 configure-stage4-gold: maybe-configure-stage4-intl
50735 configure-stageprofile-gold: maybe-configure-stageprofile-intl
50736 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
50737 all-gold: maybe-all-libiberty
50739 all-stage1-gold: maybe-all-stage1-libiberty
50740 all-stage2-gold: maybe-all-stage2-libiberty
50741 all-stage3-gold: maybe-all-stage3-libiberty
50742 all-stage4-gold: maybe-all-stage4-libiberty
50743 all-stageprofile-gold: maybe-all-stageprofile-libiberty
50744 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
50745 all-gold: maybe-all-intl
50747 all-stage1-gold: maybe-all-stage1-intl
50748 all-stage2-gold: maybe-all-stage2-intl
50749 all-stage3-gold: maybe-all-stage3-intl
50750 all-stage4-gold: maybe-all-stage4-intl
50751 all-stageprofile-gold: maybe-all-stageprofile-intl
50752 all-stagefeedback-gold: maybe-all-stagefeedback-intl
50753 all-gold: maybe-all-bfd
50755 all-stage1-gold: maybe-all-stage1-bfd
50756 all-stage2-gold: maybe-all-stage2-bfd
50757 all-stage3-gold: maybe-all-stage3-bfd
50758 all-stage4-gold: maybe-all-stage4-bfd
50759 all-stageprofile-gold: maybe-all-stageprofile-bfd
50760 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
50761 all-gold: maybe-all-build-bison
50763 all-stage1-gold: maybe-all-build-bison
50764 all-stage2-gold: maybe-all-build-bison
50765 all-stage3-gold: maybe-all-build-bison
50766 all-stage4-gold: maybe-all-build-bison
50767 all-stageprofile-gold: maybe-all-build-bison
50768 all-stagefeedback-gold: maybe-all-build-bison
50769 all-gold: maybe-all-gas
50771 all-stage1-gold: maybe-all-stage1-gas
50772 all-stage2-gold: maybe-all-stage2-gas
50773 all-stage3-gold: maybe-all-stage3-gas
50774 all-stage4-gold: maybe-all-stage4-gas
50775 all-stageprofile-gold: maybe-all-stageprofile-gas
50776 all-stagefeedback-gold: maybe-all-stagefeedback-gas
50777 check-gold: maybe-all-binutils
50779 check-stage1-gold: maybe-all-stage1-binutils
50780 check-stage2-gold: maybe-all-stage2-binutils
50781 check-stage3-gold: maybe-all-stage3-binutils
50782 check-stage4-gold: maybe-all-stage4-binutils
50783 check-stageprofile-gold: maybe-all-stageprofile-binutils
50784 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
50785 check-gold: maybe-all-gas
50787 check-stage1-gold: maybe-all-stage1-gas
50788 check-stage2-gold: maybe-all-stage2-gas
50789 check-stage3-gold: maybe-all-stage3-gas
50790 check-stage4-gold: maybe-all-stage4-gas
50791 check-stageprofile-gold: maybe-all-stageprofile-gas
50792 check-stagefeedback-gold: maybe-all-stagefeedback-gas
50793 configure-opcodes: maybe-configure-intl
50795 configure-stage1-opcodes: maybe-configure-stage1-intl
50796 configure-stage2-opcodes: maybe-configure-stage2-intl
50797 configure-stage3-opcodes: maybe-configure-stage3-intl
50798 configure-stage4-opcodes: maybe-configure-stage4-intl
50799 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
50800 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
50801 all-opcodes: maybe-all-bfd
50803 all-stage1-opcodes: maybe-all-stage1-bfd
50804 all-stage2-opcodes: maybe-all-stage2-bfd
50805 all-stage3-opcodes: maybe-all-stage3-bfd
50806 all-stage4-opcodes: maybe-all-stage4-bfd
50807 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
50808 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
50809 all-opcodes: maybe-all-libiberty
50811 all-stage1-opcodes: maybe-all-stage1-libiberty
50812 all-stage2-opcodes: maybe-all-stage2-libiberty
50813 all-stage3-opcodes: maybe-all-stage3-libiberty
50814 all-stage4-opcodes: maybe-all-stage4-libiberty
50815 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
50816 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
50817 all-opcodes: maybe-all-intl
50819 all-stage1-opcodes: maybe-all-stage1-intl
50820 all-stage2-opcodes: maybe-all-stage2-intl
50821 all-stage3-opcodes: maybe-all-stage3-intl
50822 all-stage4-opcodes: maybe-all-stage4-intl
50823 all-stageprofile-opcodes: maybe-all-stageprofile-intl
50824 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
50825 all-dejagnu: maybe-all-tcl
50826 all-dejagnu: maybe-all-expect
50827 all-dejagnu: maybe-all-tk
50828 configure-expect: maybe-configure-tcl
50829 configure-expect: maybe-configure-tk
50830 all-expect: maybe-all-tcl
50831 all-expect: maybe-all-tk
50832 configure-itcl: maybe-configure-tcl
50833 configure-itcl: maybe-configure-tk
50834 all-itcl: maybe-all-tcl
50835 all-itcl: maybe-all-tk
50836 install-itcl: maybe-install-tcl
50837 install-strip-itcl: maybe-install-strip-tcl
50838 configure-tk: maybe-configure-tcl
50839 all-tk: maybe-all-tcl
50840 all-sid: maybe-all-libiberty
50841 all-sid: maybe-all-bfd
50842 all-sid: maybe-all-opcodes
50843 all-sid: maybe-all-tcl
50844 all-sid: maybe-all-tk
50845 install-sid: maybe-install-tcl
50846 install-strip-sid: maybe-install-strip-tcl
50847 install-sid: maybe-install-tk
50848 install-strip-sid: maybe-install-strip-tk
50849 configure-sim: maybe-configure-intl
50850 all-sim: maybe-all-intl
50851 all-sim: maybe-all-libiberty
50852 all-sim: maybe-all-bfd
50853 all-sim: maybe-all-opcodes
50854 all-sim: maybe-all-readline
50855 all-sim: maybe-configure-gdb
50856 all-fastjar: maybe-all-zlib
50857 all-fastjar: maybe-all-build-texinfo
50858 all-fastjar: maybe-all-libiberty
50859 all-bison: maybe-all-intl
50860 all-bison: maybe-all-build-texinfo
50861 all-flex: maybe-all-build-bison
50862 all-flex: maybe-all-intl
50863 all-flex: maybe-all-m4
50864 all-flex: maybe-all-build-texinfo
50865 all-m4: maybe-all-intl
50866 all-m4: maybe-all-build-texinfo
50867 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
50868 configure-target-fastjar: maybe-configure-target-zlib
50869 all-target-fastjar: maybe-all-target-zlib
50870 configure-target-libgo: maybe-configure-target-libffi
50871 configure-target-libgo: maybe-all-target-libstdc++-v3
50872 all-target-libgo: maybe-all-target-libbacktrace
50873 all-target-libgo: maybe-all-target-libffi
50874 all-target-libgo: maybe-all-target-libatomic
50875 configure-target-libjava: maybe-configure-target-zlib
50876 configure-target-libjava: maybe-configure-target-boehm-gc
50877 configure-target-libjava: maybe-configure-target-libffi
50878 all-target-libjava: maybe-all-fastjar
50879 all-target-libjava: maybe-all-target-zlib
50880 all-target-libjava: maybe-all-target-boehm-gc
50881 all-target-libjava: maybe-all-target-libffi
50882 configure-target-libobjc: maybe-configure-target-boehm-gc
50883 all-target-libobjc: maybe-all-target-boehm-gc
50884 configure-target-libstdc++-v3: maybe-configure-target-libgomp
50886 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
50887 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
50888 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
50889 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
50890 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
50891 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
50892 configure-target-liboffloadmic: maybe-configure-target-libgomp
50893 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
50895 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
50896 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
50897 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
50898 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
50899 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
50900 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
50901 configure-target-libvtv: maybe-all-target-libstdc++-v3
50903 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
50904 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
50905 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
50906 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
50907 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
50908 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
50909 all-target-libstdc++-v3: maybe-configure-target-libgomp
50911 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
50912 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
50913 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
50914 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
50915 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
50916 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
50917 all-target-liboffloadmic: maybe-all-target-libgomp
50918 install-target-libgo: maybe-install-target-libatomic
50919 install-target-libgfortran: maybe-install-target-libquadmath
50920 install-target-libgfortran: maybe-install-target-libgcc
50921 install-target-libsanitizer: maybe-install-target-libstdc++-v3
50922 install-target-libsanitizer: maybe-install-target-libgcc
50923 install-target-libvtv: maybe-install-target-libstdc++-v3
50924 install-target-libvtv: maybe-install-target-libgcc
50925 install-target-libcilkrts: maybe-install-target-libstdc++-v3
50926 install-target-libcilkrts: maybe-install-target-libgcc
50927 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
50928 install-target-liboffloadmic: maybe-install-target-libgcc
50929 install-target-libjava: maybe-install-target-libgcc
50930 install-target-libitm: maybe-install-target-libgcc
50931 install-target-libobjc: maybe-install-target-libgcc
50932 install-target-libstdc++-v3: maybe-install-target-libgcc
50933 all-target-libgloss: maybe-all-target-newlib
50934 all-target-winsup: maybe-all-target-libtermcap
50935 configure-target-newlib: maybe-all-binutils
50936 configure-target-newlib: maybe-all-ld
50937 configure-target-libgfortran: maybe-all-target-libquadmath
50938 configure-target-libgfortran: maybe-all-target-libbacktrace
50941 # Dependencies for target modules on other target modules are
50942 # described by lang_env_dependencies; the defaults apply to anything
50943 # not mentioned there.
50946 @if gcc-bootstrap
50947 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
50948 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
50949 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
50950 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
50951 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
50952 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
50953 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
50954 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
50955 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
50956 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
50957 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
50958 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
50959 configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
50960 configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
50961 configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
50962 configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
50963 configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
50964 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
50965 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
50966 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
50967 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
50968 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
50969 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
50970 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
50971 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
50972 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
50973 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
50974 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
50975 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
50976 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
50977 @endif gcc-bootstrap
50979 @if gcc-no-bootstrap
50980 configure-target-libstdc++-v3: maybe-all-target-libgcc
50981 configure-target-libsanitizer: maybe-all-target-libgcc
50982 configure-target-libmpx: maybe-all-target-libgcc
50983 configure-target-libvtv: maybe-all-target-libgcc
50984 configure-target-libcilkrts: maybe-all-target-libgcc
50985 configure-target-liboffloadmic: maybe-all-target-libgcc
50986 configure-target-libssp: maybe-all-target-libgcc
50987 configure-target-newlib: maybe-all-target-libgcc
50988 configure-target-libbacktrace: maybe-all-target-libgcc
50989 configure-target-libquadmath: maybe-all-target-libgcc
50990 configure-target-libgfortran: maybe-all-target-libgcc
50991 configure-target-libobjc: maybe-all-target-libgcc
50992 configure-target-libgo: maybe-all-target-libgcc
50993 configure-target-libtermcap: maybe-all-target-libgcc
50994 configure-target-winsup: maybe-all-target-libgcc
50995 configure-target-libgloss: maybe-all-target-libgcc
50996 configure-target-libffi: maybe-all-target-libgcc
50997 configure-target-libjava: maybe-all-target-libgcc
50998 configure-target-zlib: maybe-all-target-libgcc
50999 configure-target-boehm-gc: maybe-all-target-libgcc
51000 configure-target-rda: maybe-all-target-libgcc
51001 configure-target-libada: maybe-all-target-libgcc
51002 configure-target-libgomp: maybe-all-target-libgcc
51003 configure-target-libitm: maybe-all-target-libgcc
51004 configure-target-libatomic: maybe-all-target-libgcc
51005 @endif gcc-no-bootstrap
51008 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
51010 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
51012 configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
51014 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
51016 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
51017 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
51019 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
51020 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
51022 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
51026 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
51028 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
51030 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
51032 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
51034 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
51036 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
51038 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
51041 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
51042 configure-target-libffi: maybe-all-target-libstdc++-v3
51044 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
51045 configure-target-libjava: maybe-all-target-libstdc++-v3
51047 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
51049 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
51051 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
51053 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
51055 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
51057 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
51058 configure-target-libitm: maybe-all-target-libstdc++-v3
51060 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
51063 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
51064 GDB_TK = @GDB_TK@
51065 INSTALL_GDB_TK = @INSTALL_GDB_TK@
51066 configure-gdb: $(CONFIGURE_GDB_TK)
51067 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
51068 install-gdb: $(INSTALL_GDB_TK)
51070 # Serialization dependencies. Host configures don't work well in parallel to
51071 # each other, due to contention over config.cache. Target configures and
51072 # build configures are similar.
51073 @serialization_dependencies@
51075 # --------------------------------
51076 # Regenerating top level configury
51077 # --------------------------------
51079 # Rebuilding Makefile.in, using autogen.
51080 AUTOGEN = autogen
51081 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
51082 cd $(srcdir) && $(AUTOGEN) Makefile.def
51084 # Rebuilding Makefile.
51085 Makefile: $(srcdir)/Makefile.in config.status
51086 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
51088 config.status: configure
51089 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
51091 # Rebuilding configure.
51092 AUTOCONF = autoconf
51093 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
51094 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
51095 cd $(srcdir) && $(AUTOCONF)
51097 # ------------------------------
51098 # Special directives to GNU Make
51099 # ------------------------------
51101 # Don't pass command-line variables to submakes.
51102 .NOEXPORT:
51103 MAKEOVERRIDES=
51105 # end of Makefile.in