re PR c++/57709 (-Wshadow is too strict / has false positives)
[official-gcc.git] / Makefile.in
blobadd8cf6b379f2add77ba9aae2b7720ac98f8b952
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 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
223 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
224 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
225 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 @if gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 @endif gcc-bootstrap
231 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
233 POSTSTAGE1_CXX_EXPORT = \
234 CXX='$(CXX)'; export CXX; \
235 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
236 @if target-libstdc++-v3-bootstrap
237 # Override the above if we're bootstrapping C++.
238 POSTSTAGE1_CXX_EXPORT = \
239 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
240 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
245 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
248 export CXX; \
249 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
250 @endif target-libstdc++-v3-bootstrap
252 # Similar, for later GCC stages.
253 POSTSTAGE1_HOST_EXPORTS = \
254 $(HOST_EXPORTS) \
255 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
256 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
257 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
258 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
259 $(POSTSTAGE1_CXX_EXPORT) \
260 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
261 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
262 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
264 # Target libraries are put under this directory:
265 TARGET_SUBDIR = @target_subdir@
266 # This is set by the configure script to the arguments to use when configuring
267 # directories built for the target.
268 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
269 # This is the list of variables to export in the environment when
270 # configuring subdirectories for the target system.
271 BASE_TARGET_EXPORTS = \
272 $(BASE_EXPORTS) \
273 AR="$(AR_FOR_TARGET)"; export AR; \
274 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
275 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
276 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
277 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
278 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
280 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
281 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
282 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
283 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
284 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
285 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
286 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
287 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
288 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
289 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
290 READELF="$(READELF_FOR_TARGET)"; export READELF; \
291 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
292 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
293 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
294 @if gcc-bootstrap
295 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
296 @endif gcc-bootstrap
297 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
298 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
300 RAW_CXX_TARGET_EXPORTS = \
301 $(BASE_TARGET_EXPORTS) \
302 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
303 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
305 NORMAL_TARGET_EXPORTS = \
306 $(BASE_TARGET_EXPORTS) \
307 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
309 # Where to find GMP
310 HOST_GMPLIBS = @gmplibs@
311 HOST_GMPINC = @gmpinc@
313 # Where to find ISL
314 HOST_ISLLIBS = @isllibs@
315 HOST_ISLINC = @islinc@
317 # Where to find CLOOG
318 HOST_CLOOGLIBS = @clooglibs@
319 HOST_CLOOGINC = @clooginc@
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 # Only build the C compiler for stage1, because that is the only one that
489 # we can guarantee will build with the native compiler, and also it is the
490 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
491 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
492 # overrideable (for a bootstrap build stage1 also builds gcc.info).
494 STAGE1_CFLAGS = @stage1_cflags@
495 STAGE1_CHECKING = @stage1_checking@
496 STAGE1_LANGUAGES = @stage1_languages@
497 # * We force-disable intermodule optimizations, even if
498 # --enable-intermodule was passed, since the installed compiler
499 # probably can't handle them. Luckily, autoconf always respects
500 # the last argument when conflicting --enable arguments are passed.
501 # * Likewise, we force-disable coverage flags, since the installed
502 # compiler probably has never heard of them.
503 # * We also disable -Wformat, since older GCCs don't understand newer %s.
504 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
505 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
506 --disable-build-format-warnings
508 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
509 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
511 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
512 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
514 do-compare = @do_compare@
515 do-compare3 = $(do-compare)
517 # -----------------------------------------------
518 # Programs producing files for the TARGET machine
519 # -----------------------------------------------
521 AR_FOR_TARGET=@AR_FOR_TARGET@
522 AS_FOR_TARGET=@AS_FOR_TARGET@
523 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
525 # If GCC_FOR_TARGET is not overriden on the command line, then this
526 # variable is passed down to the gcc Makefile, where it is used to
527 # build libgcc2.a. We define it here so that it can itself be
528 # overridden on the command line.
529 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
530 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
531 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
532 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
533 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
534 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
535 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
536 LD_FOR_TARGET=@LD_FOR_TARGET@
538 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
539 NM_FOR_TARGET=@NM_FOR_TARGET@
540 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
541 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
542 READELF_FOR_TARGET=@READELF_FOR_TARGET@
543 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
544 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
545 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
547 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
548 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
549 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
551 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
552 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
554 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
555 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
556 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
557 GOCFLAGS_FOR_TARGET = -O2 -g
559 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
560 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
561 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
563 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
565 # ------------------------------------
566 # Miscellaneous targets and flag lists
567 # ------------------------------------
569 # The first rule in the file had better be this one. Don't put any above it.
570 # This lives here to allow makefile fragments to contain dependencies.
571 all:
573 #### host and target specific makefile fragments come in here.
574 @target_makefile_frag@
575 @alphaieee_frag@
576 @ospace_frag@
577 @host_makefile_frag@
580 # This is the list of directories that may be needed in RPATH_ENVVAR
581 # so that programs built for the target machine work.
582 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
584 @if target-libstdc++-v3
585 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
586 @endif target-libstdc++-v3
588 @if target-libsanitizer
589 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
590 @endif target-libsanitizer
592 @if target-libvtv
593 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
594 @endif target-libvtv
596 @if target-libcilkrts
597 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
598 @endif target-libcilkrts
600 @if target-libssp
601 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
602 @endif target-libssp
604 @if target-libgomp
605 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
606 @endif target-libgomp
608 @if target-libitm
609 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
610 @endif target-libitm
612 @if target-libatomic
613 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
614 @endif target-libatomic
618 # This is the list of directories that may be needed in RPATH_ENVVAR
619 # so that programs built for the host machine work.
620 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
622 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
623 @if gcc
624 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
625 @endif gcc
628 @if gmp
629 HOST_LIB_PATH_gmp = \
630 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
631 @endif gmp
633 @if mpfr
634 HOST_LIB_PATH_mpfr = \
635 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
636 @endif mpfr
638 @if mpc
639 HOST_LIB_PATH_mpc = \
640 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
641 @endif mpc
643 @if isl
644 HOST_LIB_PATH_isl = \
645 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
646 @endif isl
648 @if cloog
649 HOST_LIB_PATH_cloog = \
650 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
651 @endif cloog
653 @if libelf
654 HOST_LIB_PATH_libelf = \
655 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
656 @endif libelf
659 CXX_FOR_TARGET_FLAG_TO_PASS = \
660 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
661 @if target-libstdc++-v3
662 # CXX_FOR_TARGET is tricky to get right for target libs that require a
663 # functional C++ compiler. When we recurse, if we expand
664 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
665 # libstdc++ include flags from the script. Instead, we get an
666 # -funconfigured-* word, so that we'll get errors if this invalid C++
667 # command line is used for anything, but also so that we can use the
668 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
669 # don't pass it on, sub-make will use the default definition, that
670 # re-expands it at the time of use, so we'll get it right when we need
671 # it. One potential exception is the expansion of CXX_FOR_TARGET
672 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
673 # really work, for C++ host programs can't depend on the current-stage
674 # C++ target library.
675 CXX_FOR_TARGET_FLAG_TO_PASS = \
676 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
677 @endif target-libstdc++-v3
679 # Flags to pass down to all sub-makes.
680 BASE_FLAGS_TO_PASS = \
681 "DESTDIR=$(DESTDIR)" \
682 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
683 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
684 "bindir=$(bindir)" \
685 "datadir=$(datadir)" \
686 "exec_prefix=$(exec_prefix)" \
687 "includedir=$(includedir)" \
688 "datarootdir=$(datarootdir)" \
689 "docdir=$(docdir)" \
690 "infodir=$(infodir)" \
691 "pdfdir=$(pdfdir)" \
692 "htmldir=$(htmldir)" \
693 "libdir=$(libdir)" \
694 "libexecdir=$(libexecdir)" \
695 "lispdir=$(lispdir)" \
696 "localstatedir=$(localstatedir)" \
697 "mandir=$(mandir)" \
698 "oldincludedir=$(oldincludedir)" \
699 "prefix=$(prefix)" \
700 "sbindir=$(sbindir)" \
701 "sharedstatedir=$(sharedstatedir)" \
702 "sysconfdir=$(sysconfdir)" \
703 "tooldir=$(tooldir)" \
704 "build_tooldir=$(build_tooldir)" \
705 "target_alias=$(target_alias)" \
706 "AWK=$(AWK)" \
707 "BISON=$(BISON)" \
708 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
709 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
710 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
711 "EXPECT=$(EXPECT)" \
712 "FLEX=$(FLEX)" \
713 "INSTALL=$(INSTALL)" \
714 "INSTALL_DATA=$(INSTALL_DATA)" \
715 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
716 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
717 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
718 "LEX=$(LEX)" \
719 "M4=$(M4)" \
720 "MAKE=$(MAKE)" \
721 "RUNTEST=$(RUNTEST)" \
722 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
723 "SED=$(SED)" \
724 "SHELL=$(SHELL)" \
725 "YACC=$(YACC)" \
726 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
727 "ADA_CFLAGS=$(ADA_CFLAGS)" \
728 "AR_FLAGS=$(AR_FLAGS)" \
729 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
730 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
731 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
732 "CFLAGS=$(CFLAGS)" \
733 "CXXFLAGS=$(CXXFLAGS)" \
734 "LDFLAGS=$(LDFLAGS)" \
735 "LIBCFLAGS=$(LIBCFLAGS)" \
736 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
737 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
738 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
739 "GNATBIND=$(GNATBIND)" \
740 "GNATMAKE=$(GNATMAKE)" \
741 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
742 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
743 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
744 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
745 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
746 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
747 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
748 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
749 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
750 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
751 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
752 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
753 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
754 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
755 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
756 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
757 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
758 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
759 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
760 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
761 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
762 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
763 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
764 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
765 "BUILD_CONFIG=$(BUILD_CONFIG)" \
766 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
767 "LEAN=$(LEAN)" \
768 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
769 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
770 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
771 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
772 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
773 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
774 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
775 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
776 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
777 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
778 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
779 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
780 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
781 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
782 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
783 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
784 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
785 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
786 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
787 "TFLAGS=$(TFLAGS)" \
788 "CONFIG_SHELL=$(SHELL)" \
789 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
791 # We leave this in just in case, but it is not needed anymore.
792 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
794 # Flags to pass down to most sub-makes, in which we're building with
795 # the host environment.
796 EXTRA_HOST_FLAGS = \
797 'AR=$(AR)' \
798 'AS=$(AS)' \
799 'CC=$(CC)' \
800 'CXX=$(CXX)' \
801 'DLLTOOL=$(DLLTOOL)' \
802 'GCJ=$(GCJ)' \
803 'GFORTRAN=$(GFORTRAN)' \
804 'GOC=$(GOC)' \
805 'LD=$(LD)' \
806 'LIPO=$(LIPO)' \
807 'NM=$(NM)' \
808 'OBJDUMP=$(OBJDUMP)' \
809 'RANLIB=$(RANLIB)' \
810 'READELF=$(READELF)' \
811 'STRIP=$(STRIP)' \
812 'WINDRES=$(WINDRES)' \
813 'WINDMC=$(WINDMC)'
815 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
817 # Flags to pass to stage1 or when not bootstrapping.
819 STAGE1_FLAGS_TO_PASS = \
820 LDFLAGS="$${LDFLAGS}" \
821 HOST_LIBS="$${HOST_LIBS}"
823 # Flags to pass to stage2 and later makes.
825 POSTSTAGE1_FLAGS_TO_PASS = \
826 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
827 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
828 GNATBIND="$${GNATBIND}" \
829 LDFLAGS="$${LDFLAGS}" \
830 HOST_LIBS="$${HOST_LIBS}" \
831 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
833 # Flags to pass down to makes which are built with the target environment.
834 # The double $ decreases the length of the command line; those variables
835 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
836 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
837 # so we expand them here.
838 EXTRA_TARGET_FLAGS = \
839 'AR=$$(AR_FOR_TARGET)' \
840 'AS=$(COMPILER_AS_FOR_TARGET)' \
841 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
842 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
843 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
844 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
845 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
846 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
847 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
848 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
849 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
850 'LD=$(COMPILER_LD_FOR_TARGET)' \
851 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
852 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
853 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
854 'NM=$(COMPILER_NM_FOR_TARGET)' \
855 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
856 'RANLIB=$$(RANLIB_FOR_TARGET)' \
857 'READELF=$$(READELF_FOR_TARGET)' \
858 'WINDRES=$$(WINDRES_FOR_TARGET)' \
859 'WINDMC=$$(WINDMC_FOR_TARGET)' \
860 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
861 "TFLAGS=$$TFLAGS"
863 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
865 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
866 # unfortunately needs the native compiler and the target ar and
867 # ranlib.
868 # If any variables are added here, they must be added to do-*, below.
869 # The BUILD_* variables are a special case, which are used for the gcc
870 # cross-building scheme.
871 EXTRA_GCC_FLAGS = \
872 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
873 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
874 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
876 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
878 @if gcc
879 BUILD_CONFIG = @BUILD_CONFIG@
880 ifneq ($(BUILD_CONFIG),)
881 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
882 endif
883 @endif gcc
885 .PHONY: configure-host
886 configure-host: \
887 maybe-configure-bfd \
888 maybe-configure-opcodes \
889 maybe-configure-binutils \
890 maybe-configure-bison \
891 maybe-configure-cgen \
892 maybe-configure-dejagnu \
893 maybe-configure-etc \
894 maybe-configure-fastjar \
895 maybe-configure-fixincludes \
896 maybe-configure-flex \
897 maybe-configure-gas \
898 maybe-configure-gcc \
899 maybe-configure-gmp \
900 maybe-configure-mpfr \
901 maybe-configure-mpc \
902 maybe-configure-isl \
903 maybe-configure-cloog \
904 maybe-configure-libelf \
905 maybe-configure-gold \
906 maybe-configure-gprof \
907 maybe-configure-intl \
908 maybe-configure-tcl \
909 maybe-configure-itcl \
910 maybe-configure-ld \
911 maybe-configure-libbacktrace \
912 maybe-configure-libcpp \
913 maybe-configure-libdecnumber \
914 maybe-configure-libgui \
915 maybe-configure-libiberty \
916 maybe-configure-libiberty-linker-plugin \
917 maybe-configure-libiconv \
918 maybe-configure-m4 \
919 maybe-configure-readline \
920 maybe-configure-sid \
921 maybe-configure-sim \
922 maybe-configure-texinfo \
923 maybe-configure-zlib \
924 maybe-configure-gdb \
925 maybe-configure-expect \
926 maybe-configure-guile \
927 maybe-configure-tk \
928 maybe-configure-libtermcap \
929 maybe-configure-utils \
930 maybe-configure-gnattools \
931 maybe-configure-lto-plugin
932 .PHONY: configure-target
933 configure-target: \
934 maybe-configure-target-libstdc++-v3 \
935 maybe-configure-target-libsanitizer \
936 maybe-configure-target-libvtv \
937 maybe-configure-target-libcilkrts \
938 maybe-configure-target-libssp \
939 maybe-configure-target-newlib \
940 maybe-configure-target-libgcc \
941 maybe-configure-target-libbacktrace \
942 maybe-configure-target-libquadmath \
943 maybe-configure-target-libgfortran \
944 maybe-configure-target-libobjc \
945 maybe-configure-target-libgo \
946 maybe-configure-target-libtermcap \
947 maybe-configure-target-winsup \
948 maybe-configure-target-libgloss \
949 maybe-configure-target-libffi \
950 maybe-configure-target-libjava \
951 maybe-configure-target-zlib \
952 maybe-configure-target-boehm-gc \
953 maybe-configure-target-rda \
954 maybe-configure-target-libada \
955 maybe-configure-target-libgomp \
956 maybe-configure-target-libitm \
957 maybe-configure-target-libatomic
959 # The target built for a native non-bootstrap build.
960 .PHONY: all
961 all:
962 @if gcc-bootstrap
963 [ -f stage_final ] || echo stage3 > stage_final
964 @r=`${PWD_COMMAND}`; export r; \
965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
966 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
967 @endif gcc-bootstrap
968 @: $(MAKE); $(unstage)
969 @r=`${PWD_COMMAND}`; export r; \
970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
971 @if gcc-bootstrap
972 if [ -f stage_last ]; then \
973 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
974 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
975 else \
976 @endif gcc-bootstrap
977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
978 @if gcc-bootstrap
980 fi \
981 @endif gcc-bootstrap
982 && :
984 .PHONY: all-build
986 all-build: maybe-all-build-libiberty
987 all-build: maybe-all-build-bison
988 all-build: maybe-all-build-flex
989 all-build: maybe-all-build-m4
990 all-build: maybe-all-build-texinfo
991 all-build: maybe-all-build-fixincludes
993 .PHONY: all-host
995 @if bfd-no-bootstrap
996 all-host: maybe-all-bfd
997 @endif bfd-no-bootstrap
998 @if opcodes-no-bootstrap
999 all-host: maybe-all-opcodes
1000 @endif opcodes-no-bootstrap
1001 @if binutils-no-bootstrap
1002 all-host: maybe-all-binutils
1003 @endif binutils-no-bootstrap
1004 all-host: maybe-all-bison
1005 all-host: maybe-all-cgen
1006 all-host: maybe-all-dejagnu
1007 all-host: maybe-all-etc
1008 all-host: maybe-all-fastjar
1009 @if fixincludes-no-bootstrap
1010 all-host: maybe-all-fixincludes
1011 @endif fixincludes-no-bootstrap
1012 all-host: maybe-all-flex
1013 @if gas-no-bootstrap
1014 all-host: maybe-all-gas
1015 @endif gas-no-bootstrap
1016 @if gcc-no-bootstrap
1017 all-host: maybe-all-gcc
1018 @endif gcc-no-bootstrap
1019 @if gmp-no-bootstrap
1020 all-host: maybe-all-gmp
1021 @endif gmp-no-bootstrap
1022 @if mpfr-no-bootstrap
1023 all-host: maybe-all-mpfr
1024 @endif mpfr-no-bootstrap
1025 @if mpc-no-bootstrap
1026 all-host: maybe-all-mpc
1027 @endif mpc-no-bootstrap
1028 @if isl-no-bootstrap
1029 all-host: maybe-all-isl
1030 @endif isl-no-bootstrap
1031 @if cloog-no-bootstrap
1032 all-host: maybe-all-cloog
1033 @endif cloog-no-bootstrap
1034 @if libelf-no-bootstrap
1035 all-host: maybe-all-libelf
1036 @endif libelf-no-bootstrap
1037 @if gold-no-bootstrap
1038 all-host: maybe-all-gold
1039 @endif gold-no-bootstrap
1040 all-host: maybe-all-gprof
1041 @if intl-no-bootstrap
1042 all-host: maybe-all-intl
1043 @endif intl-no-bootstrap
1044 all-host: maybe-all-tcl
1045 all-host: maybe-all-itcl
1046 @if ld-no-bootstrap
1047 all-host: maybe-all-ld
1048 @endif ld-no-bootstrap
1049 @if libbacktrace-no-bootstrap
1050 all-host: maybe-all-libbacktrace
1051 @endif libbacktrace-no-bootstrap
1052 @if libcpp-no-bootstrap
1053 all-host: maybe-all-libcpp
1054 @endif libcpp-no-bootstrap
1055 @if libdecnumber-no-bootstrap
1056 all-host: maybe-all-libdecnumber
1057 @endif libdecnumber-no-bootstrap
1058 all-host: maybe-all-libgui
1059 @if libiberty-no-bootstrap
1060 all-host: maybe-all-libiberty
1061 @endif libiberty-no-bootstrap
1062 @if libiberty-linker-plugin-no-bootstrap
1063 all-host: maybe-all-libiberty-linker-plugin
1064 @endif libiberty-linker-plugin-no-bootstrap
1065 all-host: maybe-all-libiconv
1066 all-host: maybe-all-m4
1067 all-host: maybe-all-readline
1068 all-host: maybe-all-sid
1069 all-host: maybe-all-sim
1070 all-host: maybe-all-texinfo
1071 @if zlib-no-bootstrap
1072 all-host: maybe-all-zlib
1073 @endif zlib-no-bootstrap
1074 all-host: maybe-all-gdb
1075 all-host: maybe-all-expect
1076 all-host: maybe-all-guile
1077 all-host: maybe-all-tk
1078 all-host: maybe-all-libtermcap
1079 all-host: maybe-all-utils
1080 all-host: maybe-all-gnattools
1081 @if lto-plugin-no-bootstrap
1082 all-host: maybe-all-lto-plugin
1083 @endif lto-plugin-no-bootstrap
1085 .PHONY: all-target
1087 @if target-libstdc++-v3-no-bootstrap
1088 all-target: maybe-all-target-libstdc++-v3
1089 @endif target-libstdc++-v3-no-bootstrap
1090 @if target-libsanitizer-no-bootstrap
1091 all-target: maybe-all-target-libsanitizer
1092 @endif target-libsanitizer-no-bootstrap
1093 @if target-libvtv-no-bootstrap
1094 all-target: maybe-all-target-libvtv
1095 @endif target-libvtv-no-bootstrap
1096 all-target: maybe-all-target-libcilkrts
1097 all-target: maybe-all-target-libssp
1098 all-target: maybe-all-target-newlib
1099 @if target-libgcc-no-bootstrap
1100 all-target: maybe-all-target-libgcc
1101 @endif target-libgcc-no-bootstrap
1102 all-target: maybe-all-target-libbacktrace
1103 all-target: maybe-all-target-libquadmath
1104 all-target: maybe-all-target-libgfortran
1105 all-target: maybe-all-target-libobjc
1106 all-target: maybe-all-target-libgo
1107 all-target: maybe-all-target-libtermcap
1108 all-target: maybe-all-target-winsup
1109 all-target: maybe-all-target-libgloss
1110 all-target: maybe-all-target-libffi
1111 all-target: maybe-all-target-libjava
1112 all-target: maybe-all-target-zlib
1113 all-target: maybe-all-target-boehm-gc
1114 all-target: maybe-all-target-rda
1115 all-target: maybe-all-target-libada
1116 @if target-libgomp-no-bootstrap
1117 all-target: maybe-all-target-libgomp
1118 @endif target-libgomp-no-bootstrap
1119 all-target: maybe-all-target-libitm
1120 all-target: maybe-all-target-libatomic
1122 # Do a target for all the subdirectories. A ``make do-X'' will do a
1123 # ``make X'' in all subdirectories (because, in general, there is a
1124 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1125 # but it may do additional work as well).
1127 .PHONY: do-info
1128 do-info:
1129 @: $(MAKE); $(unstage)
1130 @r=`${PWD_COMMAND}`; export r; \
1131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1132 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1133 info-target
1136 .PHONY: info-host
1138 info-host: maybe-info-bfd
1139 info-host: maybe-info-opcodes
1140 info-host: maybe-info-binutils
1141 info-host: maybe-info-bison
1142 info-host: maybe-info-cgen
1143 info-host: maybe-info-dejagnu
1144 info-host: maybe-info-etc
1145 info-host: maybe-info-fastjar
1146 info-host: maybe-info-fixincludes
1147 info-host: maybe-info-flex
1148 info-host: maybe-info-gas
1149 info-host: maybe-info-gcc
1150 info-host: maybe-info-gmp
1151 info-host: maybe-info-mpfr
1152 info-host: maybe-info-mpc
1153 info-host: maybe-info-isl
1154 info-host: maybe-info-cloog
1155 info-host: maybe-info-libelf
1156 info-host: maybe-info-gold
1157 info-host: maybe-info-gprof
1158 info-host: maybe-info-intl
1159 info-host: maybe-info-tcl
1160 info-host: maybe-info-itcl
1161 info-host: maybe-info-ld
1162 info-host: maybe-info-libbacktrace
1163 info-host: maybe-info-libcpp
1164 info-host: maybe-info-libdecnumber
1165 info-host: maybe-info-libgui
1166 info-host: maybe-info-libiberty
1167 info-host: maybe-info-libiberty-linker-plugin
1168 info-host: maybe-info-libiconv
1169 info-host: maybe-info-m4
1170 info-host: maybe-info-readline
1171 info-host: maybe-info-sid
1172 info-host: maybe-info-sim
1173 info-host: maybe-info-texinfo
1174 info-host: maybe-info-zlib
1175 info-host: maybe-info-gdb
1176 info-host: maybe-info-expect
1177 info-host: maybe-info-guile
1178 info-host: maybe-info-tk
1179 info-host: maybe-info-libtermcap
1180 info-host: maybe-info-utils
1181 info-host: maybe-info-gnattools
1182 info-host: maybe-info-lto-plugin
1184 .PHONY: info-target
1186 info-target: maybe-info-target-libstdc++-v3
1187 info-target: maybe-info-target-libsanitizer
1188 info-target: maybe-info-target-libvtv
1189 info-target: maybe-info-target-libcilkrts
1190 info-target: maybe-info-target-libssp
1191 info-target: maybe-info-target-newlib
1192 info-target: maybe-info-target-libgcc
1193 info-target: maybe-info-target-libbacktrace
1194 info-target: maybe-info-target-libquadmath
1195 info-target: maybe-info-target-libgfortran
1196 info-target: maybe-info-target-libobjc
1197 info-target: maybe-info-target-libgo
1198 info-target: maybe-info-target-libtermcap
1199 info-target: maybe-info-target-winsup
1200 info-target: maybe-info-target-libgloss
1201 info-target: maybe-info-target-libffi
1202 info-target: maybe-info-target-libjava
1203 info-target: maybe-info-target-zlib
1204 info-target: maybe-info-target-boehm-gc
1205 info-target: maybe-info-target-rda
1206 info-target: maybe-info-target-libada
1207 info-target: maybe-info-target-libgomp
1208 info-target: maybe-info-target-libitm
1209 info-target: maybe-info-target-libatomic
1211 .PHONY: do-dvi
1212 do-dvi:
1213 @: $(MAKE); $(unstage)
1214 @r=`${PWD_COMMAND}`; export r; \
1215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1216 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1217 dvi-target
1220 .PHONY: dvi-host
1222 dvi-host: maybe-dvi-bfd
1223 dvi-host: maybe-dvi-opcodes
1224 dvi-host: maybe-dvi-binutils
1225 dvi-host: maybe-dvi-bison
1226 dvi-host: maybe-dvi-cgen
1227 dvi-host: maybe-dvi-dejagnu
1228 dvi-host: maybe-dvi-etc
1229 dvi-host: maybe-dvi-fastjar
1230 dvi-host: maybe-dvi-fixincludes
1231 dvi-host: maybe-dvi-flex
1232 dvi-host: maybe-dvi-gas
1233 dvi-host: maybe-dvi-gcc
1234 dvi-host: maybe-dvi-gmp
1235 dvi-host: maybe-dvi-mpfr
1236 dvi-host: maybe-dvi-mpc
1237 dvi-host: maybe-dvi-isl
1238 dvi-host: maybe-dvi-cloog
1239 dvi-host: maybe-dvi-libelf
1240 dvi-host: maybe-dvi-gold
1241 dvi-host: maybe-dvi-gprof
1242 dvi-host: maybe-dvi-intl
1243 dvi-host: maybe-dvi-tcl
1244 dvi-host: maybe-dvi-itcl
1245 dvi-host: maybe-dvi-ld
1246 dvi-host: maybe-dvi-libbacktrace
1247 dvi-host: maybe-dvi-libcpp
1248 dvi-host: maybe-dvi-libdecnumber
1249 dvi-host: maybe-dvi-libgui
1250 dvi-host: maybe-dvi-libiberty
1251 dvi-host: maybe-dvi-libiberty-linker-plugin
1252 dvi-host: maybe-dvi-libiconv
1253 dvi-host: maybe-dvi-m4
1254 dvi-host: maybe-dvi-readline
1255 dvi-host: maybe-dvi-sid
1256 dvi-host: maybe-dvi-sim
1257 dvi-host: maybe-dvi-texinfo
1258 dvi-host: maybe-dvi-zlib
1259 dvi-host: maybe-dvi-gdb
1260 dvi-host: maybe-dvi-expect
1261 dvi-host: maybe-dvi-guile
1262 dvi-host: maybe-dvi-tk
1263 dvi-host: maybe-dvi-libtermcap
1264 dvi-host: maybe-dvi-utils
1265 dvi-host: maybe-dvi-gnattools
1266 dvi-host: maybe-dvi-lto-plugin
1268 .PHONY: dvi-target
1270 dvi-target: maybe-dvi-target-libstdc++-v3
1271 dvi-target: maybe-dvi-target-libsanitizer
1272 dvi-target: maybe-dvi-target-libvtv
1273 dvi-target: maybe-dvi-target-libcilkrts
1274 dvi-target: maybe-dvi-target-libssp
1275 dvi-target: maybe-dvi-target-newlib
1276 dvi-target: maybe-dvi-target-libgcc
1277 dvi-target: maybe-dvi-target-libbacktrace
1278 dvi-target: maybe-dvi-target-libquadmath
1279 dvi-target: maybe-dvi-target-libgfortran
1280 dvi-target: maybe-dvi-target-libobjc
1281 dvi-target: maybe-dvi-target-libgo
1282 dvi-target: maybe-dvi-target-libtermcap
1283 dvi-target: maybe-dvi-target-winsup
1284 dvi-target: maybe-dvi-target-libgloss
1285 dvi-target: maybe-dvi-target-libffi
1286 dvi-target: maybe-dvi-target-libjava
1287 dvi-target: maybe-dvi-target-zlib
1288 dvi-target: maybe-dvi-target-boehm-gc
1289 dvi-target: maybe-dvi-target-rda
1290 dvi-target: maybe-dvi-target-libada
1291 dvi-target: maybe-dvi-target-libgomp
1292 dvi-target: maybe-dvi-target-libitm
1293 dvi-target: maybe-dvi-target-libatomic
1295 .PHONY: do-pdf
1296 do-pdf:
1297 @: $(MAKE); $(unstage)
1298 @r=`${PWD_COMMAND}`; export r; \
1299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1300 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1301 pdf-target
1304 .PHONY: pdf-host
1306 pdf-host: maybe-pdf-bfd
1307 pdf-host: maybe-pdf-opcodes
1308 pdf-host: maybe-pdf-binutils
1309 pdf-host: maybe-pdf-bison
1310 pdf-host: maybe-pdf-cgen
1311 pdf-host: maybe-pdf-dejagnu
1312 pdf-host: maybe-pdf-etc
1313 pdf-host: maybe-pdf-fastjar
1314 pdf-host: maybe-pdf-fixincludes
1315 pdf-host: maybe-pdf-flex
1316 pdf-host: maybe-pdf-gas
1317 pdf-host: maybe-pdf-gcc
1318 pdf-host: maybe-pdf-gmp
1319 pdf-host: maybe-pdf-mpfr
1320 pdf-host: maybe-pdf-mpc
1321 pdf-host: maybe-pdf-isl
1322 pdf-host: maybe-pdf-cloog
1323 pdf-host: maybe-pdf-libelf
1324 pdf-host: maybe-pdf-gold
1325 pdf-host: maybe-pdf-gprof
1326 pdf-host: maybe-pdf-intl
1327 pdf-host: maybe-pdf-tcl
1328 pdf-host: maybe-pdf-itcl
1329 pdf-host: maybe-pdf-ld
1330 pdf-host: maybe-pdf-libbacktrace
1331 pdf-host: maybe-pdf-libcpp
1332 pdf-host: maybe-pdf-libdecnumber
1333 pdf-host: maybe-pdf-libgui
1334 pdf-host: maybe-pdf-libiberty
1335 pdf-host: maybe-pdf-libiberty-linker-plugin
1336 pdf-host: maybe-pdf-libiconv
1337 pdf-host: maybe-pdf-m4
1338 pdf-host: maybe-pdf-readline
1339 pdf-host: maybe-pdf-sid
1340 pdf-host: maybe-pdf-sim
1341 pdf-host: maybe-pdf-texinfo
1342 pdf-host: maybe-pdf-zlib
1343 pdf-host: maybe-pdf-gdb
1344 pdf-host: maybe-pdf-expect
1345 pdf-host: maybe-pdf-guile
1346 pdf-host: maybe-pdf-tk
1347 pdf-host: maybe-pdf-libtermcap
1348 pdf-host: maybe-pdf-utils
1349 pdf-host: maybe-pdf-gnattools
1350 pdf-host: maybe-pdf-lto-plugin
1352 .PHONY: pdf-target
1354 pdf-target: maybe-pdf-target-libstdc++-v3
1355 pdf-target: maybe-pdf-target-libsanitizer
1356 pdf-target: maybe-pdf-target-libvtv
1357 pdf-target: maybe-pdf-target-libcilkrts
1358 pdf-target: maybe-pdf-target-libssp
1359 pdf-target: maybe-pdf-target-newlib
1360 pdf-target: maybe-pdf-target-libgcc
1361 pdf-target: maybe-pdf-target-libbacktrace
1362 pdf-target: maybe-pdf-target-libquadmath
1363 pdf-target: maybe-pdf-target-libgfortran
1364 pdf-target: maybe-pdf-target-libobjc
1365 pdf-target: maybe-pdf-target-libgo
1366 pdf-target: maybe-pdf-target-libtermcap
1367 pdf-target: maybe-pdf-target-winsup
1368 pdf-target: maybe-pdf-target-libgloss
1369 pdf-target: maybe-pdf-target-libffi
1370 pdf-target: maybe-pdf-target-libjava
1371 pdf-target: maybe-pdf-target-zlib
1372 pdf-target: maybe-pdf-target-boehm-gc
1373 pdf-target: maybe-pdf-target-rda
1374 pdf-target: maybe-pdf-target-libada
1375 pdf-target: maybe-pdf-target-libgomp
1376 pdf-target: maybe-pdf-target-libitm
1377 pdf-target: maybe-pdf-target-libatomic
1379 .PHONY: do-html
1380 do-html:
1381 @: $(MAKE); $(unstage)
1382 @r=`${PWD_COMMAND}`; export r; \
1383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1384 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1385 html-target
1388 .PHONY: html-host
1390 html-host: maybe-html-bfd
1391 html-host: maybe-html-opcodes
1392 html-host: maybe-html-binutils
1393 html-host: maybe-html-bison
1394 html-host: maybe-html-cgen
1395 html-host: maybe-html-dejagnu
1396 html-host: maybe-html-etc
1397 html-host: maybe-html-fastjar
1398 html-host: maybe-html-fixincludes
1399 html-host: maybe-html-flex
1400 html-host: maybe-html-gas
1401 html-host: maybe-html-gcc
1402 html-host: maybe-html-gmp
1403 html-host: maybe-html-mpfr
1404 html-host: maybe-html-mpc
1405 html-host: maybe-html-isl
1406 html-host: maybe-html-cloog
1407 html-host: maybe-html-libelf
1408 html-host: maybe-html-gold
1409 html-host: maybe-html-gprof
1410 html-host: maybe-html-intl
1411 html-host: maybe-html-tcl
1412 html-host: maybe-html-itcl
1413 html-host: maybe-html-ld
1414 html-host: maybe-html-libbacktrace
1415 html-host: maybe-html-libcpp
1416 html-host: maybe-html-libdecnumber
1417 html-host: maybe-html-libgui
1418 html-host: maybe-html-libiberty
1419 html-host: maybe-html-libiberty-linker-plugin
1420 html-host: maybe-html-libiconv
1421 html-host: maybe-html-m4
1422 html-host: maybe-html-readline
1423 html-host: maybe-html-sid
1424 html-host: maybe-html-sim
1425 html-host: maybe-html-texinfo
1426 html-host: maybe-html-zlib
1427 html-host: maybe-html-gdb
1428 html-host: maybe-html-expect
1429 html-host: maybe-html-guile
1430 html-host: maybe-html-tk
1431 html-host: maybe-html-libtermcap
1432 html-host: maybe-html-utils
1433 html-host: maybe-html-gnattools
1434 html-host: maybe-html-lto-plugin
1436 .PHONY: html-target
1438 html-target: maybe-html-target-libstdc++-v3
1439 html-target: maybe-html-target-libsanitizer
1440 html-target: maybe-html-target-libvtv
1441 html-target: maybe-html-target-libcilkrts
1442 html-target: maybe-html-target-libssp
1443 html-target: maybe-html-target-newlib
1444 html-target: maybe-html-target-libgcc
1445 html-target: maybe-html-target-libbacktrace
1446 html-target: maybe-html-target-libquadmath
1447 html-target: maybe-html-target-libgfortran
1448 html-target: maybe-html-target-libobjc
1449 html-target: maybe-html-target-libgo
1450 html-target: maybe-html-target-libtermcap
1451 html-target: maybe-html-target-winsup
1452 html-target: maybe-html-target-libgloss
1453 html-target: maybe-html-target-libffi
1454 html-target: maybe-html-target-libjava
1455 html-target: maybe-html-target-zlib
1456 html-target: maybe-html-target-boehm-gc
1457 html-target: maybe-html-target-rda
1458 html-target: maybe-html-target-libada
1459 html-target: maybe-html-target-libgomp
1460 html-target: maybe-html-target-libitm
1461 html-target: maybe-html-target-libatomic
1463 .PHONY: do-TAGS
1464 do-TAGS:
1465 @: $(MAKE); $(unstage)
1466 @r=`${PWD_COMMAND}`; export r; \
1467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1468 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1469 TAGS-target
1472 .PHONY: TAGS-host
1474 TAGS-host: maybe-TAGS-bfd
1475 TAGS-host: maybe-TAGS-opcodes
1476 TAGS-host: maybe-TAGS-binutils
1477 TAGS-host: maybe-TAGS-bison
1478 TAGS-host: maybe-TAGS-cgen
1479 TAGS-host: maybe-TAGS-dejagnu
1480 TAGS-host: maybe-TAGS-etc
1481 TAGS-host: maybe-TAGS-fastjar
1482 TAGS-host: maybe-TAGS-fixincludes
1483 TAGS-host: maybe-TAGS-flex
1484 TAGS-host: maybe-TAGS-gas
1485 TAGS-host: maybe-TAGS-gcc
1486 TAGS-host: maybe-TAGS-gmp
1487 TAGS-host: maybe-TAGS-mpfr
1488 TAGS-host: maybe-TAGS-mpc
1489 TAGS-host: maybe-TAGS-isl
1490 TAGS-host: maybe-TAGS-cloog
1491 TAGS-host: maybe-TAGS-libelf
1492 TAGS-host: maybe-TAGS-gold
1493 TAGS-host: maybe-TAGS-gprof
1494 TAGS-host: maybe-TAGS-intl
1495 TAGS-host: maybe-TAGS-tcl
1496 TAGS-host: maybe-TAGS-itcl
1497 TAGS-host: maybe-TAGS-ld
1498 TAGS-host: maybe-TAGS-libbacktrace
1499 TAGS-host: maybe-TAGS-libcpp
1500 TAGS-host: maybe-TAGS-libdecnumber
1501 TAGS-host: maybe-TAGS-libgui
1502 TAGS-host: maybe-TAGS-libiberty
1503 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1504 TAGS-host: maybe-TAGS-libiconv
1505 TAGS-host: maybe-TAGS-m4
1506 TAGS-host: maybe-TAGS-readline
1507 TAGS-host: maybe-TAGS-sid
1508 TAGS-host: maybe-TAGS-sim
1509 TAGS-host: maybe-TAGS-texinfo
1510 TAGS-host: maybe-TAGS-zlib
1511 TAGS-host: maybe-TAGS-gdb
1512 TAGS-host: maybe-TAGS-expect
1513 TAGS-host: maybe-TAGS-guile
1514 TAGS-host: maybe-TAGS-tk
1515 TAGS-host: maybe-TAGS-libtermcap
1516 TAGS-host: maybe-TAGS-utils
1517 TAGS-host: maybe-TAGS-gnattools
1518 TAGS-host: maybe-TAGS-lto-plugin
1520 .PHONY: TAGS-target
1522 TAGS-target: maybe-TAGS-target-libstdc++-v3
1523 TAGS-target: maybe-TAGS-target-libsanitizer
1524 TAGS-target: maybe-TAGS-target-libvtv
1525 TAGS-target: maybe-TAGS-target-libcilkrts
1526 TAGS-target: maybe-TAGS-target-libssp
1527 TAGS-target: maybe-TAGS-target-newlib
1528 TAGS-target: maybe-TAGS-target-libgcc
1529 TAGS-target: maybe-TAGS-target-libbacktrace
1530 TAGS-target: maybe-TAGS-target-libquadmath
1531 TAGS-target: maybe-TAGS-target-libgfortran
1532 TAGS-target: maybe-TAGS-target-libobjc
1533 TAGS-target: maybe-TAGS-target-libgo
1534 TAGS-target: maybe-TAGS-target-libtermcap
1535 TAGS-target: maybe-TAGS-target-winsup
1536 TAGS-target: maybe-TAGS-target-libgloss
1537 TAGS-target: maybe-TAGS-target-libffi
1538 TAGS-target: maybe-TAGS-target-libjava
1539 TAGS-target: maybe-TAGS-target-zlib
1540 TAGS-target: maybe-TAGS-target-boehm-gc
1541 TAGS-target: maybe-TAGS-target-rda
1542 TAGS-target: maybe-TAGS-target-libada
1543 TAGS-target: maybe-TAGS-target-libgomp
1544 TAGS-target: maybe-TAGS-target-libitm
1545 TAGS-target: maybe-TAGS-target-libatomic
1547 .PHONY: do-install-info
1548 do-install-info:
1549 @: $(MAKE); $(unstage)
1550 @r=`${PWD_COMMAND}`; export r; \
1551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1552 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1553 install-info-target
1556 .PHONY: install-info-host
1558 install-info-host: maybe-install-info-bfd
1559 install-info-host: maybe-install-info-opcodes
1560 install-info-host: maybe-install-info-binutils
1561 install-info-host: maybe-install-info-bison
1562 install-info-host: maybe-install-info-cgen
1563 install-info-host: maybe-install-info-dejagnu
1564 install-info-host: maybe-install-info-etc
1565 install-info-host: maybe-install-info-fastjar
1566 install-info-host: maybe-install-info-fixincludes
1567 install-info-host: maybe-install-info-flex
1568 install-info-host: maybe-install-info-gas
1569 install-info-host: maybe-install-info-gcc
1570 install-info-host: maybe-install-info-gmp
1571 install-info-host: maybe-install-info-mpfr
1572 install-info-host: maybe-install-info-mpc
1573 install-info-host: maybe-install-info-isl
1574 install-info-host: maybe-install-info-cloog
1575 install-info-host: maybe-install-info-libelf
1576 install-info-host: maybe-install-info-gold
1577 install-info-host: maybe-install-info-gprof
1578 install-info-host: maybe-install-info-intl
1579 install-info-host: maybe-install-info-tcl
1580 install-info-host: maybe-install-info-itcl
1581 install-info-host: maybe-install-info-ld
1582 install-info-host: maybe-install-info-libbacktrace
1583 install-info-host: maybe-install-info-libcpp
1584 install-info-host: maybe-install-info-libdecnumber
1585 install-info-host: maybe-install-info-libgui
1586 install-info-host: maybe-install-info-libiberty
1587 install-info-host: maybe-install-info-libiberty-linker-plugin
1588 install-info-host: maybe-install-info-libiconv
1589 install-info-host: maybe-install-info-m4
1590 install-info-host: maybe-install-info-readline
1591 install-info-host: maybe-install-info-sid
1592 install-info-host: maybe-install-info-sim
1593 install-info-host: maybe-install-info-texinfo
1594 install-info-host: maybe-install-info-zlib
1595 install-info-host: maybe-install-info-gdb
1596 install-info-host: maybe-install-info-expect
1597 install-info-host: maybe-install-info-guile
1598 install-info-host: maybe-install-info-tk
1599 install-info-host: maybe-install-info-libtermcap
1600 install-info-host: maybe-install-info-utils
1601 install-info-host: maybe-install-info-gnattools
1602 install-info-host: maybe-install-info-lto-plugin
1604 .PHONY: install-info-target
1606 install-info-target: maybe-install-info-target-libstdc++-v3
1607 install-info-target: maybe-install-info-target-libsanitizer
1608 install-info-target: maybe-install-info-target-libvtv
1609 install-info-target: maybe-install-info-target-libcilkrts
1610 install-info-target: maybe-install-info-target-libssp
1611 install-info-target: maybe-install-info-target-newlib
1612 install-info-target: maybe-install-info-target-libgcc
1613 install-info-target: maybe-install-info-target-libbacktrace
1614 install-info-target: maybe-install-info-target-libquadmath
1615 install-info-target: maybe-install-info-target-libgfortran
1616 install-info-target: maybe-install-info-target-libobjc
1617 install-info-target: maybe-install-info-target-libgo
1618 install-info-target: maybe-install-info-target-libtermcap
1619 install-info-target: maybe-install-info-target-winsup
1620 install-info-target: maybe-install-info-target-libgloss
1621 install-info-target: maybe-install-info-target-libffi
1622 install-info-target: maybe-install-info-target-libjava
1623 install-info-target: maybe-install-info-target-zlib
1624 install-info-target: maybe-install-info-target-boehm-gc
1625 install-info-target: maybe-install-info-target-rda
1626 install-info-target: maybe-install-info-target-libada
1627 install-info-target: maybe-install-info-target-libgomp
1628 install-info-target: maybe-install-info-target-libitm
1629 install-info-target: maybe-install-info-target-libatomic
1631 .PHONY: do-install-pdf
1632 do-install-pdf:
1633 @: $(MAKE); $(unstage)
1634 @r=`${PWD_COMMAND}`; export r; \
1635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1636 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1637 install-pdf-target
1640 .PHONY: install-pdf-host
1642 install-pdf-host: maybe-install-pdf-bfd
1643 install-pdf-host: maybe-install-pdf-opcodes
1644 install-pdf-host: maybe-install-pdf-binutils
1645 install-pdf-host: maybe-install-pdf-bison
1646 install-pdf-host: maybe-install-pdf-cgen
1647 install-pdf-host: maybe-install-pdf-dejagnu
1648 install-pdf-host: maybe-install-pdf-etc
1649 install-pdf-host: maybe-install-pdf-fastjar
1650 install-pdf-host: maybe-install-pdf-fixincludes
1651 install-pdf-host: maybe-install-pdf-flex
1652 install-pdf-host: maybe-install-pdf-gas
1653 install-pdf-host: maybe-install-pdf-gcc
1654 install-pdf-host: maybe-install-pdf-gmp
1655 install-pdf-host: maybe-install-pdf-mpfr
1656 install-pdf-host: maybe-install-pdf-mpc
1657 install-pdf-host: maybe-install-pdf-isl
1658 install-pdf-host: maybe-install-pdf-cloog
1659 install-pdf-host: maybe-install-pdf-libelf
1660 install-pdf-host: maybe-install-pdf-gold
1661 install-pdf-host: maybe-install-pdf-gprof
1662 install-pdf-host: maybe-install-pdf-intl
1663 install-pdf-host: maybe-install-pdf-tcl
1664 install-pdf-host: maybe-install-pdf-itcl
1665 install-pdf-host: maybe-install-pdf-ld
1666 install-pdf-host: maybe-install-pdf-libbacktrace
1667 install-pdf-host: maybe-install-pdf-libcpp
1668 install-pdf-host: maybe-install-pdf-libdecnumber
1669 install-pdf-host: maybe-install-pdf-libgui
1670 install-pdf-host: maybe-install-pdf-libiberty
1671 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1672 install-pdf-host: maybe-install-pdf-libiconv
1673 install-pdf-host: maybe-install-pdf-m4
1674 install-pdf-host: maybe-install-pdf-readline
1675 install-pdf-host: maybe-install-pdf-sid
1676 install-pdf-host: maybe-install-pdf-sim
1677 install-pdf-host: maybe-install-pdf-texinfo
1678 install-pdf-host: maybe-install-pdf-zlib
1679 install-pdf-host: maybe-install-pdf-gdb
1680 install-pdf-host: maybe-install-pdf-expect
1681 install-pdf-host: maybe-install-pdf-guile
1682 install-pdf-host: maybe-install-pdf-tk
1683 install-pdf-host: maybe-install-pdf-libtermcap
1684 install-pdf-host: maybe-install-pdf-utils
1685 install-pdf-host: maybe-install-pdf-gnattools
1686 install-pdf-host: maybe-install-pdf-lto-plugin
1688 .PHONY: install-pdf-target
1690 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1691 install-pdf-target: maybe-install-pdf-target-libsanitizer
1692 install-pdf-target: maybe-install-pdf-target-libvtv
1693 install-pdf-target: maybe-install-pdf-target-libcilkrts
1694 install-pdf-target: maybe-install-pdf-target-libssp
1695 install-pdf-target: maybe-install-pdf-target-newlib
1696 install-pdf-target: maybe-install-pdf-target-libgcc
1697 install-pdf-target: maybe-install-pdf-target-libbacktrace
1698 install-pdf-target: maybe-install-pdf-target-libquadmath
1699 install-pdf-target: maybe-install-pdf-target-libgfortran
1700 install-pdf-target: maybe-install-pdf-target-libobjc
1701 install-pdf-target: maybe-install-pdf-target-libgo
1702 install-pdf-target: maybe-install-pdf-target-libtermcap
1703 install-pdf-target: maybe-install-pdf-target-winsup
1704 install-pdf-target: maybe-install-pdf-target-libgloss
1705 install-pdf-target: maybe-install-pdf-target-libffi
1706 install-pdf-target: maybe-install-pdf-target-libjava
1707 install-pdf-target: maybe-install-pdf-target-zlib
1708 install-pdf-target: maybe-install-pdf-target-boehm-gc
1709 install-pdf-target: maybe-install-pdf-target-rda
1710 install-pdf-target: maybe-install-pdf-target-libada
1711 install-pdf-target: maybe-install-pdf-target-libgomp
1712 install-pdf-target: maybe-install-pdf-target-libitm
1713 install-pdf-target: maybe-install-pdf-target-libatomic
1715 .PHONY: do-install-html
1716 do-install-html:
1717 @: $(MAKE); $(unstage)
1718 @r=`${PWD_COMMAND}`; export r; \
1719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1720 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1721 install-html-target
1724 .PHONY: install-html-host
1726 install-html-host: maybe-install-html-bfd
1727 install-html-host: maybe-install-html-opcodes
1728 install-html-host: maybe-install-html-binutils
1729 install-html-host: maybe-install-html-bison
1730 install-html-host: maybe-install-html-cgen
1731 install-html-host: maybe-install-html-dejagnu
1732 install-html-host: maybe-install-html-etc
1733 install-html-host: maybe-install-html-fastjar
1734 install-html-host: maybe-install-html-fixincludes
1735 install-html-host: maybe-install-html-flex
1736 install-html-host: maybe-install-html-gas
1737 install-html-host: maybe-install-html-gcc
1738 install-html-host: maybe-install-html-gmp
1739 install-html-host: maybe-install-html-mpfr
1740 install-html-host: maybe-install-html-mpc
1741 install-html-host: maybe-install-html-isl
1742 install-html-host: maybe-install-html-cloog
1743 install-html-host: maybe-install-html-libelf
1744 install-html-host: maybe-install-html-gold
1745 install-html-host: maybe-install-html-gprof
1746 install-html-host: maybe-install-html-intl
1747 install-html-host: maybe-install-html-tcl
1748 install-html-host: maybe-install-html-itcl
1749 install-html-host: maybe-install-html-ld
1750 install-html-host: maybe-install-html-libbacktrace
1751 install-html-host: maybe-install-html-libcpp
1752 install-html-host: maybe-install-html-libdecnumber
1753 install-html-host: maybe-install-html-libgui
1754 install-html-host: maybe-install-html-libiberty
1755 install-html-host: maybe-install-html-libiberty-linker-plugin
1756 install-html-host: maybe-install-html-libiconv
1757 install-html-host: maybe-install-html-m4
1758 install-html-host: maybe-install-html-readline
1759 install-html-host: maybe-install-html-sid
1760 install-html-host: maybe-install-html-sim
1761 install-html-host: maybe-install-html-texinfo
1762 install-html-host: maybe-install-html-zlib
1763 install-html-host: maybe-install-html-gdb
1764 install-html-host: maybe-install-html-expect
1765 install-html-host: maybe-install-html-guile
1766 install-html-host: maybe-install-html-tk
1767 install-html-host: maybe-install-html-libtermcap
1768 install-html-host: maybe-install-html-utils
1769 install-html-host: maybe-install-html-gnattools
1770 install-html-host: maybe-install-html-lto-plugin
1772 .PHONY: install-html-target
1774 install-html-target: maybe-install-html-target-libstdc++-v3
1775 install-html-target: maybe-install-html-target-libsanitizer
1776 install-html-target: maybe-install-html-target-libvtv
1777 install-html-target: maybe-install-html-target-libcilkrts
1778 install-html-target: maybe-install-html-target-libssp
1779 install-html-target: maybe-install-html-target-newlib
1780 install-html-target: maybe-install-html-target-libgcc
1781 install-html-target: maybe-install-html-target-libbacktrace
1782 install-html-target: maybe-install-html-target-libquadmath
1783 install-html-target: maybe-install-html-target-libgfortran
1784 install-html-target: maybe-install-html-target-libobjc
1785 install-html-target: maybe-install-html-target-libgo
1786 install-html-target: maybe-install-html-target-libtermcap
1787 install-html-target: maybe-install-html-target-winsup
1788 install-html-target: maybe-install-html-target-libgloss
1789 install-html-target: maybe-install-html-target-libffi
1790 install-html-target: maybe-install-html-target-libjava
1791 install-html-target: maybe-install-html-target-zlib
1792 install-html-target: maybe-install-html-target-boehm-gc
1793 install-html-target: maybe-install-html-target-rda
1794 install-html-target: maybe-install-html-target-libada
1795 install-html-target: maybe-install-html-target-libgomp
1796 install-html-target: maybe-install-html-target-libitm
1797 install-html-target: maybe-install-html-target-libatomic
1799 .PHONY: do-installcheck
1800 do-installcheck:
1801 @: $(MAKE); $(unstage)
1802 @r=`${PWD_COMMAND}`; export r; \
1803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1805 installcheck-target
1808 .PHONY: installcheck-host
1810 installcheck-host: maybe-installcheck-bfd
1811 installcheck-host: maybe-installcheck-opcodes
1812 installcheck-host: maybe-installcheck-binutils
1813 installcheck-host: maybe-installcheck-bison
1814 installcheck-host: maybe-installcheck-cgen
1815 installcheck-host: maybe-installcheck-dejagnu
1816 installcheck-host: maybe-installcheck-etc
1817 installcheck-host: maybe-installcheck-fastjar
1818 installcheck-host: maybe-installcheck-fixincludes
1819 installcheck-host: maybe-installcheck-flex
1820 installcheck-host: maybe-installcheck-gas
1821 installcheck-host: maybe-installcheck-gcc
1822 installcheck-host: maybe-installcheck-gmp
1823 installcheck-host: maybe-installcheck-mpfr
1824 installcheck-host: maybe-installcheck-mpc
1825 installcheck-host: maybe-installcheck-isl
1826 installcheck-host: maybe-installcheck-cloog
1827 installcheck-host: maybe-installcheck-libelf
1828 installcheck-host: maybe-installcheck-gold
1829 installcheck-host: maybe-installcheck-gprof
1830 installcheck-host: maybe-installcheck-intl
1831 installcheck-host: maybe-installcheck-tcl
1832 installcheck-host: maybe-installcheck-itcl
1833 installcheck-host: maybe-installcheck-ld
1834 installcheck-host: maybe-installcheck-libbacktrace
1835 installcheck-host: maybe-installcheck-libcpp
1836 installcheck-host: maybe-installcheck-libdecnumber
1837 installcheck-host: maybe-installcheck-libgui
1838 installcheck-host: maybe-installcheck-libiberty
1839 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1840 installcheck-host: maybe-installcheck-libiconv
1841 installcheck-host: maybe-installcheck-m4
1842 installcheck-host: maybe-installcheck-readline
1843 installcheck-host: maybe-installcheck-sid
1844 installcheck-host: maybe-installcheck-sim
1845 installcheck-host: maybe-installcheck-texinfo
1846 installcheck-host: maybe-installcheck-zlib
1847 installcheck-host: maybe-installcheck-gdb
1848 installcheck-host: maybe-installcheck-expect
1849 installcheck-host: maybe-installcheck-guile
1850 installcheck-host: maybe-installcheck-tk
1851 installcheck-host: maybe-installcheck-libtermcap
1852 installcheck-host: maybe-installcheck-utils
1853 installcheck-host: maybe-installcheck-gnattools
1854 installcheck-host: maybe-installcheck-lto-plugin
1856 .PHONY: installcheck-target
1858 installcheck-target: maybe-installcheck-target-libstdc++-v3
1859 installcheck-target: maybe-installcheck-target-libsanitizer
1860 installcheck-target: maybe-installcheck-target-libvtv
1861 installcheck-target: maybe-installcheck-target-libcilkrts
1862 installcheck-target: maybe-installcheck-target-libssp
1863 installcheck-target: maybe-installcheck-target-newlib
1864 installcheck-target: maybe-installcheck-target-libgcc
1865 installcheck-target: maybe-installcheck-target-libbacktrace
1866 installcheck-target: maybe-installcheck-target-libquadmath
1867 installcheck-target: maybe-installcheck-target-libgfortran
1868 installcheck-target: maybe-installcheck-target-libobjc
1869 installcheck-target: maybe-installcheck-target-libgo
1870 installcheck-target: maybe-installcheck-target-libtermcap
1871 installcheck-target: maybe-installcheck-target-winsup
1872 installcheck-target: maybe-installcheck-target-libgloss
1873 installcheck-target: maybe-installcheck-target-libffi
1874 installcheck-target: maybe-installcheck-target-libjava
1875 installcheck-target: maybe-installcheck-target-zlib
1876 installcheck-target: maybe-installcheck-target-boehm-gc
1877 installcheck-target: maybe-installcheck-target-rda
1878 installcheck-target: maybe-installcheck-target-libada
1879 installcheck-target: maybe-installcheck-target-libgomp
1880 installcheck-target: maybe-installcheck-target-libitm
1881 installcheck-target: maybe-installcheck-target-libatomic
1883 .PHONY: do-mostlyclean
1884 do-mostlyclean:
1885 @: $(MAKE); $(unstage)
1886 @r=`${PWD_COMMAND}`; export r; \
1887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1888 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1889 mostlyclean-target
1892 .PHONY: mostlyclean-host
1894 mostlyclean-host: maybe-mostlyclean-bfd
1895 mostlyclean-host: maybe-mostlyclean-opcodes
1896 mostlyclean-host: maybe-mostlyclean-binutils
1897 mostlyclean-host: maybe-mostlyclean-bison
1898 mostlyclean-host: maybe-mostlyclean-cgen
1899 mostlyclean-host: maybe-mostlyclean-dejagnu
1900 mostlyclean-host: maybe-mostlyclean-etc
1901 mostlyclean-host: maybe-mostlyclean-fastjar
1902 mostlyclean-host: maybe-mostlyclean-fixincludes
1903 mostlyclean-host: maybe-mostlyclean-flex
1904 mostlyclean-host: maybe-mostlyclean-gas
1905 mostlyclean-host: maybe-mostlyclean-gcc
1906 mostlyclean-host: maybe-mostlyclean-gmp
1907 mostlyclean-host: maybe-mostlyclean-mpfr
1908 mostlyclean-host: maybe-mostlyclean-mpc
1909 mostlyclean-host: maybe-mostlyclean-isl
1910 mostlyclean-host: maybe-mostlyclean-cloog
1911 mostlyclean-host: maybe-mostlyclean-libelf
1912 mostlyclean-host: maybe-mostlyclean-gold
1913 mostlyclean-host: maybe-mostlyclean-gprof
1914 mostlyclean-host: maybe-mostlyclean-intl
1915 mostlyclean-host: maybe-mostlyclean-tcl
1916 mostlyclean-host: maybe-mostlyclean-itcl
1917 mostlyclean-host: maybe-mostlyclean-ld
1918 mostlyclean-host: maybe-mostlyclean-libbacktrace
1919 mostlyclean-host: maybe-mostlyclean-libcpp
1920 mostlyclean-host: maybe-mostlyclean-libdecnumber
1921 mostlyclean-host: maybe-mostlyclean-libgui
1922 mostlyclean-host: maybe-mostlyclean-libiberty
1923 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1924 mostlyclean-host: maybe-mostlyclean-libiconv
1925 mostlyclean-host: maybe-mostlyclean-m4
1926 mostlyclean-host: maybe-mostlyclean-readline
1927 mostlyclean-host: maybe-mostlyclean-sid
1928 mostlyclean-host: maybe-mostlyclean-sim
1929 mostlyclean-host: maybe-mostlyclean-texinfo
1930 mostlyclean-host: maybe-mostlyclean-zlib
1931 mostlyclean-host: maybe-mostlyclean-gdb
1932 mostlyclean-host: maybe-mostlyclean-expect
1933 mostlyclean-host: maybe-mostlyclean-guile
1934 mostlyclean-host: maybe-mostlyclean-tk
1935 mostlyclean-host: maybe-mostlyclean-libtermcap
1936 mostlyclean-host: maybe-mostlyclean-utils
1937 mostlyclean-host: maybe-mostlyclean-gnattools
1938 mostlyclean-host: maybe-mostlyclean-lto-plugin
1940 .PHONY: mostlyclean-target
1942 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1943 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1944 mostlyclean-target: maybe-mostlyclean-target-libvtv
1945 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1946 mostlyclean-target: maybe-mostlyclean-target-libssp
1947 mostlyclean-target: maybe-mostlyclean-target-newlib
1948 mostlyclean-target: maybe-mostlyclean-target-libgcc
1949 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1950 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1951 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1952 mostlyclean-target: maybe-mostlyclean-target-libobjc
1953 mostlyclean-target: maybe-mostlyclean-target-libgo
1954 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1955 mostlyclean-target: maybe-mostlyclean-target-winsup
1956 mostlyclean-target: maybe-mostlyclean-target-libgloss
1957 mostlyclean-target: maybe-mostlyclean-target-libffi
1958 mostlyclean-target: maybe-mostlyclean-target-libjava
1959 mostlyclean-target: maybe-mostlyclean-target-zlib
1960 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1961 mostlyclean-target: maybe-mostlyclean-target-rda
1962 mostlyclean-target: maybe-mostlyclean-target-libada
1963 mostlyclean-target: maybe-mostlyclean-target-libgomp
1964 mostlyclean-target: maybe-mostlyclean-target-libitm
1965 mostlyclean-target: maybe-mostlyclean-target-libatomic
1967 .PHONY: do-clean
1968 do-clean:
1969 @: $(MAKE); $(unstage)
1970 @r=`${PWD_COMMAND}`; export r; \
1971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1973 clean-target
1976 .PHONY: clean-host
1978 clean-host: maybe-clean-bfd
1979 clean-host: maybe-clean-opcodes
1980 clean-host: maybe-clean-binutils
1981 clean-host: maybe-clean-bison
1982 clean-host: maybe-clean-cgen
1983 clean-host: maybe-clean-dejagnu
1984 clean-host: maybe-clean-etc
1985 clean-host: maybe-clean-fastjar
1986 clean-host: maybe-clean-fixincludes
1987 clean-host: maybe-clean-flex
1988 clean-host: maybe-clean-gas
1989 clean-host: maybe-clean-gcc
1990 clean-host: maybe-clean-gmp
1991 clean-host: maybe-clean-mpfr
1992 clean-host: maybe-clean-mpc
1993 clean-host: maybe-clean-isl
1994 clean-host: maybe-clean-cloog
1995 clean-host: maybe-clean-libelf
1996 clean-host: maybe-clean-gold
1997 clean-host: maybe-clean-gprof
1998 clean-host: maybe-clean-intl
1999 clean-host: maybe-clean-tcl
2000 clean-host: maybe-clean-itcl
2001 clean-host: maybe-clean-ld
2002 clean-host: maybe-clean-libbacktrace
2003 clean-host: maybe-clean-libcpp
2004 clean-host: maybe-clean-libdecnumber
2005 clean-host: maybe-clean-libgui
2006 clean-host: maybe-clean-libiberty
2007 clean-host: maybe-clean-libiberty-linker-plugin
2008 clean-host: maybe-clean-libiconv
2009 clean-host: maybe-clean-m4
2010 clean-host: maybe-clean-readline
2011 clean-host: maybe-clean-sid
2012 clean-host: maybe-clean-sim
2013 clean-host: maybe-clean-texinfo
2014 clean-host: maybe-clean-zlib
2015 clean-host: maybe-clean-gdb
2016 clean-host: maybe-clean-expect
2017 clean-host: maybe-clean-guile
2018 clean-host: maybe-clean-tk
2019 clean-host: maybe-clean-libtermcap
2020 clean-host: maybe-clean-utils
2021 clean-host: maybe-clean-gnattools
2022 clean-host: maybe-clean-lto-plugin
2024 .PHONY: clean-target
2026 clean-target: maybe-clean-target-libstdc++-v3
2027 clean-target: maybe-clean-target-libsanitizer
2028 clean-target: maybe-clean-target-libvtv
2029 clean-target: maybe-clean-target-libcilkrts
2030 clean-target: maybe-clean-target-libssp
2031 clean-target: maybe-clean-target-newlib
2032 clean-target: maybe-clean-target-libgcc
2033 clean-target: maybe-clean-target-libbacktrace
2034 clean-target: maybe-clean-target-libquadmath
2035 clean-target: maybe-clean-target-libgfortran
2036 clean-target: maybe-clean-target-libobjc
2037 clean-target: maybe-clean-target-libgo
2038 clean-target: maybe-clean-target-libtermcap
2039 clean-target: maybe-clean-target-winsup
2040 clean-target: maybe-clean-target-libgloss
2041 clean-target: maybe-clean-target-libffi
2042 clean-target: maybe-clean-target-libjava
2043 clean-target: maybe-clean-target-zlib
2044 clean-target: maybe-clean-target-boehm-gc
2045 clean-target: maybe-clean-target-rda
2046 clean-target: maybe-clean-target-libada
2047 clean-target: maybe-clean-target-libgomp
2048 clean-target: maybe-clean-target-libitm
2049 clean-target: maybe-clean-target-libatomic
2051 .PHONY: do-distclean
2052 do-distclean:
2053 @: $(MAKE); $(unstage)
2054 @r=`${PWD_COMMAND}`; export r; \
2055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2056 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2057 distclean-target
2060 .PHONY: distclean-host
2062 distclean-host: maybe-distclean-bfd
2063 distclean-host: maybe-distclean-opcodes
2064 distclean-host: maybe-distclean-binutils
2065 distclean-host: maybe-distclean-bison
2066 distclean-host: maybe-distclean-cgen
2067 distclean-host: maybe-distclean-dejagnu
2068 distclean-host: maybe-distclean-etc
2069 distclean-host: maybe-distclean-fastjar
2070 distclean-host: maybe-distclean-fixincludes
2071 distclean-host: maybe-distclean-flex
2072 distclean-host: maybe-distclean-gas
2073 distclean-host: maybe-distclean-gcc
2074 distclean-host: maybe-distclean-gmp
2075 distclean-host: maybe-distclean-mpfr
2076 distclean-host: maybe-distclean-mpc
2077 distclean-host: maybe-distclean-isl
2078 distclean-host: maybe-distclean-cloog
2079 distclean-host: maybe-distclean-libelf
2080 distclean-host: maybe-distclean-gold
2081 distclean-host: maybe-distclean-gprof
2082 distclean-host: maybe-distclean-intl
2083 distclean-host: maybe-distclean-tcl
2084 distclean-host: maybe-distclean-itcl
2085 distclean-host: maybe-distclean-ld
2086 distclean-host: maybe-distclean-libbacktrace
2087 distclean-host: maybe-distclean-libcpp
2088 distclean-host: maybe-distclean-libdecnumber
2089 distclean-host: maybe-distclean-libgui
2090 distclean-host: maybe-distclean-libiberty
2091 distclean-host: maybe-distclean-libiberty-linker-plugin
2092 distclean-host: maybe-distclean-libiconv
2093 distclean-host: maybe-distclean-m4
2094 distclean-host: maybe-distclean-readline
2095 distclean-host: maybe-distclean-sid
2096 distclean-host: maybe-distclean-sim
2097 distclean-host: maybe-distclean-texinfo
2098 distclean-host: maybe-distclean-zlib
2099 distclean-host: maybe-distclean-gdb
2100 distclean-host: maybe-distclean-expect
2101 distclean-host: maybe-distclean-guile
2102 distclean-host: maybe-distclean-tk
2103 distclean-host: maybe-distclean-libtermcap
2104 distclean-host: maybe-distclean-utils
2105 distclean-host: maybe-distclean-gnattools
2106 distclean-host: maybe-distclean-lto-plugin
2108 .PHONY: distclean-target
2110 distclean-target: maybe-distclean-target-libstdc++-v3
2111 distclean-target: maybe-distclean-target-libsanitizer
2112 distclean-target: maybe-distclean-target-libvtv
2113 distclean-target: maybe-distclean-target-libcilkrts
2114 distclean-target: maybe-distclean-target-libssp
2115 distclean-target: maybe-distclean-target-newlib
2116 distclean-target: maybe-distclean-target-libgcc
2117 distclean-target: maybe-distclean-target-libbacktrace
2118 distclean-target: maybe-distclean-target-libquadmath
2119 distclean-target: maybe-distclean-target-libgfortran
2120 distclean-target: maybe-distclean-target-libobjc
2121 distclean-target: maybe-distclean-target-libgo
2122 distclean-target: maybe-distclean-target-libtermcap
2123 distclean-target: maybe-distclean-target-winsup
2124 distclean-target: maybe-distclean-target-libgloss
2125 distclean-target: maybe-distclean-target-libffi
2126 distclean-target: maybe-distclean-target-libjava
2127 distclean-target: maybe-distclean-target-zlib
2128 distclean-target: maybe-distclean-target-boehm-gc
2129 distclean-target: maybe-distclean-target-rda
2130 distclean-target: maybe-distclean-target-libada
2131 distclean-target: maybe-distclean-target-libgomp
2132 distclean-target: maybe-distclean-target-libitm
2133 distclean-target: maybe-distclean-target-libatomic
2135 .PHONY: do-maintainer-clean
2136 do-maintainer-clean:
2137 @: $(MAKE); $(unstage)
2138 @r=`${PWD_COMMAND}`; export r; \
2139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2140 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2141 maintainer-clean-target
2144 .PHONY: maintainer-clean-host
2146 maintainer-clean-host: maybe-maintainer-clean-bfd
2147 maintainer-clean-host: maybe-maintainer-clean-opcodes
2148 maintainer-clean-host: maybe-maintainer-clean-binutils
2149 maintainer-clean-host: maybe-maintainer-clean-bison
2150 maintainer-clean-host: maybe-maintainer-clean-cgen
2151 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2152 maintainer-clean-host: maybe-maintainer-clean-etc
2153 maintainer-clean-host: maybe-maintainer-clean-fastjar
2154 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2155 maintainer-clean-host: maybe-maintainer-clean-flex
2156 maintainer-clean-host: maybe-maintainer-clean-gas
2157 maintainer-clean-host: maybe-maintainer-clean-gcc
2158 maintainer-clean-host: maybe-maintainer-clean-gmp
2159 maintainer-clean-host: maybe-maintainer-clean-mpfr
2160 maintainer-clean-host: maybe-maintainer-clean-mpc
2161 maintainer-clean-host: maybe-maintainer-clean-isl
2162 maintainer-clean-host: maybe-maintainer-clean-cloog
2163 maintainer-clean-host: maybe-maintainer-clean-libelf
2164 maintainer-clean-host: maybe-maintainer-clean-gold
2165 maintainer-clean-host: maybe-maintainer-clean-gprof
2166 maintainer-clean-host: maybe-maintainer-clean-intl
2167 maintainer-clean-host: maybe-maintainer-clean-tcl
2168 maintainer-clean-host: maybe-maintainer-clean-itcl
2169 maintainer-clean-host: maybe-maintainer-clean-ld
2170 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2171 maintainer-clean-host: maybe-maintainer-clean-libcpp
2172 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2173 maintainer-clean-host: maybe-maintainer-clean-libgui
2174 maintainer-clean-host: maybe-maintainer-clean-libiberty
2175 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2176 maintainer-clean-host: maybe-maintainer-clean-libiconv
2177 maintainer-clean-host: maybe-maintainer-clean-m4
2178 maintainer-clean-host: maybe-maintainer-clean-readline
2179 maintainer-clean-host: maybe-maintainer-clean-sid
2180 maintainer-clean-host: maybe-maintainer-clean-sim
2181 maintainer-clean-host: maybe-maintainer-clean-texinfo
2182 maintainer-clean-host: maybe-maintainer-clean-zlib
2183 maintainer-clean-host: maybe-maintainer-clean-gdb
2184 maintainer-clean-host: maybe-maintainer-clean-expect
2185 maintainer-clean-host: maybe-maintainer-clean-guile
2186 maintainer-clean-host: maybe-maintainer-clean-tk
2187 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2188 maintainer-clean-host: maybe-maintainer-clean-utils
2189 maintainer-clean-host: maybe-maintainer-clean-gnattools
2190 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2192 .PHONY: maintainer-clean-target
2194 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2195 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2196 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2197 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2198 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2199 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2200 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2201 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2202 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2203 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2204 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2205 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2206 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2207 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2208 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2209 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2210 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2211 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2212 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2213 maintainer-clean-target: maybe-maintainer-clean-target-rda
2214 maintainer-clean-target: maybe-maintainer-clean-target-libada
2215 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2216 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2217 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2220 # Here are the targets which correspond to the do-X targets.
2222 .PHONY: info installcheck dvi pdf html
2223 .PHONY: install-info install-pdf install-html
2224 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2225 .PHONY: local-clean local-distclean local-maintainer-clean
2226 info: do-info
2227 installcheck: do-installcheck
2228 dvi: do-dvi
2229 pdf: do-pdf
2230 html: do-html
2232 # Make sure makeinfo is built before we do a `make info', if we're
2233 # in fact building texinfo.
2234 do-info: maybe-all-texinfo
2236 install-info: do-install-info dir.info
2237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2238 if [ -f dir.info ] ; then \
2239 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2240 else true ; fi
2242 install-pdf: do-install-pdf
2244 install-html: do-install-html
2246 local-clean:
2247 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2249 local-distclean:
2250 -rm -f Makefile config.status config.cache mh-frag mt-frag
2251 -rm -f maybedep.tmp serdep.tmp
2252 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2253 rm -rf $(TARGET_SUBDIR); \
2254 else true; fi
2255 -rm -rf $(BUILD_SUBDIR)
2256 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2257 rm -rf $(HOST_SUBDIR); \
2258 else true; fi
2259 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2260 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2261 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2262 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2263 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2264 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2266 local-maintainer-clean:
2267 @echo "This command is intended for maintainers to use;"
2268 @echo "it deletes files that may require special tools to rebuild."
2270 clean: do-clean local-clean
2271 mostlyclean: do-mostlyclean local-clean
2272 distclean: do-distclean local-clean local-distclean
2273 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2274 maintainer-clean: local-distclean
2275 realclean: maintainer-clean
2277 # Check target.
2279 .PHONY: check do-check
2280 check: do-check
2282 # Only include modules actually being configured and built.
2283 .PHONY: check-host
2284 check-host: \
2285 maybe-check-bfd \
2286 maybe-check-opcodes \
2287 maybe-check-binutils \
2288 maybe-check-bison \
2289 maybe-check-cgen \
2290 maybe-check-dejagnu \
2291 maybe-check-etc \
2292 maybe-check-fastjar \
2293 maybe-check-fixincludes \
2294 maybe-check-flex \
2295 maybe-check-gas \
2296 maybe-check-gcc \
2297 maybe-check-gmp \
2298 maybe-check-mpfr \
2299 maybe-check-mpc \
2300 maybe-check-isl \
2301 maybe-check-cloog \
2302 maybe-check-libelf \
2303 maybe-check-gold \
2304 maybe-check-gprof \
2305 maybe-check-intl \
2306 maybe-check-tcl \
2307 maybe-check-itcl \
2308 maybe-check-ld \
2309 maybe-check-libbacktrace \
2310 maybe-check-libcpp \
2311 maybe-check-libdecnumber \
2312 maybe-check-libgui \
2313 maybe-check-libiberty \
2314 maybe-check-libiberty-linker-plugin \
2315 maybe-check-libiconv \
2316 maybe-check-m4 \
2317 maybe-check-readline \
2318 maybe-check-sid \
2319 maybe-check-sim \
2320 maybe-check-texinfo \
2321 maybe-check-zlib \
2322 maybe-check-gdb \
2323 maybe-check-expect \
2324 maybe-check-guile \
2325 maybe-check-tk \
2326 maybe-check-libtermcap \
2327 maybe-check-utils \
2328 maybe-check-gnattools \
2329 maybe-check-lto-plugin
2331 .PHONY: check-target
2332 check-target: \
2333 maybe-check-target-libstdc++-v3 \
2334 maybe-check-target-libsanitizer \
2335 maybe-check-target-libvtv \
2336 maybe-check-target-libcilkrts \
2337 maybe-check-target-libssp \
2338 maybe-check-target-newlib \
2339 maybe-check-target-libgcc \
2340 maybe-check-target-libbacktrace \
2341 maybe-check-target-libquadmath \
2342 maybe-check-target-libgfortran \
2343 maybe-check-target-libobjc \
2344 maybe-check-target-libgo \
2345 maybe-check-target-libtermcap \
2346 maybe-check-target-winsup \
2347 maybe-check-target-libgloss \
2348 maybe-check-target-libffi \
2349 maybe-check-target-libjava \
2350 maybe-check-target-zlib \
2351 maybe-check-target-boehm-gc \
2352 maybe-check-target-rda \
2353 maybe-check-target-libada \
2354 maybe-check-target-libgomp \
2355 maybe-check-target-libitm \
2356 maybe-check-target-libatomic
2358 do-check:
2359 @: $(MAKE); $(unstage)
2360 @r=`${PWD_COMMAND}`; export r; \
2361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2362 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2364 # Automated reporting of test results.
2366 warning.log: build.log
2367 $(srcdir)/contrib/warn_summary build.log > $@
2369 mail-report.log:
2370 if test x'$(BOOT_CFLAGS)' != x''; then \
2371 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2372 fi; \
2373 $(srcdir)/contrib/test_summary -t >$@
2374 chmod +x $@
2375 echo If you really want to send e-mail, run ./$@ now
2377 mail-report-with-warnings.log: warning.log
2378 if test x'$(BOOT_CFLAGS)' != x''; then \
2379 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2380 fi; \
2381 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2382 chmod +x $@
2383 echo If you really want to send e-mail, run ./$@ now
2385 # Installation targets.
2387 .PHONY: install uninstall
2388 install:
2389 @: $(MAKE); $(unstage)
2390 @r=`${PWD_COMMAND}`; export r; \
2391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2392 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2394 .PHONY: install-host-nogcc
2395 install-host-nogcc: \
2396 maybe-install-bfd \
2397 maybe-install-opcodes \
2398 maybe-install-binutils \
2399 maybe-install-bison \
2400 maybe-install-cgen \
2401 maybe-install-dejagnu \
2402 maybe-install-etc \
2403 maybe-install-fastjar \
2404 maybe-install-fixincludes \
2405 maybe-install-flex \
2406 maybe-install-gas \
2407 maybe-install-gmp \
2408 maybe-install-mpfr \
2409 maybe-install-mpc \
2410 maybe-install-isl \
2411 maybe-install-cloog \
2412 maybe-install-libelf \
2413 maybe-install-gold \
2414 maybe-install-gprof \
2415 maybe-install-intl \
2416 maybe-install-tcl \
2417 maybe-install-itcl \
2418 maybe-install-ld \
2419 maybe-install-libbacktrace \
2420 maybe-install-libcpp \
2421 maybe-install-libdecnumber \
2422 maybe-install-libgui \
2423 maybe-install-libiberty \
2424 maybe-install-libiberty-linker-plugin \
2425 maybe-install-libiconv \
2426 maybe-install-m4 \
2427 maybe-install-readline \
2428 maybe-install-sid \
2429 maybe-install-sim \
2430 maybe-install-texinfo \
2431 maybe-install-zlib \
2432 maybe-install-gdb \
2433 maybe-install-expect \
2434 maybe-install-guile \
2435 maybe-install-tk \
2436 maybe-install-libtermcap \
2437 maybe-install-utils \
2438 maybe-install-gnattools \
2439 maybe-install-lto-plugin
2441 .PHONY: install-host
2442 install-host: \
2443 maybe-install-bfd \
2444 maybe-install-opcodes \
2445 maybe-install-binutils \
2446 maybe-install-bison \
2447 maybe-install-cgen \
2448 maybe-install-dejagnu \
2449 maybe-install-etc \
2450 maybe-install-fastjar \
2451 maybe-install-fixincludes \
2452 maybe-install-flex \
2453 maybe-install-gas \
2454 maybe-install-gcc \
2455 maybe-install-gmp \
2456 maybe-install-mpfr \
2457 maybe-install-mpc \
2458 maybe-install-isl \
2459 maybe-install-cloog \
2460 maybe-install-libelf \
2461 maybe-install-gold \
2462 maybe-install-gprof \
2463 maybe-install-intl \
2464 maybe-install-tcl \
2465 maybe-install-itcl \
2466 maybe-install-ld \
2467 maybe-install-libbacktrace \
2468 maybe-install-libcpp \
2469 maybe-install-libdecnumber \
2470 maybe-install-libgui \
2471 maybe-install-libiberty \
2472 maybe-install-libiberty-linker-plugin \
2473 maybe-install-libiconv \
2474 maybe-install-m4 \
2475 maybe-install-readline \
2476 maybe-install-sid \
2477 maybe-install-sim \
2478 maybe-install-texinfo \
2479 maybe-install-zlib \
2480 maybe-install-gdb \
2481 maybe-install-expect \
2482 maybe-install-guile \
2483 maybe-install-tk \
2484 maybe-install-libtermcap \
2485 maybe-install-utils \
2486 maybe-install-gnattools \
2487 maybe-install-lto-plugin
2489 .PHONY: install-target
2490 install-target: \
2491 maybe-install-target-libstdc++-v3 \
2492 maybe-install-target-libsanitizer \
2493 maybe-install-target-libvtv \
2494 maybe-install-target-libcilkrts \
2495 maybe-install-target-libssp \
2496 maybe-install-target-newlib \
2497 maybe-install-target-libgcc \
2498 maybe-install-target-libbacktrace \
2499 maybe-install-target-libquadmath \
2500 maybe-install-target-libgfortran \
2501 maybe-install-target-libobjc \
2502 maybe-install-target-libgo \
2503 maybe-install-target-libtermcap \
2504 maybe-install-target-winsup \
2505 maybe-install-target-libgloss \
2506 maybe-install-target-libffi \
2507 maybe-install-target-libjava \
2508 maybe-install-target-zlib \
2509 maybe-install-target-boehm-gc \
2510 maybe-install-target-rda \
2511 maybe-install-target-libada \
2512 maybe-install-target-libgomp \
2513 maybe-install-target-libitm \
2514 maybe-install-target-libatomic
2516 uninstall:
2517 @echo "the uninstall target is not supported in this tree"
2519 .PHONY: install.all
2520 install.all: install-no-fixedincludes
2521 @if [ -f ./gcc/Makefile ] ; then \
2522 r=`${PWD_COMMAND}` ; export r ; \
2523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2524 $(HOST_EXPORTS) \
2525 (cd ./gcc && \
2526 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2527 else \
2528 true ; \
2531 # install-no-fixedincludes is used to allow the elaboration of binary packages
2532 # suitable for distribution, where we cannot include the fixed system header
2533 # files.
2534 .PHONY: install-no-fixedincludes
2535 install-no-fixedincludes: installdirs install-host-nogcc \
2536 install-target gcc-install-no-fixedincludes
2538 .PHONY: install-strip
2539 install-strip:
2540 @: $(MAKE); $(unstage)
2541 @r=`${PWD_COMMAND}`; export r; \
2542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2543 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2545 .PHONY: install-strip-host
2546 install-strip-host: \
2547 maybe-install-strip-bfd \
2548 maybe-install-strip-opcodes \
2549 maybe-install-strip-binutils \
2550 maybe-install-strip-bison \
2551 maybe-install-strip-cgen \
2552 maybe-install-strip-dejagnu \
2553 maybe-install-strip-etc \
2554 maybe-install-strip-fastjar \
2555 maybe-install-strip-fixincludes \
2556 maybe-install-strip-flex \
2557 maybe-install-strip-gas \
2558 maybe-install-strip-gcc \
2559 maybe-install-strip-gmp \
2560 maybe-install-strip-mpfr \
2561 maybe-install-strip-mpc \
2562 maybe-install-strip-isl \
2563 maybe-install-strip-cloog \
2564 maybe-install-strip-libelf \
2565 maybe-install-strip-gold \
2566 maybe-install-strip-gprof \
2567 maybe-install-strip-intl \
2568 maybe-install-strip-tcl \
2569 maybe-install-strip-itcl \
2570 maybe-install-strip-ld \
2571 maybe-install-strip-libbacktrace \
2572 maybe-install-strip-libcpp \
2573 maybe-install-strip-libdecnumber \
2574 maybe-install-strip-libgui \
2575 maybe-install-strip-libiberty \
2576 maybe-install-strip-libiberty-linker-plugin \
2577 maybe-install-strip-libiconv \
2578 maybe-install-strip-m4 \
2579 maybe-install-strip-readline \
2580 maybe-install-strip-sid \
2581 maybe-install-strip-sim \
2582 maybe-install-strip-texinfo \
2583 maybe-install-strip-zlib \
2584 maybe-install-strip-gdb \
2585 maybe-install-strip-expect \
2586 maybe-install-strip-guile \
2587 maybe-install-strip-tk \
2588 maybe-install-strip-libtermcap \
2589 maybe-install-strip-utils \
2590 maybe-install-strip-gnattools \
2591 maybe-install-strip-lto-plugin
2593 .PHONY: install-strip-target
2594 install-strip-target: \
2595 maybe-install-strip-target-libstdc++-v3 \
2596 maybe-install-strip-target-libsanitizer \
2597 maybe-install-strip-target-libvtv \
2598 maybe-install-strip-target-libcilkrts \
2599 maybe-install-strip-target-libssp \
2600 maybe-install-strip-target-newlib \
2601 maybe-install-strip-target-libgcc \
2602 maybe-install-strip-target-libbacktrace \
2603 maybe-install-strip-target-libquadmath \
2604 maybe-install-strip-target-libgfortran \
2605 maybe-install-strip-target-libobjc \
2606 maybe-install-strip-target-libgo \
2607 maybe-install-strip-target-libtermcap \
2608 maybe-install-strip-target-winsup \
2609 maybe-install-strip-target-libgloss \
2610 maybe-install-strip-target-libffi \
2611 maybe-install-strip-target-libjava \
2612 maybe-install-strip-target-zlib \
2613 maybe-install-strip-target-boehm-gc \
2614 maybe-install-strip-target-rda \
2615 maybe-install-strip-target-libada \
2616 maybe-install-strip-target-libgomp \
2617 maybe-install-strip-target-libitm \
2618 maybe-install-strip-target-libatomic
2621 ### other supporting targets
2623 MAKEDIRS= \
2624 $(DESTDIR)$(prefix) \
2625 $(DESTDIR)$(exec_prefix)
2626 .PHONY: installdirs
2627 installdirs: mkinstalldirs
2628 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2630 dir.info: do-install-info
2631 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2632 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2633 mv -f dir.info.new dir.info ; \
2634 else true ; \
2637 dist:
2638 @echo "Building a full distribution of this tree isn't done"
2639 @echo "via 'make dist'. Check out the etc/ subdirectory"
2641 etags tags: TAGS
2643 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2644 # ability to use several tags files at once, so there is probably no need
2645 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2646 # (if we felt like it) have this Makefile write a piece of elisp which
2647 # the user could load to tell emacs19 where all the TAGS files we just
2648 # built are.
2649 TAGS: do-TAGS
2651 # ------------------------------------
2652 # Macros for configure and all targets
2653 # ------------------------------------
2659 # --------------------------------------
2660 # Modules which run on the build machine
2661 # --------------------------------------
2664 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2665 maybe-configure-build-libiberty:
2666 @if gcc-bootstrap
2667 configure-build-libiberty: stage_current
2668 @endif gcc-bootstrap
2669 @if build-libiberty
2670 maybe-configure-build-libiberty: configure-build-libiberty
2671 configure-build-libiberty:
2672 @: $(MAKE); $(unstage)
2673 @r=`${PWD_COMMAND}`; export r; \
2674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2675 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2676 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2677 $(BUILD_EXPORTS) \
2678 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2679 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2680 case $(srcdir) in \
2681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2682 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2684 esac; \
2685 module_srcdir=libiberty; \
2686 rm -f no-such-file || : ; \
2687 CONFIG_SITE=no-such-file $(SHELL) \
2688 $$s/$$module_srcdir/configure \
2689 --srcdir=$${topdir}/$$module_srcdir \
2690 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2691 --target=${target_alias} \
2692 || exit 1
2693 @endif build-libiberty
2699 .PHONY: all-build-libiberty maybe-all-build-libiberty
2700 maybe-all-build-libiberty:
2701 @if gcc-bootstrap
2702 all-build-libiberty: stage_current
2703 @endif gcc-bootstrap
2704 @if build-libiberty
2705 TARGET-build-libiberty=all
2706 maybe-all-build-libiberty: all-build-libiberty
2707 all-build-libiberty: configure-build-libiberty
2708 @: $(MAKE); $(unstage)
2709 @r=`${PWD_COMMAND}`; export r; \
2710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2711 $(BUILD_EXPORTS) \
2712 (cd $(BUILD_SUBDIR)/libiberty && \
2713 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2714 $(TARGET-build-libiberty))
2715 @endif build-libiberty
2721 .PHONY: configure-build-bison maybe-configure-build-bison
2722 maybe-configure-build-bison:
2723 @if gcc-bootstrap
2724 configure-build-bison: stage_current
2725 @endif gcc-bootstrap
2726 @if build-bison
2727 maybe-configure-build-bison: configure-build-bison
2728 configure-build-bison:
2729 @: $(MAKE); $(unstage)
2730 @r=`${PWD_COMMAND}`; export r; \
2731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2732 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2733 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2734 $(BUILD_EXPORTS) \
2735 echo Configuring in $(BUILD_SUBDIR)/bison; \
2736 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2737 case $(srcdir) in \
2738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2739 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2741 esac; \
2742 module_srcdir=bison; \
2743 rm -f no-such-file || : ; \
2744 CONFIG_SITE=no-such-file $(SHELL) \
2745 $$s/$$module_srcdir/configure \
2746 --srcdir=$${topdir}/$$module_srcdir \
2747 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2748 --target=${target_alias} \
2749 || exit 1
2750 @endif build-bison
2756 .PHONY: all-build-bison maybe-all-build-bison
2757 maybe-all-build-bison:
2758 @if gcc-bootstrap
2759 all-build-bison: stage_current
2760 @endif gcc-bootstrap
2761 @if build-bison
2762 TARGET-build-bison=all
2763 maybe-all-build-bison: all-build-bison
2764 all-build-bison: configure-build-bison
2765 @: $(MAKE); $(unstage)
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 $(BUILD_EXPORTS) \
2769 (cd $(BUILD_SUBDIR)/bison && \
2770 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2771 $(TARGET-build-bison))
2772 @endif build-bison
2778 .PHONY: configure-build-flex maybe-configure-build-flex
2779 maybe-configure-build-flex:
2780 @if gcc-bootstrap
2781 configure-build-flex: stage_current
2782 @endif gcc-bootstrap
2783 @if build-flex
2784 maybe-configure-build-flex: configure-build-flex
2785 configure-build-flex:
2786 @: $(MAKE); $(unstage)
2787 @r=`${PWD_COMMAND}`; export r; \
2788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2789 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2790 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2791 $(BUILD_EXPORTS) \
2792 echo Configuring in $(BUILD_SUBDIR)/flex; \
2793 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2794 case $(srcdir) in \
2795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2796 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2798 esac; \
2799 module_srcdir=flex; \
2800 rm -f no-such-file || : ; \
2801 CONFIG_SITE=no-such-file $(SHELL) \
2802 $$s/$$module_srcdir/configure \
2803 --srcdir=$${topdir}/$$module_srcdir \
2804 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2805 --target=${target_alias} \
2806 || exit 1
2807 @endif build-flex
2813 .PHONY: all-build-flex maybe-all-build-flex
2814 maybe-all-build-flex:
2815 @if gcc-bootstrap
2816 all-build-flex: stage_current
2817 @endif gcc-bootstrap
2818 @if build-flex
2819 TARGET-build-flex=all
2820 maybe-all-build-flex: all-build-flex
2821 all-build-flex: configure-build-flex
2822 @: $(MAKE); $(unstage)
2823 @r=`${PWD_COMMAND}`; export r; \
2824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2825 $(BUILD_EXPORTS) \
2826 (cd $(BUILD_SUBDIR)/flex && \
2827 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2828 $(TARGET-build-flex))
2829 @endif build-flex
2835 .PHONY: configure-build-m4 maybe-configure-build-m4
2836 maybe-configure-build-m4:
2837 @if gcc-bootstrap
2838 configure-build-m4: stage_current
2839 @endif gcc-bootstrap
2840 @if build-m4
2841 maybe-configure-build-m4: configure-build-m4
2842 configure-build-m4:
2843 @: $(MAKE); $(unstage)
2844 @r=`${PWD_COMMAND}`; export r; \
2845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2847 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2848 $(BUILD_EXPORTS) \
2849 echo Configuring in $(BUILD_SUBDIR)/m4; \
2850 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2851 case $(srcdir) in \
2852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2853 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2855 esac; \
2856 module_srcdir=m4; \
2857 rm -f no-such-file || : ; \
2858 CONFIG_SITE=no-such-file $(SHELL) \
2859 $$s/$$module_srcdir/configure \
2860 --srcdir=$${topdir}/$$module_srcdir \
2861 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2862 --target=${target_alias} \
2863 || exit 1
2864 @endif build-m4
2870 .PHONY: all-build-m4 maybe-all-build-m4
2871 maybe-all-build-m4:
2872 @if gcc-bootstrap
2873 all-build-m4: stage_current
2874 @endif gcc-bootstrap
2875 @if build-m4
2876 TARGET-build-m4=all
2877 maybe-all-build-m4: all-build-m4
2878 all-build-m4: configure-build-m4
2879 @: $(MAKE); $(unstage)
2880 @r=`${PWD_COMMAND}`; export r; \
2881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2882 $(BUILD_EXPORTS) \
2883 (cd $(BUILD_SUBDIR)/m4 && \
2884 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2885 $(TARGET-build-m4))
2886 @endif build-m4
2892 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2893 maybe-configure-build-texinfo:
2894 @if gcc-bootstrap
2895 configure-build-texinfo: stage_current
2896 @endif gcc-bootstrap
2897 @if build-texinfo
2898 maybe-configure-build-texinfo: configure-build-texinfo
2899 configure-build-texinfo:
2900 @: $(MAKE); $(unstage)
2901 @r=`${PWD_COMMAND}`; export r; \
2902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2903 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2904 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2905 $(BUILD_EXPORTS) \
2906 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2907 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2908 case $(srcdir) in \
2909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2910 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2912 esac; \
2913 module_srcdir=texinfo; \
2914 rm -f no-such-file || : ; \
2915 CONFIG_SITE=no-such-file $(SHELL) \
2916 $$s/$$module_srcdir/configure \
2917 --srcdir=$${topdir}/$$module_srcdir \
2918 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2919 --target=${target_alias} \
2920 || exit 1
2921 @endif build-texinfo
2927 .PHONY: all-build-texinfo maybe-all-build-texinfo
2928 maybe-all-build-texinfo:
2929 @if gcc-bootstrap
2930 all-build-texinfo: stage_current
2931 @endif gcc-bootstrap
2932 @if build-texinfo
2933 TARGET-build-texinfo=all
2934 maybe-all-build-texinfo: all-build-texinfo
2935 all-build-texinfo: configure-build-texinfo
2936 @: $(MAKE); $(unstage)
2937 @r=`${PWD_COMMAND}`; export r; \
2938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2939 $(BUILD_EXPORTS) \
2940 (cd $(BUILD_SUBDIR)/texinfo && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2942 $(TARGET-build-texinfo))
2943 @endif build-texinfo
2949 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2950 maybe-configure-build-fixincludes:
2951 @if gcc-bootstrap
2952 configure-build-fixincludes: stage_current
2953 @endif gcc-bootstrap
2954 @if build-fixincludes
2955 maybe-configure-build-fixincludes: configure-build-fixincludes
2956 configure-build-fixincludes:
2957 @: $(MAKE); $(unstage)
2958 @r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2961 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2962 $(BUILD_EXPORTS) \
2963 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2964 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2965 case $(srcdir) in \
2966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2967 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2969 esac; \
2970 module_srcdir=fixincludes; \
2971 rm -f no-such-file || : ; \
2972 CONFIG_SITE=no-such-file $(SHELL) \
2973 $$s/$$module_srcdir/configure \
2974 --srcdir=$${topdir}/$$module_srcdir \
2975 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2976 --target=${target_alias} \
2977 || exit 1
2978 @endif build-fixincludes
2984 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2985 maybe-all-build-fixincludes:
2986 @if gcc-bootstrap
2987 all-build-fixincludes: stage_current
2988 @endif gcc-bootstrap
2989 @if build-fixincludes
2990 TARGET-build-fixincludes=all
2991 maybe-all-build-fixincludes: all-build-fixincludes
2992 all-build-fixincludes: configure-build-fixincludes
2993 @: $(MAKE); $(unstage)
2994 @r=`${PWD_COMMAND}`; export r; \
2995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2996 $(BUILD_EXPORTS) \
2997 (cd $(BUILD_SUBDIR)/fixincludes && \
2998 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2999 $(TARGET-build-fixincludes))
3000 @endif build-fixincludes
3006 # --------------------------------------
3007 # Modules which run on the host machine
3008 # --------------------------------------
3011 .PHONY: configure-bfd maybe-configure-bfd
3012 maybe-configure-bfd:
3013 @if gcc-bootstrap
3014 configure-bfd: stage_current
3015 @endif gcc-bootstrap
3016 @if bfd
3017 maybe-configure-bfd: configure-bfd
3018 configure-bfd:
3019 @r=`${PWD_COMMAND}`; export r; \
3020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3021 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3023 $(HOST_EXPORTS) \
3024 echo Configuring in $(HOST_SUBDIR)/bfd; \
3025 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3026 case $(srcdir) in \
3027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3028 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3030 esac; \
3031 module_srcdir=bfd; \
3032 $(SHELL) \
3033 $$s/$$module_srcdir/configure \
3034 --srcdir=$${topdir}/$$module_srcdir \
3035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3036 --target=${target_alias} \
3037 || exit 1
3038 @endif bfd
3042 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3043 maybe-configure-stage1-bfd:
3044 @if bfd-bootstrap
3045 maybe-configure-stage1-bfd: configure-stage1-bfd
3046 configure-stage1-bfd:
3047 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3049 @r=`${PWD_COMMAND}`; export r; \
3050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3051 TFLAGS="$(STAGE1_TFLAGS)"; \
3052 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3053 $(HOST_EXPORTS) \
3054 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3055 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3056 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3057 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3059 cd $(HOST_SUBDIR)/bfd || exit 1; \
3060 case $(srcdir) in \
3061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3062 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3064 esac; \
3065 module_srcdir=bfd; \
3066 $(SHELL) $$s/$$module_srcdir/configure \
3067 --srcdir=$${topdir}/$$module_srcdir \
3068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3069 --target=${target_alias} \
3071 $(STAGE1_CONFIGURE_FLAGS)
3072 @endif bfd-bootstrap
3074 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3075 maybe-configure-stage2-bfd:
3076 @if bfd-bootstrap
3077 maybe-configure-stage2-bfd: configure-stage2-bfd
3078 configure-stage2-bfd:
3079 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3081 @r=`${PWD_COMMAND}`; export r; \
3082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 TFLAGS="$(STAGE2_TFLAGS)"; \
3084 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3085 $(HOST_EXPORTS) \
3086 $(POSTSTAGE1_HOST_EXPORTS) \
3087 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3088 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3089 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3090 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3092 cd $(HOST_SUBDIR)/bfd || exit 1; \
3093 case $(srcdir) in \
3094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3095 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3097 esac; \
3098 module_srcdir=bfd; \
3099 $(SHELL) $$s/$$module_srcdir/configure \
3100 --srcdir=$${topdir}/$$module_srcdir \
3101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3102 --target=${target_alias} \
3103 --with-build-libsubdir=$(HOST_SUBDIR) \
3104 $(STAGE2_CONFIGURE_FLAGS)
3105 @endif bfd-bootstrap
3107 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3108 maybe-configure-stage3-bfd:
3109 @if bfd-bootstrap
3110 maybe-configure-stage3-bfd: configure-stage3-bfd
3111 configure-stage3-bfd:
3112 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3114 @r=`${PWD_COMMAND}`; export r; \
3115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3116 TFLAGS="$(STAGE3_TFLAGS)"; \
3117 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3118 $(HOST_EXPORTS) \
3119 $(POSTSTAGE1_HOST_EXPORTS) \
3120 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3121 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3122 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3123 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3125 cd $(HOST_SUBDIR)/bfd || exit 1; \
3126 case $(srcdir) in \
3127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3128 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3130 esac; \
3131 module_srcdir=bfd; \
3132 $(SHELL) $$s/$$module_srcdir/configure \
3133 --srcdir=$${topdir}/$$module_srcdir \
3134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3135 --target=${target_alias} \
3136 --with-build-libsubdir=$(HOST_SUBDIR) \
3137 $(STAGE3_CONFIGURE_FLAGS)
3138 @endif bfd-bootstrap
3140 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3141 maybe-configure-stage4-bfd:
3142 @if bfd-bootstrap
3143 maybe-configure-stage4-bfd: configure-stage4-bfd
3144 configure-stage4-bfd:
3145 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3147 @r=`${PWD_COMMAND}`; export r; \
3148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3149 TFLAGS="$(STAGE4_TFLAGS)"; \
3150 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3151 $(HOST_EXPORTS) \
3152 $(POSTSTAGE1_HOST_EXPORTS) \
3153 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3154 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3155 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3156 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3158 cd $(HOST_SUBDIR)/bfd || exit 1; \
3159 case $(srcdir) in \
3160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3161 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3163 esac; \
3164 module_srcdir=bfd; \
3165 $(SHELL) $$s/$$module_srcdir/configure \
3166 --srcdir=$${topdir}/$$module_srcdir \
3167 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3168 --target=${target_alias} \
3169 --with-build-libsubdir=$(HOST_SUBDIR) \
3170 $(STAGE4_CONFIGURE_FLAGS)
3171 @endif bfd-bootstrap
3173 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3174 maybe-configure-stageprofile-bfd:
3175 @if bfd-bootstrap
3176 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3177 configure-stageprofile-bfd:
3178 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3180 @r=`${PWD_COMMAND}`; export r; \
3181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3182 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3183 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3184 $(HOST_EXPORTS) \
3185 $(POSTSTAGE1_HOST_EXPORTS) \
3186 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3187 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3188 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3189 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3191 cd $(HOST_SUBDIR)/bfd || exit 1; \
3192 case $(srcdir) in \
3193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3194 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3196 esac; \
3197 module_srcdir=bfd; \
3198 $(SHELL) $$s/$$module_srcdir/configure \
3199 --srcdir=$${topdir}/$$module_srcdir \
3200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3201 --target=${target_alias} \
3202 --with-build-libsubdir=$(HOST_SUBDIR) \
3203 $(STAGEprofile_CONFIGURE_FLAGS)
3204 @endif bfd-bootstrap
3206 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3207 maybe-configure-stagefeedback-bfd:
3208 @if bfd-bootstrap
3209 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3210 configure-stagefeedback-bfd:
3211 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3213 @r=`${PWD_COMMAND}`; export r; \
3214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3216 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3217 $(HOST_EXPORTS) \
3218 $(POSTSTAGE1_HOST_EXPORTS) \
3219 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3220 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3221 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3222 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3224 cd $(HOST_SUBDIR)/bfd || exit 1; \
3225 case $(srcdir) in \
3226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3227 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3229 esac; \
3230 module_srcdir=bfd; \
3231 $(SHELL) $$s/$$module_srcdir/configure \
3232 --srcdir=$${topdir}/$$module_srcdir \
3233 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3234 --target=${target_alias} \
3235 --with-build-libsubdir=$(HOST_SUBDIR) \
3236 $(STAGEfeedback_CONFIGURE_FLAGS)
3237 @endif bfd-bootstrap
3243 .PHONY: all-bfd maybe-all-bfd
3244 maybe-all-bfd:
3245 @if gcc-bootstrap
3246 all-bfd: stage_current
3247 @endif gcc-bootstrap
3248 @if bfd
3249 TARGET-bfd=all
3250 maybe-all-bfd: all-bfd
3251 all-bfd: configure-bfd
3252 @r=`${PWD_COMMAND}`; export r; \
3253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3254 $(HOST_EXPORTS) \
3255 (cd $(HOST_SUBDIR)/bfd && \
3256 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3257 $(TARGET-bfd))
3258 @endif bfd
3262 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3263 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3264 maybe-all-stage1-bfd:
3265 maybe-clean-stage1-bfd:
3266 @if bfd-bootstrap
3267 maybe-all-stage1-bfd: all-stage1-bfd
3268 all-stage1: all-stage1-bfd
3269 TARGET-stage1-bfd = $(TARGET-bfd)
3270 all-stage1-bfd: configure-stage1-bfd
3271 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3272 @r=`${PWD_COMMAND}`; export r; \
3273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3274 TFLAGS="$(STAGE1_TFLAGS)"; \
3275 $(HOST_EXPORTS) \
3276 cd $(HOST_SUBDIR)/bfd && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3278 CFLAGS="$(STAGE1_CFLAGS)" \
3279 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3280 LIBCFLAGS="$(LIBCFLAGS)" \
3281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3284 $(EXTRA_HOST_FLAGS) \
3285 $(STAGE1_FLAGS_TO_PASS) \
3286 TFLAGS="$(STAGE1_TFLAGS)" \
3287 $(TARGET-stage1-bfd)
3289 maybe-clean-stage1-bfd: clean-stage1-bfd
3290 clean-stage1: clean-stage1-bfd
3291 clean-stage1-bfd:
3292 @if [ $(current_stage) = stage1 ]; then \
3293 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3294 else \
3295 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3296 $(MAKE) stage1-start; \
3297 fi; \
3298 cd $(HOST_SUBDIR)/bfd && \
3299 $(MAKE) $(EXTRA_HOST_FLAGS) \
3300 $(STAGE1_FLAGS_TO_PASS) clean
3301 @endif bfd-bootstrap
3304 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3305 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3306 maybe-all-stage2-bfd:
3307 maybe-clean-stage2-bfd:
3308 @if bfd-bootstrap
3309 maybe-all-stage2-bfd: all-stage2-bfd
3310 all-stage2: all-stage2-bfd
3311 TARGET-stage2-bfd = $(TARGET-bfd)
3312 all-stage2-bfd: configure-stage2-bfd
3313 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3314 @r=`${PWD_COMMAND}`; export r; \
3315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3316 TFLAGS="$(STAGE2_TFLAGS)"; \
3317 $(HOST_EXPORTS) \
3318 $(POSTSTAGE1_HOST_EXPORTS) \
3319 cd $(HOST_SUBDIR)/bfd && \
3320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3321 CFLAGS="$(STAGE2_CFLAGS)" \
3322 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3323 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3327 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3328 TFLAGS="$(STAGE2_TFLAGS)" \
3329 $(TARGET-stage2-bfd)
3331 maybe-clean-stage2-bfd: clean-stage2-bfd
3332 clean-stage2: clean-stage2-bfd
3333 clean-stage2-bfd:
3334 @if [ $(current_stage) = stage2 ]; then \
3335 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3336 else \
3337 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3338 $(MAKE) stage2-start; \
3339 fi; \
3340 cd $(HOST_SUBDIR)/bfd && \
3341 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3342 @endif bfd-bootstrap
3345 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3346 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3347 maybe-all-stage3-bfd:
3348 maybe-clean-stage3-bfd:
3349 @if bfd-bootstrap
3350 maybe-all-stage3-bfd: all-stage3-bfd
3351 all-stage3: all-stage3-bfd
3352 TARGET-stage3-bfd = $(TARGET-bfd)
3353 all-stage3-bfd: configure-stage3-bfd
3354 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3355 @r=`${PWD_COMMAND}`; export r; \
3356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3357 TFLAGS="$(STAGE3_TFLAGS)"; \
3358 $(HOST_EXPORTS) \
3359 $(POSTSTAGE1_HOST_EXPORTS) \
3360 cd $(HOST_SUBDIR)/bfd && \
3361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3362 CFLAGS="$(STAGE3_CFLAGS)" \
3363 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3364 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3369 TFLAGS="$(STAGE3_TFLAGS)" \
3370 $(TARGET-stage3-bfd)
3372 maybe-clean-stage3-bfd: clean-stage3-bfd
3373 clean-stage3: clean-stage3-bfd
3374 clean-stage3-bfd:
3375 @if [ $(current_stage) = stage3 ]; then \
3376 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3377 else \
3378 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3379 $(MAKE) stage3-start; \
3380 fi; \
3381 cd $(HOST_SUBDIR)/bfd && \
3382 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3383 @endif bfd-bootstrap
3386 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3387 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3388 maybe-all-stage4-bfd:
3389 maybe-clean-stage4-bfd:
3390 @if bfd-bootstrap
3391 maybe-all-stage4-bfd: all-stage4-bfd
3392 all-stage4: all-stage4-bfd
3393 TARGET-stage4-bfd = $(TARGET-bfd)
3394 all-stage4-bfd: configure-stage4-bfd
3395 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3396 @r=`${PWD_COMMAND}`; export r; \
3397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3398 TFLAGS="$(STAGE4_TFLAGS)"; \
3399 $(HOST_EXPORTS) \
3400 $(POSTSTAGE1_HOST_EXPORTS) \
3401 cd $(HOST_SUBDIR)/bfd && \
3402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3403 CFLAGS="$(STAGE4_CFLAGS)" \
3404 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3405 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3410 TFLAGS="$(STAGE4_TFLAGS)" \
3411 $(TARGET-stage4-bfd)
3413 maybe-clean-stage4-bfd: clean-stage4-bfd
3414 clean-stage4: clean-stage4-bfd
3415 clean-stage4-bfd:
3416 @if [ $(current_stage) = stage4 ]; then \
3417 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3418 else \
3419 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3420 $(MAKE) stage4-start; \
3421 fi; \
3422 cd $(HOST_SUBDIR)/bfd && \
3423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3424 @endif bfd-bootstrap
3427 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3428 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3429 maybe-all-stageprofile-bfd:
3430 maybe-clean-stageprofile-bfd:
3431 @if bfd-bootstrap
3432 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3433 all-stageprofile: all-stageprofile-bfd
3434 TARGET-stageprofile-bfd = $(TARGET-bfd)
3435 all-stageprofile-bfd: configure-stageprofile-bfd
3436 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3437 @r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3439 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3440 $(HOST_EXPORTS) \
3441 $(POSTSTAGE1_HOST_EXPORTS) \
3442 cd $(HOST_SUBDIR)/bfd && \
3443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3444 CFLAGS="$(STAGEprofile_CFLAGS)" \
3445 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3446 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3450 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3451 TFLAGS="$(STAGEprofile_TFLAGS)" \
3452 $(TARGET-stageprofile-bfd)
3454 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3455 clean-stageprofile: clean-stageprofile-bfd
3456 clean-stageprofile-bfd:
3457 @if [ $(current_stage) = stageprofile ]; then \
3458 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3459 else \
3460 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3461 $(MAKE) stageprofile-start; \
3462 fi; \
3463 cd $(HOST_SUBDIR)/bfd && \
3464 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3465 @endif bfd-bootstrap
3468 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3469 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3470 maybe-all-stagefeedback-bfd:
3471 maybe-clean-stagefeedback-bfd:
3472 @if bfd-bootstrap
3473 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3474 all-stagefeedback: all-stagefeedback-bfd
3475 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3476 all-stagefeedback-bfd: configure-stagefeedback-bfd
3477 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3478 @r=`${PWD_COMMAND}`; export r; \
3479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3480 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3481 $(HOST_EXPORTS) \
3482 $(POSTSTAGE1_HOST_EXPORTS) \
3483 cd $(HOST_SUBDIR)/bfd && \
3484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3485 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3486 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3487 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3492 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3493 $(TARGET-stagefeedback-bfd)
3495 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3496 clean-stagefeedback: clean-stagefeedback-bfd
3497 clean-stagefeedback-bfd:
3498 @if [ $(current_stage) = stagefeedback ]; then \
3499 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3500 else \
3501 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3502 $(MAKE) stagefeedback-start; \
3503 fi; \
3504 cd $(HOST_SUBDIR)/bfd && \
3505 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3506 @endif bfd-bootstrap
3512 .PHONY: check-bfd maybe-check-bfd
3513 maybe-check-bfd:
3514 @if bfd
3515 maybe-check-bfd: check-bfd
3517 check-bfd:
3518 @: $(MAKE); $(unstage)
3519 @r=`${PWD_COMMAND}`; export r; \
3520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 $(HOST_EXPORTS) \
3522 (cd $(HOST_SUBDIR)/bfd && \
3523 $(MAKE) $(FLAGS_TO_PASS) check)
3525 @endif bfd
3527 .PHONY: install-bfd maybe-install-bfd
3528 maybe-install-bfd:
3529 @if bfd
3530 maybe-install-bfd: install-bfd
3532 install-bfd: installdirs
3533 @: $(MAKE); $(unstage)
3534 @r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(HOST_EXPORTS) \
3537 (cd $(HOST_SUBDIR)/bfd && \
3538 $(MAKE) $(FLAGS_TO_PASS) install)
3540 @endif bfd
3542 .PHONY: install-strip-bfd maybe-install-strip-bfd
3543 maybe-install-strip-bfd:
3544 @if bfd
3545 maybe-install-strip-bfd: install-strip-bfd
3547 install-strip-bfd: installdirs
3548 @: $(MAKE); $(unstage)
3549 @r=`${PWD_COMMAND}`; export r; \
3550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3551 $(HOST_EXPORTS) \
3552 (cd $(HOST_SUBDIR)/bfd && \
3553 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3555 @endif bfd
3557 # Other targets (info, dvi, pdf, etc.)
3559 .PHONY: maybe-info-bfd info-bfd
3560 maybe-info-bfd:
3561 @if bfd
3562 maybe-info-bfd: info-bfd
3564 info-bfd: \
3565 configure-bfd
3566 @[ -f ./bfd/Makefile ] || exit 0; \
3567 r=`${PWD_COMMAND}`; export r; \
3568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3569 $(HOST_EXPORTS) \
3570 for flag in $(EXTRA_HOST_FLAGS) ; do \
3571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3572 done; \
3573 echo "Doing info in bfd" ; \
3574 (cd $(HOST_SUBDIR)/bfd && \
3575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3577 "RANLIB=$${RANLIB}" \
3578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3579 info) \
3580 || exit 1
3582 @endif bfd
3584 .PHONY: maybe-dvi-bfd dvi-bfd
3585 maybe-dvi-bfd:
3586 @if bfd
3587 maybe-dvi-bfd: dvi-bfd
3589 dvi-bfd: \
3590 configure-bfd
3591 @[ -f ./bfd/Makefile ] || exit 0; \
3592 r=`${PWD_COMMAND}`; export r; \
3593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3594 $(HOST_EXPORTS) \
3595 for flag in $(EXTRA_HOST_FLAGS) ; do \
3596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3597 done; \
3598 echo "Doing dvi in bfd" ; \
3599 (cd $(HOST_SUBDIR)/bfd && \
3600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3602 "RANLIB=$${RANLIB}" \
3603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3604 dvi) \
3605 || exit 1
3607 @endif bfd
3609 .PHONY: maybe-pdf-bfd pdf-bfd
3610 maybe-pdf-bfd:
3611 @if bfd
3612 maybe-pdf-bfd: pdf-bfd
3614 pdf-bfd: \
3615 configure-bfd
3616 @[ -f ./bfd/Makefile ] || exit 0; \
3617 r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 $(HOST_EXPORTS) \
3620 for flag in $(EXTRA_HOST_FLAGS) ; do \
3621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3622 done; \
3623 echo "Doing pdf in bfd" ; \
3624 (cd $(HOST_SUBDIR)/bfd && \
3625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3627 "RANLIB=$${RANLIB}" \
3628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3629 pdf) \
3630 || exit 1
3632 @endif bfd
3634 .PHONY: maybe-html-bfd html-bfd
3635 maybe-html-bfd:
3636 @if bfd
3637 maybe-html-bfd: html-bfd
3639 html-bfd: \
3640 configure-bfd
3641 @[ -f ./bfd/Makefile ] || exit 0; \
3642 r=`${PWD_COMMAND}`; export r; \
3643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3644 $(HOST_EXPORTS) \
3645 for flag in $(EXTRA_HOST_FLAGS) ; do \
3646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3647 done; \
3648 echo "Doing html in bfd" ; \
3649 (cd $(HOST_SUBDIR)/bfd && \
3650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3652 "RANLIB=$${RANLIB}" \
3653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3654 html) \
3655 || exit 1
3657 @endif bfd
3659 .PHONY: maybe-TAGS-bfd TAGS-bfd
3660 maybe-TAGS-bfd:
3661 @if bfd
3662 maybe-TAGS-bfd: TAGS-bfd
3664 TAGS-bfd: \
3665 configure-bfd
3666 @[ -f ./bfd/Makefile ] || exit 0; \
3667 r=`${PWD_COMMAND}`; export r; \
3668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3669 $(HOST_EXPORTS) \
3670 for flag in $(EXTRA_HOST_FLAGS) ; do \
3671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3672 done; \
3673 echo "Doing TAGS in bfd" ; \
3674 (cd $(HOST_SUBDIR)/bfd && \
3675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3677 "RANLIB=$${RANLIB}" \
3678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3679 TAGS) \
3680 || exit 1
3682 @endif bfd
3684 .PHONY: maybe-install-info-bfd install-info-bfd
3685 maybe-install-info-bfd:
3686 @if bfd
3687 maybe-install-info-bfd: install-info-bfd
3689 install-info-bfd: \
3690 configure-bfd \
3691 info-bfd
3692 @[ -f ./bfd/Makefile ] || exit 0; \
3693 r=`${PWD_COMMAND}`; export r; \
3694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3695 $(HOST_EXPORTS) \
3696 for flag in $(EXTRA_HOST_FLAGS) ; do \
3697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3698 done; \
3699 echo "Doing install-info in bfd" ; \
3700 (cd $(HOST_SUBDIR)/bfd && \
3701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3703 "RANLIB=$${RANLIB}" \
3704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3705 install-info) \
3706 || exit 1
3708 @endif bfd
3710 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3711 maybe-install-pdf-bfd:
3712 @if bfd
3713 maybe-install-pdf-bfd: install-pdf-bfd
3715 install-pdf-bfd: \
3716 configure-bfd \
3717 pdf-bfd
3718 @[ -f ./bfd/Makefile ] || exit 0; \
3719 r=`${PWD_COMMAND}`; export r; \
3720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3721 $(HOST_EXPORTS) \
3722 for flag in $(EXTRA_HOST_FLAGS) ; do \
3723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3724 done; \
3725 echo "Doing install-pdf in bfd" ; \
3726 (cd $(HOST_SUBDIR)/bfd && \
3727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3729 "RANLIB=$${RANLIB}" \
3730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3731 install-pdf) \
3732 || exit 1
3734 @endif bfd
3736 .PHONY: maybe-install-html-bfd install-html-bfd
3737 maybe-install-html-bfd:
3738 @if bfd
3739 maybe-install-html-bfd: install-html-bfd
3741 install-html-bfd: \
3742 configure-bfd \
3743 html-bfd
3744 @[ -f ./bfd/Makefile ] || exit 0; \
3745 r=`${PWD_COMMAND}`; export r; \
3746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3747 $(HOST_EXPORTS) \
3748 for flag in $(EXTRA_HOST_FLAGS) ; do \
3749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3750 done; \
3751 echo "Doing install-html in bfd" ; \
3752 (cd $(HOST_SUBDIR)/bfd && \
3753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3755 "RANLIB=$${RANLIB}" \
3756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3757 install-html) \
3758 || exit 1
3760 @endif bfd
3762 .PHONY: maybe-installcheck-bfd installcheck-bfd
3763 maybe-installcheck-bfd:
3764 @if bfd
3765 maybe-installcheck-bfd: installcheck-bfd
3767 installcheck-bfd: \
3768 configure-bfd
3769 @[ -f ./bfd/Makefile ] || exit 0; \
3770 r=`${PWD_COMMAND}`; export r; \
3771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3772 $(HOST_EXPORTS) \
3773 for flag in $(EXTRA_HOST_FLAGS) ; do \
3774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3775 done; \
3776 echo "Doing installcheck in bfd" ; \
3777 (cd $(HOST_SUBDIR)/bfd && \
3778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3780 "RANLIB=$${RANLIB}" \
3781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3782 installcheck) \
3783 || exit 1
3785 @endif bfd
3787 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3788 maybe-mostlyclean-bfd:
3789 @if bfd
3790 maybe-mostlyclean-bfd: mostlyclean-bfd
3792 mostlyclean-bfd:
3793 @[ -f ./bfd/Makefile ] || exit 0; \
3794 r=`${PWD_COMMAND}`; export r; \
3795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3796 $(HOST_EXPORTS) \
3797 for flag in $(EXTRA_HOST_FLAGS) ; do \
3798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3799 done; \
3800 echo "Doing mostlyclean in bfd" ; \
3801 (cd $(HOST_SUBDIR)/bfd && \
3802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3804 "RANLIB=$${RANLIB}" \
3805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3806 mostlyclean) \
3807 || exit 1
3809 @endif bfd
3811 .PHONY: maybe-clean-bfd clean-bfd
3812 maybe-clean-bfd:
3813 @if bfd
3814 maybe-clean-bfd: clean-bfd
3816 clean-bfd:
3817 @[ -f ./bfd/Makefile ] || exit 0; \
3818 r=`${PWD_COMMAND}`; export r; \
3819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3820 $(HOST_EXPORTS) \
3821 for flag in $(EXTRA_HOST_FLAGS) ; do \
3822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3823 done; \
3824 echo "Doing clean in bfd" ; \
3825 (cd $(HOST_SUBDIR)/bfd && \
3826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3828 "RANLIB=$${RANLIB}" \
3829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3830 clean) \
3831 || exit 1
3833 @endif bfd
3835 .PHONY: maybe-distclean-bfd distclean-bfd
3836 maybe-distclean-bfd:
3837 @if bfd
3838 maybe-distclean-bfd: distclean-bfd
3840 distclean-bfd:
3841 @[ -f ./bfd/Makefile ] || exit 0; \
3842 r=`${PWD_COMMAND}`; export r; \
3843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3844 $(HOST_EXPORTS) \
3845 for flag in $(EXTRA_HOST_FLAGS) ; do \
3846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3847 done; \
3848 echo "Doing distclean in bfd" ; \
3849 (cd $(HOST_SUBDIR)/bfd && \
3850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3852 "RANLIB=$${RANLIB}" \
3853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3854 distclean) \
3855 || exit 1
3857 @endif bfd
3859 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3860 maybe-maintainer-clean-bfd:
3861 @if bfd
3862 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3864 maintainer-clean-bfd:
3865 @[ -f ./bfd/Makefile ] || exit 0; \
3866 r=`${PWD_COMMAND}`; export r; \
3867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3868 $(HOST_EXPORTS) \
3869 for flag in $(EXTRA_HOST_FLAGS) ; do \
3870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3871 done; \
3872 echo "Doing maintainer-clean in bfd" ; \
3873 (cd $(HOST_SUBDIR)/bfd && \
3874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3876 "RANLIB=$${RANLIB}" \
3877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3878 maintainer-clean) \
3879 || exit 1
3881 @endif bfd
3885 .PHONY: configure-opcodes maybe-configure-opcodes
3886 maybe-configure-opcodes:
3887 @if gcc-bootstrap
3888 configure-opcodes: stage_current
3889 @endif gcc-bootstrap
3890 @if opcodes
3891 maybe-configure-opcodes: configure-opcodes
3892 configure-opcodes:
3893 @r=`${PWD_COMMAND}`; export r; \
3894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3895 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3897 $(HOST_EXPORTS) \
3898 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3899 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3900 case $(srcdir) in \
3901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3902 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3904 esac; \
3905 module_srcdir=opcodes; \
3906 $(SHELL) \
3907 $$s/$$module_srcdir/configure \
3908 --srcdir=$${topdir}/$$module_srcdir \
3909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3910 --target=${target_alias} \
3911 || exit 1
3912 @endif opcodes
3916 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3917 maybe-configure-stage1-opcodes:
3918 @if opcodes-bootstrap
3919 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3920 configure-stage1-opcodes:
3921 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3923 @r=`${PWD_COMMAND}`; export r; \
3924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3925 TFLAGS="$(STAGE1_TFLAGS)"; \
3926 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3927 $(HOST_EXPORTS) \
3928 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3929 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3930 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3931 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3933 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3934 case $(srcdir) in \
3935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3936 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3938 esac; \
3939 module_srcdir=opcodes; \
3940 $(SHELL) $$s/$$module_srcdir/configure \
3941 --srcdir=$${topdir}/$$module_srcdir \
3942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3943 --target=${target_alias} \
3945 $(STAGE1_CONFIGURE_FLAGS)
3946 @endif opcodes-bootstrap
3948 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3949 maybe-configure-stage2-opcodes:
3950 @if opcodes-bootstrap
3951 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3952 configure-stage2-opcodes:
3953 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3955 @r=`${PWD_COMMAND}`; export r; \
3956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 TFLAGS="$(STAGE2_TFLAGS)"; \
3958 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3959 $(HOST_EXPORTS) \
3960 $(POSTSTAGE1_HOST_EXPORTS) \
3961 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3962 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3963 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3964 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3966 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3967 case $(srcdir) in \
3968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3969 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3971 esac; \
3972 module_srcdir=opcodes; \
3973 $(SHELL) $$s/$$module_srcdir/configure \
3974 --srcdir=$${topdir}/$$module_srcdir \
3975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3976 --target=${target_alias} \
3977 --with-build-libsubdir=$(HOST_SUBDIR) \
3978 $(STAGE2_CONFIGURE_FLAGS)
3979 @endif opcodes-bootstrap
3981 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3982 maybe-configure-stage3-opcodes:
3983 @if opcodes-bootstrap
3984 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3985 configure-stage3-opcodes:
3986 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3988 @r=`${PWD_COMMAND}`; export r; \
3989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3990 TFLAGS="$(STAGE3_TFLAGS)"; \
3991 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3992 $(HOST_EXPORTS) \
3993 $(POSTSTAGE1_HOST_EXPORTS) \
3994 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3995 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3996 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3997 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3999 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4000 case $(srcdir) in \
4001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4002 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4004 esac; \
4005 module_srcdir=opcodes; \
4006 $(SHELL) $$s/$$module_srcdir/configure \
4007 --srcdir=$${topdir}/$$module_srcdir \
4008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4009 --target=${target_alias} \
4010 --with-build-libsubdir=$(HOST_SUBDIR) \
4011 $(STAGE3_CONFIGURE_FLAGS)
4012 @endif opcodes-bootstrap
4014 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4015 maybe-configure-stage4-opcodes:
4016 @if opcodes-bootstrap
4017 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4018 configure-stage4-opcodes:
4019 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4021 @r=`${PWD_COMMAND}`; export r; \
4022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4023 TFLAGS="$(STAGE4_TFLAGS)"; \
4024 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4025 $(HOST_EXPORTS) \
4026 $(POSTSTAGE1_HOST_EXPORTS) \
4027 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4028 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4029 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4030 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4032 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4033 case $(srcdir) in \
4034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4035 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4037 esac; \
4038 module_srcdir=opcodes; \
4039 $(SHELL) $$s/$$module_srcdir/configure \
4040 --srcdir=$${topdir}/$$module_srcdir \
4041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4042 --target=${target_alias} \
4043 --with-build-libsubdir=$(HOST_SUBDIR) \
4044 $(STAGE4_CONFIGURE_FLAGS)
4045 @endif opcodes-bootstrap
4047 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4048 maybe-configure-stageprofile-opcodes:
4049 @if opcodes-bootstrap
4050 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4051 configure-stageprofile-opcodes:
4052 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4054 @r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4057 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4058 $(HOST_EXPORTS) \
4059 $(POSTSTAGE1_HOST_EXPORTS) \
4060 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4061 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4062 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4063 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4065 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4066 case $(srcdir) in \
4067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4068 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4070 esac; \
4071 module_srcdir=opcodes; \
4072 $(SHELL) $$s/$$module_srcdir/configure \
4073 --srcdir=$${topdir}/$$module_srcdir \
4074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4075 --target=${target_alias} \
4076 --with-build-libsubdir=$(HOST_SUBDIR) \
4077 $(STAGEprofile_CONFIGURE_FLAGS)
4078 @endif opcodes-bootstrap
4080 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4081 maybe-configure-stagefeedback-opcodes:
4082 @if opcodes-bootstrap
4083 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4084 configure-stagefeedback-opcodes:
4085 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4086 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4087 @r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4090 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4091 $(HOST_EXPORTS) \
4092 $(POSTSTAGE1_HOST_EXPORTS) \
4093 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4094 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4095 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4096 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4098 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4099 case $(srcdir) in \
4100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4101 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4103 esac; \
4104 module_srcdir=opcodes; \
4105 $(SHELL) $$s/$$module_srcdir/configure \
4106 --srcdir=$${topdir}/$$module_srcdir \
4107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4108 --target=${target_alias} \
4109 --with-build-libsubdir=$(HOST_SUBDIR) \
4110 $(STAGEfeedback_CONFIGURE_FLAGS)
4111 @endif opcodes-bootstrap
4117 .PHONY: all-opcodes maybe-all-opcodes
4118 maybe-all-opcodes:
4119 @if gcc-bootstrap
4120 all-opcodes: stage_current
4121 @endif gcc-bootstrap
4122 @if opcodes
4123 TARGET-opcodes=all
4124 maybe-all-opcodes: all-opcodes
4125 all-opcodes: configure-opcodes
4126 @r=`${PWD_COMMAND}`; export r; \
4127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4128 $(HOST_EXPORTS) \
4129 (cd $(HOST_SUBDIR)/opcodes && \
4130 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4131 $(TARGET-opcodes))
4132 @endif opcodes
4136 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4137 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4138 maybe-all-stage1-opcodes:
4139 maybe-clean-stage1-opcodes:
4140 @if opcodes-bootstrap
4141 maybe-all-stage1-opcodes: all-stage1-opcodes
4142 all-stage1: all-stage1-opcodes
4143 TARGET-stage1-opcodes = $(TARGET-opcodes)
4144 all-stage1-opcodes: configure-stage1-opcodes
4145 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4146 @r=`${PWD_COMMAND}`; export r; \
4147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4148 TFLAGS="$(STAGE1_TFLAGS)"; \
4149 $(HOST_EXPORTS) \
4150 cd $(HOST_SUBDIR)/opcodes && \
4151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4152 CFLAGS="$(STAGE1_CFLAGS)" \
4153 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4154 LIBCFLAGS="$(LIBCFLAGS)" \
4155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4158 $(EXTRA_HOST_FLAGS) \
4159 $(STAGE1_FLAGS_TO_PASS) \
4160 TFLAGS="$(STAGE1_TFLAGS)" \
4161 $(TARGET-stage1-opcodes)
4163 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4164 clean-stage1: clean-stage1-opcodes
4165 clean-stage1-opcodes:
4166 @if [ $(current_stage) = stage1 ]; then \
4167 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4168 else \
4169 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4170 $(MAKE) stage1-start; \
4171 fi; \
4172 cd $(HOST_SUBDIR)/opcodes && \
4173 $(MAKE) $(EXTRA_HOST_FLAGS) \
4174 $(STAGE1_FLAGS_TO_PASS) clean
4175 @endif opcodes-bootstrap
4178 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4179 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4180 maybe-all-stage2-opcodes:
4181 maybe-clean-stage2-opcodes:
4182 @if opcodes-bootstrap
4183 maybe-all-stage2-opcodes: all-stage2-opcodes
4184 all-stage2: all-stage2-opcodes
4185 TARGET-stage2-opcodes = $(TARGET-opcodes)
4186 all-stage2-opcodes: configure-stage2-opcodes
4187 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4188 @r=`${PWD_COMMAND}`; export r; \
4189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4190 TFLAGS="$(STAGE2_TFLAGS)"; \
4191 $(HOST_EXPORTS) \
4192 $(POSTSTAGE1_HOST_EXPORTS) \
4193 cd $(HOST_SUBDIR)/opcodes && \
4194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4195 CFLAGS="$(STAGE2_CFLAGS)" \
4196 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4197 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4202 TFLAGS="$(STAGE2_TFLAGS)" \
4203 $(TARGET-stage2-opcodes)
4205 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4206 clean-stage2: clean-stage2-opcodes
4207 clean-stage2-opcodes:
4208 @if [ $(current_stage) = stage2 ]; then \
4209 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4210 else \
4211 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4212 $(MAKE) stage2-start; \
4213 fi; \
4214 cd $(HOST_SUBDIR)/opcodes && \
4215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4216 @endif opcodes-bootstrap
4219 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4220 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4221 maybe-all-stage3-opcodes:
4222 maybe-clean-stage3-opcodes:
4223 @if opcodes-bootstrap
4224 maybe-all-stage3-opcodes: all-stage3-opcodes
4225 all-stage3: all-stage3-opcodes
4226 TARGET-stage3-opcodes = $(TARGET-opcodes)
4227 all-stage3-opcodes: configure-stage3-opcodes
4228 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4229 @r=`${PWD_COMMAND}`; export r; \
4230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4231 TFLAGS="$(STAGE3_TFLAGS)"; \
4232 $(HOST_EXPORTS) \
4233 $(POSTSTAGE1_HOST_EXPORTS) \
4234 cd $(HOST_SUBDIR)/opcodes && \
4235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4236 CFLAGS="$(STAGE3_CFLAGS)" \
4237 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4238 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4243 TFLAGS="$(STAGE3_TFLAGS)" \
4244 $(TARGET-stage3-opcodes)
4246 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4247 clean-stage3: clean-stage3-opcodes
4248 clean-stage3-opcodes:
4249 @if [ $(current_stage) = stage3 ]; then \
4250 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4251 else \
4252 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4253 $(MAKE) stage3-start; \
4254 fi; \
4255 cd $(HOST_SUBDIR)/opcodes && \
4256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4257 @endif opcodes-bootstrap
4260 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4261 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4262 maybe-all-stage4-opcodes:
4263 maybe-clean-stage4-opcodes:
4264 @if opcodes-bootstrap
4265 maybe-all-stage4-opcodes: all-stage4-opcodes
4266 all-stage4: all-stage4-opcodes
4267 TARGET-stage4-opcodes = $(TARGET-opcodes)
4268 all-stage4-opcodes: configure-stage4-opcodes
4269 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4270 @r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 TFLAGS="$(STAGE4_TFLAGS)"; \
4273 $(HOST_EXPORTS) \
4274 $(POSTSTAGE1_HOST_EXPORTS) \
4275 cd $(HOST_SUBDIR)/opcodes && \
4276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4277 CFLAGS="$(STAGE4_CFLAGS)" \
4278 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4279 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4284 TFLAGS="$(STAGE4_TFLAGS)" \
4285 $(TARGET-stage4-opcodes)
4287 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4288 clean-stage4: clean-stage4-opcodes
4289 clean-stage4-opcodes:
4290 @if [ $(current_stage) = stage4 ]; then \
4291 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4292 else \
4293 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4294 $(MAKE) stage4-start; \
4295 fi; \
4296 cd $(HOST_SUBDIR)/opcodes && \
4297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4298 @endif opcodes-bootstrap
4301 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4302 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4303 maybe-all-stageprofile-opcodes:
4304 maybe-clean-stageprofile-opcodes:
4305 @if opcodes-bootstrap
4306 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4307 all-stageprofile: all-stageprofile-opcodes
4308 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4309 all-stageprofile-opcodes: configure-stageprofile-opcodes
4310 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4311 @r=`${PWD_COMMAND}`; export r; \
4312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4313 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4314 $(HOST_EXPORTS) \
4315 $(POSTSTAGE1_HOST_EXPORTS) \
4316 cd $(HOST_SUBDIR)/opcodes && \
4317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4318 CFLAGS="$(STAGEprofile_CFLAGS)" \
4319 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4320 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4325 TFLAGS="$(STAGEprofile_TFLAGS)" \
4326 $(TARGET-stageprofile-opcodes)
4328 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4329 clean-stageprofile: clean-stageprofile-opcodes
4330 clean-stageprofile-opcodes:
4331 @if [ $(current_stage) = stageprofile ]; then \
4332 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4333 else \
4334 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4335 $(MAKE) stageprofile-start; \
4336 fi; \
4337 cd $(HOST_SUBDIR)/opcodes && \
4338 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4339 @endif opcodes-bootstrap
4342 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4343 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4344 maybe-all-stagefeedback-opcodes:
4345 maybe-clean-stagefeedback-opcodes:
4346 @if opcodes-bootstrap
4347 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4348 all-stagefeedback: all-stagefeedback-opcodes
4349 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4350 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4351 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4352 @r=`${PWD_COMMAND}`; export r; \
4353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4355 $(HOST_EXPORTS) \
4356 $(POSTSTAGE1_HOST_EXPORTS) \
4357 cd $(HOST_SUBDIR)/opcodes && \
4358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4359 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4360 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4361 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4366 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4367 $(TARGET-stagefeedback-opcodes)
4369 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4370 clean-stagefeedback: clean-stagefeedback-opcodes
4371 clean-stagefeedback-opcodes:
4372 @if [ $(current_stage) = stagefeedback ]; then \
4373 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4374 else \
4375 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4376 $(MAKE) stagefeedback-start; \
4377 fi; \
4378 cd $(HOST_SUBDIR)/opcodes && \
4379 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4380 @endif opcodes-bootstrap
4386 .PHONY: check-opcodes maybe-check-opcodes
4387 maybe-check-opcodes:
4388 @if opcodes
4389 maybe-check-opcodes: check-opcodes
4391 check-opcodes:
4392 @: $(MAKE); $(unstage)
4393 @r=`${PWD_COMMAND}`; export r; \
4394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4395 $(HOST_EXPORTS) \
4396 (cd $(HOST_SUBDIR)/opcodes && \
4397 $(MAKE) $(FLAGS_TO_PASS) check)
4399 @endif opcodes
4401 .PHONY: install-opcodes maybe-install-opcodes
4402 maybe-install-opcodes:
4403 @if opcodes
4404 maybe-install-opcodes: install-opcodes
4406 install-opcodes: installdirs
4407 @: $(MAKE); $(unstage)
4408 @r=`${PWD_COMMAND}`; export r; \
4409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4410 $(HOST_EXPORTS) \
4411 (cd $(HOST_SUBDIR)/opcodes && \
4412 $(MAKE) $(FLAGS_TO_PASS) install)
4414 @endif opcodes
4416 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4417 maybe-install-strip-opcodes:
4418 @if opcodes
4419 maybe-install-strip-opcodes: install-strip-opcodes
4421 install-strip-opcodes: installdirs
4422 @: $(MAKE); $(unstage)
4423 @r=`${PWD_COMMAND}`; export r; \
4424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425 $(HOST_EXPORTS) \
4426 (cd $(HOST_SUBDIR)/opcodes && \
4427 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4429 @endif opcodes
4431 # Other targets (info, dvi, pdf, etc.)
4433 .PHONY: maybe-info-opcodes info-opcodes
4434 maybe-info-opcodes:
4435 @if opcodes
4436 maybe-info-opcodes: info-opcodes
4438 info-opcodes: \
4439 configure-opcodes
4440 @[ -f ./opcodes/Makefile ] || exit 0; \
4441 r=`${PWD_COMMAND}`; export r; \
4442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4443 $(HOST_EXPORTS) \
4444 for flag in $(EXTRA_HOST_FLAGS) ; do \
4445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4446 done; \
4447 echo "Doing info in opcodes" ; \
4448 (cd $(HOST_SUBDIR)/opcodes && \
4449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4451 "RANLIB=$${RANLIB}" \
4452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4453 info) \
4454 || exit 1
4456 @endif opcodes
4458 .PHONY: maybe-dvi-opcodes dvi-opcodes
4459 maybe-dvi-opcodes:
4460 @if opcodes
4461 maybe-dvi-opcodes: dvi-opcodes
4463 dvi-opcodes: \
4464 configure-opcodes
4465 @[ -f ./opcodes/Makefile ] || exit 0; \
4466 r=`${PWD_COMMAND}`; export r; \
4467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4468 $(HOST_EXPORTS) \
4469 for flag in $(EXTRA_HOST_FLAGS) ; do \
4470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4471 done; \
4472 echo "Doing dvi in opcodes" ; \
4473 (cd $(HOST_SUBDIR)/opcodes && \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476 "RANLIB=$${RANLIB}" \
4477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4478 dvi) \
4479 || exit 1
4481 @endif opcodes
4483 .PHONY: maybe-pdf-opcodes pdf-opcodes
4484 maybe-pdf-opcodes:
4485 @if opcodes
4486 maybe-pdf-opcodes: pdf-opcodes
4488 pdf-opcodes: \
4489 configure-opcodes
4490 @[ -f ./opcodes/Makefile ] || exit 0; \
4491 r=`${PWD_COMMAND}`; export r; \
4492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 $(HOST_EXPORTS) \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 done; \
4497 echo "Doing pdf in opcodes" ; \
4498 (cd $(HOST_SUBDIR)/opcodes && \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4503 pdf) \
4504 || exit 1
4506 @endif opcodes
4508 .PHONY: maybe-html-opcodes html-opcodes
4509 maybe-html-opcodes:
4510 @if opcodes
4511 maybe-html-opcodes: html-opcodes
4513 html-opcodes: \
4514 configure-opcodes
4515 @[ -f ./opcodes/Makefile ] || exit 0; \
4516 r=`${PWD_COMMAND}`; export r; \
4517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4518 $(HOST_EXPORTS) \
4519 for flag in $(EXTRA_HOST_FLAGS) ; do \
4520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4521 done; \
4522 echo "Doing html in opcodes" ; \
4523 (cd $(HOST_SUBDIR)/opcodes && \
4524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4526 "RANLIB=$${RANLIB}" \
4527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4528 html) \
4529 || exit 1
4531 @endif opcodes
4533 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4534 maybe-TAGS-opcodes:
4535 @if opcodes
4536 maybe-TAGS-opcodes: TAGS-opcodes
4538 TAGS-opcodes: \
4539 configure-opcodes
4540 @[ -f ./opcodes/Makefile ] || exit 0; \
4541 r=`${PWD_COMMAND}`; export r; \
4542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4543 $(HOST_EXPORTS) \
4544 for flag in $(EXTRA_HOST_FLAGS) ; do \
4545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4546 done; \
4547 echo "Doing TAGS in opcodes" ; \
4548 (cd $(HOST_SUBDIR)/opcodes && \
4549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4551 "RANLIB=$${RANLIB}" \
4552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4553 TAGS) \
4554 || exit 1
4556 @endif opcodes
4558 .PHONY: maybe-install-info-opcodes install-info-opcodes
4559 maybe-install-info-opcodes:
4560 @if opcodes
4561 maybe-install-info-opcodes: install-info-opcodes
4563 install-info-opcodes: \
4564 configure-opcodes \
4565 info-opcodes
4566 @[ -f ./opcodes/Makefile ] || exit 0; \
4567 r=`${PWD_COMMAND}`; export r; \
4568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 $(HOST_EXPORTS) \
4570 for flag in $(EXTRA_HOST_FLAGS) ; do \
4571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4572 done; \
4573 echo "Doing install-info in opcodes" ; \
4574 (cd $(HOST_SUBDIR)/opcodes && \
4575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4577 "RANLIB=$${RANLIB}" \
4578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4579 install-info) \
4580 || exit 1
4582 @endif opcodes
4584 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4585 maybe-install-pdf-opcodes:
4586 @if opcodes
4587 maybe-install-pdf-opcodes: install-pdf-opcodes
4589 install-pdf-opcodes: \
4590 configure-opcodes \
4591 pdf-opcodes
4592 @[ -f ./opcodes/Makefile ] || exit 0; \
4593 r=`${PWD_COMMAND}`; export r; \
4594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4595 $(HOST_EXPORTS) \
4596 for flag in $(EXTRA_HOST_FLAGS) ; do \
4597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4598 done; \
4599 echo "Doing install-pdf in opcodes" ; \
4600 (cd $(HOST_SUBDIR)/opcodes && \
4601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4603 "RANLIB=$${RANLIB}" \
4604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4605 install-pdf) \
4606 || exit 1
4608 @endif opcodes
4610 .PHONY: maybe-install-html-opcodes install-html-opcodes
4611 maybe-install-html-opcodes:
4612 @if opcodes
4613 maybe-install-html-opcodes: install-html-opcodes
4615 install-html-opcodes: \
4616 configure-opcodes \
4617 html-opcodes
4618 @[ -f ./opcodes/Makefile ] || exit 0; \
4619 r=`${PWD_COMMAND}`; export r; \
4620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4621 $(HOST_EXPORTS) \
4622 for flag in $(EXTRA_HOST_FLAGS) ; do \
4623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4624 done; \
4625 echo "Doing install-html in opcodes" ; \
4626 (cd $(HOST_SUBDIR)/opcodes && \
4627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4629 "RANLIB=$${RANLIB}" \
4630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4631 install-html) \
4632 || exit 1
4634 @endif opcodes
4636 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4637 maybe-installcheck-opcodes:
4638 @if opcodes
4639 maybe-installcheck-opcodes: installcheck-opcodes
4641 installcheck-opcodes: \
4642 configure-opcodes
4643 @[ -f ./opcodes/Makefile ] || exit 0; \
4644 r=`${PWD_COMMAND}`; export r; \
4645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4646 $(HOST_EXPORTS) \
4647 for flag in $(EXTRA_HOST_FLAGS) ; do \
4648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4649 done; \
4650 echo "Doing installcheck in opcodes" ; \
4651 (cd $(HOST_SUBDIR)/opcodes && \
4652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4654 "RANLIB=$${RANLIB}" \
4655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4656 installcheck) \
4657 || exit 1
4659 @endif opcodes
4661 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4662 maybe-mostlyclean-opcodes:
4663 @if opcodes
4664 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4666 mostlyclean-opcodes:
4667 @[ -f ./opcodes/Makefile ] || exit 0; \
4668 r=`${PWD_COMMAND}`; export r; \
4669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4670 $(HOST_EXPORTS) \
4671 for flag in $(EXTRA_HOST_FLAGS) ; do \
4672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4673 done; \
4674 echo "Doing mostlyclean in opcodes" ; \
4675 (cd $(HOST_SUBDIR)/opcodes && \
4676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4678 "RANLIB=$${RANLIB}" \
4679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4680 mostlyclean) \
4681 || exit 1
4683 @endif opcodes
4685 .PHONY: maybe-clean-opcodes clean-opcodes
4686 maybe-clean-opcodes:
4687 @if opcodes
4688 maybe-clean-opcodes: clean-opcodes
4690 clean-opcodes:
4691 @[ -f ./opcodes/Makefile ] || exit 0; \
4692 r=`${PWD_COMMAND}`; export r; \
4693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4694 $(HOST_EXPORTS) \
4695 for flag in $(EXTRA_HOST_FLAGS) ; do \
4696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4697 done; \
4698 echo "Doing clean in opcodes" ; \
4699 (cd $(HOST_SUBDIR)/opcodes && \
4700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4702 "RANLIB=$${RANLIB}" \
4703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4704 clean) \
4705 || exit 1
4707 @endif opcodes
4709 .PHONY: maybe-distclean-opcodes distclean-opcodes
4710 maybe-distclean-opcodes:
4711 @if opcodes
4712 maybe-distclean-opcodes: distclean-opcodes
4714 distclean-opcodes:
4715 @[ -f ./opcodes/Makefile ] || exit 0; \
4716 r=`${PWD_COMMAND}`; export r; \
4717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 $(HOST_EXPORTS) \
4719 for flag in $(EXTRA_HOST_FLAGS) ; do \
4720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4721 done; \
4722 echo "Doing distclean in opcodes" ; \
4723 (cd $(HOST_SUBDIR)/opcodes && \
4724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4726 "RANLIB=$${RANLIB}" \
4727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4728 distclean) \
4729 || exit 1
4731 @endif opcodes
4733 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4734 maybe-maintainer-clean-opcodes:
4735 @if opcodes
4736 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4738 maintainer-clean-opcodes:
4739 @[ -f ./opcodes/Makefile ] || exit 0; \
4740 r=`${PWD_COMMAND}`; export r; \
4741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4742 $(HOST_EXPORTS) \
4743 for flag in $(EXTRA_HOST_FLAGS) ; do \
4744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4745 done; \
4746 echo "Doing maintainer-clean in opcodes" ; \
4747 (cd $(HOST_SUBDIR)/opcodes && \
4748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4750 "RANLIB=$${RANLIB}" \
4751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4752 maintainer-clean) \
4753 || exit 1
4755 @endif opcodes
4759 .PHONY: configure-binutils maybe-configure-binutils
4760 maybe-configure-binutils:
4761 @if gcc-bootstrap
4762 configure-binutils: stage_current
4763 @endif gcc-bootstrap
4764 @if binutils
4765 maybe-configure-binutils: configure-binutils
4766 configure-binutils:
4767 @r=`${PWD_COMMAND}`; export r; \
4768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4769 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4771 $(HOST_EXPORTS) \
4772 echo Configuring in $(HOST_SUBDIR)/binutils; \
4773 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4774 case $(srcdir) in \
4775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4776 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4778 esac; \
4779 module_srcdir=binutils; \
4780 $(SHELL) \
4781 $$s/$$module_srcdir/configure \
4782 --srcdir=$${topdir}/$$module_srcdir \
4783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4784 --target=${target_alias} \
4785 || exit 1
4786 @endif binutils
4790 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4791 maybe-configure-stage1-binutils:
4792 @if binutils-bootstrap
4793 maybe-configure-stage1-binutils: configure-stage1-binutils
4794 configure-stage1-binutils:
4795 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4797 @r=`${PWD_COMMAND}`; export r; \
4798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4799 TFLAGS="$(STAGE1_TFLAGS)"; \
4800 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4801 $(HOST_EXPORTS) \
4802 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4803 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4804 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4805 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4807 cd $(HOST_SUBDIR)/binutils || exit 1; \
4808 case $(srcdir) in \
4809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4810 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4812 esac; \
4813 module_srcdir=binutils; \
4814 $(SHELL) $$s/$$module_srcdir/configure \
4815 --srcdir=$${topdir}/$$module_srcdir \
4816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4817 --target=${target_alias} \
4819 $(STAGE1_CONFIGURE_FLAGS)
4820 @endif binutils-bootstrap
4822 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4823 maybe-configure-stage2-binutils:
4824 @if binutils-bootstrap
4825 maybe-configure-stage2-binutils: configure-stage2-binutils
4826 configure-stage2-binutils:
4827 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4829 @r=`${PWD_COMMAND}`; export r; \
4830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4831 TFLAGS="$(STAGE2_TFLAGS)"; \
4832 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4833 $(HOST_EXPORTS) \
4834 $(POSTSTAGE1_HOST_EXPORTS) \
4835 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4836 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4837 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4838 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4840 cd $(HOST_SUBDIR)/binutils || exit 1; \
4841 case $(srcdir) in \
4842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4843 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4845 esac; \
4846 module_srcdir=binutils; \
4847 $(SHELL) $$s/$$module_srcdir/configure \
4848 --srcdir=$${topdir}/$$module_srcdir \
4849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4850 --target=${target_alias} \
4851 --with-build-libsubdir=$(HOST_SUBDIR) \
4852 $(STAGE2_CONFIGURE_FLAGS)
4853 @endif binutils-bootstrap
4855 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4856 maybe-configure-stage3-binutils:
4857 @if binutils-bootstrap
4858 maybe-configure-stage3-binutils: configure-stage3-binutils
4859 configure-stage3-binutils:
4860 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4862 @r=`${PWD_COMMAND}`; export r; \
4863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4864 TFLAGS="$(STAGE3_TFLAGS)"; \
4865 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4866 $(HOST_EXPORTS) \
4867 $(POSTSTAGE1_HOST_EXPORTS) \
4868 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4869 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4870 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4871 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4873 cd $(HOST_SUBDIR)/binutils || exit 1; \
4874 case $(srcdir) in \
4875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4876 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4878 esac; \
4879 module_srcdir=binutils; \
4880 $(SHELL) $$s/$$module_srcdir/configure \
4881 --srcdir=$${topdir}/$$module_srcdir \
4882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4883 --target=${target_alias} \
4884 --with-build-libsubdir=$(HOST_SUBDIR) \
4885 $(STAGE3_CONFIGURE_FLAGS)
4886 @endif binutils-bootstrap
4888 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4889 maybe-configure-stage4-binutils:
4890 @if binutils-bootstrap
4891 maybe-configure-stage4-binutils: configure-stage4-binutils
4892 configure-stage4-binutils:
4893 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4895 @r=`${PWD_COMMAND}`; export r; \
4896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4897 TFLAGS="$(STAGE4_TFLAGS)"; \
4898 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4899 $(HOST_EXPORTS) \
4900 $(POSTSTAGE1_HOST_EXPORTS) \
4901 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4902 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4903 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4904 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4906 cd $(HOST_SUBDIR)/binutils || exit 1; \
4907 case $(srcdir) in \
4908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4909 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4911 esac; \
4912 module_srcdir=binutils; \
4913 $(SHELL) $$s/$$module_srcdir/configure \
4914 --srcdir=$${topdir}/$$module_srcdir \
4915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4916 --target=${target_alias} \
4917 --with-build-libsubdir=$(HOST_SUBDIR) \
4918 $(STAGE4_CONFIGURE_FLAGS)
4919 @endif binutils-bootstrap
4921 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4922 maybe-configure-stageprofile-binutils:
4923 @if binutils-bootstrap
4924 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4925 configure-stageprofile-binutils:
4926 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4928 @r=`${PWD_COMMAND}`; export r; \
4929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4930 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4931 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4932 $(HOST_EXPORTS) \
4933 $(POSTSTAGE1_HOST_EXPORTS) \
4934 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4935 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4936 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4937 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4939 cd $(HOST_SUBDIR)/binutils || exit 1; \
4940 case $(srcdir) in \
4941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4942 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4944 esac; \
4945 module_srcdir=binutils; \
4946 $(SHELL) $$s/$$module_srcdir/configure \
4947 --srcdir=$${topdir}/$$module_srcdir \
4948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4949 --target=${target_alias} \
4950 --with-build-libsubdir=$(HOST_SUBDIR) \
4951 $(STAGEprofile_CONFIGURE_FLAGS)
4952 @endif binutils-bootstrap
4954 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4955 maybe-configure-stagefeedback-binutils:
4956 @if binutils-bootstrap
4957 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4958 configure-stagefeedback-binutils:
4959 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4961 @r=`${PWD_COMMAND}`; export r; \
4962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4963 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4964 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4965 $(HOST_EXPORTS) \
4966 $(POSTSTAGE1_HOST_EXPORTS) \
4967 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4968 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4969 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4970 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4972 cd $(HOST_SUBDIR)/binutils || exit 1; \
4973 case $(srcdir) in \
4974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4975 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4977 esac; \
4978 module_srcdir=binutils; \
4979 $(SHELL) $$s/$$module_srcdir/configure \
4980 --srcdir=$${topdir}/$$module_srcdir \
4981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4982 --target=${target_alias} \
4983 --with-build-libsubdir=$(HOST_SUBDIR) \
4984 $(STAGEfeedback_CONFIGURE_FLAGS)
4985 @endif binutils-bootstrap
4991 .PHONY: all-binutils maybe-all-binutils
4992 maybe-all-binutils:
4993 @if gcc-bootstrap
4994 all-binutils: stage_current
4995 @endif gcc-bootstrap
4996 @if binutils
4997 TARGET-binutils=all
4998 maybe-all-binutils: all-binutils
4999 all-binutils: configure-binutils
5000 @r=`${PWD_COMMAND}`; export r; \
5001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5002 $(HOST_EXPORTS) \
5003 (cd $(HOST_SUBDIR)/binutils && \
5004 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5005 $(TARGET-binutils))
5006 @endif binutils
5010 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5011 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5012 maybe-all-stage1-binutils:
5013 maybe-clean-stage1-binutils:
5014 @if binutils-bootstrap
5015 maybe-all-stage1-binutils: all-stage1-binutils
5016 all-stage1: all-stage1-binutils
5017 TARGET-stage1-binutils = $(TARGET-binutils)
5018 all-stage1-binutils: configure-stage1-binutils
5019 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5020 @r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5022 TFLAGS="$(STAGE1_TFLAGS)"; \
5023 $(HOST_EXPORTS) \
5024 cd $(HOST_SUBDIR)/binutils && \
5025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5026 CFLAGS="$(STAGE1_CFLAGS)" \
5027 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5028 LIBCFLAGS="$(LIBCFLAGS)" \
5029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5032 $(EXTRA_HOST_FLAGS) \
5033 $(STAGE1_FLAGS_TO_PASS) \
5034 TFLAGS="$(STAGE1_TFLAGS)" \
5035 $(TARGET-stage1-binutils)
5037 maybe-clean-stage1-binutils: clean-stage1-binutils
5038 clean-stage1: clean-stage1-binutils
5039 clean-stage1-binutils:
5040 @if [ $(current_stage) = stage1 ]; then \
5041 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5042 else \
5043 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5044 $(MAKE) stage1-start; \
5045 fi; \
5046 cd $(HOST_SUBDIR)/binutils && \
5047 $(MAKE) $(EXTRA_HOST_FLAGS) \
5048 $(STAGE1_FLAGS_TO_PASS) clean
5049 @endif binutils-bootstrap
5052 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5053 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5054 maybe-all-stage2-binutils:
5055 maybe-clean-stage2-binutils:
5056 @if binutils-bootstrap
5057 maybe-all-stage2-binutils: all-stage2-binutils
5058 all-stage2: all-stage2-binutils
5059 TARGET-stage2-binutils = $(TARGET-binutils)
5060 all-stage2-binutils: configure-stage2-binutils
5061 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5062 @r=`${PWD_COMMAND}`; export r; \
5063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5064 TFLAGS="$(STAGE2_TFLAGS)"; \
5065 $(HOST_EXPORTS) \
5066 $(POSTSTAGE1_HOST_EXPORTS) \
5067 cd $(HOST_SUBDIR)/binutils && \
5068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5069 CFLAGS="$(STAGE2_CFLAGS)" \
5070 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5071 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5076 TFLAGS="$(STAGE2_TFLAGS)" \
5077 $(TARGET-stage2-binutils)
5079 maybe-clean-stage2-binutils: clean-stage2-binutils
5080 clean-stage2: clean-stage2-binutils
5081 clean-stage2-binutils:
5082 @if [ $(current_stage) = stage2 ]; then \
5083 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5084 else \
5085 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5086 $(MAKE) stage2-start; \
5087 fi; \
5088 cd $(HOST_SUBDIR)/binutils && \
5089 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5090 @endif binutils-bootstrap
5093 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5094 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5095 maybe-all-stage3-binutils:
5096 maybe-clean-stage3-binutils:
5097 @if binutils-bootstrap
5098 maybe-all-stage3-binutils: all-stage3-binutils
5099 all-stage3: all-stage3-binutils
5100 TARGET-stage3-binutils = $(TARGET-binutils)
5101 all-stage3-binutils: configure-stage3-binutils
5102 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5103 @r=`${PWD_COMMAND}`; export r; \
5104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5105 TFLAGS="$(STAGE3_TFLAGS)"; \
5106 $(HOST_EXPORTS) \
5107 $(POSTSTAGE1_HOST_EXPORTS) \
5108 cd $(HOST_SUBDIR)/binutils && \
5109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5110 CFLAGS="$(STAGE3_CFLAGS)" \
5111 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5112 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5117 TFLAGS="$(STAGE3_TFLAGS)" \
5118 $(TARGET-stage3-binutils)
5120 maybe-clean-stage3-binutils: clean-stage3-binutils
5121 clean-stage3: clean-stage3-binutils
5122 clean-stage3-binutils:
5123 @if [ $(current_stage) = stage3 ]; then \
5124 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5125 else \
5126 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5127 $(MAKE) stage3-start; \
5128 fi; \
5129 cd $(HOST_SUBDIR)/binutils && \
5130 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5131 @endif binutils-bootstrap
5134 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5135 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5136 maybe-all-stage4-binutils:
5137 maybe-clean-stage4-binutils:
5138 @if binutils-bootstrap
5139 maybe-all-stage4-binutils: all-stage4-binutils
5140 all-stage4: all-stage4-binutils
5141 TARGET-stage4-binutils = $(TARGET-binutils)
5142 all-stage4-binutils: configure-stage4-binutils
5143 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5144 @r=`${PWD_COMMAND}`; export r; \
5145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5146 TFLAGS="$(STAGE4_TFLAGS)"; \
5147 $(HOST_EXPORTS) \
5148 $(POSTSTAGE1_HOST_EXPORTS) \
5149 cd $(HOST_SUBDIR)/binutils && \
5150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5151 CFLAGS="$(STAGE4_CFLAGS)" \
5152 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5153 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5158 TFLAGS="$(STAGE4_TFLAGS)" \
5159 $(TARGET-stage4-binutils)
5161 maybe-clean-stage4-binutils: clean-stage4-binutils
5162 clean-stage4: clean-stage4-binutils
5163 clean-stage4-binutils:
5164 @if [ $(current_stage) = stage4 ]; then \
5165 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5166 else \
5167 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5168 $(MAKE) stage4-start; \
5169 fi; \
5170 cd $(HOST_SUBDIR)/binutils && \
5171 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5172 @endif binutils-bootstrap
5175 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5176 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5177 maybe-all-stageprofile-binutils:
5178 maybe-clean-stageprofile-binutils:
5179 @if binutils-bootstrap
5180 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5181 all-stageprofile: all-stageprofile-binutils
5182 TARGET-stageprofile-binutils = $(TARGET-binutils)
5183 all-stageprofile-binutils: configure-stageprofile-binutils
5184 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5185 @r=`${PWD_COMMAND}`; export r; \
5186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5187 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5188 $(HOST_EXPORTS) \
5189 $(POSTSTAGE1_HOST_EXPORTS) \
5190 cd $(HOST_SUBDIR)/binutils && \
5191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5192 CFLAGS="$(STAGEprofile_CFLAGS)" \
5193 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5194 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5198 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5199 TFLAGS="$(STAGEprofile_TFLAGS)" \
5200 $(TARGET-stageprofile-binutils)
5202 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5203 clean-stageprofile: clean-stageprofile-binutils
5204 clean-stageprofile-binutils:
5205 @if [ $(current_stage) = stageprofile ]; then \
5206 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5207 else \
5208 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5209 $(MAKE) stageprofile-start; \
5210 fi; \
5211 cd $(HOST_SUBDIR)/binutils && \
5212 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5213 @endif binutils-bootstrap
5216 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5217 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5218 maybe-all-stagefeedback-binutils:
5219 maybe-clean-stagefeedback-binutils:
5220 @if binutils-bootstrap
5221 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5222 all-stagefeedback: all-stagefeedback-binutils
5223 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5224 all-stagefeedback-binutils: configure-stagefeedback-binutils
5225 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5226 @r=`${PWD_COMMAND}`; export r; \
5227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5228 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5229 $(HOST_EXPORTS) \
5230 $(POSTSTAGE1_HOST_EXPORTS) \
5231 cd $(HOST_SUBDIR)/binutils && \
5232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5233 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5234 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5235 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5239 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5240 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5241 $(TARGET-stagefeedback-binutils)
5243 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5244 clean-stagefeedback: clean-stagefeedback-binutils
5245 clean-stagefeedback-binutils:
5246 @if [ $(current_stage) = stagefeedback ]; then \
5247 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5248 else \
5249 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5250 $(MAKE) stagefeedback-start; \
5251 fi; \
5252 cd $(HOST_SUBDIR)/binutils && \
5253 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5254 @endif binutils-bootstrap
5260 .PHONY: check-binutils maybe-check-binutils
5261 maybe-check-binutils:
5262 @if binutils
5263 maybe-check-binutils: check-binutils
5265 check-binutils:
5266 @: $(MAKE); $(unstage)
5267 @r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269 $(HOST_EXPORTS) \
5270 (cd $(HOST_SUBDIR)/binutils && \
5271 $(MAKE) $(FLAGS_TO_PASS) check)
5273 @endif binutils
5275 .PHONY: install-binutils maybe-install-binutils
5276 maybe-install-binutils:
5277 @if binutils
5278 maybe-install-binutils: install-binutils
5280 install-binutils: installdirs
5281 @: $(MAKE); $(unstage)
5282 @r=`${PWD_COMMAND}`; export r; \
5283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5284 $(HOST_EXPORTS) \
5285 (cd $(HOST_SUBDIR)/binutils && \
5286 $(MAKE) $(FLAGS_TO_PASS) install)
5288 @endif binutils
5290 .PHONY: install-strip-binutils maybe-install-strip-binutils
5291 maybe-install-strip-binutils:
5292 @if binutils
5293 maybe-install-strip-binutils: install-strip-binutils
5295 install-strip-binutils: installdirs
5296 @: $(MAKE); $(unstage)
5297 @r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299 $(HOST_EXPORTS) \
5300 (cd $(HOST_SUBDIR)/binutils && \
5301 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5303 @endif binutils
5305 # Other targets (info, dvi, pdf, etc.)
5307 .PHONY: maybe-info-binutils info-binutils
5308 maybe-info-binutils:
5309 @if binutils
5310 maybe-info-binutils: info-binutils
5312 info-binutils: \
5313 configure-binutils
5314 @[ -f ./binutils/Makefile ] || exit 0; \
5315 r=`${PWD_COMMAND}`; export r; \
5316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5317 $(HOST_EXPORTS) \
5318 for flag in $(EXTRA_HOST_FLAGS) ; do \
5319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5320 done; \
5321 echo "Doing info in binutils" ; \
5322 (cd $(HOST_SUBDIR)/binutils && \
5323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5325 "RANLIB=$${RANLIB}" \
5326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5327 info) \
5328 || exit 1
5330 @endif binutils
5332 .PHONY: maybe-dvi-binutils dvi-binutils
5333 maybe-dvi-binutils:
5334 @if binutils
5335 maybe-dvi-binutils: dvi-binutils
5337 dvi-binutils: \
5338 configure-binutils
5339 @[ -f ./binutils/Makefile ] || exit 0; \
5340 r=`${PWD_COMMAND}`; export r; \
5341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5342 $(HOST_EXPORTS) \
5343 for flag in $(EXTRA_HOST_FLAGS) ; do \
5344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5345 done; \
5346 echo "Doing dvi in binutils" ; \
5347 (cd $(HOST_SUBDIR)/binutils && \
5348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5350 "RANLIB=$${RANLIB}" \
5351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5352 dvi) \
5353 || exit 1
5355 @endif binutils
5357 .PHONY: maybe-pdf-binutils pdf-binutils
5358 maybe-pdf-binutils:
5359 @if binutils
5360 maybe-pdf-binutils: pdf-binutils
5362 pdf-binutils: \
5363 configure-binutils
5364 @[ -f ./binutils/Makefile ] || exit 0; \
5365 r=`${PWD_COMMAND}`; export r; \
5366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5367 $(HOST_EXPORTS) \
5368 for flag in $(EXTRA_HOST_FLAGS) ; do \
5369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5370 done; \
5371 echo "Doing pdf in binutils" ; \
5372 (cd $(HOST_SUBDIR)/binutils && \
5373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5375 "RANLIB=$${RANLIB}" \
5376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5377 pdf) \
5378 || exit 1
5380 @endif binutils
5382 .PHONY: maybe-html-binutils html-binutils
5383 maybe-html-binutils:
5384 @if binutils
5385 maybe-html-binutils: html-binutils
5387 html-binutils: \
5388 configure-binutils
5389 @[ -f ./binutils/Makefile ] || exit 0; \
5390 r=`${PWD_COMMAND}`; export r; \
5391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5392 $(HOST_EXPORTS) \
5393 for flag in $(EXTRA_HOST_FLAGS) ; do \
5394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5395 done; \
5396 echo "Doing html in binutils" ; \
5397 (cd $(HOST_SUBDIR)/binutils && \
5398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5400 "RANLIB=$${RANLIB}" \
5401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5402 html) \
5403 || exit 1
5405 @endif binutils
5407 .PHONY: maybe-TAGS-binutils TAGS-binutils
5408 maybe-TAGS-binutils:
5409 @if binutils
5410 maybe-TAGS-binutils: TAGS-binutils
5412 TAGS-binutils: \
5413 configure-binutils
5414 @[ -f ./binutils/Makefile ] || exit 0; \
5415 r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417 $(HOST_EXPORTS) \
5418 for flag in $(EXTRA_HOST_FLAGS) ; do \
5419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5420 done; \
5421 echo "Doing TAGS in binutils" ; \
5422 (cd $(HOST_SUBDIR)/binutils && \
5423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5425 "RANLIB=$${RANLIB}" \
5426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5427 TAGS) \
5428 || exit 1
5430 @endif binutils
5432 .PHONY: maybe-install-info-binutils install-info-binutils
5433 maybe-install-info-binutils:
5434 @if binutils
5435 maybe-install-info-binutils: install-info-binutils
5437 install-info-binutils: \
5438 configure-binutils \
5439 info-binutils
5440 @[ -f ./binutils/Makefile ] || exit 0; \
5441 r=`${PWD_COMMAND}`; export r; \
5442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5443 $(HOST_EXPORTS) \
5444 for flag in $(EXTRA_HOST_FLAGS) ; do \
5445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5446 done; \
5447 echo "Doing install-info in binutils" ; \
5448 (cd $(HOST_SUBDIR)/binutils && \
5449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5451 "RANLIB=$${RANLIB}" \
5452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5453 install-info) \
5454 || exit 1
5456 @endif binutils
5458 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5459 maybe-install-pdf-binutils:
5460 @if binutils
5461 maybe-install-pdf-binutils: install-pdf-binutils
5463 install-pdf-binutils: \
5464 configure-binutils \
5465 pdf-binutils
5466 @[ -f ./binutils/Makefile ] || exit 0; \
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469 $(HOST_EXPORTS) \
5470 for flag in $(EXTRA_HOST_FLAGS) ; do \
5471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5472 done; \
5473 echo "Doing install-pdf in binutils" ; \
5474 (cd $(HOST_SUBDIR)/binutils && \
5475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5477 "RANLIB=$${RANLIB}" \
5478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5479 install-pdf) \
5480 || exit 1
5482 @endif binutils
5484 .PHONY: maybe-install-html-binutils install-html-binutils
5485 maybe-install-html-binutils:
5486 @if binutils
5487 maybe-install-html-binutils: install-html-binutils
5489 install-html-binutils: \
5490 configure-binutils \
5491 html-binutils
5492 @[ -f ./binutils/Makefile ] || exit 0; \
5493 r=`${PWD_COMMAND}`; export r; \
5494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495 $(HOST_EXPORTS) \
5496 for flag in $(EXTRA_HOST_FLAGS) ; do \
5497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5498 done; \
5499 echo "Doing install-html in binutils" ; \
5500 (cd $(HOST_SUBDIR)/binutils && \
5501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5503 "RANLIB=$${RANLIB}" \
5504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5505 install-html) \
5506 || exit 1
5508 @endif binutils
5510 .PHONY: maybe-installcheck-binutils installcheck-binutils
5511 maybe-installcheck-binutils:
5512 @if binutils
5513 maybe-installcheck-binutils: installcheck-binutils
5515 installcheck-binutils: \
5516 configure-binutils
5517 @[ -f ./binutils/Makefile ] || exit 0; \
5518 r=`${PWD_COMMAND}`; export r; \
5519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5520 $(HOST_EXPORTS) \
5521 for flag in $(EXTRA_HOST_FLAGS) ; do \
5522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5523 done; \
5524 echo "Doing installcheck in binutils" ; \
5525 (cd $(HOST_SUBDIR)/binutils && \
5526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5528 "RANLIB=$${RANLIB}" \
5529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5530 installcheck) \
5531 || exit 1
5533 @endif binutils
5535 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5536 maybe-mostlyclean-binutils:
5537 @if binutils
5538 maybe-mostlyclean-binutils: mostlyclean-binutils
5540 mostlyclean-binutils:
5541 @[ -f ./binutils/Makefile ] || exit 0; \
5542 r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 for flag in $(EXTRA_HOST_FLAGS) ; do \
5546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5547 done; \
5548 echo "Doing mostlyclean in binutils" ; \
5549 (cd $(HOST_SUBDIR)/binutils && \
5550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5552 "RANLIB=$${RANLIB}" \
5553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5554 mostlyclean) \
5555 || exit 1
5557 @endif binutils
5559 .PHONY: maybe-clean-binutils clean-binutils
5560 maybe-clean-binutils:
5561 @if binutils
5562 maybe-clean-binutils: clean-binutils
5564 clean-binutils:
5565 @[ -f ./binutils/Makefile ] || exit 0; \
5566 r=`${PWD_COMMAND}`; export r; \
5567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5568 $(HOST_EXPORTS) \
5569 for flag in $(EXTRA_HOST_FLAGS) ; do \
5570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5571 done; \
5572 echo "Doing clean in binutils" ; \
5573 (cd $(HOST_SUBDIR)/binutils && \
5574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5576 "RANLIB=$${RANLIB}" \
5577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5578 clean) \
5579 || exit 1
5581 @endif binutils
5583 .PHONY: maybe-distclean-binutils distclean-binutils
5584 maybe-distclean-binutils:
5585 @if binutils
5586 maybe-distclean-binutils: distclean-binutils
5588 distclean-binutils:
5589 @[ -f ./binutils/Makefile ] || exit 0; \
5590 r=`${PWD_COMMAND}`; export r; \
5591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592 $(HOST_EXPORTS) \
5593 for flag in $(EXTRA_HOST_FLAGS) ; do \
5594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5595 done; \
5596 echo "Doing distclean in binutils" ; \
5597 (cd $(HOST_SUBDIR)/binutils && \
5598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5600 "RANLIB=$${RANLIB}" \
5601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5602 distclean) \
5603 || exit 1
5605 @endif binutils
5607 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5608 maybe-maintainer-clean-binutils:
5609 @if binutils
5610 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5612 maintainer-clean-binutils:
5613 @[ -f ./binutils/Makefile ] || exit 0; \
5614 r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616 $(HOST_EXPORTS) \
5617 for flag in $(EXTRA_HOST_FLAGS) ; do \
5618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5619 done; \
5620 echo "Doing maintainer-clean in binutils" ; \
5621 (cd $(HOST_SUBDIR)/binutils && \
5622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5624 "RANLIB=$${RANLIB}" \
5625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5626 maintainer-clean) \
5627 || exit 1
5629 @endif binutils
5633 .PHONY: configure-bison maybe-configure-bison
5634 maybe-configure-bison:
5635 @if gcc-bootstrap
5636 configure-bison: stage_current
5637 @endif gcc-bootstrap
5638 @if bison
5639 maybe-configure-bison: configure-bison
5640 configure-bison:
5641 @: $(MAKE); $(unstage)
5642 @r=`${PWD_COMMAND}`; export r; \
5643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5644 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5646 $(HOST_EXPORTS) \
5647 echo Configuring in $(HOST_SUBDIR)/bison; \
5648 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5649 case $(srcdir) in \
5650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5651 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5653 esac; \
5654 module_srcdir=bison; \
5655 $(SHELL) \
5656 $$s/$$module_srcdir/configure \
5657 --srcdir=$${topdir}/$$module_srcdir \
5658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5659 --target=${target_alias} \
5660 || exit 1
5661 @endif bison
5667 .PHONY: all-bison maybe-all-bison
5668 maybe-all-bison:
5669 @if gcc-bootstrap
5670 all-bison: stage_current
5671 @endif gcc-bootstrap
5672 @if bison
5673 TARGET-bison=all
5674 maybe-all-bison: all-bison
5675 all-bison: configure-bison
5676 @: $(MAKE); $(unstage)
5677 @r=`${PWD_COMMAND}`; export r; \
5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5679 $(HOST_EXPORTS) \
5680 (cd $(HOST_SUBDIR)/bison && \
5681 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5682 $(TARGET-bison))
5683 @endif bison
5688 .PHONY: check-bison maybe-check-bison
5689 maybe-check-bison:
5690 @if bison
5691 maybe-check-bison: check-bison
5693 # This module is only tested in a native toolchain.
5694 check-bison:
5695 @: $(MAKE); $(unstage)
5696 @if [ '$(host)' = '$(target)' ] ; then \
5697 r=`${PWD_COMMAND}`; export r; \
5698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5699 $(HOST_EXPORTS) \
5700 (cd $(HOST_SUBDIR)/bison && \
5701 $(MAKE) $(FLAGS_TO_PASS) check); \
5704 @endif bison
5706 .PHONY: install-bison maybe-install-bison
5707 maybe-install-bison:
5708 @if bison
5709 maybe-install-bison: install-bison
5711 install-bison: installdirs
5712 @: $(MAKE); $(unstage)
5713 @r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5715 $(HOST_EXPORTS) \
5716 (cd $(HOST_SUBDIR)/bison && \
5717 $(MAKE) $(FLAGS_TO_PASS) install)
5719 @endif bison
5721 .PHONY: install-strip-bison maybe-install-strip-bison
5722 maybe-install-strip-bison:
5723 @if bison
5724 maybe-install-strip-bison: install-strip-bison
5726 install-strip-bison: installdirs
5727 @: $(MAKE); $(unstage)
5728 @r=`${PWD_COMMAND}`; export r; \
5729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5730 $(HOST_EXPORTS) \
5731 (cd $(HOST_SUBDIR)/bison && \
5732 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5734 @endif bison
5736 # Other targets (info, dvi, pdf, etc.)
5738 .PHONY: maybe-info-bison info-bison
5739 maybe-info-bison:
5740 @if bison
5741 maybe-info-bison: info-bison
5743 info-bison: \
5744 configure-bison
5745 @: $(MAKE); $(unstage)
5746 @[ -f ./bison/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 info in bison" ; \
5754 (cd $(HOST_SUBDIR)/bison && \
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 info) \
5760 || exit 1
5762 @endif bison
5764 .PHONY: maybe-dvi-bison dvi-bison
5765 maybe-dvi-bison:
5766 @if bison
5767 maybe-dvi-bison: dvi-bison
5769 dvi-bison: \
5770 configure-bison
5771 @: $(MAKE); $(unstage)
5772 @[ -f ./bison/Makefile ] || exit 0; \
5773 r=`${PWD_COMMAND}`; export r; \
5774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5775 $(HOST_EXPORTS) \
5776 for flag in $(EXTRA_HOST_FLAGS) ; do \
5777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5778 done; \
5779 echo "Doing dvi in bison" ; \
5780 (cd $(HOST_SUBDIR)/bison && \
5781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5783 "RANLIB=$${RANLIB}" \
5784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5785 dvi) \
5786 || exit 1
5788 @endif bison
5790 .PHONY: maybe-pdf-bison pdf-bison
5791 maybe-pdf-bison:
5792 @if bison
5793 maybe-pdf-bison: pdf-bison
5795 pdf-bison: \
5796 configure-bison
5797 @: $(MAKE); $(unstage)
5798 @[ -f ./bison/Makefile ] || exit 0; \
5799 r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5801 $(HOST_EXPORTS) \
5802 for flag in $(EXTRA_HOST_FLAGS) ; do \
5803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5804 done; \
5805 echo "Doing pdf in bison" ; \
5806 (cd $(HOST_SUBDIR)/bison && \
5807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5809 "RANLIB=$${RANLIB}" \
5810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5811 pdf) \
5812 || exit 1
5814 @endif bison
5816 .PHONY: maybe-html-bison html-bison
5817 maybe-html-bison:
5818 @if bison
5819 maybe-html-bison: html-bison
5821 html-bison: \
5822 configure-bison
5823 @: $(MAKE); $(unstage)
5824 @[ -f ./bison/Makefile ] || exit 0; \
5825 r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827 $(HOST_EXPORTS) \
5828 for flag in $(EXTRA_HOST_FLAGS) ; do \
5829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5830 done; \
5831 echo "Doing html in bison" ; \
5832 (cd $(HOST_SUBDIR)/bison && \
5833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5835 "RANLIB=$${RANLIB}" \
5836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5837 html) \
5838 || exit 1
5840 @endif bison
5842 .PHONY: maybe-TAGS-bison TAGS-bison
5843 maybe-TAGS-bison:
5844 @if bison
5845 maybe-TAGS-bison: TAGS-bison
5847 TAGS-bison: \
5848 configure-bison
5849 @: $(MAKE); $(unstage)
5850 @[ -f ./bison/Makefile ] || exit 0; \
5851 r=`${PWD_COMMAND}`; export r; \
5852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5853 $(HOST_EXPORTS) \
5854 for flag in $(EXTRA_HOST_FLAGS) ; do \
5855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5856 done; \
5857 echo "Doing TAGS in bison" ; \
5858 (cd $(HOST_SUBDIR)/bison && \
5859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5861 "RANLIB=$${RANLIB}" \
5862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5863 TAGS) \
5864 || exit 1
5866 @endif bison
5868 .PHONY: maybe-install-info-bison install-info-bison
5869 maybe-install-info-bison:
5870 @if bison
5871 maybe-install-info-bison: install-info-bison
5873 install-info-bison: \
5874 configure-bison \
5875 info-bison
5876 @: $(MAKE); $(unstage)
5877 @[ -f ./bison/Makefile ] || exit 0; \
5878 r=`${PWD_COMMAND}`; export r; \
5879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5880 $(HOST_EXPORTS) \
5881 for flag in $(EXTRA_HOST_FLAGS) ; do \
5882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5883 done; \
5884 echo "Doing install-info in bison" ; \
5885 (cd $(HOST_SUBDIR)/bison && \
5886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5888 "RANLIB=$${RANLIB}" \
5889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5890 install-info) \
5891 || exit 1
5893 @endif bison
5895 .PHONY: maybe-install-pdf-bison install-pdf-bison
5896 maybe-install-pdf-bison:
5897 @if bison
5898 maybe-install-pdf-bison: install-pdf-bison
5900 install-pdf-bison: \
5901 configure-bison \
5902 pdf-bison
5903 @: $(MAKE); $(unstage)
5904 @[ -f ./bison/Makefile ] || exit 0; \
5905 r=`${PWD_COMMAND}`; export r; \
5906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5907 $(HOST_EXPORTS) \
5908 for flag in $(EXTRA_HOST_FLAGS) ; do \
5909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5910 done; \
5911 echo "Doing install-pdf in bison" ; \
5912 (cd $(HOST_SUBDIR)/bison && \
5913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5915 "RANLIB=$${RANLIB}" \
5916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5917 install-pdf) \
5918 || exit 1
5920 @endif bison
5922 .PHONY: maybe-install-html-bison install-html-bison
5923 maybe-install-html-bison:
5924 @if bison
5925 maybe-install-html-bison: install-html-bison
5927 install-html-bison: \
5928 configure-bison \
5929 html-bison
5930 @: $(MAKE); $(unstage)
5931 @[ -f ./bison/Makefile ] || exit 0; \
5932 r=`${PWD_COMMAND}`; export r; \
5933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5934 $(HOST_EXPORTS) \
5935 for flag in $(EXTRA_HOST_FLAGS) ; do \
5936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5937 done; \
5938 echo "Doing install-html in bison" ; \
5939 (cd $(HOST_SUBDIR)/bison && \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5942 "RANLIB=$${RANLIB}" \
5943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5944 install-html) \
5945 || exit 1
5947 @endif bison
5949 .PHONY: maybe-installcheck-bison installcheck-bison
5950 maybe-installcheck-bison:
5951 @if bison
5952 maybe-installcheck-bison: installcheck-bison
5954 installcheck-bison: \
5955 configure-bison
5956 @: $(MAKE); $(unstage)
5957 @[ -f ./bison/Makefile ] || exit 0; \
5958 r=`${PWD_COMMAND}`; export r; \
5959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5960 $(HOST_EXPORTS) \
5961 for flag in $(EXTRA_HOST_FLAGS) ; do \
5962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5963 done; \
5964 echo "Doing installcheck in bison" ; \
5965 (cd $(HOST_SUBDIR)/bison && \
5966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5968 "RANLIB=$${RANLIB}" \
5969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5970 installcheck) \
5971 || exit 1
5973 @endif bison
5975 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5976 maybe-mostlyclean-bison:
5977 @if bison
5978 maybe-mostlyclean-bison: mostlyclean-bison
5980 mostlyclean-bison:
5981 @: $(MAKE); $(unstage)
5982 @[ -f ./bison/Makefile ] || exit 0; \
5983 r=`${PWD_COMMAND}`; export r; \
5984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5985 $(HOST_EXPORTS) \
5986 for flag in $(EXTRA_HOST_FLAGS) ; do \
5987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5988 done; \
5989 echo "Doing mostlyclean in bison" ; \
5990 (cd $(HOST_SUBDIR)/bison && \
5991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5993 "RANLIB=$${RANLIB}" \
5994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5995 mostlyclean) \
5996 || exit 1
5998 @endif bison
6000 .PHONY: maybe-clean-bison clean-bison
6001 maybe-clean-bison:
6002 @if bison
6003 maybe-clean-bison: clean-bison
6005 clean-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 clean 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 clean) \
6021 || exit 1
6023 @endif bison
6025 .PHONY: maybe-distclean-bison distclean-bison
6026 maybe-distclean-bison:
6027 @if bison
6028 maybe-distclean-bison: distclean-bison
6030 distclean-bison:
6031 @: $(MAKE); $(unstage)
6032 @[ -f ./bison/Makefile ] || exit 0; \
6033 r=`${PWD_COMMAND}`; export r; \
6034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6035 $(HOST_EXPORTS) \
6036 for flag in $(EXTRA_HOST_FLAGS) ; do \
6037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6038 done; \
6039 echo "Doing distclean in bison" ; \
6040 (cd $(HOST_SUBDIR)/bison && \
6041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6043 "RANLIB=$${RANLIB}" \
6044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6045 distclean) \
6046 || exit 1
6048 @endif bison
6050 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6051 maybe-maintainer-clean-bison:
6052 @if bison
6053 maybe-maintainer-clean-bison: maintainer-clean-bison
6055 maintainer-clean-bison:
6056 @: $(MAKE); $(unstage)
6057 @[ -f ./bison/Makefile ] || exit 0; \
6058 r=`${PWD_COMMAND}`; export r; \
6059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6060 $(HOST_EXPORTS) \
6061 for flag in $(EXTRA_HOST_FLAGS) ; do \
6062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6063 done; \
6064 echo "Doing maintainer-clean in bison" ; \
6065 (cd $(HOST_SUBDIR)/bison && \
6066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6068 "RANLIB=$${RANLIB}" \
6069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6070 maintainer-clean) \
6071 || exit 1
6073 @endif bison
6077 .PHONY: configure-cgen maybe-configure-cgen
6078 maybe-configure-cgen:
6079 @if gcc-bootstrap
6080 configure-cgen: stage_current
6081 @endif gcc-bootstrap
6082 @if cgen
6083 maybe-configure-cgen: configure-cgen
6084 configure-cgen:
6085 @: $(MAKE); $(unstage)
6086 @r=`${PWD_COMMAND}`; export r; \
6087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6088 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6090 $(HOST_EXPORTS) \
6091 echo Configuring in $(HOST_SUBDIR)/cgen; \
6092 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6093 case $(srcdir) in \
6094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6095 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6097 esac; \
6098 module_srcdir=cgen; \
6099 $(SHELL) \
6100 $$s/$$module_srcdir/configure \
6101 --srcdir=$${topdir}/$$module_srcdir \
6102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6103 --target=${target_alias} \
6104 || exit 1
6105 @endif cgen
6111 .PHONY: all-cgen maybe-all-cgen
6112 maybe-all-cgen:
6113 @if gcc-bootstrap
6114 all-cgen: stage_current
6115 @endif gcc-bootstrap
6116 @if cgen
6117 TARGET-cgen=all
6118 maybe-all-cgen: all-cgen
6119 all-cgen: configure-cgen
6120 @: $(MAKE); $(unstage)
6121 @r=`${PWD_COMMAND}`; export r; \
6122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6123 $(HOST_EXPORTS) \
6124 (cd $(HOST_SUBDIR)/cgen && \
6125 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6126 $(TARGET-cgen))
6127 @endif cgen
6132 .PHONY: check-cgen maybe-check-cgen
6133 maybe-check-cgen:
6134 @if cgen
6135 maybe-check-cgen: check-cgen
6137 check-cgen:
6138 @: $(MAKE); $(unstage)
6139 @r=`${PWD_COMMAND}`; export r; \
6140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6141 $(HOST_EXPORTS) \
6142 (cd $(HOST_SUBDIR)/cgen && \
6143 $(MAKE) $(FLAGS_TO_PASS) check)
6145 @endif cgen
6147 .PHONY: install-cgen maybe-install-cgen
6148 maybe-install-cgen:
6149 @if cgen
6150 maybe-install-cgen: install-cgen
6152 install-cgen: installdirs
6153 @: $(MAKE); $(unstage)
6154 @r=`${PWD_COMMAND}`; export r; \
6155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6156 $(HOST_EXPORTS) \
6157 (cd $(HOST_SUBDIR)/cgen && \
6158 $(MAKE) $(FLAGS_TO_PASS) install)
6160 @endif cgen
6162 .PHONY: install-strip-cgen maybe-install-strip-cgen
6163 maybe-install-strip-cgen:
6164 @if cgen
6165 maybe-install-strip-cgen: install-strip-cgen
6167 install-strip-cgen: installdirs
6168 @: $(MAKE); $(unstage)
6169 @r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 $(HOST_EXPORTS) \
6172 (cd $(HOST_SUBDIR)/cgen && \
6173 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6175 @endif cgen
6177 # Other targets (info, dvi, pdf, etc.)
6179 .PHONY: maybe-info-cgen info-cgen
6180 maybe-info-cgen:
6181 @if cgen
6182 maybe-info-cgen: info-cgen
6184 info-cgen: \
6185 configure-cgen
6186 @: $(MAKE); $(unstage)
6187 @[ -f ./cgen/Makefile ] || exit 0; \
6188 r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 $(HOST_EXPORTS) \
6191 for flag in $(EXTRA_HOST_FLAGS) ; do \
6192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6193 done; \
6194 echo "Doing info in cgen" ; \
6195 (cd $(HOST_SUBDIR)/cgen && \
6196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6198 "RANLIB=$${RANLIB}" \
6199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6200 info) \
6201 || exit 1
6203 @endif cgen
6205 .PHONY: maybe-dvi-cgen dvi-cgen
6206 maybe-dvi-cgen:
6207 @if cgen
6208 maybe-dvi-cgen: dvi-cgen
6210 dvi-cgen: \
6211 configure-cgen
6212 @: $(MAKE); $(unstage)
6213 @[ -f ./cgen/Makefile ] || exit 0; \
6214 r=`${PWD_COMMAND}`; export r; \
6215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6216 $(HOST_EXPORTS) \
6217 for flag in $(EXTRA_HOST_FLAGS) ; do \
6218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6219 done; \
6220 echo "Doing dvi in cgen" ; \
6221 (cd $(HOST_SUBDIR)/cgen && \
6222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6224 "RANLIB=$${RANLIB}" \
6225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6226 dvi) \
6227 || exit 1
6229 @endif cgen
6231 .PHONY: maybe-pdf-cgen pdf-cgen
6232 maybe-pdf-cgen:
6233 @if cgen
6234 maybe-pdf-cgen: pdf-cgen
6236 pdf-cgen: \
6237 configure-cgen
6238 @: $(MAKE); $(unstage)
6239 @[ -f ./cgen/Makefile ] || exit 0; \
6240 r=`${PWD_COMMAND}`; export r; \
6241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6242 $(HOST_EXPORTS) \
6243 for flag in $(EXTRA_HOST_FLAGS) ; do \
6244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6245 done; \
6246 echo "Doing pdf in cgen" ; \
6247 (cd $(HOST_SUBDIR)/cgen && \
6248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6250 "RANLIB=$${RANLIB}" \
6251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6252 pdf) \
6253 || exit 1
6255 @endif cgen
6257 .PHONY: maybe-html-cgen html-cgen
6258 maybe-html-cgen:
6259 @if cgen
6260 maybe-html-cgen: html-cgen
6262 html-cgen: \
6263 configure-cgen
6264 @: $(MAKE); $(unstage)
6265 @[ -f ./cgen/Makefile ] || exit 0; \
6266 r=`${PWD_COMMAND}`; export r; \
6267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 $(HOST_EXPORTS) \
6269 for flag in $(EXTRA_HOST_FLAGS) ; do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 done; \
6272 echo "Doing html in cgen" ; \
6273 (cd $(HOST_SUBDIR)/cgen && \
6274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6276 "RANLIB=$${RANLIB}" \
6277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6278 html) \
6279 || exit 1
6281 @endif cgen
6283 .PHONY: maybe-TAGS-cgen TAGS-cgen
6284 maybe-TAGS-cgen:
6285 @if cgen
6286 maybe-TAGS-cgen: TAGS-cgen
6288 TAGS-cgen: \
6289 configure-cgen
6290 @: $(MAKE); $(unstage)
6291 @[ -f ./cgen/Makefile ] || exit 0; \
6292 r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 $(HOST_EXPORTS) \
6295 for flag in $(EXTRA_HOST_FLAGS) ; do \
6296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6297 done; \
6298 echo "Doing TAGS in cgen" ; \
6299 (cd $(HOST_SUBDIR)/cgen && \
6300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6302 "RANLIB=$${RANLIB}" \
6303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6304 TAGS) \
6305 || exit 1
6307 @endif cgen
6309 .PHONY: maybe-install-info-cgen install-info-cgen
6310 maybe-install-info-cgen:
6311 @if cgen
6312 maybe-install-info-cgen: install-info-cgen
6314 install-info-cgen: \
6315 configure-cgen \
6316 info-cgen
6317 @: $(MAKE); $(unstage)
6318 @[ -f ./cgen/Makefile ] || exit 0; \
6319 r=`${PWD_COMMAND}`; export r; \
6320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6321 $(HOST_EXPORTS) \
6322 for flag in $(EXTRA_HOST_FLAGS) ; do \
6323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6324 done; \
6325 echo "Doing install-info in cgen" ; \
6326 (cd $(HOST_SUBDIR)/cgen && \
6327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6329 "RANLIB=$${RANLIB}" \
6330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6331 install-info) \
6332 || exit 1
6334 @endif cgen
6336 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6337 maybe-install-pdf-cgen:
6338 @if cgen
6339 maybe-install-pdf-cgen: install-pdf-cgen
6341 install-pdf-cgen: \
6342 configure-cgen \
6343 pdf-cgen
6344 @: $(MAKE); $(unstage)
6345 @[ -f ./cgen/Makefile ] || exit 0; \
6346 r=`${PWD_COMMAND}`; export r; \
6347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6348 $(HOST_EXPORTS) \
6349 for flag in $(EXTRA_HOST_FLAGS) ; do \
6350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6351 done; \
6352 echo "Doing install-pdf in cgen" ; \
6353 (cd $(HOST_SUBDIR)/cgen && \
6354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6356 "RANLIB=$${RANLIB}" \
6357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6358 install-pdf) \
6359 || exit 1
6361 @endif cgen
6363 .PHONY: maybe-install-html-cgen install-html-cgen
6364 maybe-install-html-cgen:
6365 @if cgen
6366 maybe-install-html-cgen: install-html-cgen
6368 install-html-cgen: \
6369 configure-cgen \
6370 html-cgen
6371 @: $(MAKE); $(unstage)
6372 @[ -f ./cgen/Makefile ] || exit 0; \
6373 r=`${PWD_COMMAND}`; export r; \
6374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6375 $(HOST_EXPORTS) \
6376 for flag in $(EXTRA_HOST_FLAGS) ; do \
6377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6378 done; \
6379 echo "Doing install-html in cgen" ; \
6380 (cd $(HOST_SUBDIR)/cgen && \
6381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6383 "RANLIB=$${RANLIB}" \
6384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6385 install-html) \
6386 || exit 1
6388 @endif cgen
6390 .PHONY: maybe-installcheck-cgen installcheck-cgen
6391 maybe-installcheck-cgen:
6392 @if cgen
6393 maybe-installcheck-cgen: installcheck-cgen
6395 installcheck-cgen: \
6396 configure-cgen
6397 @: $(MAKE); $(unstage)
6398 @[ -f ./cgen/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(HOST_EXPORTS) \
6402 for flag in $(EXTRA_HOST_FLAGS) ; do \
6403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6404 done; \
6405 echo "Doing installcheck in cgen" ; \
6406 (cd $(HOST_SUBDIR)/cgen && \
6407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6409 "RANLIB=$${RANLIB}" \
6410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6411 installcheck) \
6412 || exit 1
6414 @endif cgen
6416 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6417 maybe-mostlyclean-cgen:
6418 @if cgen
6419 maybe-mostlyclean-cgen: mostlyclean-cgen
6421 mostlyclean-cgen:
6422 @: $(MAKE); $(unstage)
6423 @[ -f ./cgen/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6426 $(HOST_EXPORTS) \
6427 for flag in $(EXTRA_HOST_FLAGS) ; do \
6428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6429 done; \
6430 echo "Doing mostlyclean in cgen" ; \
6431 (cd $(HOST_SUBDIR)/cgen && \
6432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6434 "RANLIB=$${RANLIB}" \
6435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6436 mostlyclean) \
6437 || exit 1
6439 @endif cgen
6441 .PHONY: maybe-clean-cgen clean-cgen
6442 maybe-clean-cgen:
6443 @if cgen
6444 maybe-clean-cgen: clean-cgen
6446 clean-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 clean 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 clean) \
6462 || exit 1
6464 @endif cgen
6466 .PHONY: maybe-distclean-cgen distclean-cgen
6467 maybe-distclean-cgen:
6468 @if cgen
6469 maybe-distclean-cgen: distclean-cgen
6471 distclean-cgen:
6472 @: $(MAKE); $(unstage)
6473 @[ -f ./cgen/Makefile ] || exit 0; \
6474 r=`${PWD_COMMAND}`; export r; \
6475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6476 $(HOST_EXPORTS) \
6477 for flag in $(EXTRA_HOST_FLAGS) ; do \
6478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6479 done; \
6480 echo "Doing distclean in cgen" ; \
6481 (cd $(HOST_SUBDIR)/cgen && \
6482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6484 "RANLIB=$${RANLIB}" \
6485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6486 distclean) \
6487 || exit 1
6489 @endif cgen
6491 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6492 maybe-maintainer-clean-cgen:
6493 @if cgen
6494 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6496 maintainer-clean-cgen:
6497 @: $(MAKE); $(unstage)
6498 @[ -f ./cgen/Makefile ] || exit 0; \
6499 r=`${PWD_COMMAND}`; export r; \
6500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6501 $(HOST_EXPORTS) \
6502 for flag in $(EXTRA_HOST_FLAGS) ; do \
6503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6504 done; \
6505 echo "Doing maintainer-clean in cgen" ; \
6506 (cd $(HOST_SUBDIR)/cgen && \
6507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6509 "RANLIB=$${RANLIB}" \
6510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6511 maintainer-clean) \
6512 || exit 1
6514 @endif cgen
6518 .PHONY: configure-dejagnu maybe-configure-dejagnu
6519 maybe-configure-dejagnu:
6520 @if gcc-bootstrap
6521 configure-dejagnu: stage_current
6522 @endif gcc-bootstrap
6523 @if dejagnu
6524 maybe-configure-dejagnu: configure-dejagnu
6525 configure-dejagnu:
6526 @: $(MAKE); $(unstage)
6527 @r=`${PWD_COMMAND}`; export r; \
6528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6529 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6531 $(HOST_EXPORTS) \
6532 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6533 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6534 case $(srcdir) in \
6535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6536 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6538 esac; \
6539 module_srcdir=dejagnu; \
6540 $(SHELL) \
6541 $$s/$$module_srcdir/configure \
6542 --srcdir=$${topdir}/$$module_srcdir \
6543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6544 --target=${target_alias} \
6545 || exit 1
6546 @endif dejagnu
6552 .PHONY: all-dejagnu maybe-all-dejagnu
6553 maybe-all-dejagnu:
6554 @if gcc-bootstrap
6555 all-dejagnu: stage_current
6556 @endif gcc-bootstrap
6557 @if dejagnu
6558 TARGET-dejagnu=all
6559 maybe-all-dejagnu: all-dejagnu
6560 all-dejagnu: configure-dejagnu
6561 @: $(MAKE); $(unstage)
6562 @r=`${PWD_COMMAND}`; export r; \
6563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6564 $(HOST_EXPORTS) \
6565 (cd $(HOST_SUBDIR)/dejagnu && \
6566 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6567 $(TARGET-dejagnu))
6568 @endif dejagnu
6573 .PHONY: check-dejagnu maybe-check-dejagnu
6574 maybe-check-dejagnu:
6575 @if dejagnu
6576 maybe-check-dejagnu: check-dejagnu
6578 check-dejagnu:
6579 @: $(MAKE); $(unstage)
6580 @r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 $(HOST_EXPORTS) \
6583 (cd $(HOST_SUBDIR)/dejagnu && \
6584 $(MAKE) $(FLAGS_TO_PASS) check)
6586 @endif dejagnu
6588 .PHONY: install-dejagnu maybe-install-dejagnu
6589 maybe-install-dejagnu:
6590 @if dejagnu
6591 maybe-install-dejagnu: install-dejagnu
6593 install-dejagnu: installdirs
6594 @: $(MAKE); $(unstage)
6595 @r=`${PWD_COMMAND}`; export r; \
6596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6597 $(HOST_EXPORTS) \
6598 (cd $(HOST_SUBDIR)/dejagnu && \
6599 $(MAKE) $(FLAGS_TO_PASS) install)
6601 @endif dejagnu
6603 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6604 maybe-install-strip-dejagnu:
6605 @if dejagnu
6606 maybe-install-strip-dejagnu: install-strip-dejagnu
6608 install-strip-dejagnu: installdirs
6609 @: $(MAKE); $(unstage)
6610 @r=`${PWD_COMMAND}`; export r; \
6611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6612 $(HOST_EXPORTS) \
6613 (cd $(HOST_SUBDIR)/dejagnu && \
6614 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6616 @endif dejagnu
6618 # Other targets (info, dvi, pdf, etc.)
6620 .PHONY: maybe-info-dejagnu info-dejagnu
6621 maybe-info-dejagnu:
6622 @if dejagnu
6623 maybe-info-dejagnu: info-dejagnu
6625 info-dejagnu: \
6626 configure-dejagnu
6627 @: $(MAKE); $(unstage)
6628 @[ -f ./dejagnu/Makefile ] || exit 0; \
6629 r=`${PWD_COMMAND}`; export r; \
6630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6631 $(HOST_EXPORTS) \
6632 for flag in $(EXTRA_HOST_FLAGS) ; do \
6633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6634 done; \
6635 echo "Doing info in dejagnu" ; \
6636 (cd $(HOST_SUBDIR)/dejagnu && \
6637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6639 "RANLIB=$${RANLIB}" \
6640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6641 info) \
6642 || exit 1
6644 @endif dejagnu
6646 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6647 maybe-dvi-dejagnu:
6648 @if dejagnu
6649 maybe-dvi-dejagnu: dvi-dejagnu
6651 dvi-dejagnu: \
6652 configure-dejagnu
6653 @: $(MAKE); $(unstage)
6654 @[ -f ./dejagnu/Makefile ] || exit 0; \
6655 r=`${PWD_COMMAND}`; export r; \
6656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6657 $(HOST_EXPORTS) \
6658 for flag in $(EXTRA_HOST_FLAGS) ; do \
6659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6660 done; \
6661 echo "Doing dvi in dejagnu" ; \
6662 (cd $(HOST_SUBDIR)/dejagnu && \
6663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6665 "RANLIB=$${RANLIB}" \
6666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6667 dvi) \
6668 || exit 1
6670 @endif dejagnu
6672 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6673 maybe-pdf-dejagnu:
6674 @if dejagnu
6675 maybe-pdf-dejagnu: pdf-dejagnu
6677 pdf-dejagnu: \
6678 configure-dejagnu
6679 @: $(MAKE); $(unstage)
6680 @[ -f ./dejagnu/Makefile ] || exit 0; \
6681 r=`${PWD_COMMAND}`; export r; \
6682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6683 $(HOST_EXPORTS) \
6684 for flag in $(EXTRA_HOST_FLAGS) ; do \
6685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6686 done; \
6687 echo "Doing pdf in dejagnu" ; \
6688 (cd $(HOST_SUBDIR)/dejagnu && \
6689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6691 "RANLIB=$${RANLIB}" \
6692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6693 pdf) \
6694 || exit 1
6696 @endif dejagnu
6698 .PHONY: maybe-html-dejagnu html-dejagnu
6699 maybe-html-dejagnu:
6700 @if dejagnu
6701 maybe-html-dejagnu: html-dejagnu
6703 html-dejagnu: \
6704 configure-dejagnu
6705 @: $(MAKE); $(unstage)
6706 @[ -f ./dejagnu/Makefile ] || exit 0; \
6707 r=`${PWD_COMMAND}`; export r; \
6708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6709 $(HOST_EXPORTS) \
6710 for flag in $(EXTRA_HOST_FLAGS) ; do \
6711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6712 done; \
6713 echo "Doing html in dejagnu" ; \
6714 (cd $(HOST_SUBDIR)/dejagnu && \
6715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6717 "RANLIB=$${RANLIB}" \
6718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6719 html) \
6720 || exit 1
6722 @endif dejagnu
6724 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6725 maybe-TAGS-dejagnu:
6726 @if dejagnu
6727 maybe-TAGS-dejagnu: TAGS-dejagnu
6729 TAGS-dejagnu: \
6730 configure-dejagnu
6731 @: $(MAKE); $(unstage)
6732 @[ -f ./dejagnu/Makefile ] || exit 0; \
6733 r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 for flag in $(EXTRA_HOST_FLAGS) ; do \
6737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6738 done; \
6739 echo "Doing TAGS in dejagnu" ; \
6740 (cd $(HOST_SUBDIR)/dejagnu && \
6741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6743 "RANLIB=$${RANLIB}" \
6744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6745 TAGS) \
6746 || exit 1
6748 @endif dejagnu
6750 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6751 maybe-install-info-dejagnu:
6752 @if dejagnu
6753 maybe-install-info-dejagnu: install-info-dejagnu
6755 install-info-dejagnu: \
6756 configure-dejagnu \
6757 info-dejagnu
6758 @: $(MAKE); $(unstage)
6759 @[ -f ./dejagnu/Makefile ] || exit 0; \
6760 r=`${PWD_COMMAND}`; export r; \
6761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6762 $(HOST_EXPORTS) \
6763 for flag in $(EXTRA_HOST_FLAGS) ; do \
6764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6765 done; \
6766 echo "Doing install-info in dejagnu" ; \
6767 (cd $(HOST_SUBDIR)/dejagnu && \
6768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6770 "RANLIB=$${RANLIB}" \
6771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6772 install-info) \
6773 || exit 1
6775 @endif dejagnu
6777 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6778 maybe-install-pdf-dejagnu:
6779 @if dejagnu
6780 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6782 install-pdf-dejagnu: \
6783 configure-dejagnu \
6784 pdf-dejagnu
6785 @: $(MAKE); $(unstage)
6786 @[ -f ./dejagnu/Makefile ] || exit 0; \
6787 r=`${PWD_COMMAND}`; export r; \
6788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6789 $(HOST_EXPORTS) \
6790 for flag in $(EXTRA_HOST_FLAGS) ; do \
6791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6792 done; \
6793 echo "Doing install-pdf in dejagnu" ; \
6794 (cd $(HOST_SUBDIR)/dejagnu && \
6795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6797 "RANLIB=$${RANLIB}" \
6798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6799 install-pdf) \
6800 || exit 1
6802 @endif dejagnu
6804 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6805 maybe-install-html-dejagnu:
6806 @if dejagnu
6807 maybe-install-html-dejagnu: install-html-dejagnu
6809 install-html-dejagnu: \
6810 configure-dejagnu \
6811 html-dejagnu
6812 @: $(MAKE); $(unstage)
6813 @[ -f ./dejagnu/Makefile ] || exit 0; \
6814 r=`${PWD_COMMAND}`; export r; \
6815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6816 $(HOST_EXPORTS) \
6817 for flag in $(EXTRA_HOST_FLAGS) ; do \
6818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6819 done; \
6820 echo "Doing install-html in dejagnu" ; \
6821 (cd $(HOST_SUBDIR)/dejagnu && \
6822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6824 "RANLIB=$${RANLIB}" \
6825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6826 install-html) \
6827 || exit 1
6829 @endif dejagnu
6831 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6832 maybe-installcheck-dejagnu:
6833 @if dejagnu
6834 maybe-installcheck-dejagnu: installcheck-dejagnu
6836 installcheck-dejagnu: \
6837 configure-dejagnu
6838 @: $(MAKE); $(unstage)
6839 @[ -f ./dejagnu/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 $(HOST_EXPORTS) \
6843 for flag in $(EXTRA_HOST_FLAGS) ; do \
6844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6845 done; \
6846 echo "Doing installcheck in dejagnu" ; \
6847 (cd $(HOST_SUBDIR)/dejagnu && \
6848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6850 "RANLIB=$${RANLIB}" \
6851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6852 installcheck) \
6853 || exit 1
6855 @endif dejagnu
6857 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6858 maybe-mostlyclean-dejagnu:
6859 @if dejagnu
6860 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6862 mostlyclean-dejagnu:
6863 @: $(MAKE); $(unstage)
6864 @[ -f ./dejagnu/Makefile ] || exit 0; \
6865 r=`${PWD_COMMAND}`; export r; \
6866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6867 $(HOST_EXPORTS) \
6868 for flag in $(EXTRA_HOST_FLAGS) ; do \
6869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6870 done; \
6871 echo "Doing mostlyclean in dejagnu" ; \
6872 (cd $(HOST_SUBDIR)/dejagnu && \
6873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6875 "RANLIB=$${RANLIB}" \
6876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6877 mostlyclean) \
6878 || exit 1
6880 @endif dejagnu
6882 .PHONY: maybe-clean-dejagnu clean-dejagnu
6883 maybe-clean-dejagnu:
6884 @if dejagnu
6885 maybe-clean-dejagnu: clean-dejagnu
6887 clean-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 clean 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 clean) \
6903 || exit 1
6905 @endif dejagnu
6907 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6908 maybe-distclean-dejagnu:
6909 @if dejagnu
6910 maybe-distclean-dejagnu: distclean-dejagnu
6912 distclean-dejagnu:
6913 @: $(MAKE); $(unstage)
6914 @[ -f ./dejagnu/Makefile ] || exit 0; \
6915 r=`${PWD_COMMAND}`; export r; \
6916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6917 $(HOST_EXPORTS) \
6918 for flag in $(EXTRA_HOST_FLAGS) ; do \
6919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6920 done; \
6921 echo "Doing distclean in dejagnu" ; \
6922 (cd $(HOST_SUBDIR)/dejagnu && \
6923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6925 "RANLIB=$${RANLIB}" \
6926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6927 distclean) \
6928 || exit 1
6930 @endif dejagnu
6932 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6933 maybe-maintainer-clean-dejagnu:
6934 @if dejagnu
6935 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6937 maintainer-clean-dejagnu:
6938 @: $(MAKE); $(unstage)
6939 @[ -f ./dejagnu/Makefile ] || exit 0; \
6940 r=`${PWD_COMMAND}`; export r; \
6941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6942 $(HOST_EXPORTS) \
6943 for flag in $(EXTRA_HOST_FLAGS) ; do \
6944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6945 done; \
6946 echo "Doing maintainer-clean in dejagnu" ; \
6947 (cd $(HOST_SUBDIR)/dejagnu && \
6948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6950 "RANLIB=$${RANLIB}" \
6951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6952 maintainer-clean) \
6953 || exit 1
6955 @endif dejagnu
6959 .PHONY: configure-etc maybe-configure-etc
6960 maybe-configure-etc:
6961 @if gcc-bootstrap
6962 configure-etc: stage_current
6963 @endif gcc-bootstrap
6964 @if etc
6965 maybe-configure-etc: configure-etc
6966 configure-etc:
6967 @: $(MAKE); $(unstage)
6968 @r=`${PWD_COMMAND}`; export r; \
6969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6970 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6972 $(HOST_EXPORTS) \
6973 echo Configuring in $(HOST_SUBDIR)/etc; \
6974 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6975 case $(srcdir) in \
6976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6977 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6979 esac; \
6980 module_srcdir=etc; \
6981 $(SHELL) \
6982 $$s/$$module_srcdir/configure \
6983 --srcdir=$${topdir}/$$module_srcdir \
6984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6985 --target=${target_alias} \
6986 || exit 1
6987 @endif etc
6993 .PHONY: all-etc maybe-all-etc
6994 maybe-all-etc:
6995 @if gcc-bootstrap
6996 all-etc: stage_current
6997 @endif gcc-bootstrap
6998 @if etc
6999 TARGET-etc=all
7000 maybe-all-etc: all-etc
7001 all-etc: configure-etc
7002 @: $(MAKE); $(unstage)
7003 @r=`${PWD_COMMAND}`; export r; \
7004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7005 $(HOST_EXPORTS) \
7006 (cd $(HOST_SUBDIR)/etc && \
7007 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7008 $(TARGET-etc))
7009 @endif etc
7014 .PHONY: check-etc maybe-check-etc
7015 maybe-check-etc:
7016 @if etc
7017 maybe-check-etc: check-etc
7019 check-etc:
7020 @: $(MAKE); $(unstage)
7021 @r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023 $(HOST_EXPORTS) \
7024 (cd $(HOST_SUBDIR)/etc && \
7025 $(MAKE) $(FLAGS_TO_PASS) check)
7027 @endif etc
7029 .PHONY: install-etc maybe-install-etc
7030 maybe-install-etc:
7031 @if etc
7032 maybe-install-etc: install-etc
7034 install-etc: installdirs
7035 @: $(MAKE); $(unstage)
7036 @r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7038 $(HOST_EXPORTS) \
7039 (cd $(HOST_SUBDIR)/etc && \
7040 $(MAKE) $(FLAGS_TO_PASS) install)
7042 @endif etc
7044 .PHONY: install-strip-etc maybe-install-strip-etc
7045 maybe-install-strip-etc:
7046 @if etc
7047 maybe-install-strip-etc: install-strip-etc
7049 install-strip-etc: installdirs
7050 @: $(MAKE); $(unstage)
7051 @r=`${PWD_COMMAND}`; export r; \
7052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7053 $(HOST_EXPORTS) \
7054 (cd $(HOST_SUBDIR)/etc && \
7055 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7057 @endif etc
7059 # Other targets (info, dvi, pdf, etc.)
7061 .PHONY: maybe-info-etc info-etc
7062 maybe-info-etc:
7063 @if etc
7064 maybe-info-etc: info-etc
7066 info-etc: \
7067 configure-etc
7068 @: $(MAKE); $(unstage)
7069 @[ -f ./etc/Makefile ] || exit 0; \
7070 r=`${PWD_COMMAND}`; export r; \
7071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7072 $(HOST_EXPORTS) \
7073 for flag in $(EXTRA_HOST_FLAGS) ; do \
7074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7075 done; \
7076 echo "Doing info in etc" ; \
7077 (cd $(HOST_SUBDIR)/etc && \
7078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7080 "RANLIB=$${RANLIB}" \
7081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7082 info) \
7083 || exit 1
7085 @endif etc
7087 .PHONY: maybe-dvi-etc dvi-etc
7088 maybe-dvi-etc:
7089 @if etc
7090 maybe-dvi-etc: dvi-etc
7092 dvi-etc: \
7093 configure-etc
7094 @: $(MAKE); $(unstage)
7095 @[ -f ./etc/Makefile ] || exit 0; \
7096 r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098 $(HOST_EXPORTS) \
7099 for flag in $(EXTRA_HOST_FLAGS) ; do \
7100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7101 done; \
7102 echo "Doing dvi in etc" ; \
7103 (cd $(HOST_SUBDIR)/etc && \
7104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7106 "RANLIB=$${RANLIB}" \
7107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7108 dvi) \
7109 || exit 1
7111 @endif etc
7113 .PHONY: maybe-pdf-etc pdf-etc
7114 maybe-pdf-etc:
7115 @if etc
7116 maybe-pdf-etc: pdf-etc
7118 pdf-etc: \
7119 configure-etc
7120 @: $(MAKE); $(unstage)
7121 @[ -f ./etc/Makefile ] || exit 0; \
7122 r=`${PWD_COMMAND}`; export r; \
7123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7124 $(HOST_EXPORTS) \
7125 for flag in $(EXTRA_HOST_FLAGS) ; do \
7126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7127 done; \
7128 echo "Doing pdf in etc" ; \
7129 (cd $(HOST_SUBDIR)/etc && \
7130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7132 "RANLIB=$${RANLIB}" \
7133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7134 pdf) \
7135 || exit 1
7137 @endif etc
7139 .PHONY: maybe-html-etc html-etc
7140 maybe-html-etc:
7141 @if etc
7142 maybe-html-etc: html-etc
7144 html-etc: \
7145 configure-etc
7146 @: $(MAKE); $(unstage)
7147 @[ -f ./etc/Makefile ] || exit 0; \
7148 r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(HOST_EXPORTS) \
7151 for flag in $(EXTRA_HOST_FLAGS) ; do \
7152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7153 done; \
7154 echo "Doing html in etc" ; \
7155 (cd $(HOST_SUBDIR)/etc && \
7156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7158 "RANLIB=$${RANLIB}" \
7159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7160 html) \
7161 || exit 1
7163 @endif etc
7165 .PHONY: maybe-TAGS-etc TAGS-etc
7166 maybe-TAGS-etc:
7167 @if etc
7168 maybe-TAGS-etc: TAGS-etc
7170 TAGS-etc: \
7171 configure-etc
7172 @: $(MAKE); $(unstage)
7173 @[ -f ./etc/Makefile ] || exit 0; \
7174 r=`${PWD_COMMAND}`; export r; \
7175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7176 $(HOST_EXPORTS) \
7177 for flag in $(EXTRA_HOST_FLAGS) ; do \
7178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7179 done; \
7180 echo "Doing TAGS in etc" ; \
7181 (cd $(HOST_SUBDIR)/etc && \
7182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7184 "RANLIB=$${RANLIB}" \
7185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7186 TAGS) \
7187 || exit 1
7189 @endif etc
7191 .PHONY: maybe-install-info-etc install-info-etc
7192 maybe-install-info-etc:
7193 @if etc
7194 maybe-install-info-etc: install-info-etc
7196 install-info-etc: \
7197 configure-etc \
7198 info-etc
7199 @: $(MAKE); $(unstage)
7200 @[ -f ./etc/Makefile ] || exit 0; \
7201 r=`${PWD_COMMAND}`; export r; \
7202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7203 $(HOST_EXPORTS) \
7204 for flag in $(EXTRA_HOST_FLAGS) ; do \
7205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7206 done; \
7207 echo "Doing install-info in etc" ; \
7208 (cd $(HOST_SUBDIR)/etc && \
7209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7211 "RANLIB=$${RANLIB}" \
7212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7213 install-info) \
7214 || exit 1
7216 @endif etc
7218 .PHONY: maybe-install-pdf-etc install-pdf-etc
7219 maybe-install-pdf-etc:
7220 @if etc
7221 maybe-install-pdf-etc: install-pdf-etc
7223 install-pdf-etc: \
7224 configure-etc \
7225 pdf-etc
7226 @: $(MAKE); $(unstage)
7227 @[ -f ./etc/Makefile ] || exit 0; \
7228 r=`${PWD_COMMAND}`; export r; \
7229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7230 $(HOST_EXPORTS) \
7231 for flag in $(EXTRA_HOST_FLAGS) ; do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7233 done; \
7234 echo "Doing install-pdf in etc" ; \
7235 (cd $(HOST_SUBDIR)/etc && \
7236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238 "RANLIB=$${RANLIB}" \
7239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7240 install-pdf) \
7241 || exit 1
7243 @endif etc
7245 .PHONY: maybe-install-html-etc install-html-etc
7246 maybe-install-html-etc:
7247 @if etc
7248 maybe-install-html-etc: install-html-etc
7250 install-html-etc: \
7251 configure-etc \
7252 html-etc
7253 @: $(MAKE); $(unstage)
7254 @[ -f ./etc/Makefile ] || exit 0; \
7255 r=`${PWD_COMMAND}`; export r; \
7256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7257 $(HOST_EXPORTS) \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7260 done; \
7261 echo "Doing install-html in etc" ; \
7262 (cd $(HOST_SUBDIR)/etc && \
7263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7265 "RANLIB=$${RANLIB}" \
7266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7267 install-html) \
7268 || exit 1
7270 @endif etc
7272 .PHONY: maybe-installcheck-etc installcheck-etc
7273 maybe-installcheck-etc:
7274 @if etc
7275 maybe-installcheck-etc: installcheck-etc
7277 installcheck-etc: \
7278 configure-etc
7279 @: $(MAKE); $(unstage)
7280 @[ -f ./etc/Makefile ] || exit 0; \
7281 r=`${PWD_COMMAND}`; export r; \
7282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7283 $(HOST_EXPORTS) \
7284 for flag in $(EXTRA_HOST_FLAGS) ; do \
7285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7286 done; \
7287 echo "Doing installcheck in etc" ; \
7288 (cd $(HOST_SUBDIR)/etc && \
7289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7291 "RANLIB=$${RANLIB}" \
7292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7293 installcheck) \
7294 || exit 1
7296 @endif etc
7298 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7299 maybe-mostlyclean-etc:
7300 @if etc
7301 maybe-mostlyclean-etc: mostlyclean-etc
7303 mostlyclean-etc:
7304 @: $(MAKE); $(unstage)
7305 @[ -f ./etc/Makefile ] || exit 0; \
7306 r=`${PWD_COMMAND}`; export r; \
7307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7308 $(HOST_EXPORTS) \
7309 for flag in $(EXTRA_HOST_FLAGS) ; do \
7310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7311 done; \
7312 echo "Doing mostlyclean in etc" ; \
7313 (cd $(HOST_SUBDIR)/etc && \
7314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7316 "RANLIB=$${RANLIB}" \
7317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7318 mostlyclean) \
7319 || exit 1
7321 @endif etc
7323 .PHONY: maybe-clean-etc clean-etc
7324 maybe-clean-etc:
7325 @if etc
7326 maybe-clean-etc: clean-etc
7328 clean-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 clean 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 clean) \
7344 || exit 1
7346 @endif etc
7348 .PHONY: maybe-distclean-etc distclean-etc
7349 maybe-distclean-etc:
7350 @if etc
7351 maybe-distclean-etc: distclean-etc
7353 distclean-etc:
7354 @: $(MAKE); $(unstage)
7355 @[ -f ./etc/Makefile ] || exit 0; \
7356 r=`${PWD_COMMAND}`; export r; \
7357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7358 $(HOST_EXPORTS) \
7359 for flag in $(EXTRA_HOST_FLAGS) ; do \
7360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7361 done; \
7362 echo "Doing distclean in etc" ; \
7363 (cd $(HOST_SUBDIR)/etc && \
7364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7366 "RANLIB=$${RANLIB}" \
7367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7368 distclean) \
7369 || exit 1
7371 @endif etc
7373 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7374 maybe-maintainer-clean-etc:
7375 @if etc
7376 maybe-maintainer-clean-etc: maintainer-clean-etc
7378 maintainer-clean-etc:
7379 @: $(MAKE); $(unstage)
7380 @[ -f ./etc/Makefile ] || exit 0; \
7381 r=`${PWD_COMMAND}`; export r; \
7382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7383 $(HOST_EXPORTS) \
7384 for flag in $(EXTRA_HOST_FLAGS) ; do \
7385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7386 done; \
7387 echo "Doing maintainer-clean in etc" ; \
7388 (cd $(HOST_SUBDIR)/etc && \
7389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7391 "RANLIB=$${RANLIB}" \
7392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7393 maintainer-clean) \
7394 || exit 1
7396 @endif etc
7400 .PHONY: configure-fastjar maybe-configure-fastjar
7401 maybe-configure-fastjar:
7402 @if gcc-bootstrap
7403 configure-fastjar: stage_current
7404 @endif gcc-bootstrap
7405 @if fastjar
7406 maybe-configure-fastjar: configure-fastjar
7407 configure-fastjar:
7408 @: $(MAKE); $(unstage)
7409 @r=`${PWD_COMMAND}`; export r; \
7410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7411 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7413 $(HOST_EXPORTS) \
7414 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7415 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7416 case $(srcdir) in \
7417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7418 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7420 esac; \
7421 module_srcdir=fastjar; \
7422 $(SHELL) \
7423 $$s/$$module_srcdir/configure \
7424 --srcdir=$${topdir}/$$module_srcdir \
7425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7426 --target=${target_alias} \
7427 || exit 1
7428 @endif fastjar
7434 .PHONY: all-fastjar maybe-all-fastjar
7435 maybe-all-fastjar:
7436 @if gcc-bootstrap
7437 all-fastjar: stage_current
7438 @endif gcc-bootstrap
7439 @if fastjar
7440 TARGET-fastjar=all
7441 maybe-all-fastjar: all-fastjar
7442 all-fastjar: configure-fastjar
7443 @: $(MAKE); $(unstage)
7444 @r=`${PWD_COMMAND}`; export r; \
7445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7446 $(HOST_EXPORTS) \
7447 (cd $(HOST_SUBDIR)/fastjar && \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7449 $(TARGET-fastjar))
7450 @endif fastjar
7455 .PHONY: check-fastjar maybe-check-fastjar
7456 maybe-check-fastjar:
7457 @if fastjar
7458 maybe-check-fastjar: check-fastjar
7460 # This module is only tested in a native toolchain.
7461 check-fastjar:
7462 @: $(MAKE); $(unstage)
7463 @if [ '$(host)' = '$(target)' ] ; then \
7464 r=`${PWD_COMMAND}`; export r; \
7465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466 $(HOST_EXPORTS) \
7467 (cd $(HOST_SUBDIR)/fastjar && \
7468 $(MAKE) $(FLAGS_TO_PASS) check); \
7471 @endif fastjar
7473 .PHONY: install-fastjar maybe-install-fastjar
7474 maybe-install-fastjar:
7475 @if fastjar
7476 maybe-install-fastjar: install-fastjar
7478 install-fastjar: installdirs
7479 @: $(MAKE); $(unstage)
7480 @r=`${PWD_COMMAND}`; export r; \
7481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7482 $(HOST_EXPORTS) \
7483 (cd $(HOST_SUBDIR)/fastjar && \
7484 $(MAKE) $(FLAGS_TO_PASS) install)
7486 @endif fastjar
7488 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7489 maybe-install-strip-fastjar:
7490 @if fastjar
7491 maybe-install-strip-fastjar: install-strip-fastjar
7493 install-strip-fastjar: installdirs
7494 @: $(MAKE); $(unstage)
7495 @r=`${PWD_COMMAND}`; export r; \
7496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7497 $(HOST_EXPORTS) \
7498 (cd $(HOST_SUBDIR)/fastjar && \
7499 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7501 @endif fastjar
7503 # Other targets (info, dvi, pdf, etc.)
7505 .PHONY: maybe-info-fastjar info-fastjar
7506 maybe-info-fastjar:
7507 @if fastjar
7508 maybe-info-fastjar: info-fastjar
7510 info-fastjar: \
7511 configure-fastjar
7512 @: $(MAKE); $(unstage)
7513 @[ -f ./fastjar/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing info in fastjar" ; \
7521 (cd $(HOST_SUBDIR)/fastjar && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7526 info) \
7527 || exit 1
7529 @endif fastjar
7531 .PHONY: maybe-dvi-fastjar dvi-fastjar
7532 maybe-dvi-fastjar:
7533 @if fastjar
7534 maybe-dvi-fastjar: dvi-fastjar
7536 dvi-fastjar: \
7537 configure-fastjar
7538 @: $(MAKE); $(unstage)
7539 @[ -f ./fastjar/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7542 $(HOST_EXPORTS) \
7543 for flag in $(EXTRA_HOST_FLAGS) ; do \
7544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7545 done; \
7546 echo "Doing dvi in fastjar" ; \
7547 (cd $(HOST_SUBDIR)/fastjar && \
7548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7550 "RANLIB=$${RANLIB}" \
7551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7552 dvi) \
7553 || exit 1
7555 @endif fastjar
7557 .PHONY: maybe-pdf-fastjar pdf-fastjar
7558 maybe-pdf-fastjar:
7559 @if fastjar
7560 maybe-pdf-fastjar: pdf-fastjar
7562 pdf-fastjar: \
7563 configure-fastjar
7564 @: $(MAKE); $(unstage)
7565 @[ -f ./fastjar/Makefile ] || exit 0; \
7566 r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7568 $(HOST_EXPORTS) \
7569 for flag in $(EXTRA_HOST_FLAGS) ; do \
7570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7571 done; \
7572 echo "Doing pdf in fastjar" ; \
7573 (cd $(HOST_SUBDIR)/fastjar && \
7574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7576 "RANLIB=$${RANLIB}" \
7577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7578 pdf) \
7579 || exit 1
7581 @endif fastjar
7583 .PHONY: maybe-html-fastjar html-fastjar
7584 maybe-html-fastjar:
7585 @if fastjar
7586 maybe-html-fastjar: html-fastjar
7588 html-fastjar: \
7589 configure-fastjar
7590 @: $(MAKE); $(unstage)
7591 @[ -f ./fastjar/Makefile ] || exit 0; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 $(HOST_EXPORTS) \
7595 for flag in $(EXTRA_HOST_FLAGS) ; do \
7596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7597 done; \
7598 echo "Doing html in fastjar" ; \
7599 (cd $(HOST_SUBDIR)/fastjar && \
7600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7602 "RANLIB=$${RANLIB}" \
7603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7604 html) \
7605 || exit 1
7607 @endif fastjar
7609 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7610 maybe-TAGS-fastjar:
7611 @if fastjar
7612 maybe-TAGS-fastjar: TAGS-fastjar
7614 TAGS-fastjar: \
7615 configure-fastjar
7616 @: $(MAKE); $(unstage)
7617 @[ -f ./fastjar/Makefile ] || exit 0; \
7618 r=`${PWD_COMMAND}`; export r; \
7619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7620 $(HOST_EXPORTS) \
7621 for flag in $(EXTRA_HOST_FLAGS) ; do \
7622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7623 done; \
7624 echo "Doing TAGS in fastjar" ; \
7625 (cd $(HOST_SUBDIR)/fastjar && \
7626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7628 "RANLIB=$${RANLIB}" \
7629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7630 TAGS) \
7631 || exit 1
7633 @endif fastjar
7635 .PHONY: maybe-install-info-fastjar install-info-fastjar
7636 maybe-install-info-fastjar:
7637 @if fastjar
7638 maybe-install-info-fastjar: install-info-fastjar
7640 install-info-fastjar: \
7641 configure-fastjar \
7642 info-fastjar
7643 @: $(MAKE); $(unstage)
7644 @[ -f ./fastjar/Makefile ] || exit 0; \
7645 r=`${PWD_COMMAND}`; export r; \
7646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7647 $(HOST_EXPORTS) \
7648 for flag in $(EXTRA_HOST_FLAGS) ; do \
7649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7650 done; \
7651 echo "Doing install-info in fastjar" ; \
7652 (cd $(HOST_SUBDIR)/fastjar && \
7653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7655 "RANLIB=$${RANLIB}" \
7656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7657 install-info) \
7658 || exit 1
7660 @endif fastjar
7662 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7663 maybe-install-pdf-fastjar:
7664 @if fastjar
7665 maybe-install-pdf-fastjar: install-pdf-fastjar
7667 install-pdf-fastjar: \
7668 configure-fastjar \
7669 pdf-fastjar
7670 @: $(MAKE); $(unstage)
7671 @[ -f ./fastjar/Makefile ] || exit 0; \
7672 r=`${PWD_COMMAND}`; export r; \
7673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7674 $(HOST_EXPORTS) \
7675 for flag in $(EXTRA_HOST_FLAGS) ; do \
7676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7677 done; \
7678 echo "Doing install-pdf in fastjar" ; \
7679 (cd $(HOST_SUBDIR)/fastjar && \
7680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7682 "RANLIB=$${RANLIB}" \
7683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7684 install-pdf) \
7685 || exit 1
7687 @endif fastjar
7689 .PHONY: maybe-install-html-fastjar install-html-fastjar
7690 maybe-install-html-fastjar:
7691 @if fastjar
7692 maybe-install-html-fastjar: install-html-fastjar
7694 install-html-fastjar: \
7695 configure-fastjar \
7696 html-fastjar
7697 @: $(MAKE); $(unstage)
7698 @[ -f ./fastjar/Makefile ] || exit 0; \
7699 r=`${PWD_COMMAND}`; export r; \
7700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7701 $(HOST_EXPORTS) \
7702 for flag in $(EXTRA_HOST_FLAGS) ; do \
7703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7704 done; \
7705 echo "Doing install-html in fastjar" ; \
7706 (cd $(HOST_SUBDIR)/fastjar && \
7707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7709 "RANLIB=$${RANLIB}" \
7710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7711 install-html) \
7712 || exit 1
7714 @endif fastjar
7716 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7717 maybe-installcheck-fastjar:
7718 @if fastjar
7719 maybe-installcheck-fastjar: installcheck-fastjar
7721 installcheck-fastjar: \
7722 configure-fastjar
7723 @: $(MAKE); $(unstage)
7724 @[ -f ./fastjar/Makefile ] || exit 0; \
7725 r=`${PWD_COMMAND}`; export r; \
7726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7727 $(HOST_EXPORTS) \
7728 for flag in $(EXTRA_HOST_FLAGS) ; do \
7729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7730 done; \
7731 echo "Doing installcheck in fastjar" ; \
7732 (cd $(HOST_SUBDIR)/fastjar && \
7733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7735 "RANLIB=$${RANLIB}" \
7736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7737 installcheck) \
7738 || exit 1
7740 @endif fastjar
7742 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7743 maybe-mostlyclean-fastjar:
7744 @if fastjar
7745 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7747 mostlyclean-fastjar:
7748 @: $(MAKE); $(unstage)
7749 @[ -f ./fastjar/Makefile ] || exit 0; \
7750 r=`${PWD_COMMAND}`; export r; \
7751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7752 $(HOST_EXPORTS) \
7753 for flag in $(EXTRA_HOST_FLAGS) ; do \
7754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7755 done; \
7756 echo "Doing mostlyclean in fastjar" ; \
7757 (cd $(HOST_SUBDIR)/fastjar && \
7758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7760 "RANLIB=$${RANLIB}" \
7761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7762 mostlyclean) \
7763 || exit 1
7765 @endif fastjar
7767 .PHONY: maybe-clean-fastjar clean-fastjar
7768 maybe-clean-fastjar:
7769 @if fastjar
7770 maybe-clean-fastjar: clean-fastjar
7772 clean-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 clean 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 clean) \
7788 || exit 1
7790 @endif fastjar
7792 .PHONY: maybe-distclean-fastjar distclean-fastjar
7793 maybe-distclean-fastjar:
7794 @if fastjar
7795 maybe-distclean-fastjar: distclean-fastjar
7797 distclean-fastjar:
7798 @: $(MAKE); $(unstage)
7799 @[ -f ./fastjar/Makefile ] || exit 0; \
7800 r=`${PWD_COMMAND}`; export r; \
7801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7802 $(HOST_EXPORTS) \
7803 for flag in $(EXTRA_HOST_FLAGS) ; do \
7804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7805 done; \
7806 echo "Doing distclean in fastjar" ; \
7807 (cd $(HOST_SUBDIR)/fastjar && \
7808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7810 "RANLIB=$${RANLIB}" \
7811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7812 distclean) \
7813 || exit 1
7815 @endif fastjar
7817 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7818 maybe-maintainer-clean-fastjar:
7819 @if fastjar
7820 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7822 maintainer-clean-fastjar:
7823 @: $(MAKE); $(unstage)
7824 @[ -f ./fastjar/Makefile ] || exit 0; \
7825 r=`${PWD_COMMAND}`; export r; \
7826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7827 $(HOST_EXPORTS) \
7828 for flag in $(EXTRA_HOST_FLAGS) ; do \
7829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7830 done; \
7831 echo "Doing maintainer-clean in fastjar" ; \
7832 (cd $(HOST_SUBDIR)/fastjar && \
7833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7835 "RANLIB=$${RANLIB}" \
7836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7837 maintainer-clean) \
7838 || exit 1
7840 @endif fastjar
7844 .PHONY: configure-fixincludes maybe-configure-fixincludes
7845 maybe-configure-fixincludes:
7846 @if gcc-bootstrap
7847 configure-fixincludes: stage_current
7848 @endif gcc-bootstrap
7849 @if fixincludes
7850 maybe-configure-fixincludes: configure-fixincludes
7851 configure-fixincludes:
7852 @r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7856 $(HOST_EXPORTS) \
7857 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7858 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7859 case $(srcdir) in \
7860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7861 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7863 esac; \
7864 module_srcdir=fixincludes; \
7865 $(SHELL) \
7866 $$s/$$module_srcdir/configure \
7867 --srcdir=$${topdir}/$$module_srcdir \
7868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7869 --target=${target_alias} \
7870 || exit 1
7871 @endif fixincludes
7875 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7876 maybe-configure-stage1-fixincludes:
7877 @if fixincludes-bootstrap
7878 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7879 configure-stage1-fixincludes:
7880 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7881 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7882 @r=`${PWD_COMMAND}`; export r; \
7883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7884 TFLAGS="$(STAGE1_TFLAGS)"; \
7885 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7886 $(HOST_EXPORTS) \
7887 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7888 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7889 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7890 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
7891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7892 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7893 case $(srcdir) in \
7894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7895 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7897 esac; \
7898 module_srcdir=fixincludes; \
7899 $(SHELL) $$s/$$module_srcdir/configure \
7900 --srcdir=$${topdir}/$$module_srcdir \
7901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7902 --target=${target_alias} \
7904 $(STAGE1_CONFIGURE_FLAGS)
7905 @endif fixincludes-bootstrap
7907 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
7908 maybe-configure-stage2-fixincludes:
7909 @if fixincludes-bootstrap
7910 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
7911 configure-stage2-fixincludes:
7912 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7914 @r=`${PWD_COMMAND}`; export r; \
7915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7916 TFLAGS="$(STAGE2_TFLAGS)"; \
7917 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7918 $(HOST_EXPORTS) \
7919 $(POSTSTAGE1_HOST_EXPORTS) \
7920 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
7921 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
7922 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
7923 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
7924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7925 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7926 case $(srcdir) in \
7927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7928 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7930 esac; \
7931 module_srcdir=fixincludes; \
7932 $(SHELL) $$s/$$module_srcdir/configure \
7933 --srcdir=$${topdir}/$$module_srcdir \
7934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7935 --target=${target_alias} \
7936 --with-build-libsubdir=$(HOST_SUBDIR) \
7937 $(STAGE2_CONFIGURE_FLAGS)
7938 @endif fixincludes-bootstrap
7940 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
7941 maybe-configure-stage3-fixincludes:
7942 @if fixincludes-bootstrap
7943 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
7944 configure-stage3-fixincludes:
7945 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7947 @r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7949 TFLAGS="$(STAGE3_TFLAGS)"; \
7950 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7951 $(HOST_EXPORTS) \
7952 $(POSTSTAGE1_HOST_EXPORTS) \
7953 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
7954 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
7955 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
7956 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
7957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7958 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7959 case $(srcdir) in \
7960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7961 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7963 esac; \
7964 module_srcdir=fixincludes; \
7965 $(SHELL) $$s/$$module_srcdir/configure \
7966 --srcdir=$${topdir}/$$module_srcdir \
7967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7968 --target=${target_alias} \
7969 --with-build-libsubdir=$(HOST_SUBDIR) \
7970 $(STAGE3_CONFIGURE_FLAGS)
7971 @endif fixincludes-bootstrap
7973 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
7974 maybe-configure-stage4-fixincludes:
7975 @if fixincludes-bootstrap
7976 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
7977 configure-stage4-fixincludes:
7978 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7980 @r=`${PWD_COMMAND}`; export r; \
7981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7982 TFLAGS="$(STAGE4_TFLAGS)"; \
7983 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7984 $(HOST_EXPORTS) \
7985 $(POSTSTAGE1_HOST_EXPORTS) \
7986 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7987 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
7988 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
7989 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
7990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7991 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7992 case $(srcdir) in \
7993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7994 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7996 esac; \
7997 module_srcdir=fixincludes; \
7998 $(SHELL) $$s/$$module_srcdir/configure \
7999 --srcdir=$${topdir}/$$module_srcdir \
8000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8001 --target=${target_alias} \
8002 --with-build-libsubdir=$(HOST_SUBDIR) \
8003 $(STAGE4_CONFIGURE_FLAGS)
8004 @endif fixincludes-bootstrap
8006 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8007 maybe-configure-stageprofile-fixincludes:
8008 @if fixincludes-bootstrap
8009 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8010 configure-stageprofile-fixincludes:
8011 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8013 @r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8016 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8017 $(HOST_EXPORTS) \
8018 $(POSTSTAGE1_HOST_EXPORTS) \
8019 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8020 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8021 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8022 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
8023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8024 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8025 case $(srcdir) in \
8026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8027 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8029 esac; \
8030 module_srcdir=fixincludes; \
8031 $(SHELL) $$s/$$module_srcdir/configure \
8032 --srcdir=$${topdir}/$$module_srcdir \
8033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8034 --target=${target_alias} \
8035 --with-build-libsubdir=$(HOST_SUBDIR) \
8036 $(STAGEprofile_CONFIGURE_FLAGS)
8037 @endif fixincludes-bootstrap
8039 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8040 maybe-configure-stagefeedback-fixincludes:
8041 @if fixincludes-bootstrap
8042 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8043 configure-stagefeedback-fixincludes:
8044 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8046 @r=`${PWD_COMMAND}`; export r; \
8047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8048 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8049 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8050 $(HOST_EXPORTS) \
8051 $(POSTSTAGE1_HOST_EXPORTS) \
8052 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8053 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8054 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8055 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8057 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8058 case $(srcdir) in \
8059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8060 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8062 esac; \
8063 module_srcdir=fixincludes; \
8064 $(SHELL) $$s/$$module_srcdir/configure \
8065 --srcdir=$${topdir}/$$module_srcdir \
8066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8067 --target=${target_alias} \
8068 --with-build-libsubdir=$(HOST_SUBDIR) \
8069 $(STAGEfeedback_CONFIGURE_FLAGS)
8070 @endif fixincludes-bootstrap
8076 .PHONY: all-fixincludes maybe-all-fixincludes
8077 maybe-all-fixincludes:
8078 @if gcc-bootstrap
8079 all-fixincludes: stage_current
8080 @endif gcc-bootstrap
8081 @if fixincludes
8082 TARGET-fixincludes=all
8083 maybe-all-fixincludes: all-fixincludes
8084 all-fixincludes: configure-fixincludes
8085 @r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(HOST_EXPORTS) \
8088 (cd $(HOST_SUBDIR)/fixincludes && \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8090 $(TARGET-fixincludes))
8091 @endif fixincludes
8095 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8096 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8097 maybe-all-stage1-fixincludes:
8098 maybe-clean-stage1-fixincludes:
8099 @if fixincludes-bootstrap
8100 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8101 all-stage1: all-stage1-fixincludes
8102 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8103 all-stage1-fixincludes: configure-stage1-fixincludes
8104 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8105 @r=`${PWD_COMMAND}`; export r; \
8106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8107 TFLAGS="$(STAGE1_TFLAGS)"; \
8108 $(HOST_EXPORTS) \
8109 cd $(HOST_SUBDIR)/fixincludes && \
8110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8111 CFLAGS="$(STAGE1_CFLAGS)" \
8112 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8113 LIBCFLAGS="$(LIBCFLAGS)" \
8114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8117 $(EXTRA_HOST_FLAGS) \
8118 $(STAGE1_FLAGS_TO_PASS) \
8119 TFLAGS="$(STAGE1_TFLAGS)" \
8120 $(TARGET-stage1-fixincludes)
8122 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8123 clean-stage1: clean-stage1-fixincludes
8124 clean-stage1-fixincludes:
8125 @if [ $(current_stage) = stage1 ]; then \
8126 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8127 else \
8128 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8129 $(MAKE) stage1-start; \
8130 fi; \
8131 cd $(HOST_SUBDIR)/fixincludes && \
8132 $(MAKE) $(EXTRA_HOST_FLAGS) \
8133 $(STAGE1_FLAGS_TO_PASS) clean
8134 @endif fixincludes-bootstrap
8137 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8138 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8139 maybe-all-stage2-fixincludes:
8140 maybe-clean-stage2-fixincludes:
8141 @if fixincludes-bootstrap
8142 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8143 all-stage2: all-stage2-fixincludes
8144 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8145 all-stage2-fixincludes: configure-stage2-fixincludes
8146 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8147 @r=`${PWD_COMMAND}`; export r; \
8148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8149 TFLAGS="$(STAGE2_TFLAGS)"; \
8150 $(HOST_EXPORTS) \
8151 $(POSTSTAGE1_HOST_EXPORTS) \
8152 cd $(HOST_SUBDIR)/fixincludes && \
8153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8154 CFLAGS="$(STAGE2_CFLAGS)" \
8155 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8156 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8160 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8161 TFLAGS="$(STAGE2_TFLAGS)" \
8162 $(TARGET-stage2-fixincludes)
8164 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8165 clean-stage2: clean-stage2-fixincludes
8166 clean-stage2-fixincludes:
8167 @if [ $(current_stage) = stage2 ]; then \
8168 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8169 else \
8170 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8171 $(MAKE) stage2-start; \
8172 fi; \
8173 cd $(HOST_SUBDIR)/fixincludes && \
8174 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8175 @endif fixincludes-bootstrap
8178 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8179 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8180 maybe-all-stage3-fixincludes:
8181 maybe-clean-stage3-fixincludes:
8182 @if fixincludes-bootstrap
8183 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8184 all-stage3: all-stage3-fixincludes
8185 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8186 all-stage3-fixincludes: configure-stage3-fixincludes
8187 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8188 @r=`${PWD_COMMAND}`; export r; \
8189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8190 TFLAGS="$(STAGE3_TFLAGS)"; \
8191 $(HOST_EXPORTS) \
8192 $(POSTSTAGE1_HOST_EXPORTS) \
8193 cd $(HOST_SUBDIR)/fixincludes && \
8194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8195 CFLAGS="$(STAGE3_CFLAGS)" \
8196 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8197 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8202 TFLAGS="$(STAGE3_TFLAGS)" \
8203 $(TARGET-stage3-fixincludes)
8205 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8206 clean-stage3: clean-stage3-fixincludes
8207 clean-stage3-fixincludes:
8208 @if [ $(current_stage) = stage3 ]; then \
8209 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8210 else \
8211 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8212 $(MAKE) stage3-start; \
8213 fi; \
8214 cd $(HOST_SUBDIR)/fixincludes && \
8215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8216 @endif fixincludes-bootstrap
8219 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8220 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8221 maybe-all-stage4-fixincludes:
8222 maybe-clean-stage4-fixincludes:
8223 @if fixincludes-bootstrap
8224 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8225 all-stage4: all-stage4-fixincludes
8226 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8227 all-stage4-fixincludes: configure-stage4-fixincludes
8228 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8229 @r=`${PWD_COMMAND}`; export r; \
8230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8231 TFLAGS="$(STAGE4_TFLAGS)"; \
8232 $(HOST_EXPORTS) \
8233 $(POSTSTAGE1_HOST_EXPORTS) \
8234 cd $(HOST_SUBDIR)/fixincludes && \
8235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8236 CFLAGS="$(STAGE4_CFLAGS)" \
8237 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8238 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8243 TFLAGS="$(STAGE4_TFLAGS)" \
8244 $(TARGET-stage4-fixincludes)
8246 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8247 clean-stage4: clean-stage4-fixincludes
8248 clean-stage4-fixincludes:
8249 @if [ $(current_stage) = stage4 ]; then \
8250 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8251 else \
8252 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8253 $(MAKE) stage4-start; \
8254 fi; \
8255 cd $(HOST_SUBDIR)/fixincludes && \
8256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8257 @endif fixincludes-bootstrap
8260 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8261 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8262 maybe-all-stageprofile-fixincludes:
8263 maybe-clean-stageprofile-fixincludes:
8264 @if fixincludes-bootstrap
8265 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8266 all-stageprofile: all-stageprofile-fixincludes
8267 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8268 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8269 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8270 @r=`${PWD_COMMAND}`; export r; \
8271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8272 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8273 $(HOST_EXPORTS) \
8274 $(POSTSTAGE1_HOST_EXPORTS) \
8275 cd $(HOST_SUBDIR)/fixincludes && \
8276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8277 CFLAGS="$(STAGEprofile_CFLAGS)" \
8278 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8279 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8284 TFLAGS="$(STAGEprofile_TFLAGS)" \
8285 $(TARGET-stageprofile-fixincludes)
8287 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8288 clean-stageprofile: clean-stageprofile-fixincludes
8289 clean-stageprofile-fixincludes:
8290 @if [ $(current_stage) = stageprofile ]; then \
8291 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8292 else \
8293 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8294 $(MAKE) stageprofile-start; \
8295 fi; \
8296 cd $(HOST_SUBDIR)/fixincludes && \
8297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8298 @endif fixincludes-bootstrap
8301 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8302 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8303 maybe-all-stagefeedback-fixincludes:
8304 maybe-clean-stagefeedback-fixincludes:
8305 @if fixincludes-bootstrap
8306 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8307 all-stagefeedback: all-stagefeedback-fixincludes
8308 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8309 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8310 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8311 @r=`${PWD_COMMAND}`; export r; \
8312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8313 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8314 $(HOST_EXPORTS) \
8315 $(POSTSTAGE1_HOST_EXPORTS) \
8316 cd $(HOST_SUBDIR)/fixincludes && \
8317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8318 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8319 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8320 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8325 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8326 $(TARGET-stagefeedback-fixincludes)
8328 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8329 clean-stagefeedback: clean-stagefeedback-fixincludes
8330 clean-stagefeedback-fixincludes:
8331 @if [ $(current_stage) = stagefeedback ]; then \
8332 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8333 else \
8334 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8335 $(MAKE) stagefeedback-start; \
8336 fi; \
8337 cd $(HOST_SUBDIR)/fixincludes && \
8338 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8339 @endif fixincludes-bootstrap
8345 .PHONY: check-fixincludes maybe-check-fixincludes
8346 maybe-check-fixincludes:
8347 @if fixincludes
8348 maybe-check-fixincludes: check-fixincludes
8350 check-fixincludes:
8351 @: $(MAKE); $(unstage)
8352 @r=`${PWD_COMMAND}`; export r; \
8353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8354 $(HOST_EXPORTS) \
8355 (cd $(HOST_SUBDIR)/fixincludes && \
8356 $(MAKE) $(FLAGS_TO_PASS) check)
8358 @endif fixincludes
8360 .PHONY: install-fixincludes maybe-install-fixincludes
8361 maybe-install-fixincludes:
8362 @if fixincludes
8363 maybe-install-fixincludes: install-fixincludes
8365 install-fixincludes: installdirs
8366 @: $(MAKE); $(unstage)
8367 @r=`${PWD_COMMAND}`; export r; \
8368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8369 $(HOST_EXPORTS) \
8370 (cd $(HOST_SUBDIR)/fixincludes && \
8371 $(MAKE) $(FLAGS_TO_PASS) install)
8373 @endif fixincludes
8375 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8376 maybe-install-strip-fixincludes:
8377 @if fixincludes
8378 maybe-install-strip-fixincludes: install-strip-fixincludes
8380 install-strip-fixincludes: installdirs
8381 @: $(MAKE); $(unstage)
8382 @r=`${PWD_COMMAND}`; export r; \
8383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8384 $(HOST_EXPORTS) \
8385 (cd $(HOST_SUBDIR)/fixincludes && \
8386 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8388 @endif fixincludes
8390 # Other targets (info, dvi, pdf, etc.)
8392 .PHONY: maybe-info-fixincludes info-fixincludes
8393 maybe-info-fixincludes:
8394 @if fixincludes
8395 maybe-info-fixincludes: info-fixincludes
8397 info-fixincludes: \
8398 configure-fixincludes
8399 @[ -f ./fixincludes/Makefile ] || exit 0; \
8400 r=`${PWD_COMMAND}`; export r; \
8401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8402 $(HOST_EXPORTS) \
8403 for flag in $(EXTRA_HOST_FLAGS) ; do \
8404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8405 done; \
8406 echo "Doing info in fixincludes" ; \
8407 (cd $(HOST_SUBDIR)/fixincludes && \
8408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8410 "RANLIB=$${RANLIB}" \
8411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8412 info) \
8413 || exit 1
8415 @endif fixincludes
8417 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8418 maybe-dvi-fixincludes:
8419 @if fixincludes
8420 maybe-dvi-fixincludes: dvi-fixincludes
8422 dvi-fixincludes: \
8423 configure-fixincludes
8424 @[ -f ./fixincludes/Makefile ] || exit 0; \
8425 r=`${PWD_COMMAND}`; export r; \
8426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8427 $(HOST_EXPORTS) \
8428 for flag in $(EXTRA_HOST_FLAGS) ; do \
8429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8430 done; \
8431 echo "Doing dvi in fixincludes" ; \
8432 (cd $(HOST_SUBDIR)/fixincludes && \
8433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8435 "RANLIB=$${RANLIB}" \
8436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8437 dvi) \
8438 || exit 1
8440 @endif fixincludes
8442 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8443 maybe-pdf-fixincludes:
8444 @if fixincludes
8445 maybe-pdf-fixincludes: pdf-fixincludes
8447 pdf-fixincludes: \
8448 configure-fixincludes
8449 @[ -f ./fixincludes/Makefile ] || exit 0; \
8450 r=`${PWD_COMMAND}`; export r; \
8451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8452 $(HOST_EXPORTS) \
8453 for flag in $(EXTRA_HOST_FLAGS) ; do \
8454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8455 done; \
8456 echo "Doing pdf in fixincludes" ; \
8457 (cd $(HOST_SUBDIR)/fixincludes && \
8458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8460 "RANLIB=$${RANLIB}" \
8461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8462 pdf) \
8463 || exit 1
8465 @endif fixincludes
8467 .PHONY: maybe-html-fixincludes html-fixincludes
8468 maybe-html-fixincludes:
8469 @if fixincludes
8470 maybe-html-fixincludes: html-fixincludes
8472 html-fixincludes: \
8473 configure-fixincludes
8474 @[ -f ./fixincludes/Makefile ] || exit 0; \
8475 r=`${PWD_COMMAND}`; export r; \
8476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8477 $(HOST_EXPORTS) \
8478 for flag in $(EXTRA_HOST_FLAGS) ; do \
8479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8480 done; \
8481 echo "Doing html in fixincludes" ; \
8482 (cd $(HOST_SUBDIR)/fixincludes && \
8483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8485 "RANLIB=$${RANLIB}" \
8486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8487 html) \
8488 || exit 1
8490 @endif fixincludes
8492 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8493 maybe-TAGS-fixincludes:
8494 @if fixincludes
8495 maybe-TAGS-fixincludes: TAGS-fixincludes
8497 # fixincludes doesn't support TAGS.
8498 TAGS-fixincludes:
8500 @endif fixincludes
8502 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8503 maybe-install-info-fixincludes:
8504 @if fixincludes
8505 maybe-install-info-fixincludes: install-info-fixincludes
8507 install-info-fixincludes: \
8508 configure-fixincludes \
8509 info-fixincludes
8510 @[ -f ./fixincludes/Makefile ] || exit 0; \
8511 r=`${PWD_COMMAND}`; export r; \
8512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8513 $(HOST_EXPORTS) \
8514 for flag in $(EXTRA_HOST_FLAGS) ; do \
8515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8516 done; \
8517 echo "Doing install-info in fixincludes" ; \
8518 (cd $(HOST_SUBDIR)/fixincludes && \
8519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8521 "RANLIB=$${RANLIB}" \
8522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8523 install-info) \
8524 || exit 1
8526 @endif fixincludes
8528 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8529 maybe-install-pdf-fixincludes:
8530 @if fixincludes
8531 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8533 install-pdf-fixincludes: \
8534 configure-fixincludes \
8535 pdf-fixincludes
8536 @[ -f ./fixincludes/Makefile ] || exit 0; \
8537 r=`${PWD_COMMAND}`; export r; \
8538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8539 $(HOST_EXPORTS) \
8540 for flag in $(EXTRA_HOST_FLAGS) ; do \
8541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8542 done; \
8543 echo "Doing install-pdf in fixincludes" ; \
8544 (cd $(HOST_SUBDIR)/fixincludes && \
8545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8547 "RANLIB=$${RANLIB}" \
8548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8549 install-pdf) \
8550 || exit 1
8552 @endif fixincludes
8554 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8555 maybe-install-html-fixincludes:
8556 @if fixincludes
8557 maybe-install-html-fixincludes: install-html-fixincludes
8559 install-html-fixincludes: \
8560 configure-fixincludes \
8561 html-fixincludes
8562 @[ -f ./fixincludes/Makefile ] || exit 0; \
8563 r=`${PWD_COMMAND}`; export r; \
8564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8565 $(HOST_EXPORTS) \
8566 for flag in $(EXTRA_HOST_FLAGS) ; do \
8567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8568 done; \
8569 echo "Doing install-html in fixincludes" ; \
8570 (cd $(HOST_SUBDIR)/fixincludes && \
8571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8573 "RANLIB=$${RANLIB}" \
8574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8575 install-html) \
8576 || exit 1
8578 @endif fixincludes
8580 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8581 maybe-installcheck-fixincludes:
8582 @if fixincludes
8583 maybe-installcheck-fixincludes: installcheck-fixincludes
8585 installcheck-fixincludes: \
8586 configure-fixincludes
8587 @[ -f ./fixincludes/Makefile ] || exit 0; \
8588 r=`${PWD_COMMAND}`; export r; \
8589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8590 $(HOST_EXPORTS) \
8591 for flag in $(EXTRA_HOST_FLAGS) ; do \
8592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8593 done; \
8594 echo "Doing installcheck in fixincludes" ; \
8595 (cd $(HOST_SUBDIR)/fixincludes && \
8596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8598 "RANLIB=$${RANLIB}" \
8599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8600 installcheck) \
8601 || exit 1
8603 @endif fixincludes
8605 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8606 maybe-mostlyclean-fixincludes:
8607 @if fixincludes
8608 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8610 mostlyclean-fixincludes:
8611 @[ -f ./fixincludes/Makefile ] || exit 0; \
8612 r=`${PWD_COMMAND}`; export r; \
8613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8614 $(HOST_EXPORTS) \
8615 for flag in $(EXTRA_HOST_FLAGS) ; do \
8616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8617 done; \
8618 echo "Doing mostlyclean in fixincludes" ; \
8619 (cd $(HOST_SUBDIR)/fixincludes && \
8620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8622 "RANLIB=$${RANLIB}" \
8623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8624 mostlyclean) \
8625 || exit 1
8627 @endif fixincludes
8629 .PHONY: maybe-clean-fixincludes clean-fixincludes
8630 maybe-clean-fixincludes:
8631 @if fixincludes
8632 maybe-clean-fixincludes: clean-fixincludes
8634 clean-fixincludes:
8635 @[ -f ./fixincludes/Makefile ] || exit 0; \
8636 r=`${PWD_COMMAND}`; export r; \
8637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8638 $(HOST_EXPORTS) \
8639 for flag in $(EXTRA_HOST_FLAGS) ; do \
8640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8641 done; \
8642 echo "Doing clean in fixincludes" ; \
8643 (cd $(HOST_SUBDIR)/fixincludes && \
8644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8646 "RANLIB=$${RANLIB}" \
8647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8648 clean) \
8649 || exit 1
8651 @endif fixincludes
8653 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8654 maybe-distclean-fixincludes:
8655 @if fixincludes
8656 maybe-distclean-fixincludes: distclean-fixincludes
8658 distclean-fixincludes:
8659 @[ -f ./fixincludes/Makefile ] || exit 0; \
8660 r=`${PWD_COMMAND}`; export r; \
8661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8662 $(HOST_EXPORTS) \
8663 for flag in $(EXTRA_HOST_FLAGS) ; do \
8664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8665 done; \
8666 echo "Doing distclean in fixincludes" ; \
8667 (cd $(HOST_SUBDIR)/fixincludes && \
8668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8670 "RANLIB=$${RANLIB}" \
8671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8672 distclean) \
8673 || exit 1
8675 @endif fixincludes
8677 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8678 maybe-maintainer-clean-fixincludes:
8679 @if fixincludes
8680 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8682 maintainer-clean-fixincludes:
8683 @[ -f ./fixincludes/Makefile ] || exit 0; \
8684 r=`${PWD_COMMAND}`; export r; \
8685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8686 $(HOST_EXPORTS) \
8687 for flag in $(EXTRA_HOST_FLAGS) ; do \
8688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8689 done; \
8690 echo "Doing maintainer-clean in fixincludes" ; \
8691 (cd $(HOST_SUBDIR)/fixincludes && \
8692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8694 "RANLIB=$${RANLIB}" \
8695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8696 maintainer-clean) \
8697 || exit 1
8699 @endif fixincludes
8703 .PHONY: configure-flex maybe-configure-flex
8704 maybe-configure-flex:
8705 @if gcc-bootstrap
8706 configure-flex: stage_current
8707 @endif gcc-bootstrap
8708 @if flex
8709 maybe-configure-flex: configure-flex
8710 configure-flex:
8711 @: $(MAKE); $(unstage)
8712 @r=`${PWD_COMMAND}`; export r; \
8713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8714 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8716 $(HOST_EXPORTS) \
8717 echo Configuring in $(HOST_SUBDIR)/flex; \
8718 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8719 case $(srcdir) in \
8720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8721 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8723 esac; \
8724 module_srcdir=flex; \
8725 $(SHELL) \
8726 $$s/$$module_srcdir/configure \
8727 --srcdir=$${topdir}/$$module_srcdir \
8728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8729 --target=${target_alias} \
8730 || exit 1
8731 @endif flex
8737 .PHONY: all-flex maybe-all-flex
8738 maybe-all-flex:
8739 @if gcc-bootstrap
8740 all-flex: stage_current
8741 @endif gcc-bootstrap
8742 @if flex
8743 TARGET-flex=all
8744 maybe-all-flex: all-flex
8745 all-flex: configure-flex
8746 @: $(MAKE); $(unstage)
8747 @r=`${PWD_COMMAND}`; export r; \
8748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749 $(HOST_EXPORTS) \
8750 (cd $(HOST_SUBDIR)/flex && \
8751 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8752 $(TARGET-flex))
8753 @endif flex
8758 .PHONY: check-flex maybe-check-flex
8759 maybe-check-flex:
8760 @if flex
8761 maybe-check-flex: check-flex
8763 # This module is only tested in a native toolchain.
8764 check-flex:
8765 @: $(MAKE); $(unstage)
8766 @if [ '$(host)' = '$(target)' ] ; then \
8767 r=`${PWD_COMMAND}`; export r; \
8768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8769 $(HOST_EXPORTS) \
8770 (cd $(HOST_SUBDIR)/flex && \
8771 $(MAKE) $(FLAGS_TO_PASS) check); \
8774 @endif flex
8776 .PHONY: install-flex maybe-install-flex
8777 maybe-install-flex:
8778 @if flex
8779 maybe-install-flex: install-flex
8781 install-flex: installdirs
8782 @: $(MAKE); $(unstage)
8783 @r=`${PWD_COMMAND}`; export r; \
8784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8785 $(HOST_EXPORTS) \
8786 (cd $(HOST_SUBDIR)/flex && \
8787 $(MAKE) $(FLAGS_TO_PASS) install)
8789 @endif flex
8791 .PHONY: install-strip-flex maybe-install-strip-flex
8792 maybe-install-strip-flex:
8793 @if flex
8794 maybe-install-strip-flex: install-strip-flex
8796 install-strip-flex: installdirs
8797 @: $(MAKE); $(unstage)
8798 @r=`${PWD_COMMAND}`; export r; \
8799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8800 $(HOST_EXPORTS) \
8801 (cd $(HOST_SUBDIR)/flex && \
8802 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8804 @endif flex
8806 # Other targets (info, dvi, pdf, etc.)
8808 .PHONY: maybe-info-flex info-flex
8809 maybe-info-flex:
8810 @if flex
8811 maybe-info-flex: info-flex
8813 info-flex: \
8814 configure-flex
8815 @: $(MAKE); $(unstage)
8816 @[ -f ./flex/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 info in flex" ; \
8824 (cd $(HOST_SUBDIR)/flex && \
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 info) \
8830 || exit 1
8832 @endif flex
8834 .PHONY: maybe-dvi-flex dvi-flex
8835 maybe-dvi-flex:
8836 @if flex
8837 maybe-dvi-flex: dvi-flex
8839 dvi-flex: \
8840 configure-flex
8841 @: $(MAKE); $(unstage)
8842 @[ -f ./flex/Makefile ] || exit 0; \
8843 r=`${PWD_COMMAND}`; export r; \
8844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8845 $(HOST_EXPORTS) \
8846 for flag in $(EXTRA_HOST_FLAGS) ; do \
8847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8848 done; \
8849 echo "Doing dvi in flex" ; \
8850 (cd $(HOST_SUBDIR)/flex && \
8851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8853 "RANLIB=$${RANLIB}" \
8854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8855 dvi) \
8856 || exit 1
8858 @endif flex
8860 .PHONY: maybe-pdf-flex pdf-flex
8861 maybe-pdf-flex:
8862 @if flex
8863 maybe-pdf-flex: pdf-flex
8865 pdf-flex: \
8866 configure-flex
8867 @: $(MAKE); $(unstage)
8868 @[ -f ./flex/Makefile ] || exit 0; \
8869 r=`${PWD_COMMAND}`; export r; \
8870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8871 $(HOST_EXPORTS) \
8872 for flag in $(EXTRA_HOST_FLAGS) ; do \
8873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8874 done; \
8875 echo "Doing pdf in flex" ; \
8876 (cd $(HOST_SUBDIR)/flex && \
8877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8879 "RANLIB=$${RANLIB}" \
8880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8881 pdf) \
8882 || exit 1
8884 @endif flex
8886 .PHONY: maybe-html-flex html-flex
8887 maybe-html-flex:
8888 @if flex
8889 maybe-html-flex: html-flex
8891 html-flex: \
8892 configure-flex
8893 @: $(MAKE); $(unstage)
8894 @[ -f ./flex/Makefile ] || exit 0; \
8895 r=`${PWD_COMMAND}`; export r; \
8896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8897 $(HOST_EXPORTS) \
8898 for flag in $(EXTRA_HOST_FLAGS) ; do \
8899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8900 done; \
8901 echo "Doing html in flex" ; \
8902 (cd $(HOST_SUBDIR)/flex && \
8903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8905 "RANLIB=$${RANLIB}" \
8906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8907 html) \
8908 || exit 1
8910 @endif flex
8912 .PHONY: maybe-TAGS-flex TAGS-flex
8913 maybe-TAGS-flex:
8914 @if flex
8915 maybe-TAGS-flex: TAGS-flex
8917 TAGS-flex: \
8918 configure-flex
8919 @: $(MAKE); $(unstage)
8920 @[ -f ./flex/Makefile ] || exit 0; \
8921 r=`${PWD_COMMAND}`; export r; \
8922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8923 $(HOST_EXPORTS) \
8924 for flag in $(EXTRA_HOST_FLAGS) ; do \
8925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8926 done; \
8927 echo "Doing TAGS in flex" ; \
8928 (cd $(HOST_SUBDIR)/flex && \
8929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8931 "RANLIB=$${RANLIB}" \
8932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8933 TAGS) \
8934 || exit 1
8936 @endif flex
8938 .PHONY: maybe-install-info-flex install-info-flex
8939 maybe-install-info-flex:
8940 @if flex
8941 maybe-install-info-flex: install-info-flex
8943 install-info-flex: \
8944 configure-flex \
8945 info-flex
8946 @: $(MAKE); $(unstage)
8947 @[ -f ./flex/Makefile ] || exit 0; \
8948 r=`${PWD_COMMAND}`; export r; \
8949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8950 $(HOST_EXPORTS) \
8951 for flag in $(EXTRA_HOST_FLAGS) ; do \
8952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8953 done; \
8954 echo "Doing install-info in flex" ; \
8955 (cd $(HOST_SUBDIR)/flex && \
8956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8958 "RANLIB=$${RANLIB}" \
8959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8960 install-info) \
8961 || exit 1
8963 @endif flex
8965 .PHONY: maybe-install-pdf-flex install-pdf-flex
8966 maybe-install-pdf-flex:
8967 @if flex
8968 maybe-install-pdf-flex: install-pdf-flex
8970 install-pdf-flex: \
8971 configure-flex \
8972 pdf-flex
8973 @: $(MAKE); $(unstage)
8974 @[ -f ./flex/Makefile ] || exit 0; \
8975 r=`${PWD_COMMAND}`; export r; \
8976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8977 $(HOST_EXPORTS) \
8978 for flag in $(EXTRA_HOST_FLAGS) ; do \
8979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8980 done; \
8981 echo "Doing install-pdf in flex" ; \
8982 (cd $(HOST_SUBDIR)/flex && \
8983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8985 "RANLIB=$${RANLIB}" \
8986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8987 install-pdf) \
8988 || exit 1
8990 @endif flex
8992 .PHONY: maybe-install-html-flex install-html-flex
8993 maybe-install-html-flex:
8994 @if flex
8995 maybe-install-html-flex: install-html-flex
8997 install-html-flex: \
8998 configure-flex \
8999 html-flex
9000 @: $(MAKE); $(unstage)
9001 @[ -f ./flex/Makefile ] || exit 0; \
9002 r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 $(HOST_EXPORTS) \
9005 for flag in $(EXTRA_HOST_FLAGS) ; do \
9006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9007 done; \
9008 echo "Doing install-html in flex" ; \
9009 (cd $(HOST_SUBDIR)/flex && \
9010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9012 "RANLIB=$${RANLIB}" \
9013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9014 install-html) \
9015 || exit 1
9017 @endif flex
9019 .PHONY: maybe-installcheck-flex installcheck-flex
9020 maybe-installcheck-flex:
9021 @if flex
9022 maybe-installcheck-flex: installcheck-flex
9024 installcheck-flex: \
9025 configure-flex
9026 @: $(MAKE); $(unstage)
9027 @[ -f ./flex/Makefile ] || exit 0; \
9028 r=`${PWD_COMMAND}`; export r; \
9029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9030 $(HOST_EXPORTS) \
9031 for flag in $(EXTRA_HOST_FLAGS) ; do \
9032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9033 done; \
9034 echo "Doing installcheck in flex" ; \
9035 (cd $(HOST_SUBDIR)/flex && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038 "RANLIB=$${RANLIB}" \
9039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9040 installcheck) \
9041 || exit 1
9043 @endif flex
9045 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9046 maybe-mostlyclean-flex:
9047 @if flex
9048 maybe-mostlyclean-flex: mostlyclean-flex
9050 mostlyclean-flex:
9051 @: $(MAKE); $(unstage)
9052 @[ -f ./flex/Makefile ] || exit 0; \
9053 r=`${PWD_COMMAND}`; export r; \
9054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9055 $(HOST_EXPORTS) \
9056 for flag in $(EXTRA_HOST_FLAGS) ; do \
9057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9058 done; \
9059 echo "Doing mostlyclean in flex" ; \
9060 (cd $(HOST_SUBDIR)/flex && \
9061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9063 "RANLIB=$${RANLIB}" \
9064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9065 mostlyclean) \
9066 || exit 1
9068 @endif flex
9070 .PHONY: maybe-clean-flex clean-flex
9071 maybe-clean-flex:
9072 @if flex
9073 maybe-clean-flex: clean-flex
9075 clean-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 clean 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 clean) \
9091 || exit 1
9093 @endif flex
9095 .PHONY: maybe-distclean-flex distclean-flex
9096 maybe-distclean-flex:
9097 @if flex
9098 maybe-distclean-flex: distclean-flex
9100 distclean-flex:
9101 @: $(MAKE); $(unstage)
9102 @[ -f ./flex/Makefile ] || exit 0; \
9103 r=`${PWD_COMMAND}`; export r; \
9104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9105 $(HOST_EXPORTS) \
9106 for flag in $(EXTRA_HOST_FLAGS) ; do \
9107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9108 done; \
9109 echo "Doing distclean in flex" ; \
9110 (cd $(HOST_SUBDIR)/flex && \
9111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9113 "RANLIB=$${RANLIB}" \
9114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9115 distclean) \
9116 || exit 1
9118 @endif flex
9120 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9121 maybe-maintainer-clean-flex:
9122 @if flex
9123 maybe-maintainer-clean-flex: maintainer-clean-flex
9125 maintainer-clean-flex:
9126 @: $(MAKE); $(unstage)
9127 @[ -f ./flex/Makefile ] || exit 0; \
9128 r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130 $(HOST_EXPORTS) \
9131 for flag in $(EXTRA_HOST_FLAGS) ; do \
9132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9133 done; \
9134 echo "Doing maintainer-clean in flex" ; \
9135 (cd $(HOST_SUBDIR)/flex && \
9136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9138 "RANLIB=$${RANLIB}" \
9139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9140 maintainer-clean) \
9141 || exit 1
9143 @endif flex
9147 .PHONY: configure-gas maybe-configure-gas
9148 maybe-configure-gas:
9149 @if gcc-bootstrap
9150 configure-gas: stage_current
9151 @endif gcc-bootstrap
9152 @if gas
9153 maybe-configure-gas: configure-gas
9154 configure-gas:
9155 @r=`${PWD_COMMAND}`; export r; \
9156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9157 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9159 $(HOST_EXPORTS) \
9160 echo Configuring in $(HOST_SUBDIR)/gas; \
9161 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9162 case $(srcdir) in \
9163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9164 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9166 esac; \
9167 module_srcdir=gas; \
9168 $(SHELL) \
9169 $$s/$$module_srcdir/configure \
9170 --srcdir=$${topdir}/$$module_srcdir \
9171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9172 --target=${target_alias} \
9173 || exit 1
9174 @endif gas
9178 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9179 maybe-configure-stage1-gas:
9180 @if gas-bootstrap
9181 maybe-configure-stage1-gas: configure-stage1-gas
9182 configure-stage1-gas:
9183 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9184 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9185 @r=`${PWD_COMMAND}`; export r; \
9186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9187 TFLAGS="$(STAGE1_TFLAGS)"; \
9188 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9189 $(HOST_EXPORTS) \
9190 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9191 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9192 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9193 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9195 cd $(HOST_SUBDIR)/gas || exit 1; \
9196 case $(srcdir) in \
9197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9198 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9200 esac; \
9201 module_srcdir=gas; \
9202 $(SHELL) $$s/$$module_srcdir/configure \
9203 --srcdir=$${topdir}/$$module_srcdir \
9204 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9205 --target=${target_alias} \
9207 $(STAGE1_CONFIGURE_FLAGS)
9208 @endif gas-bootstrap
9210 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9211 maybe-configure-stage2-gas:
9212 @if gas-bootstrap
9213 maybe-configure-stage2-gas: configure-stage2-gas
9214 configure-stage2-gas:
9215 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9216 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9217 @r=`${PWD_COMMAND}`; export r; \
9218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9219 TFLAGS="$(STAGE2_TFLAGS)"; \
9220 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9221 $(HOST_EXPORTS) \
9222 $(POSTSTAGE1_HOST_EXPORTS) \
9223 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9224 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9225 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9226 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9228 cd $(HOST_SUBDIR)/gas || exit 1; \
9229 case $(srcdir) in \
9230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9231 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9233 esac; \
9234 module_srcdir=gas; \
9235 $(SHELL) $$s/$$module_srcdir/configure \
9236 --srcdir=$${topdir}/$$module_srcdir \
9237 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9238 --target=${target_alias} \
9239 --with-build-libsubdir=$(HOST_SUBDIR) \
9240 $(STAGE2_CONFIGURE_FLAGS)
9241 @endif gas-bootstrap
9243 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9244 maybe-configure-stage3-gas:
9245 @if gas-bootstrap
9246 maybe-configure-stage3-gas: configure-stage3-gas
9247 configure-stage3-gas:
9248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9250 @r=`${PWD_COMMAND}`; export r; \
9251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9252 TFLAGS="$(STAGE3_TFLAGS)"; \
9253 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9254 $(HOST_EXPORTS) \
9255 $(POSTSTAGE1_HOST_EXPORTS) \
9256 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9257 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9258 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9259 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9261 cd $(HOST_SUBDIR)/gas || exit 1; \
9262 case $(srcdir) in \
9263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9264 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9266 esac; \
9267 module_srcdir=gas; \
9268 $(SHELL) $$s/$$module_srcdir/configure \
9269 --srcdir=$${topdir}/$$module_srcdir \
9270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9271 --target=${target_alias} \
9272 --with-build-libsubdir=$(HOST_SUBDIR) \
9273 $(STAGE3_CONFIGURE_FLAGS)
9274 @endif gas-bootstrap
9276 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9277 maybe-configure-stage4-gas:
9278 @if gas-bootstrap
9279 maybe-configure-stage4-gas: configure-stage4-gas
9280 configure-stage4-gas:
9281 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9283 @r=`${PWD_COMMAND}`; export r; \
9284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9285 TFLAGS="$(STAGE4_TFLAGS)"; \
9286 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9287 $(HOST_EXPORTS) \
9288 $(POSTSTAGE1_HOST_EXPORTS) \
9289 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9290 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9291 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9292 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9294 cd $(HOST_SUBDIR)/gas || exit 1; \
9295 case $(srcdir) in \
9296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9297 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9299 esac; \
9300 module_srcdir=gas; \
9301 $(SHELL) $$s/$$module_srcdir/configure \
9302 --srcdir=$${topdir}/$$module_srcdir \
9303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9304 --target=${target_alias} \
9305 --with-build-libsubdir=$(HOST_SUBDIR) \
9306 $(STAGE4_CONFIGURE_FLAGS)
9307 @endif gas-bootstrap
9309 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9310 maybe-configure-stageprofile-gas:
9311 @if gas-bootstrap
9312 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9313 configure-stageprofile-gas:
9314 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9316 @r=`${PWD_COMMAND}`; export r; \
9317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9318 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9319 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9320 $(HOST_EXPORTS) \
9321 $(POSTSTAGE1_HOST_EXPORTS) \
9322 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9323 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9324 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9325 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9327 cd $(HOST_SUBDIR)/gas || exit 1; \
9328 case $(srcdir) in \
9329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9330 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9332 esac; \
9333 module_srcdir=gas; \
9334 $(SHELL) $$s/$$module_srcdir/configure \
9335 --srcdir=$${topdir}/$$module_srcdir \
9336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9337 --target=${target_alias} \
9338 --with-build-libsubdir=$(HOST_SUBDIR) \
9339 $(STAGEprofile_CONFIGURE_FLAGS)
9340 @endif gas-bootstrap
9342 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9343 maybe-configure-stagefeedback-gas:
9344 @if gas-bootstrap
9345 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9346 configure-stagefeedback-gas:
9347 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9349 @r=`${PWD_COMMAND}`; export r; \
9350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9351 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9352 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9353 $(HOST_EXPORTS) \
9354 $(POSTSTAGE1_HOST_EXPORTS) \
9355 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9356 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9357 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9358 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9360 cd $(HOST_SUBDIR)/gas || exit 1; \
9361 case $(srcdir) in \
9362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9363 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9365 esac; \
9366 module_srcdir=gas; \
9367 $(SHELL) $$s/$$module_srcdir/configure \
9368 --srcdir=$${topdir}/$$module_srcdir \
9369 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9370 --target=${target_alias} \
9371 --with-build-libsubdir=$(HOST_SUBDIR) \
9372 $(STAGEfeedback_CONFIGURE_FLAGS)
9373 @endif gas-bootstrap
9379 .PHONY: all-gas maybe-all-gas
9380 maybe-all-gas:
9381 @if gcc-bootstrap
9382 all-gas: stage_current
9383 @endif gcc-bootstrap
9384 @if gas
9385 TARGET-gas=all
9386 maybe-all-gas: all-gas
9387 all-gas: configure-gas
9388 @r=`${PWD_COMMAND}`; export r; \
9389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9390 $(HOST_EXPORTS) \
9391 (cd $(HOST_SUBDIR)/gas && \
9392 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9393 $(TARGET-gas))
9394 @endif gas
9398 .PHONY: all-stage1-gas maybe-all-stage1-gas
9399 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9400 maybe-all-stage1-gas:
9401 maybe-clean-stage1-gas:
9402 @if gas-bootstrap
9403 maybe-all-stage1-gas: all-stage1-gas
9404 all-stage1: all-stage1-gas
9405 TARGET-stage1-gas = $(TARGET-gas)
9406 all-stage1-gas: configure-stage1-gas
9407 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9408 @r=`${PWD_COMMAND}`; export r; \
9409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9410 TFLAGS="$(STAGE1_TFLAGS)"; \
9411 $(HOST_EXPORTS) \
9412 cd $(HOST_SUBDIR)/gas && \
9413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9414 CFLAGS="$(STAGE1_CFLAGS)" \
9415 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9416 LIBCFLAGS="$(LIBCFLAGS)" \
9417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9420 $(EXTRA_HOST_FLAGS) \
9421 $(STAGE1_FLAGS_TO_PASS) \
9422 TFLAGS="$(STAGE1_TFLAGS)" \
9423 $(TARGET-stage1-gas)
9425 maybe-clean-stage1-gas: clean-stage1-gas
9426 clean-stage1: clean-stage1-gas
9427 clean-stage1-gas:
9428 @if [ $(current_stage) = stage1 ]; then \
9429 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9430 else \
9431 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9432 $(MAKE) stage1-start; \
9433 fi; \
9434 cd $(HOST_SUBDIR)/gas && \
9435 $(MAKE) $(EXTRA_HOST_FLAGS) \
9436 $(STAGE1_FLAGS_TO_PASS) clean
9437 @endif gas-bootstrap
9440 .PHONY: all-stage2-gas maybe-all-stage2-gas
9441 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9442 maybe-all-stage2-gas:
9443 maybe-clean-stage2-gas:
9444 @if gas-bootstrap
9445 maybe-all-stage2-gas: all-stage2-gas
9446 all-stage2: all-stage2-gas
9447 TARGET-stage2-gas = $(TARGET-gas)
9448 all-stage2-gas: configure-stage2-gas
9449 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9450 @r=`${PWD_COMMAND}`; export r; \
9451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9452 TFLAGS="$(STAGE2_TFLAGS)"; \
9453 $(HOST_EXPORTS) \
9454 $(POSTSTAGE1_HOST_EXPORTS) \
9455 cd $(HOST_SUBDIR)/gas && \
9456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9457 CFLAGS="$(STAGE2_CFLAGS)" \
9458 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9459 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9464 TFLAGS="$(STAGE2_TFLAGS)" \
9465 $(TARGET-stage2-gas)
9467 maybe-clean-stage2-gas: clean-stage2-gas
9468 clean-stage2: clean-stage2-gas
9469 clean-stage2-gas:
9470 @if [ $(current_stage) = stage2 ]; then \
9471 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9472 else \
9473 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9474 $(MAKE) stage2-start; \
9475 fi; \
9476 cd $(HOST_SUBDIR)/gas && \
9477 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9478 @endif gas-bootstrap
9481 .PHONY: all-stage3-gas maybe-all-stage3-gas
9482 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9483 maybe-all-stage3-gas:
9484 maybe-clean-stage3-gas:
9485 @if gas-bootstrap
9486 maybe-all-stage3-gas: all-stage3-gas
9487 all-stage3: all-stage3-gas
9488 TARGET-stage3-gas = $(TARGET-gas)
9489 all-stage3-gas: configure-stage3-gas
9490 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9491 @r=`${PWD_COMMAND}`; export r; \
9492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9493 TFLAGS="$(STAGE3_TFLAGS)"; \
9494 $(HOST_EXPORTS) \
9495 $(POSTSTAGE1_HOST_EXPORTS) \
9496 cd $(HOST_SUBDIR)/gas && \
9497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9498 CFLAGS="$(STAGE3_CFLAGS)" \
9499 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9500 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9504 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9505 TFLAGS="$(STAGE3_TFLAGS)" \
9506 $(TARGET-stage3-gas)
9508 maybe-clean-stage3-gas: clean-stage3-gas
9509 clean-stage3: clean-stage3-gas
9510 clean-stage3-gas:
9511 @if [ $(current_stage) = stage3 ]; then \
9512 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9513 else \
9514 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9515 $(MAKE) stage3-start; \
9516 fi; \
9517 cd $(HOST_SUBDIR)/gas && \
9518 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9519 @endif gas-bootstrap
9522 .PHONY: all-stage4-gas maybe-all-stage4-gas
9523 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9524 maybe-all-stage4-gas:
9525 maybe-clean-stage4-gas:
9526 @if gas-bootstrap
9527 maybe-all-stage4-gas: all-stage4-gas
9528 all-stage4: all-stage4-gas
9529 TARGET-stage4-gas = $(TARGET-gas)
9530 all-stage4-gas: configure-stage4-gas
9531 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9532 @r=`${PWD_COMMAND}`; export r; \
9533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9534 TFLAGS="$(STAGE4_TFLAGS)"; \
9535 $(HOST_EXPORTS) \
9536 $(POSTSTAGE1_HOST_EXPORTS) \
9537 cd $(HOST_SUBDIR)/gas && \
9538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9539 CFLAGS="$(STAGE4_CFLAGS)" \
9540 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9541 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9546 TFLAGS="$(STAGE4_TFLAGS)" \
9547 $(TARGET-stage4-gas)
9549 maybe-clean-stage4-gas: clean-stage4-gas
9550 clean-stage4: clean-stage4-gas
9551 clean-stage4-gas:
9552 @if [ $(current_stage) = stage4 ]; then \
9553 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9554 else \
9555 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9556 $(MAKE) stage4-start; \
9557 fi; \
9558 cd $(HOST_SUBDIR)/gas && \
9559 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9560 @endif gas-bootstrap
9563 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9564 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9565 maybe-all-stageprofile-gas:
9566 maybe-clean-stageprofile-gas:
9567 @if gas-bootstrap
9568 maybe-all-stageprofile-gas: all-stageprofile-gas
9569 all-stageprofile: all-stageprofile-gas
9570 TARGET-stageprofile-gas = $(TARGET-gas)
9571 all-stageprofile-gas: configure-stageprofile-gas
9572 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9573 @r=`${PWD_COMMAND}`; export r; \
9574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9576 $(HOST_EXPORTS) \
9577 $(POSTSTAGE1_HOST_EXPORTS) \
9578 cd $(HOST_SUBDIR)/gas && \
9579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9580 CFLAGS="$(STAGEprofile_CFLAGS)" \
9581 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9582 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9587 TFLAGS="$(STAGEprofile_TFLAGS)" \
9588 $(TARGET-stageprofile-gas)
9590 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9591 clean-stageprofile: clean-stageprofile-gas
9592 clean-stageprofile-gas:
9593 @if [ $(current_stage) = stageprofile ]; then \
9594 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9595 else \
9596 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9597 $(MAKE) stageprofile-start; \
9598 fi; \
9599 cd $(HOST_SUBDIR)/gas && \
9600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9601 @endif gas-bootstrap
9604 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9605 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9606 maybe-all-stagefeedback-gas:
9607 maybe-clean-stagefeedback-gas:
9608 @if gas-bootstrap
9609 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9610 all-stagefeedback: all-stagefeedback-gas
9611 TARGET-stagefeedback-gas = $(TARGET-gas)
9612 all-stagefeedback-gas: configure-stagefeedback-gas
9613 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9614 @r=`${PWD_COMMAND}`; export r; \
9615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9616 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9617 $(HOST_EXPORTS) \
9618 $(POSTSTAGE1_HOST_EXPORTS) \
9619 cd $(HOST_SUBDIR)/gas && \
9620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9621 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9622 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9623 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9628 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9629 $(TARGET-stagefeedback-gas)
9631 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9632 clean-stagefeedback: clean-stagefeedback-gas
9633 clean-stagefeedback-gas:
9634 @if [ $(current_stage) = stagefeedback ]; then \
9635 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9636 else \
9637 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9638 $(MAKE) stagefeedback-start; \
9639 fi; \
9640 cd $(HOST_SUBDIR)/gas && \
9641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9642 @endif gas-bootstrap
9648 .PHONY: check-gas maybe-check-gas
9649 maybe-check-gas:
9650 @if gas
9651 maybe-check-gas: check-gas
9653 check-gas:
9654 @: $(MAKE); $(unstage)
9655 @r=`${PWD_COMMAND}`; export r; \
9656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9657 $(HOST_EXPORTS) \
9658 (cd $(HOST_SUBDIR)/gas && \
9659 $(MAKE) $(FLAGS_TO_PASS) check)
9661 @endif gas
9663 .PHONY: install-gas maybe-install-gas
9664 maybe-install-gas:
9665 @if gas
9666 maybe-install-gas: install-gas
9668 install-gas: installdirs
9669 @: $(MAKE); $(unstage)
9670 @r=`${PWD_COMMAND}`; export r; \
9671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9672 $(HOST_EXPORTS) \
9673 (cd $(HOST_SUBDIR)/gas && \
9674 $(MAKE) $(FLAGS_TO_PASS) install)
9676 @endif gas
9678 .PHONY: install-strip-gas maybe-install-strip-gas
9679 maybe-install-strip-gas:
9680 @if gas
9681 maybe-install-strip-gas: install-strip-gas
9683 install-strip-gas: installdirs
9684 @: $(MAKE); $(unstage)
9685 @r=`${PWD_COMMAND}`; export r; \
9686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9687 $(HOST_EXPORTS) \
9688 (cd $(HOST_SUBDIR)/gas && \
9689 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9691 @endif gas
9693 # Other targets (info, dvi, pdf, etc.)
9695 .PHONY: maybe-info-gas info-gas
9696 maybe-info-gas:
9697 @if gas
9698 maybe-info-gas: info-gas
9700 info-gas: \
9701 configure-gas
9702 @[ -f ./gas/Makefile ] || exit 0; \
9703 r=`${PWD_COMMAND}`; export r; \
9704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9705 $(HOST_EXPORTS) \
9706 for flag in $(EXTRA_HOST_FLAGS) ; do \
9707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9708 done; \
9709 echo "Doing info in gas" ; \
9710 (cd $(HOST_SUBDIR)/gas && \
9711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9713 "RANLIB=$${RANLIB}" \
9714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9715 info) \
9716 || exit 1
9718 @endif gas
9720 .PHONY: maybe-dvi-gas dvi-gas
9721 maybe-dvi-gas:
9722 @if gas
9723 maybe-dvi-gas: dvi-gas
9725 dvi-gas: \
9726 configure-gas
9727 @[ -f ./gas/Makefile ] || exit 0; \
9728 r=`${PWD_COMMAND}`; export r; \
9729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9730 $(HOST_EXPORTS) \
9731 for flag in $(EXTRA_HOST_FLAGS) ; do \
9732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9733 done; \
9734 echo "Doing dvi in gas" ; \
9735 (cd $(HOST_SUBDIR)/gas && \
9736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9738 "RANLIB=$${RANLIB}" \
9739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9740 dvi) \
9741 || exit 1
9743 @endif gas
9745 .PHONY: maybe-pdf-gas pdf-gas
9746 maybe-pdf-gas:
9747 @if gas
9748 maybe-pdf-gas: pdf-gas
9750 pdf-gas: \
9751 configure-gas
9752 @[ -f ./gas/Makefile ] || exit 0; \
9753 r=`${PWD_COMMAND}`; export r; \
9754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9755 $(HOST_EXPORTS) \
9756 for flag in $(EXTRA_HOST_FLAGS) ; do \
9757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9758 done; \
9759 echo "Doing pdf in gas" ; \
9760 (cd $(HOST_SUBDIR)/gas && \
9761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9763 "RANLIB=$${RANLIB}" \
9764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9765 pdf) \
9766 || exit 1
9768 @endif gas
9770 .PHONY: maybe-html-gas html-gas
9771 maybe-html-gas:
9772 @if gas
9773 maybe-html-gas: html-gas
9775 html-gas: \
9776 configure-gas
9777 @[ -f ./gas/Makefile ] || exit 0; \
9778 r=`${PWD_COMMAND}`; export r; \
9779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 $(HOST_EXPORTS) \
9781 for flag in $(EXTRA_HOST_FLAGS) ; do \
9782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9783 done; \
9784 echo "Doing html in gas" ; \
9785 (cd $(HOST_SUBDIR)/gas && \
9786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9788 "RANLIB=$${RANLIB}" \
9789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9790 html) \
9791 || exit 1
9793 @endif gas
9795 .PHONY: maybe-TAGS-gas TAGS-gas
9796 maybe-TAGS-gas:
9797 @if gas
9798 maybe-TAGS-gas: TAGS-gas
9800 TAGS-gas: \
9801 configure-gas
9802 @[ -f ./gas/Makefile ] || exit 0; \
9803 r=`${PWD_COMMAND}`; export r; \
9804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9805 $(HOST_EXPORTS) \
9806 for flag in $(EXTRA_HOST_FLAGS) ; do \
9807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9808 done; \
9809 echo "Doing TAGS in gas" ; \
9810 (cd $(HOST_SUBDIR)/gas && \
9811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9813 "RANLIB=$${RANLIB}" \
9814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9815 TAGS) \
9816 || exit 1
9818 @endif gas
9820 .PHONY: maybe-install-info-gas install-info-gas
9821 maybe-install-info-gas:
9822 @if gas
9823 maybe-install-info-gas: install-info-gas
9825 install-info-gas: \
9826 configure-gas \
9827 info-gas
9828 @[ -f ./gas/Makefile ] || exit 0; \
9829 r=`${PWD_COMMAND}`; export r; \
9830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9831 $(HOST_EXPORTS) \
9832 for flag in $(EXTRA_HOST_FLAGS) ; do \
9833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9834 done; \
9835 echo "Doing install-info in gas" ; \
9836 (cd $(HOST_SUBDIR)/gas && \
9837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9839 "RANLIB=$${RANLIB}" \
9840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9841 install-info) \
9842 || exit 1
9844 @endif gas
9846 .PHONY: maybe-install-pdf-gas install-pdf-gas
9847 maybe-install-pdf-gas:
9848 @if gas
9849 maybe-install-pdf-gas: install-pdf-gas
9851 install-pdf-gas: \
9852 configure-gas \
9853 pdf-gas
9854 @[ -f ./gas/Makefile ] || exit 0; \
9855 r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 $(HOST_EXPORTS) \
9858 for flag in $(EXTRA_HOST_FLAGS) ; do \
9859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9860 done; \
9861 echo "Doing install-pdf in gas" ; \
9862 (cd $(HOST_SUBDIR)/gas && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9865 "RANLIB=$${RANLIB}" \
9866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9867 install-pdf) \
9868 || exit 1
9870 @endif gas
9872 .PHONY: maybe-install-html-gas install-html-gas
9873 maybe-install-html-gas:
9874 @if gas
9875 maybe-install-html-gas: install-html-gas
9877 install-html-gas: \
9878 configure-gas \
9879 html-gas
9880 @[ -f ./gas/Makefile ] || exit 0; \
9881 r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9883 $(HOST_EXPORTS) \
9884 for flag in $(EXTRA_HOST_FLAGS) ; do \
9885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9886 done; \
9887 echo "Doing install-html in gas" ; \
9888 (cd $(HOST_SUBDIR)/gas && \
9889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891 "RANLIB=$${RANLIB}" \
9892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9893 install-html) \
9894 || exit 1
9896 @endif gas
9898 .PHONY: maybe-installcheck-gas installcheck-gas
9899 maybe-installcheck-gas:
9900 @if gas
9901 maybe-installcheck-gas: installcheck-gas
9903 installcheck-gas: \
9904 configure-gas
9905 @[ -f ./gas/Makefile ] || exit 0; \
9906 r=`${PWD_COMMAND}`; export r; \
9907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9908 $(HOST_EXPORTS) \
9909 for flag in $(EXTRA_HOST_FLAGS) ; do \
9910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9911 done; \
9912 echo "Doing installcheck in gas" ; \
9913 (cd $(HOST_SUBDIR)/gas && \
9914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9916 "RANLIB=$${RANLIB}" \
9917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9918 installcheck) \
9919 || exit 1
9921 @endif gas
9923 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9924 maybe-mostlyclean-gas:
9925 @if gas
9926 maybe-mostlyclean-gas: mostlyclean-gas
9928 mostlyclean-gas:
9929 @[ -f ./gas/Makefile ] || exit 0; \
9930 r=`${PWD_COMMAND}`; export r; \
9931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9932 $(HOST_EXPORTS) \
9933 for flag in $(EXTRA_HOST_FLAGS) ; do \
9934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9935 done; \
9936 echo "Doing mostlyclean in gas" ; \
9937 (cd $(HOST_SUBDIR)/gas && \
9938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9940 "RANLIB=$${RANLIB}" \
9941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9942 mostlyclean) \
9943 || exit 1
9945 @endif gas
9947 .PHONY: maybe-clean-gas clean-gas
9948 maybe-clean-gas:
9949 @if gas
9950 maybe-clean-gas: clean-gas
9952 clean-gas:
9953 @[ -f ./gas/Makefile ] || exit 0; \
9954 r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 $(HOST_EXPORTS) \
9957 for flag in $(EXTRA_HOST_FLAGS) ; do \
9958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9959 done; \
9960 echo "Doing clean in gas" ; \
9961 (cd $(HOST_SUBDIR)/gas && \
9962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9964 "RANLIB=$${RANLIB}" \
9965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9966 clean) \
9967 || exit 1
9969 @endif gas
9971 .PHONY: maybe-distclean-gas distclean-gas
9972 maybe-distclean-gas:
9973 @if gas
9974 maybe-distclean-gas: distclean-gas
9976 distclean-gas:
9977 @[ -f ./gas/Makefile ] || exit 0; \
9978 r=`${PWD_COMMAND}`; export r; \
9979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9980 $(HOST_EXPORTS) \
9981 for flag in $(EXTRA_HOST_FLAGS) ; do \
9982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9983 done; \
9984 echo "Doing distclean in gas" ; \
9985 (cd $(HOST_SUBDIR)/gas && \
9986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9988 "RANLIB=$${RANLIB}" \
9989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9990 distclean) \
9991 || exit 1
9993 @endif gas
9995 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9996 maybe-maintainer-clean-gas:
9997 @if gas
9998 maybe-maintainer-clean-gas: maintainer-clean-gas
10000 maintainer-clean-gas:
10001 @[ -f ./gas/Makefile ] || exit 0; \
10002 r=`${PWD_COMMAND}`; export r; \
10003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10004 $(HOST_EXPORTS) \
10005 for flag in $(EXTRA_HOST_FLAGS) ; do \
10006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10007 done; \
10008 echo "Doing maintainer-clean in gas" ; \
10009 (cd $(HOST_SUBDIR)/gas && \
10010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10012 "RANLIB=$${RANLIB}" \
10013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10014 maintainer-clean) \
10015 || exit 1
10017 @endif gas
10021 .PHONY: configure-gcc maybe-configure-gcc
10022 maybe-configure-gcc:
10023 @if gcc-bootstrap
10024 configure-gcc: stage_current
10025 @endif gcc-bootstrap
10026 @if gcc
10027 maybe-configure-gcc: configure-gcc
10028 configure-gcc:
10029 @r=`${PWD_COMMAND}`; export r; \
10030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10031 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10033 $(HOST_EXPORTS) \
10034 echo Configuring in $(HOST_SUBDIR)/gcc; \
10035 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10036 case $(srcdir) in \
10037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10038 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10040 esac; \
10041 module_srcdir=gcc; \
10042 $(SHELL) \
10043 $$s/$$module_srcdir/configure \
10044 --srcdir=$${topdir}/$$module_srcdir \
10045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10046 --target=${target_alias} \
10047 || exit 1
10048 @endif gcc
10052 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10053 maybe-configure-stage1-gcc:
10054 @if gcc-bootstrap
10055 maybe-configure-stage1-gcc: configure-stage1-gcc
10056 configure-stage1-gcc:
10057 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10059 @r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 TFLAGS="$(STAGE1_TFLAGS)"; \
10062 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10063 $(HOST_EXPORTS) \
10064 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10065 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10066 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10067 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10069 cd $(HOST_SUBDIR)/gcc || exit 1; \
10070 case $(srcdir) in \
10071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10072 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10074 esac; \
10075 module_srcdir=gcc; \
10076 $(SHELL) $$s/$$module_srcdir/configure \
10077 --srcdir=$${topdir}/$$module_srcdir \
10078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10079 --target=${target_alias} \
10081 $(STAGE1_CONFIGURE_FLAGS)
10082 @endif gcc-bootstrap
10084 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10085 maybe-configure-stage2-gcc:
10086 @if gcc-bootstrap
10087 maybe-configure-stage2-gcc: configure-stage2-gcc
10088 configure-stage2-gcc:
10089 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10091 @r=`${PWD_COMMAND}`; export r; \
10092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10093 TFLAGS="$(STAGE2_TFLAGS)"; \
10094 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10095 $(HOST_EXPORTS) \
10096 $(POSTSTAGE1_HOST_EXPORTS) \
10097 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10098 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10099 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10100 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10102 cd $(HOST_SUBDIR)/gcc || exit 1; \
10103 case $(srcdir) in \
10104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10105 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10107 esac; \
10108 module_srcdir=gcc; \
10109 $(SHELL) $$s/$$module_srcdir/configure \
10110 --srcdir=$${topdir}/$$module_srcdir \
10111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10112 --target=${target_alias} \
10113 --with-build-libsubdir=$(HOST_SUBDIR) \
10114 $(STAGE2_CONFIGURE_FLAGS)
10115 @endif gcc-bootstrap
10117 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10118 maybe-configure-stage3-gcc:
10119 @if gcc-bootstrap
10120 maybe-configure-stage3-gcc: configure-stage3-gcc
10121 configure-stage3-gcc:
10122 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10124 @r=`${PWD_COMMAND}`; export r; \
10125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10126 TFLAGS="$(STAGE3_TFLAGS)"; \
10127 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10128 $(HOST_EXPORTS) \
10129 $(POSTSTAGE1_HOST_EXPORTS) \
10130 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10131 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10132 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10133 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10135 cd $(HOST_SUBDIR)/gcc || exit 1; \
10136 case $(srcdir) in \
10137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10138 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10140 esac; \
10141 module_srcdir=gcc; \
10142 $(SHELL) $$s/$$module_srcdir/configure \
10143 --srcdir=$${topdir}/$$module_srcdir \
10144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10145 --target=${target_alias} \
10146 --with-build-libsubdir=$(HOST_SUBDIR) \
10147 $(STAGE3_CONFIGURE_FLAGS)
10148 @endif gcc-bootstrap
10150 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10151 maybe-configure-stage4-gcc:
10152 @if gcc-bootstrap
10153 maybe-configure-stage4-gcc: configure-stage4-gcc
10154 configure-stage4-gcc:
10155 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10157 @r=`${PWD_COMMAND}`; export r; \
10158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10159 TFLAGS="$(STAGE4_TFLAGS)"; \
10160 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10161 $(HOST_EXPORTS) \
10162 $(POSTSTAGE1_HOST_EXPORTS) \
10163 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10164 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10165 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10166 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10168 cd $(HOST_SUBDIR)/gcc || exit 1; \
10169 case $(srcdir) in \
10170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10171 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10173 esac; \
10174 module_srcdir=gcc; \
10175 $(SHELL) $$s/$$module_srcdir/configure \
10176 --srcdir=$${topdir}/$$module_srcdir \
10177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10178 --target=${target_alias} \
10179 --with-build-libsubdir=$(HOST_SUBDIR) \
10180 $(STAGE4_CONFIGURE_FLAGS)
10181 @endif gcc-bootstrap
10183 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10184 maybe-configure-stageprofile-gcc:
10185 @if gcc-bootstrap
10186 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10187 configure-stageprofile-gcc:
10188 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10190 @r=`${PWD_COMMAND}`; export r; \
10191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10192 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10193 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10194 $(HOST_EXPORTS) \
10195 $(POSTSTAGE1_HOST_EXPORTS) \
10196 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10197 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10198 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10199 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10201 cd $(HOST_SUBDIR)/gcc || exit 1; \
10202 case $(srcdir) in \
10203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10204 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10206 esac; \
10207 module_srcdir=gcc; \
10208 $(SHELL) $$s/$$module_srcdir/configure \
10209 --srcdir=$${topdir}/$$module_srcdir \
10210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10211 --target=${target_alias} \
10212 --with-build-libsubdir=$(HOST_SUBDIR) \
10213 $(STAGEprofile_CONFIGURE_FLAGS)
10214 @endif gcc-bootstrap
10216 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10217 maybe-configure-stagefeedback-gcc:
10218 @if gcc-bootstrap
10219 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10220 configure-stagefeedback-gcc:
10221 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10223 @r=`${PWD_COMMAND}`; export r; \
10224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10225 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10226 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10227 $(HOST_EXPORTS) \
10228 $(POSTSTAGE1_HOST_EXPORTS) \
10229 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10230 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10231 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10232 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10234 cd $(HOST_SUBDIR)/gcc || exit 1; \
10235 case $(srcdir) in \
10236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10237 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10239 esac; \
10240 module_srcdir=gcc; \
10241 $(SHELL) $$s/$$module_srcdir/configure \
10242 --srcdir=$${topdir}/$$module_srcdir \
10243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10244 --target=${target_alias} \
10245 --with-build-libsubdir=$(HOST_SUBDIR) \
10246 $(STAGEfeedback_CONFIGURE_FLAGS)
10247 @endif gcc-bootstrap
10253 .PHONY: all-gcc maybe-all-gcc
10254 maybe-all-gcc:
10255 @if gcc-bootstrap
10256 all-gcc: stage_current
10257 @endif gcc-bootstrap
10258 @if gcc
10259 TARGET-gcc=all
10260 maybe-all-gcc: all-gcc
10261 all-gcc: configure-gcc
10262 @r=`${PWD_COMMAND}`; export r; \
10263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10264 $(HOST_EXPORTS) \
10265 (cd $(HOST_SUBDIR)/gcc && \
10266 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10267 $(TARGET-gcc))
10268 @endif gcc
10272 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10273 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10274 maybe-all-stage1-gcc:
10275 maybe-clean-stage1-gcc:
10276 @if gcc-bootstrap
10277 maybe-all-stage1-gcc: all-stage1-gcc
10278 all-stage1: all-stage1-gcc
10279 TARGET-stage1-gcc = $(TARGET-gcc)
10280 all-stage1-gcc: configure-stage1-gcc
10281 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10282 @r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284 TFLAGS="$(STAGE1_TFLAGS)"; \
10285 $(HOST_EXPORTS) \
10286 cd $(HOST_SUBDIR)/gcc && \
10287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10288 CFLAGS="$(STAGE1_CFLAGS)" \
10289 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10290 LIBCFLAGS="$(LIBCFLAGS)" \
10291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10294 $(EXTRA_HOST_FLAGS) \
10295 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10296 TFLAGS="$(STAGE1_TFLAGS)" \
10297 $(TARGET-stage1-gcc)
10299 maybe-clean-stage1-gcc: clean-stage1-gcc
10300 clean-stage1: clean-stage1-gcc
10301 clean-stage1-gcc:
10302 @if [ $(current_stage) = stage1 ]; then \
10303 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10304 else \
10305 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10306 $(MAKE) stage1-start; \
10307 fi; \
10308 cd $(HOST_SUBDIR)/gcc && \
10309 $(MAKE) $(EXTRA_HOST_FLAGS) \
10310 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10311 @endif gcc-bootstrap
10314 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10315 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10316 maybe-all-stage2-gcc:
10317 maybe-clean-stage2-gcc:
10318 @if gcc-bootstrap
10319 maybe-all-stage2-gcc: all-stage2-gcc
10320 all-stage2: all-stage2-gcc
10321 TARGET-stage2-gcc = $(TARGET-gcc)
10322 all-stage2-gcc: configure-stage2-gcc
10323 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10324 @r=`${PWD_COMMAND}`; export r; \
10325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10326 TFLAGS="$(STAGE2_TFLAGS)"; \
10327 $(HOST_EXPORTS) \
10328 $(POSTSTAGE1_HOST_EXPORTS) \
10329 cd $(HOST_SUBDIR)/gcc && \
10330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10331 CFLAGS="$(STAGE2_CFLAGS)" \
10332 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10333 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10337 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10338 TFLAGS="$(STAGE2_TFLAGS)" \
10339 $(TARGET-stage2-gcc)
10341 maybe-clean-stage2-gcc: clean-stage2-gcc
10342 clean-stage2: clean-stage2-gcc
10343 clean-stage2-gcc:
10344 @if [ $(current_stage) = stage2 ]; then \
10345 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10346 else \
10347 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10348 $(MAKE) stage2-start; \
10349 fi; \
10350 cd $(HOST_SUBDIR)/gcc && \
10351 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10352 @endif gcc-bootstrap
10355 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10356 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10357 maybe-all-stage3-gcc:
10358 maybe-clean-stage3-gcc:
10359 @if gcc-bootstrap
10360 maybe-all-stage3-gcc: all-stage3-gcc
10361 all-stage3: all-stage3-gcc
10362 TARGET-stage3-gcc = $(TARGET-gcc)
10363 all-stage3-gcc: configure-stage3-gcc
10364 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10365 @r=`${PWD_COMMAND}`; export r; \
10366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10367 TFLAGS="$(STAGE3_TFLAGS)"; \
10368 $(HOST_EXPORTS) \
10369 $(POSTSTAGE1_HOST_EXPORTS) \
10370 cd $(HOST_SUBDIR)/gcc && \
10371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10372 CFLAGS="$(STAGE3_CFLAGS)" \
10373 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10374 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10379 TFLAGS="$(STAGE3_TFLAGS)" \
10380 $(TARGET-stage3-gcc)
10382 maybe-clean-stage3-gcc: clean-stage3-gcc
10383 clean-stage3: clean-stage3-gcc
10384 clean-stage3-gcc:
10385 @if [ $(current_stage) = stage3 ]; then \
10386 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10387 else \
10388 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10389 $(MAKE) stage3-start; \
10390 fi; \
10391 cd $(HOST_SUBDIR)/gcc && \
10392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10393 @endif gcc-bootstrap
10396 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10397 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10398 maybe-all-stage4-gcc:
10399 maybe-clean-stage4-gcc:
10400 @if gcc-bootstrap
10401 maybe-all-stage4-gcc: all-stage4-gcc
10402 all-stage4: all-stage4-gcc
10403 TARGET-stage4-gcc = $(TARGET-gcc)
10404 all-stage4-gcc: configure-stage4-gcc
10405 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10406 @r=`${PWD_COMMAND}`; export r; \
10407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10408 TFLAGS="$(STAGE4_TFLAGS)"; \
10409 $(HOST_EXPORTS) \
10410 $(POSTSTAGE1_HOST_EXPORTS) \
10411 cd $(HOST_SUBDIR)/gcc && \
10412 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10413 CFLAGS="$(STAGE4_CFLAGS)" \
10414 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10415 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10416 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10417 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10418 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10419 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10420 TFLAGS="$(STAGE4_TFLAGS)" \
10421 $(TARGET-stage4-gcc)
10423 maybe-clean-stage4-gcc: clean-stage4-gcc
10424 clean-stage4: clean-stage4-gcc
10425 clean-stage4-gcc:
10426 @if [ $(current_stage) = stage4 ]; then \
10427 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10428 else \
10429 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10430 $(MAKE) stage4-start; \
10431 fi; \
10432 cd $(HOST_SUBDIR)/gcc && \
10433 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10434 @endif gcc-bootstrap
10437 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10438 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10439 maybe-all-stageprofile-gcc:
10440 maybe-clean-stageprofile-gcc:
10441 @if gcc-bootstrap
10442 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10443 all-stageprofile: all-stageprofile-gcc
10444 TARGET-stageprofile-gcc = $(TARGET-gcc)
10445 all-stageprofile-gcc: configure-stageprofile-gcc
10446 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10447 @r=`${PWD_COMMAND}`; export r; \
10448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10449 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10450 $(HOST_EXPORTS) \
10451 $(POSTSTAGE1_HOST_EXPORTS) \
10452 cd $(HOST_SUBDIR)/gcc && \
10453 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10454 CFLAGS="$(STAGEprofile_CFLAGS)" \
10455 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10456 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10461 TFLAGS="$(STAGEprofile_TFLAGS)" \
10462 $(TARGET-stageprofile-gcc)
10464 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10465 clean-stageprofile: clean-stageprofile-gcc
10466 clean-stageprofile-gcc:
10467 @if [ $(current_stage) = stageprofile ]; then \
10468 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10469 else \
10470 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10471 $(MAKE) stageprofile-start; \
10472 fi; \
10473 cd $(HOST_SUBDIR)/gcc && \
10474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10475 @endif gcc-bootstrap
10478 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10479 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10480 maybe-all-stagefeedback-gcc:
10481 maybe-clean-stagefeedback-gcc:
10482 @if gcc-bootstrap
10483 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10484 all-stagefeedback: all-stagefeedback-gcc
10485 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10486 all-stagefeedback-gcc: configure-stagefeedback-gcc
10487 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10488 @r=`${PWD_COMMAND}`; export r; \
10489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10490 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10491 $(HOST_EXPORTS) \
10492 $(POSTSTAGE1_HOST_EXPORTS) \
10493 cd $(HOST_SUBDIR)/gcc && \
10494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10495 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10496 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10497 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10498 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10501 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10502 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10503 $(TARGET-stagefeedback-gcc)
10505 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10506 clean-stagefeedback: clean-stagefeedback-gcc
10507 clean-stagefeedback-gcc:
10508 @if [ $(current_stage) = stagefeedback ]; then \
10509 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10510 else \
10511 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10512 $(MAKE) stagefeedback-start; \
10513 fi; \
10514 cd $(HOST_SUBDIR)/gcc && \
10515 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10516 @endif gcc-bootstrap
10522 .PHONY: check-gcc maybe-check-gcc
10523 maybe-check-gcc:
10524 @if gcc
10525 maybe-check-gcc: check-gcc
10527 check-gcc:
10528 @: $(MAKE); $(unstage)
10529 @r=`${PWD_COMMAND}`; export r; \
10530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10531 $(HOST_EXPORTS) \
10532 (cd $(HOST_SUBDIR)/gcc && \
10533 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10535 @endif gcc
10537 .PHONY: install-gcc maybe-install-gcc
10538 maybe-install-gcc:
10539 @if gcc
10540 maybe-install-gcc: install-gcc
10542 install-gcc: installdirs
10543 @: $(MAKE); $(unstage)
10544 @r=`${PWD_COMMAND}`; export r; \
10545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10546 $(HOST_EXPORTS) \
10547 (cd $(HOST_SUBDIR)/gcc && \
10548 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10550 @endif gcc
10552 .PHONY: install-strip-gcc maybe-install-strip-gcc
10553 maybe-install-strip-gcc:
10554 @if gcc
10555 maybe-install-strip-gcc: install-strip-gcc
10557 install-strip-gcc: installdirs
10558 @: $(MAKE); $(unstage)
10559 @r=`${PWD_COMMAND}`; export r; \
10560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10561 $(HOST_EXPORTS) \
10562 (cd $(HOST_SUBDIR)/gcc && \
10563 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10565 @endif gcc
10567 # Other targets (info, dvi, pdf, etc.)
10569 .PHONY: maybe-info-gcc info-gcc
10570 maybe-info-gcc:
10571 @if gcc
10572 maybe-info-gcc: info-gcc
10574 info-gcc: \
10575 configure-gcc
10576 @[ -f ./gcc/Makefile ] || exit 0; \
10577 r=`${PWD_COMMAND}`; export r; \
10578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10579 $(HOST_EXPORTS) \
10580 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10582 done; \
10583 echo "Doing info in gcc" ; \
10584 (cd $(HOST_SUBDIR)/gcc && \
10585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10587 "RANLIB=$${RANLIB}" \
10588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10589 info) \
10590 || exit 1
10592 @endif gcc
10594 .PHONY: maybe-dvi-gcc dvi-gcc
10595 maybe-dvi-gcc:
10596 @if gcc
10597 maybe-dvi-gcc: dvi-gcc
10599 dvi-gcc: \
10600 configure-gcc
10601 @[ -f ./gcc/Makefile ] || exit 0; \
10602 r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 $(HOST_EXPORTS) \
10605 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10607 done; \
10608 echo "Doing dvi in gcc" ; \
10609 (cd $(HOST_SUBDIR)/gcc && \
10610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10612 "RANLIB=$${RANLIB}" \
10613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10614 dvi) \
10615 || exit 1
10617 @endif gcc
10619 .PHONY: maybe-pdf-gcc pdf-gcc
10620 maybe-pdf-gcc:
10621 @if gcc
10622 maybe-pdf-gcc: pdf-gcc
10624 pdf-gcc: \
10625 configure-gcc
10626 @[ -f ./gcc/Makefile ] || exit 0; \
10627 r=`${PWD_COMMAND}`; export r; \
10628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10629 $(HOST_EXPORTS) \
10630 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10632 done; \
10633 echo "Doing pdf in gcc" ; \
10634 (cd $(HOST_SUBDIR)/gcc && \
10635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10637 "RANLIB=$${RANLIB}" \
10638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10639 pdf) \
10640 || exit 1
10642 @endif gcc
10644 .PHONY: maybe-html-gcc html-gcc
10645 maybe-html-gcc:
10646 @if gcc
10647 maybe-html-gcc: html-gcc
10649 html-gcc: \
10650 configure-gcc
10651 @[ -f ./gcc/Makefile ] || exit 0; \
10652 r=`${PWD_COMMAND}`; export r; \
10653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10654 $(HOST_EXPORTS) \
10655 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10657 done; \
10658 echo "Doing html in gcc" ; \
10659 (cd $(HOST_SUBDIR)/gcc && \
10660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10662 "RANLIB=$${RANLIB}" \
10663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10664 html) \
10665 || exit 1
10667 @endif gcc
10669 .PHONY: maybe-TAGS-gcc TAGS-gcc
10670 maybe-TAGS-gcc:
10671 @if gcc
10672 maybe-TAGS-gcc: TAGS-gcc
10674 TAGS-gcc: \
10675 configure-gcc
10676 @[ -f ./gcc/Makefile ] || exit 0; \
10677 r=`${PWD_COMMAND}`; export r; \
10678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10679 $(HOST_EXPORTS) \
10680 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10682 done; \
10683 echo "Doing TAGS in gcc" ; \
10684 (cd $(HOST_SUBDIR)/gcc && \
10685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10687 "RANLIB=$${RANLIB}" \
10688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10689 TAGS) \
10690 || exit 1
10692 @endif gcc
10694 .PHONY: maybe-install-info-gcc install-info-gcc
10695 maybe-install-info-gcc:
10696 @if gcc
10697 maybe-install-info-gcc: install-info-gcc
10699 install-info-gcc: \
10700 configure-gcc \
10701 info-gcc
10702 @[ -f ./gcc/Makefile ] || exit 0; \
10703 r=`${PWD_COMMAND}`; export r; \
10704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10705 $(HOST_EXPORTS) \
10706 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10708 done; \
10709 echo "Doing install-info in gcc" ; \
10710 (cd $(HOST_SUBDIR)/gcc && \
10711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10713 "RANLIB=$${RANLIB}" \
10714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10715 install-info) \
10716 || exit 1
10718 @endif gcc
10720 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10721 maybe-install-pdf-gcc:
10722 @if gcc
10723 maybe-install-pdf-gcc: install-pdf-gcc
10725 install-pdf-gcc: \
10726 configure-gcc \
10727 pdf-gcc
10728 @[ -f ./gcc/Makefile ] || exit 0; \
10729 r=`${PWD_COMMAND}`; export r; \
10730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10731 $(HOST_EXPORTS) \
10732 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10734 done; \
10735 echo "Doing install-pdf in gcc" ; \
10736 (cd $(HOST_SUBDIR)/gcc && \
10737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10739 "RANLIB=$${RANLIB}" \
10740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10741 install-pdf) \
10742 || exit 1
10744 @endif gcc
10746 .PHONY: maybe-install-html-gcc install-html-gcc
10747 maybe-install-html-gcc:
10748 @if gcc
10749 maybe-install-html-gcc: install-html-gcc
10751 install-html-gcc: \
10752 configure-gcc \
10753 html-gcc
10754 @[ -f ./gcc/Makefile ] || exit 0; \
10755 r=`${PWD_COMMAND}`; export r; \
10756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10757 $(HOST_EXPORTS) \
10758 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10760 done; \
10761 echo "Doing install-html in gcc" ; \
10762 (cd $(HOST_SUBDIR)/gcc && \
10763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10765 "RANLIB=$${RANLIB}" \
10766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10767 install-html) \
10768 || exit 1
10770 @endif gcc
10772 .PHONY: maybe-installcheck-gcc installcheck-gcc
10773 maybe-installcheck-gcc:
10774 @if gcc
10775 maybe-installcheck-gcc: installcheck-gcc
10777 installcheck-gcc: \
10778 configure-gcc
10779 @[ -f ./gcc/Makefile ] || exit 0; \
10780 r=`${PWD_COMMAND}`; export r; \
10781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10782 $(HOST_EXPORTS) \
10783 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10785 done; \
10786 echo "Doing installcheck in gcc" ; \
10787 (cd $(HOST_SUBDIR)/gcc && \
10788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10790 "RANLIB=$${RANLIB}" \
10791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10792 installcheck) \
10793 || exit 1
10795 @endif gcc
10797 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10798 maybe-mostlyclean-gcc:
10799 @if gcc
10800 maybe-mostlyclean-gcc: mostlyclean-gcc
10802 mostlyclean-gcc:
10803 @[ -f ./gcc/Makefile ] || exit 0; \
10804 r=`${PWD_COMMAND}`; export r; \
10805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10806 $(HOST_EXPORTS) \
10807 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10809 done; \
10810 echo "Doing mostlyclean in gcc" ; \
10811 (cd $(HOST_SUBDIR)/gcc && \
10812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10814 "RANLIB=$${RANLIB}" \
10815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10816 mostlyclean) \
10817 || exit 1
10819 @endif gcc
10821 .PHONY: maybe-clean-gcc clean-gcc
10822 maybe-clean-gcc:
10823 @if gcc
10824 maybe-clean-gcc: clean-gcc
10826 clean-gcc:
10827 @[ -f ./gcc/Makefile ] || exit 0; \
10828 r=`${PWD_COMMAND}`; export r; \
10829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10830 $(HOST_EXPORTS) \
10831 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10833 done; \
10834 echo "Doing clean in gcc" ; \
10835 (cd $(HOST_SUBDIR)/gcc && \
10836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10838 "RANLIB=$${RANLIB}" \
10839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10840 clean) \
10841 || exit 1
10843 @endif gcc
10845 .PHONY: maybe-distclean-gcc distclean-gcc
10846 maybe-distclean-gcc:
10847 @if gcc
10848 maybe-distclean-gcc: distclean-gcc
10850 distclean-gcc:
10851 @[ -f ./gcc/Makefile ] || exit 0; \
10852 r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 $(HOST_EXPORTS) \
10855 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10857 done; \
10858 echo "Doing distclean in gcc" ; \
10859 (cd $(HOST_SUBDIR)/gcc && \
10860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10862 "RANLIB=$${RANLIB}" \
10863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10864 distclean) \
10865 || exit 1
10867 @endif gcc
10869 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10870 maybe-maintainer-clean-gcc:
10871 @if gcc
10872 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10874 maintainer-clean-gcc:
10875 @[ -f ./gcc/Makefile ] || exit 0; \
10876 r=`${PWD_COMMAND}`; export r; \
10877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10878 $(HOST_EXPORTS) \
10879 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10881 done; \
10882 echo "Doing maintainer-clean in gcc" ; \
10883 (cd $(HOST_SUBDIR)/gcc && \
10884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10886 "RANLIB=$${RANLIB}" \
10887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10888 maintainer-clean) \
10889 || exit 1
10891 @endif gcc
10895 .PHONY: configure-gmp maybe-configure-gmp
10896 maybe-configure-gmp:
10897 @if gcc-bootstrap
10898 configure-gmp: stage_current
10899 @endif gcc-bootstrap
10900 @if gmp
10901 maybe-configure-gmp: configure-gmp
10902 configure-gmp:
10903 @r=`${PWD_COMMAND}`; export r; \
10904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10905 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10907 $(HOST_EXPORTS) \
10908 echo Configuring in $(HOST_SUBDIR)/gmp; \
10909 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10910 case $(srcdir) in \
10911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10912 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10914 esac; \
10915 module_srcdir=gmp; \
10916 $(SHELL) \
10917 $$s/$$module_srcdir/configure \
10918 --srcdir=$${topdir}/$$module_srcdir \
10919 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10920 --target=none-${host_vendor}-${host_os} --disable-shared \
10921 || exit 1
10922 @endif gmp
10926 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10927 maybe-configure-stage1-gmp:
10928 @if gmp-bootstrap
10929 maybe-configure-stage1-gmp: configure-stage1-gmp
10930 configure-stage1-gmp:
10931 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10933 @r=`${PWD_COMMAND}`; export r; \
10934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10935 TFLAGS="$(STAGE1_TFLAGS)"; \
10936 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10937 $(HOST_EXPORTS) \
10938 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10939 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10940 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10941 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10943 cd $(HOST_SUBDIR)/gmp || exit 1; \
10944 case $(srcdir) in \
10945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10946 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10948 esac; \
10949 module_srcdir=gmp; \
10950 $(SHELL) $$s/$$module_srcdir/configure \
10951 --srcdir=$${topdir}/$$module_srcdir \
10952 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10953 --target=none-${host_vendor}-${host_os} \
10955 $(STAGE1_CONFIGURE_FLAGS) \
10956 --disable-shared
10957 @endif gmp-bootstrap
10959 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10960 maybe-configure-stage2-gmp:
10961 @if gmp-bootstrap
10962 maybe-configure-stage2-gmp: configure-stage2-gmp
10963 configure-stage2-gmp:
10964 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10966 @r=`${PWD_COMMAND}`; export r; \
10967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10968 TFLAGS="$(STAGE2_TFLAGS)"; \
10969 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10970 $(HOST_EXPORTS) \
10971 $(POSTSTAGE1_HOST_EXPORTS) \
10972 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10973 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10974 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10975 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10977 cd $(HOST_SUBDIR)/gmp || exit 1; \
10978 case $(srcdir) in \
10979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10980 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10982 esac; \
10983 module_srcdir=gmp; \
10984 $(SHELL) $$s/$$module_srcdir/configure \
10985 --srcdir=$${topdir}/$$module_srcdir \
10986 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10987 --target=none-${host_vendor}-${host_os} \
10988 --with-build-libsubdir=$(HOST_SUBDIR) \
10989 $(STAGE2_CONFIGURE_FLAGS) \
10990 --disable-shared
10991 @endif gmp-bootstrap
10993 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10994 maybe-configure-stage3-gmp:
10995 @if gmp-bootstrap
10996 maybe-configure-stage3-gmp: configure-stage3-gmp
10997 configure-stage3-gmp:
10998 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11000 @r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11002 TFLAGS="$(STAGE3_TFLAGS)"; \
11003 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11004 $(HOST_EXPORTS) \
11005 $(POSTSTAGE1_HOST_EXPORTS) \
11006 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11007 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11008 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11009 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
11010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11011 cd $(HOST_SUBDIR)/gmp || exit 1; \
11012 case $(srcdir) in \
11013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11014 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11016 esac; \
11017 module_srcdir=gmp; \
11018 $(SHELL) $$s/$$module_srcdir/configure \
11019 --srcdir=$${topdir}/$$module_srcdir \
11020 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11021 --target=none-${host_vendor}-${host_os} \
11022 --with-build-libsubdir=$(HOST_SUBDIR) \
11023 $(STAGE3_CONFIGURE_FLAGS) \
11024 --disable-shared
11025 @endif gmp-bootstrap
11027 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11028 maybe-configure-stage4-gmp:
11029 @if gmp-bootstrap
11030 maybe-configure-stage4-gmp: configure-stage4-gmp
11031 configure-stage4-gmp:
11032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11034 @r=`${PWD_COMMAND}`; export r; \
11035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11036 TFLAGS="$(STAGE4_TFLAGS)"; \
11037 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11038 $(HOST_EXPORTS) \
11039 $(POSTSTAGE1_HOST_EXPORTS) \
11040 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11041 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11042 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11043 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11045 cd $(HOST_SUBDIR)/gmp || exit 1; \
11046 case $(srcdir) in \
11047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11048 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11050 esac; \
11051 module_srcdir=gmp; \
11052 $(SHELL) $$s/$$module_srcdir/configure \
11053 --srcdir=$${topdir}/$$module_srcdir \
11054 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11055 --target=none-${host_vendor}-${host_os} \
11056 --with-build-libsubdir=$(HOST_SUBDIR) \
11057 $(STAGE4_CONFIGURE_FLAGS) \
11058 --disable-shared
11059 @endif gmp-bootstrap
11061 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11062 maybe-configure-stageprofile-gmp:
11063 @if gmp-bootstrap
11064 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11065 configure-stageprofile-gmp:
11066 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11068 @r=`${PWD_COMMAND}`; export r; \
11069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11070 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11071 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11072 $(HOST_EXPORTS) \
11073 $(POSTSTAGE1_HOST_EXPORTS) \
11074 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11075 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11076 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11077 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11079 cd $(HOST_SUBDIR)/gmp || exit 1; \
11080 case $(srcdir) in \
11081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11082 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11084 esac; \
11085 module_srcdir=gmp; \
11086 $(SHELL) $$s/$$module_srcdir/configure \
11087 --srcdir=$${topdir}/$$module_srcdir \
11088 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11089 --target=none-${host_vendor}-${host_os} \
11090 --with-build-libsubdir=$(HOST_SUBDIR) \
11091 $(STAGEprofile_CONFIGURE_FLAGS) \
11092 --disable-shared
11093 @endif gmp-bootstrap
11095 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11096 maybe-configure-stagefeedback-gmp:
11097 @if gmp-bootstrap
11098 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11099 configure-stagefeedback-gmp:
11100 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11102 @r=`${PWD_COMMAND}`; export r; \
11103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11104 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11105 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11106 $(HOST_EXPORTS) \
11107 $(POSTSTAGE1_HOST_EXPORTS) \
11108 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11109 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11110 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11111 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11113 cd $(HOST_SUBDIR)/gmp || exit 1; \
11114 case $(srcdir) in \
11115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11116 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11118 esac; \
11119 module_srcdir=gmp; \
11120 $(SHELL) $$s/$$module_srcdir/configure \
11121 --srcdir=$${topdir}/$$module_srcdir \
11122 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11123 --target=none-${host_vendor}-${host_os} \
11124 --with-build-libsubdir=$(HOST_SUBDIR) \
11125 $(STAGEfeedback_CONFIGURE_FLAGS) \
11126 --disable-shared
11127 @endif gmp-bootstrap
11133 .PHONY: all-gmp maybe-all-gmp
11134 maybe-all-gmp:
11135 @if gcc-bootstrap
11136 all-gmp: stage_current
11137 @endif gcc-bootstrap
11138 @if gmp
11139 TARGET-gmp=all
11140 maybe-all-gmp: all-gmp
11141 all-gmp: configure-gmp
11142 @r=`${PWD_COMMAND}`; export r; \
11143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11144 $(HOST_EXPORTS) \
11145 (cd $(HOST_SUBDIR)/gmp && \
11146 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11147 $(TARGET-gmp))
11148 @endif gmp
11152 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11153 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11154 maybe-all-stage1-gmp:
11155 maybe-clean-stage1-gmp:
11156 @if gmp-bootstrap
11157 maybe-all-stage1-gmp: all-stage1-gmp
11158 all-stage1: all-stage1-gmp
11159 TARGET-stage1-gmp = $(TARGET-gmp)
11160 all-stage1-gmp: configure-stage1-gmp
11161 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11162 @r=`${PWD_COMMAND}`; export r; \
11163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11164 TFLAGS="$(STAGE1_TFLAGS)"; \
11165 $(HOST_EXPORTS) \
11166 cd $(HOST_SUBDIR)/gmp && \
11167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11168 CFLAGS="$(STAGE1_CFLAGS)" \
11169 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11170 LIBCFLAGS="$(LIBCFLAGS)" \
11171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11174 $(EXTRA_HOST_FLAGS) \
11175 $(STAGE1_FLAGS_TO_PASS) \
11176 TFLAGS="$(STAGE1_TFLAGS)" \
11177 $(TARGET-stage1-gmp)
11179 maybe-clean-stage1-gmp: clean-stage1-gmp
11180 clean-stage1: clean-stage1-gmp
11181 clean-stage1-gmp:
11182 @if [ $(current_stage) = stage1 ]; then \
11183 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11184 else \
11185 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11186 $(MAKE) stage1-start; \
11187 fi; \
11188 cd $(HOST_SUBDIR)/gmp && \
11189 $(MAKE) $(EXTRA_HOST_FLAGS) \
11190 $(STAGE1_FLAGS_TO_PASS) clean
11191 @endif gmp-bootstrap
11194 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11195 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11196 maybe-all-stage2-gmp:
11197 maybe-clean-stage2-gmp:
11198 @if gmp-bootstrap
11199 maybe-all-stage2-gmp: all-stage2-gmp
11200 all-stage2: all-stage2-gmp
11201 TARGET-stage2-gmp = $(TARGET-gmp)
11202 all-stage2-gmp: configure-stage2-gmp
11203 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11204 @r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206 TFLAGS="$(STAGE2_TFLAGS)"; \
11207 $(HOST_EXPORTS) \
11208 $(POSTSTAGE1_HOST_EXPORTS) \
11209 cd $(HOST_SUBDIR)/gmp && \
11210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11211 CFLAGS="$(STAGE2_CFLAGS)" \
11212 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11213 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11217 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11218 TFLAGS="$(STAGE2_TFLAGS)" \
11219 $(TARGET-stage2-gmp)
11221 maybe-clean-stage2-gmp: clean-stage2-gmp
11222 clean-stage2: clean-stage2-gmp
11223 clean-stage2-gmp:
11224 @if [ $(current_stage) = stage2 ]; then \
11225 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11226 else \
11227 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11228 $(MAKE) stage2-start; \
11229 fi; \
11230 cd $(HOST_SUBDIR)/gmp && \
11231 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11232 @endif gmp-bootstrap
11235 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11236 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11237 maybe-all-stage3-gmp:
11238 maybe-clean-stage3-gmp:
11239 @if gmp-bootstrap
11240 maybe-all-stage3-gmp: all-stage3-gmp
11241 all-stage3: all-stage3-gmp
11242 TARGET-stage3-gmp = $(TARGET-gmp)
11243 all-stage3-gmp: configure-stage3-gmp
11244 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11245 @r=`${PWD_COMMAND}`; export r; \
11246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11247 TFLAGS="$(STAGE3_TFLAGS)"; \
11248 $(HOST_EXPORTS) \
11249 $(POSTSTAGE1_HOST_EXPORTS) \
11250 cd $(HOST_SUBDIR)/gmp && \
11251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11252 CFLAGS="$(STAGE3_CFLAGS)" \
11253 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11254 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11255 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11256 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11257 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11258 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11259 TFLAGS="$(STAGE3_TFLAGS)" \
11260 $(TARGET-stage3-gmp)
11262 maybe-clean-stage3-gmp: clean-stage3-gmp
11263 clean-stage3: clean-stage3-gmp
11264 clean-stage3-gmp:
11265 @if [ $(current_stage) = stage3 ]; then \
11266 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11267 else \
11268 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11269 $(MAKE) stage3-start; \
11270 fi; \
11271 cd $(HOST_SUBDIR)/gmp && \
11272 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11273 @endif gmp-bootstrap
11276 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11277 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11278 maybe-all-stage4-gmp:
11279 maybe-clean-stage4-gmp:
11280 @if gmp-bootstrap
11281 maybe-all-stage4-gmp: all-stage4-gmp
11282 all-stage4: all-stage4-gmp
11283 TARGET-stage4-gmp = $(TARGET-gmp)
11284 all-stage4-gmp: configure-stage4-gmp
11285 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11286 @r=`${PWD_COMMAND}`; export r; \
11287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11288 TFLAGS="$(STAGE4_TFLAGS)"; \
11289 $(HOST_EXPORTS) \
11290 $(POSTSTAGE1_HOST_EXPORTS) \
11291 cd $(HOST_SUBDIR)/gmp && \
11292 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11293 CFLAGS="$(STAGE4_CFLAGS)" \
11294 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11295 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11296 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11297 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11298 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11299 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11300 TFLAGS="$(STAGE4_TFLAGS)" \
11301 $(TARGET-stage4-gmp)
11303 maybe-clean-stage4-gmp: clean-stage4-gmp
11304 clean-stage4: clean-stage4-gmp
11305 clean-stage4-gmp:
11306 @if [ $(current_stage) = stage4 ]; then \
11307 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11308 else \
11309 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11310 $(MAKE) stage4-start; \
11311 fi; \
11312 cd $(HOST_SUBDIR)/gmp && \
11313 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11314 @endif gmp-bootstrap
11317 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11318 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11319 maybe-all-stageprofile-gmp:
11320 maybe-clean-stageprofile-gmp:
11321 @if gmp-bootstrap
11322 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11323 all-stageprofile: all-stageprofile-gmp
11324 TARGET-stageprofile-gmp = $(TARGET-gmp)
11325 all-stageprofile-gmp: configure-stageprofile-gmp
11326 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11327 @r=`${PWD_COMMAND}`; export r; \
11328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11330 $(HOST_EXPORTS) \
11331 $(POSTSTAGE1_HOST_EXPORTS) \
11332 cd $(HOST_SUBDIR)/gmp && \
11333 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11334 CFLAGS="$(STAGEprofile_CFLAGS)" \
11335 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11336 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11337 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11338 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11339 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11340 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11341 TFLAGS="$(STAGEprofile_TFLAGS)" \
11342 $(TARGET-stageprofile-gmp)
11344 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11345 clean-stageprofile: clean-stageprofile-gmp
11346 clean-stageprofile-gmp:
11347 @if [ $(current_stage) = stageprofile ]; then \
11348 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11349 else \
11350 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11351 $(MAKE) stageprofile-start; \
11352 fi; \
11353 cd $(HOST_SUBDIR)/gmp && \
11354 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11355 @endif gmp-bootstrap
11358 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11359 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11360 maybe-all-stagefeedback-gmp:
11361 maybe-clean-stagefeedback-gmp:
11362 @if gmp-bootstrap
11363 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11364 all-stagefeedback: all-stagefeedback-gmp
11365 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11366 all-stagefeedback-gmp: configure-stagefeedback-gmp
11367 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11368 @r=`${PWD_COMMAND}`; export r; \
11369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11370 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11371 $(HOST_EXPORTS) \
11372 $(POSTSTAGE1_HOST_EXPORTS) \
11373 cd $(HOST_SUBDIR)/gmp && \
11374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11375 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11376 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11377 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11378 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11379 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11380 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11381 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11382 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11383 $(TARGET-stagefeedback-gmp)
11385 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11386 clean-stagefeedback: clean-stagefeedback-gmp
11387 clean-stagefeedback-gmp:
11388 @if [ $(current_stage) = stagefeedback ]; then \
11389 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11390 else \
11391 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11392 $(MAKE) stagefeedback-start; \
11393 fi; \
11394 cd $(HOST_SUBDIR)/gmp && \
11395 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11396 @endif gmp-bootstrap
11402 .PHONY: check-gmp maybe-check-gmp
11403 maybe-check-gmp:
11404 @if gmp
11405 maybe-check-gmp: check-gmp
11407 check-gmp:
11408 @: $(MAKE); $(unstage)
11409 @r=`${PWD_COMMAND}`; export r; \
11410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11411 $(HOST_EXPORTS) \
11412 (cd $(HOST_SUBDIR)/gmp && \
11413 $(MAKE) $(FLAGS_TO_PASS) check)
11415 @endif gmp
11417 .PHONY: install-gmp maybe-install-gmp
11418 maybe-install-gmp:
11419 @if gmp
11420 maybe-install-gmp: install-gmp
11422 install-gmp:
11424 @endif gmp
11426 .PHONY: install-strip-gmp maybe-install-strip-gmp
11427 maybe-install-strip-gmp:
11428 @if gmp
11429 maybe-install-strip-gmp: install-strip-gmp
11431 install-strip-gmp:
11433 @endif gmp
11435 # Other targets (info, dvi, pdf, etc.)
11437 .PHONY: maybe-info-gmp info-gmp
11438 maybe-info-gmp:
11439 @if gmp
11440 maybe-info-gmp: info-gmp
11442 info-gmp: \
11443 configure-gmp
11444 @[ -f ./gmp/Makefile ] || exit 0; \
11445 r=`${PWD_COMMAND}`; export r; \
11446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11447 $(HOST_EXPORTS) \
11448 for flag in $(EXTRA_HOST_FLAGS) ; do \
11449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11450 done; \
11451 echo "Doing info in gmp" ; \
11452 (cd $(HOST_SUBDIR)/gmp && \
11453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11455 "RANLIB=$${RANLIB}" \
11456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11457 info) \
11458 || exit 1
11460 @endif gmp
11462 .PHONY: maybe-dvi-gmp dvi-gmp
11463 maybe-dvi-gmp:
11464 @if gmp
11465 maybe-dvi-gmp: dvi-gmp
11467 dvi-gmp: \
11468 configure-gmp
11469 @[ -f ./gmp/Makefile ] || exit 0; \
11470 r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472 $(HOST_EXPORTS) \
11473 for flag in $(EXTRA_HOST_FLAGS) ; do \
11474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11475 done; \
11476 echo "Doing dvi in gmp" ; \
11477 (cd $(HOST_SUBDIR)/gmp && \
11478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11480 "RANLIB=$${RANLIB}" \
11481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11482 dvi) \
11483 || exit 1
11485 @endif gmp
11487 .PHONY: maybe-pdf-gmp pdf-gmp
11488 maybe-pdf-gmp:
11489 @if gmp
11490 maybe-pdf-gmp: pdf-gmp
11492 pdf-gmp: \
11493 configure-gmp
11494 @[ -f ./gmp/Makefile ] || exit 0; \
11495 r=`${PWD_COMMAND}`; export r; \
11496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11497 $(HOST_EXPORTS) \
11498 for flag in $(EXTRA_HOST_FLAGS) ; do \
11499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11500 done; \
11501 echo "Doing pdf in gmp" ; \
11502 (cd $(HOST_SUBDIR)/gmp && \
11503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11505 "RANLIB=$${RANLIB}" \
11506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11507 pdf) \
11508 || exit 1
11510 @endif gmp
11512 .PHONY: maybe-html-gmp html-gmp
11513 maybe-html-gmp:
11514 @if gmp
11515 maybe-html-gmp: html-gmp
11517 html-gmp: \
11518 configure-gmp
11519 @[ -f ./gmp/Makefile ] || exit 0; \
11520 r=`${PWD_COMMAND}`; export r; \
11521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 $(HOST_EXPORTS) \
11523 for flag in $(EXTRA_HOST_FLAGS) ; do \
11524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11525 done; \
11526 echo "Doing html in gmp" ; \
11527 (cd $(HOST_SUBDIR)/gmp && \
11528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11530 "RANLIB=$${RANLIB}" \
11531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11532 html) \
11533 || exit 1
11535 @endif gmp
11537 .PHONY: maybe-TAGS-gmp TAGS-gmp
11538 maybe-TAGS-gmp:
11539 @if gmp
11540 maybe-TAGS-gmp: TAGS-gmp
11542 TAGS-gmp: \
11543 configure-gmp
11544 @[ -f ./gmp/Makefile ] || exit 0; \
11545 r=`${PWD_COMMAND}`; export r; \
11546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11547 $(HOST_EXPORTS) \
11548 for flag in $(EXTRA_HOST_FLAGS) ; do \
11549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11550 done; \
11551 echo "Doing TAGS in gmp" ; \
11552 (cd $(HOST_SUBDIR)/gmp && \
11553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11555 "RANLIB=$${RANLIB}" \
11556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11557 TAGS) \
11558 || exit 1
11560 @endif gmp
11562 .PHONY: maybe-install-info-gmp install-info-gmp
11563 maybe-install-info-gmp:
11564 @if gmp
11565 maybe-install-info-gmp: install-info-gmp
11567 install-info-gmp: \
11568 configure-gmp \
11569 info-gmp
11570 @[ -f ./gmp/Makefile ] || exit 0; \
11571 r=`${PWD_COMMAND}`; export r; \
11572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11573 $(HOST_EXPORTS) \
11574 for flag in $(EXTRA_HOST_FLAGS) ; do \
11575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11576 done; \
11577 echo "Doing install-info in gmp" ; \
11578 (cd $(HOST_SUBDIR)/gmp && \
11579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11581 "RANLIB=$${RANLIB}" \
11582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11583 install-info) \
11584 || exit 1
11586 @endif gmp
11588 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11589 maybe-install-pdf-gmp:
11590 @if gmp
11591 maybe-install-pdf-gmp: install-pdf-gmp
11593 install-pdf-gmp: \
11594 configure-gmp \
11595 pdf-gmp
11596 @[ -f ./gmp/Makefile ] || exit 0; \
11597 r=`${PWD_COMMAND}`; export r; \
11598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11599 $(HOST_EXPORTS) \
11600 for flag in $(EXTRA_HOST_FLAGS) ; do \
11601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11602 done; \
11603 echo "Doing install-pdf in gmp" ; \
11604 (cd $(HOST_SUBDIR)/gmp && \
11605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11607 "RANLIB=$${RANLIB}" \
11608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11609 install-pdf) \
11610 || exit 1
11612 @endif gmp
11614 .PHONY: maybe-install-html-gmp install-html-gmp
11615 maybe-install-html-gmp:
11616 @if gmp
11617 maybe-install-html-gmp: install-html-gmp
11619 install-html-gmp: \
11620 configure-gmp \
11621 html-gmp
11622 @[ -f ./gmp/Makefile ] || exit 0; \
11623 r=`${PWD_COMMAND}`; export r; \
11624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11625 $(HOST_EXPORTS) \
11626 for flag in $(EXTRA_HOST_FLAGS) ; do \
11627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11628 done; \
11629 echo "Doing install-html in gmp" ; \
11630 (cd $(HOST_SUBDIR)/gmp && \
11631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11633 "RANLIB=$${RANLIB}" \
11634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11635 install-html) \
11636 || exit 1
11638 @endif gmp
11640 .PHONY: maybe-installcheck-gmp installcheck-gmp
11641 maybe-installcheck-gmp:
11642 @if gmp
11643 maybe-installcheck-gmp: installcheck-gmp
11645 installcheck-gmp: \
11646 configure-gmp
11647 @[ -f ./gmp/Makefile ] || exit 0; \
11648 r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650 $(HOST_EXPORTS) \
11651 for flag in $(EXTRA_HOST_FLAGS) ; do \
11652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11653 done; \
11654 echo "Doing installcheck in gmp" ; \
11655 (cd $(HOST_SUBDIR)/gmp && \
11656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11658 "RANLIB=$${RANLIB}" \
11659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11660 installcheck) \
11661 || exit 1
11663 @endif gmp
11665 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11666 maybe-mostlyclean-gmp:
11667 @if gmp
11668 maybe-mostlyclean-gmp: mostlyclean-gmp
11670 mostlyclean-gmp:
11671 @[ -f ./gmp/Makefile ] || exit 0; \
11672 r=`${PWD_COMMAND}`; export r; \
11673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11674 $(HOST_EXPORTS) \
11675 for flag in $(EXTRA_HOST_FLAGS) ; do \
11676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11677 done; \
11678 echo "Doing mostlyclean in gmp" ; \
11679 (cd $(HOST_SUBDIR)/gmp && \
11680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11682 "RANLIB=$${RANLIB}" \
11683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11684 mostlyclean) \
11685 || exit 1
11687 @endif gmp
11689 .PHONY: maybe-clean-gmp clean-gmp
11690 maybe-clean-gmp:
11691 @if gmp
11692 maybe-clean-gmp: clean-gmp
11694 clean-gmp:
11695 @[ -f ./gmp/Makefile ] || exit 0; \
11696 r=`${PWD_COMMAND}`; export r; \
11697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11698 $(HOST_EXPORTS) \
11699 for flag in $(EXTRA_HOST_FLAGS) ; do \
11700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11701 done; \
11702 echo "Doing clean in gmp" ; \
11703 (cd $(HOST_SUBDIR)/gmp && \
11704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11706 "RANLIB=$${RANLIB}" \
11707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11708 clean) \
11709 || exit 1
11711 @endif gmp
11713 .PHONY: maybe-distclean-gmp distclean-gmp
11714 maybe-distclean-gmp:
11715 @if gmp
11716 maybe-distclean-gmp: distclean-gmp
11718 distclean-gmp:
11719 @[ -f ./gmp/Makefile ] || exit 0; \
11720 r=`${PWD_COMMAND}`; export r; \
11721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11722 $(HOST_EXPORTS) \
11723 for flag in $(EXTRA_HOST_FLAGS) ; do \
11724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11725 done; \
11726 echo "Doing distclean in gmp" ; \
11727 (cd $(HOST_SUBDIR)/gmp && \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730 "RANLIB=$${RANLIB}" \
11731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11732 distclean) \
11733 || exit 1
11735 @endif gmp
11737 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11738 maybe-maintainer-clean-gmp:
11739 @if gmp
11740 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11742 maintainer-clean-gmp:
11743 @[ -f ./gmp/Makefile ] || exit 0; \
11744 r=`${PWD_COMMAND}`; export r; \
11745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11746 $(HOST_EXPORTS) \
11747 for flag in $(EXTRA_HOST_FLAGS) ; do \
11748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11749 done; \
11750 echo "Doing maintainer-clean in gmp" ; \
11751 (cd $(HOST_SUBDIR)/gmp && \
11752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11754 "RANLIB=$${RANLIB}" \
11755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11756 maintainer-clean) \
11757 || exit 1
11759 @endif gmp
11763 .PHONY: configure-mpfr maybe-configure-mpfr
11764 maybe-configure-mpfr:
11765 @if gcc-bootstrap
11766 configure-mpfr: stage_current
11767 @endif gcc-bootstrap
11768 @if mpfr
11769 maybe-configure-mpfr: configure-mpfr
11770 configure-mpfr:
11771 @r=`${PWD_COMMAND}`; export r; \
11772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11773 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11775 $(HOST_EXPORTS) \
11776 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11777 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11778 case $(srcdir) in \
11779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11780 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11782 esac; \
11783 module_srcdir=mpfr; \
11784 $(SHELL) \
11785 $$s/$$module_srcdir/configure \
11786 --srcdir=$${topdir}/$$module_srcdir \
11787 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11788 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11789 || exit 1
11790 @endif mpfr
11794 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11795 maybe-configure-stage1-mpfr:
11796 @if mpfr-bootstrap
11797 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11798 configure-stage1-mpfr:
11799 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11800 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11801 @r=`${PWD_COMMAND}`; export r; \
11802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11803 TFLAGS="$(STAGE1_TFLAGS)"; \
11804 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11805 $(HOST_EXPORTS) \
11806 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11807 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11808 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11809 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11811 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11812 case $(srcdir) in \
11813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11814 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11816 esac; \
11817 module_srcdir=mpfr; \
11818 $(SHELL) $$s/$$module_srcdir/configure \
11819 --srcdir=$${topdir}/$$module_srcdir \
11820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11821 --target=${target_alias} \
11823 $(STAGE1_CONFIGURE_FLAGS) \
11824 --disable-shared @extra_mpfr_configure_flags@
11825 @endif mpfr-bootstrap
11827 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11828 maybe-configure-stage2-mpfr:
11829 @if mpfr-bootstrap
11830 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11831 configure-stage2-mpfr:
11832 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11833 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11834 @r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11836 TFLAGS="$(STAGE2_TFLAGS)"; \
11837 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11838 $(HOST_EXPORTS) \
11839 $(POSTSTAGE1_HOST_EXPORTS) \
11840 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11841 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11842 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11843 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11845 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11846 case $(srcdir) in \
11847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11848 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11850 esac; \
11851 module_srcdir=mpfr; \
11852 $(SHELL) $$s/$$module_srcdir/configure \
11853 --srcdir=$${topdir}/$$module_srcdir \
11854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11855 --target=${target_alias} \
11856 --with-build-libsubdir=$(HOST_SUBDIR) \
11857 $(STAGE2_CONFIGURE_FLAGS) \
11858 --disable-shared @extra_mpfr_configure_flags@
11859 @endif mpfr-bootstrap
11861 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11862 maybe-configure-stage3-mpfr:
11863 @if mpfr-bootstrap
11864 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11865 configure-stage3-mpfr:
11866 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11867 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11868 @r=`${PWD_COMMAND}`; export r; \
11869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11870 TFLAGS="$(STAGE3_TFLAGS)"; \
11871 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11872 $(HOST_EXPORTS) \
11873 $(POSTSTAGE1_HOST_EXPORTS) \
11874 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11875 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11876 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11877 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11879 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11880 case $(srcdir) in \
11881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11882 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11884 esac; \
11885 module_srcdir=mpfr; \
11886 $(SHELL) $$s/$$module_srcdir/configure \
11887 --srcdir=$${topdir}/$$module_srcdir \
11888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11889 --target=${target_alias} \
11890 --with-build-libsubdir=$(HOST_SUBDIR) \
11891 $(STAGE3_CONFIGURE_FLAGS) \
11892 --disable-shared @extra_mpfr_configure_flags@
11893 @endif mpfr-bootstrap
11895 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11896 maybe-configure-stage4-mpfr:
11897 @if mpfr-bootstrap
11898 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11899 configure-stage4-mpfr:
11900 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11901 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11902 @r=`${PWD_COMMAND}`; export r; \
11903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11904 TFLAGS="$(STAGE4_TFLAGS)"; \
11905 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11906 $(HOST_EXPORTS) \
11907 $(POSTSTAGE1_HOST_EXPORTS) \
11908 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11909 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11910 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11911 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11913 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11914 case $(srcdir) in \
11915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11916 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11918 esac; \
11919 module_srcdir=mpfr; \
11920 $(SHELL) $$s/$$module_srcdir/configure \
11921 --srcdir=$${topdir}/$$module_srcdir \
11922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11923 --target=${target_alias} \
11924 --with-build-libsubdir=$(HOST_SUBDIR) \
11925 $(STAGE4_CONFIGURE_FLAGS) \
11926 --disable-shared @extra_mpfr_configure_flags@
11927 @endif mpfr-bootstrap
11929 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11930 maybe-configure-stageprofile-mpfr:
11931 @if mpfr-bootstrap
11932 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11933 configure-stageprofile-mpfr:
11934 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11936 @r=`${PWD_COMMAND}`; export r; \
11937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11938 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11939 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11940 $(HOST_EXPORTS) \
11941 $(POSTSTAGE1_HOST_EXPORTS) \
11942 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11943 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11944 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11945 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11947 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11948 case $(srcdir) in \
11949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11950 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11952 esac; \
11953 module_srcdir=mpfr; \
11954 $(SHELL) $$s/$$module_srcdir/configure \
11955 --srcdir=$${topdir}/$$module_srcdir \
11956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11957 --target=${target_alias} \
11958 --with-build-libsubdir=$(HOST_SUBDIR) \
11959 $(STAGEprofile_CONFIGURE_FLAGS) \
11960 --disable-shared @extra_mpfr_configure_flags@
11961 @endif mpfr-bootstrap
11963 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11964 maybe-configure-stagefeedback-mpfr:
11965 @if mpfr-bootstrap
11966 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11967 configure-stagefeedback-mpfr:
11968 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11970 @r=`${PWD_COMMAND}`; export r; \
11971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11972 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11973 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11974 $(HOST_EXPORTS) \
11975 $(POSTSTAGE1_HOST_EXPORTS) \
11976 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11977 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11978 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11979 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11981 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11982 case $(srcdir) in \
11983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11984 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11986 esac; \
11987 module_srcdir=mpfr; \
11988 $(SHELL) $$s/$$module_srcdir/configure \
11989 --srcdir=$${topdir}/$$module_srcdir \
11990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11991 --target=${target_alias} \
11992 --with-build-libsubdir=$(HOST_SUBDIR) \
11993 $(STAGEfeedback_CONFIGURE_FLAGS) \
11994 --disable-shared @extra_mpfr_configure_flags@
11995 @endif mpfr-bootstrap
12001 .PHONY: all-mpfr maybe-all-mpfr
12002 maybe-all-mpfr:
12003 @if gcc-bootstrap
12004 all-mpfr: stage_current
12005 @endif gcc-bootstrap
12006 @if mpfr
12007 TARGET-mpfr=all
12008 maybe-all-mpfr: all-mpfr
12009 all-mpfr: configure-mpfr
12010 @r=`${PWD_COMMAND}`; export r; \
12011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12012 $(HOST_EXPORTS) \
12013 (cd $(HOST_SUBDIR)/mpfr && \
12014 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12015 $(TARGET-mpfr))
12016 @endif mpfr
12020 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12021 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12022 maybe-all-stage1-mpfr:
12023 maybe-clean-stage1-mpfr:
12024 @if mpfr-bootstrap
12025 maybe-all-stage1-mpfr: all-stage1-mpfr
12026 all-stage1: all-stage1-mpfr
12027 TARGET-stage1-mpfr = $(TARGET-mpfr)
12028 all-stage1-mpfr: configure-stage1-mpfr
12029 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12030 @r=`${PWD_COMMAND}`; export r; \
12031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12032 TFLAGS="$(STAGE1_TFLAGS)"; \
12033 $(HOST_EXPORTS) \
12034 cd $(HOST_SUBDIR)/mpfr && \
12035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12036 CFLAGS="$(STAGE1_CFLAGS)" \
12037 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12038 LIBCFLAGS="$(LIBCFLAGS)" \
12039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12042 $(EXTRA_HOST_FLAGS) \
12043 $(STAGE1_FLAGS_TO_PASS) \
12044 TFLAGS="$(STAGE1_TFLAGS)" \
12045 $(TARGET-stage1-mpfr)
12047 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12048 clean-stage1: clean-stage1-mpfr
12049 clean-stage1-mpfr:
12050 @if [ $(current_stage) = stage1 ]; then \
12051 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12052 else \
12053 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12054 $(MAKE) stage1-start; \
12055 fi; \
12056 cd $(HOST_SUBDIR)/mpfr && \
12057 $(MAKE) $(EXTRA_HOST_FLAGS) \
12058 $(STAGE1_FLAGS_TO_PASS) clean
12059 @endif mpfr-bootstrap
12062 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12063 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12064 maybe-all-stage2-mpfr:
12065 maybe-clean-stage2-mpfr:
12066 @if mpfr-bootstrap
12067 maybe-all-stage2-mpfr: all-stage2-mpfr
12068 all-stage2: all-stage2-mpfr
12069 TARGET-stage2-mpfr = $(TARGET-mpfr)
12070 all-stage2-mpfr: configure-stage2-mpfr
12071 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12072 @r=`${PWD_COMMAND}`; export r; \
12073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12074 TFLAGS="$(STAGE2_TFLAGS)"; \
12075 $(HOST_EXPORTS) \
12076 $(POSTSTAGE1_HOST_EXPORTS) \
12077 cd $(HOST_SUBDIR)/mpfr && \
12078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12079 CFLAGS="$(STAGE2_CFLAGS)" \
12080 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12081 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12085 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12086 TFLAGS="$(STAGE2_TFLAGS)" \
12087 $(TARGET-stage2-mpfr)
12089 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12090 clean-stage2: clean-stage2-mpfr
12091 clean-stage2-mpfr:
12092 @if [ $(current_stage) = stage2 ]; then \
12093 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12094 else \
12095 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12096 $(MAKE) stage2-start; \
12097 fi; \
12098 cd $(HOST_SUBDIR)/mpfr && \
12099 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12100 @endif mpfr-bootstrap
12103 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12104 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12105 maybe-all-stage3-mpfr:
12106 maybe-clean-stage3-mpfr:
12107 @if mpfr-bootstrap
12108 maybe-all-stage3-mpfr: all-stage3-mpfr
12109 all-stage3: all-stage3-mpfr
12110 TARGET-stage3-mpfr = $(TARGET-mpfr)
12111 all-stage3-mpfr: configure-stage3-mpfr
12112 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12113 @r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 TFLAGS="$(STAGE3_TFLAGS)"; \
12116 $(HOST_EXPORTS) \
12117 $(POSTSTAGE1_HOST_EXPORTS) \
12118 cd $(HOST_SUBDIR)/mpfr && \
12119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12120 CFLAGS="$(STAGE3_CFLAGS)" \
12121 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12122 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12126 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12127 TFLAGS="$(STAGE3_TFLAGS)" \
12128 $(TARGET-stage3-mpfr)
12130 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12131 clean-stage3: clean-stage3-mpfr
12132 clean-stage3-mpfr:
12133 @if [ $(current_stage) = stage3 ]; then \
12134 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12135 else \
12136 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12137 $(MAKE) stage3-start; \
12138 fi; \
12139 cd $(HOST_SUBDIR)/mpfr && \
12140 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12141 @endif mpfr-bootstrap
12144 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12145 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12146 maybe-all-stage4-mpfr:
12147 maybe-clean-stage4-mpfr:
12148 @if mpfr-bootstrap
12149 maybe-all-stage4-mpfr: all-stage4-mpfr
12150 all-stage4: all-stage4-mpfr
12151 TARGET-stage4-mpfr = $(TARGET-mpfr)
12152 all-stage4-mpfr: configure-stage4-mpfr
12153 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12154 @r=`${PWD_COMMAND}`; export r; \
12155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12156 TFLAGS="$(STAGE4_TFLAGS)"; \
12157 $(HOST_EXPORTS) \
12158 $(POSTSTAGE1_HOST_EXPORTS) \
12159 cd $(HOST_SUBDIR)/mpfr && \
12160 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12161 CFLAGS="$(STAGE4_CFLAGS)" \
12162 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12163 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12167 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12168 TFLAGS="$(STAGE4_TFLAGS)" \
12169 $(TARGET-stage4-mpfr)
12171 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12172 clean-stage4: clean-stage4-mpfr
12173 clean-stage4-mpfr:
12174 @if [ $(current_stage) = stage4 ]; then \
12175 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12176 else \
12177 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12178 $(MAKE) stage4-start; \
12179 fi; \
12180 cd $(HOST_SUBDIR)/mpfr && \
12181 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12182 @endif mpfr-bootstrap
12185 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12186 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12187 maybe-all-stageprofile-mpfr:
12188 maybe-clean-stageprofile-mpfr:
12189 @if mpfr-bootstrap
12190 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12191 all-stageprofile: all-stageprofile-mpfr
12192 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12193 all-stageprofile-mpfr: configure-stageprofile-mpfr
12194 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12195 @r=`${PWD_COMMAND}`; export r; \
12196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12197 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12198 $(HOST_EXPORTS) \
12199 $(POSTSTAGE1_HOST_EXPORTS) \
12200 cd $(HOST_SUBDIR)/mpfr && \
12201 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12202 CFLAGS="$(STAGEprofile_CFLAGS)" \
12203 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12204 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12205 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12206 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12207 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12208 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12209 TFLAGS="$(STAGEprofile_TFLAGS)" \
12210 $(TARGET-stageprofile-mpfr)
12212 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12213 clean-stageprofile: clean-stageprofile-mpfr
12214 clean-stageprofile-mpfr:
12215 @if [ $(current_stage) = stageprofile ]; then \
12216 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12217 else \
12218 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12219 $(MAKE) stageprofile-start; \
12220 fi; \
12221 cd $(HOST_SUBDIR)/mpfr && \
12222 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12223 @endif mpfr-bootstrap
12226 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12227 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12228 maybe-all-stagefeedback-mpfr:
12229 maybe-clean-stagefeedback-mpfr:
12230 @if mpfr-bootstrap
12231 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12232 all-stagefeedback: all-stagefeedback-mpfr
12233 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12234 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12235 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12236 @r=`${PWD_COMMAND}`; export r; \
12237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12238 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12239 $(HOST_EXPORTS) \
12240 $(POSTSTAGE1_HOST_EXPORTS) \
12241 cd $(HOST_SUBDIR)/mpfr && \
12242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12243 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12244 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12245 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12249 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12250 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12251 $(TARGET-stagefeedback-mpfr)
12253 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12254 clean-stagefeedback: clean-stagefeedback-mpfr
12255 clean-stagefeedback-mpfr:
12256 @if [ $(current_stage) = stagefeedback ]; then \
12257 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12258 else \
12259 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12260 $(MAKE) stagefeedback-start; \
12261 fi; \
12262 cd $(HOST_SUBDIR)/mpfr && \
12263 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12264 @endif mpfr-bootstrap
12270 .PHONY: check-mpfr maybe-check-mpfr
12271 maybe-check-mpfr:
12272 @if mpfr
12273 maybe-check-mpfr: check-mpfr
12275 check-mpfr:
12276 @: $(MAKE); $(unstage)
12277 @r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 $(HOST_EXPORTS) \
12280 (cd $(HOST_SUBDIR)/mpfr && \
12281 $(MAKE) $(FLAGS_TO_PASS) check)
12283 @endif mpfr
12285 .PHONY: install-mpfr maybe-install-mpfr
12286 maybe-install-mpfr:
12287 @if mpfr
12288 maybe-install-mpfr: install-mpfr
12290 install-mpfr:
12292 @endif mpfr
12294 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12295 maybe-install-strip-mpfr:
12296 @if mpfr
12297 maybe-install-strip-mpfr: install-strip-mpfr
12299 install-strip-mpfr:
12301 @endif mpfr
12303 # Other targets (info, dvi, pdf, etc.)
12305 .PHONY: maybe-info-mpfr info-mpfr
12306 maybe-info-mpfr:
12307 @if mpfr
12308 maybe-info-mpfr: info-mpfr
12310 info-mpfr: \
12311 configure-mpfr
12312 @[ -f ./mpfr/Makefile ] || exit 0; \
12313 r=`${PWD_COMMAND}`; export r; \
12314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12315 $(HOST_EXPORTS) \
12316 for flag in $(EXTRA_HOST_FLAGS) ; do \
12317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12318 done; \
12319 echo "Doing info in mpfr" ; \
12320 (cd $(HOST_SUBDIR)/mpfr && \
12321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12323 "RANLIB=$${RANLIB}" \
12324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12325 info) \
12326 || exit 1
12328 @endif mpfr
12330 .PHONY: maybe-dvi-mpfr dvi-mpfr
12331 maybe-dvi-mpfr:
12332 @if mpfr
12333 maybe-dvi-mpfr: dvi-mpfr
12335 dvi-mpfr: \
12336 configure-mpfr
12337 @[ -f ./mpfr/Makefile ] || exit 0; \
12338 r=`${PWD_COMMAND}`; export r; \
12339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12340 $(HOST_EXPORTS) \
12341 for flag in $(EXTRA_HOST_FLAGS) ; do \
12342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12343 done; \
12344 echo "Doing dvi in mpfr" ; \
12345 (cd $(HOST_SUBDIR)/mpfr && \
12346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12348 "RANLIB=$${RANLIB}" \
12349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12350 dvi) \
12351 || exit 1
12353 @endif mpfr
12355 .PHONY: maybe-pdf-mpfr pdf-mpfr
12356 maybe-pdf-mpfr:
12357 @if mpfr
12358 maybe-pdf-mpfr: pdf-mpfr
12360 pdf-mpfr: \
12361 configure-mpfr
12362 @[ -f ./mpfr/Makefile ] || exit 0; \
12363 r=`${PWD_COMMAND}`; export r; \
12364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12365 $(HOST_EXPORTS) \
12366 for flag in $(EXTRA_HOST_FLAGS) ; do \
12367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12368 done; \
12369 echo "Doing pdf in mpfr" ; \
12370 (cd $(HOST_SUBDIR)/mpfr && \
12371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12373 "RANLIB=$${RANLIB}" \
12374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12375 pdf) \
12376 || exit 1
12378 @endif mpfr
12380 .PHONY: maybe-html-mpfr html-mpfr
12381 maybe-html-mpfr:
12382 @if mpfr
12383 maybe-html-mpfr: html-mpfr
12385 html-mpfr: \
12386 configure-mpfr
12387 @[ -f ./mpfr/Makefile ] || exit 0; \
12388 r=`${PWD_COMMAND}`; export r; \
12389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12390 $(HOST_EXPORTS) \
12391 for flag in $(EXTRA_HOST_FLAGS) ; do \
12392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12393 done; \
12394 echo "Doing html in mpfr" ; \
12395 (cd $(HOST_SUBDIR)/mpfr && \
12396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12398 "RANLIB=$${RANLIB}" \
12399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12400 html) \
12401 || exit 1
12403 @endif mpfr
12405 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12406 maybe-TAGS-mpfr:
12407 @if mpfr
12408 maybe-TAGS-mpfr: TAGS-mpfr
12410 TAGS-mpfr: \
12411 configure-mpfr
12412 @[ -f ./mpfr/Makefile ] || exit 0; \
12413 r=`${PWD_COMMAND}`; export r; \
12414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12415 $(HOST_EXPORTS) \
12416 for flag in $(EXTRA_HOST_FLAGS) ; do \
12417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12418 done; \
12419 echo "Doing TAGS in mpfr" ; \
12420 (cd $(HOST_SUBDIR)/mpfr && \
12421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12423 "RANLIB=$${RANLIB}" \
12424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12425 TAGS) \
12426 || exit 1
12428 @endif mpfr
12430 .PHONY: maybe-install-info-mpfr install-info-mpfr
12431 maybe-install-info-mpfr:
12432 @if mpfr
12433 maybe-install-info-mpfr: install-info-mpfr
12435 install-info-mpfr: \
12436 configure-mpfr \
12437 info-mpfr
12438 @[ -f ./mpfr/Makefile ] || exit 0; \
12439 r=`${PWD_COMMAND}`; export r; \
12440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12441 $(HOST_EXPORTS) \
12442 for flag in $(EXTRA_HOST_FLAGS) ; do \
12443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12444 done; \
12445 echo "Doing install-info in mpfr" ; \
12446 (cd $(HOST_SUBDIR)/mpfr && \
12447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12449 "RANLIB=$${RANLIB}" \
12450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12451 install-info) \
12452 || exit 1
12454 @endif mpfr
12456 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12457 maybe-install-pdf-mpfr:
12458 @if mpfr
12459 maybe-install-pdf-mpfr: install-pdf-mpfr
12461 install-pdf-mpfr: \
12462 configure-mpfr \
12463 pdf-mpfr
12464 @[ -f ./mpfr/Makefile ] || exit 0; \
12465 r=`${PWD_COMMAND}`; export r; \
12466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12467 $(HOST_EXPORTS) \
12468 for flag in $(EXTRA_HOST_FLAGS) ; do \
12469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12470 done; \
12471 echo "Doing install-pdf in mpfr" ; \
12472 (cd $(HOST_SUBDIR)/mpfr && \
12473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12475 "RANLIB=$${RANLIB}" \
12476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12477 install-pdf) \
12478 || exit 1
12480 @endif mpfr
12482 .PHONY: maybe-install-html-mpfr install-html-mpfr
12483 maybe-install-html-mpfr:
12484 @if mpfr
12485 maybe-install-html-mpfr: install-html-mpfr
12487 install-html-mpfr: \
12488 configure-mpfr \
12489 html-mpfr
12490 @[ -f ./mpfr/Makefile ] || exit 0; \
12491 r=`${PWD_COMMAND}`; export r; \
12492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12493 $(HOST_EXPORTS) \
12494 for flag in $(EXTRA_HOST_FLAGS) ; do \
12495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12496 done; \
12497 echo "Doing install-html in mpfr" ; \
12498 (cd $(HOST_SUBDIR)/mpfr && \
12499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12501 "RANLIB=$${RANLIB}" \
12502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12503 install-html) \
12504 || exit 1
12506 @endif mpfr
12508 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12509 maybe-installcheck-mpfr:
12510 @if mpfr
12511 maybe-installcheck-mpfr: installcheck-mpfr
12513 installcheck-mpfr: \
12514 configure-mpfr
12515 @[ -f ./mpfr/Makefile ] || exit 0; \
12516 r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 $(HOST_EXPORTS) \
12519 for flag in $(EXTRA_HOST_FLAGS) ; do \
12520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12521 done; \
12522 echo "Doing installcheck in mpfr" ; \
12523 (cd $(HOST_SUBDIR)/mpfr && \
12524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12526 "RANLIB=$${RANLIB}" \
12527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12528 installcheck) \
12529 || exit 1
12531 @endif mpfr
12533 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12534 maybe-mostlyclean-mpfr:
12535 @if mpfr
12536 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12538 mostlyclean-mpfr:
12539 @[ -f ./mpfr/Makefile ] || exit 0; \
12540 r=`${PWD_COMMAND}`; export r; \
12541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12542 $(HOST_EXPORTS) \
12543 for flag in $(EXTRA_HOST_FLAGS) ; do \
12544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12545 done; \
12546 echo "Doing mostlyclean in mpfr" ; \
12547 (cd $(HOST_SUBDIR)/mpfr && \
12548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12550 "RANLIB=$${RANLIB}" \
12551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12552 mostlyclean) \
12553 || exit 1
12555 @endif mpfr
12557 .PHONY: maybe-clean-mpfr clean-mpfr
12558 maybe-clean-mpfr:
12559 @if mpfr
12560 maybe-clean-mpfr: clean-mpfr
12562 clean-mpfr:
12563 @[ -f ./mpfr/Makefile ] || exit 0; \
12564 r=`${PWD_COMMAND}`; export r; \
12565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12566 $(HOST_EXPORTS) \
12567 for flag in $(EXTRA_HOST_FLAGS) ; do \
12568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12569 done; \
12570 echo "Doing clean in mpfr" ; \
12571 (cd $(HOST_SUBDIR)/mpfr && \
12572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12574 "RANLIB=$${RANLIB}" \
12575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12576 clean) \
12577 || exit 1
12579 @endif mpfr
12581 .PHONY: maybe-distclean-mpfr distclean-mpfr
12582 maybe-distclean-mpfr:
12583 @if mpfr
12584 maybe-distclean-mpfr: distclean-mpfr
12586 distclean-mpfr:
12587 @[ -f ./mpfr/Makefile ] || exit 0; \
12588 r=`${PWD_COMMAND}`; export r; \
12589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12590 $(HOST_EXPORTS) \
12591 for flag in $(EXTRA_HOST_FLAGS) ; do \
12592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12593 done; \
12594 echo "Doing distclean in mpfr" ; \
12595 (cd $(HOST_SUBDIR)/mpfr && \
12596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12598 "RANLIB=$${RANLIB}" \
12599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12600 distclean) \
12601 || exit 1
12603 @endif mpfr
12605 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12606 maybe-maintainer-clean-mpfr:
12607 @if mpfr
12608 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12610 maintainer-clean-mpfr:
12611 @[ -f ./mpfr/Makefile ] || exit 0; \
12612 r=`${PWD_COMMAND}`; export r; \
12613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12614 $(HOST_EXPORTS) \
12615 for flag in $(EXTRA_HOST_FLAGS) ; do \
12616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12617 done; \
12618 echo "Doing maintainer-clean in mpfr" ; \
12619 (cd $(HOST_SUBDIR)/mpfr && \
12620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12622 "RANLIB=$${RANLIB}" \
12623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12624 maintainer-clean) \
12625 || exit 1
12627 @endif mpfr
12631 .PHONY: configure-mpc maybe-configure-mpc
12632 maybe-configure-mpc:
12633 @if gcc-bootstrap
12634 configure-mpc: stage_current
12635 @endif gcc-bootstrap
12636 @if mpc
12637 maybe-configure-mpc: configure-mpc
12638 configure-mpc:
12639 @r=`${PWD_COMMAND}`; export r; \
12640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12641 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12643 $(HOST_EXPORTS) \
12644 echo Configuring in $(HOST_SUBDIR)/mpc; \
12645 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12646 case $(srcdir) in \
12647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12648 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12650 esac; \
12651 module_srcdir=mpc; \
12652 $(SHELL) \
12653 $$s/$$module_srcdir/configure \
12654 --srcdir=$${topdir}/$$module_srcdir \
12655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12656 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12657 || exit 1
12658 @endif mpc
12662 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12663 maybe-configure-stage1-mpc:
12664 @if mpc-bootstrap
12665 maybe-configure-stage1-mpc: configure-stage1-mpc
12666 configure-stage1-mpc:
12667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12669 @r=`${PWD_COMMAND}`; export r; \
12670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12671 TFLAGS="$(STAGE1_TFLAGS)"; \
12672 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12673 $(HOST_EXPORTS) \
12674 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12675 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12676 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12677 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12679 cd $(HOST_SUBDIR)/mpc || exit 1; \
12680 case $(srcdir) in \
12681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12682 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12684 esac; \
12685 module_srcdir=mpc; \
12686 $(SHELL) $$s/$$module_srcdir/configure \
12687 --srcdir=$${topdir}/$$module_srcdir \
12688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12689 --target=${target_alias} \
12691 $(STAGE1_CONFIGURE_FLAGS) \
12692 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12693 @endif mpc-bootstrap
12695 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12696 maybe-configure-stage2-mpc:
12697 @if mpc-bootstrap
12698 maybe-configure-stage2-mpc: configure-stage2-mpc
12699 configure-stage2-mpc:
12700 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12702 @r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12704 TFLAGS="$(STAGE2_TFLAGS)"; \
12705 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12706 $(HOST_EXPORTS) \
12707 $(POSTSTAGE1_HOST_EXPORTS) \
12708 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12709 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12710 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12711 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12713 cd $(HOST_SUBDIR)/mpc || exit 1; \
12714 case $(srcdir) in \
12715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12716 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12718 esac; \
12719 module_srcdir=mpc; \
12720 $(SHELL) $$s/$$module_srcdir/configure \
12721 --srcdir=$${topdir}/$$module_srcdir \
12722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12723 --target=${target_alias} \
12724 --with-build-libsubdir=$(HOST_SUBDIR) \
12725 $(STAGE2_CONFIGURE_FLAGS) \
12726 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12727 @endif mpc-bootstrap
12729 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12730 maybe-configure-stage3-mpc:
12731 @if mpc-bootstrap
12732 maybe-configure-stage3-mpc: configure-stage3-mpc
12733 configure-stage3-mpc:
12734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12736 @r=`${PWD_COMMAND}`; export r; \
12737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12738 TFLAGS="$(STAGE3_TFLAGS)"; \
12739 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12740 $(HOST_EXPORTS) \
12741 $(POSTSTAGE1_HOST_EXPORTS) \
12742 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12743 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12744 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12745 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12747 cd $(HOST_SUBDIR)/mpc || exit 1; \
12748 case $(srcdir) in \
12749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12750 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12752 esac; \
12753 module_srcdir=mpc; \
12754 $(SHELL) $$s/$$module_srcdir/configure \
12755 --srcdir=$${topdir}/$$module_srcdir \
12756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12757 --target=${target_alias} \
12758 --with-build-libsubdir=$(HOST_SUBDIR) \
12759 $(STAGE3_CONFIGURE_FLAGS) \
12760 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12761 @endif mpc-bootstrap
12763 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12764 maybe-configure-stage4-mpc:
12765 @if mpc-bootstrap
12766 maybe-configure-stage4-mpc: configure-stage4-mpc
12767 configure-stage4-mpc:
12768 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12770 @r=`${PWD_COMMAND}`; export r; \
12771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12772 TFLAGS="$(STAGE4_TFLAGS)"; \
12773 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12774 $(HOST_EXPORTS) \
12775 $(POSTSTAGE1_HOST_EXPORTS) \
12776 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12777 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12778 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12779 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12781 cd $(HOST_SUBDIR)/mpc || exit 1; \
12782 case $(srcdir) in \
12783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12784 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12786 esac; \
12787 module_srcdir=mpc; \
12788 $(SHELL) $$s/$$module_srcdir/configure \
12789 --srcdir=$${topdir}/$$module_srcdir \
12790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12791 --target=${target_alias} \
12792 --with-build-libsubdir=$(HOST_SUBDIR) \
12793 $(STAGE4_CONFIGURE_FLAGS) \
12794 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12795 @endif mpc-bootstrap
12797 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12798 maybe-configure-stageprofile-mpc:
12799 @if mpc-bootstrap
12800 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12801 configure-stageprofile-mpc:
12802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12804 @r=`${PWD_COMMAND}`; export r; \
12805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12806 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12807 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12808 $(HOST_EXPORTS) \
12809 $(POSTSTAGE1_HOST_EXPORTS) \
12810 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12811 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12812 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12813 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12815 cd $(HOST_SUBDIR)/mpc || exit 1; \
12816 case $(srcdir) in \
12817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12818 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12820 esac; \
12821 module_srcdir=mpc; \
12822 $(SHELL) $$s/$$module_srcdir/configure \
12823 --srcdir=$${topdir}/$$module_srcdir \
12824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12825 --target=${target_alias} \
12826 --with-build-libsubdir=$(HOST_SUBDIR) \
12827 $(STAGEprofile_CONFIGURE_FLAGS) \
12828 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12829 @endif mpc-bootstrap
12831 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12832 maybe-configure-stagefeedback-mpc:
12833 @if mpc-bootstrap
12834 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12835 configure-stagefeedback-mpc:
12836 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12838 @r=`${PWD_COMMAND}`; export r; \
12839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12840 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12841 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12842 $(HOST_EXPORTS) \
12843 $(POSTSTAGE1_HOST_EXPORTS) \
12844 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12845 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12846 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12847 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12849 cd $(HOST_SUBDIR)/mpc || exit 1; \
12850 case $(srcdir) in \
12851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12852 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12854 esac; \
12855 module_srcdir=mpc; \
12856 $(SHELL) $$s/$$module_srcdir/configure \
12857 --srcdir=$${topdir}/$$module_srcdir \
12858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12859 --target=${target_alias} \
12860 --with-build-libsubdir=$(HOST_SUBDIR) \
12861 $(STAGEfeedback_CONFIGURE_FLAGS) \
12862 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12863 @endif mpc-bootstrap
12869 .PHONY: all-mpc maybe-all-mpc
12870 maybe-all-mpc:
12871 @if gcc-bootstrap
12872 all-mpc: stage_current
12873 @endif gcc-bootstrap
12874 @if mpc
12875 TARGET-mpc=all
12876 maybe-all-mpc: all-mpc
12877 all-mpc: configure-mpc
12878 @r=`${PWD_COMMAND}`; export r; \
12879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12880 $(HOST_EXPORTS) \
12881 (cd $(HOST_SUBDIR)/mpc && \
12882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12883 $(TARGET-mpc))
12884 @endif mpc
12888 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12889 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12890 maybe-all-stage1-mpc:
12891 maybe-clean-stage1-mpc:
12892 @if mpc-bootstrap
12893 maybe-all-stage1-mpc: all-stage1-mpc
12894 all-stage1: all-stage1-mpc
12895 TARGET-stage1-mpc = $(TARGET-mpc)
12896 all-stage1-mpc: configure-stage1-mpc
12897 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12898 @r=`${PWD_COMMAND}`; export r; \
12899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12900 TFLAGS="$(STAGE1_TFLAGS)"; \
12901 $(HOST_EXPORTS) \
12902 cd $(HOST_SUBDIR)/mpc && \
12903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12904 CFLAGS="$(STAGE1_CFLAGS)" \
12905 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12906 LIBCFLAGS="$(LIBCFLAGS)" \
12907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12910 $(EXTRA_HOST_FLAGS) \
12911 $(STAGE1_FLAGS_TO_PASS) \
12912 TFLAGS="$(STAGE1_TFLAGS)" \
12913 $(TARGET-stage1-mpc)
12915 maybe-clean-stage1-mpc: clean-stage1-mpc
12916 clean-stage1: clean-stage1-mpc
12917 clean-stage1-mpc:
12918 @if [ $(current_stage) = stage1 ]; then \
12919 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12920 else \
12921 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12922 $(MAKE) stage1-start; \
12923 fi; \
12924 cd $(HOST_SUBDIR)/mpc && \
12925 $(MAKE) $(EXTRA_HOST_FLAGS) \
12926 $(STAGE1_FLAGS_TO_PASS) clean
12927 @endif mpc-bootstrap
12930 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12931 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12932 maybe-all-stage2-mpc:
12933 maybe-clean-stage2-mpc:
12934 @if mpc-bootstrap
12935 maybe-all-stage2-mpc: all-stage2-mpc
12936 all-stage2: all-stage2-mpc
12937 TARGET-stage2-mpc = $(TARGET-mpc)
12938 all-stage2-mpc: configure-stage2-mpc
12939 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12940 @r=`${PWD_COMMAND}`; export r; \
12941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12942 TFLAGS="$(STAGE2_TFLAGS)"; \
12943 $(HOST_EXPORTS) \
12944 $(POSTSTAGE1_HOST_EXPORTS) \
12945 cd $(HOST_SUBDIR)/mpc && \
12946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12947 CFLAGS="$(STAGE2_CFLAGS)" \
12948 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12949 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12954 TFLAGS="$(STAGE2_TFLAGS)" \
12955 $(TARGET-stage2-mpc)
12957 maybe-clean-stage2-mpc: clean-stage2-mpc
12958 clean-stage2: clean-stage2-mpc
12959 clean-stage2-mpc:
12960 @if [ $(current_stage) = stage2 ]; then \
12961 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12962 else \
12963 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12964 $(MAKE) stage2-start; \
12965 fi; \
12966 cd $(HOST_SUBDIR)/mpc && \
12967 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12968 @endif mpc-bootstrap
12971 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12972 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12973 maybe-all-stage3-mpc:
12974 maybe-clean-stage3-mpc:
12975 @if mpc-bootstrap
12976 maybe-all-stage3-mpc: all-stage3-mpc
12977 all-stage3: all-stage3-mpc
12978 TARGET-stage3-mpc = $(TARGET-mpc)
12979 all-stage3-mpc: configure-stage3-mpc
12980 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12981 @r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 TFLAGS="$(STAGE3_TFLAGS)"; \
12984 $(HOST_EXPORTS) \
12985 $(POSTSTAGE1_HOST_EXPORTS) \
12986 cd $(HOST_SUBDIR)/mpc && \
12987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12988 CFLAGS="$(STAGE3_CFLAGS)" \
12989 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12990 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12994 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12995 TFLAGS="$(STAGE3_TFLAGS)" \
12996 $(TARGET-stage3-mpc)
12998 maybe-clean-stage3-mpc: clean-stage3-mpc
12999 clean-stage3: clean-stage3-mpc
13000 clean-stage3-mpc:
13001 @if [ $(current_stage) = stage3 ]; then \
13002 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13003 else \
13004 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13005 $(MAKE) stage3-start; \
13006 fi; \
13007 cd $(HOST_SUBDIR)/mpc && \
13008 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13009 @endif mpc-bootstrap
13012 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13013 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13014 maybe-all-stage4-mpc:
13015 maybe-clean-stage4-mpc:
13016 @if mpc-bootstrap
13017 maybe-all-stage4-mpc: all-stage4-mpc
13018 all-stage4: all-stage4-mpc
13019 TARGET-stage4-mpc = $(TARGET-mpc)
13020 all-stage4-mpc: configure-stage4-mpc
13021 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13022 @r=`${PWD_COMMAND}`; export r; \
13023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024 TFLAGS="$(STAGE4_TFLAGS)"; \
13025 $(HOST_EXPORTS) \
13026 $(POSTSTAGE1_HOST_EXPORTS) \
13027 cd $(HOST_SUBDIR)/mpc && \
13028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13029 CFLAGS="$(STAGE4_CFLAGS)" \
13030 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13031 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13036 TFLAGS="$(STAGE4_TFLAGS)" \
13037 $(TARGET-stage4-mpc)
13039 maybe-clean-stage4-mpc: clean-stage4-mpc
13040 clean-stage4: clean-stage4-mpc
13041 clean-stage4-mpc:
13042 @if [ $(current_stage) = stage4 ]; then \
13043 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13044 else \
13045 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13046 $(MAKE) stage4-start; \
13047 fi; \
13048 cd $(HOST_SUBDIR)/mpc && \
13049 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13050 @endif mpc-bootstrap
13053 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13054 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13055 maybe-all-stageprofile-mpc:
13056 maybe-clean-stageprofile-mpc:
13057 @if mpc-bootstrap
13058 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13059 all-stageprofile: all-stageprofile-mpc
13060 TARGET-stageprofile-mpc = $(TARGET-mpc)
13061 all-stageprofile-mpc: configure-stageprofile-mpc
13062 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13063 @r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13066 $(HOST_EXPORTS) \
13067 $(POSTSTAGE1_HOST_EXPORTS) \
13068 cd $(HOST_SUBDIR)/mpc && \
13069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13070 CFLAGS="$(STAGEprofile_CFLAGS)" \
13071 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13072 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13077 TFLAGS="$(STAGEprofile_TFLAGS)" \
13078 $(TARGET-stageprofile-mpc)
13080 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13081 clean-stageprofile: clean-stageprofile-mpc
13082 clean-stageprofile-mpc:
13083 @if [ $(current_stage) = stageprofile ]; then \
13084 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13085 else \
13086 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13087 $(MAKE) stageprofile-start; \
13088 fi; \
13089 cd $(HOST_SUBDIR)/mpc && \
13090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13091 @endif mpc-bootstrap
13094 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13095 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13096 maybe-all-stagefeedback-mpc:
13097 maybe-clean-stagefeedback-mpc:
13098 @if mpc-bootstrap
13099 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13100 all-stagefeedback: all-stagefeedback-mpc
13101 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13102 all-stagefeedback-mpc: configure-stagefeedback-mpc
13103 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13104 @r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13107 $(HOST_EXPORTS) \
13108 $(POSTSTAGE1_HOST_EXPORTS) \
13109 cd $(HOST_SUBDIR)/mpc && \
13110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13111 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13112 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13113 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13117 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13118 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13119 $(TARGET-stagefeedback-mpc)
13121 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13122 clean-stagefeedback: clean-stagefeedback-mpc
13123 clean-stagefeedback-mpc:
13124 @if [ $(current_stage) = stagefeedback ]; then \
13125 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13126 else \
13127 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13128 $(MAKE) stagefeedback-start; \
13129 fi; \
13130 cd $(HOST_SUBDIR)/mpc && \
13131 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13132 @endif mpc-bootstrap
13138 .PHONY: check-mpc maybe-check-mpc
13139 maybe-check-mpc:
13140 @if mpc
13141 maybe-check-mpc: check-mpc
13143 check-mpc:
13144 @: $(MAKE); $(unstage)
13145 @r=`${PWD_COMMAND}`; export r; \
13146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13147 $(HOST_EXPORTS) \
13148 (cd $(HOST_SUBDIR)/mpc && \
13149 $(MAKE) $(FLAGS_TO_PASS) check)
13151 @endif mpc
13153 .PHONY: install-mpc maybe-install-mpc
13154 maybe-install-mpc:
13155 @if mpc
13156 maybe-install-mpc: install-mpc
13158 install-mpc:
13160 @endif mpc
13162 .PHONY: install-strip-mpc maybe-install-strip-mpc
13163 maybe-install-strip-mpc:
13164 @if mpc
13165 maybe-install-strip-mpc: install-strip-mpc
13167 install-strip-mpc:
13169 @endif mpc
13171 # Other targets (info, dvi, pdf, etc.)
13173 .PHONY: maybe-info-mpc info-mpc
13174 maybe-info-mpc:
13175 @if mpc
13176 maybe-info-mpc: info-mpc
13178 info-mpc: \
13179 configure-mpc
13180 @[ -f ./mpc/Makefile ] || exit 0; \
13181 r=`${PWD_COMMAND}`; export r; \
13182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13183 $(HOST_EXPORTS) \
13184 for flag in $(EXTRA_HOST_FLAGS) ; do \
13185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13186 done; \
13187 echo "Doing info in mpc" ; \
13188 (cd $(HOST_SUBDIR)/mpc && \
13189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13191 "RANLIB=$${RANLIB}" \
13192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13193 info) \
13194 || exit 1
13196 @endif mpc
13198 .PHONY: maybe-dvi-mpc dvi-mpc
13199 maybe-dvi-mpc:
13200 @if mpc
13201 maybe-dvi-mpc: dvi-mpc
13203 dvi-mpc: \
13204 configure-mpc
13205 @[ -f ./mpc/Makefile ] || exit 0; \
13206 r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13208 $(HOST_EXPORTS) \
13209 for flag in $(EXTRA_HOST_FLAGS) ; do \
13210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13211 done; \
13212 echo "Doing dvi in mpc" ; \
13213 (cd $(HOST_SUBDIR)/mpc && \
13214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13216 "RANLIB=$${RANLIB}" \
13217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13218 dvi) \
13219 || exit 1
13221 @endif mpc
13223 .PHONY: maybe-pdf-mpc pdf-mpc
13224 maybe-pdf-mpc:
13225 @if mpc
13226 maybe-pdf-mpc: pdf-mpc
13228 pdf-mpc: \
13229 configure-mpc
13230 @[ -f ./mpc/Makefile ] || exit 0; \
13231 r=`${PWD_COMMAND}`; export r; \
13232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13233 $(HOST_EXPORTS) \
13234 for flag in $(EXTRA_HOST_FLAGS) ; do \
13235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13236 done; \
13237 echo "Doing pdf in mpc" ; \
13238 (cd $(HOST_SUBDIR)/mpc && \
13239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13241 "RANLIB=$${RANLIB}" \
13242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13243 pdf) \
13244 || exit 1
13246 @endif mpc
13248 .PHONY: maybe-html-mpc html-mpc
13249 maybe-html-mpc:
13250 @if mpc
13251 maybe-html-mpc: html-mpc
13253 html-mpc: \
13254 configure-mpc
13255 @[ -f ./mpc/Makefile ] || exit 0; \
13256 r=`${PWD_COMMAND}`; export r; \
13257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13258 $(HOST_EXPORTS) \
13259 for flag in $(EXTRA_HOST_FLAGS) ; do \
13260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13261 done; \
13262 echo "Doing html in mpc" ; \
13263 (cd $(HOST_SUBDIR)/mpc && \
13264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13266 "RANLIB=$${RANLIB}" \
13267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13268 html) \
13269 || exit 1
13271 @endif mpc
13273 .PHONY: maybe-TAGS-mpc TAGS-mpc
13274 maybe-TAGS-mpc:
13275 @if mpc
13276 maybe-TAGS-mpc: TAGS-mpc
13278 TAGS-mpc: \
13279 configure-mpc
13280 @[ -f ./mpc/Makefile ] || exit 0; \
13281 r=`${PWD_COMMAND}`; export r; \
13282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13283 $(HOST_EXPORTS) \
13284 for flag in $(EXTRA_HOST_FLAGS) ; do \
13285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13286 done; \
13287 echo "Doing TAGS in mpc" ; \
13288 (cd $(HOST_SUBDIR)/mpc && \
13289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13291 "RANLIB=$${RANLIB}" \
13292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13293 TAGS) \
13294 || exit 1
13296 @endif mpc
13298 .PHONY: maybe-install-info-mpc install-info-mpc
13299 maybe-install-info-mpc:
13300 @if mpc
13301 maybe-install-info-mpc: install-info-mpc
13303 install-info-mpc: \
13304 configure-mpc \
13305 info-mpc
13306 @[ -f ./mpc/Makefile ] || exit 0; \
13307 r=`${PWD_COMMAND}`; export r; \
13308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13309 $(HOST_EXPORTS) \
13310 for flag in $(EXTRA_HOST_FLAGS) ; do \
13311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13312 done; \
13313 echo "Doing install-info in mpc" ; \
13314 (cd $(HOST_SUBDIR)/mpc && \
13315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13317 "RANLIB=$${RANLIB}" \
13318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13319 install-info) \
13320 || exit 1
13322 @endif mpc
13324 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13325 maybe-install-pdf-mpc:
13326 @if mpc
13327 maybe-install-pdf-mpc: install-pdf-mpc
13329 install-pdf-mpc: \
13330 configure-mpc \
13331 pdf-mpc
13332 @[ -f ./mpc/Makefile ] || exit 0; \
13333 r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 $(HOST_EXPORTS) \
13336 for flag in $(EXTRA_HOST_FLAGS) ; do \
13337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13338 done; \
13339 echo "Doing install-pdf in mpc" ; \
13340 (cd $(HOST_SUBDIR)/mpc && \
13341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13343 "RANLIB=$${RANLIB}" \
13344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13345 install-pdf) \
13346 || exit 1
13348 @endif mpc
13350 .PHONY: maybe-install-html-mpc install-html-mpc
13351 maybe-install-html-mpc:
13352 @if mpc
13353 maybe-install-html-mpc: install-html-mpc
13355 install-html-mpc: \
13356 configure-mpc \
13357 html-mpc
13358 @[ -f ./mpc/Makefile ] || exit 0; \
13359 r=`${PWD_COMMAND}`; export r; \
13360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13361 $(HOST_EXPORTS) \
13362 for flag in $(EXTRA_HOST_FLAGS) ; do \
13363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13364 done; \
13365 echo "Doing install-html in mpc" ; \
13366 (cd $(HOST_SUBDIR)/mpc && \
13367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13369 "RANLIB=$${RANLIB}" \
13370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13371 install-html) \
13372 || exit 1
13374 @endif mpc
13376 .PHONY: maybe-installcheck-mpc installcheck-mpc
13377 maybe-installcheck-mpc:
13378 @if mpc
13379 maybe-installcheck-mpc: installcheck-mpc
13381 installcheck-mpc: \
13382 configure-mpc
13383 @[ -f ./mpc/Makefile ] || exit 0; \
13384 r=`${PWD_COMMAND}`; export r; \
13385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13386 $(HOST_EXPORTS) \
13387 for flag in $(EXTRA_HOST_FLAGS) ; do \
13388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13389 done; \
13390 echo "Doing installcheck in mpc" ; \
13391 (cd $(HOST_SUBDIR)/mpc && \
13392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13394 "RANLIB=$${RANLIB}" \
13395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13396 installcheck) \
13397 || exit 1
13399 @endif mpc
13401 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13402 maybe-mostlyclean-mpc:
13403 @if mpc
13404 maybe-mostlyclean-mpc: mostlyclean-mpc
13406 mostlyclean-mpc:
13407 @[ -f ./mpc/Makefile ] || exit 0; \
13408 r=`${PWD_COMMAND}`; export r; \
13409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13410 $(HOST_EXPORTS) \
13411 for flag in $(EXTRA_HOST_FLAGS) ; do \
13412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13413 done; \
13414 echo "Doing mostlyclean in mpc" ; \
13415 (cd $(HOST_SUBDIR)/mpc && \
13416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13418 "RANLIB=$${RANLIB}" \
13419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13420 mostlyclean) \
13421 || exit 1
13423 @endif mpc
13425 .PHONY: maybe-clean-mpc clean-mpc
13426 maybe-clean-mpc:
13427 @if mpc
13428 maybe-clean-mpc: clean-mpc
13430 clean-mpc:
13431 @[ -f ./mpc/Makefile ] || exit 0; \
13432 r=`${PWD_COMMAND}`; export r; \
13433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13434 $(HOST_EXPORTS) \
13435 for flag in $(EXTRA_HOST_FLAGS) ; do \
13436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13437 done; \
13438 echo "Doing clean in mpc" ; \
13439 (cd $(HOST_SUBDIR)/mpc && \
13440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13442 "RANLIB=$${RANLIB}" \
13443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13444 clean) \
13445 || exit 1
13447 @endif mpc
13449 .PHONY: maybe-distclean-mpc distclean-mpc
13450 maybe-distclean-mpc:
13451 @if mpc
13452 maybe-distclean-mpc: distclean-mpc
13454 distclean-mpc:
13455 @[ -f ./mpc/Makefile ] || exit 0; \
13456 r=`${PWD_COMMAND}`; export r; \
13457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13458 $(HOST_EXPORTS) \
13459 for flag in $(EXTRA_HOST_FLAGS) ; do \
13460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13461 done; \
13462 echo "Doing distclean in mpc" ; \
13463 (cd $(HOST_SUBDIR)/mpc && \
13464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13466 "RANLIB=$${RANLIB}" \
13467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13468 distclean) \
13469 || exit 1
13471 @endif mpc
13473 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13474 maybe-maintainer-clean-mpc:
13475 @if mpc
13476 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13478 maintainer-clean-mpc:
13479 @[ -f ./mpc/Makefile ] || exit 0; \
13480 r=`${PWD_COMMAND}`; export r; \
13481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13482 $(HOST_EXPORTS) \
13483 for flag in $(EXTRA_HOST_FLAGS) ; do \
13484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13485 done; \
13486 echo "Doing maintainer-clean in mpc" ; \
13487 (cd $(HOST_SUBDIR)/mpc && \
13488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13490 "RANLIB=$${RANLIB}" \
13491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13492 maintainer-clean) \
13493 || exit 1
13495 @endif mpc
13499 .PHONY: configure-isl maybe-configure-isl
13500 maybe-configure-isl:
13501 @if gcc-bootstrap
13502 configure-isl: stage_current
13503 @endif gcc-bootstrap
13504 @if isl
13505 maybe-configure-isl: configure-isl
13506 configure-isl:
13507 @r=`${PWD_COMMAND}`; export r; \
13508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13509 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13511 $(HOST_EXPORTS) \
13512 echo Configuring in $(HOST_SUBDIR)/isl; \
13513 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13514 case $(srcdir) in \
13515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13516 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13518 esac; \
13519 module_srcdir=isl; \
13520 $(SHELL) \
13521 $$s/$$module_srcdir/configure \
13522 --srcdir=$${topdir}/$$module_srcdir \
13523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13524 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13525 || exit 1
13526 @endif isl
13530 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13531 maybe-configure-stage1-isl:
13532 @if isl-bootstrap
13533 maybe-configure-stage1-isl: configure-stage1-isl
13534 configure-stage1-isl:
13535 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13537 @r=`${PWD_COMMAND}`; export r; \
13538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13539 TFLAGS="$(STAGE1_TFLAGS)"; \
13540 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13541 $(HOST_EXPORTS) \
13542 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13543 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13544 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13545 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13547 cd $(HOST_SUBDIR)/isl || exit 1; \
13548 case $(srcdir) in \
13549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13550 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13552 esac; \
13553 module_srcdir=isl; \
13554 $(SHELL) $$s/$$module_srcdir/configure \
13555 --srcdir=$${topdir}/$$module_srcdir \
13556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13557 --target=${target_alias} \
13559 $(STAGE1_CONFIGURE_FLAGS) \
13560 --disable-shared @extra_isl_gmp_configure_flags@
13561 @endif isl-bootstrap
13563 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13564 maybe-configure-stage2-isl:
13565 @if isl-bootstrap
13566 maybe-configure-stage2-isl: configure-stage2-isl
13567 configure-stage2-isl:
13568 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13570 @r=`${PWD_COMMAND}`; export r; \
13571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13572 TFLAGS="$(STAGE2_TFLAGS)"; \
13573 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13574 $(HOST_EXPORTS) \
13575 $(POSTSTAGE1_HOST_EXPORTS) \
13576 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13577 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13578 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13579 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13581 cd $(HOST_SUBDIR)/isl || exit 1; \
13582 case $(srcdir) in \
13583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13584 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13586 esac; \
13587 module_srcdir=isl; \
13588 $(SHELL) $$s/$$module_srcdir/configure \
13589 --srcdir=$${topdir}/$$module_srcdir \
13590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13591 --target=${target_alias} \
13592 --with-build-libsubdir=$(HOST_SUBDIR) \
13593 $(STAGE2_CONFIGURE_FLAGS) \
13594 --disable-shared @extra_isl_gmp_configure_flags@
13595 @endif isl-bootstrap
13597 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13598 maybe-configure-stage3-isl:
13599 @if isl-bootstrap
13600 maybe-configure-stage3-isl: configure-stage3-isl
13601 configure-stage3-isl:
13602 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13603 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13604 @r=`${PWD_COMMAND}`; export r; \
13605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13606 TFLAGS="$(STAGE3_TFLAGS)"; \
13607 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13608 $(HOST_EXPORTS) \
13609 $(POSTSTAGE1_HOST_EXPORTS) \
13610 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13611 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13612 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13613 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13615 cd $(HOST_SUBDIR)/isl || exit 1; \
13616 case $(srcdir) in \
13617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13618 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13620 esac; \
13621 module_srcdir=isl; \
13622 $(SHELL) $$s/$$module_srcdir/configure \
13623 --srcdir=$${topdir}/$$module_srcdir \
13624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13625 --target=${target_alias} \
13626 --with-build-libsubdir=$(HOST_SUBDIR) \
13627 $(STAGE3_CONFIGURE_FLAGS) \
13628 --disable-shared @extra_isl_gmp_configure_flags@
13629 @endif isl-bootstrap
13631 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13632 maybe-configure-stage4-isl:
13633 @if isl-bootstrap
13634 maybe-configure-stage4-isl: configure-stage4-isl
13635 configure-stage4-isl:
13636 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13638 @r=`${PWD_COMMAND}`; export r; \
13639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13640 TFLAGS="$(STAGE4_TFLAGS)"; \
13641 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13642 $(HOST_EXPORTS) \
13643 $(POSTSTAGE1_HOST_EXPORTS) \
13644 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13645 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13646 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13647 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13649 cd $(HOST_SUBDIR)/isl || exit 1; \
13650 case $(srcdir) in \
13651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13652 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13654 esac; \
13655 module_srcdir=isl; \
13656 $(SHELL) $$s/$$module_srcdir/configure \
13657 --srcdir=$${topdir}/$$module_srcdir \
13658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13659 --target=${target_alias} \
13660 --with-build-libsubdir=$(HOST_SUBDIR) \
13661 $(STAGE4_CONFIGURE_FLAGS) \
13662 --disable-shared @extra_isl_gmp_configure_flags@
13663 @endif isl-bootstrap
13665 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13666 maybe-configure-stageprofile-isl:
13667 @if isl-bootstrap
13668 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13669 configure-stageprofile-isl:
13670 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13672 @r=`${PWD_COMMAND}`; export r; \
13673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13674 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13675 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13676 $(HOST_EXPORTS) \
13677 $(POSTSTAGE1_HOST_EXPORTS) \
13678 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13679 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13680 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13681 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13683 cd $(HOST_SUBDIR)/isl || exit 1; \
13684 case $(srcdir) in \
13685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13686 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13688 esac; \
13689 module_srcdir=isl; \
13690 $(SHELL) $$s/$$module_srcdir/configure \
13691 --srcdir=$${topdir}/$$module_srcdir \
13692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13693 --target=${target_alias} \
13694 --with-build-libsubdir=$(HOST_SUBDIR) \
13695 $(STAGEprofile_CONFIGURE_FLAGS) \
13696 --disable-shared @extra_isl_gmp_configure_flags@
13697 @endif isl-bootstrap
13699 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13700 maybe-configure-stagefeedback-isl:
13701 @if isl-bootstrap
13702 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13703 configure-stagefeedback-isl:
13704 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13706 @r=`${PWD_COMMAND}`; export r; \
13707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13708 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13709 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13710 $(HOST_EXPORTS) \
13711 $(POSTSTAGE1_HOST_EXPORTS) \
13712 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13713 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13714 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13715 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13717 cd $(HOST_SUBDIR)/isl || exit 1; \
13718 case $(srcdir) in \
13719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13720 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13722 esac; \
13723 module_srcdir=isl; \
13724 $(SHELL) $$s/$$module_srcdir/configure \
13725 --srcdir=$${topdir}/$$module_srcdir \
13726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13727 --target=${target_alias} \
13728 --with-build-libsubdir=$(HOST_SUBDIR) \
13729 $(STAGEfeedback_CONFIGURE_FLAGS) \
13730 --disable-shared @extra_isl_gmp_configure_flags@
13731 @endif isl-bootstrap
13737 .PHONY: all-isl maybe-all-isl
13738 maybe-all-isl:
13739 @if gcc-bootstrap
13740 all-isl: stage_current
13741 @endif gcc-bootstrap
13742 @if isl
13743 TARGET-isl=all
13744 maybe-all-isl: all-isl
13745 all-isl: configure-isl
13746 @r=`${PWD_COMMAND}`; export r; \
13747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13748 $(HOST_EXPORTS) \
13749 (cd $(HOST_SUBDIR)/isl && \
13750 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13751 $(TARGET-isl))
13752 @endif isl
13756 .PHONY: all-stage1-isl maybe-all-stage1-isl
13757 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13758 maybe-all-stage1-isl:
13759 maybe-clean-stage1-isl:
13760 @if isl-bootstrap
13761 maybe-all-stage1-isl: all-stage1-isl
13762 all-stage1: all-stage1-isl
13763 TARGET-stage1-isl = $(TARGET-isl)
13764 all-stage1-isl: configure-stage1-isl
13765 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13766 @r=`${PWD_COMMAND}`; export r; \
13767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13768 TFLAGS="$(STAGE1_TFLAGS)"; \
13769 $(HOST_EXPORTS) \
13770 cd $(HOST_SUBDIR)/isl && \
13771 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13772 CFLAGS="$(STAGE1_CFLAGS)" \
13773 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13774 LIBCFLAGS="$(LIBCFLAGS)" \
13775 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13776 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13777 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13778 $(EXTRA_HOST_FLAGS) \
13779 $(STAGE1_FLAGS_TO_PASS) V=1 \
13780 TFLAGS="$(STAGE1_TFLAGS)" \
13781 $(TARGET-stage1-isl)
13783 maybe-clean-stage1-isl: clean-stage1-isl
13784 clean-stage1: clean-stage1-isl
13785 clean-stage1-isl:
13786 @if [ $(current_stage) = stage1 ]; then \
13787 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13788 else \
13789 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13790 $(MAKE) stage1-start; \
13791 fi; \
13792 cd $(HOST_SUBDIR)/isl && \
13793 $(MAKE) $(EXTRA_HOST_FLAGS) \
13794 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13795 @endif isl-bootstrap
13798 .PHONY: all-stage2-isl maybe-all-stage2-isl
13799 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13800 maybe-all-stage2-isl:
13801 maybe-clean-stage2-isl:
13802 @if isl-bootstrap
13803 maybe-all-stage2-isl: all-stage2-isl
13804 all-stage2: all-stage2-isl
13805 TARGET-stage2-isl = $(TARGET-isl)
13806 all-stage2-isl: configure-stage2-isl
13807 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13808 @r=`${PWD_COMMAND}`; export r; \
13809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 TFLAGS="$(STAGE2_TFLAGS)"; \
13811 $(HOST_EXPORTS) \
13812 $(POSTSTAGE1_HOST_EXPORTS) \
13813 cd $(HOST_SUBDIR)/isl && \
13814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13815 CFLAGS="$(STAGE2_CFLAGS)" \
13816 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13817 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13818 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13819 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13820 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13821 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13822 TFLAGS="$(STAGE2_TFLAGS)" \
13823 $(TARGET-stage2-isl)
13825 maybe-clean-stage2-isl: clean-stage2-isl
13826 clean-stage2: clean-stage2-isl
13827 clean-stage2-isl:
13828 @if [ $(current_stage) = stage2 ]; then \
13829 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13830 else \
13831 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13832 $(MAKE) stage2-start; \
13833 fi; \
13834 cd $(HOST_SUBDIR)/isl && \
13835 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13836 @endif isl-bootstrap
13839 .PHONY: all-stage3-isl maybe-all-stage3-isl
13840 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13841 maybe-all-stage3-isl:
13842 maybe-clean-stage3-isl:
13843 @if isl-bootstrap
13844 maybe-all-stage3-isl: all-stage3-isl
13845 all-stage3: all-stage3-isl
13846 TARGET-stage3-isl = $(TARGET-isl)
13847 all-stage3-isl: configure-stage3-isl
13848 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13849 @r=`${PWD_COMMAND}`; export r; \
13850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13851 TFLAGS="$(STAGE3_TFLAGS)"; \
13852 $(HOST_EXPORTS) \
13853 $(POSTSTAGE1_HOST_EXPORTS) \
13854 cd $(HOST_SUBDIR)/isl && \
13855 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13856 CFLAGS="$(STAGE3_CFLAGS)" \
13857 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13858 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13859 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13860 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13861 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13862 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13863 TFLAGS="$(STAGE3_TFLAGS)" \
13864 $(TARGET-stage3-isl)
13866 maybe-clean-stage3-isl: clean-stage3-isl
13867 clean-stage3: clean-stage3-isl
13868 clean-stage3-isl:
13869 @if [ $(current_stage) = stage3 ]; then \
13870 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13871 else \
13872 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13873 $(MAKE) stage3-start; \
13874 fi; \
13875 cd $(HOST_SUBDIR)/isl && \
13876 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13877 @endif isl-bootstrap
13880 .PHONY: all-stage4-isl maybe-all-stage4-isl
13881 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13882 maybe-all-stage4-isl:
13883 maybe-clean-stage4-isl:
13884 @if isl-bootstrap
13885 maybe-all-stage4-isl: all-stage4-isl
13886 all-stage4: all-stage4-isl
13887 TARGET-stage4-isl = $(TARGET-isl)
13888 all-stage4-isl: configure-stage4-isl
13889 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13890 @r=`${PWD_COMMAND}`; export r; \
13891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13892 TFLAGS="$(STAGE4_TFLAGS)"; \
13893 $(HOST_EXPORTS) \
13894 $(POSTSTAGE1_HOST_EXPORTS) \
13895 cd $(HOST_SUBDIR)/isl && \
13896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13897 CFLAGS="$(STAGE4_CFLAGS)" \
13898 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13899 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13903 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13904 TFLAGS="$(STAGE4_TFLAGS)" \
13905 $(TARGET-stage4-isl)
13907 maybe-clean-stage4-isl: clean-stage4-isl
13908 clean-stage4: clean-stage4-isl
13909 clean-stage4-isl:
13910 @if [ $(current_stage) = stage4 ]; then \
13911 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13912 else \
13913 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13914 $(MAKE) stage4-start; \
13915 fi; \
13916 cd $(HOST_SUBDIR)/isl && \
13917 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13918 @endif isl-bootstrap
13921 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13922 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13923 maybe-all-stageprofile-isl:
13924 maybe-clean-stageprofile-isl:
13925 @if isl-bootstrap
13926 maybe-all-stageprofile-isl: all-stageprofile-isl
13927 all-stageprofile: all-stageprofile-isl
13928 TARGET-stageprofile-isl = $(TARGET-isl)
13929 all-stageprofile-isl: configure-stageprofile-isl
13930 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13931 @r=`${PWD_COMMAND}`; export r; \
13932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13933 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13934 $(HOST_EXPORTS) \
13935 $(POSTSTAGE1_HOST_EXPORTS) \
13936 cd $(HOST_SUBDIR)/isl && \
13937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13938 CFLAGS="$(STAGEprofile_CFLAGS)" \
13939 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13940 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13945 TFLAGS="$(STAGEprofile_TFLAGS)" \
13946 $(TARGET-stageprofile-isl)
13948 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13949 clean-stageprofile: clean-stageprofile-isl
13950 clean-stageprofile-isl:
13951 @if [ $(current_stage) = stageprofile ]; then \
13952 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13953 else \
13954 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13955 $(MAKE) stageprofile-start; \
13956 fi; \
13957 cd $(HOST_SUBDIR)/isl && \
13958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13959 @endif isl-bootstrap
13962 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13963 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13964 maybe-all-stagefeedback-isl:
13965 maybe-clean-stagefeedback-isl:
13966 @if isl-bootstrap
13967 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13968 all-stagefeedback: all-stagefeedback-isl
13969 TARGET-stagefeedback-isl = $(TARGET-isl)
13970 all-stagefeedback-isl: configure-stagefeedback-isl
13971 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13972 @r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13975 $(HOST_EXPORTS) \
13976 $(POSTSTAGE1_HOST_EXPORTS) \
13977 cd $(HOST_SUBDIR)/isl && \
13978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13979 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13980 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13981 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13985 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13986 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13987 $(TARGET-stagefeedback-isl)
13989 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13990 clean-stagefeedback: clean-stagefeedback-isl
13991 clean-stagefeedback-isl:
13992 @if [ $(current_stage) = stagefeedback ]; then \
13993 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13994 else \
13995 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13996 $(MAKE) stagefeedback-start; \
13997 fi; \
13998 cd $(HOST_SUBDIR)/isl && \
13999 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14000 @endif isl-bootstrap
14006 .PHONY: check-isl maybe-check-isl
14007 maybe-check-isl:
14008 @if isl
14009 maybe-check-isl: check-isl
14011 check-isl:
14012 @: $(MAKE); $(unstage)
14013 @r=`${PWD_COMMAND}`; export r; \
14014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14015 $(HOST_EXPORTS) \
14016 (cd $(HOST_SUBDIR)/isl && \
14017 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
14019 @endif isl
14021 .PHONY: install-isl maybe-install-isl
14022 maybe-install-isl:
14023 @if isl
14024 maybe-install-isl: install-isl
14026 install-isl:
14028 @endif isl
14030 .PHONY: install-strip-isl maybe-install-strip-isl
14031 maybe-install-strip-isl:
14032 @if isl
14033 maybe-install-strip-isl: install-strip-isl
14035 install-strip-isl:
14037 @endif isl
14039 # Other targets (info, dvi, pdf, etc.)
14041 .PHONY: maybe-info-isl info-isl
14042 maybe-info-isl:
14043 @if isl
14044 maybe-info-isl: info-isl
14046 info-isl: \
14047 configure-isl
14048 @[ -f ./isl/Makefile ] || exit 0; \
14049 r=`${PWD_COMMAND}`; export r; \
14050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14051 $(HOST_EXPORTS) \
14052 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14054 done; \
14055 echo "Doing info in isl" ; \
14056 (cd $(HOST_SUBDIR)/isl && \
14057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14059 "RANLIB=$${RANLIB}" \
14060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14061 info) \
14062 || exit 1
14064 @endif isl
14066 .PHONY: maybe-dvi-isl dvi-isl
14067 maybe-dvi-isl:
14068 @if isl
14069 maybe-dvi-isl: dvi-isl
14071 dvi-isl: \
14072 configure-isl
14073 @[ -f ./isl/Makefile ] || exit 0; \
14074 r=`${PWD_COMMAND}`; export r; \
14075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 $(HOST_EXPORTS) \
14077 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14079 done; \
14080 echo "Doing dvi in isl" ; \
14081 (cd $(HOST_SUBDIR)/isl && \
14082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14084 "RANLIB=$${RANLIB}" \
14085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14086 dvi) \
14087 || exit 1
14089 @endif isl
14091 .PHONY: maybe-pdf-isl pdf-isl
14092 maybe-pdf-isl:
14093 @if isl
14094 maybe-pdf-isl: pdf-isl
14096 pdf-isl: \
14097 configure-isl
14098 @[ -f ./isl/Makefile ] || exit 0; \
14099 r=`${PWD_COMMAND}`; export r; \
14100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14101 $(HOST_EXPORTS) \
14102 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14104 done; \
14105 echo "Doing pdf in isl" ; \
14106 (cd $(HOST_SUBDIR)/isl && \
14107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14109 "RANLIB=$${RANLIB}" \
14110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14111 pdf) \
14112 || exit 1
14114 @endif isl
14116 .PHONY: maybe-html-isl html-isl
14117 maybe-html-isl:
14118 @if isl
14119 maybe-html-isl: html-isl
14121 html-isl: \
14122 configure-isl
14123 @[ -f ./isl/Makefile ] || exit 0; \
14124 r=`${PWD_COMMAND}`; export r; \
14125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14126 $(HOST_EXPORTS) \
14127 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14129 done; \
14130 echo "Doing html in isl" ; \
14131 (cd $(HOST_SUBDIR)/isl && \
14132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14134 "RANLIB=$${RANLIB}" \
14135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14136 html) \
14137 || exit 1
14139 @endif isl
14141 .PHONY: maybe-TAGS-isl TAGS-isl
14142 maybe-TAGS-isl:
14143 @if isl
14144 maybe-TAGS-isl: TAGS-isl
14146 TAGS-isl: \
14147 configure-isl
14148 @[ -f ./isl/Makefile ] || exit 0; \
14149 r=`${PWD_COMMAND}`; export r; \
14150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14151 $(HOST_EXPORTS) \
14152 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14154 done; \
14155 echo "Doing TAGS in isl" ; \
14156 (cd $(HOST_SUBDIR)/isl && \
14157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14159 "RANLIB=$${RANLIB}" \
14160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14161 TAGS) \
14162 || exit 1
14164 @endif isl
14166 .PHONY: maybe-install-info-isl install-info-isl
14167 maybe-install-info-isl:
14168 @if isl
14169 maybe-install-info-isl: install-info-isl
14171 install-info-isl: \
14172 configure-isl \
14173 info-isl
14174 @[ -f ./isl/Makefile ] || exit 0; \
14175 r=`${PWD_COMMAND}`; export r; \
14176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14177 $(HOST_EXPORTS) \
14178 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14180 done; \
14181 echo "Doing install-info in isl" ; \
14182 (cd $(HOST_SUBDIR)/isl && \
14183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14185 "RANLIB=$${RANLIB}" \
14186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14187 install-info) \
14188 || exit 1
14190 @endif isl
14192 .PHONY: maybe-install-pdf-isl install-pdf-isl
14193 maybe-install-pdf-isl:
14194 @if isl
14195 maybe-install-pdf-isl: install-pdf-isl
14197 install-pdf-isl: \
14198 configure-isl \
14199 pdf-isl
14200 @[ -f ./isl/Makefile ] || exit 0; \
14201 r=`${PWD_COMMAND}`; export r; \
14202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14203 $(HOST_EXPORTS) \
14204 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14206 done; \
14207 echo "Doing install-pdf in isl" ; \
14208 (cd $(HOST_SUBDIR)/isl && \
14209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14211 "RANLIB=$${RANLIB}" \
14212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14213 install-pdf) \
14214 || exit 1
14216 @endif isl
14218 .PHONY: maybe-install-html-isl install-html-isl
14219 maybe-install-html-isl:
14220 @if isl
14221 maybe-install-html-isl: install-html-isl
14223 install-html-isl: \
14224 configure-isl \
14225 html-isl
14226 @[ -f ./isl/Makefile ] || exit 0; \
14227 r=`${PWD_COMMAND}`; export r; \
14228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14229 $(HOST_EXPORTS) \
14230 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14232 done; \
14233 echo "Doing install-html in isl" ; \
14234 (cd $(HOST_SUBDIR)/isl && \
14235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14237 "RANLIB=$${RANLIB}" \
14238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14239 install-html) \
14240 || exit 1
14242 @endif isl
14244 .PHONY: maybe-installcheck-isl installcheck-isl
14245 maybe-installcheck-isl:
14246 @if isl
14247 maybe-installcheck-isl: installcheck-isl
14249 installcheck-isl: \
14250 configure-isl
14251 @[ -f ./isl/Makefile ] || exit 0; \
14252 r=`${PWD_COMMAND}`; export r; \
14253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14254 $(HOST_EXPORTS) \
14255 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14257 done; \
14258 echo "Doing installcheck in isl" ; \
14259 (cd $(HOST_SUBDIR)/isl && \
14260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14262 "RANLIB=$${RANLIB}" \
14263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14264 installcheck) \
14265 || exit 1
14267 @endif isl
14269 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14270 maybe-mostlyclean-isl:
14271 @if isl
14272 maybe-mostlyclean-isl: mostlyclean-isl
14274 mostlyclean-isl:
14275 @[ -f ./isl/Makefile ] || exit 0; \
14276 r=`${PWD_COMMAND}`; export r; \
14277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14278 $(HOST_EXPORTS) \
14279 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14281 done; \
14282 echo "Doing mostlyclean in isl" ; \
14283 (cd $(HOST_SUBDIR)/isl && \
14284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14286 "RANLIB=$${RANLIB}" \
14287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14288 mostlyclean) \
14289 || exit 1
14291 @endif isl
14293 .PHONY: maybe-clean-isl clean-isl
14294 maybe-clean-isl:
14295 @if isl
14296 maybe-clean-isl: clean-isl
14298 clean-isl:
14299 @[ -f ./isl/Makefile ] || exit 0; \
14300 r=`${PWD_COMMAND}`; export r; \
14301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14302 $(HOST_EXPORTS) \
14303 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14305 done; \
14306 echo "Doing clean in isl" ; \
14307 (cd $(HOST_SUBDIR)/isl && \
14308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14310 "RANLIB=$${RANLIB}" \
14311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14312 clean) \
14313 || exit 1
14315 @endif isl
14317 .PHONY: maybe-distclean-isl distclean-isl
14318 maybe-distclean-isl:
14319 @if isl
14320 maybe-distclean-isl: distclean-isl
14322 distclean-isl:
14323 @[ -f ./isl/Makefile ] || exit 0; \
14324 r=`${PWD_COMMAND}`; export r; \
14325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14326 $(HOST_EXPORTS) \
14327 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14329 done; \
14330 echo "Doing distclean in isl" ; \
14331 (cd $(HOST_SUBDIR)/isl && \
14332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14334 "RANLIB=$${RANLIB}" \
14335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14336 distclean) \
14337 || exit 1
14339 @endif isl
14341 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14342 maybe-maintainer-clean-isl:
14343 @if isl
14344 maybe-maintainer-clean-isl: maintainer-clean-isl
14346 maintainer-clean-isl:
14347 @[ -f ./isl/Makefile ] || exit 0; \
14348 r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14350 $(HOST_EXPORTS) \
14351 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14353 done; \
14354 echo "Doing maintainer-clean in isl" ; \
14355 (cd $(HOST_SUBDIR)/isl && \
14356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14358 "RANLIB=$${RANLIB}" \
14359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14360 maintainer-clean) \
14361 || exit 1
14363 @endif isl
14367 .PHONY: configure-cloog maybe-configure-cloog
14368 maybe-configure-cloog:
14369 @if gcc-bootstrap
14370 configure-cloog: stage_current
14371 @endif gcc-bootstrap
14372 @if cloog
14373 maybe-configure-cloog: configure-cloog
14374 configure-cloog:
14375 @r=`${PWD_COMMAND}`; export r; \
14376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14377 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14379 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14380 echo Configuring in $(HOST_SUBDIR)/cloog; \
14381 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
14382 case $(srcdir) in \
14383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14384 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14386 esac; \
14387 module_srcdir=cloog; \
14388 $(SHELL) \
14389 $$s/$$module_srcdir/configure \
14390 --srcdir=$${topdir}/$$module_srcdir \
14391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14392 --target=${target_alias} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
14393 || exit 1
14394 @endif cloog
14398 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
14399 maybe-configure-stage1-cloog:
14400 @if cloog-bootstrap
14401 maybe-configure-stage1-cloog: configure-stage1-cloog
14402 configure-stage1-cloog:
14403 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14405 @r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407 TFLAGS="$(STAGE1_TFLAGS)"; \
14408 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14409 $(HOST_EXPORTS) \
14410 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14411 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14412 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14413 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
14414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14415 cd $(HOST_SUBDIR)/cloog || exit 1; \
14416 case $(srcdir) in \
14417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14418 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14420 esac; \
14421 module_srcdir=cloog; \
14422 $(SHELL) $$s/$$module_srcdir/configure \
14423 --srcdir=$${topdir}/$$module_srcdir \
14424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14425 --target=${target_alias} \
14427 $(STAGE1_CONFIGURE_FLAGS) \
14428 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14429 @endif cloog-bootstrap
14431 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
14432 maybe-configure-stage2-cloog:
14433 @if cloog-bootstrap
14434 maybe-configure-stage2-cloog: configure-stage2-cloog
14435 configure-stage2-cloog:
14436 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14438 @r=`${PWD_COMMAND}`; export r; \
14439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14440 TFLAGS="$(STAGE2_TFLAGS)"; \
14441 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14442 $(HOST_EXPORTS) \
14443 $(POSTSTAGE1_HOST_EXPORTS) \
14444 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14445 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14446 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14447 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
14448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14449 cd $(HOST_SUBDIR)/cloog || exit 1; \
14450 case $(srcdir) in \
14451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14452 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14454 esac; \
14455 module_srcdir=cloog; \
14456 $(SHELL) $$s/$$module_srcdir/configure \
14457 --srcdir=$${topdir}/$$module_srcdir \
14458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14459 --target=${target_alias} \
14460 --with-build-libsubdir=$(HOST_SUBDIR) \
14461 $(STAGE2_CONFIGURE_FLAGS) \
14462 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14463 @endif cloog-bootstrap
14465 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
14466 maybe-configure-stage3-cloog:
14467 @if cloog-bootstrap
14468 maybe-configure-stage3-cloog: configure-stage3-cloog
14469 configure-stage3-cloog:
14470 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14472 @r=`${PWD_COMMAND}`; export r; \
14473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14474 TFLAGS="$(STAGE3_TFLAGS)"; \
14475 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14476 $(HOST_EXPORTS) \
14477 $(POSTSTAGE1_HOST_EXPORTS) \
14478 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14479 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14480 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14481 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
14482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14483 cd $(HOST_SUBDIR)/cloog || exit 1; \
14484 case $(srcdir) in \
14485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14486 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14488 esac; \
14489 module_srcdir=cloog; \
14490 $(SHELL) $$s/$$module_srcdir/configure \
14491 --srcdir=$${topdir}/$$module_srcdir \
14492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14493 --target=${target_alias} \
14494 --with-build-libsubdir=$(HOST_SUBDIR) \
14495 $(STAGE3_CONFIGURE_FLAGS) \
14496 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14497 @endif cloog-bootstrap
14499 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14500 maybe-configure-stage4-cloog:
14501 @if cloog-bootstrap
14502 maybe-configure-stage4-cloog: configure-stage4-cloog
14503 configure-stage4-cloog:
14504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14506 @r=`${PWD_COMMAND}`; export r; \
14507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14508 TFLAGS="$(STAGE4_TFLAGS)"; \
14509 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14510 $(HOST_EXPORTS) \
14511 $(POSTSTAGE1_HOST_EXPORTS) \
14512 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14513 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14514 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14515 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14517 cd $(HOST_SUBDIR)/cloog || exit 1; \
14518 case $(srcdir) in \
14519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14520 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14522 esac; \
14523 module_srcdir=cloog; \
14524 $(SHELL) $$s/$$module_srcdir/configure \
14525 --srcdir=$${topdir}/$$module_srcdir \
14526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14527 --target=${target_alias} \
14528 --with-build-libsubdir=$(HOST_SUBDIR) \
14529 $(STAGE4_CONFIGURE_FLAGS) \
14530 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14531 @endif cloog-bootstrap
14533 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14534 maybe-configure-stageprofile-cloog:
14535 @if cloog-bootstrap
14536 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14537 configure-stageprofile-cloog:
14538 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14539 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14540 @r=`${PWD_COMMAND}`; export r; \
14541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14542 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14543 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14544 $(HOST_EXPORTS) \
14545 $(POSTSTAGE1_HOST_EXPORTS) \
14546 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14547 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14548 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14549 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14551 cd $(HOST_SUBDIR)/cloog || exit 1; \
14552 case $(srcdir) in \
14553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14554 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14556 esac; \
14557 module_srcdir=cloog; \
14558 $(SHELL) $$s/$$module_srcdir/configure \
14559 --srcdir=$${topdir}/$$module_srcdir \
14560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14561 --target=${target_alias} \
14562 --with-build-libsubdir=$(HOST_SUBDIR) \
14563 $(STAGEprofile_CONFIGURE_FLAGS) \
14564 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14565 @endif cloog-bootstrap
14567 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14568 maybe-configure-stagefeedback-cloog:
14569 @if cloog-bootstrap
14570 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14571 configure-stagefeedback-cloog:
14572 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14574 @r=`${PWD_COMMAND}`; export r; \
14575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14576 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14577 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14578 $(HOST_EXPORTS) \
14579 $(POSTSTAGE1_HOST_EXPORTS) \
14580 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14581 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14582 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14583 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14585 cd $(HOST_SUBDIR)/cloog || exit 1; \
14586 case $(srcdir) in \
14587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14588 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14590 esac; \
14591 module_srcdir=cloog; \
14592 $(SHELL) $$s/$$module_srcdir/configure \
14593 --srcdir=$${topdir}/$$module_srcdir \
14594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14595 --target=${target_alias} \
14596 --with-build-libsubdir=$(HOST_SUBDIR) \
14597 $(STAGEfeedback_CONFIGURE_FLAGS) \
14598 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14599 @endif cloog-bootstrap
14605 .PHONY: all-cloog maybe-all-cloog
14606 maybe-all-cloog:
14607 @if gcc-bootstrap
14608 all-cloog: stage_current
14609 @endif gcc-bootstrap
14610 @if cloog
14611 TARGET-cloog=all
14612 maybe-all-cloog: all-cloog
14613 all-cloog: configure-cloog
14614 @r=`${PWD_COMMAND}`; export r; \
14615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14616 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14617 (cd $(HOST_SUBDIR)/cloog && \
14618 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14619 $(TARGET-cloog))
14620 @endif cloog
14624 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14625 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14626 maybe-all-stage1-cloog:
14627 maybe-clean-stage1-cloog:
14628 @if cloog-bootstrap
14629 maybe-all-stage1-cloog: all-stage1-cloog
14630 all-stage1: all-stage1-cloog
14631 TARGET-stage1-cloog = $(TARGET-cloog)
14632 all-stage1-cloog: configure-stage1-cloog
14633 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14634 @r=`${PWD_COMMAND}`; export r; \
14635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 TFLAGS="$(STAGE1_TFLAGS)"; \
14637 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14638 cd $(HOST_SUBDIR)/cloog && \
14639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14640 CFLAGS="$(STAGE1_CFLAGS)" \
14641 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14642 LIBCFLAGS="$(LIBCFLAGS)" \
14643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14646 $(EXTRA_HOST_FLAGS) \
14647 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14648 TFLAGS="$(STAGE1_TFLAGS)" \
14649 $(TARGET-stage1-cloog)
14651 maybe-clean-stage1-cloog: clean-stage1-cloog
14652 clean-stage1: clean-stage1-cloog
14653 clean-stage1-cloog:
14654 @if [ $(current_stage) = stage1 ]; then \
14655 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14656 else \
14657 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14658 $(MAKE) stage1-start; \
14659 fi; \
14660 cd $(HOST_SUBDIR)/cloog && \
14661 $(MAKE) $(EXTRA_HOST_FLAGS) \
14662 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14663 @endif cloog-bootstrap
14666 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14667 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14668 maybe-all-stage2-cloog:
14669 maybe-clean-stage2-cloog:
14670 @if cloog-bootstrap
14671 maybe-all-stage2-cloog: all-stage2-cloog
14672 all-stage2: all-stage2-cloog
14673 TARGET-stage2-cloog = $(TARGET-cloog)
14674 all-stage2-cloog: configure-stage2-cloog
14675 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14676 @r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 TFLAGS="$(STAGE2_TFLAGS)"; \
14679 $(HOST_EXPORTS) \
14680 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14681 cd $(HOST_SUBDIR)/cloog && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14683 CFLAGS="$(STAGE2_CFLAGS)" \
14684 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14685 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14690 TFLAGS="$(STAGE2_TFLAGS)" \
14691 $(TARGET-stage2-cloog)
14693 maybe-clean-stage2-cloog: clean-stage2-cloog
14694 clean-stage2: clean-stage2-cloog
14695 clean-stage2-cloog:
14696 @if [ $(current_stage) = stage2 ]; then \
14697 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14698 else \
14699 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14700 $(MAKE) stage2-start; \
14701 fi; \
14702 cd $(HOST_SUBDIR)/cloog && \
14703 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14704 @endif cloog-bootstrap
14707 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14708 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14709 maybe-all-stage3-cloog:
14710 maybe-clean-stage3-cloog:
14711 @if cloog-bootstrap
14712 maybe-all-stage3-cloog: all-stage3-cloog
14713 all-stage3: all-stage3-cloog
14714 TARGET-stage3-cloog = $(TARGET-cloog)
14715 all-stage3-cloog: configure-stage3-cloog
14716 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14717 @r=`${PWD_COMMAND}`; export r; \
14718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14719 TFLAGS="$(STAGE3_TFLAGS)"; \
14720 $(HOST_EXPORTS) \
14721 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14722 cd $(HOST_SUBDIR)/cloog && \
14723 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14724 CFLAGS="$(STAGE3_CFLAGS)" \
14725 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14726 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14730 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14731 TFLAGS="$(STAGE3_TFLAGS)" \
14732 $(TARGET-stage3-cloog)
14734 maybe-clean-stage3-cloog: clean-stage3-cloog
14735 clean-stage3: clean-stage3-cloog
14736 clean-stage3-cloog:
14737 @if [ $(current_stage) = stage3 ]; then \
14738 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14739 else \
14740 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14741 $(MAKE) stage3-start; \
14742 fi; \
14743 cd $(HOST_SUBDIR)/cloog && \
14744 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14745 @endif cloog-bootstrap
14748 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14749 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14750 maybe-all-stage4-cloog:
14751 maybe-clean-stage4-cloog:
14752 @if cloog-bootstrap
14753 maybe-all-stage4-cloog: all-stage4-cloog
14754 all-stage4: all-stage4-cloog
14755 TARGET-stage4-cloog = $(TARGET-cloog)
14756 all-stage4-cloog: configure-stage4-cloog
14757 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14758 @r=`${PWD_COMMAND}`; export r; \
14759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14760 TFLAGS="$(STAGE4_TFLAGS)"; \
14761 $(HOST_EXPORTS) \
14762 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14763 cd $(HOST_SUBDIR)/cloog && \
14764 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14765 CFLAGS="$(STAGE4_CFLAGS)" \
14766 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14767 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14768 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14769 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14770 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14771 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14772 TFLAGS="$(STAGE4_TFLAGS)" \
14773 $(TARGET-stage4-cloog)
14775 maybe-clean-stage4-cloog: clean-stage4-cloog
14776 clean-stage4: clean-stage4-cloog
14777 clean-stage4-cloog:
14778 @if [ $(current_stage) = stage4 ]; then \
14779 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14780 else \
14781 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14782 $(MAKE) stage4-start; \
14783 fi; \
14784 cd $(HOST_SUBDIR)/cloog && \
14785 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14786 @endif cloog-bootstrap
14789 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14790 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14791 maybe-all-stageprofile-cloog:
14792 maybe-clean-stageprofile-cloog:
14793 @if cloog-bootstrap
14794 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14795 all-stageprofile: all-stageprofile-cloog
14796 TARGET-stageprofile-cloog = $(TARGET-cloog)
14797 all-stageprofile-cloog: configure-stageprofile-cloog
14798 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14799 @r=`${PWD_COMMAND}`; export r; \
14800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14801 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14802 $(HOST_EXPORTS) \
14803 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14804 cd $(HOST_SUBDIR)/cloog && \
14805 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14806 CFLAGS="$(STAGEprofile_CFLAGS)" \
14807 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14808 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14809 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14810 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14811 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14812 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14813 TFLAGS="$(STAGEprofile_TFLAGS)" \
14814 $(TARGET-stageprofile-cloog)
14816 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14817 clean-stageprofile: clean-stageprofile-cloog
14818 clean-stageprofile-cloog:
14819 @if [ $(current_stage) = stageprofile ]; then \
14820 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14821 else \
14822 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14823 $(MAKE) stageprofile-start; \
14824 fi; \
14825 cd $(HOST_SUBDIR)/cloog && \
14826 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14827 @endif cloog-bootstrap
14830 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14831 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14832 maybe-all-stagefeedback-cloog:
14833 maybe-clean-stagefeedback-cloog:
14834 @if cloog-bootstrap
14835 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14836 all-stagefeedback: all-stagefeedback-cloog
14837 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14838 all-stagefeedback-cloog: configure-stagefeedback-cloog
14839 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14840 @r=`${PWD_COMMAND}`; export r; \
14841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14842 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14843 $(HOST_EXPORTS) \
14844 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14845 cd $(HOST_SUBDIR)/cloog && \
14846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14847 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14848 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14849 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14850 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14851 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14852 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14853 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14854 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14855 $(TARGET-stagefeedback-cloog)
14857 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14858 clean-stagefeedback: clean-stagefeedback-cloog
14859 clean-stagefeedback-cloog:
14860 @if [ $(current_stage) = stagefeedback ]; then \
14861 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14862 else \
14863 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14864 $(MAKE) stagefeedback-start; \
14865 fi; \
14866 cd $(HOST_SUBDIR)/cloog && \
14867 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14868 @endif cloog-bootstrap
14874 .PHONY: check-cloog maybe-check-cloog
14875 maybe-check-cloog:
14876 @if cloog
14877 maybe-check-cloog: check-cloog
14879 check-cloog:
14880 @: $(MAKE); $(unstage)
14881 @r=`${PWD_COMMAND}`; export r; \
14882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14883 $(HOST_EXPORTS) \
14884 (cd $(HOST_SUBDIR)/cloog && \
14885 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14887 @endif cloog
14889 .PHONY: install-cloog maybe-install-cloog
14890 maybe-install-cloog:
14891 @if cloog
14892 maybe-install-cloog: install-cloog
14894 install-cloog:
14896 @endif cloog
14898 .PHONY: install-strip-cloog maybe-install-strip-cloog
14899 maybe-install-strip-cloog:
14900 @if cloog
14901 maybe-install-strip-cloog: install-strip-cloog
14903 install-strip-cloog:
14905 @endif cloog
14907 # Other targets (info, dvi, pdf, etc.)
14909 .PHONY: maybe-info-cloog info-cloog
14910 maybe-info-cloog:
14911 @if cloog
14912 maybe-info-cloog: info-cloog
14914 info-cloog: \
14915 configure-cloog
14916 @[ -f ./cloog/Makefile ] || exit 0; \
14917 r=`${PWD_COMMAND}`; export r; \
14918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14919 $(HOST_EXPORTS) \
14920 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14922 done; \
14923 echo "Doing info in cloog" ; \
14924 (cd $(HOST_SUBDIR)/cloog && \
14925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14927 "RANLIB=$${RANLIB}" \
14928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14929 info) \
14930 || exit 1
14932 @endif cloog
14934 .PHONY: maybe-dvi-cloog dvi-cloog
14935 maybe-dvi-cloog:
14936 @if cloog
14937 maybe-dvi-cloog: dvi-cloog
14939 dvi-cloog: \
14940 configure-cloog
14941 @[ -f ./cloog/Makefile ] || exit 0; \
14942 r=`${PWD_COMMAND}`; export r; \
14943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14944 $(HOST_EXPORTS) \
14945 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14947 done; \
14948 echo "Doing dvi in cloog" ; \
14949 (cd $(HOST_SUBDIR)/cloog && \
14950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14952 "RANLIB=$${RANLIB}" \
14953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14954 dvi) \
14955 || exit 1
14957 @endif cloog
14959 .PHONY: maybe-pdf-cloog pdf-cloog
14960 maybe-pdf-cloog:
14961 @if cloog
14962 maybe-pdf-cloog: pdf-cloog
14964 pdf-cloog: \
14965 configure-cloog
14966 @[ -f ./cloog/Makefile ] || exit 0; \
14967 r=`${PWD_COMMAND}`; export r; \
14968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14969 $(HOST_EXPORTS) \
14970 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14972 done; \
14973 echo "Doing pdf in cloog" ; \
14974 (cd $(HOST_SUBDIR)/cloog && \
14975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14977 "RANLIB=$${RANLIB}" \
14978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14979 pdf) \
14980 || exit 1
14982 @endif cloog
14984 .PHONY: maybe-html-cloog html-cloog
14985 maybe-html-cloog:
14986 @if cloog
14987 maybe-html-cloog: html-cloog
14989 html-cloog: \
14990 configure-cloog
14991 @[ -f ./cloog/Makefile ] || exit 0; \
14992 r=`${PWD_COMMAND}`; export r; \
14993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14994 $(HOST_EXPORTS) \
14995 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14997 done; \
14998 echo "Doing html in cloog" ; \
14999 (cd $(HOST_SUBDIR)/cloog && \
15000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15002 "RANLIB=$${RANLIB}" \
15003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15004 html) \
15005 || exit 1
15007 @endif cloog
15009 .PHONY: maybe-TAGS-cloog TAGS-cloog
15010 maybe-TAGS-cloog:
15011 @if cloog
15012 maybe-TAGS-cloog: TAGS-cloog
15014 TAGS-cloog: \
15015 configure-cloog
15016 @[ -f ./cloog/Makefile ] || exit 0; \
15017 r=`${PWD_COMMAND}`; export r; \
15018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 $(HOST_EXPORTS) \
15020 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15022 done; \
15023 echo "Doing TAGS in cloog" ; \
15024 (cd $(HOST_SUBDIR)/cloog && \
15025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15027 "RANLIB=$${RANLIB}" \
15028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15029 TAGS) \
15030 || exit 1
15032 @endif cloog
15034 .PHONY: maybe-install-info-cloog install-info-cloog
15035 maybe-install-info-cloog:
15036 @if cloog
15037 maybe-install-info-cloog: install-info-cloog
15039 install-info-cloog: \
15040 configure-cloog \
15041 info-cloog
15042 @[ -f ./cloog/Makefile ] || exit 0; \
15043 r=`${PWD_COMMAND}`; export r; \
15044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15045 $(HOST_EXPORTS) \
15046 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15048 done; \
15049 echo "Doing install-info in cloog" ; \
15050 (cd $(HOST_SUBDIR)/cloog && \
15051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15053 "RANLIB=$${RANLIB}" \
15054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15055 install-info) \
15056 || exit 1
15058 @endif cloog
15060 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
15061 maybe-install-pdf-cloog:
15062 @if cloog
15063 maybe-install-pdf-cloog: install-pdf-cloog
15065 install-pdf-cloog: \
15066 configure-cloog \
15067 pdf-cloog
15068 @[ -f ./cloog/Makefile ] || exit 0; \
15069 r=`${PWD_COMMAND}`; export r; \
15070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15071 $(HOST_EXPORTS) \
15072 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15074 done; \
15075 echo "Doing install-pdf in cloog" ; \
15076 (cd $(HOST_SUBDIR)/cloog && \
15077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15079 "RANLIB=$${RANLIB}" \
15080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15081 install-pdf) \
15082 || exit 1
15084 @endif cloog
15086 .PHONY: maybe-install-html-cloog install-html-cloog
15087 maybe-install-html-cloog:
15088 @if cloog
15089 maybe-install-html-cloog: install-html-cloog
15091 install-html-cloog: \
15092 configure-cloog \
15093 html-cloog
15094 @[ -f ./cloog/Makefile ] || exit 0; \
15095 r=`${PWD_COMMAND}`; export r; \
15096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15097 $(HOST_EXPORTS) \
15098 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15100 done; \
15101 echo "Doing install-html in cloog" ; \
15102 (cd $(HOST_SUBDIR)/cloog && \
15103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15105 "RANLIB=$${RANLIB}" \
15106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15107 install-html) \
15108 || exit 1
15110 @endif cloog
15112 .PHONY: maybe-installcheck-cloog installcheck-cloog
15113 maybe-installcheck-cloog:
15114 @if cloog
15115 maybe-installcheck-cloog: installcheck-cloog
15117 installcheck-cloog: \
15118 configure-cloog
15119 @[ -f ./cloog/Makefile ] || exit 0; \
15120 r=`${PWD_COMMAND}`; export r; \
15121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15122 $(HOST_EXPORTS) \
15123 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15125 done; \
15126 echo "Doing installcheck in cloog" ; \
15127 (cd $(HOST_SUBDIR)/cloog && \
15128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15130 "RANLIB=$${RANLIB}" \
15131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15132 installcheck) \
15133 || exit 1
15135 @endif cloog
15137 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
15138 maybe-mostlyclean-cloog:
15139 @if cloog
15140 maybe-mostlyclean-cloog: mostlyclean-cloog
15142 mostlyclean-cloog:
15143 @[ -f ./cloog/Makefile ] || exit 0; \
15144 r=`${PWD_COMMAND}`; export r; \
15145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15146 $(HOST_EXPORTS) \
15147 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15149 done; \
15150 echo "Doing mostlyclean in cloog" ; \
15151 (cd $(HOST_SUBDIR)/cloog && \
15152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15154 "RANLIB=$${RANLIB}" \
15155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15156 mostlyclean) \
15157 || exit 1
15159 @endif cloog
15161 .PHONY: maybe-clean-cloog clean-cloog
15162 maybe-clean-cloog:
15163 @if cloog
15164 maybe-clean-cloog: clean-cloog
15166 clean-cloog:
15167 @[ -f ./cloog/Makefile ] || exit 0; \
15168 r=`${PWD_COMMAND}`; export r; \
15169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15170 $(HOST_EXPORTS) \
15171 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15173 done; \
15174 echo "Doing clean in cloog" ; \
15175 (cd $(HOST_SUBDIR)/cloog && \
15176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15178 "RANLIB=$${RANLIB}" \
15179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15180 clean) \
15181 || exit 1
15183 @endif cloog
15185 .PHONY: maybe-distclean-cloog distclean-cloog
15186 maybe-distclean-cloog:
15187 @if cloog
15188 maybe-distclean-cloog: distclean-cloog
15190 distclean-cloog:
15191 @[ -f ./cloog/Makefile ] || exit 0; \
15192 r=`${PWD_COMMAND}`; export r; \
15193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15194 $(HOST_EXPORTS) \
15195 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15197 done; \
15198 echo "Doing distclean in cloog" ; \
15199 (cd $(HOST_SUBDIR)/cloog && \
15200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15202 "RANLIB=$${RANLIB}" \
15203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15204 distclean) \
15205 || exit 1
15207 @endif cloog
15209 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
15210 maybe-maintainer-clean-cloog:
15211 @if cloog
15212 maybe-maintainer-clean-cloog: maintainer-clean-cloog
15214 maintainer-clean-cloog:
15215 @[ -f ./cloog/Makefile ] || exit 0; \
15216 r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 $(HOST_EXPORTS) \
15219 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15221 done; \
15222 echo "Doing maintainer-clean in cloog" ; \
15223 (cd $(HOST_SUBDIR)/cloog && \
15224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15226 "RANLIB=$${RANLIB}" \
15227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15228 maintainer-clean) \
15229 || exit 1
15231 @endif cloog
15235 .PHONY: configure-libelf maybe-configure-libelf
15236 maybe-configure-libelf:
15237 @if gcc-bootstrap
15238 configure-libelf: stage_current
15239 @endif gcc-bootstrap
15240 @if libelf
15241 maybe-configure-libelf: configure-libelf
15242 configure-libelf:
15243 @r=`${PWD_COMMAND}`; export r; \
15244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15245 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15247 $(HOST_EXPORTS) \
15248 echo Configuring in $(HOST_SUBDIR)/libelf; \
15249 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
15250 case $(srcdir) in \
15251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15252 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15254 esac; \
15255 module_srcdir=libelf; \
15256 $(SHELL) \
15257 $$s/$$module_srcdir/configure \
15258 --srcdir=$${topdir}/$$module_srcdir \
15259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15260 --target=${target_alias} --disable-shared \
15261 || exit 1
15262 @endif libelf
15266 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
15267 maybe-configure-stage1-libelf:
15268 @if libelf-bootstrap
15269 maybe-configure-stage1-libelf: configure-stage1-libelf
15270 configure-stage1-libelf:
15271 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15273 @r=`${PWD_COMMAND}`; export r; \
15274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15275 TFLAGS="$(STAGE1_TFLAGS)"; \
15276 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15277 $(HOST_EXPORTS) \
15278 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15279 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15280 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15281 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
15282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15283 cd $(HOST_SUBDIR)/libelf || exit 1; \
15284 case $(srcdir) in \
15285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15286 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15288 esac; \
15289 module_srcdir=libelf; \
15290 $(SHELL) $$s/$$module_srcdir/configure \
15291 --srcdir=$${topdir}/$$module_srcdir \
15292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15293 --target=${target_alias} \
15295 $(STAGE1_CONFIGURE_FLAGS) \
15296 --disable-shared
15297 @endif libelf-bootstrap
15299 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
15300 maybe-configure-stage2-libelf:
15301 @if libelf-bootstrap
15302 maybe-configure-stage2-libelf: configure-stage2-libelf
15303 configure-stage2-libelf:
15304 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15306 @r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 TFLAGS="$(STAGE2_TFLAGS)"; \
15309 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15310 $(HOST_EXPORTS) \
15311 $(POSTSTAGE1_HOST_EXPORTS) \
15312 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15313 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15314 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15315 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
15316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15317 cd $(HOST_SUBDIR)/libelf || exit 1; \
15318 case $(srcdir) in \
15319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15320 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15322 esac; \
15323 module_srcdir=libelf; \
15324 $(SHELL) $$s/$$module_srcdir/configure \
15325 --srcdir=$${topdir}/$$module_srcdir \
15326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15327 --target=${target_alias} \
15328 --with-build-libsubdir=$(HOST_SUBDIR) \
15329 $(STAGE2_CONFIGURE_FLAGS) \
15330 --disable-shared
15331 @endif libelf-bootstrap
15333 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
15334 maybe-configure-stage3-libelf:
15335 @if libelf-bootstrap
15336 maybe-configure-stage3-libelf: configure-stage3-libelf
15337 configure-stage3-libelf:
15338 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15339 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15340 @r=`${PWD_COMMAND}`; export r; \
15341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15342 TFLAGS="$(STAGE3_TFLAGS)"; \
15343 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15344 $(HOST_EXPORTS) \
15345 $(POSTSTAGE1_HOST_EXPORTS) \
15346 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15347 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15348 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15349 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
15350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15351 cd $(HOST_SUBDIR)/libelf || exit 1; \
15352 case $(srcdir) in \
15353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15354 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15356 esac; \
15357 module_srcdir=libelf; \
15358 $(SHELL) $$s/$$module_srcdir/configure \
15359 --srcdir=$${topdir}/$$module_srcdir \
15360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15361 --target=${target_alias} \
15362 --with-build-libsubdir=$(HOST_SUBDIR) \
15363 $(STAGE3_CONFIGURE_FLAGS) \
15364 --disable-shared
15365 @endif libelf-bootstrap
15367 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
15368 maybe-configure-stage4-libelf:
15369 @if libelf-bootstrap
15370 maybe-configure-stage4-libelf: configure-stage4-libelf
15371 configure-stage4-libelf:
15372 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15374 @r=`${PWD_COMMAND}`; export r; \
15375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15376 TFLAGS="$(STAGE4_TFLAGS)"; \
15377 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15378 $(HOST_EXPORTS) \
15379 $(POSTSTAGE1_HOST_EXPORTS) \
15380 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15381 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15382 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15383 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
15384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15385 cd $(HOST_SUBDIR)/libelf || exit 1; \
15386 case $(srcdir) in \
15387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15388 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15390 esac; \
15391 module_srcdir=libelf; \
15392 $(SHELL) $$s/$$module_srcdir/configure \
15393 --srcdir=$${topdir}/$$module_srcdir \
15394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15395 --target=${target_alias} \
15396 --with-build-libsubdir=$(HOST_SUBDIR) \
15397 $(STAGE4_CONFIGURE_FLAGS) \
15398 --disable-shared
15399 @endif libelf-bootstrap
15401 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
15402 maybe-configure-stageprofile-libelf:
15403 @if libelf-bootstrap
15404 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
15405 configure-stageprofile-libelf:
15406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15407 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15408 @r=`${PWD_COMMAND}`; export r; \
15409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15411 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15412 $(HOST_EXPORTS) \
15413 $(POSTSTAGE1_HOST_EXPORTS) \
15414 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15415 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15416 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15417 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
15418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15419 cd $(HOST_SUBDIR)/libelf || exit 1; \
15420 case $(srcdir) in \
15421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15422 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15424 esac; \
15425 module_srcdir=libelf; \
15426 $(SHELL) $$s/$$module_srcdir/configure \
15427 --srcdir=$${topdir}/$$module_srcdir \
15428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15429 --target=${target_alias} \
15430 --with-build-libsubdir=$(HOST_SUBDIR) \
15431 $(STAGEprofile_CONFIGURE_FLAGS) \
15432 --disable-shared
15433 @endif libelf-bootstrap
15435 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
15436 maybe-configure-stagefeedback-libelf:
15437 @if libelf-bootstrap
15438 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
15439 configure-stagefeedback-libelf:
15440 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15442 @r=`${PWD_COMMAND}`; export r; \
15443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15444 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15445 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15446 $(HOST_EXPORTS) \
15447 $(POSTSTAGE1_HOST_EXPORTS) \
15448 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15449 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15450 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15451 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
15452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15453 cd $(HOST_SUBDIR)/libelf || exit 1; \
15454 case $(srcdir) in \
15455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15456 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15458 esac; \
15459 module_srcdir=libelf; \
15460 $(SHELL) $$s/$$module_srcdir/configure \
15461 --srcdir=$${topdir}/$$module_srcdir \
15462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15463 --target=${target_alias} \
15464 --with-build-libsubdir=$(HOST_SUBDIR) \
15465 $(STAGEfeedback_CONFIGURE_FLAGS) \
15466 --disable-shared
15467 @endif libelf-bootstrap
15473 .PHONY: all-libelf maybe-all-libelf
15474 maybe-all-libelf:
15475 @if gcc-bootstrap
15476 all-libelf: stage_current
15477 @endif gcc-bootstrap
15478 @if libelf
15479 TARGET-libelf=all
15480 maybe-all-libelf: all-libelf
15481 all-libelf: configure-libelf
15482 @r=`${PWD_COMMAND}`; export r; \
15483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15484 $(HOST_EXPORTS) \
15485 (cd $(HOST_SUBDIR)/libelf && \
15486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15487 $(TARGET-libelf))
15488 @endif libelf
15492 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15493 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15494 maybe-all-stage1-libelf:
15495 maybe-clean-stage1-libelf:
15496 @if libelf-bootstrap
15497 maybe-all-stage1-libelf: all-stage1-libelf
15498 all-stage1: all-stage1-libelf
15499 TARGET-stage1-libelf = $(TARGET-libelf)
15500 all-stage1-libelf: configure-stage1-libelf
15501 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15502 @r=`${PWD_COMMAND}`; export r; \
15503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15504 TFLAGS="$(STAGE1_TFLAGS)"; \
15505 $(HOST_EXPORTS) \
15506 cd $(HOST_SUBDIR)/libelf && \
15507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15508 CFLAGS="$(STAGE1_CFLAGS)" \
15509 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15510 LIBCFLAGS="$(LIBCFLAGS)" \
15511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15514 $(EXTRA_HOST_FLAGS) \
15515 $(STAGE1_FLAGS_TO_PASS) \
15516 TFLAGS="$(STAGE1_TFLAGS)" \
15517 $(TARGET-stage1-libelf)
15519 maybe-clean-stage1-libelf: clean-stage1-libelf
15520 clean-stage1: clean-stage1-libelf
15521 clean-stage1-libelf:
15522 @if [ $(current_stage) = stage1 ]; then \
15523 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15524 else \
15525 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15526 $(MAKE) stage1-start; \
15527 fi; \
15528 cd $(HOST_SUBDIR)/libelf && \
15529 $(MAKE) $(EXTRA_HOST_FLAGS) \
15530 $(STAGE1_FLAGS_TO_PASS) clean
15531 @endif libelf-bootstrap
15534 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15535 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15536 maybe-all-stage2-libelf:
15537 maybe-clean-stage2-libelf:
15538 @if libelf-bootstrap
15539 maybe-all-stage2-libelf: all-stage2-libelf
15540 all-stage2: all-stage2-libelf
15541 TARGET-stage2-libelf = $(TARGET-libelf)
15542 all-stage2-libelf: configure-stage2-libelf
15543 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15544 @r=`${PWD_COMMAND}`; export r; \
15545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15546 TFLAGS="$(STAGE2_TFLAGS)"; \
15547 $(HOST_EXPORTS) \
15548 $(POSTSTAGE1_HOST_EXPORTS) \
15549 cd $(HOST_SUBDIR)/libelf && \
15550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15551 CFLAGS="$(STAGE2_CFLAGS)" \
15552 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15553 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15554 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15555 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15556 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15557 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15558 TFLAGS="$(STAGE2_TFLAGS)" \
15559 $(TARGET-stage2-libelf)
15561 maybe-clean-stage2-libelf: clean-stage2-libelf
15562 clean-stage2: clean-stage2-libelf
15563 clean-stage2-libelf:
15564 @if [ $(current_stage) = stage2 ]; then \
15565 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15566 else \
15567 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15568 $(MAKE) stage2-start; \
15569 fi; \
15570 cd $(HOST_SUBDIR)/libelf && \
15571 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15572 @endif libelf-bootstrap
15575 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15576 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15577 maybe-all-stage3-libelf:
15578 maybe-clean-stage3-libelf:
15579 @if libelf-bootstrap
15580 maybe-all-stage3-libelf: all-stage3-libelf
15581 all-stage3: all-stage3-libelf
15582 TARGET-stage3-libelf = $(TARGET-libelf)
15583 all-stage3-libelf: configure-stage3-libelf
15584 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15585 @r=`${PWD_COMMAND}`; export r; \
15586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15587 TFLAGS="$(STAGE3_TFLAGS)"; \
15588 $(HOST_EXPORTS) \
15589 $(POSTSTAGE1_HOST_EXPORTS) \
15590 cd $(HOST_SUBDIR)/libelf && \
15591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15592 CFLAGS="$(STAGE3_CFLAGS)" \
15593 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15594 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15599 TFLAGS="$(STAGE3_TFLAGS)" \
15600 $(TARGET-stage3-libelf)
15602 maybe-clean-stage3-libelf: clean-stage3-libelf
15603 clean-stage3: clean-stage3-libelf
15604 clean-stage3-libelf:
15605 @if [ $(current_stage) = stage3 ]; then \
15606 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15607 else \
15608 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15609 $(MAKE) stage3-start; \
15610 fi; \
15611 cd $(HOST_SUBDIR)/libelf && \
15612 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15613 @endif libelf-bootstrap
15616 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15617 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15618 maybe-all-stage4-libelf:
15619 maybe-clean-stage4-libelf:
15620 @if libelf-bootstrap
15621 maybe-all-stage4-libelf: all-stage4-libelf
15622 all-stage4: all-stage4-libelf
15623 TARGET-stage4-libelf = $(TARGET-libelf)
15624 all-stage4-libelf: configure-stage4-libelf
15625 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15626 @r=`${PWD_COMMAND}`; export r; \
15627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15628 TFLAGS="$(STAGE4_TFLAGS)"; \
15629 $(HOST_EXPORTS) \
15630 $(POSTSTAGE1_HOST_EXPORTS) \
15631 cd $(HOST_SUBDIR)/libelf && \
15632 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15633 CFLAGS="$(STAGE4_CFLAGS)" \
15634 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15635 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15636 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15637 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15638 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15639 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15640 TFLAGS="$(STAGE4_TFLAGS)" \
15641 $(TARGET-stage4-libelf)
15643 maybe-clean-stage4-libelf: clean-stage4-libelf
15644 clean-stage4: clean-stage4-libelf
15645 clean-stage4-libelf:
15646 @if [ $(current_stage) = stage4 ]; then \
15647 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15648 else \
15649 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15650 $(MAKE) stage4-start; \
15651 fi; \
15652 cd $(HOST_SUBDIR)/libelf && \
15653 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15654 @endif libelf-bootstrap
15657 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15658 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15659 maybe-all-stageprofile-libelf:
15660 maybe-clean-stageprofile-libelf:
15661 @if libelf-bootstrap
15662 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15663 all-stageprofile: all-stageprofile-libelf
15664 TARGET-stageprofile-libelf = $(TARGET-libelf)
15665 all-stageprofile-libelf: configure-stageprofile-libelf
15666 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15667 @r=`${PWD_COMMAND}`; export r; \
15668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15669 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15670 $(HOST_EXPORTS) \
15671 $(POSTSTAGE1_HOST_EXPORTS) \
15672 cd $(HOST_SUBDIR)/libelf && \
15673 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15674 CFLAGS="$(STAGEprofile_CFLAGS)" \
15675 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15676 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15680 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15681 TFLAGS="$(STAGEprofile_TFLAGS)" \
15682 $(TARGET-stageprofile-libelf)
15684 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15685 clean-stageprofile: clean-stageprofile-libelf
15686 clean-stageprofile-libelf:
15687 @if [ $(current_stage) = stageprofile ]; then \
15688 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15689 else \
15690 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15691 $(MAKE) stageprofile-start; \
15692 fi; \
15693 cd $(HOST_SUBDIR)/libelf && \
15694 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15695 @endif libelf-bootstrap
15698 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15699 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15700 maybe-all-stagefeedback-libelf:
15701 maybe-clean-stagefeedback-libelf:
15702 @if libelf-bootstrap
15703 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15704 all-stagefeedback: all-stagefeedback-libelf
15705 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15706 all-stagefeedback-libelf: configure-stagefeedback-libelf
15707 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15708 @r=`${PWD_COMMAND}`; export r; \
15709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15710 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15711 $(HOST_EXPORTS) \
15712 $(POSTSTAGE1_HOST_EXPORTS) \
15713 cd $(HOST_SUBDIR)/libelf && \
15714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15715 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15716 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15717 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15721 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15722 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15723 $(TARGET-stagefeedback-libelf)
15725 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15726 clean-stagefeedback: clean-stagefeedback-libelf
15727 clean-stagefeedback-libelf:
15728 @if [ $(current_stage) = stagefeedback ]; then \
15729 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15730 else \
15731 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15732 $(MAKE) stagefeedback-start; \
15733 fi; \
15734 cd $(HOST_SUBDIR)/libelf && \
15735 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15736 @endif libelf-bootstrap
15742 .PHONY: check-libelf maybe-check-libelf
15743 maybe-check-libelf:
15744 @if libelf
15745 maybe-check-libelf: check-libelf
15747 check-libelf:
15748 @: $(MAKE); $(unstage)
15749 @r=`${PWD_COMMAND}`; export r; \
15750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15751 $(HOST_EXPORTS) \
15752 (cd $(HOST_SUBDIR)/libelf && \
15753 $(MAKE) $(FLAGS_TO_PASS) check)
15755 @endif libelf
15757 .PHONY: install-libelf maybe-install-libelf
15758 maybe-install-libelf:
15759 @if libelf
15760 maybe-install-libelf: install-libelf
15762 install-libelf:
15764 @endif libelf
15766 .PHONY: install-strip-libelf maybe-install-strip-libelf
15767 maybe-install-strip-libelf:
15768 @if libelf
15769 maybe-install-strip-libelf: install-strip-libelf
15771 install-strip-libelf:
15773 @endif libelf
15775 # Other targets (info, dvi, pdf, etc.)
15777 .PHONY: maybe-info-libelf info-libelf
15778 maybe-info-libelf:
15779 @if libelf
15780 maybe-info-libelf: info-libelf
15782 info-libelf: \
15783 configure-libelf
15784 @[ -f ./libelf/Makefile ] || exit 0; \
15785 r=`${PWD_COMMAND}`; export r; \
15786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787 $(HOST_EXPORTS) \
15788 for flag in $(EXTRA_HOST_FLAGS) ; do \
15789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15790 done; \
15791 echo "Doing info in libelf" ; \
15792 (cd $(HOST_SUBDIR)/libelf && \
15793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15795 "RANLIB=$${RANLIB}" \
15796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15797 info) \
15798 || exit 1
15800 @endif libelf
15802 .PHONY: maybe-dvi-libelf dvi-libelf
15803 maybe-dvi-libelf:
15804 @if libelf
15805 maybe-dvi-libelf: dvi-libelf
15807 dvi-libelf: \
15808 configure-libelf
15809 @[ -f ./libelf/Makefile ] || exit 0; \
15810 r=`${PWD_COMMAND}`; export r; \
15811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15812 $(HOST_EXPORTS) \
15813 for flag in $(EXTRA_HOST_FLAGS) ; do \
15814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15815 done; \
15816 echo "Doing dvi in libelf" ; \
15817 (cd $(HOST_SUBDIR)/libelf && \
15818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15820 "RANLIB=$${RANLIB}" \
15821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15822 dvi) \
15823 || exit 1
15825 @endif libelf
15827 .PHONY: maybe-pdf-libelf pdf-libelf
15828 maybe-pdf-libelf:
15829 @if libelf
15830 maybe-pdf-libelf: pdf-libelf
15832 pdf-libelf: \
15833 configure-libelf
15834 @[ -f ./libelf/Makefile ] || exit 0; \
15835 r=`${PWD_COMMAND}`; export r; \
15836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15837 $(HOST_EXPORTS) \
15838 for flag in $(EXTRA_HOST_FLAGS) ; do \
15839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15840 done; \
15841 echo "Doing pdf in libelf" ; \
15842 (cd $(HOST_SUBDIR)/libelf && \
15843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15845 "RANLIB=$${RANLIB}" \
15846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15847 pdf) \
15848 || exit 1
15850 @endif libelf
15852 .PHONY: maybe-html-libelf html-libelf
15853 maybe-html-libelf:
15854 @if libelf
15855 maybe-html-libelf: html-libelf
15857 html-libelf: \
15858 configure-libelf
15859 @[ -f ./libelf/Makefile ] || exit 0; \
15860 r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 $(HOST_EXPORTS) \
15863 for flag in $(EXTRA_HOST_FLAGS) ; do \
15864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15865 done; \
15866 echo "Doing html in libelf" ; \
15867 (cd $(HOST_SUBDIR)/libelf && \
15868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15870 "RANLIB=$${RANLIB}" \
15871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15872 html) \
15873 || exit 1
15875 @endif libelf
15877 .PHONY: maybe-TAGS-libelf TAGS-libelf
15878 maybe-TAGS-libelf:
15879 @if libelf
15880 maybe-TAGS-libelf: TAGS-libelf
15882 TAGS-libelf: \
15883 configure-libelf
15884 @[ -f ./libelf/Makefile ] || exit 0; \
15885 r=`${PWD_COMMAND}`; export r; \
15886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15887 $(HOST_EXPORTS) \
15888 for flag in $(EXTRA_HOST_FLAGS) ; do \
15889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15890 done; \
15891 echo "Doing TAGS in libelf" ; \
15892 (cd $(HOST_SUBDIR)/libelf && \
15893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15895 "RANLIB=$${RANLIB}" \
15896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15897 TAGS) \
15898 || exit 1
15900 @endif libelf
15902 .PHONY: maybe-install-info-libelf install-info-libelf
15903 maybe-install-info-libelf:
15904 @if libelf
15905 maybe-install-info-libelf: install-info-libelf
15907 install-info-libelf: \
15908 configure-libelf \
15909 info-libelf
15910 @[ -f ./libelf/Makefile ] || exit 0; \
15911 r=`${PWD_COMMAND}`; export r; \
15912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15913 $(HOST_EXPORTS) \
15914 for flag in $(EXTRA_HOST_FLAGS) ; do \
15915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15916 done; \
15917 echo "Doing install-info in libelf" ; \
15918 (cd $(HOST_SUBDIR)/libelf && \
15919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15921 "RANLIB=$${RANLIB}" \
15922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15923 install-info) \
15924 || exit 1
15926 @endif libelf
15928 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15929 maybe-install-pdf-libelf:
15930 @if libelf
15931 maybe-install-pdf-libelf: install-pdf-libelf
15933 install-pdf-libelf: \
15934 configure-libelf \
15935 pdf-libelf
15936 @[ -f ./libelf/Makefile ] || exit 0; \
15937 r=`${PWD_COMMAND}`; export r; \
15938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15939 $(HOST_EXPORTS) \
15940 for flag in $(EXTRA_HOST_FLAGS) ; do \
15941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15942 done; \
15943 echo "Doing install-pdf in libelf" ; \
15944 (cd $(HOST_SUBDIR)/libelf && \
15945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15947 "RANLIB=$${RANLIB}" \
15948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15949 install-pdf) \
15950 || exit 1
15952 @endif libelf
15954 .PHONY: maybe-install-html-libelf install-html-libelf
15955 maybe-install-html-libelf:
15956 @if libelf
15957 maybe-install-html-libelf: install-html-libelf
15959 install-html-libelf: \
15960 configure-libelf \
15961 html-libelf
15962 @[ -f ./libelf/Makefile ] || exit 0; \
15963 r=`${PWD_COMMAND}`; export r; \
15964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15965 $(HOST_EXPORTS) \
15966 for flag in $(EXTRA_HOST_FLAGS) ; do \
15967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15968 done; \
15969 echo "Doing install-html in libelf" ; \
15970 (cd $(HOST_SUBDIR)/libelf && \
15971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15973 "RANLIB=$${RANLIB}" \
15974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15975 install-html) \
15976 || exit 1
15978 @endif libelf
15980 .PHONY: maybe-installcheck-libelf installcheck-libelf
15981 maybe-installcheck-libelf:
15982 @if libelf
15983 maybe-installcheck-libelf: installcheck-libelf
15985 installcheck-libelf: \
15986 configure-libelf
15987 @[ -f ./libelf/Makefile ] || exit 0; \
15988 r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990 $(HOST_EXPORTS) \
15991 for flag in $(EXTRA_HOST_FLAGS) ; do \
15992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15993 done; \
15994 echo "Doing installcheck in libelf" ; \
15995 (cd $(HOST_SUBDIR)/libelf && \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15998 "RANLIB=$${RANLIB}" \
15999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16000 installcheck) \
16001 || exit 1
16003 @endif libelf
16005 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
16006 maybe-mostlyclean-libelf:
16007 @if libelf
16008 maybe-mostlyclean-libelf: mostlyclean-libelf
16010 mostlyclean-libelf:
16011 @[ -f ./libelf/Makefile ] || exit 0; \
16012 r=`${PWD_COMMAND}`; export r; \
16013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16014 $(HOST_EXPORTS) \
16015 for flag in $(EXTRA_HOST_FLAGS) ; do \
16016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16017 done; \
16018 echo "Doing mostlyclean in libelf" ; \
16019 (cd $(HOST_SUBDIR)/libelf && \
16020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16022 "RANLIB=$${RANLIB}" \
16023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16024 mostlyclean) \
16025 || exit 1
16027 @endif libelf
16029 .PHONY: maybe-clean-libelf clean-libelf
16030 maybe-clean-libelf:
16031 @if libelf
16032 maybe-clean-libelf: clean-libelf
16034 clean-libelf:
16035 @[ -f ./libelf/Makefile ] || exit 0; \
16036 r=`${PWD_COMMAND}`; export r; \
16037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16038 $(HOST_EXPORTS) \
16039 for flag in $(EXTRA_HOST_FLAGS) ; do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 done; \
16042 echo "Doing clean in libelf" ; \
16043 (cd $(HOST_SUBDIR)/libelf && \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16048 clean) \
16049 || exit 1
16051 @endif libelf
16053 .PHONY: maybe-distclean-libelf distclean-libelf
16054 maybe-distclean-libelf:
16055 @if libelf
16056 maybe-distclean-libelf: distclean-libelf
16058 distclean-libelf:
16059 @[ -f ./libelf/Makefile ] || exit 0; \
16060 r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 $(HOST_EXPORTS) \
16063 for flag in $(EXTRA_HOST_FLAGS) ; do \
16064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16065 done; \
16066 echo "Doing distclean in libelf" ; \
16067 (cd $(HOST_SUBDIR)/libelf && \
16068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16070 "RANLIB=$${RANLIB}" \
16071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16072 distclean) \
16073 || exit 1
16075 @endif libelf
16077 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
16078 maybe-maintainer-clean-libelf:
16079 @if libelf
16080 maybe-maintainer-clean-libelf: maintainer-clean-libelf
16082 maintainer-clean-libelf:
16083 @[ -f ./libelf/Makefile ] || exit 0; \
16084 r=`${PWD_COMMAND}`; export r; \
16085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16086 $(HOST_EXPORTS) \
16087 for flag in $(EXTRA_HOST_FLAGS) ; do \
16088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16089 done; \
16090 echo "Doing maintainer-clean in libelf" ; \
16091 (cd $(HOST_SUBDIR)/libelf && \
16092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16094 "RANLIB=$${RANLIB}" \
16095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16096 maintainer-clean) \
16097 || exit 1
16099 @endif libelf
16103 .PHONY: configure-gold maybe-configure-gold
16104 maybe-configure-gold:
16105 @if gcc-bootstrap
16106 configure-gold: stage_current
16107 @endif gcc-bootstrap
16108 @if gold
16109 maybe-configure-gold: configure-gold
16110 configure-gold:
16111 @r=`${PWD_COMMAND}`; export r; \
16112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16115 $(HOST_EXPORTS) \
16116 echo Configuring in $(HOST_SUBDIR)/gold; \
16117 cd "$(HOST_SUBDIR)/gold" || exit 1; \
16118 case $(srcdir) in \
16119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16120 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16122 esac; \
16123 module_srcdir=gold; \
16124 $(SHELL) \
16125 $$s/$$module_srcdir/configure \
16126 --srcdir=$${topdir}/$$module_srcdir \
16127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16128 --target=${target_alias} \
16129 || exit 1
16130 @endif gold
16134 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
16135 maybe-configure-stage1-gold:
16136 @if gold-bootstrap
16137 maybe-configure-stage1-gold: configure-stage1-gold
16138 configure-stage1-gold:
16139 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16140 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16141 @r=`${PWD_COMMAND}`; export r; \
16142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16143 TFLAGS="$(STAGE1_TFLAGS)"; \
16144 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16145 $(HOST_EXPORTS) \
16146 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16147 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16148 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16149 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
16150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16151 cd $(HOST_SUBDIR)/gold || exit 1; \
16152 case $(srcdir) in \
16153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16154 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16156 esac; \
16157 module_srcdir=gold; \
16158 $(SHELL) $$s/$$module_srcdir/configure \
16159 --srcdir=$${topdir}/$$module_srcdir \
16160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16161 --target=${target_alias} \
16163 $(STAGE1_CONFIGURE_FLAGS)
16164 @endif gold-bootstrap
16166 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
16167 maybe-configure-stage2-gold:
16168 @if gold-bootstrap
16169 maybe-configure-stage2-gold: configure-stage2-gold
16170 configure-stage2-gold:
16171 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16173 @r=`${PWD_COMMAND}`; export r; \
16174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16175 TFLAGS="$(STAGE2_TFLAGS)"; \
16176 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16177 $(HOST_EXPORTS) \
16178 $(POSTSTAGE1_HOST_EXPORTS) \
16179 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16180 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16181 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16182 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
16183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16184 cd $(HOST_SUBDIR)/gold || exit 1; \
16185 case $(srcdir) in \
16186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16187 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16189 esac; \
16190 module_srcdir=gold; \
16191 $(SHELL) $$s/$$module_srcdir/configure \
16192 --srcdir=$${topdir}/$$module_srcdir \
16193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16194 --target=${target_alias} \
16195 --with-build-libsubdir=$(HOST_SUBDIR) \
16196 $(STAGE2_CONFIGURE_FLAGS)
16197 @endif gold-bootstrap
16199 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
16200 maybe-configure-stage3-gold:
16201 @if gold-bootstrap
16202 maybe-configure-stage3-gold: configure-stage3-gold
16203 configure-stage3-gold:
16204 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16206 @r=`${PWD_COMMAND}`; export r; \
16207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16208 TFLAGS="$(STAGE3_TFLAGS)"; \
16209 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16210 $(HOST_EXPORTS) \
16211 $(POSTSTAGE1_HOST_EXPORTS) \
16212 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16213 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16214 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16215 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
16216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16217 cd $(HOST_SUBDIR)/gold || exit 1; \
16218 case $(srcdir) in \
16219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16220 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16222 esac; \
16223 module_srcdir=gold; \
16224 $(SHELL) $$s/$$module_srcdir/configure \
16225 --srcdir=$${topdir}/$$module_srcdir \
16226 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16227 --target=${target_alias} \
16228 --with-build-libsubdir=$(HOST_SUBDIR) \
16229 $(STAGE3_CONFIGURE_FLAGS)
16230 @endif gold-bootstrap
16232 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
16233 maybe-configure-stage4-gold:
16234 @if gold-bootstrap
16235 maybe-configure-stage4-gold: configure-stage4-gold
16236 configure-stage4-gold:
16237 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16238 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16239 @r=`${PWD_COMMAND}`; export r; \
16240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16241 TFLAGS="$(STAGE4_TFLAGS)"; \
16242 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16243 $(HOST_EXPORTS) \
16244 $(POSTSTAGE1_HOST_EXPORTS) \
16245 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16246 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16247 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16248 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
16249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16250 cd $(HOST_SUBDIR)/gold || exit 1; \
16251 case $(srcdir) in \
16252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16253 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16255 esac; \
16256 module_srcdir=gold; \
16257 $(SHELL) $$s/$$module_srcdir/configure \
16258 --srcdir=$${topdir}/$$module_srcdir \
16259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16260 --target=${target_alias} \
16261 --with-build-libsubdir=$(HOST_SUBDIR) \
16262 $(STAGE4_CONFIGURE_FLAGS)
16263 @endif gold-bootstrap
16265 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
16266 maybe-configure-stageprofile-gold:
16267 @if gold-bootstrap
16268 maybe-configure-stageprofile-gold: configure-stageprofile-gold
16269 configure-stageprofile-gold:
16270 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16272 @r=`${PWD_COMMAND}`; export r; \
16273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16275 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16276 $(HOST_EXPORTS) \
16277 $(POSTSTAGE1_HOST_EXPORTS) \
16278 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16279 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16280 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16281 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
16282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16283 cd $(HOST_SUBDIR)/gold || exit 1; \
16284 case $(srcdir) in \
16285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16286 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16288 esac; \
16289 module_srcdir=gold; \
16290 $(SHELL) $$s/$$module_srcdir/configure \
16291 --srcdir=$${topdir}/$$module_srcdir \
16292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16293 --target=${target_alias} \
16294 --with-build-libsubdir=$(HOST_SUBDIR) \
16295 $(STAGEprofile_CONFIGURE_FLAGS)
16296 @endif gold-bootstrap
16298 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
16299 maybe-configure-stagefeedback-gold:
16300 @if gold-bootstrap
16301 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
16302 configure-stagefeedback-gold:
16303 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16305 @r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16308 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16309 $(HOST_EXPORTS) \
16310 $(POSTSTAGE1_HOST_EXPORTS) \
16311 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16312 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16313 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16314 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
16315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16316 cd $(HOST_SUBDIR)/gold || exit 1; \
16317 case $(srcdir) in \
16318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16319 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16321 esac; \
16322 module_srcdir=gold; \
16323 $(SHELL) $$s/$$module_srcdir/configure \
16324 --srcdir=$${topdir}/$$module_srcdir \
16325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16326 --target=${target_alias} \
16327 --with-build-libsubdir=$(HOST_SUBDIR) \
16328 $(STAGEfeedback_CONFIGURE_FLAGS)
16329 @endif gold-bootstrap
16335 .PHONY: all-gold maybe-all-gold
16336 maybe-all-gold:
16337 @if gcc-bootstrap
16338 all-gold: stage_current
16339 @endif gcc-bootstrap
16340 @if gold
16341 TARGET-gold=all
16342 maybe-all-gold: all-gold
16343 all-gold: configure-gold
16344 @r=`${PWD_COMMAND}`; export r; \
16345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16346 $(HOST_EXPORTS) \
16347 (cd $(HOST_SUBDIR)/gold && \
16348 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16349 $(TARGET-gold))
16350 @endif gold
16354 .PHONY: all-stage1-gold maybe-all-stage1-gold
16355 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
16356 maybe-all-stage1-gold:
16357 maybe-clean-stage1-gold:
16358 @if gold-bootstrap
16359 maybe-all-stage1-gold: all-stage1-gold
16360 all-stage1: all-stage1-gold
16361 TARGET-stage1-gold = $(TARGET-gold)
16362 all-stage1-gold: configure-stage1-gold
16363 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16364 @r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 TFLAGS="$(STAGE1_TFLAGS)"; \
16367 $(HOST_EXPORTS) \
16368 cd $(HOST_SUBDIR)/gold && \
16369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16370 CFLAGS="$(STAGE1_CFLAGS)" \
16371 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16372 LIBCFLAGS="$(LIBCFLAGS)" \
16373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16376 $(EXTRA_HOST_FLAGS) \
16377 $(STAGE1_FLAGS_TO_PASS) \
16378 TFLAGS="$(STAGE1_TFLAGS)" \
16379 $(TARGET-stage1-gold)
16381 maybe-clean-stage1-gold: clean-stage1-gold
16382 clean-stage1: clean-stage1-gold
16383 clean-stage1-gold:
16384 @if [ $(current_stage) = stage1 ]; then \
16385 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16386 else \
16387 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
16388 $(MAKE) stage1-start; \
16389 fi; \
16390 cd $(HOST_SUBDIR)/gold && \
16391 $(MAKE) $(EXTRA_HOST_FLAGS) \
16392 $(STAGE1_FLAGS_TO_PASS) clean
16393 @endif gold-bootstrap
16396 .PHONY: all-stage2-gold maybe-all-stage2-gold
16397 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
16398 maybe-all-stage2-gold:
16399 maybe-clean-stage2-gold:
16400 @if gold-bootstrap
16401 maybe-all-stage2-gold: all-stage2-gold
16402 all-stage2: all-stage2-gold
16403 TARGET-stage2-gold = $(TARGET-gold)
16404 all-stage2-gold: configure-stage2-gold
16405 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16406 @r=`${PWD_COMMAND}`; export r; \
16407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16408 TFLAGS="$(STAGE2_TFLAGS)"; \
16409 $(HOST_EXPORTS) \
16410 $(POSTSTAGE1_HOST_EXPORTS) \
16411 cd $(HOST_SUBDIR)/gold && \
16412 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16413 CFLAGS="$(STAGE2_CFLAGS)" \
16414 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16415 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16416 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16417 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16418 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16419 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16420 TFLAGS="$(STAGE2_TFLAGS)" \
16421 $(TARGET-stage2-gold)
16423 maybe-clean-stage2-gold: clean-stage2-gold
16424 clean-stage2: clean-stage2-gold
16425 clean-stage2-gold:
16426 @if [ $(current_stage) = stage2 ]; then \
16427 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16428 else \
16429 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
16430 $(MAKE) stage2-start; \
16431 fi; \
16432 cd $(HOST_SUBDIR)/gold && \
16433 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16434 @endif gold-bootstrap
16437 .PHONY: all-stage3-gold maybe-all-stage3-gold
16438 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
16439 maybe-all-stage3-gold:
16440 maybe-clean-stage3-gold:
16441 @if gold-bootstrap
16442 maybe-all-stage3-gold: all-stage3-gold
16443 all-stage3: all-stage3-gold
16444 TARGET-stage3-gold = $(TARGET-gold)
16445 all-stage3-gold: configure-stage3-gold
16446 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16447 @r=`${PWD_COMMAND}`; export r; \
16448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16449 TFLAGS="$(STAGE3_TFLAGS)"; \
16450 $(HOST_EXPORTS) \
16451 $(POSTSTAGE1_HOST_EXPORTS) \
16452 cd $(HOST_SUBDIR)/gold && \
16453 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16454 CFLAGS="$(STAGE3_CFLAGS)" \
16455 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16456 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16461 TFLAGS="$(STAGE3_TFLAGS)" \
16462 $(TARGET-stage3-gold)
16464 maybe-clean-stage3-gold: clean-stage3-gold
16465 clean-stage3: clean-stage3-gold
16466 clean-stage3-gold:
16467 @if [ $(current_stage) = stage3 ]; then \
16468 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16469 else \
16470 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
16471 $(MAKE) stage3-start; \
16472 fi; \
16473 cd $(HOST_SUBDIR)/gold && \
16474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16475 @endif gold-bootstrap
16478 .PHONY: all-stage4-gold maybe-all-stage4-gold
16479 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16480 maybe-all-stage4-gold:
16481 maybe-clean-stage4-gold:
16482 @if gold-bootstrap
16483 maybe-all-stage4-gold: all-stage4-gold
16484 all-stage4: all-stage4-gold
16485 TARGET-stage4-gold = $(TARGET-gold)
16486 all-stage4-gold: configure-stage4-gold
16487 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16488 @r=`${PWD_COMMAND}`; export r; \
16489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16490 TFLAGS="$(STAGE4_TFLAGS)"; \
16491 $(HOST_EXPORTS) \
16492 $(POSTSTAGE1_HOST_EXPORTS) \
16493 cd $(HOST_SUBDIR)/gold && \
16494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16495 CFLAGS="$(STAGE4_CFLAGS)" \
16496 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16497 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16498 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16501 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16502 TFLAGS="$(STAGE4_TFLAGS)" \
16503 $(TARGET-stage4-gold)
16505 maybe-clean-stage4-gold: clean-stage4-gold
16506 clean-stage4: clean-stage4-gold
16507 clean-stage4-gold:
16508 @if [ $(current_stage) = stage4 ]; then \
16509 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16510 else \
16511 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16512 $(MAKE) stage4-start; \
16513 fi; \
16514 cd $(HOST_SUBDIR)/gold && \
16515 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16516 @endif gold-bootstrap
16519 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16520 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16521 maybe-all-stageprofile-gold:
16522 maybe-clean-stageprofile-gold:
16523 @if gold-bootstrap
16524 maybe-all-stageprofile-gold: all-stageprofile-gold
16525 all-stageprofile: all-stageprofile-gold
16526 TARGET-stageprofile-gold = $(TARGET-gold)
16527 all-stageprofile-gold: configure-stageprofile-gold
16528 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16529 @r=`${PWD_COMMAND}`; export r; \
16530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16531 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16532 $(HOST_EXPORTS) \
16533 $(POSTSTAGE1_HOST_EXPORTS) \
16534 cd $(HOST_SUBDIR)/gold && \
16535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16536 CFLAGS="$(STAGEprofile_CFLAGS)" \
16537 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16538 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16542 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16543 TFLAGS="$(STAGEprofile_TFLAGS)" \
16544 $(TARGET-stageprofile-gold)
16546 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16547 clean-stageprofile: clean-stageprofile-gold
16548 clean-stageprofile-gold:
16549 @if [ $(current_stage) = stageprofile ]; then \
16550 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16551 else \
16552 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16553 $(MAKE) stageprofile-start; \
16554 fi; \
16555 cd $(HOST_SUBDIR)/gold && \
16556 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16557 @endif gold-bootstrap
16560 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16561 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16562 maybe-all-stagefeedback-gold:
16563 maybe-clean-stagefeedback-gold:
16564 @if gold-bootstrap
16565 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16566 all-stagefeedback: all-stagefeedback-gold
16567 TARGET-stagefeedback-gold = $(TARGET-gold)
16568 all-stagefeedback-gold: configure-stagefeedback-gold
16569 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16570 @r=`${PWD_COMMAND}`; export r; \
16571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16572 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16573 $(HOST_EXPORTS) \
16574 $(POSTSTAGE1_HOST_EXPORTS) \
16575 cd $(HOST_SUBDIR)/gold && \
16576 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16577 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16578 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16579 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16580 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16581 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16582 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16583 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16584 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16585 $(TARGET-stagefeedback-gold)
16587 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16588 clean-stagefeedback: clean-stagefeedback-gold
16589 clean-stagefeedback-gold:
16590 @if [ $(current_stage) = stagefeedback ]; then \
16591 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16592 else \
16593 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16594 $(MAKE) stagefeedback-start; \
16595 fi; \
16596 cd $(HOST_SUBDIR)/gold && \
16597 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16598 @endif gold-bootstrap
16604 .PHONY: check-gold maybe-check-gold
16605 maybe-check-gold:
16606 @if gold
16607 maybe-check-gold: check-gold
16609 check-gold:
16610 @: $(MAKE); $(unstage)
16611 @r=`${PWD_COMMAND}`; export r; \
16612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16613 $(HOST_EXPORTS) \
16614 (cd $(HOST_SUBDIR)/gold && \
16615 $(MAKE) $(FLAGS_TO_PASS) check)
16617 @endif gold
16619 .PHONY: install-gold maybe-install-gold
16620 maybe-install-gold:
16621 @if gold
16622 maybe-install-gold: install-gold
16624 install-gold: installdirs
16625 @: $(MAKE); $(unstage)
16626 @r=`${PWD_COMMAND}`; export r; \
16627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16628 $(HOST_EXPORTS) \
16629 (cd $(HOST_SUBDIR)/gold && \
16630 $(MAKE) $(FLAGS_TO_PASS) install)
16632 @endif gold
16634 .PHONY: install-strip-gold maybe-install-strip-gold
16635 maybe-install-strip-gold:
16636 @if gold
16637 maybe-install-strip-gold: install-strip-gold
16639 install-strip-gold: installdirs
16640 @: $(MAKE); $(unstage)
16641 @r=`${PWD_COMMAND}`; export r; \
16642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16643 $(HOST_EXPORTS) \
16644 (cd $(HOST_SUBDIR)/gold && \
16645 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16647 @endif gold
16649 # Other targets (info, dvi, pdf, etc.)
16651 .PHONY: maybe-info-gold info-gold
16652 maybe-info-gold:
16653 @if gold
16654 maybe-info-gold: info-gold
16656 info-gold: \
16657 configure-gold
16658 @[ -f ./gold/Makefile ] || exit 0; \
16659 r=`${PWD_COMMAND}`; export r; \
16660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16661 $(HOST_EXPORTS) \
16662 for flag in $(EXTRA_HOST_FLAGS) ; do \
16663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16664 done; \
16665 echo "Doing info in gold" ; \
16666 (cd $(HOST_SUBDIR)/gold && \
16667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16669 "RANLIB=$${RANLIB}" \
16670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16671 info) \
16672 || exit 1
16674 @endif gold
16676 .PHONY: maybe-dvi-gold dvi-gold
16677 maybe-dvi-gold:
16678 @if gold
16679 maybe-dvi-gold: dvi-gold
16681 dvi-gold: \
16682 configure-gold
16683 @[ -f ./gold/Makefile ] || exit 0; \
16684 r=`${PWD_COMMAND}`; export r; \
16685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16686 $(HOST_EXPORTS) \
16687 for flag in $(EXTRA_HOST_FLAGS) ; do \
16688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16689 done; \
16690 echo "Doing dvi in gold" ; \
16691 (cd $(HOST_SUBDIR)/gold && \
16692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16694 "RANLIB=$${RANLIB}" \
16695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16696 dvi) \
16697 || exit 1
16699 @endif gold
16701 .PHONY: maybe-pdf-gold pdf-gold
16702 maybe-pdf-gold:
16703 @if gold
16704 maybe-pdf-gold: pdf-gold
16706 pdf-gold: \
16707 configure-gold
16708 @[ -f ./gold/Makefile ] || exit 0; \
16709 r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16711 $(HOST_EXPORTS) \
16712 for flag in $(EXTRA_HOST_FLAGS) ; do \
16713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16714 done; \
16715 echo "Doing pdf in gold" ; \
16716 (cd $(HOST_SUBDIR)/gold && \
16717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16719 "RANLIB=$${RANLIB}" \
16720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16721 pdf) \
16722 || exit 1
16724 @endif gold
16726 .PHONY: maybe-html-gold html-gold
16727 maybe-html-gold:
16728 @if gold
16729 maybe-html-gold: html-gold
16731 html-gold: \
16732 configure-gold
16733 @[ -f ./gold/Makefile ] || exit 0; \
16734 r=`${PWD_COMMAND}`; export r; \
16735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16736 $(HOST_EXPORTS) \
16737 for flag in $(EXTRA_HOST_FLAGS) ; do \
16738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16739 done; \
16740 echo "Doing html in gold" ; \
16741 (cd $(HOST_SUBDIR)/gold && \
16742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16744 "RANLIB=$${RANLIB}" \
16745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16746 html) \
16747 || exit 1
16749 @endif gold
16751 .PHONY: maybe-TAGS-gold TAGS-gold
16752 maybe-TAGS-gold:
16753 @if gold
16754 maybe-TAGS-gold: TAGS-gold
16756 TAGS-gold: \
16757 configure-gold
16758 @[ -f ./gold/Makefile ] || exit 0; \
16759 r=`${PWD_COMMAND}`; export r; \
16760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16761 $(HOST_EXPORTS) \
16762 for flag in $(EXTRA_HOST_FLAGS) ; do \
16763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16764 done; \
16765 echo "Doing TAGS in gold" ; \
16766 (cd $(HOST_SUBDIR)/gold && \
16767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16769 "RANLIB=$${RANLIB}" \
16770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16771 TAGS) \
16772 || exit 1
16774 @endif gold
16776 .PHONY: maybe-install-info-gold install-info-gold
16777 maybe-install-info-gold:
16778 @if gold
16779 maybe-install-info-gold: install-info-gold
16781 install-info-gold: \
16782 configure-gold \
16783 info-gold
16784 @[ -f ./gold/Makefile ] || exit 0; \
16785 r=`${PWD_COMMAND}`; export r; \
16786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16787 $(HOST_EXPORTS) \
16788 for flag in $(EXTRA_HOST_FLAGS) ; do \
16789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16790 done; \
16791 echo "Doing install-info in gold" ; \
16792 (cd $(HOST_SUBDIR)/gold && \
16793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16795 "RANLIB=$${RANLIB}" \
16796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16797 install-info) \
16798 || exit 1
16800 @endif gold
16802 .PHONY: maybe-install-pdf-gold install-pdf-gold
16803 maybe-install-pdf-gold:
16804 @if gold
16805 maybe-install-pdf-gold: install-pdf-gold
16807 install-pdf-gold: \
16808 configure-gold \
16809 pdf-gold
16810 @[ -f ./gold/Makefile ] || exit 0; \
16811 r=`${PWD_COMMAND}`; export r; \
16812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16813 $(HOST_EXPORTS) \
16814 for flag in $(EXTRA_HOST_FLAGS) ; do \
16815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16816 done; \
16817 echo "Doing install-pdf in gold" ; \
16818 (cd $(HOST_SUBDIR)/gold && \
16819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16821 "RANLIB=$${RANLIB}" \
16822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16823 install-pdf) \
16824 || exit 1
16826 @endif gold
16828 .PHONY: maybe-install-html-gold install-html-gold
16829 maybe-install-html-gold:
16830 @if gold
16831 maybe-install-html-gold: install-html-gold
16833 install-html-gold: \
16834 configure-gold \
16835 html-gold
16836 @[ -f ./gold/Makefile ] || exit 0; \
16837 r=`${PWD_COMMAND}`; export r; \
16838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16839 $(HOST_EXPORTS) \
16840 for flag in $(EXTRA_HOST_FLAGS) ; do \
16841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16842 done; \
16843 echo "Doing install-html in gold" ; \
16844 (cd $(HOST_SUBDIR)/gold && \
16845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16847 "RANLIB=$${RANLIB}" \
16848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16849 install-html) \
16850 || exit 1
16852 @endif gold
16854 .PHONY: maybe-installcheck-gold installcheck-gold
16855 maybe-installcheck-gold:
16856 @if gold
16857 maybe-installcheck-gold: installcheck-gold
16859 installcheck-gold: \
16860 configure-gold
16861 @[ -f ./gold/Makefile ] || exit 0; \
16862 r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 $(HOST_EXPORTS) \
16865 for flag in $(EXTRA_HOST_FLAGS) ; do \
16866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16867 done; \
16868 echo "Doing installcheck in gold" ; \
16869 (cd $(HOST_SUBDIR)/gold && \
16870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16872 "RANLIB=$${RANLIB}" \
16873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16874 installcheck) \
16875 || exit 1
16877 @endif gold
16879 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16880 maybe-mostlyclean-gold:
16881 @if gold
16882 maybe-mostlyclean-gold: mostlyclean-gold
16884 mostlyclean-gold:
16885 @[ -f ./gold/Makefile ] || exit 0; \
16886 r=`${PWD_COMMAND}`; export r; \
16887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16888 $(HOST_EXPORTS) \
16889 for flag in $(EXTRA_HOST_FLAGS) ; do \
16890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16891 done; \
16892 echo "Doing mostlyclean in gold" ; \
16893 (cd $(HOST_SUBDIR)/gold && \
16894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16896 "RANLIB=$${RANLIB}" \
16897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16898 mostlyclean) \
16899 || exit 1
16901 @endif gold
16903 .PHONY: maybe-clean-gold clean-gold
16904 maybe-clean-gold:
16905 @if gold
16906 maybe-clean-gold: clean-gold
16908 clean-gold:
16909 @[ -f ./gold/Makefile ] || exit 0; \
16910 r=`${PWD_COMMAND}`; export r; \
16911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912 $(HOST_EXPORTS) \
16913 for flag in $(EXTRA_HOST_FLAGS) ; do \
16914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16915 done; \
16916 echo "Doing clean in gold" ; \
16917 (cd $(HOST_SUBDIR)/gold && \
16918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16920 "RANLIB=$${RANLIB}" \
16921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16922 clean) \
16923 || exit 1
16925 @endif gold
16927 .PHONY: maybe-distclean-gold distclean-gold
16928 maybe-distclean-gold:
16929 @if gold
16930 maybe-distclean-gold: distclean-gold
16932 distclean-gold:
16933 @[ -f ./gold/Makefile ] || exit 0; \
16934 r=`${PWD_COMMAND}`; export r; \
16935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16936 $(HOST_EXPORTS) \
16937 for flag in $(EXTRA_HOST_FLAGS) ; do \
16938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16939 done; \
16940 echo "Doing distclean in gold" ; \
16941 (cd $(HOST_SUBDIR)/gold && \
16942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16944 "RANLIB=$${RANLIB}" \
16945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16946 distclean) \
16947 || exit 1
16949 @endif gold
16951 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16952 maybe-maintainer-clean-gold:
16953 @if gold
16954 maybe-maintainer-clean-gold: maintainer-clean-gold
16956 maintainer-clean-gold:
16957 @[ -f ./gold/Makefile ] || exit 0; \
16958 r=`${PWD_COMMAND}`; export r; \
16959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960 $(HOST_EXPORTS) \
16961 for flag in $(EXTRA_HOST_FLAGS) ; do \
16962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16963 done; \
16964 echo "Doing maintainer-clean in gold" ; \
16965 (cd $(HOST_SUBDIR)/gold && \
16966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968 "RANLIB=$${RANLIB}" \
16969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16970 maintainer-clean) \
16971 || exit 1
16973 @endif gold
16977 .PHONY: configure-gprof maybe-configure-gprof
16978 maybe-configure-gprof:
16979 @if gcc-bootstrap
16980 configure-gprof: stage_current
16981 @endif gcc-bootstrap
16982 @if gprof
16983 maybe-configure-gprof: configure-gprof
16984 configure-gprof:
16985 @: $(MAKE); $(unstage)
16986 @r=`${PWD_COMMAND}`; export r; \
16987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16988 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16990 $(HOST_EXPORTS) \
16991 echo Configuring in $(HOST_SUBDIR)/gprof; \
16992 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16993 case $(srcdir) in \
16994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16995 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16997 esac; \
16998 module_srcdir=gprof; \
16999 $(SHELL) \
17000 $$s/$$module_srcdir/configure \
17001 --srcdir=$${topdir}/$$module_srcdir \
17002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17003 --target=${target_alias} \
17004 || exit 1
17005 @endif gprof
17011 .PHONY: all-gprof maybe-all-gprof
17012 maybe-all-gprof:
17013 @if gcc-bootstrap
17014 all-gprof: stage_current
17015 @endif gcc-bootstrap
17016 @if gprof
17017 TARGET-gprof=all
17018 maybe-all-gprof: all-gprof
17019 all-gprof: configure-gprof
17020 @: $(MAKE); $(unstage)
17021 @r=`${PWD_COMMAND}`; export r; \
17022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17023 $(HOST_EXPORTS) \
17024 (cd $(HOST_SUBDIR)/gprof && \
17025 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17026 $(TARGET-gprof))
17027 @endif gprof
17032 .PHONY: check-gprof maybe-check-gprof
17033 maybe-check-gprof:
17034 @if gprof
17035 maybe-check-gprof: check-gprof
17037 check-gprof:
17038 @: $(MAKE); $(unstage)
17039 @r=`${PWD_COMMAND}`; export r; \
17040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17041 $(HOST_EXPORTS) \
17042 (cd $(HOST_SUBDIR)/gprof && \
17043 $(MAKE) $(FLAGS_TO_PASS) check)
17045 @endif gprof
17047 .PHONY: install-gprof maybe-install-gprof
17048 maybe-install-gprof:
17049 @if gprof
17050 maybe-install-gprof: install-gprof
17052 install-gprof: installdirs
17053 @: $(MAKE); $(unstage)
17054 @r=`${PWD_COMMAND}`; export r; \
17055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17056 $(HOST_EXPORTS) \
17057 (cd $(HOST_SUBDIR)/gprof && \
17058 $(MAKE) $(FLAGS_TO_PASS) install)
17060 @endif gprof
17062 .PHONY: install-strip-gprof maybe-install-strip-gprof
17063 maybe-install-strip-gprof:
17064 @if gprof
17065 maybe-install-strip-gprof: install-strip-gprof
17067 install-strip-gprof: installdirs
17068 @: $(MAKE); $(unstage)
17069 @r=`${PWD_COMMAND}`; export r; \
17070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17071 $(HOST_EXPORTS) \
17072 (cd $(HOST_SUBDIR)/gprof && \
17073 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17075 @endif gprof
17077 # Other targets (info, dvi, pdf, etc.)
17079 .PHONY: maybe-info-gprof info-gprof
17080 maybe-info-gprof:
17081 @if gprof
17082 maybe-info-gprof: info-gprof
17084 info-gprof: \
17085 configure-gprof
17086 @: $(MAKE); $(unstage)
17087 @[ -f ./gprof/Makefile ] || exit 0; \
17088 r=`${PWD_COMMAND}`; export r; \
17089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17090 $(HOST_EXPORTS) \
17091 for flag in $(EXTRA_HOST_FLAGS) ; do \
17092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17093 done; \
17094 echo "Doing info in gprof" ; \
17095 (cd $(HOST_SUBDIR)/gprof && \
17096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17098 "RANLIB=$${RANLIB}" \
17099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17100 info) \
17101 || exit 1
17103 @endif gprof
17105 .PHONY: maybe-dvi-gprof dvi-gprof
17106 maybe-dvi-gprof:
17107 @if gprof
17108 maybe-dvi-gprof: dvi-gprof
17110 dvi-gprof: \
17111 configure-gprof
17112 @: $(MAKE); $(unstage)
17113 @[ -f ./gprof/Makefile ] || exit 0; \
17114 r=`${PWD_COMMAND}`; export r; \
17115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17116 $(HOST_EXPORTS) \
17117 for flag in $(EXTRA_HOST_FLAGS) ; do \
17118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17119 done; \
17120 echo "Doing dvi in gprof" ; \
17121 (cd $(HOST_SUBDIR)/gprof && \
17122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17124 "RANLIB=$${RANLIB}" \
17125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17126 dvi) \
17127 || exit 1
17129 @endif gprof
17131 .PHONY: maybe-pdf-gprof pdf-gprof
17132 maybe-pdf-gprof:
17133 @if gprof
17134 maybe-pdf-gprof: pdf-gprof
17136 pdf-gprof: \
17137 configure-gprof
17138 @: $(MAKE); $(unstage)
17139 @[ -f ./gprof/Makefile ] || exit 0; \
17140 r=`${PWD_COMMAND}`; export r; \
17141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17142 $(HOST_EXPORTS) \
17143 for flag in $(EXTRA_HOST_FLAGS) ; do \
17144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17145 done; \
17146 echo "Doing pdf in gprof" ; \
17147 (cd $(HOST_SUBDIR)/gprof && \
17148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17150 "RANLIB=$${RANLIB}" \
17151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17152 pdf) \
17153 || exit 1
17155 @endif gprof
17157 .PHONY: maybe-html-gprof html-gprof
17158 maybe-html-gprof:
17159 @if gprof
17160 maybe-html-gprof: html-gprof
17162 html-gprof: \
17163 configure-gprof
17164 @: $(MAKE); $(unstage)
17165 @[ -f ./gprof/Makefile ] || exit 0; \
17166 r=`${PWD_COMMAND}`; export r; \
17167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17168 $(HOST_EXPORTS) \
17169 for flag in $(EXTRA_HOST_FLAGS) ; do \
17170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17171 done; \
17172 echo "Doing html in gprof" ; \
17173 (cd $(HOST_SUBDIR)/gprof && \
17174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17176 "RANLIB=$${RANLIB}" \
17177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17178 html) \
17179 || exit 1
17181 @endif gprof
17183 .PHONY: maybe-TAGS-gprof TAGS-gprof
17184 maybe-TAGS-gprof:
17185 @if gprof
17186 maybe-TAGS-gprof: TAGS-gprof
17188 TAGS-gprof: \
17189 configure-gprof
17190 @: $(MAKE); $(unstage)
17191 @[ -f ./gprof/Makefile ] || exit 0; \
17192 r=`${PWD_COMMAND}`; export r; \
17193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17194 $(HOST_EXPORTS) \
17195 for flag in $(EXTRA_HOST_FLAGS) ; do \
17196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17197 done; \
17198 echo "Doing TAGS in gprof" ; \
17199 (cd $(HOST_SUBDIR)/gprof && \
17200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17202 "RANLIB=$${RANLIB}" \
17203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17204 TAGS) \
17205 || exit 1
17207 @endif gprof
17209 .PHONY: maybe-install-info-gprof install-info-gprof
17210 maybe-install-info-gprof:
17211 @if gprof
17212 maybe-install-info-gprof: install-info-gprof
17214 install-info-gprof: \
17215 configure-gprof \
17216 info-gprof
17217 @: $(MAKE); $(unstage)
17218 @[ -f ./gprof/Makefile ] || exit 0; \
17219 r=`${PWD_COMMAND}`; export r; \
17220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17221 $(HOST_EXPORTS) \
17222 for flag in $(EXTRA_HOST_FLAGS) ; do \
17223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17224 done; \
17225 echo "Doing install-info in gprof" ; \
17226 (cd $(HOST_SUBDIR)/gprof && \
17227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17229 "RANLIB=$${RANLIB}" \
17230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17231 install-info) \
17232 || exit 1
17234 @endif gprof
17236 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
17237 maybe-install-pdf-gprof:
17238 @if gprof
17239 maybe-install-pdf-gprof: install-pdf-gprof
17241 install-pdf-gprof: \
17242 configure-gprof \
17243 pdf-gprof
17244 @: $(MAKE); $(unstage)
17245 @[ -f ./gprof/Makefile ] || exit 0; \
17246 r=`${PWD_COMMAND}`; export r; \
17247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17248 $(HOST_EXPORTS) \
17249 for flag in $(EXTRA_HOST_FLAGS) ; do \
17250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17251 done; \
17252 echo "Doing install-pdf in gprof" ; \
17253 (cd $(HOST_SUBDIR)/gprof && \
17254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17256 "RANLIB=$${RANLIB}" \
17257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17258 install-pdf) \
17259 || exit 1
17261 @endif gprof
17263 .PHONY: maybe-install-html-gprof install-html-gprof
17264 maybe-install-html-gprof:
17265 @if gprof
17266 maybe-install-html-gprof: install-html-gprof
17268 install-html-gprof: \
17269 configure-gprof \
17270 html-gprof
17271 @: $(MAKE); $(unstage)
17272 @[ -f ./gprof/Makefile ] || exit 0; \
17273 r=`${PWD_COMMAND}`; export r; \
17274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17275 $(HOST_EXPORTS) \
17276 for flag in $(EXTRA_HOST_FLAGS) ; do \
17277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17278 done; \
17279 echo "Doing install-html in gprof" ; \
17280 (cd $(HOST_SUBDIR)/gprof && \
17281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17283 "RANLIB=$${RANLIB}" \
17284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17285 install-html) \
17286 || exit 1
17288 @endif gprof
17290 .PHONY: maybe-installcheck-gprof installcheck-gprof
17291 maybe-installcheck-gprof:
17292 @if gprof
17293 maybe-installcheck-gprof: installcheck-gprof
17295 installcheck-gprof: \
17296 configure-gprof
17297 @: $(MAKE); $(unstage)
17298 @[ -f ./gprof/Makefile ] || exit 0; \
17299 r=`${PWD_COMMAND}`; export r; \
17300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17301 $(HOST_EXPORTS) \
17302 for flag in $(EXTRA_HOST_FLAGS) ; do \
17303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17304 done; \
17305 echo "Doing installcheck in gprof" ; \
17306 (cd $(HOST_SUBDIR)/gprof && \
17307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17309 "RANLIB=$${RANLIB}" \
17310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17311 installcheck) \
17312 || exit 1
17314 @endif gprof
17316 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
17317 maybe-mostlyclean-gprof:
17318 @if gprof
17319 maybe-mostlyclean-gprof: mostlyclean-gprof
17321 mostlyclean-gprof:
17322 @: $(MAKE); $(unstage)
17323 @[ -f ./gprof/Makefile ] || exit 0; \
17324 r=`${PWD_COMMAND}`; export r; \
17325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17326 $(HOST_EXPORTS) \
17327 for flag in $(EXTRA_HOST_FLAGS) ; do \
17328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17329 done; \
17330 echo "Doing mostlyclean in gprof" ; \
17331 (cd $(HOST_SUBDIR)/gprof && \
17332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17334 "RANLIB=$${RANLIB}" \
17335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17336 mostlyclean) \
17337 || exit 1
17339 @endif gprof
17341 .PHONY: maybe-clean-gprof clean-gprof
17342 maybe-clean-gprof:
17343 @if gprof
17344 maybe-clean-gprof: clean-gprof
17346 clean-gprof:
17347 @: $(MAKE); $(unstage)
17348 @[ -f ./gprof/Makefile ] || exit 0; \
17349 r=`${PWD_COMMAND}`; export r; \
17350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17351 $(HOST_EXPORTS) \
17352 for flag in $(EXTRA_HOST_FLAGS) ; do \
17353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17354 done; \
17355 echo "Doing clean in gprof" ; \
17356 (cd $(HOST_SUBDIR)/gprof && \
17357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17359 "RANLIB=$${RANLIB}" \
17360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17361 clean) \
17362 || exit 1
17364 @endif gprof
17366 .PHONY: maybe-distclean-gprof distclean-gprof
17367 maybe-distclean-gprof:
17368 @if gprof
17369 maybe-distclean-gprof: distclean-gprof
17371 distclean-gprof:
17372 @: $(MAKE); $(unstage)
17373 @[ -f ./gprof/Makefile ] || exit 0; \
17374 r=`${PWD_COMMAND}`; export r; \
17375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17376 $(HOST_EXPORTS) \
17377 for flag in $(EXTRA_HOST_FLAGS) ; do \
17378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17379 done; \
17380 echo "Doing distclean in gprof" ; \
17381 (cd $(HOST_SUBDIR)/gprof && \
17382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17384 "RANLIB=$${RANLIB}" \
17385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17386 distclean) \
17387 || exit 1
17389 @endif gprof
17391 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
17392 maybe-maintainer-clean-gprof:
17393 @if gprof
17394 maybe-maintainer-clean-gprof: maintainer-clean-gprof
17396 maintainer-clean-gprof:
17397 @: $(MAKE); $(unstage)
17398 @[ -f ./gprof/Makefile ] || exit 0; \
17399 r=`${PWD_COMMAND}`; export r; \
17400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17401 $(HOST_EXPORTS) \
17402 for flag in $(EXTRA_HOST_FLAGS) ; do \
17403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17404 done; \
17405 echo "Doing maintainer-clean in gprof" ; \
17406 (cd $(HOST_SUBDIR)/gprof && \
17407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17409 "RANLIB=$${RANLIB}" \
17410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17411 maintainer-clean) \
17412 || exit 1
17414 @endif gprof
17418 .PHONY: configure-intl maybe-configure-intl
17419 maybe-configure-intl:
17420 @if gcc-bootstrap
17421 configure-intl: stage_current
17422 @endif gcc-bootstrap
17423 @if intl
17424 maybe-configure-intl: configure-intl
17425 configure-intl:
17426 @r=`${PWD_COMMAND}`; export r; \
17427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17428 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17430 $(HOST_EXPORTS) \
17431 echo Configuring in $(HOST_SUBDIR)/intl; \
17432 cd "$(HOST_SUBDIR)/intl" || exit 1; \
17433 case $(srcdir) in \
17434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17435 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17437 esac; \
17438 module_srcdir=intl; \
17439 $(SHELL) \
17440 $$s/$$module_srcdir/configure \
17441 --srcdir=$${topdir}/$$module_srcdir \
17442 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17443 --target=${target_alias} \
17444 || exit 1
17445 @endif intl
17449 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
17450 maybe-configure-stage1-intl:
17451 @if intl-bootstrap
17452 maybe-configure-stage1-intl: configure-stage1-intl
17453 configure-stage1-intl:
17454 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17456 @r=`${PWD_COMMAND}`; export r; \
17457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17458 TFLAGS="$(STAGE1_TFLAGS)"; \
17459 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17460 $(HOST_EXPORTS) \
17461 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17462 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17463 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17464 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17466 cd $(HOST_SUBDIR)/intl || exit 1; \
17467 case $(srcdir) in \
17468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17469 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17471 esac; \
17472 module_srcdir=intl; \
17473 $(SHELL) $$s/$$module_srcdir/configure \
17474 --srcdir=$${topdir}/$$module_srcdir \
17475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17476 --target=${target_alias} \
17478 $(STAGE1_CONFIGURE_FLAGS)
17479 @endif intl-bootstrap
17481 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17482 maybe-configure-stage2-intl:
17483 @if intl-bootstrap
17484 maybe-configure-stage2-intl: configure-stage2-intl
17485 configure-stage2-intl:
17486 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17487 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17488 @r=`${PWD_COMMAND}`; export r; \
17489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17490 TFLAGS="$(STAGE2_TFLAGS)"; \
17491 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17492 $(HOST_EXPORTS) \
17493 $(POSTSTAGE1_HOST_EXPORTS) \
17494 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17495 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17496 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17497 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17499 cd $(HOST_SUBDIR)/intl || exit 1; \
17500 case $(srcdir) in \
17501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17502 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17504 esac; \
17505 module_srcdir=intl; \
17506 $(SHELL) $$s/$$module_srcdir/configure \
17507 --srcdir=$${topdir}/$$module_srcdir \
17508 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17509 --target=${target_alias} \
17510 --with-build-libsubdir=$(HOST_SUBDIR) \
17511 $(STAGE2_CONFIGURE_FLAGS)
17512 @endif intl-bootstrap
17514 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17515 maybe-configure-stage3-intl:
17516 @if intl-bootstrap
17517 maybe-configure-stage3-intl: configure-stage3-intl
17518 configure-stage3-intl:
17519 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17520 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17521 @r=`${PWD_COMMAND}`; export r; \
17522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17523 TFLAGS="$(STAGE3_TFLAGS)"; \
17524 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17525 $(HOST_EXPORTS) \
17526 $(POSTSTAGE1_HOST_EXPORTS) \
17527 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17528 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17529 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17530 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17532 cd $(HOST_SUBDIR)/intl || exit 1; \
17533 case $(srcdir) in \
17534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17535 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17537 esac; \
17538 module_srcdir=intl; \
17539 $(SHELL) $$s/$$module_srcdir/configure \
17540 --srcdir=$${topdir}/$$module_srcdir \
17541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17542 --target=${target_alias} \
17543 --with-build-libsubdir=$(HOST_SUBDIR) \
17544 $(STAGE3_CONFIGURE_FLAGS)
17545 @endif intl-bootstrap
17547 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17548 maybe-configure-stage4-intl:
17549 @if intl-bootstrap
17550 maybe-configure-stage4-intl: configure-stage4-intl
17551 configure-stage4-intl:
17552 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17554 @r=`${PWD_COMMAND}`; export r; \
17555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 TFLAGS="$(STAGE4_TFLAGS)"; \
17557 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17558 $(HOST_EXPORTS) \
17559 $(POSTSTAGE1_HOST_EXPORTS) \
17560 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17561 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17562 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17563 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17565 cd $(HOST_SUBDIR)/intl || exit 1; \
17566 case $(srcdir) in \
17567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17568 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17570 esac; \
17571 module_srcdir=intl; \
17572 $(SHELL) $$s/$$module_srcdir/configure \
17573 --srcdir=$${topdir}/$$module_srcdir \
17574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17575 --target=${target_alias} \
17576 --with-build-libsubdir=$(HOST_SUBDIR) \
17577 $(STAGE4_CONFIGURE_FLAGS)
17578 @endif intl-bootstrap
17580 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17581 maybe-configure-stageprofile-intl:
17582 @if intl-bootstrap
17583 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17584 configure-stageprofile-intl:
17585 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17587 @r=`${PWD_COMMAND}`; export r; \
17588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17589 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17590 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17591 $(HOST_EXPORTS) \
17592 $(POSTSTAGE1_HOST_EXPORTS) \
17593 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17594 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17595 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17596 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17598 cd $(HOST_SUBDIR)/intl || exit 1; \
17599 case $(srcdir) in \
17600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17601 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17603 esac; \
17604 module_srcdir=intl; \
17605 $(SHELL) $$s/$$module_srcdir/configure \
17606 --srcdir=$${topdir}/$$module_srcdir \
17607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17608 --target=${target_alias} \
17609 --with-build-libsubdir=$(HOST_SUBDIR) \
17610 $(STAGEprofile_CONFIGURE_FLAGS)
17611 @endif intl-bootstrap
17613 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17614 maybe-configure-stagefeedback-intl:
17615 @if intl-bootstrap
17616 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17617 configure-stagefeedback-intl:
17618 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17620 @r=`${PWD_COMMAND}`; export r; \
17621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17622 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17623 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17624 $(HOST_EXPORTS) \
17625 $(POSTSTAGE1_HOST_EXPORTS) \
17626 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17627 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17628 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17629 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17631 cd $(HOST_SUBDIR)/intl || exit 1; \
17632 case $(srcdir) in \
17633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17634 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17636 esac; \
17637 module_srcdir=intl; \
17638 $(SHELL) $$s/$$module_srcdir/configure \
17639 --srcdir=$${topdir}/$$module_srcdir \
17640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17641 --target=${target_alias} \
17642 --with-build-libsubdir=$(HOST_SUBDIR) \
17643 $(STAGEfeedback_CONFIGURE_FLAGS)
17644 @endif intl-bootstrap
17650 .PHONY: all-intl maybe-all-intl
17651 maybe-all-intl:
17652 @if gcc-bootstrap
17653 all-intl: stage_current
17654 @endif gcc-bootstrap
17655 @if intl
17656 TARGET-intl=all
17657 maybe-all-intl: all-intl
17658 all-intl: configure-intl
17659 @r=`${PWD_COMMAND}`; export r; \
17660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17661 $(HOST_EXPORTS) \
17662 (cd $(HOST_SUBDIR)/intl && \
17663 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17664 $(TARGET-intl))
17665 @endif intl
17669 .PHONY: all-stage1-intl maybe-all-stage1-intl
17670 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17671 maybe-all-stage1-intl:
17672 maybe-clean-stage1-intl:
17673 @if intl-bootstrap
17674 maybe-all-stage1-intl: all-stage1-intl
17675 all-stage1: all-stage1-intl
17676 TARGET-stage1-intl = $(TARGET-intl)
17677 all-stage1-intl: configure-stage1-intl
17678 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17679 @r=`${PWD_COMMAND}`; export r; \
17680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17681 TFLAGS="$(STAGE1_TFLAGS)"; \
17682 $(HOST_EXPORTS) \
17683 cd $(HOST_SUBDIR)/intl && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17685 CFLAGS="$(STAGE1_CFLAGS)" \
17686 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17687 LIBCFLAGS="$(LIBCFLAGS)" \
17688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17691 $(EXTRA_HOST_FLAGS) \
17692 $(STAGE1_FLAGS_TO_PASS) \
17693 TFLAGS="$(STAGE1_TFLAGS)" \
17694 $(TARGET-stage1-intl)
17696 maybe-clean-stage1-intl: clean-stage1-intl
17697 clean-stage1: clean-stage1-intl
17698 clean-stage1-intl:
17699 @if [ $(current_stage) = stage1 ]; then \
17700 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17701 else \
17702 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17703 $(MAKE) stage1-start; \
17704 fi; \
17705 cd $(HOST_SUBDIR)/intl && \
17706 $(MAKE) $(EXTRA_HOST_FLAGS) \
17707 $(STAGE1_FLAGS_TO_PASS) clean
17708 @endif intl-bootstrap
17711 .PHONY: all-stage2-intl maybe-all-stage2-intl
17712 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17713 maybe-all-stage2-intl:
17714 maybe-clean-stage2-intl:
17715 @if intl-bootstrap
17716 maybe-all-stage2-intl: all-stage2-intl
17717 all-stage2: all-stage2-intl
17718 TARGET-stage2-intl = $(TARGET-intl)
17719 all-stage2-intl: configure-stage2-intl
17720 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17721 @r=`${PWD_COMMAND}`; export r; \
17722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17723 TFLAGS="$(STAGE2_TFLAGS)"; \
17724 $(HOST_EXPORTS) \
17725 $(POSTSTAGE1_HOST_EXPORTS) \
17726 cd $(HOST_SUBDIR)/intl && \
17727 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17728 CFLAGS="$(STAGE2_CFLAGS)" \
17729 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17730 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17731 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17732 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17733 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17734 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17735 TFLAGS="$(STAGE2_TFLAGS)" \
17736 $(TARGET-stage2-intl)
17738 maybe-clean-stage2-intl: clean-stage2-intl
17739 clean-stage2: clean-stage2-intl
17740 clean-stage2-intl:
17741 @if [ $(current_stage) = stage2 ]; then \
17742 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17743 else \
17744 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17745 $(MAKE) stage2-start; \
17746 fi; \
17747 cd $(HOST_SUBDIR)/intl && \
17748 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17749 @endif intl-bootstrap
17752 .PHONY: all-stage3-intl maybe-all-stage3-intl
17753 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17754 maybe-all-stage3-intl:
17755 maybe-clean-stage3-intl:
17756 @if intl-bootstrap
17757 maybe-all-stage3-intl: all-stage3-intl
17758 all-stage3: all-stage3-intl
17759 TARGET-stage3-intl = $(TARGET-intl)
17760 all-stage3-intl: configure-stage3-intl
17761 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17762 @r=`${PWD_COMMAND}`; export r; \
17763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17764 TFLAGS="$(STAGE3_TFLAGS)"; \
17765 $(HOST_EXPORTS) \
17766 $(POSTSTAGE1_HOST_EXPORTS) \
17767 cd $(HOST_SUBDIR)/intl && \
17768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17769 CFLAGS="$(STAGE3_CFLAGS)" \
17770 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17771 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17775 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17776 TFLAGS="$(STAGE3_TFLAGS)" \
17777 $(TARGET-stage3-intl)
17779 maybe-clean-stage3-intl: clean-stage3-intl
17780 clean-stage3: clean-stage3-intl
17781 clean-stage3-intl:
17782 @if [ $(current_stage) = stage3 ]; then \
17783 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17784 else \
17785 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17786 $(MAKE) stage3-start; \
17787 fi; \
17788 cd $(HOST_SUBDIR)/intl && \
17789 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17790 @endif intl-bootstrap
17793 .PHONY: all-stage4-intl maybe-all-stage4-intl
17794 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17795 maybe-all-stage4-intl:
17796 maybe-clean-stage4-intl:
17797 @if intl-bootstrap
17798 maybe-all-stage4-intl: all-stage4-intl
17799 all-stage4: all-stage4-intl
17800 TARGET-stage4-intl = $(TARGET-intl)
17801 all-stage4-intl: configure-stage4-intl
17802 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17803 @r=`${PWD_COMMAND}`; export r; \
17804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17805 TFLAGS="$(STAGE4_TFLAGS)"; \
17806 $(HOST_EXPORTS) \
17807 $(POSTSTAGE1_HOST_EXPORTS) \
17808 cd $(HOST_SUBDIR)/intl && \
17809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17810 CFLAGS="$(STAGE4_CFLAGS)" \
17811 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17812 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17817 TFLAGS="$(STAGE4_TFLAGS)" \
17818 $(TARGET-stage4-intl)
17820 maybe-clean-stage4-intl: clean-stage4-intl
17821 clean-stage4: clean-stage4-intl
17822 clean-stage4-intl:
17823 @if [ $(current_stage) = stage4 ]; then \
17824 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17825 else \
17826 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17827 $(MAKE) stage4-start; \
17828 fi; \
17829 cd $(HOST_SUBDIR)/intl && \
17830 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17831 @endif intl-bootstrap
17834 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17835 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17836 maybe-all-stageprofile-intl:
17837 maybe-clean-stageprofile-intl:
17838 @if intl-bootstrap
17839 maybe-all-stageprofile-intl: all-stageprofile-intl
17840 all-stageprofile: all-stageprofile-intl
17841 TARGET-stageprofile-intl = $(TARGET-intl)
17842 all-stageprofile-intl: configure-stageprofile-intl
17843 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17844 @r=`${PWD_COMMAND}`; export r; \
17845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17846 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17847 $(HOST_EXPORTS) \
17848 $(POSTSTAGE1_HOST_EXPORTS) \
17849 cd $(HOST_SUBDIR)/intl && \
17850 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17851 CFLAGS="$(STAGEprofile_CFLAGS)" \
17852 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17853 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17858 TFLAGS="$(STAGEprofile_TFLAGS)" \
17859 $(TARGET-stageprofile-intl)
17861 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17862 clean-stageprofile: clean-stageprofile-intl
17863 clean-stageprofile-intl:
17864 @if [ $(current_stage) = stageprofile ]; then \
17865 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17866 else \
17867 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17868 $(MAKE) stageprofile-start; \
17869 fi; \
17870 cd $(HOST_SUBDIR)/intl && \
17871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17872 @endif intl-bootstrap
17875 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17876 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17877 maybe-all-stagefeedback-intl:
17878 maybe-clean-stagefeedback-intl:
17879 @if intl-bootstrap
17880 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17881 all-stagefeedback: all-stagefeedback-intl
17882 TARGET-stagefeedback-intl = $(TARGET-intl)
17883 all-stagefeedback-intl: configure-stagefeedback-intl
17884 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17885 @r=`${PWD_COMMAND}`; export r; \
17886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17887 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17888 $(HOST_EXPORTS) \
17889 $(POSTSTAGE1_HOST_EXPORTS) \
17890 cd $(HOST_SUBDIR)/intl && \
17891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17892 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17893 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17894 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17898 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17899 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17900 $(TARGET-stagefeedback-intl)
17902 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17903 clean-stagefeedback: clean-stagefeedback-intl
17904 clean-stagefeedback-intl:
17905 @if [ $(current_stage) = stagefeedback ]; then \
17906 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17907 else \
17908 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17909 $(MAKE) stagefeedback-start; \
17910 fi; \
17911 cd $(HOST_SUBDIR)/intl && \
17912 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17913 @endif intl-bootstrap
17919 .PHONY: check-intl maybe-check-intl
17920 maybe-check-intl:
17921 @if intl
17922 maybe-check-intl: check-intl
17924 check-intl:
17925 @: $(MAKE); $(unstage)
17926 @r=`${PWD_COMMAND}`; export r; \
17927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17928 $(HOST_EXPORTS) \
17929 (cd $(HOST_SUBDIR)/intl && \
17930 $(MAKE) $(FLAGS_TO_PASS) check)
17932 @endif intl
17934 .PHONY: install-intl maybe-install-intl
17935 maybe-install-intl:
17936 @if intl
17937 maybe-install-intl: install-intl
17939 install-intl: installdirs
17940 @: $(MAKE); $(unstage)
17941 @r=`${PWD_COMMAND}`; export r; \
17942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17943 $(HOST_EXPORTS) \
17944 (cd $(HOST_SUBDIR)/intl && \
17945 $(MAKE) $(FLAGS_TO_PASS) install)
17947 @endif intl
17949 .PHONY: install-strip-intl maybe-install-strip-intl
17950 maybe-install-strip-intl:
17951 @if intl
17952 maybe-install-strip-intl: install-strip-intl
17954 install-strip-intl: installdirs
17955 @: $(MAKE); $(unstage)
17956 @r=`${PWD_COMMAND}`; export r; \
17957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17958 $(HOST_EXPORTS) \
17959 (cd $(HOST_SUBDIR)/intl && \
17960 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17962 @endif intl
17964 # Other targets (info, dvi, pdf, etc.)
17966 .PHONY: maybe-info-intl info-intl
17967 maybe-info-intl:
17968 @if intl
17969 maybe-info-intl: info-intl
17971 info-intl: \
17972 configure-intl
17973 @[ -f ./intl/Makefile ] || exit 0; \
17974 r=`${PWD_COMMAND}`; export r; \
17975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17976 $(HOST_EXPORTS) \
17977 for flag in $(EXTRA_HOST_FLAGS) ; do \
17978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17979 done; \
17980 echo "Doing info in intl" ; \
17981 (cd $(HOST_SUBDIR)/intl && \
17982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17984 "RANLIB=$${RANLIB}" \
17985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17986 info) \
17987 || exit 1
17989 @endif intl
17991 .PHONY: maybe-dvi-intl dvi-intl
17992 maybe-dvi-intl:
17993 @if intl
17994 maybe-dvi-intl: dvi-intl
17996 dvi-intl: \
17997 configure-intl
17998 @[ -f ./intl/Makefile ] || exit 0; \
17999 r=`${PWD_COMMAND}`; export r; \
18000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18001 $(HOST_EXPORTS) \
18002 for flag in $(EXTRA_HOST_FLAGS) ; do \
18003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18004 done; \
18005 echo "Doing dvi in intl" ; \
18006 (cd $(HOST_SUBDIR)/intl && \
18007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18009 "RANLIB=$${RANLIB}" \
18010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18011 dvi) \
18012 || exit 1
18014 @endif intl
18016 .PHONY: maybe-pdf-intl pdf-intl
18017 maybe-pdf-intl:
18018 @if intl
18019 maybe-pdf-intl: pdf-intl
18021 pdf-intl: \
18022 configure-intl
18023 @[ -f ./intl/Makefile ] || exit 0; \
18024 r=`${PWD_COMMAND}`; export r; \
18025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18026 $(HOST_EXPORTS) \
18027 for flag in $(EXTRA_HOST_FLAGS) ; do \
18028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18029 done; \
18030 echo "Doing pdf in intl" ; \
18031 (cd $(HOST_SUBDIR)/intl && \
18032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18034 "RANLIB=$${RANLIB}" \
18035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18036 pdf) \
18037 || exit 1
18039 @endif intl
18041 .PHONY: maybe-html-intl html-intl
18042 maybe-html-intl:
18043 @if intl
18044 maybe-html-intl: html-intl
18046 html-intl: \
18047 configure-intl
18048 @[ -f ./intl/Makefile ] || exit 0; \
18049 r=`${PWD_COMMAND}`; export r; \
18050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18051 $(HOST_EXPORTS) \
18052 for flag in $(EXTRA_HOST_FLAGS) ; do \
18053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18054 done; \
18055 echo "Doing html in intl" ; \
18056 (cd $(HOST_SUBDIR)/intl && \
18057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18059 "RANLIB=$${RANLIB}" \
18060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18061 html) \
18062 || exit 1
18064 @endif intl
18066 .PHONY: maybe-TAGS-intl TAGS-intl
18067 maybe-TAGS-intl:
18068 @if intl
18069 maybe-TAGS-intl: TAGS-intl
18071 TAGS-intl: \
18072 configure-intl
18073 @[ -f ./intl/Makefile ] || exit 0; \
18074 r=`${PWD_COMMAND}`; export r; \
18075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18076 $(HOST_EXPORTS) \
18077 for flag in $(EXTRA_HOST_FLAGS) ; do \
18078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18079 done; \
18080 echo "Doing TAGS in intl" ; \
18081 (cd $(HOST_SUBDIR)/intl && \
18082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18084 "RANLIB=$${RANLIB}" \
18085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18086 TAGS) \
18087 || exit 1
18089 @endif intl
18091 .PHONY: maybe-install-info-intl install-info-intl
18092 maybe-install-info-intl:
18093 @if intl
18094 maybe-install-info-intl: install-info-intl
18096 install-info-intl: \
18097 configure-intl \
18098 info-intl
18099 @[ -f ./intl/Makefile ] || exit 0; \
18100 r=`${PWD_COMMAND}`; export r; \
18101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18102 $(HOST_EXPORTS) \
18103 for flag in $(EXTRA_HOST_FLAGS) ; do \
18104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18105 done; \
18106 echo "Doing install-info in intl" ; \
18107 (cd $(HOST_SUBDIR)/intl && \
18108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18110 "RANLIB=$${RANLIB}" \
18111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18112 install-info) \
18113 || exit 1
18115 @endif intl
18117 .PHONY: maybe-install-pdf-intl install-pdf-intl
18118 maybe-install-pdf-intl:
18119 @if intl
18120 maybe-install-pdf-intl: install-pdf-intl
18122 install-pdf-intl: \
18123 configure-intl \
18124 pdf-intl
18125 @[ -f ./intl/Makefile ] || exit 0; \
18126 r=`${PWD_COMMAND}`; export r; \
18127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18128 $(HOST_EXPORTS) \
18129 for flag in $(EXTRA_HOST_FLAGS) ; do \
18130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18131 done; \
18132 echo "Doing install-pdf in intl" ; \
18133 (cd $(HOST_SUBDIR)/intl && \
18134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18136 "RANLIB=$${RANLIB}" \
18137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18138 install-pdf) \
18139 || exit 1
18141 @endif intl
18143 .PHONY: maybe-install-html-intl install-html-intl
18144 maybe-install-html-intl:
18145 @if intl
18146 maybe-install-html-intl: install-html-intl
18148 install-html-intl: \
18149 configure-intl \
18150 html-intl
18151 @[ -f ./intl/Makefile ] || exit 0; \
18152 r=`${PWD_COMMAND}`; export r; \
18153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18154 $(HOST_EXPORTS) \
18155 for flag in $(EXTRA_HOST_FLAGS) ; do \
18156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18157 done; \
18158 echo "Doing install-html in intl" ; \
18159 (cd $(HOST_SUBDIR)/intl && \
18160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18162 "RANLIB=$${RANLIB}" \
18163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18164 install-html) \
18165 || exit 1
18167 @endif intl
18169 .PHONY: maybe-installcheck-intl installcheck-intl
18170 maybe-installcheck-intl:
18171 @if intl
18172 maybe-installcheck-intl: installcheck-intl
18174 installcheck-intl: \
18175 configure-intl
18176 @[ -f ./intl/Makefile ] || exit 0; \
18177 r=`${PWD_COMMAND}`; export r; \
18178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18179 $(HOST_EXPORTS) \
18180 for flag in $(EXTRA_HOST_FLAGS) ; do \
18181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18182 done; \
18183 echo "Doing installcheck in intl" ; \
18184 (cd $(HOST_SUBDIR)/intl && \
18185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18187 "RANLIB=$${RANLIB}" \
18188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18189 installcheck) \
18190 || exit 1
18192 @endif intl
18194 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
18195 maybe-mostlyclean-intl:
18196 @if intl
18197 maybe-mostlyclean-intl: mostlyclean-intl
18199 mostlyclean-intl:
18200 @[ -f ./intl/Makefile ] || exit 0; \
18201 r=`${PWD_COMMAND}`; export r; \
18202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 $(HOST_EXPORTS) \
18204 for flag in $(EXTRA_HOST_FLAGS) ; do \
18205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18206 done; \
18207 echo "Doing mostlyclean in intl" ; \
18208 (cd $(HOST_SUBDIR)/intl && \
18209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18211 "RANLIB=$${RANLIB}" \
18212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18213 mostlyclean) \
18214 || exit 1
18216 @endif intl
18218 .PHONY: maybe-clean-intl clean-intl
18219 maybe-clean-intl:
18220 @if intl
18221 maybe-clean-intl: clean-intl
18223 clean-intl:
18224 @[ -f ./intl/Makefile ] || exit 0; \
18225 r=`${PWD_COMMAND}`; export r; \
18226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18227 $(HOST_EXPORTS) \
18228 for flag in $(EXTRA_HOST_FLAGS) ; do \
18229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18230 done; \
18231 echo "Doing clean in intl" ; \
18232 (cd $(HOST_SUBDIR)/intl && \
18233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18235 "RANLIB=$${RANLIB}" \
18236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18237 clean) \
18238 || exit 1
18240 @endif intl
18242 .PHONY: maybe-distclean-intl distclean-intl
18243 maybe-distclean-intl:
18244 @if intl
18245 maybe-distclean-intl: distclean-intl
18247 distclean-intl:
18248 @[ -f ./intl/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 distclean in intl" ; \
18256 (cd $(HOST_SUBDIR)/intl && \
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 distclean) \
18262 || exit 1
18264 @endif intl
18266 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
18267 maybe-maintainer-clean-intl:
18268 @if intl
18269 maybe-maintainer-clean-intl: maintainer-clean-intl
18271 maintainer-clean-intl:
18272 @[ -f ./intl/Makefile ] || exit 0; \
18273 r=`${PWD_COMMAND}`; export r; \
18274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18275 $(HOST_EXPORTS) \
18276 for flag in $(EXTRA_HOST_FLAGS) ; do \
18277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18278 done; \
18279 echo "Doing maintainer-clean in intl" ; \
18280 (cd $(HOST_SUBDIR)/intl && \
18281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18283 "RANLIB=$${RANLIB}" \
18284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18285 maintainer-clean) \
18286 || exit 1
18288 @endif intl
18292 .PHONY: configure-tcl maybe-configure-tcl
18293 maybe-configure-tcl:
18294 @if gcc-bootstrap
18295 configure-tcl: stage_current
18296 @endif gcc-bootstrap
18297 @if tcl
18298 maybe-configure-tcl: configure-tcl
18299 configure-tcl:
18300 @: $(MAKE); $(unstage)
18301 @r=`${PWD_COMMAND}`; export r; \
18302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18303 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
18304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
18305 $(HOST_EXPORTS) \
18306 echo Configuring in $(HOST_SUBDIR)/tcl; \
18307 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
18308 case $(srcdir) in \
18309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18310 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
18311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18312 esac; \
18313 module_srcdir=tcl; \
18314 $(SHELL) \
18315 $$s/$$module_srcdir/configure \
18316 --srcdir=$${topdir}/$$module_srcdir \
18317 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18318 --target=${target_alias} \
18319 || exit 1
18320 @endif tcl
18326 .PHONY: all-tcl maybe-all-tcl
18327 maybe-all-tcl:
18328 @if gcc-bootstrap
18329 all-tcl: stage_current
18330 @endif gcc-bootstrap
18331 @if tcl
18332 TARGET-tcl=all
18333 maybe-all-tcl: all-tcl
18334 all-tcl: configure-tcl
18335 @: $(MAKE); $(unstage)
18336 @r=`${PWD_COMMAND}`; export r; \
18337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18338 $(HOST_EXPORTS) \
18339 (cd $(HOST_SUBDIR)/tcl && \
18340 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18341 $(TARGET-tcl))
18342 @endif tcl
18347 .PHONY: check-tcl maybe-check-tcl
18348 maybe-check-tcl:
18349 @if tcl
18350 maybe-check-tcl: check-tcl
18352 check-tcl:
18353 @: $(MAKE); $(unstage)
18354 @r=`${PWD_COMMAND}`; export r; \
18355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18356 $(HOST_EXPORTS) \
18357 (cd $(HOST_SUBDIR)/tcl && \
18358 $(MAKE) $(FLAGS_TO_PASS) check)
18360 @endif tcl
18362 .PHONY: install-tcl maybe-install-tcl
18363 maybe-install-tcl:
18364 @if tcl
18365 maybe-install-tcl: install-tcl
18367 install-tcl: installdirs
18368 @: $(MAKE); $(unstage)
18369 @r=`${PWD_COMMAND}`; export r; \
18370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18371 $(HOST_EXPORTS) \
18372 (cd $(HOST_SUBDIR)/tcl && \
18373 $(MAKE) $(FLAGS_TO_PASS) install)
18375 @endif tcl
18377 .PHONY: install-strip-tcl maybe-install-strip-tcl
18378 maybe-install-strip-tcl:
18379 @if tcl
18380 maybe-install-strip-tcl: install-strip-tcl
18382 install-strip-tcl: installdirs
18383 @: $(MAKE); $(unstage)
18384 @r=`${PWD_COMMAND}`; export r; \
18385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18386 $(HOST_EXPORTS) \
18387 (cd $(HOST_SUBDIR)/tcl && \
18388 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18390 @endif tcl
18392 # Other targets (info, dvi, pdf, etc.)
18394 .PHONY: maybe-info-tcl info-tcl
18395 maybe-info-tcl:
18396 @if tcl
18397 maybe-info-tcl: info-tcl
18399 info-tcl: \
18400 configure-tcl
18401 @: $(MAKE); $(unstage)
18402 @[ -f ./tcl/Makefile ] || exit 0; \
18403 r=`${PWD_COMMAND}`; export r; \
18404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS) ; do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing info in tcl" ; \
18410 (cd $(HOST_SUBDIR)/tcl && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18415 info) \
18416 || exit 1
18418 @endif tcl
18420 .PHONY: maybe-dvi-tcl dvi-tcl
18421 maybe-dvi-tcl:
18422 @if tcl
18423 maybe-dvi-tcl: dvi-tcl
18425 dvi-tcl: \
18426 configure-tcl
18427 @: $(MAKE); $(unstage)
18428 @[ -f ./tcl/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 dvi in tcl" ; \
18436 (cd $(HOST_SUBDIR)/tcl && \
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 dvi) \
18442 || exit 1
18444 @endif tcl
18446 .PHONY: maybe-pdf-tcl pdf-tcl
18447 maybe-pdf-tcl:
18448 @if tcl
18449 maybe-pdf-tcl: pdf-tcl
18451 pdf-tcl: \
18452 configure-tcl
18453 @: $(MAKE); $(unstage)
18454 @[ -f ./tcl/Makefile ] || exit 0; \
18455 r=`${PWD_COMMAND}`; export r; \
18456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18457 $(HOST_EXPORTS) \
18458 for flag in $(EXTRA_HOST_FLAGS) ; do \
18459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18460 done; \
18461 echo "Doing pdf in tcl" ; \
18462 (cd $(HOST_SUBDIR)/tcl && \
18463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18465 "RANLIB=$${RANLIB}" \
18466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18467 pdf) \
18468 || exit 1
18470 @endif tcl
18472 .PHONY: maybe-html-tcl html-tcl
18473 maybe-html-tcl:
18474 @if tcl
18475 maybe-html-tcl: html-tcl
18477 html-tcl: \
18478 configure-tcl
18479 @: $(MAKE); $(unstage)
18480 @[ -f ./tcl/Makefile ] || exit 0; \
18481 r=`${PWD_COMMAND}`; export r; \
18482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18483 $(HOST_EXPORTS) \
18484 for flag in $(EXTRA_HOST_FLAGS) ; do \
18485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18486 done; \
18487 echo "Doing html in tcl" ; \
18488 (cd $(HOST_SUBDIR)/tcl && \
18489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18491 "RANLIB=$${RANLIB}" \
18492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18493 html) \
18494 || exit 1
18496 @endif tcl
18498 .PHONY: maybe-TAGS-tcl TAGS-tcl
18499 maybe-TAGS-tcl:
18500 @if tcl
18501 maybe-TAGS-tcl: TAGS-tcl
18503 TAGS-tcl: \
18504 configure-tcl
18505 @: $(MAKE); $(unstage)
18506 @[ -f ./tcl/Makefile ] || exit 0; \
18507 r=`${PWD_COMMAND}`; export r; \
18508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18509 $(HOST_EXPORTS) \
18510 for flag in $(EXTRA_HOST_FLAGS) ; do \
18511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18512 done; \
18513 echo "Doing TAGS in tcl" ; \
18514 (cd $(HOST_SUBDIR)/tcl && \
18515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18517 "RANLIB=$${RANLIB}" \
18518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18519 TAGS) \
18520 || exit 1
18522 @endif tcl
18524 .PHONY: maybe-install-info-tcl install-info-tcl
18525 maybe-install-info-tcl:
18526 @if tcl
18527 maybe-install-info-tcl: install-info-tcl
18529 install-info-tcl: \
18530 configure-tcl \
18531 info-tcl
18532 @: $(MAKE); $(unstage)
18533 @[ -f ./tcl/Makefile ] || exit 0; \
18534 r=`${PWD_COMMAND}`; export r; \
18535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18536 $(HOST_EXPORTS) \
18537 for flag in $(EXTRA_HOST_FLAGS) ; do \
18538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18539 done; \
18540 echo "Doing install-info in tcl" ; \
18541 (cd $(HOST_SUBDIR)/tcl && \
18542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18544 "RANLIB=$${RANLIB}" \
18545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18546 install-info) \
18547 || exit 1
18549 @endif tcl
18551 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18552 maybe-install-pdf-tcl:
18553 @if tcl
18554 maybe-install-pdf-tcl: install-pdf-tcl
18556 install-pdf-tcl: \
18557 configure-tcl \
18558 pdf-tcl
18559 @: $(MAKE); $(unstage)
18560 @[ -f ./tcl/Makefile ] || exit 0; \
18561 r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18563 $(HOST_EXPORTS) \
18564 for flag in $(EXTRA_HOST_FLAGS) ; do \
18565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18566 done; \
18567 echo "Doing install-pdf in tcl" ; \
18568 (cd $(HOST_SUBDIR)/tcl && \
18569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18571 "RANLIB=$${RANLIB}" \
18572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18573 install-pdf) \
18574 || exit 1
18576 @endif tcl
18578 .PHONY: maybe-install-html-tcl install-html-tcl
18579 maybe-install-html-tcl:
18580 @if tcl
18581 maybe-install-html-tcl: install-html-tcl
18583 install-html-tcl: \
18584 configure-tcl \
18585 html-tcl
18586 @: $(MAKE); $(unstage)
18587 @[ -f ./tcl/Makefile ] || exit 0; \
18588 r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18590 $(HOST_EXPORTS) \
18591 for flag in $(EXTRA_HOST_FLAGS) ; do \
18592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18593 done; \
18594 echo "Doing install-html in tcl" ; \
18595 (cd $(HOST_SUBDIR)/tcl && \
18596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18598 "RANLIB=$${RANLIB}" \
18599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18600 install-html) \
18601 || exit 1
18603 @endif tcl
18605 .PHONY: maybe-installcheck-tcl installcheck-tcl
18606 maybe-installcheck-tcl:
18607 @if tcl
18608 maybe-installcheck-tcl: installcheck-tcl
18610 installcheck-tcl: \
18611 configure-tcl
18612 @: $(MAKE); $(unstage)
18613 @[ -f ./tcl/Makefile ] || exit 0; \
18614 r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 $(HOST_EXPORTS) \
18617 for flag in $(EXTRA_HOST_FLAGS) ; do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 done; \
18620 echo "Doing installcheck in tcl" ; \
18621 (cd $(HOST_SUBDIR)/tcl && \
18622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18624 "RANLIB=$${RANLIB}" \
18625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18626 installcheck) \
18627 || exit 1
18629 @endif tcl
18631 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18632 maybe-mostlyclean-tcl:
18633 @if tcl
18634 maybe-mostlyclean-tcl: mostlyclean-tcl
18636 # tcl doesn't support mostlyclean.
18637 mostlyclean-tcl:
18639 @endif tcl
18641 .PHONY: maybe-clean-tcl clean-tcl
18642 maybe-clean-tcl:
18643 @if tcl
18644 maybe-clean-tcl: clean-tcl
18646 clean-tcl:
18647 @: $(MAKE); $(unstage)
18648 @[ -f ./tcl/Makefile ] || exit 0; \
18649 r=`${PWD_COMMAND}`; export r; \
18650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18651 $(HOST_EXPORTS) \
18652 for flag in $(EXTRA_HOST_FLAGS) ; do \
18653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18654 done; \
18655 echo "Doing clean in tcl" ; \
18656 (cd $(HOST_SUBDIR)/tcl && \
18657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18659 "RANLIB=$${RANLIB}" \
18660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18661 clean) \
18662 || exit 1
18664 @endif tcl
18666 .PHONY: maybe-distclean-tcl distclean-tcl
18667 maybe-distclean-tcl:
18668 @if tcl
18669 maybe-distclean-tcl: distclean-tcl
18671 distclean-tcl:
18672 @: $(MAKE); $(unstage)
18673 @[ -f ./tcl/Makefile ] || exit 0; \
18674 r=`${PWD_COMMAND}`; export r; \
18675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18676 $(HOST_EXPORTS) \
18677 for flag in $(EXTRA_HOST_FLAGS) ; do \
18678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18679 done; \
18680 echo "Doing distclean in tcl" ; \
18681 (cd $(HOST_SUBDIR)/tcl && \
18682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18684 "RANLIB=$${RANLIB}" \
18685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18686 distclean) \
18687 || exit 1
18689 @endif tcl
18691 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18692 maybe-maintainer-clean-tcl:
18693 @if tcl
18694 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18696 maintainer-clean-tcl:
18697 @: $(MAKE); $(unstage)
18698 @[ -f ./tcl/Makefile ] || exit 0; \
18699 r=`${PWD_COMMAND}`; export r; \
18700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18701 $(HOST_EXPORTS) \
18702 for flag in $(EXTRA_HOST_FLAGS) ; do \
18703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18704 done; \
18705 echo "Doing maintainer-clean in tcl" ; \
18706 (cd $(HOST_SUBDIR)/tcl && \
18707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18709 "RANLIB=$${RANLIB}" \
18710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18711 maintainer-clean) \
18712 || exit 1
18714 @endif tcl
18718 .PHONY: configure-itcl maybe-configure-itcl
18719 maybe-configure-itcl:
18720 @if gcc-bootstrap
18721 configure-itcl: stage_current
18722 @endif gcc-bootstrap
18723 @if itcl
18724 maybe-configure-itcl: configure-itcl
18725 configure-itcl:
18726 @: $(MAKE); $(unstage)
18727 @r=`${PWD_COMMAND}`; export r; \
18728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18729 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18731 $(HOST_EXPORTS) \
18732 echo Configuring in $(HOST_SUBDIR)/itcl; \
18733 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18734 case $(srcdir) in \
18735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18736 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18738 esac; \
18739 module_srcdir=itcl; \
18740 $(SHELL) \
18741 $$s/$$module_srcdir/configure \
18742 --srcdir=$${topdir}/$$module_srcdir \
18743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18744 --target=${target_alias} \
18745 || exit 1
18746 @endif itcl
18752 .PHONY: all-itcl maybe-all-itcl
18753 maybe-all-itcl:
18754 @if gcc-bootstrap
18755 all-itcl: stage_current
18756 @endif gcc-bootstrap
18757 @if itcl
18758 TARGET-itcl=all
18759 maybe-all-itcl: all-itcl
18760 all-itcl: configure-itcl
18761 @: $(MAKE); $(unstage)
18762 @r=`${PWD_COMMAND}`; export r; \
18763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18764 $(HOST_EXPORTS) \
18765 (cd $(HOST_SUBDIR)/itcl && \
18766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18767 $(TARGET-itcl))
18768 @endif itcl
18773 .PHONY: check-itcl maybe-check-itcl
18774 maybe-check-itcl:
18775 @if itcl
18776 maybe-check-itcl: check-itcl
18778 check-itcl:
18779 @: $(MAKE); $(unstage)
18780 @r=`${PWD_COMMAND}`; export r; \
18781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18782 $(HOST_EXPORTS) \
18783 (cd $(HOST_SUBDIR)/itcl && \
18784 $(MAKE) $(FLAGS_TO_PASS) check)
18786 @endif itcl
18788 .PHONY: install-itcl maybe-install-itcl
18789 maybe-install-itcl:
18790 @if itcl
18791 maybe-install-itcl: install-itcl
18793 install-itcl: installdirs
18794 @: $(MAKE); $(unstage)
18795 @r=`${PWD_COMMAND}`; export r; \
18796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18797 $(HOST_EXPORTS) \
18798 (cd $(HOST_SUBDIR)/itcl && \
18799 $(MAKE) $(FLAGS_TO_PASS) install)
18801 @endif itcl
18803 .PHONY: install-strip-itcl maybe-install-strip-itcl
18804 maybe-install-strip-itcl:
18805 @if itcl
18806 maybe-install-strip-itcl: install-strip-itcl
18808 install-strip-itcl: installdirs
18809 @: $(MAKE); $(unstage)
18810 @r=`${PWD_COMMAND}`; export r; \
18811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18812 $(HOST_EXPORTS) \
18813 (cd $(HOST_SUBDIR)/itcl && \
18814 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18816 @endif itcl
18818 # Other targets (info, dvi, pdf, etc.)
18820 .PHONY: maybe-info-itcl info-itcl
18821 maybe-info-itcl:
18822 @if itcl
18823 maybe-info-itcl: info-itcl
18825 info-itcl: \
18826 configure-itcl
18827 @: $(MAKE); $(unstage)
18828 @[ -f ./itcl/Makefile ] || exit 0; \
18829 r=`${PWD_COMMAND}`; export r; \
18830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18831 $(HOST_EXPORTS) \
18832 for flag in $(EXTRA_HOST_FLAGS) ; do \
18833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18834 done; \
18835 echo "Doing info in itcl" ; \
18836 (cd $(HOST_SUBDIR)/itcl && \
18837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18839 "RANLIB=$${RANLIB}" \
18840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18841 info) \
18842 || exit 1
18844 @endif itcl
18846 .PHONY: maybe-dvi-itcl dvi-itcl
18847 maybe-dvi-itcl:
18848 @if itcl
18849 maybe-dvi-itcl: dvi-itcl
18851 dvi-itcl: \
18852 configure-itcl
18853 @: $(MAKE); $(unstage)
18854 @[ -f ./itcl/Makefile ] || exit 0; \
18855 r=`${PWD_COMMAND}`; export r; \
18856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18857 $(HOST_EXPORTS) \
18858 for flag in $(EXTRA_HOST_FLAGS) ; do \
18859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18860 done; \
18861 echo "Doing dvi in itcl" ; \
18862 (cd $(HOST_SUBDIR)/itcl && \
18863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18865 "RANLIB=$${RANLIB}" \
18866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18867 dvi) \
18868 || exit 1
18870 @endif itcl
18872 .PHONY: maybe-pdf-itcl pdf-itcl
18873 maybe-pdf-itcl:
18874 @if itcl
18875 maybe-pdf-itcl: pdf-itcl
18877 pdf-itcl: \
18878 configure-itcl
18879 @: $(MAKE); $(unstage)
18880 @[ -f ./itcl/Makefile ] || exit 0; \
18881 r=`${PWD_COMMAND}`; export r; \
18882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18883 $(HOST_EXPORTS) \
18884 for flag in $(EXTRA_HOST_FLAGS) ; do \
18885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18886 done; \
18887 echo "Doing pdf in itcl" ; \
18888 (cd $(HOST_SUBDIR)/itcl && \
18889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18891 "RANLIB=$${RANLIB}" \
18892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18893 pdf) \
18894 || exit 1
18896 @endif itcl
18898 .PHONY: maybe-html-itcl html-itcl
18899 maybe-html-itcl:
18900 @if itcl
18901 maybe-html-itcl: html-itcl
18903 html-itcl: \
18904 configure-itcl
18905 @: $(MAKE); $(unstage)
18906 @[ -f ./itcl/Makefile ] || exit 0; \
18907 r=`${PWD_COMMAND}`; export r; \
18908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18909 $(HOST_EXPORTS) \
18910 for flag in $(EXTRA_HOST_FLAGS) ; do \
18911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18912 done; \
18913 echo "Doing html in itcl" ; \
18914 (cd $(HOST_SUBDIR)/itcl && \
18915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18917 "RANLIB=$${RANLIB}" \
18918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18919 html) \
18920 || exit 1
18922 @endif itcl
18924 .PHONY: maybe-TAGS-itcl TAGS-itcl
18925 maybe-TAGS-itcl:
18926 @if itcl
18927 maybe-TAGS-itcl: TAGS-itcl
18929 TAGS-itcl: \
18930 configure-itcl
18931 @: $(MAKE); $(unstage)
18932 @[ -f ./itcl/Makefile ] || exit 0; \
18933 r=`${PWD_COMMAND}`; export r; \
18934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18935 $(HOST_EXPORTS) \
18936 for flag in $(EXTRA_HOST_FLAGS) ; do \
18937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18938 done; \
18939 echo "Doing TAGS in itcl" ; \
18940 (cd $(HOST_SUBDIR)/itcl && \
18941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18943 "RANLIB=$${RANLIB}" \
18944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18945 TAGS) \
18946 || exit 1
18948 @endif itcl
18950 .PHONY: maybe-install-info-itcl install-info-itcl
18951 maybe-install-info-itcl:
18952 @if itcl
18953 maybe-install-info-itcl: install-info-itcl
18955 install-info-itcl: \
18956 configure-itcl \
18957 info-itcl
18958 @: $(MAKE); $(unstage)
18959 @[ -f ./itcl/Makefile ] || exit 0; \
18960 r=`${PWD_COMMAND}`; export r; \
18961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18962 $(HOST_EXPORTS) \
18963 for flag in $(EXTRA_HOST_FLAGS) ; do \
18964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18965 done; \
18966 echo "Doing install-info in itcl" ; \
18967 (cd $(HOST_SUBDIR)/itcl && \
18968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18970 "RANLIB=$${RANLIB}" \
18971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18972 install-info) \
18973 || exit 1
18975 @endif itcl
18977 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18978 maybe-install-pdf-itcl:
18979 @if itcl
18980 maybe-install-pdf-itcl: install-pdf-itcl
18982 install-pdf-itcl: \
18983 configure-itcl \
18984 pdf-itcl
18985 @: $(MAKE); $(unstage)
18986 @[ -f ./itcl/Makefile ] || exit 0; \
18987 r=`${PWD_COMMAND}`; export r; \
18988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18989 $(HOST_EXPORTS) \
18990 for flag in $(EXTRA_HOST_FLAGS) ; do \
18991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18992 done; \
18993 echo "Doing install-pdf in itcl" ; \
18994 (cd $(HOST_SUBDIR)/itcl && \
18995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18997 "RANLIB=$${RANLIB}" \
18998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18999 install-pdf) \
19000 || exit 1
19002 @endif itcl
19004 .PHONY: maybe-install-html-itcl install-html-itcl
19005 maybe-install-html-itcl:
19006 @if itcl
19007 maybe-install-html-itcl: install-html-itcl
19009 install-html-itcl: \
19010 configure-itcl \
19011 html-itcl
19012 @: $(MAKE); $(unstage)
19013 @[ -f ./itcl/Makefile ] || exit 0; \
19014 r=`${PWD_COMMAND}`; export r; \
19015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19016 $(HOST_EXPORTS) \
19017 for flag in $(EXTRA_HOST_FLAGS) ; do \
19018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19019 done; \
19020 echo "Doing install-html in itcl" ; \
19021 (cd $(HOST_SUBDIR)/itcl && \
19022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19024 "RANLIB=$${RANLIB}" \
19025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19026 install-html) \
19027 || exit 1
19029 @endif itcl
19031 .PHONY: maybe-installcheck-itcl installcheck-itcl
19032 maybe-installcheck-itcl:
19033 @if itcl
19034 maybe-installcheck-itcl: installcheck-itcl
19036 installcheck-itcl: \
19037 configure-itcl
19038 @: $(MAKE); $(unstage)
19039 @[ -f ./itcl/Makefile ] || exit 0; \
19040 r=`${PWD_COMMAND}`; export r; \
19041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19042 $(HOST_EXPORTS) \
19043 for flag in $(EXTRA_HOST_FLAGS) ; do \
19044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19045 done; \
19046 echo "Doing installcheck in itcl" ; \
19047 (cd $(HOST_SUBDIR)/itcl && \
19048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19050 "RANLIB=$${RANLIB}" \
19051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19052 installcheck) \
19053 || exit 1
19055 @endif itcl
19057 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
19058 maybe-mostlyclean-itcl:
19059 @if itcl
19060 maybe-mostlyclean-itcl: mostlyclean-itcl
19062 mostlyclean-itcl:
19063 @: $(MAKE); $(unstage)
19064 @[ -f ./itcl/Makefile ] || exit 0; \
19065 r=`${PWD_COMMAND}`; export r; \
19066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19067 $(HOST_EXPORTS) \
19068 for flag in $(EXTRA_HOST_FLAGS) ; do \
19069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19070 done; \
19071 echo "Doing mostlyclean in itcl" ; \
19072 (cd $(HOST_SUBDIR)/itcl && \
19073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19075 "RANLIB=$${RANLIB}" \
19076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19077 mostlyclean) \
19078 || exit 1
19080 @endif itcl
19082 .PHONY: maybe-clean-itcl clean-itcl
19083 maybe-clean-itcl:
19084 @if itcl
19085 maybe-clean-itcl: clean-itcl
19087 clean-itcl:
19088 @: $(MAKE); $(unstage)
19089 @[ -f ./itcl/Makefile ] || exit 0; \
19090 r=`${PWD_COMMAND}`; export r; \
19091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092 $(HOST_EXPORTS) \
19093 for flag in $(EXTRA_HOST_FLAGS) ; do \
19094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19095 done; \
19096 echo "Doing clean in itcl" ; \
19097 (cd $(HOST_SUBDIR)/itcl && \
19098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19100 "RANLIB=$${RANLIB}" \
19101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19102 clean) \
19103 || exit 1
19105 @endif itcl
19107 .PHONY: maybe-distclean-itcl distclean-itcl
19108 maybe-distclean-itcl:
19109 @if itcl
19110 maybe-distclean-itcl: distclean-itcl
19112 distclean-itcl:
19113 @: $(MAKE); $(unstage)
19114 @[ -f ./itcl/Makefile ] || exit 0; \
19115 r=`${PWD_COMMAND}`; export r; \
19116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19117 $(HOST_EXPORTS) \
19118 for flag in $(EXTRA_HOST_FLAGS) ; do \
19119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19120 done; \
19121 echo "Doing distclean in itcl" ; \
19122 (cd $(HOST_SUBDIR)/itcl && \
19123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19125 "RANLIB=$${RANLIB}" \
19126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19127 distclean) \
19128 || exit 1
19130 @endif itcl
19132 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
19133 maybe-maintainer-clean-itcl:
19134 @if itcl
19135 maybe-maintainer-clean-itcl: maintainer-clean-itcl
19137 maintainer-clean-itcl:
19138 @: $(MAKE); $(unstage)
19139 @[ -f ./itcl/Makefile ] || exit 0; \
19140 r=`${PWD_COMMAND}`; export r; \
19141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19142 $(HOST_EXPORTS) \
19143 for flag in $(EXTRA_HOST_FLAGS) ; do \
19144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19145 done; \
19146 echo "Doing maintainer-clean in itcl" ; \
19147 (cd $(HOST_SUBDIR)/itcl && \
19148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19150 "RANLIB=$${RANLIB}" \
19151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19152 maintainer-clean) \
19153 || exit 1
19155 @endif itcl
19159 .PHONY: configure-ld maybe-configure-ld
19160 maybe-configure-ld:
19161 @if gcc-bootstrap
19162 configure-ld: stage_current
19163 @endif gcc-bootstrap
19164 @if ld
19165 maybe-configure-ld: configure-ld
19166 configure-ld:
19167 @r=`${PWD_COMMAND}`; export r; \
19168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19169 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19171 $(HOST_EXPORTS) \
19172 echo Configuring in $(HOST_SUBDIR)/ld; \
19173 cd "$(HOST_SUBDIR)/ld" || exit 1; \
19174 case $(srcdir) in \
19175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19176 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19178 esac; \
19179 module_srcdir=ld; \
19180 $(SHELL) \
19181 $$s/$$module_srcdir/configure \
19182 --srcdir=$${topdir}/$$module_srcdir \
19183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19184 --target=${target_alias} \
19185 || exit 1
19186 @endif ld
19190 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
19191 maybe-configure-stage1-ld:
19192 @if ld-bootstrap
19193 maybe-configure-stage1-ld: configure-stage1-ld
19194 configure-stage1-ld:
19195 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19197 @r=`${PWD_COMMAND}`; export r; \
19198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19199 TFLAGS="$(STAGE1_TFLAGS)"; \
19200 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19201 $(HOST_EXPORTS) \
19202 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19203 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19204 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19205 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
19206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19207 cd $(HOST_SUBDIR)/ld || exit 1; \
19208 case $(srcdir) in \
19209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19210 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19212 esac; \
19213 module_srcdir=ld; \
19214 $(SHELL) $$s/$$module_srcdir/configure \
19215 --srcdir=$${topdir}/$$module_srcdir \
19216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19217 --target=${target_alias} \
19219 $(STAGE1_CONFIGURE_FLAGS)
19220 @endif ld-bootstrap
19222 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
19223 maybe-configure-stage2-ld:
19224 @if ld-bootstrap
19225 maybe-configure-stage2-ld: configure-stage2-ld
19226 configure-stage2-ld:
19227 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19228 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19229 @r=`${PWD_COMMAND}`; export r; \
19230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19231 TFLAGS="$(STAGE2_TFLAGS)"; \
19232 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19233 $(HOST_EXPORTS) \
19234 $(POSTSTAGE1_HOST_EXPORTS) \
19235 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19236 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19237 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19238 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
19239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19240 cd $(HOST_SUBDIR)/ld || exit 1; \
19241 case $(srcdir) in \
19242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19243 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19245 esac; \
19246 module_srcdir=ld; \
19247 $(SHELL) $$s/$$module_srcdir/configure \
19248 --srcdir=$${topdir}/$$module_srcdir \
19249 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19250 --target=${target_alias} \
19251 --with-build-libsubdir=$(HOST_SUBDIR) \
19252 $(STAGE2_CONFIGURE_FLAGS)
19253 @endif ld-bootstrap
19255 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
19256 maybe-configure-stage3-ld:
19257 @if ld-bootstrap
19258 maybe-configure-stage3-ld: configure-stage3-ld
19259 configure-stage3-ld:
19260 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19262 @r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19264 TFLAGS="$(STAGE3_TFLAGS)"; \
19265 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19266 $(HOST_EXPORTS) \
19267 $(POSTSTAGE1_HOST_EXPORTS) \
19268 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19269 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19270 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19271 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
19272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19273 cd $(HOST_SUBDIR)/ld || exit 1; \
19274 case $(srcdir) in \
19275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19276 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19278 esac; \
19279 module_srcdir=ld; \
19280 $(SHELL) $$s/$$module_srcdir/configure \
19281 --srcdir=$${topdir}/$$module_srcdir \
19282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19283 --target=${target_alias} \
19284 --with-build-libsubdir=$(HOST_SUBDIR) \
19285 $(STAGE3_CONFIGURE_FLAGS)
19286 @endif ld-bootstrap
19288 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
19289 maybe-configure-stage4-ld:
19290 @if ld-bootstrap
19291 maybe-configure-stage4-ld: configure-stage4-ld
19292 configure-stage4-ld:
19293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19295 @r=`${PWD_COMMAND}`; export r; \
19296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19297 TFLAGS="$(STAGE4_TFLAGS)"; \
19298 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19299 $(HOST_EXPORTS) \
19300 $(POSTSTAGE1_HOST_EXPORTS) \
19301 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19302 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19303 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19304 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
19305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19306 cd $(HOST_SUBDIR)/ld || exit 1; \
19307 case $(srcdir) in \
19308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19309 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19311 esac; \
19312 module_srcdir=ld; \
19313 $(SHELL) $$s/$$module_srcdir/configure \
19314 --srcdir=$${topdir}/$$module_srcdir \
19315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19316 --target=${target_alias} \
19317 --with-build-libsubdir=$(HOST_SUBDIR) \
19318 $(STAGE4_CONFIGURE_FLAGS)
19319 @endif ld-bootstrap
19321 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
19322 maybe-configure-stageprofile-ld:
19323 @if ld-bootstrap
19324 maybe-configure-stageprofile-ld: configure-stageprofile-ld
19325 configure-stageprofile-ld:
19326 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19328 @r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19331 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19332 $(HOST_EXPORTS) \
19333 $(POSTSTAGE1_HOST_EXPORTS) \
19334 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19335 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19336 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19337 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
19338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19339 cd $(HOST_SUBDIR)/ld || exit 1; \
19340 case $(srcdir) in \
19341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19342 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19344 esac; \
19345 module_srcdir=ld; \
19346 $(SHELL) $$s/$$module_srcdir/configure \
19347 --srcdir=$${topdir}/$$module_srcdir \
19348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19349 --target=${target_alias} \
19350 --with-build-libsubdir=$(HOST_SUBDIR) \
19351 $(STAGEprofile_CONFIGURE_FLAGS)
19352 @endif ld-bootstrap
19354 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
19355 maybe-configure-stagefeedback-ld:
19356 @if ld-bootstrap
19357 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
19358 configure-stagefeedback-ld:
19359 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19360 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19361 @r=`${PWD_COMMAND}`; export r; \
19362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19363 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19364 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19365 $(HOST_EXPORTS) \
19366 $(POSTSTAGE1_HOST_EXPORTS) \
19367 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19368 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19369 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19370 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
19371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19372 cd $(HOST_SUBDIR)/ld || exit 1; \
19373 case $(srcdir) in \
19374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19375 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19377 esac; \
19378 module_srcdir=ld; \
19379 $(SHELL) $$s/$$module_srcdir/configure \
19380 --srcdir=$${topdir}/$$module_srcdir \
19381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19382 --target=${target_alias} \
19383 --with-build-libsubdir=$(HOST_SUBDIR) \
19384 $(STAGEfeedback_CONFIGURE_FLAGS)
19385 @endif ld-bootstrap
19391 .PHONY: all-ld maybe-all-ld
19392 maybe-all-ld:
19393 @if gcc-bootstrap
19394 all-ld: stage_current
19395 @endif gcc-bootstrap
19396 @if ld
19397 TARGET-ld=all
19398 maybe-all-ld: all-ld
19399 all-ld: configure-ld
19400 @r=`${PWD_COMMAND}`; export r; \
19401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19402 $(HOST_EXPORTS) \
19403 (cd $(HOST_SUBDIR)/ld && \
19404 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19405 $(TARGET-ld))
19406 @endif ld
19410 .PHONY: all-stage1-ld maybe-all-stage1-ld
19411 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
19412 maybe-all-stage1-ld:
19413 maybe-clean-stage1-ld:
19414 @if ld-bootstrap
19415 maybe-all-stage1-ld: all-stage1-ld
19416 all-stage1: all-stage1-ld
19417 TARGET-stage1-ld = $(TARGET-ld)
19418 all-stage1-ld: configure-stage1-ld
19419 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19420 @r=`${PWD_COMMAND}`; export r; \
19421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19422 TFLAGS="$(STAGE1_TFLAGS)"; \
19423 $(HOST_EXPORTS) \
19424 cd $(HOST_SUBDIR)/ld && \
19425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19426 CFLAGS="$(STAGE1_CFLAGS)" \
19427 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19428 LIBCFLAGS="$(LIBCFLAGS)" \
19429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19432 $(EXTRA_HOST_FLAGS) \
19433 $(STAGE1_FLAGS_TO_PASS) \
19434 TFLAGS="$(STAGE1_TFLAGS)" \
19435 $(TARGET-stage1-ld)
19437 maybe-clean-stage1-ld: clean-stage1-ld
19438 clean-stage1: clean-stage1-ld
19439 clean-stage1-ld:
19440 @if [ $(current_stage) = stage1 ]; then \
19441 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19442 else \
19443 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
19444 $(MAKE) stage1-start; \
19445 fi; \
19446 cd $(HOST_SUBDIR)/ld && \
19447 $(MAKE) $(EXTRA_HOST_FLAGS) \
19448 $(STAGE1_FLAGS_TO_PASS) clean
19449 @endif ld-bootstrap
19452 .PHONY: all-stage2-ld maybe-all-stage2-ld
19453 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19454 maybe-all-stage2-ld:
19455 maybe-clean-stage2-ld:
19456 @if ld-bootstrap
19457 maybe-all-stage2-ld: all-stage2-ld
19458 all-stage2: all-stage2-ld
19459 TARGET-stage2-ld = $(TARGET-ld)
19460 all-stage2-ld: configure-stage2-ld
19461 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19462 @r=`${PWD_COMMAND}`; export r; \
19463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19464 TFLAGS="$(STAGE2_TFLAGS)"; \
19465 $(HOST_EXPORTS) \
19466 $(POSTSTAGE1_HOST_EXPORTS) \
19467 cd $(HOST_SUBDIR)/ld && \
19468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19469 CFLAGS="$(STAGE2_CFLAGS)" \
19470 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19471 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19476 TFLAGS="$(STAGE2_TFLAGS)" \
19477 $(TARGET-stage2-ld)
19479 maybe-clean-stage2-ld: clean-stage2-ld
19480 clean-stage2: clean-stage2-ld
19481 clean-stage2-ld:
19482 @if [ $(current_stage) = stage2 ]; then \
19483 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19484 else \
19485 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19486 $(MAKE) stage2-start; \
19487 fi; \
19488 cd $(HOST_SUBDIR)/ld && \
19489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19490 @endif ld-bootstrap
19493 .PHONY: all-stage3-ld maybe-all-stage3-ld
19494 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19495 maybe-all-stage3-ld:
19496 maybe-clean-stage3-ld:
19497 @if ld-bootstrap
19498 maybe-all-stage3-ld: all-stage3-ld
19499 all-stage3: all-stage3-ld
19500 TARGET-stage3-ld = $(TARGET-ld)
19501 all-stage3-ld: configure-stage3-ld
19502 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19503 @r=`${PWD_COMMAND}`; export r; \
19504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19505 TFLAGS="$(STAGE3_TFLAGS)"; \
19506 $(HOST_EXPORTS) \
19507 $(POSTSTAGE1_HOST_EXPORTS) \
19508 cd $(HOST_SUBDIR)/ld && \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19510 CFLAGS="$(STAGE3_CFLAGS)" \
19511 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19512 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19513 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19514 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19515 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19516 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19517 TFLAGS="$(STAGE3_TFLAGS)" \
19518 $(TARGET-stage3-ld)
19520 maybe-clean-stage3-ld: clean-stage3-ld
19521 clean-stage3: clean-stage3-ld
19522 clean-stage3-ld:
19523 @if [ $(current_stage) = stage3 ]; then \
19524 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19525 else \
19526 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19527 $(MAKE) stage3-start; \
19528 fi; \
19529 cd $(HOST_SUBDIR)/ld && \
19530 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19531 @endif ld-bootstrap
19534 .PHONY: all-stage4-ld maybe-all-stage4-ld
19535 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19536 maybe-all-stage4-ld:
19537 maybe-clean-stage4-ld:
19538 @if ld-bootstrap
19539 maybe-all-stage4-ld: all-stage4-ld
19540 all-stage4: all-stage4-ld
19541 TARGET-stage4-ld = $(TARGET-ld)
19542 all-stage4-ld: configure-stage4-ld
19543 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19544 @r=`${PWD_COMMAND}`; export r; \
19545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19546 TFLAGS="$(STAGE4_TFLAGS)"; \
19547 $(HOST_EXPORTS) \
19548 $(POSTSTAGE1_HOST_EXPORTS) \
19549 cd $(HOST_SUBDIR)/ld && \
19550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19551 CFLAGS="$(STAGE4_CFLAGS)" \
19552 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19553 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19554 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19555 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19556 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19557 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19558 TFLAGS="$(STAGE4_TFLAGS)" \
19559 $(TARGET-stage4-ld)
19561 maybe-clean-stage4-ld: clean-stage4-ld
19562 clean-stage4: clean-stage4-ld
19563 clean-stage4-ld:
19564 @if [ $(current_stage) = stage4 ]; then \
19565 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19566 else \
19567 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19568 $(MAKE) stage4-start; \
19569 fi; \
19570 cd $(HOST_SUBDIR)/ld && \
19571 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19572 @endif ld-bootstrap
19575 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19576 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19577 maybe-all-stageprofile-ld:
19578 maybe-clean-stageprofile-ld:
19579 @if ld-bootstrap
19580 maybe-all-stageprofile-ld: all-stageprofile-ld
19581 all-stageprofile: all-stageprofile-ld
19582 TARGET-stageprofile-ld = $(TARGET-ld)
19583 all-stageprofile-ld: configure-stageprofile-ld
19584 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19585 @r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19588 $(HOST_EXPORTS) \
19589 $(POSTSTAGE1_HOST_EXPORTS) \
19590 cd $(HOST_SUBDIR)/ld && \
19591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19592 CFLAGS="$(STAGEprofile_CFLAGS)" \
19593 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19594 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19599 TFLAGS="$(STAGEprofile_TFLAGS)" \
19600 $(TARGET-stageprofile-ld)
19602 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19603 clean-stageprofile: clean-stageprofile-ld
19604 clean-stageprofile-ld:
19605 @if [ $(current_stage) = stageprofile ]; then \
19606 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19607 else \
19608 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19609 $(MAKE) stageprofile-start; \
19610 fi; \
19611 cd $(HOST_SUBDIR)/ld && \
19612 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19613 @endif ld-bootstrap
19616 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19617 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19618 maybe-all-stagefeedback-ld:
19619 maybe-clean-stagefeedback-ld:
19620 @if ld-bootstrap
19621 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19622 all-stagefeedback: all-stagefeedback-ld
19623 TARGET-stagefeedback-ld = $(TARGET-ld)
19624 all-stagefeedback-ld: configure-stagefeedback-ld
19625 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19626 @r=`${PWD_COMMAND}`; export r; \
19627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19628 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19629 $(HOST_EXPORTS) \
19630 $(POSTSTAGE1_HOST_EXPORTS) \
19631 cd $(HOST_SUBDIR)/ld && \
19632 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19633 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19634 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19635 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19636 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19637 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19638 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19639 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19640 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19641 $(TARGET-stagefeedback-ld)
19643 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19644 clean-stagefeedback: clean-stagefeedback-ld
19645 clean-stagefeedback-ld:
19646 @if [ $(current_stage) = stagefeedback ]; then \
19647 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19648 else \
19649 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19650 $(MAKE) stagefeedback-start; \
19651 fi; \
19652 cd $(HOST_SUBDIR)/ld && \
19653 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19654 @endif ld-bootstrap
19660 .PHONY: check-ld maybe-check-ld
19661 maybe-check-ld:
19662 @if ld
19663 maybe-check-ld: check-ld
19665 check-ld:
19666 @: $(MAKE); $(unstage)
19667 @r=`${PWD_COMMAND}`; export r; \
19668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19669 $(HOST_EXPORTS) \
19670 (cd $(HOST_SUBDIR)/ld && \
19671 $(MAKE) $(FLAGS_TO_PASS) check)
19673 @endif ld
19675 .PHONY: install-ld maybe-install-ld
19676 maybe-install-ld:
19677 @if ld
19678 maybe-install-ld: install-ld
19680 install-ld: installdirs
19681 @: $(MAKE); $(unstage)
19682 @r=`${PWD_COMMAND}`; export r; \
19683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19684 $(HOST_EXPORTS) \
19685 (cd $(HOST_SUBDIR)/ld && \
19686 $(MAKE) $(FLAGS_TO_PASS) install)
19688 @endif ld
19690 .PHONY: install-strip-ld maybe-install-strip-ld
19691 maybe-install-strip-ld:
19692 @if ld
19693 maybe-install-strip-ld: install-strip-ld
19695 install-strip-ld: installdirs
19696 @: $(MAKE); $(unstage)
19697 @r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699 $(HOST_EXPORTS) \
19700 (cd $(HOST_SUBDIR)/ld && \
19701 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19703 @endif ld
19705 # Other targets (info, dvi, pdf, etc.)
19707 .PHONY: maybe-info-ld info-ld
19708 maybe-info-ld:
19709 @if ld
19710 maybe-info-ld: info-ld
19712 info-ld: \
19713 configure-ld
19714 @[ -f ./ld/Makefile ] || exit 0; \
19715 r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19717 $(HOST_EXPORTS) \
19718 for flag in $(EXTRA_HOST_FLAGS) ; do \
19719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19720 done; \
19721 echo "Doing info in ld" ; \
19722 (cd $(HOST_SUBDIR)/ld && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725 "RANLIB=$${RANLIB}" \
19726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19727 info) \
19728 || exit 1
19730 @endif ld
19732 .PHONY: maybe-dvi-ld dvi-ld
19733 maybe-dvi-ld:
19734 @if ld
19735 maybe-dvi-ld: dvi-ld
19737 dvi-ld: \
19738 configure-ld
19739 @[ -f ./ld/Makefile ] || exit 0; \
19740 r=`${PWD_COMMAND}`; export r; \
19741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19742 $(HOST_EXPORTS) \
19743 for flag in $(EXTRA_HOST_FLAGS) ; do \
19744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19745 done; \
19746 echo "Doing dvi in ld" ; \
19747 (cd $(HOST_SUBDIR)/ld && \
19748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19750 "RANLIB=$${RANLIB}" \
19751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19752 dvi) \
19753 || exit 1
19755 @endif ld
19757 .PHONY: maybe-pdf-ld pdf-ld
19758 maybe-pdf-ld:
19759 @if ld
19760 maybe-pdf-ld: pdf-ld
19762 pdf-ld: \
19763 configure-ld
19764 @[ -f ./ld/Makefile ] || exit 0; \
19765 r=`${PWD_COMMAND}`; export r; \
19766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19767 $(HOST_EXPORTS) \
19768 for flag in $(EXTRA_HOST_FLAGS) ; do \
19769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19770 done; \
19771 echo "Doing pdf in ld" ; \
19772 (cd $(HOST_SUBDIR)/ld && \
19773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19775 "RANLIB=$${RANLIB}" \
19776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19777 pdf) \
19778 || exit 1
19780 @endif ld
19782 .PHONY: maybe-html-ld html-ld
19783 maybe-html-ld:
19784 @if ld
19785 maybe-html-ld: html-ld
19787 html-ld: \
19788 configure-ld
19789 @[ -f ./ld/Makefile ] || exit 0; \
19790 r=`${PWD_COMMAND}`; export r; \
19791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19792 $(HOST_EXPORTS) \
19793 for flag in $(EXTRA_HOST_FLAGS) ; do \
19794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19795 done; \
19796 echo "Doing html in ld" ; \
19797 (cd $(HOST_SUBDIR)/ld && \
19798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19800 "RANLIB=$${RANLIB}" \
19801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19802 html) \
19803 || exit 1
19805 @endif ld
19807 .PHONY: maybe-TAGS-ld TAGS-ld
19808 maybe-TAGS-ld:
19809 @if ld
19810 maybe-TAGS-ld: TAGS-ld
19812 TAGS-ld: \
19813 configure-ld
19814 @[ -f ./ld/Makefile ] || exit 0; \
19815 r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817 $(HOST_EXPORTS) \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820 done; \
19821 echo "Doing TAGS in ld" ; \
19822 (cd $(HOST_SUBDIR)/ld && \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19827 TAGS) \
19828 || exit 1
19830 @endif ld
19832 .PHONY: maybe-install-info-ld install-info-ld
19833 maybe-install-info-ld:
19834 @if ld
19835 maybe-install-info-ld: install-info-ld
19837 install-info-ld: \
19838 configure-ld \
19839 info-ld
19840 @[ -f ./ld/Makefile ] || exit 0; \
19841 r=`${PWD_COMMAND}`; export r; \
19842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19843 $(HOST_EXPORTS) \
19844 for flag in $(EXTRA_HOST_FLAGS) ; do \
19845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19846 done; \
19847 echo "Doing install-info in ld" ; \
19848 (cd $(HOST_SUBDIR)/ld && \
19849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19851 "RANLIB=$${RANLIB}" \
19852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19853 install-info) \
19854 || exit 1
19856 @endif ld
19858 .PHONY: maybe-install-pdf-ld install-pdf-ld
19859 maybe-install-pdf-ld:
19860 @if ld
19861 maybe-install-pdf-ld: install-pdf-ld
19863 install-pdf-ld: \
19864 configure-ld \
19865 pdf-ld
19866 @[ -f ./ld/Makefile ] || exit 0; \
19867 r=`${PWD_COMMAND}`; export r; \
19868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19869 $(HOST_EXPORTS) \
19870 for flag in $(EXTRA_HOST_FLAGS) ; do \
19871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19872 done; \
19873 echo "Doing install-pdf in ld" ; \
19874 (cd $(HOST_SUBDIR)/ld && \
19875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19877 "RANLIB=$${RANLIB}" \
19878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19879 install-pdf) \
19880 || exit 1
19882 @endif ld
19884 .PHONY: maybe-install-html-ld install-html-ld
19885 maybe-install-html-ld:
19886 @if ld
19887 maybe-install-html-ld: install-html-ld
19889 install-html-ld: \
19890 configure-ld \
19891 html-ld
19892 @[ -f ./ld/Makefile ] || exit 0; \
19893 r=`${PWD_COMMAND}`; export r; \
19894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19895 $(HOST_EXPORTS) \
19896 for flag in $(EXTRA_HOST_FLAGS) ; do \
19897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19898 done; \
19899 echo "Doing install-html in ld" ; \
19900 (cd $(HOST_SUBDIR)/ld && \
19901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19903 "RANLIB=$${RANLIB}" \
19904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19905 install-html) \
19906 || exit 1
19908 @endif ld
19910 .PHONY: maybe-installcheck-ld installcheck-ld
19911 maybe-installcheck-ld:
19912 @if ld
19913 maybe-installcheck-ld: installcheck-ld
19915 installcheck-ld: \
19916 configure-ld
19917 @[ -f ./ld/Makefile ] || exit 0; \
19918 r=`${PWD_COMMAND}`; export r; \
19919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19920 $(HOST_EXPORTS) \
19921 for flag in $(EXTRA_HOST_FLAGS) ; do \
19922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19923 done; \
19924 echo "Doing installcheck in ld" ; \
19925 (cd $(HOST_SUBDIR)/ld && \
19926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19928 "RANLIB=$${RANLIB}" \
19929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19930 installcheck) \
19931 || exit 1
19933 @endif ld
19935 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19936 maybe-mostlyclean-ld:
19937 @if ld
19938 maybe-mostlyclean-ld: mostlyclean-ld
19940 mostlyclean-ld:
19941 @[ -f ./ld/Makefile ] || exit 0; \
19942 r=`${PWD_COMMAND}`; export r; \
19943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19944 $(HOST_EXPORTS) \
19945 for flag in $(EXTRA_HOST_FLAGS) ; do \
19946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19947 done; \
19948 echo "Doing mostlyclean in ld" ; \
19949 (cd $(HOST_SUBDIR)/ld && \
19950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19952 "RANLIB=$${RANLIB}" \
19953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19954 mostlyclean) \
19955 || exit 1
19957 @endif ld
19959 .PHONY: maybe-clean-ld clean-ld
19960 maybe-clean-ld:
19961 @if ld
19962 maybe-clean-ld: clean-ld
19964 clean-ld:
19965 @[ -f ./ld/Makefile ] || exit 0; \
19966 r=`${PWD_COMMAND}`; export r; \
19967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19968 $(HOST_EXPORTS) \
19969 for flag in $(EXTRA_HOST_FLAGS) ; do \
19970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19971 done; \
19972 echo "Doing clean in ld" ; \
19973 (cd $(HOST_SUBDIR)/ld && \
19974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19976 "RANLIB=$${RANLIB}" \
19977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19978 clean) \
19979 || exit 1
19981 @endif ld
19983 .PHONY: maybe-distclean-ld distclean-ld
19984 maybe-distclean-ld:
19985 @if ld
19986 maybe-distclean-ld: distclean-ld
19988 distclean-ld:
19989 @[ -f ./ld/Makefile ] || exit 0; \
19990 r=`${PWD_COMMAND}`; export r; \
19991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19992 $(HOST_EXPORTS) \
19993 for flag in $(EXTRA_HOST_FLAGS) ; do \
19994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19995 done; \
19996 echo "Doing distclean in ld" ; \
19997 (cd $(HOST_SUBDIR)/ld && \
19998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20000 "RANLIB=$${RANLIB}" \
20001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20002 distclean) \
20003 || exit 1
20005 @endif ld
20007 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
20008 maybe-maintainer-clean-ld:
20009 @if ld
20010 maybe-maintainer-clean-ld: maintainer-clean-ld
20012 maintainer-clean-ld:
20013 @[ -f ./ld/Makefile ] || exit 0; \
20014 r=`${PWD_COMMAND}`; export r; \
20015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20016 $(HOST_EXPORTS) \
20017 for flag in $(EXTRA_HOST_FLAGS) ; do \
20018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20019 done; \
20020 echo "Doing maintainer-clean in ld" ; \
20021 (cd $(HOST_SUBDIR)/ld && \
20022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20024 "RANLIB=$${RANLIB}" \
20025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20026 maintainer-clean) \
20027 || exit 1
20029 @endif ld
20033 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
20034 maybe-configure-libbacktrace:
20035 @if gcc-bootstrap
20036 configure-libbacktrace: stage_current
20037 @endif gcc-bootstrap
20038 @if libbacktrace
20039 maybe-configure-libbacktrace: configure-libbacktrace
20040 configure-libbacktrace:
20041 @r=`${PWD_COMMAND}`; export r; \
20042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20043 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20045 $(HOST_EXPORTS) \
20046 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
20047 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
20048 case $(srcdir) in \
20049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20050 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20052 esac; \
20053 module_srcdir=libbacktrace; \
20054 $(SHELL) \
20055 $$s/$$module_srcdir/configure \
20056 --srcdir=$${topdir}/$$module_srcdir \
20057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20058 --target=${target_alias} \
20059 || exit 1
20060 @endif libbacktrace
20064 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
20065 maybe-configure-stage1-libbacktrace:
20066 @if libbacktrace-bootstrap
20067 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
20068 configure-stage1-libbacktrace:
20069 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20071 @r=`${PWD_COMMAND}`; export r; \
20072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20073 TFLAGS="$(STAGE1_TFLAGS)"; \
20074 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20075 $(HOST_EXPORTS) \
20076 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20077 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20078 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20079 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
20080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20081 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20082 case $(srcdir) in \
20083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20084 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20086 esac; \
20087 module_srcdir=libbacktrace; \
20088 $(SHELL) $$s/$$module_srcdir/configure \
20089 --srcdir=$${topdir}/$$module_srcdir \
20090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20091 --target=${target_alias} \
20093 $(STAGE1_CONFIGURE_FLAGS)
20094 @endif libbacktrace-bootstrap
20096 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
20097 maybe-configure-stage2-libbacktrace:
20098 @if libbacktrace-bootstrap
20099 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
20100 configure-stage2-libbacktrace:
20101 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20103 @r=`${PWD_COMMAND}`; export r; \
20104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20105 TFLAGS="$(STAGE2_TFLAGS)"; \
20106 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20107 $(HOST_EXPORTS) \
20108 $(POSTSTAGE1_HOST_EXPORTS) \
20109 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20110 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20111 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20112 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
20113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20114 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20115 case $(srcdir) in \
20116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20117 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20119 esac; \
20120 module_srcdir=libbacktrace; \
20121 $(SHELL) $$s/$$module_srcdir/configure \
20122 --srcdir=$${topdir}/$$module_srcdir \
20123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20124 --target=${target_alias} \
20125 --with-build-libsubdir=$(HOST_SUBDIR) \
20126 $(STAGE2_CONFIGURE_FLAGS)
20127 @endif libbacktrace-bootstrap
20129 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
20130 maybe-configure-stage3-libbacktrace:
20131 @if libbacktrace-bootstrap
20132 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
20133 configure-stage3-libbacktrace:
20134 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20136 @r=`${PWD_COMMAND}`; export r; \
20137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20138 TFLAGS="$(STAGE3_TFLAGS)"; \
20139 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20140 $(HOST_EXPORTS) \
20141 $(POSTSTAGE1_HOST_EXPORTS) \
20142 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20143 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20144 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20145 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
20146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20147 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20148 case $(srcdir) in \
20149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20150 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20152 esac; \
20153 module_srcdir=libbacktrace; \
20154 $(SHELL) $$s/$$module_srcdir/configure \
20155 --srcdir=$${topdir}/$$module_srcdir \
20156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20157 --target=${target_alias} \
20158 --with-build-libsubdir=$(HOST_SUBDIR) \
20159 $(STAGE3_CONFIGURE_FLAGS)
20160 @endif libbacktrace-bootstrap
20162 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
20163 maybe-configure-stage4-libbacktrace:
20164 @if libbacktrace-bootstrap
20165 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
20166 configure-stage4-libbacktrace:
20167 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20169 @r=`${PWD_COMMAND}`; export r; \
20170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20171 TFLAGS="$(STAGE4_TFLAGS)"; \
20172 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20173 $(HOST_EXPORTS) \
20174 $(POSTSTAGE1_HOST_EXPORTS) \
20175 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20176 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20177 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20178 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
20179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20180 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20181 case $(srcdir) in \
20182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20183 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20185 esac; \
20186 module_srcdir=libbacktrace; \
20187 $(SHELL) $$s/$$module_srcdir/configure \
20188 --srcdir=$${topdir}/$$module_srcdir \
20189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20190 --target=${target_alias} \
20191 --with-build-libsubdir=$(HOST_SUBDIR) \
20192 $(STAGE4_CONFIGURE_FLAGS)
20193 @endif libbacktrace-bootstrap
20195 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
20196 maybe-configure-stageprofile-libbacktrace:
20197 @if libbacktrace-bootstrap
20198 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20199 configure-stageprofile-libbacktrace:
20200 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20202 @r=`${PWD_COMMAND}`; export r; \
20203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20204 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20205 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20206 $(HOST_EXPORTS) \
20207 $(POSTSTAGE1_HOST_EXPORTS) \
20208 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20209 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20210 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20211 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
20212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20213 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20214 case $(srcdir) in \
20215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20216 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20218 esac; \
20219 module_srcdir=libbacktrace; \
20220 $(SHELL) $$s/$$module_srcdir/configure \
20221 --srcdir=$${topdir}/$$module_srcdir \
20222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20223 --target=${target_alias} \
20224 --with-build-libsubdir=$(HOST_SUBDIR) \
20225 $(STAGEprofile_CONFIGURE_FLAGS)
20226 @endif libbacktrace-bootstrap
20228 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
20229 maybe-configure-stagefeedback-libbacktrace:
20230 @if libbacktrace-bootstrap
20231 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20232 configure-stagefeedback-libbacktrace:
20233 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20235 @r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20237 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20238 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20239 $(HOST_EXPORTS) \
20240 $(POSTSTAGE1_HOST_EXPORTS) \
20241 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20242 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20243 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20244 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
20245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20246 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20247 case $(srcdir) in \
20248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20249 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20251 esac; \
20252 module_srcdir=libbacktrace; \
20253 $(SHELL) $$s/$$module_srcdir/configure \
20254 --srcdir=$${topdir}/$$module_srcdir \
20255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20256 --target=${target_alias} \
20257 --with-build-libsubdir=$(HOST_SUBDIR) \
20258 $(STAGEfeedback_CONFIGURE_FLAGS)
20259 @endif libbacktrace-bootstrap
20265 .PHONY: all-libbacktrace maybe-all-libbacktrace
20266 maybe-all-libbacktrace:
20267 @if gcc-bootstrap
20268 all-libbacktrace: stage_current
20269 @endif gcc-bootstrap
20270 @if libbacktrace
20271 TARGET-libbacktrace=all
20272 maybe-all-libbacktrace: all-libbacktrace
20273 all-libbacktrace: configure-libbacktrace
20274 @r=`${PWD_COMMAND}`; export r; \
20275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20276 $(HOST_EXPORTS) \
20277 (cd $(HOST_SUBDIR)/libbacktrace && \
20278 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20279 $(TARGET-libbacktrace))
20280 @endif libbacktrace
20284 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
20285 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
20286 maybe-all-stage1-libbacktrace:
20287 maybe-clean-stage1-libbacktrace:
20288 @if libbacktrace-bootstrap
20289 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
20290 all-stage1: all-stage1-libbacktrace
20291 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
20292 all-stage1-libbacktrace: configure-stage1-libbacktrace
20293 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20294 @r=`${PWD_COMMAND}`; export r; \
20295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20296 TFLAGS="$(STAGE1_TFLAGS)"; \
20297 $(HOST_EXPORTS) \
20298 cd $(HOST_SUBDIR)/libbacktrace && \
20299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20300 CFLAGS="$(STAGE1_CFLAGS)" \
20301 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20302 LIBCFLAGS="$(LIBCFLAGS)" \
20303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20306 $(EXTRA_HOST_FLAGS) \
20307 $(STAGE1_FLAGS_TO_PASS) \
20308 TFLAGS="$(STAGE1_TFLAGS)" \
20309 $(TARGET-stage1-libbacktrace)
20311 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
20312 clean-stage1: clean-stage1-libbacktrace
20313 clean-stage1-libbacktrace:
20314 @if [ $(current_stage) = stage1 ]; then \
20315 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20316 else \
20317 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
20318 $(MAKE) stage1-start; \
20319 fi; \
20320 cd $(HOST_SUBDIR)/libbacktrace && \
20321 $(MAKE) $(EXTRA_HOST_FLAGS) \
20322 $(STAGE1_FLAGS_TO_PASS) clean
20323 @endif libbacktrace-bootstrap
20326 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
20327 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
20328 maybe-all-stage2-libbacktrace:
20329 maybe-clean-stage2-libbacktrace:
20330 @if libbacktrace-bootstrap
20331 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
20332 all-stage2: all-stage2-libbacktrace
20333 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
20334 all-stage2-libbacktrace: configure-stage2-libbacktrace
20335 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20336 @r=`${PWD_COMMAND}`; export r; \
20337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 TFLAGS="$(STAGE2_TFLAGS)"; \
20339 $(HOST_EXPORTS) \
20340 $(POSTSTAGE1_HOST_EXPORTS) \
20341 cd $(HOST_SUBDIR)/libbacktrace && \
20342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20343 CFLAGS="$(STAGE2_CFLAGS)" \
20344 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20345 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20350 TFLAGS="$(STAGE2_TFLAGS)" \
20351 $(TARGET-stage2-libbacktrace)
20353 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
20354 clean-stage2: clean-stage2-libbacktrace
20355 clean-stage2-libbacktrace:
20356 @if [ $(current_stage) = stage2 ]; then \
20357 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20358 else \
20359 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
20360 $(MAKE) stage2-start; \
20361 fi; \
20362 cd $(HOST_SUBDIR)/libbacktrace && \
20363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20364 @endif libbacktrace-bootstrap
20367 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
20368 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
20369 maybe-all-stage3-libbacktrace:
20370 maybe-clean-stage3-libbacktrace:
20371 @if libbacktrace-bootstrap
20372 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
20373 all-stage3: all-stage3-libbacktrace
20374 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
20375 all-stage3-libbacktrace: configure-stage3-libbacktrace
20376 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20377 @r=`${PWD_COMMAND}`; export r; \
20378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20379 TFLAGS="$(STAGE3_TFLAGS)"; \
20380 $(HOST_EXPORTS) \
20381 $(POSTSTAGE1_HOST_EXPORTS) \
20382 cd $(HOST_SUBDIR)/libbacktrace && \
20383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20384 CFLAGS="$(STAGE3_CFLAGS)" \
20385 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20386 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20390 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20391 TFLAGS="$(STAGE3_TFLAGS)" \
20392 $(TARGET-stage3-libbacktrace)
20394 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
20395 clean-stage3: clean-stage3-libbacktrace
20396 clean-stage3-libbacktrace:
20397 @if [ $(current_stage) = stage3 ]; then \
20398 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20399 else \
20400 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
20401 $(MAKE) stage3-start; \
20402 fi; \
20403 cd $(HOST_SUBDIR)/libbacktrace && \
20404 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20405 @endif libbacktrace-bootstrap
20408 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
20409 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
20410 maybe-all-stage4-libbacktrace:
20411 maybe-clean-stage4-libbacktrace:
20412 @if libbacktrace-bootstrap
20413 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
20414 all-stage4: all-stage4-libbacktrace
20415 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
20416 all-stage4-libbacktrace: configure-stage4-libbacktrace
20417 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20418 @r=`${PWD_COMMAND}`; export r; \
20419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20420 TFLAGS="$(STAGE4_TFLAGS)"; \
20421 $(HOST_EXPORTS) \
20422 $(POSTSTAGE1_HOST_EXPORTS) \
20423 cd $(HOST_SUBDIR)/libbacktrace && \
20424 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20425 CFLAGS="$(STAGE4_CFLAGS)" \
20426 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20427 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20428 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20429 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20430 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20431 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20432 TFLAGS="$(STAGE4_TFLAGS)" \
20433 $(TARGET-stage4-libbacktrace)
20435 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
20436 clean-stage4: clean-stage4-libbacktrace
20437 clean-stage4-libbacktrace:
20438 @if [ $(current_stage) = stage4 ]; then \
20439 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20440 else \
20441 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
20442 $(MAKE) stage4-start; \
20443 fi; \
20444 cd $(HOST_SUBDIR)/libbacktrace && \
20445 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20446 @endif libbacktrace-bootstrap
20449 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
20450 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
20451 maybe-all-stageprofile-libbacktrace:
20452 maybe-clean-stageprofile-libbacktrace:
20453 @if libbacktrace-bootstrap
20454 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
20455 all-stageprofile: all-stageprofile-libbacktrace
20456 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
20457 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20458 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20459 @r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20461 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20462 $(HOST_EXPORTS) \
20463 $(POSTSTAGE1_HOST_EXPORTS) \
20464 cd $(HOST_SUBDIR)/libbacktrace && \
20465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20466 CFLAGS="$(STAGEprofile_CFLAGS)" \
20467 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20468 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20472 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20473 TFLAGS="$(STAGEprofile_TFLAGS)" \
20474 $(TARGET-stageprofile-libbacktrace)
20476 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
20477 clean-stageprofile: clean-stageprofile-libbacktrace
20478 clean-stageprofile-libbacktrace:
20479 @if [ $(current_stage) = stageprofile ]; then \
20480 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20481 else \
20482 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
20483 $(MAKE) stageprofile-start; \
20484 fi; \
20485 cd $(HOST_SUBDIR)/libbacktrace && \
20486 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20487 @endif libbacktrace-bootstrap
20490 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
20491 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
20492 maybe-all-stagefeedback-libbacktrace:
20493 maybe-clean-stagefeedback-libbacktrace:
20494 @if libbacktrace-bootstrap
20495 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
20496 all-stagefeedback: all-stagefeedback-libbacktrace
20497 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
20498 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20499 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20500 @r=`${PWD_COMMAND}`; export r; \
20501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20502 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20503 $(HOST_EXPORTS) \
20504 $(POSTSTAGE1_HOST_EXPORTS) \
20505 cd $(HOST_SUBDIR)/libbacktrace && \
20506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20507 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20508 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20509 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20513 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20514 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20515 $(TARGET-stagefeedback-libbacktrace)
20517 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20518 clean-stagefeedback: clean-stagefeedback-libbacktrace
20519 clean-stagefeedback-libbacktrace:
20520 @if [ $(current_stage) = stagefeedback ]; then \
20521 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20522 else \
20523 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20524 $(MAKE) stagefeedback-start; \
20525 fi; \
20526 cd $(HOST_SUBDIR)/libbacktrace && \
20527 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20528 @endif libbacktrace-bootstrap
20534 .PHONY: check-libbacktrace maybe-check-libbacktrace
20535 maybe-check-libbacktrace:
20536 @if libbacktrace
20537 maybe-check-libbacktrace: check-libbacktrace
20539 check-libbacktrace:
20540 @: $(MAKE); $(unstage)
20541 @r=`${PWD_COMMAND}`; export r; \
20542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543 $(HOST_EXPORTS) \
20544 (cd $(HOST_SUBDIR)/libbacktrace && \
20545 $(MAKE) $(FLAGS_TO_PASS) check)
20547 @endif libbacktrace
20549 .PHONY: install-libbacktrace maybe-install-libbacktrace
20550 maybe-install-libbacktrace:
20551 @if libbacktrace
20552 maybe-install-libbacktrace: install-libbacktrace
20554 install-libbacktrace: installdirs
20555 @: $(MAKE); $(unstage)
20556 @r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20558 $(HOST_EXPORTS) \
20559 (cd $(HOST_SUBDIR)/libbacktrace && \
20560 $(MAKE) $(FLAGS_TO_PASS) install)
20562 @endif libbacktrace
20564 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20565 maybe-install-strip-libbacktrace:
20566 @if libbacktrace
20567 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20569 install-strip-libbacktrace: installdirs
20570 @: $(MAKE); $(unstage)
20571 @r=`${PWD_COMMAND}`; export r; \
20572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20573 $(HOST_EXPORTS) \
20574 (cd $(HOST_SUBDIR)/libbacktrace && \
20575 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20577 @endif libbacktrace
20579 # Other targets (info, dvi, pdf, etc.)
20581 .PHONY: maybe-info-libbacktrace info-libbacktrace
20582 maybe-info-libbacktrace:
20583 @if libbacktrace
20584 maybe-info-libbacktrace: info-libbacktrace
20586 info-libbacktrace: \
20587 configure-libbacktrace
20588 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20589 r=`${PWD_COMMAND}`; export r; \
20590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20591 $(HOST_EXPORTS) \
20592 for flag in $(EXTRA_HOST_FLAGS) ; do \
20593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20594 done; \
20595 echo "Doing info in libbacktrace" ; \
20596 (cd $(HOST_SUBDIR)/libbacktrace && \
20597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20599 "RANLIB=$${RANLIB}" \
20600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20601 info) \
20602 || exit 1
20604 @endif libbacktrace
20606 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20607 maybe-dvi-libbacktrace:
20608 @if libbacktrace
20609 maybe-dvi-libbacktrace: dvi-libbacktrace
20611 dvi-libbacktrace: \
20612 configure-libbacktrace
20613 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20614 r=`${PWD_COMMAND}`; export r; \
20615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 $(HOST_EXPORTS) \
20617 for flag in $(EXTRA_HOST_FLAGS) ; do \
20618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20619 done; \
20620 echo "Doing dvi in libbacktrace" ; \
20621 (cd $(HOST_SUBDIR)/libbacktrace && \
20622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20624 "RANLIB=$${RANLIB}" \
20625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20626 dvi) \
20627 || exit 1
20629 @endif libbacktrace
20631 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20632 maybe-pdf-libbacktrace:
20633 @if libbacktrace
20634 maybe-pdf-libbacktrace: pdf-libbacktrace
20636 pdf-libbacktrace: \
20637 configure-libbacktrace
20638 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20639 r=`${PWD_COMMAND}`; export r; \
20640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20641 $(HOST_EXPORTS) \
20642 for flag in $(EXTRA_HOST_FLAGS) ; do \
20643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20644 done; \
20645 echo "Doing pdf in libbacktrace" ; \
20646 (cd $(HOST_SUBDIR)/libbacktrace && \
20647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20649 "RANLIB=$${RANLIB}" \
20650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20651 pdf) \
20652 || exit 1
20654 @endif libbacktrace
20656 .PHONY: maybe-html-libbacktrace html-libbacktrace
20657 maybe-html-libbacktrace:
20658 @if libbacktrace
20659 maybe-html-libbacktrace: html-libbacktrace
20661 html-libbacktrace: \
20662 configure-libbacktrace
20663 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20664 r=`${PWD_COMMAND}`; export r; \
20665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20666 $(HOST_EXPORTS) \
20667 for flag in $(EXTRA_HOST_FLAGS) ; do \
20668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20669 done; \
20670 echo "Doing html in libbacktrace" ; \
20671 (cd $(HOST_SUBDIR)/libbacktrace && \
20672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20674 "RANLIB=$${RANLIB}" \
20675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20676 html) \
20677 || exit 1
20679 @endif libbacktrace
20681 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20682 maybe-TAGS-libbacktrace:
20683 @if libbacktrace
20684 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20686 TAGS-libbacktrace: \
20687 configure-libbacktrace
20688 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20689 r=`${PWD_COMMAND}`; export r; \
20690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20691 $(HOST_EXPORTS) \
20692 for flag in $(EXTRA_HOST_FLAGS) ; do \
20693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20694 done; \
20695 echo "Doing TAGS in libbacktrace" ; \
20696 (cd $(HOST_SUBDIR)/libbacktrace && \
20697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20699 "RANLIB=$${RANLIB}" \
20700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20701 TAGS) \
20702 || exit 1
20704 @endif libbacktrace
20706 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20707 maybe-install-info-libbacktrace:
20708 @if libbacktrace
20709 maybe-install-info-libbacktrace: install-info-libbacktrace
20711 install-info-libbacktrace: \
20712 configure-libbacktrace \
20713 info-libbacktrace
20714 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20715 r=`${PWD_COMMAND}`; export r; \
20716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20717 $(HOST_EXPORTS) \
20718 for flag in $(EXTRA_HOST_FLAGS) ; do \
20719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20720 done; \
20721 echo "Doing install-info in libbacktrace" ; \
20722 (cd $(HOST_SUBDIR)/libbacktrace && \
20723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20725 "RANLIB=$${RANLIB}" \
20726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20727 install-info) \
20728 || exit 1
20730 @endif libbacktrace
20732 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20733 maybe-install-pdf-libbacktrace:
20734 @if libbacktrace
20735 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20737 install-pdf-libbacktrace: \
20738 configure-libbacktrace \
20739 pdf-libbacktrace
20740 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20741 r=`${PWD_COMMAND}`; export r; \
20742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20743 $(HOST_EXPORTS) \
20744 for flag in $(EXTRA_HOST_FLAGS) ; do \
20745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20746 done; \
20747 echo "Doing install-pdf in libbacktrace" ; \
20748 (cd $(HOST_SUBDIR)/libbacktrace && \
20749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20751 "RANLIB=$${RANLIB}" \
20752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20753 install-pdf) \
20754 || exit 1
20756 @endif libbacktrace
20758 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20759 maybe-install-html-libbacktrace:
20760 @if libbacktrace
20761 maybe-install-html-libbacktrace: install-html-libbacktrace
20763 install-html-libbacktrace: \
20764 configure-libbacktrace \
20765 html-libbacktrace
20766 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20767 r=`${PWD_COMMAND}`; export r; \
20768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20769 $(HOST_EXPORTS) \
20770 for flag in $(EXTRA_HOST_FLAGS) ; do \
20771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20772 done; \
20773 echo "Doing install-html in libbacktrace" ; \
20774 (cd $(HOST_SUBDIR)/libbacktrace && \
20775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20777 "RANLIB=$${RANLIB}" \
20778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20779 install-html) \
20780 || exit 1
20782 @endif libbacktrace
20784 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20785 maybe-installcheck-libbacktrace:
20786 @if libbacktrace
20787 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20789 installcheck-libbacktrace: \
20790 configure-libbacktrace
20791 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20792 r=`${PWD_COMMAND}`; export r; \
20793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20794 $(HOST_EXPORTS) \
20795 for flag in $(EXTRA_HOST_FLAGS) ; do \
20796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20797 done; \
20798 echo "Doing installcheck in libbacktrace" ; \
20799 (cd $(HOST_SUBDIR)/libbacktrace && \
20800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20802 "RANLIB=$${RANLIB}" \
20803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20804 installcheck) \
20805 || exit 1
20807 @endif libbacktrace
20809 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20810 maybe-mostlyclean-libbacktrace:
20811 @if libbacktrace
20812 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20814 mostlyclean-libbacktrace:
20815 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20816 r=`${PWD_COMMAND}`; export r; \
20817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20818 $(HOST_EXPORTS) \
20819 for flag in $(EXTRA_HOST_FLAGS) ; do \
20820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20821 done; \
20822 echo "Doing mostlyclean in libbacktrace" ; \
20823 (cd $(HOST_SUBDIR)/libbacktrace && \
20824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20826 "RANLIB=$${RANLIB}" \
20827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20828 mostlyclean) \
20829 || exit 1
20831 @endif libbacktrace
20833 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20834 maybe-clean-libbacktrace:
20835 @if libbacktrace
20836 maybe-clean-libbacktrace: clean-libbacktrace
20838 clean-libbacktrace:
20839 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20840 r=`${PWD_COMMAND}`; export r; \
20841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20842 $(HOST_EXPORTS) \
20843 for flag in $(EXTRA_HOST_FLAGS) ; do \
20844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20845 done; \
20846 echo "Doing clean in libbacktrace" ; \
20847 (cd $(HOST_SUBDIR)/libbacktrace && \
20848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20850 "RANLIB=$${RANLIB}" \
20851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20852 clean) \
20853 || exit 1
20855 @endif libbacktrace
20857 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20858 maybe-distclean-libbacktrace:
20859 @if libbacktrace
20860 maybe-distclean-libbacktrace: distclean-libbacktrace
20862 distclean-libbacktrace:
20863 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20864 r=`${PWD_COMMAND}`; export r; \
20865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20866 $(HOST_EXPORTS) \
20867 for flag in $(EXTRA_HOST_FLAGS) ; do \
20868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20869 done; \
20870 echo "Doing distclean in libbacktrace" ; \
20871 (cd $(HOST_SUBDIR)/libbacktrace && \
20872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20874 "RANLIB=$${RANLIB}" \
20875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20876 distclean) \
20877 || exit 1
20879 @endif libbacktrace
20881 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20882 maybe-maintainer-clean-libbacktrace:
20883 @if libbacktrace
20884 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20886 maintainer-clean-libbacktrace:
20887 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20888 r=`${PWD_COMMAND}`; export r; \
20889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20890 $(HOST_EXPORTS) \
20891 for flag in $(EXTRA_HOST_FLAGS) ; do \
20892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20893 done; \
20894 echo "Doing maintainer-clean in libbacktrace" ; \
20895 (cd $(HOST_SUBDIR)/libbacktrace && \
20896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20898 "RANLIB=$${RANLIB}" \
20899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20900 maintainer-clean) \
20901 || exit 1
20903 @endif libbacktrace
20907 .PHONY: configure-libcpp maybe-configure-libcpp
20908 maybe-configure-libcpp:
20909 @if gcc-bootstrap
20910 configure-libcpp: stage_current
20911 @endif gcc-bootstrap
20912 @if libcpp
20913 maybe-configure-libcpp: configure-libcpp
20914 configure-libcpp:
20915 @r=`${PWD_COMMAND}`; export r; \
20916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20919 $(HOST_EXPORTS) \
20920 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20921 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20922 case $(srcdir) in \
20923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20924 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20926 esac; \
20927 module_srcdir=libcpp; \
20928 $(SHELL) \
20929 $$s/$$module_srcdir/configure \
20930 --srcdir=$${topdir}/$$module_srcdir \
20931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20932 --target=${target_alias} \
20933 || exit 1
20934 @endif libcpp
20938 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20939 maybe-configure-stage1-libcpp:
20940 @if libcpp-bootstrap
20941 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20942 configure-stage1-libcpp:
20943 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20945 @r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20947 TFLAGS="$(STAGE1_TFLAGS)"; \
20948 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20949 $(HOST_EXPORTS) \
20950 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20951 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20952 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20953 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20955 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20956 case $(srcdir) in \
20957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20958 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20960 esac; \
20961 module_srcdir=libcpp; \
20962 $(SHELL) $$s/$$module_srcdir/configure \
20963 --srcdir=$${topdir}/$$module_srcdir \
20964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20965 --target=${target_alias} \
20967 $(STAGE1_CONFIGURE_FLAGS)
20968 @endif libcpp-bootstrap
20970 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20971 maybe-configure-stage2-libcpp:
20972 @if libcpp-bootstrap
20973 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20974 configure-stage2-libcpp:
20975 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20977 @r=`${PWD_COMMAND}`; export r; \
20978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 TFLAGS="$(STAGE2_TFLAGS)"; \
20980 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20981 $(HOST_EXPORTS) \
20982 $(POSTSTAGE1_HOST_EXPORTS) \
20983 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20984 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20985 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20986 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20988 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20989 case $(srcdir) in \
20990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20991 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20993 esac; \
20994 module_srcdir=libcpp; \
20995 $(SHELL) $$s/$$module_srcdir/configure \
20996 --srcdir=$${topdir}/$$module_srcdir \
20997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20998 --target=${target_alias} \
20999 --with-build-libsubdir=$(HOST_SUBDIR) \
21000 $(STAGE2_CONFIGURE_FLAGS)
21001 @endif libcpp-bootstrap
21003 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
21004 maybe-configure-stage3-libcpp:
21005 @if libcpp-bootstrap
21006 maybe-configure-stage3-libcpp: configure-stage3-libcpp
21007 configure-stage3-libcpp:
21008 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21010 @r=`${PWD_COMMAND}`; export r; \
21011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21012 TFLAGS="$(STAGE3_TFLAGS)"; \
21013 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21014 $(HOST_EXPORTS) \
21015 $(POSTSTAGE1_HOST_EXPORTS) \
21016 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21017 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21018 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21019 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
21020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21021 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21022 case $(srcdir) in \
21023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21024 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21026 esac; \
21027 module_srcdir=libcpp; \
21028 $(SHELL) $$s/$$module_srcdir/configure \
21029 --srcdir=$${topdir}/$$module_srcdir \
21030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21031 --target=${target_alias} \
21032 --with-build-libsubdir=$(HOST_SUBDIR) \
21033 $(STAGE3_CONFIGURE_FLAGS)
21034 @endif libcpp-bootstrap
21036 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
21037 maybe-configure-stage4-libcpp:
21038 @if libcpp-bootstrap
21039 maybe-configure-stage4-libcpp: configure-stage4-libcpp
21040 configure-stage4-libcpp:
21041 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21043 @r=`${PWD_COMMAND}`; export r; \
21044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21045 TFLAGS="$(STAGE4_TFLAGS)"; \
21046 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21047 $(HOST_EXPORTS) \
21048 $(POSTSTAGE1_HOST_EXPORTS) \
21049 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21050 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21051 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21052 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
21053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21054 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21055 case $(srcdir) in \
21056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21057 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21059 esac; \
21060 module_srcdir=libcpp; \
21061 $(SHELL) $$s/$$module_srcdir/configure \
21062 --srcdir=$${topdir}/$$module_srcdir \
21063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21064 --target=${target_alias} \
21065 --with-build-libsubdir=$(HOST_SUBDIR) \
21066 $(STAGE4_CONFIGURE_FLAGS)
21067 @endif libcpp-bootstrap
21069 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
21070 maybe-configure-stageprofile-libcpp:
21071 @if libcpp-bootstrap
21072 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
21073 configure-stageprofile-libcpp:
21074 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21076 @r=`${PWD_COMMAND}`; export r; \
21077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21078 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21079 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21080 $(HOST_EXPORTS) \
21081 $(POSTSTAGE1_HOST_EXPORTS) \
21082 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21083 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21084 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21085 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
21086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21087 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21088 case $(srcdir) in \
21089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21090 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21092 esac; \
21093 module_srcdir=libcpp; \
21094 $(SHELL) $$s/$$module_srcdir/configure \
21095 --srcdir=$${topdir}/$$module_srcdir \
21096 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21097 --target=${target_alias} \
21098 --with-build-libsubdir=$(HOST_SUBDIR) \
21099 $(STAGEprofile_CONFIGURE_FLAGS)
21100 @endif libcpp-bootstrap
21102 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
21103 maybe-configure-stagefeedback-libcpp:
21104 @if libcpp-bootstrap
21105 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
21106 configure-stagefeedback-libcpp:
21107 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21109 @r=`${PWD_COMMAND}`; export r; \
21110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21111 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21112 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21113 $(HOST_EXPORTS) \
21114 $(POSTSTAGE1_HOST_EXPORTS) \
21115 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21116 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21117 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21118 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
21119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21120 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21121 case $(srcdir) in \
21122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21123 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21125 esac; \
21126 module_srcdir=libcpp; \
21127 $(SHELL) $$s/$$module_srcdir/configure \
21128 --srcdir=$${topdir}/$$module_srcdir \
21129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21130 --target=${target_alias} \
21131 --with-build-libsubdir=$(HOST_SUBDIR) \
21132 $(STAGEfeedback_CONFIGURE_FLAGS)
21133 @endif libcpp-bootstrap
21139 .PHONY: all-libcpp maybe-all-libcpp
21140 maybe-all-libcpp:
21141 @if gcc-bootstrap
21142 all-libcpp: stage_current
21143 @endif gcc-bootstrap
21144 @if libcpp
21145 TARGET-libcpp=all
21146 maybe-all-libcpp: all-libcpp
21147 all-libcpp: configure-libcpp
21148 @r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(HOST_EXPORTS) \
21151 (cd $(HOST_SUBDIR)/libcpp && \
21152 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21153 $(TARGET-libcpp))
21154 @endif libcpp
21158 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
21159 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
21160 maybe-all-stage1-libcpp:
21161 maybe-clean-stage1-libcpp:
21162 @if libcpp-bootstrap
21163 maybe-all-stage1-libcpp: all-stage1-libcpp
21164 all-stage1: all-stage1-libcpp
21165 TARGET-stage1-libcpp = $(TARGET-libcpp)
21166 all-stage1-libcpp: configure-stage1-libcpp
21167 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21168 @r=`${PWD_COMMAND}`; export r; \
21169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21170 TFLAGS="$(STAGE1_TFLAGS)"; \
21171 $(HOST_EXPORTS) \
21172 cd $(HOST_SUBDIR)/libcpp && \
21173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21174 CFLAGS="$(STAGE1_CFLAGS)" \
21175 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21176 LIBCFLAGS="$(LIBCFLAGS)" \
21177 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21178 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21179 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21180 $(EXTRA_HOST_FLAGS) \
21181 $(STAGE1_FLAGS_TO_PASS) \
21182 TFLAGS="$(STAGE1_TFLAGS)" \
21183 $(TARGET-stage1-libcpp)
21185 maybe-clean-stage1-libcpp: clean-stage1-libcpp
21186 clean-stage1: clean-stage1-libcpp
21187 clean-stage1-libcpp:
21188 @if [ $(current_stage) = stage1 ]; then \
21189 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21190 else \
21191 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
21192 $(MAKE) stage1-start; \
21193 fi; \
21194 cd $(HOST_SUBDIR)/libcpp && \
21195 $(MAKE) $(EXTRA_HOST_FLAGS) \
21196 $(STAGE1_FLAGS_TO_PASS) clean
21197 @endif libcpp-bootstrap
21200 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
21201 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
21202 maybe-all-stage2-libcpp:
21203 maybe-clean-stage2-libcpp:
21204 @if libcpp-bootstrap
21205 maybe-all-stage2-libcpp: all-stage2-libcpp
21206 all-stage2: all-stage2-libcpp
21207 TARGET-stage2-libcpp = $(TARGET-libcpp)
21208 all-stage2-libcpp: configure-stage2-libcpp
21209 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21210 @r=`${PWD_COMMAND}`; export r; \
21211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21212 TFLAGS="$(STAGE2_TFLAGS)"; \
21213 $(HOST_EXPORTS) \
21214 $(POSTSTAGE1_HOST_EXPORTS) \
21215 cd $(HOST_SUBDIR)/libcpp && \
21216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21217 CFLAGS="$(STAGE2_CFLAGS)" \
21218 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21219 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21223 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21224 TFLAGS="$(STAGE2_TFLAGS)" \
21225 $(TARGET-stage2-libcpp)
21227 maybe-clean-stage2-libcpp: clean-stage2-libcpp
21228 clean-stage2: clean-stage2-libcpp
21229 clean-stage2-libcpp:
21230 @if [ $(current_stage) = stage2 ]; then \
21231 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21232 else \
21233 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
21234 $(MAKE) stage2-start; \
21235 fi; \
21236 cd $(HOST_SUBDIR)/libcpp && \
21237 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21238 @endif libcpp-bootstrap
21241 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
21242 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
21243 maybe-all-stage3-libcpp:
21244 maybe-clean-stage3-libcpp:
21245 @if libcpp-bootstrap
21246 maybe-all-stage3-libcpp: all-stage3-libcpp
21247 all-stage3: all-stage3-libcpp
21248 TARGET-stage3-libcpp = $(TARGET-libcpp)
21249 all-stage3-libcpp: configure-stage3-libcpp
21250 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21251 @r=`${PWD_COMMAND}`; export r; \
21252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21253 TFLAGS="$(STAGE3_TFLAGS)"; \
21254 $(HOST_EXPORTS) \
21255 $(POSTSTAGE1_HOST_EXPORTS) \
21256 cd $(HOST_SUBDIR)/libcpp && \
21257 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21258 CFLAGS="$(STAGE3_CFLAGS)" \
21259 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21260 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21264 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21265 TFLAGS="$(STAGE3_TFLAGS)" \
21266 $(TARGET-stage3-libcpp)
21268 maybe-clean-stage3-libcpp: clean-stage3-libcpp
21269 clean-stage3: clean-stage3-libcpp
21270 clean-stage3-libcpp:
21271 @if [ $(current_stage) = stage3 ]; then \
21272 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21273 else \
21274 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
21275 $(MAKE) stage3-start; \
21276 fi; \
21277 cd $(HOST_SUBDIR)/libcpp && \
21278 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21279 @endif libcpp-bootstrap
21282 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
21283 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
21284 maybe-all-stage4-libcpp:
21285 maybe-clean-stage4-libcpp:
21286 @if libcpp-bootstrap
21287 maybe-all-stage4-libcpp: all-stage4-libcpp
21288 all-stage4: all-stage4-libcpp
21289 TARGET-stage4-libcpp = $(TARGET-libcpp)
21290 all-stage4-libcpp: configure-stage4-libcpp
21291 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21292 @r=`${PWD_COMMAND}`; export r; \
21293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21294 TFLAGS="$(STAGE4_TFLAGS)"; \
21295 $(HOST_EXPORTS) \
21296 $(POSTSTAGE1_HOST_EXPORTS) \
21297 cd $(HOST_SUBDIR)/libcpp && \
21298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21299 CFLAGS="$(STAGE4_CFLAGS)" \
21300 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21301 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21306 TFLAGS="$(STAGE4_TFLAGS)" \
21307 $(TARGET-stage4-libcpp)
21309 maybe-clean-stage4-libcpp: clean-stage4-libcpp
21310 clean-stage4: clean-stage4-libcpp
21311 clean-stage4-libcpp:
21312 @if [ $(current_stage) = stage4 ]; then \
21313 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21314 else \
21315 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
21316 $(MAKE) stage4-start; \
21317 fi; \
21318 cd $(HOST_SUBDIR)/libcpp && \
21319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21320 @endif libcpp-bootstrap
21323 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
21324 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
21325 maybe-all-stageprofile-libcpp:
21326 maybe-clean-stageprofile-libcpp:
21327 @if libcpp-bootstrap
21328 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
21329 all-stageprofile: all-stageprofile-libcpp
21330 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
21331 all-stageprofile-libcpp: configure-stageprofile-libcpp
21332 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21333 @r=`${PWD_COMMAND}`; export r; \
21334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21335 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21336 $(HOST_EXPORTS) \
21337 $(POSTSTAGE1_HOST_EXPORTS) \
21338 cd $(HOST_SUBDIR)/libcpp && \
21339 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21340 CFLAGS="$(STAGEprofile_CFLAGS)" \
21341 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21342 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21343 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21344 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21345 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21346 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21347 TFLAGS="$(STAGEprofile_TFLAGS)" \
21348 $(TARGET-stageprofile-libcpp)
21350 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
21351 clean-stageprofile: clean-stageprofile-libcpp
21352 clean-stageprofile-libcpp:
21353 @if [ $(current_stage) = stageprofile ]; then \
21354 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21355 else \
21356 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
21357 $(MAKE) stageprofile-start; \
21358 fi; \
21359 cd $(HOST_SUBDIR)/libcpp && \
21360 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21361 @endif libcpp-bootstrap
21364 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
21365 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
21366 maybe-all-stagefeedback-libcpp:
21367 maybe-clean-stagefeedback-libcpp:
21368 @if libcpp-bootstrap
21369 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
21370 all-stagefeedback: all-stagefeedback-libcpp
21371 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
21372 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
21373 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21374 @r=`${PWD_COMMAND}`; export r; \
21375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21376 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21377 $(HOST_EXPORTS) \
21378 $(POSTSTAGE1_HOST_EXPORTS) \
21379 cd $(HOST_SUBDIR)/libcpp && \
21380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21381 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21382 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21383 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21384 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21385 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21386 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21387 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21388 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21389 $(TARGET-stagefeedback-libcpp)
21391 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
21392 clean-stagefeedback: clean-stagefeedback-libcpp
21393 clean-stagefeedback-libcpp:
21394 @if [ $(current_stage) = stagefeedback ]; then \
21395 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21396 else \
21397 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
21398 $(MAKE) stagefeedback-start; \
21399 fi; \
21400 cd $(HOST_SUBDIR)/libcpp && \
21401 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21402 @endif libcpp-bootstrap
21408 .PHONY: check-libcpp maybe-check-libcpp
21409 maybe-check-libcpp:
21410 @if libcpp
21411 maybe-check-libcpp: check-libcpp
21413 check-libcpp:
21414 @: $(MAKE); $(unstage)
21415 @r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 $(HOST_EXPORTS) \
21418 (cd $(HOST_SUBDIR)/libcpp && \
21419 $(MAKE) $(FLAGS_TO_PASS) check)
21421 @endif libcpp
21423 .PHONY: install-libcpp maybe-install-libcpp
21424 maybe-install-libcpp:
21425 @if libcpp
21426 maybe-install-libcpp: install-libcpp
21428 install-libcpp: installdirs
21429 @: $(MAKE); $(unstage)
21430 @r=`${PWD_COMMAND}`; export r; \
21431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432 $(HOST_EXPORTS) \
21433 (cd $(HOST_SUBDIR)/libcpp && \
21434 $(MAKE) $(FLAGS_TO_PASS) install)
21436 @endif libcpp
21438 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
21439 maybe-install-strip-libcpp:
21440 @if libcpp
21441 maybe-install-strip-libcpp: install-strip-libcpp
21443 install-strip-libcpp: installdirs
21444 @: $(MAKE); $(unstage)
21445 @r=`${PWD_COMMAND}`; export r; \
21446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21447 $(HOST_EXPORTS) \
21448 (cd $(HOST_SUBDIR)/libcpp && \
21449 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21451 @endif libcpp
21453 # Other targets (info, dvi, pdf, etc.)
21455 .PHONY: maybe-info-libcpp info-libcpp
21456 maybe-info-libcpp:
21457 @if libcpp
21458 maybe-info-libcpp: info-libcpp
21460 info-libcpp: \
21461 configure-libcpp
21462 @[ -f ./libcpp/Makefile ] || exit 0; \
21463 r=`${PWD_COMMAND}`; export r; \
21464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21465 $(HOST_EXPORTS) \
21466 for flag in $(EXTRA_HOST_FLAGS) ; do \
21467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21468 done; \
21469 echo "Doing info in libcpp" ; \
21470 (cd $(HOST_SUBDIR)/libcpp && \
21471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21473 "RANLIB=$${RANLIB}" \
21474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21475 info) \
21476 || exit 1
21478 @endif libcpp
21480 .PHONY: maybe-dvi-libcpp dvi-libcpp
21481 maybe-dvi-libcpp:
21482 @if libcpp
21483 maybe-dvi-libcpp: dvi-libcpp
21485 dvi-libcpp: \
21486 configure-libcpp
21487 @[ -f ./libcpp/Makefile ] || exit 0; \
21488 r=`${PWD_COMMAND}`; export r; \
21489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21490 $(HOST_EXPORTS) \
21491 for flag in $(EXTRA_HOST_FLAGS) ; do \
21492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21493 done; \
21494 echo "Doing dvi in libcpp" ; \
21495 (cd $(HOST_SUBDIR)/libcpp && \
21496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21498 "RANLIB=$${RANLIB}" \
21499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21500 dvi) \
21501 || exit 1
21503 @endif libcpp
21505 .PHONY: maybe-pdf-libcpp pdf-libcpp
21506 maybe-pdf-libcpp:
21507 @if libcpp
21508 maybe-pdf-libcpp: pdf-libcpp
21510 pdf-libcpp: \
21511 configure-libcpp
21512 @[ -f ./libcpp/Makefile ] || exit 0; \
21513 r=`${PWD_COMMAND}`; export r; \
21514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21515 $(HOST_EXPORTS) \
21516 for flag in $(EXTRA_HOST_FLAGS) ; do \
21517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21518 done; \
21519 echo "Doing pdf in libcpp" ; \
21520 (cd $(HOST_SUBDIR)/libcpp && \
21521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21523 "RANLIB=$${RANLIB}" \
21524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21525 pdf) \
21526 || exit 1
21528 @endif libcpp
21530 .PHONY: maybe-html-libcpp html-libcpp
21531 maybe-html-libcpp:
21532 @if libcpp
21533 maybe-html-libcpp: html-libcpp
21535 html-libcpp: \
21536 configure-libcpp
21537 @[ -f ./libcpp/Makefile ] || exit 0; \
21538 r=`${PWD_COMMAND}`; export r; \
21539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21540 $(HOST_EXPORTS) \
21541 for flag in $(EXTRA_HOST_FLAGS) ; do \
21542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21543 done; \
21544 echo "Doing html in libcpp" ; \
21545 (cd $(HOST_SUBDIR)/libcpp && \
21546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21548 "RANLIB=$${RANLIB}" \
21549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21550 html) \
21551 || exit 1
21553 @endif libcpp
21555 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21556 maybe-TAGS-libcpp:
21557 @if libcpp
21558 maybe-TAGS-libcpp: TAGS-libcpp
21560 TAGS-libcpp: \
21561 configure-libcpp
21562 @[ -f ./libcpp/Makefile ] || exit 0; \
21563 r=`${PWD_COMMAND}`; export r; \
21564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21565 $(HOST_EXPORTS) \
21566 for flag in $(EXTRA_HOST_FLAGS) ; do \
21567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21568 done; \
21569 echo "Doing TAGS in libcpp" ; \
21570 (cd $(HOST_SUBDIR)/libcpp && \
21571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21573 "RANLIB=$${RANLIB}" \
21574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21575 TAGS) \
21576 || exit 1
21578 @endif libcpp
21580 .PHONY: maybe-install-info-libcpp install-info-libcpp
21581 maybe-install-info-libcpp:
21582 @if libcpp
21583 maybe-install-info-libcpp: install-info-libcpp
21585 install-info-libcpp: \
21586 configure-libcpp \
21587 info-libcpp
21588 @[ -f ./libcpp/Makefile ] || exit 0; \
21589 r=`${PWD_COMMAND}`; export r; \
21590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21591 $(HOST_EXPORTS) \
21592 for flag in $(EXTRA_HOST_FLAGS) ; do \
21593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21594 done; \
21595 echo "Doing install-info in libcpp" ; \
21596 (cd $(HOST_SUBDIR)/libcpp && \
21597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21599 "RANLIB=$${RANLIB}" \
21600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21601 install-info) \
21602 || exit 1
21604 @endif libcpp
21606 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21607 maybe-install-pdf-libcpp:
21608 @if libcpp
21609 maybe-install-pdf-libcpp: install-pdf-libcpp
21611 install-pdf-libcpp: \
21612 configure-libcpp \
21613 pdf-libcpp
21614 @[ -f ./libcpp/Makefile ] || exit 0; \
21615 r=`${PWD_COMMAND}`; export r; \
21616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21617 $(HOST_EXPORTS) \
21618 for flag in $(EXTRA_HOST_FLAGS) ; do \
21619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21620 done; \
21621 echo "Doing install-pdf in libcpp" ; \
21622 (cd $(HOST_SUBDIR)/libcpp && \
21623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21625 "RANLIB=$${RANLIB}" \
21626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21627 install-pdf) \
21628 || exit 1
21630 @endif libcpp
21632 .PHONY: maybe-install-html-libcpp install-html-libcpp
21633 maybe-install-html-libcpp:
21634 @if libcpp
21635 maybe-install-html-libcpp: install-html-libcpp
21637 install-html-libcpp: \
21638 configure-libcpp \
21639 html-libcpp
21640 @[ -f ./libcpp/Makefile ] || exit 0; \
21641 r=`${PWD_COMMAND}`; export r; \
21642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21643 $(HOST_EXPORTS) \
21644 for flag in $(EXTRA_HOST_FLAGS) ; do \
21645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21646 done; \
21647 echo "Doing install-html in libcpp" ; \
21648 (cd $(HOST_SUBDIR)/libcpp && \
21649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21651 "RANLIB=$${RANLIB}" \
21652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21653 install-html) \
21654 || exit 1
21656 @endif libcpp
21658 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21659 maybe-installcheck-libcpp:
21660 @if libcpp
21661 maybe-installcheck-libcpp: installcheck-libcpp
21663 installcheck-libcpp: \
21664 configure-libcpp
21665 @[ -f ./libcpp/Makefile ] || exit 0; \
21666 r=`${PWD_COMMAND}`; export r; \
21667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21668 $(HOST_EXPORTS) \
21669 for flag in $(EXTRA_HOST_FLAGS) ; do \
21670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21671 done; \
21672 echo "Doing installcheck in libcpp" ; \
21673 (cd $(HOST_SUBDIR)/libcpp && \
21674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21676 "RANLIB=$${RANLIB}" \
21677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21678 installcheck) \
21679 || exit 1
21681 @endif libcpp
21683 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21684 maybe-mostlyclean-libcpp:
21685 @if libcpp
21686 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21688 mostlyclean-libcpp:
21689 @[ -f ./libcpp/Makefile ] || exit 0; \
21690 r=`${PWD_COMMAND}`; export r; \
21691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21692 $(HOST_EXPORTS) \
21693 for flag in $(EXTRA_HOST_FLAGS) ; do \
21694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21695 done; \
21696 echo "Doing mostlyclean in libcpp" ; \
21697 (cd $(HOST_SUBDIR)/libcpp && \
21698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21700 "RANLIB=$${RANLIB}" \
21701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21702 mostlyclean) \
21703 || exit 1
21705 @endif libcpp
21707 .PHONY: maybe-clean-libcpp clean-libcpp
21708 maybe-clean-libcpp:
21709 @if libcpp
21710 maybe-clean-libcpp: clean-libcpp
21712 clean-libcpp:
21713 @[ -f ./libcpp/Makefile ] || exit 0; \
21714 r=`${PWD_COMMAND}`; export r; \
21715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21716 $(HOST_EXPORTS) \
21717 for flag in $(EXTRA_HOST_FLAGS) ; do \
21718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21719 done; \
21720 echo "Doing clean in libcpp" ; \
21721 (cd $(HOST_SUBDIR)/libcpp && \
21722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21724 "RANLIB=$${RANLIB}" \
21725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21726 clean) \
21727 || exit 1
21729 @endif libcpp
21731 .PHONY: maybe-distclean-libcpp distclean-libcpp
21732 maybe-distclean-libcpp:
21733 @if libcpp
21734 maybe-distclean-libcpp: distclean-libcpp
21736 distclean-libcpp:
21737 @[ -f ./libcpp/Makefile ] || exit 0; \
21738 r=`${PWD_COMMAND}`; export r; \
21739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21740 $(HOST_EXPORTS) \
21741 for flag in $(EXTRA_HOST_FLAGS) ; do \
21742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21743 done; \
21744 echo "Doing distclean in libcpp" ; \
21745 (cd $(HOST_SUBDIR)/libcpp && \
21746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21748 "RANLIB=$${RANLIB}" \
21749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21750 distclean) \
21751 || exit 1
21753 @endif libcpp
21755 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21756 maybe-maintainer-clean-libcpp:
21757 @if libcpp
21758 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21760 maintainer-clean-libcpp:
21761 @[ -f ./libcpp/Makefile ] || exit 0; \
21762 r=`${PWD_COMMAND}`; export r; \
21763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21764 $(HOST_EXPORTS) \
21765 for flag in $(EXTRA_HOST_FLAGS) ; do \
21766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21767 done; \
21768 echo "Doing maintainer-clean in libcpp" ; \
21769 (cd $(HOST_SUBDIR)/libcpp && \
21770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21772 "RANLIB=$${RANLIB}" \
21773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21774 maintainer-clean) \
21775 || exit 1
21777 @endif libcpp
21781 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21782 maybe-configure-libdecnumber:
21783 @if gcc-bootstrap
21784 configure-libdecnumber: stage_current
21785 @endif gcc-bootstrap
21786 @if libdecnumber
21787 maybe-configure-libdecnumber: configure-libdecnumber
21788 configure-libdecnumber:
21789 @r=`${PWD_COMMAND}`; export r; \
21790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21791 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21793 $(HOST_EXPORTS) \
21794 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21795 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21796 case $(srcdir) in \
21797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21798 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21800 esac; \
21801 module_srcdir=libdecnumber; \
21802 $(SHELL) \
21803 $$s/$$module_srcdir/configure \
21804 --srcdir=$${topdir}/$$module_srcdir \
21805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21806 --target=${target_alias} \
21807 || exit 1
21808 @endif libdecnumber
21812 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21813 maybe-configure-stage1-libdecnumber:
21814 @if libdecnumber-bootstrap
21815 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21816 configure-stage1-libdecnumber:
21817 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21818 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21819 @r=`${PWD_COMMAND}`; export r; \
21820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21821 TFLAGS="$(STAGE1_TFLAGS)"; \
21822 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21823 $(HOST_EXPORTS) \
21824 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21825 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21826 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21827 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21829 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21830 case $(srcdir) in \
21831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21832 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21834 esac; \
21835 module_srcdir=libdecnumber; \
21836 $(SHELL) $$s/$$module_srcdir/configure \
21837 --srcdir=$${topdir}/$$module_srcdir \
21838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21839 --target=${target_alias} \
21841 $(STAGE1_CONFIGURE_FLAGS)
21842 @endif libdecnumber-bootstrap
21844 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21845 maybe-configure-stage2-libdecnumber:
21846 @if libdecnumber-bootstrap
21847 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21848 configure-stage2-libdecnumber:
21849 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21851 @r=`${PWD_COMMAND}`; export r; \
21852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21853 TFLAGS="$(STAGE2_TFLAGS)"; \
21854 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21855 $(HOST_EXPORTS) \
21856 $(POSTSTAGE1_HOST_EXPORTS) \
21857 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21858 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21859 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21860 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21862 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21863 case $(srcdir) in \
21864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21865 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21867 esac; \
21868 module_srcdir=libdecnumber; \
21869 $(SHELL) $$s/$$module_srcdir/configure \
21870 --srcdir=$${topdir}/$$module_srcdir \
21871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21872 --target=${target_alias} \
21873 --with-build-libsubdir=$(HOST_SUBDIR) \
21874 $(STAGE2_CONFIGURE_FLAGS)
21875 @endif libdecnumber-bootstrap
21877 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21878 maybe-configure-stage3-libdecnumber:
21879 @if libdecnumber-bootstrap
21880 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21881 configure-stage3-libdecnumber:
21882 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21884 @r=`${PWD_COMMAND}`; export r; \
21885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21886 TFLAGS="$(STAGE3_TFLAGS)"; \
21887 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21888 $(HOST_EXPORTS) \
21889 $(POSTSTAGE1_HOST_EXPORTS) \
21890 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21891 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21892 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21893 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21895 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21896 case $(srcdir) in \
21897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21898 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21900 esac; \
21901 module_srcdir=libdecnumber; \
21902 $(SHELL) $$s/$$module_srcdir/configure \
21903 --srcdir=$${topdir}/$$module_srcdir \
21904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21905 --target=${target_alias} \
21906 --with-build-libsubdir=$(HOST_SUBDIR) \
21907 $(STAGE3_CONFIGURE_FLAGS)
21908 @endif libdecnumber-bootstrap
21910 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21911 maybe-configure-stage4-libdecnumber:
21912 @if libdecnumber-bootstrap
21913 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21914 configure-stage4-libdecnumber:
21915 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21917 @r=`${PWD_COMMAND}`; export r; \
21918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21919 TFLAGS="$(STAGE4_TFLAGS)"; \
21920 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21921 $(HOST_EXPORTS) \
21922 $(POSTSTAGE1_HOST_EXPORTS) \
21923 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21924 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21925 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21926 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21928 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21929 case $(srcdir) in \
21930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21931 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21933 esac; \
21934 module_srcdir=libdecnumber; \
21935 $(SHELL) $$s/$$module_srcdir/configure \
21936 --srcdir=$${topdir}/$$module_srcdir \
21937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21938 --target=${target_alias} \
21939 --with-build-libsubdir=$(HOST_SUBDIR) \
21940 $(STAGE4_CONFIGURE_FLAGS)
21941 @endif libdecnumber-bootstrap
21943 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21944 maybe-configure-stageprofile-libdecnumber:
21945 @if libdecnumber-bootstrap
21946 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21947 configure-stageprofile-libdecnumber:
21948 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21949 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21950 @r=`${PWD_COMMAND}`; export r; \
21951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21952 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21953 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21954 $(HOST_EXPORTS) \
21955 $(POSTSTAGE1_HOST_EXPORTS) \
21956 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21957 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21958 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21959 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21961 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21962 case $(srcdir) in \
21963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21964 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21966 esac; \
21967 module_srcdir=libdecnumber; \
21968 $(SHELL) $$s/$$module_srcdir/configure \
21969 --srcdir=$${topdir}/$$module_srcdir \
21970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21971 --target=${target_alias} \
21972 --with-build-libsubdir=$(HOST_SUBDIR) \
21973 $(STAGEprofile_CONFIGURE_FLAGS)
21974 @endif libdecnumber-bootstrap
21976 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21977 maybe-configure-stagefeedback-libdecnumber:
21978 @if libdecnumber-bootstrap
21979 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21980 configure-stagefeedback-libdecnumber:
21981 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21982 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21983 @r=`${PWD_COMMAND}`; export r; \
21984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21985 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21986 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21987 $(HOST_EXPORTS) \
21988 $(POSTSTAGE1_HOST_EXPORTS) \
21989 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21990 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21991 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21992 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21994 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21995 case $(srcdir) in \
21996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21997 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21999 esac; \
22000 module_srcdir=libdecnumber; \
22001 $(SHELL) $$s/$$module_srcdir/configure \
22002 --srcdir=$${topdir}/$$module_srcdir \
22003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22004 --target=${target_alias} \
22005 --with-build-libsubdir=$(HOST_SUBDIR) \
22006 $(STAGEfeedback_CONFIGURE_FLAGS)
22007 @endif libdecnumber-bootstrap
22013 .PHONY: all-libdecnumber maybe-all-libdecnumber
22014 maybe-all-libdecnumber:
22015 @if gcc-bootstrap
22016 all-libdecnumber: stage_current
22017 @endif gcc-bootstrap
22018 @if libdecnumber
22019 TARGET-libdecnumber=all
22020 maybe-all-libdecnumber: all-libdecnumber
22021 all-libdecnumber: configure-libdecnumber
22022 @r=`${PWD_COMMAND}`; export r; \
22023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22024 $(HOST_EXPORTS) \
22025 (cd $(HOST_SUBDIR)/libdecnumber && \
22026 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22027 $(TARGET-libdecnumber))
22028 @endif libdecnumber
22032 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
22033 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
22034 maybe-all-stage1-libdecnumber:
22035 maybe-clean-stage1-libdecnumber:
22036 @if libdecnumber-bootstrap
22037 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
22038 all-stage1: all-stage1-libdecnumber
22039 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
22040 all-stage1-libdecnumber: configure-stage1-libdecnumber
22041 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22042 @r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22044 TFLAGS="$(STAGE1_TFLAGS)"; \
22045 $(HOST_EXPORTS) \
22046 cd $(HOST_SUBDIR)/libdecnumber && \
22047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22048 CFLAGS="$(STAGE1_CFLAGS)" \
22049 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22050 LIBCFLAGS="$(LIBCFLAGS)" \
22051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22054 $(EXTRA_HOST_FLAGS) \
22055 $(STAGE1_FLAGS_TO_PASS) \
22056 TFLAGS="$(STAGE1_TFLAGS)" \
22057 $(TARGET-stage1-libdecnumber)
22059 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
22060 clean-stage1: clean-stage1-libdecnumber
22061 clean-stage1-libdecnumber:
22062 @if [ $(current_stage) = stage1 ]; then \
22063 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22064 else \
22065 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
22066 $(MAKE) stage1-start; \
22067 fi; \
22068 cd $(HOST_SUBDIR)/libdecnumber && \
22069 $(MAKE) $(EXTRA_HOST_FLAGS) \
22070 $(STAGE1_FLAGS_TO_PASS) clean
22071 @endif libdecnumber-bootstrap
22074 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
22075 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
22076 maybe-all-stage2-libdecnumber:
22077 maybe-clean-stage2-libdecnumber:
22078 @if libdecnumber-bootstrap
22079 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
22080 all-stage2: all-stage2-libdecnumber
22081 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
22082 all-stage2-libdecnumber: configure-stage2-libdecnumber
22083 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22084 @r=`${PWD_COMMAND}`; export r; \
22085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22086 TFLAGS="$(STAGE2_TFLAGS)"; \
22087 $(HOST_EXPORTS) \
22088 $(POSTSTAGE1_HOST_EXPORTS) \
22089 cd $(HOST_SUBDIR)/libdecnumber && \
22090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22091 CFLAGS="$(STAGE2_CFLAGS)" \
22092 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22093 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22098 TFLAGS="$(STAGE2_TFLAGS)" \
22099 $(TARGET-stage2-libdecnumber)
22101 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
22102 clean-stage2: clean-stage2-libdecnumber
22103 clean-stage2-libdecnumber:
22104 @if [ $(current_stage) = stage2 ]; then \
22105 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22106 else \
22107 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
22108 $(MAKE) stage2-start; \
22109 fi; \
22110 cd $(HOST_SUBDIR)/libdecnumber && \
22111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22112 @endif libdecnumber-bootstrap
22115 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
22116 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
22117 maybe-all-stage3-libdecnumber:
22118 maybe-clean-stage3-libdecnumber:
22119 @if libdecnumber-bootstrap
22120 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
22121 all-stage3: all-stage3-libdecnumber
22122 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
22123 all-stage3-libdecnumber: configure-stage3-libdecnumber
22124 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22125 @r=`${PWD_COMMAND}`; export r; \
22126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22127 TFLAGS="$(STAGE3_TFLAGS)"; \
22128 $(HOST_EXPORTS) \
22129 $(POSTSTAGE1_HOST_EXPORTS) \
22130 cd $(HOST_SUBDIR)/libdecnumber && \
22131 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22132 CFLAGS="$(STAGE3_CFLAGS)" \
22133 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22134 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22138 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22139 TFLAGS="$(STAGE3_TFLAGS)" \
22140 $(TARGET-stage3-libdecnumber)
22142 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
22143 clean-stage3: clean-stage3-libdecnumber
22144 clean-stage3-libdecnumber:
22145 @if [ $(current_stage) = stage3 ]; then \
22146 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22147 else \
22148 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
22149 $(MAKE) stage3-start; \
22150 fi; \
22151 cd $(HOST_SUBDIR)/libdecnumber && \
22152 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22153 @endif libdecnumber-bootstrap
22156 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
22157 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
22158 maybe-all-stage4-libdecnumber:
22159 maybe-clean-stage4-libdecnumber:
22160 @if libdecnumber-bootstrap
22161 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
22162 all-stage4: all-stage4-libdecnumber
22163 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
22164 all-stage4-libdecnumber: configure-stage4-libdecnumber
22165 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22166 @r=`${PWD_COMMAND}`; export r; \
22167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22168 TFLAGS="$(STAGE4_TFLAGS)"; \
22169 $(HOST_EXPORTS) \
22170 $(POSTSTAGE1_HOST_EXPORTS) \
22171 cd $(HOST_SUBDIR)/libdecnumber && \
22172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22173 CFLAGS="$(STAGE4_CFLAGS)" \
22174 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22175 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22179 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22180 TFLAGS="$(STAGE4_TFLAGS)" \
22181 $(TARGET-stage4-libdecnumber)
22183 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
22184 clean-stage4: clean-stage4-libdecnumber
22185 clean-stage4-libdecnumber:
22186 @if [ $(current_stage) = stage4 ]; then \
22187 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22188 else \
22189 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
22190 $(MAKE) stage4-start; \
22191 fi; \
22192 cd $(HOST_SUBDIR)/libdecnumber && \
22193 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22194 @endif libdecnumber-bootstrap
22197 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
22198 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
22199 maybe-all-stageprofile-libdecnumber:
22200 maybe-clean-stageprofile-libdecnumber:
22201 @if libdecnumber-bootstrap
22202 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
22203 all-stageprofile: all-stageprofile-libdecnumber
22204 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
22205 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
22206 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22207 @r=`${PWD_COMMAND}`; export r; \
22208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22210 $(HOST_EXPORTS) \
22211 $(POSTSTAGE1_HOST_EXPORTS) \
22212 cd $(HOST_SUBDIR)/libdecnumber && \
22213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22214 CFLAGS="$(STAGEprofile_CFLAGS)" \
22215 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22216 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22221 TFLAGS="$(STAGEprofile_TFLAGS)" \
22222 $(TARGET-stageprofile-libdecnumber)
22224 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
22225 clean-stageprofile: clean-stageprofile-libdecnumber
22226 clean-stageprofile-libdecnumber:
22227 @if [ $(current_stage) = stageprofile ]; then \
22228 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22229 else \
22230 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
22231 $(MAKE) stageprofile-start; \
22232 fi; \
22233 cd $(HOST_SUBDIR)/libdecnumber && \
22234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22235 @endif libdecnumber-bootstrap
22238 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
22239 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
22240 maybe-all-stagefeedback-libdecnumber:
22241 maybe-clean-stagefeedback-libdecnumber:
22242 @if libdecnumber-bootstrap
22243 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
22244 all-stagefeedback: all-stagefeedback-libdecnumber
22245 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
22246 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
22247 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22248 @r=`${PWD_COMMAND}`; export r; \
22249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22250 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22251 $(HOST_EXPORTS) \
22252 $(POSTSTAGE1_HOST_EXPORTS) \
22253 cd $(HOST_SUBDIR)/libdecnumber && \
22254 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22255 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22256 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22257 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22258 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22259 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22260 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22261 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22262 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22263 $(TARGET-stagefeedback-libdecnumber)
22265 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
22266 clean-stagefeedback: clean-stagefeedback-libdecnumber
22267 clean-stagefeedback-libdecnumber:
22268 @if [ $(current_stage) = stagefeedback ]; then \
22269 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22270 else \
22271 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
22272 $(MAKE) stagefeedback-start; \
22273 fi; \
22274 cd $(HOST_SUBDIR)/libdecnumber && \
22275 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22276 @endif libdecnumber-bootstrap
22282 .PHONY: check-libdecnumber maybe-check-libdecnumber
22283 maybe-check-libdecnumber:
22284 @if libdecnumber
22285 maybe-check-libdecnumber: check-libdecnumber
22287 check-libdecnumber:
22288 @: $(MAKE); $(unstage)
22289 @r=`${PWD_COMMAND}`; export r; \
22290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22291 $(HOST_EXPORTS) \
22292 (cd $(HOST_SUBDIR)/libdecnumber && \
22293 $(MAKE) $(FLAGS_TO_PASS) check)
22295 @endif libdecnumber
22297 .PHONY: install-libdecnumber maybe-install-libdecnumber
22298 maybe-install-libdecnumber:
22299 @if libdecnumber
22300 maybe-install-libdecnumber: install-libdecnumber
22302 install-libdecnumber: installdirs
22303 @: $(MAKE); $(unstage)
22304 @r=`${PWD_COMMAND}`; export r; \
22305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22306 $(HOST_EXPORTS) \
22307 (cd $(HOST_SUBDIR)/libdecnumber && \
22308 $(MAKE) $(FLAGS_TO_PASS) install)
22310 @endif libdecnumber
22312 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
22313 maybe-install-strip-libdecnumber:
22314 @if libdecnumber
22315 maybe-install-strip-libdecnumber: install-strip-libdecnumber
22317 install-strip-libdecnumber: installdirs
22318 @: $(MAKE); $(unstage)
22319 @r=`${PWD_COMMAND}`; export r; \
22320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22321 $(HOST_EXPORTS) \
22322 (cd $(HOST_SUBDIR)/libdecnumber && \
22323 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22325 @endif libdecnumber
22327 # Other targets (info, dvi, pdf, etc.)
22329 .PHONY: maybe-info-libdecnumber info-libdecnumber
22330 maybe-info-libdecnumber:
22331 @if libdecnumber
22332 maybe-info-libdecnumber: info-libdecnumber
22334 info-libdecnumber: \
22335 configure-libdecnumber
22336 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22337 r=`${PWD_COMMAND}`; export r; \
22338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22339 $(HOST_EXPORTS) \
22340 for flag in $(EXTRA_HOST_FLAGS) ; do \
22341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22342 done; \
22343 echo "Doing info in libdecnumber" ; \
22344 (cd $(HOST_SUBDIR)/libdecnumber && \
22345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22347 "RANLIB=$${RANLIB}" \
22348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22349 info) \
22350 || exit 1
22352 @endif libdecnumber
22354 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
22355 maybe-dvi-libdecnumber:
22356 @if libdecnumber
22357 maybe-dvi-libdecnumber: dvi-libdecnumber
22359 dvi-libdecnumber: \
22360 configure-libdecnumber
22361 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22362 r=`${PWD_COMMAND}`; export r; \
22363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22364 $(HOST_EXPORTS) \
22365 for flag in $(EXTRA_HOST_FLAGS) ; do \
22366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22367 done; \
22368 echo "Doing dvi in libdecnumber" ; \
22369 (cd $(HOST_SUBDIR)/libdecnumber && \
22370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22372 "RANLIB=$${RANLIB}" \
22373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22374 dvi) \
22375 || exit 1
22377 @endif libdecnumber
22379 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
22380 maybe-pdf-libdecnumber:
22381 @if libdecnumber
22382 maybe-pdf-libdecnumber: pdf-libdecnumber
22384 pdf-libdecnumber: \
22385 configure-libdecnumber
22386 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22387 r=`${PWD_COMMAND}`; export r; \
22388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22389 $(HOST_EXPORTS) \
22390 for flag in $(EXTRA_HOST_FLAGS) ; do \
22391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22392 done; \
22393 echo "Doing pdf in libdecnumber" ; \
22394 (cd $(HOST_SUBDIR)/libdecnumber && \
22395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22397 "RANLIB=$${RANLIB}" \
22398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22399 pdf) \
22400 || exit 1
22402 @endif libdecnumber
22404 .PHONY: maybe-html-libdecnumber html-libdecnumber
22405 maybe-html-libdecnumber:
22406 @if libdecnumber
22407 maybe-html-libdecnumber: html-libdecnumber
22409 html-libdecnumber: \
22410 configure-libdecnumber
22411 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22412 r=`${PWD_COMMAND}`; export r; \
22413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22414 $(HOST_EXPORTS) \
22415 for flag in $(EXTRA_HOST_FLAGS) ; do \
22416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22417 done; \
22418 echo "Doing html in libdecnumber" ; \
22419 (cd $(HOST_SUBDIR)/libdecnumber && \
22420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22422 "RANLIB=$${RANLIB}" \
22423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22424 html) \
22425 || exit 1
22427 @endif libdecnumber
22429 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
22430 maybe-TAGS-libdecnumber:
22431 @if libdecnumber
22432 maybe-TAGS-libdecnumber: TAGS-libdecnumber
22434 TAGS-libdecnumber: \
22435 configure-libdecnumber
22436 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22437 r=`${PWD_COMMAND}`; export r; \
22438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22439 $(HOST_EXPORTS) \
22440 for flag in $(EXTRA_HOST_FLAGS) ; do \
22441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22442 done; \
22443 echo "Doing TAGS in libdecnumber" ; \
22444 (cd $(HOST_SUBDIR)/libdecnumber && \
22445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22447 "RANLIB=$${RANLIB}" \
22448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22449 TAGS) \
22450 || exit 1
22452 @endif libdecnumber
22454 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
22455 maybe-install-info-libdecnumber:
22456 @if libdecnumber
22457 maybe-install-info-libdecnumber: install-info-libdecnumber
22459 install-info-libdecnumber: \
22460 configure-libdecnumber \
22461 info-libdecnumber
22462 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22463 r=`${PWD_COMMAND}`; export r; \
22464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22465 $(HOST_EXPORTS) \
22466 for flag in $(EXTRA_HOST_FLAGS) ; do \
22467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22468 done; \
22469 echo "Doing install-info in libdecnumber" ; \
22470 (cd $(HOST_SUBDIR)/libdecnumber && \
22471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22473 "RANLIB=$${RANLIB}" \
22474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22475 install-info) \
22476 || exit 1
22478 @endif libdecnumber
22480 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
22481 maybe-install-pdf-libdecnumber:
22482 @if libdecnumber
22483 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
22485 install-pdf-libdecnumber: \
22486 configure-libdecnumber \
22487 pdf-libdecnumber
22488 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22489 r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491 $(HOST_EXPORTS) \
22492 for flag in $(EXTRA_HOST_FLAGS) ; do \
22493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22494 done; \
22495 echo "Doing install-pdf in libdecnumber" ; \
22496 (cd $(HOST_SUBDIR)/libdecnumber && \
22497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22499 "RANLIB=$${RANLIB}" \
22500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22501 install-pdf) \
22502 || exit 1
22504 @endif libdecnumber
22506 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
22507 maybe-install-html-libdecnumber:
22508 @if libdecnumber
22509 maybe-install-html-libdecnumber: install-html-libdecnumber
22511 install-html-libdecnumber: \
22512 configure-libdecnumber \
22513 html-libdecnumber
22514 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22515 r=`${PWD_COMMAND}`; export r; \
22516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22517 $(HOST_EXPORTS) \
22518 for flag in $(EXTRA_HOST_FLAGS) ; do \
22519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22520 done; \
22521 echo "Doing install-html in libdecnumber" ; \
22522 (cd $(HOST_SUBDIR)/libdecnumber && \
22523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22525 "RANLIB=$${RANLIB}" \
22526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22527 install-html) \
22528 || exit 1
22530 @endif libdecnumber
22532 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22533 maybe-installcheck-libdecnumber:
22534 @if libdecnumber
22535 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22537 installcheck-libdecnumber: \
22538 configure-libdecnumber
22539 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22540 r=`${PWD_COMMAND}`; export r; \
22541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22542 $(HOST_EXPORTS) \
22543 for flag in $(EXTRA_HOST_FLAGS) ; do \
22544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22545 done; \
22546 echo "Doing installcheck in libdecnumber" ; \
22547 (cd $(HOST_SUBDIR)/libdecnumber && \
22548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22550 "RANLIB=$${RANLIB}" \
22551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22552 installcheck) \
22553 || exit 1
22555 @endif libdecnumber
22557 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22558 maybe-mostlyclean-libdecnumber:
22559 @if libdecnumber
22560 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22562 mostlyclean-libdecnumber:
22563 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22564 r=`${PWD_COMMAND}`; export r; \
22565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22566 $(HOST_EXPORTS) \
22567 for flag in $(EXTRA_HOST_FLAGS) ; do \
22568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22569 done; \
22570 echo "Doing mostlyclean in libdecnumber" ; \
22571 (cd $(HOST_SUBDIR)/libdecnumber && \
22572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22574 "RANLIB=$${RANLIB}" \
22575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22576 mostlyclean) \
22577 || exit 1
22579 @endif libdecnumber
22581 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22582 maybe-clean-libdecnumber:
22583 @if libdecnumber
22584 maybe-clean-libdecnumber: clean-libdecnumber
22586 clean-libdecnumber:
22587 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22588 r=`${PWD_COMMAND}`; export r; \
22589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22590 $(HOST_EXPORTS) \
22591 for flag in $(EXTRA_HOST_FLAGS) ; do \
22592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22593 done; \
22594 echo "Doing clean in libdecnumber" ; \
22595 (cd $(HOST_SUBDIR)/libdecnumber && \
22596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22598 "RANLIB=$${RANLIB}" \
22599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22600 clean) \
22601 || exit 1
22603 @endif libdecnumber
22605 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22606 maybe-distclean-libdecnumber:
22607 @if libdecnumber
22608 maybe-distclean-libdecnumber: distclean-libdecnumber
22610 distclean-libdecnumber:
22611 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22612 r=`${PWD_COMMAND}`; export r; \
22613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22614 $(HOST_EXPORTS) \
22615 for flag in $(EXTRA_HOST_FLAGS) ; do \
22616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22617 done; \
22618 echo "Doing distclean in libdecnumber" ; \
22619 (cd $(HOST_SUBDIR)/libdecnumber && \
22620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22622 "RANLIB=$${RANLIB}" \
22623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22624 distclean) \
22625 || exit 1
22627 @endif libdecnumber
22629 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22630 maybe-maintainer-clean-libdecnumber:
22631 @if libdecnumber
22632 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22634 maintainer-clean-libdecnumber:
22635 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22636 r=`${PWD_COMMAND}`; export r; \
22637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22638 $(HOST_EXPORTS) \
22639 for flag in $(EXTRA_HOST_FLAGS) ; do \
22640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22641 done; \
22642 echo "Doing maintainer-clean in libdecnumber" ; \
22643 (cd $(HOST_SUBDIR)/libdecnumber && \
22644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22646 "RANLIB=$${RANLIB}" \
22647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22648 maintainer-clean) \
22649 || exit 1
22651 @endif libdecnumber
22655 .PHONY: configure-libgui maybe-configure-libgui
22656 maybe-configure-libgui:
22657 @if gcc-bootstrap
22658 configure-libgui: stage_current
22659 @endif gcc-bootstrap
22660 @if libgui
22661 maybe-configure-libgui: configure-libgui
22662 configure-libgui:
22663 @: $(MAKE); $(unstage)
22664 @r=`${PWD_COMMAND}`; export r; \
22665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22666 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22668 $(HOST_EXPORTS) \
22669 echo Configuring in $(HOST_SUBDIR)/libgui; \
22670 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22671 case $(srcdir) in \
22672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22673 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22675 esac; \
22676 module_srcdir=libgui; \
22677 $(SHELL) \
22678 $$s/$$module_srcdir/configure \
22679 --srcdir=$${topdir}/$$module_srcdir \
22680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22681 --target=${target_alias} \
22682 || exit 1
22683 @endif libgui
22689 .PHONY: all-libgui maybe-all-libgui
22690 maybe-all-libgui:
22691 @if gcc-bootstrap
22692 all-libgui: stage_current
22693 @endif gcc-bootstrap
22694 @if libgui
22695 TARGET-libgui=all
22696 maybe-all-libgui: all-libgui
22697 all-libgui: configure-libgui
22698 @: $(MAKE); $(unstage)
22699 @r=`${PWD_COMMAND}`; export r; \
22700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22701 $(HOST_EXPORTS) \
22702 (cd $(HOST_SUBDIR)/libgui && \
22703 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22704 $(TARGET-libgui))
22705 @endif libgui
22710 .PHONY: check-libgui maybe-check-libgui
22711 maybe-check-libgui:
22712 @if libgui
22713 maybe-check-libgui: check-libgui
22715 check-libgui:
22716 @: $(MAKE); $(unstage)
22717 @r=`${PWD_COMMAND}`; export r; \
22718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22719 $(HOST_EXPORTS) \
22720 (cd $(HOST_SUBDIR)/libgui && \
22721 $(MAKE) $(FLAGS_TO_PASS) check)
22723 @endif libgui
22725 .PHONY: install-libgui maybe-install-libgui
22726 maybe-install-libgui:
22727 @if libgui
22728 maybe-install-libgui: install-libgui
22730 install-libgui: installdirs
22731 @: $(MAKE); $(unstage)
22732 @r=`${PWD_COMMAND}`; export r; \
22733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22734 $(HOST_EXPORTS) \
22735 (cd $(HOST_SUBDIR)/libgui && \
22736 $(MAKE) $(FLAGS_TO_PASS) install)
22738 @endif libgui
22740 .PHONY: install-strip-libgui maybe-install-strip-libgui
22741 maybe-install-strip-libgui:
22742 @if libgui
22743 maybe-install-strip-libgui: install-strip-libgui
22745 install-strip-libgui: installdirs
22746 @: $(MAKE); $(unstage)
22747 @r=`${PWD_COMMAND}`; export r; \
22748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 $(HOST_EXPORTS) \
22750 (cd $(HOST_SUBDIR)/libgui && \
22751 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22753 @endif libgui
22755 # Other targets (info, dvi, pdf, etc.)
22757 .PHONY: maybe-info-libgui info-libgui
22758 maybe-info-libgui:
22759 @if libgui
22760 maybe-info-libgui: info-libgui
22762 info-libgui: \
22763 configure-libgui
22764 @: $(MAKE); $(unstage)
22765 @[ -f ./libgui/Makefile ] || exit 0; \
22766 r=`${PWD_COMMAND}`; export r; \
22767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22768 $(HOST_EXPORTS) \
22769 for flag in $(EXTRA_HOST_FLAGS) ; do \
22770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22771 done; \
22772 echo "Doing info in libgui" ; \
22773 (cd $(HOST_SUBDIR)/libgui && \
22774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22776 "RANLIB=$${RANLIB}" \
22777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22778 info) \
22779 || exit 1
22781 @endif libgui
22783 .PHONY: maybe-dvi-libgui dvi-libgui
22784 maybe-dvi-libgui:
22785 @if libgui
22786 maybe-dvi-libgui: dvi-libgui
22788 dvi-libgui: \
22789 configure-libgui
22790 @: $(MAKE); $(unstage)
22791 @[ -f ./libgui/Makefile ] || exit 0; \
22792 r=`${PWD_COMMAND}`; export r; \
22793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22794 $(HOST_EXPORTS) \
22795 for flag in $(EXTRA_HOST_FLAGS) ; do \
22796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22797 done; \
22798 echo "Doing dvi in libgui" ; \
22799 (cd $(HOST_SUBDIR)/libgui && \
22800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22802 "RANLIB=$${RANLIB}" \
22803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22804 dvi) \
22805 || exit 1
22807 @endif libgui
22809 .PHONY: maybe-pdf-libgui pdf-libgui
22810 maybe-pdf-libgui:
22811 @if libgui
22812 maybe-pdf-libgui: pdf-libgui
22814 pdf-libgui: \
22815 configure-libgui
22816 @: $(MAKE); $(unstage)
22817 @[ -f ./libgui/Makefile ] || exit 0; \
22818 r=`${PWD_COMMAND}`; export r; \
22819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22820 $(HOST_EXPORTS) \
22821 for flag in $(EXTRA_HOST_FLAGS) ; do \
22822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22823 done; \
22824 echo "Doing pdf in libgui" ; \
22825 (cd $(HOST_SUBDIR)/libgui && \
22826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22828 "RANLIB=$${RANLIB}" \
22829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22830 pdf) \
22831 || exit 1
22833 @endif libgui
22835 .PHONY: maybe-html-libgui html-libgui
22836 maybe-html-libgui:
22837 @if libgui
22838 maybe-html-libgui: html-libgui
22840 html-libgui: \
22841 configure-libgui
22842 @: $(MAKE); $(unstage)
22843 @[ -f ./libgui/Makefile ] || exit 0; \
22844 r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846 $(HOST_EXPORTS) \
22847 for flag in $(EXTRA_HOST_FLAGS) ; do \
22848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22849 done; \
22850 echo "Doing html in libgui" ; \
22851 (cd $(HOST_SUBDIR)/libgui && \
22852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22854 "RANLIB=$${RANLIB}" \
22855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22856 html) \
22857 || exit 1
22859 @endif libgui
22861 .PHONY: maybe-TAGS-libgui TAGS-libgui
22862 maybe-TAGS-libgui:
22863 @if libgui
22864 maybe-TAGS-libgui: TAGS-libgui
22866 TAGS-libgui: \
22867 configure-libgui
22868 @: $(MAKE); $(unstage)
22869 @[ -f ./libgui/Makefile ] || exit 0; \
22870 r=`${PWD_COMMAND}`; export r; \
22871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22872 $(HOST_EXPORTS) \
22873 for flag in $(EXTRA_HOST_FLAGS) ; do \
22874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22875 done; \
22876 echo "Doing TAGS in libgui" ; \
22877 (cd $(HOST_SUBDIR)/libgui && \
22878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22880 "RANLIB=$${RANLIB}" \
22881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22882 TAGS) \
22883 || exit 1
22885 @endif libgui
22887 .PHONY: maybe-install-info-libgui install-info-libgui
22888 maybe-install-info-libgui:
22889 @if libgui
22890 maybe-install-info-libgui: install-info-libgui
22892 install-info-libgui: \
22893 configure-libgui \
22894 info-libgui
22895 @: $(MAKE); $(unstage)
22896 @[ -f ./libgui/Makefile ] || exit 0; \
22897 r=`${PWD_COMMAND}`; export r; \
22898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22899 $(HOST_EXPORTS) \
22900 for flag in $(EXTRA_HOST_FLAGS) ; do \
22901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22902 done; \
22903 echo "Doing install-info in libgui" ; \
22904 (cd $(HOST_SUBDIR)/libgui && \
22905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22907 "RANLIB=$${RANLIB}" \
22908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22909 install-info) \
22910 || exit 1
22912 @endif libgui
22914 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22915 maybe-install-pdf-libgui:
22916 @if libgui
22917 maybe-install-pdf-libgui: install-pdf-libgui
22919 install-pdf-libgui: \
22920 configure-libgui \
22921 pdf-libgui
22922 @: $(MAKE); $(unstage)
22923 @[ -f ./libgui/Makefile ] || exit 0; \
22924 r=`${PWD_COMMAND}`; export r; \
22925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 $(HOST_EXPORTS) \
22927 for flag in $(EXTRA_HOST_FLAGS) ; do \
22928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22929 done; \
22930 echo "Doing install-pdf in libgui" ; \
22931 (cd $(HOST_SUBDIR)/libgui && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22936 install-pdf) \
22937 || exit 1
22939 @endif libgui
22941 .PHONY: maybe-install-html-libgui install-html-libgui
22942 maybe-install-html-libgui:
22943 @if libgui
22944 maybe-install-html-libgui: install-html-libgui
22946 install-html-libgui: \
22947 configure-libgui \
22948 html-libgui
22949 @: $(MAKE); $(unstage)
22950 @[ -f ./libgui/Makefile ] || exit 0; \
22951 r=`${PWD_COMMAND}`; export r; \
22952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22953 $(HOST_EXPORTS) \
22954 for flag in $(EXTRA_HOST_FLAGS) ; do \
22955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22956 done; \
22957 echo "Doing install-html in libgui" ; \
22958 (cd $(HOST_SUBDIR)/libgui && \
22959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22961 "RANLIB=$${RANLIB}" \
22962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22963 install-html) \
22964 || exit 1
22966 @endif libgui
22968 .PHONY: maybe-installcheck-libgui installcheck-libgui
22969 maybe-installcheck-libgui:
22970 @if libgui
22971 maybe-installcheck-libgui: installcheck-libgui
22973 installcheck-libgui: \
22974 configure-libgui
22975 @: $(MAKE); $(unstage)
22976 @[ -f ./libgui/Makefile ] || exit 0; \
22977 r=`${PWD_COMMAND}`; export r; \
22978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22979 $(HOST_EXPORTS) \
22980 for flag in $(EXTRA_HOST_FLAGS) ; do \
22981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22982 done; \
22983 echo "Doing installcheck in libgui" ; \
22984 (cd $(HOST_SUBDIR)/libgui && \
22985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22987 "RANLIB=$${RANLIB}" \
22988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22989 installcheck) \
22990 || exit 1
22992 @endif libgui
22994 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22995 maybe-mostlyclean-libgui:
22996 @if libgui
22997 maybe-mostlyclean-libgui: mostlyclean-libgui
22999 mostlyclean-libgui:
23000 @: $(MAKE); $(unstage)
23001 @[ -f ./libgui/Makefile ] || exit 0; \
23002 r=`${PWD_COMMAND}`; export r; \
23003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23004 $(HOST_EXPORTS) \
23005 for flag in $(EXTRA_HOST_FLAGS) ; do \
23006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23007 done; \
23008 echo "Doing mostlyclean in libgui" ; \
23009 (cd $(HOST_SUBDIR)/libgui && \
23010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23012 "RANLIB=$${RANLIB}" \
23013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23014 mostlyclean) \
23015 || exit 1
23017 @endif libgui
23019 .PHONY: maybe-clean-libgui clean-libgui
23020 maybe-clean-libgui:
23021 @if libgui
23022 maybe-clean-libgui: clean-libgui
23024 clean-libgui:
23025 @: $(MAKE); $(unstage)
23026 @[ -f ./libgui/Makefile ] || exit 0; \
23027 r=`${PWD_COMMAND}`; export r; \
23028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 $(HOST_EXPORTS) \
23030 for flag in $(EXTRA_HOST_FLAGS) ; do \
23031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23032 done; \
23033 echo "Doing clean in libgui" ; \
23034 (cd $(HOST_SUBDIR)/libgui && \
23035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23037 "RANLIB=$${RANLIB}" \
23038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23039 clean) \
23040 || exit 1
23042 @endif libgui
23044 .PHONY: maybe-distclean-libgui distclean-libgui
23045 maybe-distclean-libgui:
23046 @if libgui
23047 maybe-distclean-libgui: distclean-libgui
23049 distclean-libgui:
23050 @: $(MAKE); $(unstage)
23051 @[ -f ./libgui/Makefile ] || exit 0; \
23052 r=`${PWD_COMMAND}`; export r; \
23053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23054 $(HOST_EXPORTS) \
23055 for flag in $(EXTRA_HOST_FLAGS) ; do \
23056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23057 done; \
23058 echo "Doing distclean in libgui" ; \
23059 (cd $(HOST_SUBDIR)/libgui && \
23060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23062 "RANLIB=$${RANLIB}" \
23063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23064 distclean) \
23065 || exit 1
23067 @endif libgui
23069 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
23070 maybe-maintainer-clean-libgui:
23071 @if libgui
23072 maybe-maintainer-clean-libgui: maintainer-clean-libgui
23074 maintainer-clean-libgui:
23075 @: $(MAKE); $(unstage)
23076 @[ -f ./libgui/Makefile ] || exit 0; \
23077 r=`${PWD_COMMAND}`; export r; \
23078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23079 $(HOST_EXPORTS) \
23080 for flag in $(EXTRA_HOST_FLAGS) ; do \
23081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23082 done; \
23083 echo "Doing maintainer-clean in libgui" ; \
23084 (cd $(HOST_SUBDIR)/libgui && \
23085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23087 "RANLIB=$${RANLIB}" \
23088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23089 maintainer-clean) \
23090 || exit 1
23092 @endif libgui
23096 .PHONY: configure-libiberty maybe-configure-libiberty
23097 maybe-configure-libiberty:
23098 @if gcc-bootstrap
23099 configure-libiberty: stage_current
23100 @endif gcc-bootstrap
23101 @if libiberty
23102 maybe-configure-libiberty: configure-libiberty
23103 configure-libiberty:
23104 @r=`${PWD_COMMAND}`; export r; \
23105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23106 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23108 $(HOST_EXPORTS) \
23109 echo Configuring in $(HOST_SUBDIR)/libiberty; \
23110 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
23111 case $(srcdir) in \
23112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23113 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23115 esac; \
23116 module_srcdir=libiberty; \
23117 $(SHELL) \
23118 $$s/$$module_srcdir/configure \
23119 --srcdir=$${topdir}/$$module_srcdir \
23120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23121 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
23122 || exit 1
23123 @endif libiberty
23127 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
23128 maybe-configure-stage1-libiberty:
23129 @if libiberty-bootstrap
23130 maybe-configure-stage1-libiberty: configure-stage1-libiberty
23131 configure-stage1-libiberty:
23132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23134 @r=`${PWD_COMMAND}`; export r; \
23135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23136 TFLAGS="$(STAGE1_TFLAGS)"; \
23137 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23138 $(HOST_EXPORTS) \
23139 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23140 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23141 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23142 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
23143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23144 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23145 case $(srcdir) in \
23146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23147 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23149 esac; \
23150 module_srcdir=libiberty; \
23151 $(SHELL) $$s/$$module_srcdir/configure \
23152 --srcdir=$${topdir}/$$module_srcdir \
23153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23154 --target=${target_alias} \
23156 $(STAGE1_CONFIGURE_FLAGS) \
23157 @extra_host_libiberty_configure_flags@
23158 @endif libiberty-bootstrap
23160 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
23161 maybe-configure-stage2-libiberty:
23162 @if libiberty-bootstrap
23163 maybe-configure-stage2-libiberty: configure-stage2-libiberty
23164 configure-stage2-libiberty:
23165 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23167 @r=`${PWD_COMMAND}`; export r; \
23168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23169 TFLAGS="$(STAGE2_TFLAGS)"; \
23170 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23171 $(HOST_EXPORTS) \
23172 $(POSTSTAGE1_HOST_EXPORTS) \
23173 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23174 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23175 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23176 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
23177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23178 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23179 case $(srcdir) in \
23180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23181 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23183 esac; \
23184 module_srcdir=libiberty; \
23185 $(SHELL) $$s/$$module_srcdir/configure \
23186 --srcdir=$${topdir}/$$module_srcdir \
23187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23188 --target=${target_alias} \
23189 --with-build-libsubdir=$(HOST_SUBDIR) \
23190 $(STAGE2_CONFIGURE_FLAGS) \
23191 @extra_host_libiberty_configure_flags@
23192 @endif libiberty-bootstrap
23194 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
23195 maybe-configure-stage3-libiberty:
23196 @if libiberty-bootstrap
23197 maybe-configure-stage3-libiberty: configure-stage3-libiberty
23198 configure-stage3-libiberty:
23199 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23200 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23201 @r=`${PWD_COMMAND}`; export r; \
23202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203 TFLAGS="$(STAGE3_TFLAGS)"; \
23204 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23205 $(HOST_EXPORTS) \
23206 $(POSTSTAGE1_HOST_EXPORTS) \
23207 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23208 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23209 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23210 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
23211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23212 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23213 case $(srcdir) in \
23214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23215 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23217 esac; \
23218 module_srcdir=libiberty; \
23219 $(SHELL) $$s/$$module_srcdir/configure \
23220 --srcdir=$${topdir}/$$module_srcdir \
23221 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23222 --target=${target_alias} \
23223 --with-build-libsubdir=$(HOST_SUBDIR) \
23224 $(STAGE3_CONFIGURE_FLAGS) \
23225 @extra_host_libiberty_configure_flags@
23226 @endif libiberty-bootstrap
23228 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
23229 maybe-configure-stage4-libiberty:
23230 @if libiberty-bootstrap
23231 maybe-configure-stage4-libiberty: configure-stage4-libiberty
23232 configure-stage4-libiberty:
23233 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23235 @r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 TFLAGS="$(STAGE4_TFLAGS)"; \
23238 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23239 $(HOST_EXPORTS) \
23240 $(POSTSTAGE1_HOST_EXPORTS) \
23241 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23242 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23243 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23244 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
23245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23246 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23247 case $(srcdir) in \
23248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23249 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23251 esac; \
23252 module_srcdir=libiberty; \
23253 $(SHELL) $$s/$$module_srcdir/configure \
23254 --srcdir=$${topdir}/$$module_srcdir \
23255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23256 --target=${target_alias} \
23257 --with-build-libsubdir=$(HOST_SUBDIR) \
23258 $(STAGE4_CONFIGURE_FLAGS) \
23259 @extra_host_libiberty_configure_flags@
23260 @endif libiberty-bootstrap
23262 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
23263 maybe-configure-stageprofile-libiberty:
23264 @if libiberty-bootstrap
23265 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
23266 configure-stageprofile-libiberty:
23267 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23268 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23269 @r=`${PWD_COMMAND}`; export r; \
23270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23271 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23272 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23273 $(HOST_EXPORTS) \
23274 $(POSTSTAGE1_HOST_EXPORTS) \
23275 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23276 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23277 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23278 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
23279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23280 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23281 case $(srcdir) in \
23282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23283 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23285 esac; \
23286 module_srcdir=libiberty; \
23287 $(SHELL) $$s/$$module_srcdir/configure \
23288 --srcdir=$${topdir}/$$module_srcdir \
23289 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23290 --target=${target_alias} \
23291 --with-build-libsubdir=$(HOST_SUBDIR) \
23292 $(STAGEprofile_CONFIGURE_FLAGS) \
23293 @extra_host_libiberty_configure_flags@
23294 @endif libiberty-bootstrap
23296 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
23297 maybe-configure-stagefeedback-libiberty:
23298 @if libiberty-bootstrap
23299 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
23300 configure-stagefeedback-libiberty:
23301 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23303 @r=`${PWD_COMMAND}`; export r; \
23304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23305 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23306 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23307 $(HOST_EXPORTS) \
23308 $(POSTSTAGE1_HOST_EXPORTS) \
23309 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23310 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23311 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23312 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
23313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23314 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23315 case $(srcdir) in \
23316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23317 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23319 esac; \
23320 module_srcdir=libiberty; \
23321 $(SHELL) $$s/$$module_srcdir/configure \
23322 --srcdir=$${topdir}/$$module_srcdir \
23323 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23324 --target=${target_alias} \
23325 --with-build-libsubdir=$(HOST_SUBDIR) \
23326 $(STAGEfeedback_CONFIGURE_FLAGS) \
23327 @extra_host_libiberty_configure_flags@
23328 @endif libiberty-bootstrap
23334 .PHONY: all-libiberty maybe-all-libiberty
23335 maybe-all-libiberty:
23336 @if gcc-bootstrap
23337 all-libiberty: stage_current
23338 @endif gcc-bootstrap
23339 @if libiberty
23340 TARGET-libiberty=all
23341 maybe-all-libiberty: all-libiberty
23342 all-libiberty: configure-libiberty
23343 @r=`${PWD_COMMAND}`; export r; \
23344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23345 $(HOST_EXPORTS) \
23346 (cd $(HOST_SUBDIR)/libiberty && \
23347 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23348 $(TARGET-libiberty))
23349 @endif libiberty
23353 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
23354 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
23355 maybe-all-stage1-libiberty:
23356 maybe-clean-stage1-libiberty:
23357 @if libiberty-bootstrap
23358 maybe-all-stage1-libiberty: all-stage1-libiberty
23359 all-stage1: all-stage1-libiberty
23360 TARGET-stage1-libiberty = $(TARGET-libiberty)
23361 all-stage1-libiberty: configure-stage1-libiberty
23362 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23363 @r=`${PWD_COMMAND}`; export r; \
23364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365 TFLAGS="$(STAGE1_TFLAGS)"; \
23366 $(HOST_EXPORTS) \
23367 cd $(HOST_SUBDIR)/libiberty && \
23368 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23369 CFLAGS="$(STAGE1_CFLAGS)" \
23370 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23371 LIBCFLAGS="$(LIBCFLAGS)" \
23372 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23373 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23374 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23375 $(EXTRA_HOST_FLAGS) \
23376 $(STAGE1_FLAGS_TO_PASS) \
23377 TFLAGS="$(STAGE1_TFLAGS)" \
23378 $(TARGET-stage1-libiberty)
23380 maybe-clean-stage1-libiberty: clean-stage1-libiberty
23381 clean-stage1: clean-stage1-libiberty
23382 clean-stage1-libiberty:
23383 @if [ $(current_stage) = stage1 ]; then \
23384 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23385 else \
23386 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
23387 $(MAKE) stage1-start; \
23388 fi; \
23389 cd $(HOST_SUBDIR)/libiberty && \
23390 $(MAKE) $(EXTRA_HOST_FLAGS) \
23391 $(STAGE1_FLAGS_TO_PASS) clean
23392 @endif libiberty-bootstrap
23395 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
23396 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
23397 maybe-all-stage2-libiberty:
23398 maybe-clean-stage2-libiberty:
23399 @if libiberty-bootstrap
23400 maybe-all-stage2-libiberty: all-stage2-libiberty
23401 all-stage2: all-stage2-libiberty
23402 TARGET-stage2-libiberty = $(TARGET-libiberty)
23403 all-stage2-libiberty: configure-stage2-libiberty
23404 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23405 @r=`${PWD_COMMAND}`; export r; \
23406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407 TFLAGS="$(STAGE2_TFLAGS)"; \
23408 $(HOST_EXPORTS) \
23409 $(POSTSTAGE1_HOST_EXPORTS) \
23410 cd $(HOST_SUBDIR)/libiberty && \
23411 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23412 CFLAGS="$(STAGE2_CFLAGS)" \
23413 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23414 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23418 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23419 TFLAGS="$(STAGE2_TFLAGS)" \
23420 $(TARGET-stage2-libiberty)
23422 maybe-clean-stage2-libiberty: clean-stage2-libiberty
23423 clean-stage2: clean-stage2-libiberty
23424 clean-stage2-libiberty:
23425 @if [ $(current_stage) = stage2 ]; then \
23426 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23427 else \
23428 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
23429 $(MAKE) stage2-start; \
23430 fi; \
23431 cd $(HOST_SUBDIR)/libiberty && \
23432 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23433 @endif libiberty-bootstrap
23436 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
23437 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
23438 maybe-all-stage3-libiberty:
23439 maybe-clean-stage3-libiberty:
23440 @if libiberty-bootstrap
23441 maybe-all-stage3-libiberty: all-stage3-libiberty
23442 all-stage3: all-stage3-libiberty
23443 TARGET-stage3-libiberty = $(TARGET-libiberty)
23444 all-stage3-libiberty: configure-stage3-libiberty
23445 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23446 @r=`${PWD_COMMAND}`; export r; \
23447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23448 TFLAGS="$(STAGE3_TFLAGS)"; \
23449 $(HOST_EXPORTS) \
23450 $(POSTSTAGE1_HOST_EXPORTS) \
23451 cd $(HOST_SUBDIR)/libiberty && \
23452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23453 CFLAGS="$(STAGE3_CFLAGS)" \
23454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23455 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23460 TFLAGS="$(STAGE3_TFLAGS)" \
23461 $(TARGET-stage3-libiberty)
23463 maybe-clean-stage3-libiberty: clean-stage3-libiberty
23464 clean-stage3: clean-stage3-libiberty
23465 clean-stage3-libiberty:
23466 @if [ $(current_stage) = stage3 ]; then \
23467 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23468 else \
23469 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
23470 $(MAKE) stage3-start; \
23471 fi; \
23472 cd $(HOST_SUBDIR)/libiberty && \
23473 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23474 @endif libiberty-bootstrap
23477 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
23478 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
23479 maybe-all-stage4-libiberty:
23480 maybe-clean-stage4-libiberty:
23481 @if libiberty-bootstrap
23482 maybe-all-stage4-libiberty: all-stage4-libiberty
23483 all-stage4: all-stage4-libiberty
23484 TARGET-stage4-libiberty = $(TARGET-libiberty)
23485 all-stage4-libiberty: configure-stage4-libiberty
23486 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23487 @r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 TFLAGS="$(STAGE4_TFLAGS)"; \
23490 $(HOST_EXPORTS) \
23491 $(POSTSTAGE1_HOST_EXPORTS) \
23492 cd $(HOST_SUBDIR)/libiberty && \
23493 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23494 CFLAGS="$(STAGE4_CFLAGS)" \
23495 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23496 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23497 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23498 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23499 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23500 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23501 TFLAGS="$(STAGE4_TFLAGS)" \
23502 $(TARGET-stage4-libiberty)
23504 maybe-clean-stage4-libiberty: clean-stage4-libiberty
23505 clean-stage4: clean-stage4-libiberty
23506 clean-stage4-libiberty:
23507 @if [ $(current_stage) = stage4 ]; then \
23508 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23509 else \
23510 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
23511 $(MAKE) stage4-start; \
23512 fi; \
23513 cd $(HOST_SUBDIR)/libiberty && \
23514 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23515 @endif libiberty-bootstrap
23518 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
23519 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
23520 maybe-all-stageprofile-libiberty:
23521 maybe-clean-stageprofile-libiberty:
23522 @if libiberty-bootstrap
23523 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23524 all-stageprofile: all-stageprofile-libiberty
23525 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23526 all-stageprofile-libiberty: configure-stageprofile-libiberty
23527 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23528 @r=`${PWD_COMMAND}`; export r; \
23529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23530 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23531 $(HOST_EXPORTS) \
23532 $(POSTSTAGE1_HOST_EXPORTS) \
23533 cd $(HOST_SUBDIR)/libiberty && \
23534 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23535 CFLAGS="$(STAGEprofile_CFLAGS)" \
23536 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23537 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23538 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23539 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23540 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23541 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23542 TFLAGS="$(STAGEprofile_TFLAGS)" \
23543 $(TARGET-stageprofile-libiberty)
23545 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23546 clean-stageprofile: clean-stageprofile-libiberty
23547 clean-stageprofile-libiberty:
23548 @if [ $(current_stage) = stageprofile ]; then \
23549 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23550 else \
23551 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23552 $(MAKE) stageprofile-start; \
23553 fi; \
23554 cd $(HOST_SUBDIR)/libiberty && \
23555 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23556 @endif libiberty-bootstrap
23559 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23560 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23561 maybe-all-stagefeedback-libiberty:
23562 maybe-clean-stagefeedback-libiberty:
23563 @if libiberty-bootstrap
23564 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23565 all-stagefeedback: all-stagefeedback-libiberty
23566 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23567 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23568 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23569 @r=`${PWD_COMMAND}`; export r; \
23570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23571 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23572 $(HOST_EXPORTS) \
23573 $(POSTSTAGE1_HOST_EXPORTS) \
23574 cd $(HOST_SUBDIR)/libiberty && \
23575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23576 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23577 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23578 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23582 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23583 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23584 $(TARGET-stagefeedback-libiberty)
23586 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23587 clean-stagefeedback: clean-stagefeedback-libiberty
23588 clean-stagefeedback-libiberty:
23589 @if [ $(current_stage) = stagefeedback ]; then \
23590 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23591 else \
23592 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23593 $(MAKE) stagefeedback-start; \
23594 fi; \
23595 cd $(HOST_SUBDIR)/libiberty && \
23596 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23597 @endif libiberty-bootstrap
23603 .PHONY: check-libiberty maybe-check-libiberty
23604 maybe-check-libiberty:
23605 @if libiberty
23606 maybe-check-libiberty: check-libiberty
23608 check-libiberty:
23609 @: $(MAKE); $(unstage)
23610 @r=`${PWD_COMMAND}`; export r; \
23611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23612 $(HOST_EXPORTS) \
23613 (cd $(HOST_SUBDIR)/libiberty && \
23614 $(MAKE) $(FLAGS_TO_PASS) check)
23616 @endif libiberty
23618 .PHONY: install-libiberty maybe-install-libiberty
23619 maybe-install-libiberty:
23620 @if libiberty
23621 maybe-install-libiberty: install-libiberty
23623 install-libiberty: installdirs
23624 @: $(MAKE); $(unstage)
23625 @r=`${PWD_COMMAND}`; export r; \
23626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23627 $(HOST_EXPORTS) \
23628 (cd $(HOST_SUBDIR)/libiberty && \
23629 $(MAKE) $(FLAGS_TO_PASS) install)
23631 @endif libiberty
23633 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23634 maybe-install-strip-libiberty:
23635 @if libiberty
23636 maybe-install-strip-libiberty: install-strip-libiberty
23638 install-strip-libiberty: installdirs
23639 @: $(MAKE); $(unstage)
23640 @r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(HOST_EXPORTS) \
23643 (cd $(HOST_SUBDIR)/libiberty && \
23644 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23646 @endif libiberty
23648 # Other targets (info, dvi, pdf, etc.)
23650 .PHONY: maybe-info-libiberty info-libiberty
23651 maybe-info-libiberty:
23652 @if libiberty
23653 maybe-info-libiberty: info-libiberty
23655 info-libiberty: \
23656 configure-libiberty
23657 @[ -f ./libiberty/Makefile ] || exit 0; \
23658 r=`${PWD_COMMAND}`; export r; \
23659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23660 $(HOST_EXPORTS) \
23661 for flag in $(EXTRA_HOST_FLAGS) ; do \
23662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23663 done; \
23664 echo "Doing info in libiberty" ; \
23665 (cd $(HOST_SUBDIR)/libiberty && \
23666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23668 "RANLIB=$${RANLIB}" \
23669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23670 info) \
23671 || exit 1
23673 @endif libiberty
23675 .PHONY: maybe-dvi-libiberty dvi-libiberty
23676 maybe-dvi-libiberty:
23677 @if libiberty
23678 maybe-dvi-libiberty: dvi-libiberty
23680 dvi-libiberty: \
23681 configure-libiberty
23682 @[ -f ./libiberty/Makefile ] || exit 0; \
23683 r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23685 $(HOST_EXPORTS) \
23686 for flag in $(EXTRA_HOST_FLAGS) ; do \
23687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23688 done; \
23689 echo "Doing dvi in libiberty" ; \
23690 (cd $(HOST_SUBDIR)/libiberty && \
23691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23693 "RANLIB=$${RANLIB}" \
23694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23695 dvi) \
23696 || exit 1
23698 @endif libiberty
23700 .PHONY: maybe-pdf-libiberty pdf-libiberty
23701 maybe-pdf-libiberty:
23702 @if libiberty
23703 maybe-pdf-libiberty: pdf-libiberty
23705 pdf-libiberty: \
23706 configure-libiberty
23707 @[ -f ./libiberty/Makefile ] || exit 0; \
23708 r=`${PWD_COMMAND}`; export r; \
23709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 $(HOST_EXPORTS) \
23711 for flag in $(EXTRA_HOST_FLAGS) ; do \
23712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23713 done; \
23714 echo "Doing pdf in libiberty" ; \
23715 (cd $(HOST_SUBDIR)/libiberty && \
23716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23718 "RANLIB=$${RANLIB}" \
23719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23720 pdf) \
23721 || exit 1
23723 @endif libiberty
23725 .PHONY: maybe-html-libiberty html-libiberty
23726 maybe-html-libiberty:
23727 @if libiberty
23728 maybe-html-libiberty: html-libiberty
23730 html-libiberty: \
23731 configure-libiberty
23732 @[ -f ./libiberty/Makefile ] || exit 0; \
23733 r=`${PWD_COMMAND}`; export r; \
23734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23735 $(HOST_EXPORTS) \
23736 for flag in $(EXTRA_HOST_FLAGS) ; do \
23737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23738 done; \
23739 echo "Doing html in libiberty" ; \
23740 (cd $(HOST_SUBDIR)/libiberty && \
23741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23743 "RANLIB=$${RANLIB}" \
23744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23745 html) \
23746 || exit 1
23748 @endif libiberty
23750 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23751 maybe-TAGS-libiberty:
23752 @if libiberty
23753 maybe-TAGS-libiberty: TAGS-libiberty
23755 TAGS-libiberty: \
23756 configure-libiberty
23757 @[ -f ./libiberty/Makefile ] || exit 0; \
23758 r=`${PWD_COMMAND}`; export r; \
23759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23760 $(HOST_EXPORTS) \
23761 for flag in $(EXTRA_HOST_FLAGS) ; do \
23762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23763 done; \
23764 echo "Doing TAGS in libiberty" ; \
23765 (cd $(HOST_SUBDIR)/libiberty && \
23766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23768 "RANLIB=$${RANLIB}" \
23769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23770 TAGS) \
23771 || exit 1
23773 @endif libiberty
23775 .PHONY: maybe-install-info-libiberty install-info-libiberty
23776 maybe-install-info-libiberty:
23777 @if libiberty
23778 maybe-install-info-libiberty: install-info-libiberty
23780 install-info-libiberty: \
23781 configure-libiberty \
23782 info-libiberty
23783 @[ -f ./libiberty/Makefile ] || exit 0; \
23784 r=`${PWD_COMMAND}`; export r; \
23785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23786 $(HOST_EXPORTS) \
23787 for flag in $(EXTRA_HOST_FLAGS) ; do \
23788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23789 done; \
23790 echo "Doing install-info in libiberty" ; \
23791 (cd $(HOST_SUBDIR)/libiberty && \
23792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23794 "RANLIB=$${RANLIB}" \
23795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23796 install-info) \
23797 || exit 1
23799 @endif libiberty
23801 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23802 maybe-install-pdf-libiberty:
23803 @if libiberty
23804 maybe-install-pdf-libiberty: install-pdf-libiberty
23806 install-pdf-libiberty: \
23807 configure-libiberty \
23808 pdf-libiberty
23809 @[ -f ./libiberty/Makefile ] || exit 0; \
23810 r=`${PWD_COMMAND}`; export r; \
23811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23812 $(HOST_EXPORTS) \
23813 for flag in $(EXTRA_HOST_FLAGS) ; do \
23814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23815 done; \
23816 echo "Doing install-pdf in libiberty" ; \
23817 (cd $(HOST_SUBDIR)/libiberty && \
23818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23820 "RANLIB=$${RANLIB}" \
23821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23822 install-pdf) \
23823 || exit 1
23825 @endif libiberty
23827 .PHONY: maybe-install-html-libiberty install-html-libiberty
23828 maybe-install-html-libiberty:
23829 @if libiberty
23830 maybe-install-html-libiberty: install-html-libiberty
23832 install-html-libiberty: \
23833 configure-libiberty \
23834 html-libiberty
23835 @[ -f ./libiberty/Makefile ] || exit 0; \
23836 r=`${PWD_COMMAND}`; export r; \
23837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23838 $(HOST_EXPORTS) \
23839 for flag in $(EXTRA_HOST_FLAGS) ; do \
23840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23841 done; \
23842 echo "Doing install-html in libiberty" ; \
23843 (cd $(HOST_SUBDIR)/libiberty && \
23844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23846 "RANLIB=$${RANLIB}" \
23847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23848 install-html) \
23849 || exit 1
23851 @endif libiberty
23853 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23854 maybe-installcheck-libiberty:
23855 @if libiberty
23856 maybe-installcheck-libiberty: installcheck-libiberty
23858 installcheck-libiberty: \
23859 configure-libiberty
23860 @[ -f ./libiberty/Makefile ] || exit 0; \
23861 r=`${PWD_COMMAND}`; export r; \
23862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23863 $(HOST_EXPORTS) \
23864 for flag in $(EXTRA_HOST_FLAGS) ; do \
23865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23866 done; \
23867 echo "Doing installcheck in libiberty" ; \
23868 (cd $(HOST_SUBDIR)/libiberty && \
23869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23871 "RANLIB=$${RANLIB}" \
23872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23873 installcheck) \
23874 || exit 1
23876 @endif libiberty
23878 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23879 maybe-mostlyclean-libiberty:
23880 @if libiberty
23881 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23883 mostlyclean-libiberty:
23884 @[ -f ./libiberty/Makefile ] || exit 0; \
23885 r=`${PWD_COMMAND}`; export r; \
23886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23887 $(HOST_EXPORTS) \
23888 for flag in $(EXTRA_HOST_FLAGS) ; do \
23889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23890 done; \
23891 echo "Doing mostlyclean in libiberty" ; \
23892 (cd $(HOST_SUBDIR)/libiberty && \
23893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23895 "RANLIB=$${RANLIB}" \
23896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23897 mostlyclean) \
23898 || exit 1
23900 @endif libiberty
23902 .PHONY: maybe-clean-libiberty clean-libiberty
23903 maybe-clean-libiberty:
23904 @if libiberty
23905 maybe-clean-libiberty: clean-libiberty
23907 clean-libiberty:
23908 @[ -f ./libiberty/Makefile ] || exit 0; \
23909 r=`${PWD_COMMAND}`; export r; \
23910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23911 $(HOST_EXPORTS) \
23912 for flag in $(EXTRA_HOST_FLAGS) ; do \
23913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23914 done; \
23915 echo "Doing clean in libiberty" ; \
23916 (cd $(HOST_SUBDIR)/libiberty && \
23917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23919 "RANLIB=$${RANLIB}" \
23920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23921 clean) \
23922 || exit 1
23924 @endif libiberty
23926 .PHONY: maybe-distclean-libiberty distclean-libiberty
23927 maybe-distclean-libiberty:
23928 @if libiberty
23929 maybe-distclean-libiberty: distclean-libiberty
23931 distclean-libiberty:
23932 @[ -f ./libiberty/Makefile ] || exit 0; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935 $(HOST_EXPORTS) \
23936 for flag in $(EXTRA_HOST_FLAGS) ; do \
23937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23938 done; \
23939 echo "Doing distclean in libiberty" ; \
23940 (cd $(HOST_SUBDIR)/libiberty && \
23941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943 "RANLIB=$${RANLIB}" \
23944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23945 distclean) \
23946 || exit 1
23948 @endif libiberty
23950 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23951 maybe-maintainer-clean-libiberty:
23952 @if libiberty
23953 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23955 maintainer-clean-libiberty:
23956 @[ -f ./libiberty/Makefile ] || exit 0; \
23957 r=`${PWD_COMMAND}`; export r; \
23958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23959 $(HOST_EXPORTS) \
23960 for flag in $(EXTRA_HOST_FLAGS) ; do \
23961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23962 done; \
23963 echo "Doing maintainer-clean in libiberty" ; \
23964 (cd $(HOST_SUBDIR)/libiberty && \
23965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23967 "RANLIB=$${RANLIB}" \
23968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23969 maintainer-clean) \
23970 || exit 1
23972 @endif libiberty
23976 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23977 maybe-configure-libiberty-linker-plugin:
23978 @if gcc-bootstrap
23979 configure-libiberty-linker-plugin: stage_current
23980 @endif gcc-bootstrap
23981 @if libiberty-linker-plugin
23982 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23983 configure-libiberty-linker-plugin:
23984 @r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23988 $(HOST_EXPORTS) \
23989 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23990 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23991 case $(srcdir) in \
23992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23993 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23995 esac; \
23996 module_srcdir=libiberty; \
23997 $(SHELL) \
23998 $$s/$$module_srcdir/configure \
23999 --srcdir=$${topdir}/$$module_srcdir \
24000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24001 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
24002 || exit 1
24003 @endif libiberty-linker-plugin
24007 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
24008 maybe-configure-stage1-libiberty-linker-plugin:
24009 @if libiberty-linker-plugin-bootstrap
24010 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
24011 configure-stage1-libiberty-linker-plugin:
24012 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24014 @r=`${PWD_COMMAND}`; export r; \
24015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24016 TFLAGS="$(STAGE1_TFLAGS)"; \
24017 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24018 $(HOST_EXPORTS) \
24019 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24020 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24021 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24022 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24024 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24025 case $(srcdir) in \
24026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24027 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24029 esac; \
24030 module_srcdir=libiberty; \
24031 $(SHELL) $$s/$$module_srcdir/configure \
24032 --srcdir=$${topdir}/$$module_srcdir \
24033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24034 --target=${target_alias} \
24036 $(STAGE1_CONFIGURE_FLAGS) \
24037 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24038 @endif libiberty-linker-plugin-bootstrap
24040 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
24041 maybe-configure-stage2-libiberty-linker-plugin:
24042 @if libiberty-linker-plugin-bootstrap
24043 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
24044 configure-stage2-libiberty-linker-plugin:
24045 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24047 @r=`${PWD_COMMAND}`; export r; \
24048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24049 TFLAGS="$(STAGE2_TFLAGS)"; \
24050 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24051 $(HOST_EXPORTS) \
24052 $(POSTSTAGE1_HOST_EXPORTS) \
24053 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24054 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24055 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24056 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24058 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24059 case $(srcdir) in \
24060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24061 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24063 esac; \
24064 module_srcdir=libiberty; \
24065 $(SHELL) $$s/$$module_srcdir/configure \
24066 --srcdir=$${topdir}/$$module_srcdir \
24067 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24068 --target=${target_alias} \
24069 --with-build-libsubdir=$(HOST_SUBDIR) \
24070 $(STAGE2_CONFIGURE_FLAGS) \
24071 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24072 @endif libiberty-linker-plugin-bootstrap
24074 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
24075 maybe-configure-stage3-libiberty-linker-plugin:
24076 @if libiberty-linker-plugin-bootstrap
24077 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
24078 configure-stage3-libiberty-linker-plugin:
24079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24081 @r=`${PWD_COMMAND}`; export r; \
24082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24083 TFLAGS="$(STAGE3_TFLAGS)"; \
24084 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24085 $(HOST_EXPORTS) \
24086 $(POSTSTAGE1_HOST_EXPORTS) \
24087 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24088 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24089 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24090 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24092 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24093 case $(srcdir) in \
24094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24095 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24097 esac; \
24098 module_srcdir=libiberty; \
24099 $(SHELL) $$s/$$module_srcdir/configure \
24100 --srcdir=$${topdir}/$$module_srcdir \
24101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24102 --target=${target_alias} \
24103 --with-build-libsubdir=$(HOST_SUBDIR) \
24104 $(STAGE3_CONFIGURE_FLAGS) \
24105 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24106 @endif libiberty-linker-plugin-bootstrap
24108 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
24109 maybe-configure-stage4-libiberty-linker-plugin:
24110 @if libiberty-linker-plugin-bootstrap
24111 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
24112 configure-stage4-libiberty-linker-plugin:
24113 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24115 @r=`${PWD_COMMAND}`; export r; \
24116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24117 TFLAGS="$(STAGE4_TFLAGS)"; \
24118 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24119 $(HOST_EXPORTS) \
24120 $(POSTSTAGE1_HOST_EXPORTS) \
24121 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24122 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24123 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24124 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24126 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24127 case $(srcdir) in \
24128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24129 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24131 esac; \
24132 module_srcdir=libiberty; \
24133 $(SHELL) $$s/$$module_srcdir/configure \
24134 --srcdir=$${topdir}/$$module_srcdir \
24135 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24136 --target=${target_alias} \
24137 --with-build-libsubdir=$(HOST_SUBDIR) \
24138 $(STAGE4_CONFIGURE_FLAGS) \
24139 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24140 @endif libiberty-linker-plugin-bootstrap
24142 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
24143 maybe-configure-stageprofile-libiberty-linker-plugin:
24144 @if libiberty-linker-plugin-bootstrap
24145 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
24146 configure-stageprofile-libiberty-linker-plugin:
24147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24149 @r=`${PWD_COMMAND}`; export r; \
24150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24151 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24152 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24153 $(HOST_EXPORTS) \
24154 $(POSTSTAGE1_HOST_EXPORTS) \
24155 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24157 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24158 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24160 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24161 case $(srcdir) in \
24162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24163 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24165 esac; \
24166 module_srcdir=libiberty; \
24167 $(SHELL) $$s/$$module_srcdir/configure \
24168 --srcdir=$${topdir}/$$module_srcdir \
24169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24170 --target=${target_alias} \
24171 --with-build-libsubdir=$(HOST_SUBDIR) \
24172 $(STAGEprofile_CONFIGURE_FLAGS) \
24173 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24174 @endif libiberty-linker-plugin-bootstrap
24176 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
24177 maybe-configure-stagefeedback-libiberty-linker-plugin:
24178 @if libiberty-linker-plugin-bootstrap
24179 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
24180 configure-stagefeedback-libiberty-linker-plugin:
24181 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24183 @r=`${PWD_COMMAND}`; export r; \
24184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24185 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24186 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24187 $(HOST_EXPORTS) \
24188 $(POSTSTAGE1_HOST_EXPORTS) \
24189 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24190 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24191 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24192 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24194 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24195 case $(srcdir) in \
24196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24197 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24199 esac; \
24200 module_srcdir=libiberty; \
24201 $(SHELL) $$s/$$module_srcdir/configure \
24202 --srcdir=$${topdir}/$$module_srcdir \
24203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24204 --target=${target_alias} \
24205 --with-build-libsubdir=$(HOST_SUBDIR) \
24206 $(STAGEfeedback_CONFIGURE_FLAGS) \
24207 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24208 @endif libiberty-linker-plugin-bootstrap
24214 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
24215 maybe-all-libiberty-linker-plugin:
24216 @if gcc-bootstrap
24217 all-libiberty-linker-plugin: stage_current
24218 @endif gcc-bootstrap
24219 @if libiberty-linker-plugin
24220 TARGET-libiberty-linker-plugin=all
24221 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
24222 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
24223 @r=`${PWD_COMMAND}`; export r; \
24224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24225 $(HOST_EXPORTS) \
24226 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24227 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24228 $(TARGET-libiberty-linker-plugin))
24229 @endif libiberty-linker-plugin
24233 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
24234 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
24235 maybe-all-stage1-libiberty-linker-plugin:
24236 maybe-clean-stage1-libiberty-linker-plugin:
24237 @if libiberty-linker-plugin-bootstrap
24238 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
24239 all-stage1: all-stage1-libiberty-linker-plugin
24240 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24241 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
24242 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24243 @r=`${PWD_COMMAND}`; export r; \
24244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24245 TFLAGS="$(STAGE1_TFLAGS)"; \
24246 $(HOST_EXPORTS) \
24247 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24249 CFLAGS="$(STAGE1_CFLAGS)" \
24250 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24251 LIBCFLAGS="$(LIBCFLAGS)" \
24252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24255 $(EXTRA_HOST_FLAGS) \
24256 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24257 TFLAGS="$(STAGE1_TFLAGS)" \
24258 $(TARGET-stage1-libiberty-linker-plugin)
24260 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
24261 clean-stage1: clean-stage1-libiberty-linker-plugin
24262 clean-stage1-libiberty-linker-plugin:
24263 @if [ $(current_stage) = stage1 ]; then \
24264 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24265 else \
24266 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
24267 $(MAKE) stage1-start; \
24268 fi; \
24269 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24270 $(MAKE) $(EXTRA_HOST_FLAGS) \
24271 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24272 @endif libiberty-linker-plugin-bootstrap
24275 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
24276 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
24277 maybe-all-stage2-libiberty-linker-plugin:
24278 maybe-clean-stage2-libiberty-linker-plugin:
24279 @if libiberty-linker-plugin-bootstrap
24280 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
24281 all-stage2: all-stage2-libiberty-linker-plugin
24282 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24283 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
24284 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24285 @r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 TFLAGS="$(STAGE2_TFLAGS)"; \
24288 $(HOST_EXPORTS) \
24289 $(POSTSTAGE1_HOST_EXPORTS) \
24290 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24292 CFLAGS="$(STAGE2_CFLAGS)" \
24293 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24294 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24299 TFLAGS="$(STAGE2_TFLAGS)" \
24300 $(TARGET-stage2-libiberty-linker-plugin)
24302 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
24303 clean-stage2: clean-stage2-libiberty-linker-plugin
24304 clean-stage2-libiberty-linker-plugin:
24305 @if [ $(current_stage) = stage2 ]; then \
24306 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24307 else \
24308 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
24309 $(MAKE) stage2-start; \
24310 fi; \
24311 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24313 @endif libiberty-linker-plugin-bootstrap
24316 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
24317 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
24318 maybe-all-stage3-libiberty-linker-plugin:
24319 maybe-clean-stage3-libiberty-linker-plugin:
24320 @if libiberty-linker-plugin-bootstrap
24321 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
24322 all-stage3: all-stage3-libiberty-linker-plugin
24323 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24324 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
24325 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24326 @r=`${PWD_COMMAND}`; export r; \
24327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24328 TFLAGS="$(STAGE3_TFLAGS)"; \
24329 $(HOST_EXPORTS) \
24330 $(POSTSTAGE1_HOST_EXPORTS) \
24331 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24333 CFLAGS="$(STAGE3_CFLAGS)" \
24334 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24335 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24340 TFLAGS="$(STAGE3_TFLAGS)" \
24341 $(TARGET-stage3-libiberty-linker-plugin)
24343 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
24344 clean-stage3: clean-stage3-libiberty-linker-plugin
24345 clean-stage3-libiberty-linker-plugin:
24346 @if [ $(current_stage) = stage3 ]; then \
24347 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24348 else \
24349 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
24350 $(MAKE) stage3-start; \
24351 fi; \
24352 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24354 @endif libiberty-linker-plugin-bootstrap
24357 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
24358 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
24359 maybe-all-stage4-libiberty-linker-plugin:
24360 maybe-clean-stage4-libiberty-linker-plugin:
24361 @if libiberty-linker-plugin-bootstrap
24362 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
24363 all-stage4: all-stage4-libiberty-linker-plugin
24364 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24365 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
24366 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24367 @r=`${PWD_COMMAND}`; export r; \
24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24369 TFLAGS="$(STAGE4_TFLAGS)"; \
24370 $(HOST_EXPORTS) \
24371 $(POSTSTAGE1_HOST_EXPORTS) \
24372 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24374 CFLAGS="$(STAGE4_CFLAGS)" \
24375 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24376 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24381 TFLAGS="$(STAGE4_TFLAGS)" \
24382 $(TARGET-stage4-libiberty-linker-plugin)
24384 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
24385 clean-stage4: clean-stage4-libiberty-linker-plugin
24386 clean-stage4-libiberty-linker-plugin:
24387 @if [ $(current_stage) = stage4 ]; then \
24388 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24389 else \
24390 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
24391 $(MAKE) stage4-start; \
24392 fi; \
24393 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24394 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24395 @endif libiberty-linker-plugin-bootstrap
24398 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
24399 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
24400 maybe-all-stageprofile-libiberty-linker-plugin:
24401 maybe-clean-stageprofile-libiberty-linker-plugin:
24402 @if libiberty-linker-plugin-bootstrap
24403 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
24404 all-stageprofile: all-stageprofile-libiberty-linker-plugin
24405 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24406 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
24407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24408 @r=`${PWD_COMMAND}`; export r; \
24409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24411 $(HOST_EXPORTS) \
24412 $(POSTSTAGE1_HOST_EXPORTS) \
24413 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24415 CFLAGS="$(STAGEprofile_CFLAGS)" \
24416 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24417 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24422 TFLAGS="$(STAGEprofile_TFLAGS)" \
24423 $(TARGET-stageprofile-libiberty-linker-plugin)
24425 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
24426 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
24427 clean-stageprofile-libiberty-linker-plugin:
24428 @if [ $(current_stage) = stageprofile ]; then \
24429 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24430 else \
24431 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
24432 $(MAKE) stageprofile-start; \
24433 fi; \
24434 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24436 @endif libiberty-linker-plugin-bootstrap
24439 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
24440 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
24441 maybe-all-stagefeedback-libiberty-linker-plugin:
24442 maybe-clean-stagefeedback-libiberty-linker-plugin:
24443 @if libiberty-linker-plugin-bootstrap
24444 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
24445 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
24446 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24447 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
24448 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24449 @r=`${PWD_COMMAND}`; export r; \
24450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24451 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24452 $(HOST_EXPORTS) \
24453 $(POSTSTAGE1_HOST_EXPORTS) \
24454 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24456 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24457 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24458 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24463 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24464 $(TARGET-stagefeedback-libiberty-linker-plugin)
24466 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
24467 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
24468 clean-stagefeedback-libiberty-linker-plugin:
24469 @if [ $(current_stage) = stagefeedback ]; then \
24470 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24471 else \
24472 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
24473 $(MAKE) stagefeedback-start; \
24474 fi; \
24475 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24477 @endif libiberty-linker-plugin-bootstrap
24483 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
24484 maybe-check-libiberty-linker-plugin:
24485 @if libiberty-linker-plugin
24486 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
24488 check-libiberty-linker-plugin:
24489 @: $(MAKE); $(unstage)
24490 @r=`${PWD_COMMAND}`; export r; \
24491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24492 $(HOST_EXPORTS) \
24493 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24494 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
24496 @endif libiberty-linker-plugin
24498 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
24499 maybe-install-libiberty-linker-plugin:
24500 @if libiberty-linker-plugin
24501 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
24503 install-libiberty-linker-plugin: installdirs
24504 @: $(MAKE); $(unstage)
24505 @r=`${PWD_COMMAND}`; export r; \
24506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24507 $(HOST_EXPORTS) \
24508 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24509 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
24511 @endif libiberty-linker-plugin
24513 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
24514 maybe-install-strip-libiberty-linker-plugin:
24515 @if libiberty-linker-plugin
24516 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
24518 install-strip-libiberty-linker-plugin: installdirs
24519 @: $(MAKE); $(unstage)
24520 @r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 $(HOST_EXPORTS) \
24523 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24524 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
24526 @endif libiberty-linker-plugin
24528 # Other targets (info, dvi, pdf, etc.)
24530 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
24531 maybe-info-libiberty-linker-plugin:
24532 @if libiberty-linker-plugin
24533 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
24535 info-libiberty-linker-plugin: \
24536 configure-libiberty-linker-plugin
24537 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24538 r=`${PWD_COMMAND}`; export r; \
24539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24540 $(HOST_EXPORTS) \
24541 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24543 done; \
24544 echo "Doing info in libiberty-linker-plugin" ; \
24545 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24548 "RANLIB=$${RANLIB}" \
24549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24550 info) \
24551 || exit 1
24553 @endif libiberty-linker-plugin
24555 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
24556 maybe-dvi-libiberty-linker-plugin:
24557 @if libiberty-linker-plugin
24558 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
24560 dvi-libiberty-linker-plugin: \
24561 configure-libiberty-linker-plugin
24562 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24563 r=`${PWD_COMMAND}`; export r; \
24564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24565 $(HOST_EXPORTS) \
24566 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24568 done; \
24569 echo "Doing dvi in libiberty-linker-plugin" ; \
24570 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24573 "RANLIB=$${RANLIB}" \
24574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24575 dvi) \
24576 || exit 1
24578 @endif libiberty-linker-plugin
24580 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
24581 maybe-pdf-libiberty-linker-plugin:
24582 @if libiberty-linker-plugin
24583 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
24585 pdf-libiberty-linker-plugin: \
24586 configure-libiberty-linker-plugin
24587 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24588 r=`${PWD_COMMAND}`; export r; \
24589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24590 $(HOST_EXPORTS) \
24591 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24593 done; \
24594 echo "Doing pdf in libiberty-linker-plugin" ; \
24595 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24598 "RANLIB=$${RANLIB}" \
24599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24600 pdf) \
24601 || exit 1
24603 @endif libiberty-linker-plugin
24605 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
24606 maybe-html-libiberty-linker-plugin:
24607 @if libiberty-linker-plugin
24608 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
24610 html-libiberty-linker-plugin: \
24611 configure-libiberty-linker-plugin
24612 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24613 r=`${PWD_COMMAND}`; export r; \
24614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24615 $(HOST_EXPORTS) \
24616 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24618 done; \
24619 echo "Doing html in libiberty-linker-plugin" ; \
24620 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24623 "RANLIB=$${RANLIB}" \
24624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24625 html) \
24626 || exit 1
24628 @endif libiberty-linker-plugin
24630 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
24631 maybe-TAGS-libiberty-linker-plugin:
24632 @if libiberty-linker-plugin
24633 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
24635 TAGS-libiberty-linker-plugin: \
24636 configure-libiberty-linker-plugin
24637 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24638 r=`${PWD_COMMAND}`; export r; \
24639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24640 $(HOST_EXPORTS) \
24641 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24643 done; \
24644 echo "Doing TAGS in libiberty-linker-plugin" ; \
24645 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24648 "RANLIB=$${RANLIB}" \
24649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24650 TAGS) \
24651 || exit 1
24653 @endif libiberty-linker-plugin
24655 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
24656 maybe-install-info-libiberty-linker-plugin:
24657 @if libiberty-linker-plugin
24658 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
24660 install-info-libiberty-linker-plugin: \
24661 configure-libiberty-linker-plugin \
24662 info-libiberty-linker-plugin
24663 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24664 r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(HOST_EXPORTS) \
24667 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24669 done; \
24670 echo "Doing install-info in libiberty-linker-plugin" ; \
24671 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24674 "RANLIB=$${RANLIB}" \
24675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24676 install-info) \
24677 || exit 1
24679 @endif libiberty-linker-plugin
24681 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
24682 maybe-install-pdf-libiberty-linker-plugin:
24683 @if libiberty-linker-plugin
24684 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
24686 install-pdf-libiberty-linker-plugin: \
24687 configure-libiberty-linker-plugin \
24688 pdf-libiberty-linker-plugin
24689 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24690 r=`${PWD_COMMAND}`; export r; \
24691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24692 $(HOST_EXPORTS) \
24693 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24695 done; \
24696 echo "Doing install-pdf in libiberty-linker-plugin" ; \
24697 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24700 "RANLIB=$${RANLIB}" \
24701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24702 install-pdf) \
24703 || exit 1
24705 @endif libiberty-linker-plugin
24707 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
24708 maybe-install-html-libiberty-linker-plugin:
24709 @if libiberty-linker-plugin
24710 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
24712 install-html-libiberty-linker-plugin: \
24713 configure-libiberty-linker-plugin \
24714 html-libiberty-linker-plugin
24715 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24716 r=`${PWD_COMMAND}`; export r; \
24717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24718 $(HOST_EXPORTS) \
24719 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24721 done; \
24722 echo "Doing install-html in libiberty-linker-plugin" ; \
24723 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24726 "RANLIB=$${RANLIB}" \
24727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24728 install-html) \
24729 || exit 1
24731 @endif libiberty-linker-plugin
24733 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
24734 maybe-installcheck-libiberty-linker-plugin:
24735 @if libiberty-linker-plugin
24736 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
24738 installcheck-libiberty-linker-plugin: \
24739 configure-libiberty-linker-plugin
24740 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24741 r=`${PWD_COMMAND}`; export r; \
24742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24743 $(HOST_EXPORTS) \
24744 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24746 done; \
24747 echo "Doing installcheck in libiberty-linker-plugin" ; \
24748 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24751 "RANLIB=$${RANLIB}" \
24752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24753 installcheck) \
24754 || exit 1
24756 @endif libiberty-linker-plugin
24758 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
24759 maybe-mostlyclean-libiberty-linker-plugin:
24760 @if libiberty-linker-plugin
24761 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
24763 mostlyclean-libiberty-linker-plugin:
24764 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24765 r=`${PWD_COMMAND}`; export r; \
24766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24767 $(HOST_EXPORTS) \
24768 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24770 done; \
24771 echo "Doing mostlyclean in libiberty-linker-plugin" ; \
24772 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24775 "RANLIB=$${RANLIB}" \
24776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24777 mostlyclean) \
24778 || exit 1
24780 @endif libiberty-linker-plugin
24782 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
24783 maybe-clean-libiberty-linker-plugin:
24784 @if libiberty-linker-plugin
24785 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24787 clean-libiberty-linker-plugin:
24788 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24789 r=`${PWD_COMMAND}`; export r; \
24790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24791 $(HOST_EXPORTS) \
24792 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24794 done; \
24795 echo "Doing clean in libiberty-linker-plugin" ; \
24796 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24799 "RANLIB=$${RANLIB}" \
24800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24801 clean) \
24802 || exit 1
24804 @endif libiberty-linker-plugin
24806 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24807 maybe-distclean-libiberty-linker-plugin:
24808 @if libiberty-linker-plugin
24809 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24811 distclean-libiberty-linker-plugin:
24812 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24813 r=`${PWD_COMMAND}`; export r; \
24814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24815 $(HOST_EXPORTS) \
24816 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24818 done; \
24819 echo "Doing distclean in libiberty-linker-plugin" ; \
24820 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24823 "RANLIB=$${RANLIB}" \
24824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24825 distclean) \
24826 || exit 1
24828 @endif libiberty-linker-plugin
24830 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24831 maybe-maintainer-clean-libiberty-linker-plugin:
24832 @if libiberty-linker-plugin
24833 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24835 maintainer-clean-libiberty-linker-plugin:
24836 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24837 r=`${PWD_COMMAND}`; export r; \
24838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24839 $(HOST_EXPORTS) \
24840 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24842 done; \
24843 echo "Doing maintainer-clean in libiberty-linker-plugin" ; \
24844 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24847 "RANLIB=$${RANLIB}" \
24848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24849 maintainer-clean) \
24850 || exit 1
24852 @endif libiberty-linker-plugin
24856 .PHONY: configure-libiconv maybe-configure-libiconv
24857 maybe-configure-libiconv:
24858 @if gcc-bootstrap
24859 configure-libiconv: stage_current
24860 @endif gcc-bootstrap
24861 @if libiconv
24862 maybe-configure-libiconv: configure-libiconv
24863 configure-libiconv:
24864 @: $(MAKE); $(unstage)
24865 @r=`${PWD_COMMAND}`; export r; \
24866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24867 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
24869 $(HOST_EXPORTS) \
24870 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24871 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24872 case $(srcdir) in \
24873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24874 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24876 esac; \
24877 module_srcdir=libiconv; \
24878 $(SHELL) \
24879 $$s/$$module_srcdir/configure \
24880 --srcdir=$${topdir}/$$module_srcdir \
24881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24882 --target=${target_alias} --disable-shared \
24883 || exit 1
24884 @endif libiconv
24890 .PHONY: all-libiconv maybe-all-libiconv
24891 maybe-all-libiconv:
24892 @if gcc-bootstrap
24893 all-libiconv: stage_current
24894 @endif gcc-bootstrap
24895 @if libiconv
24896 TARGET-libiconv=all
24897 maybe-all-libiconv: all-libiconv
24898 all-libiconv: configure-libiconv
24899 @: $(MAKE); $(unstage)
24900 @r=`${PWD_COMMAND}`; export r; \
24901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24902 $(HOST_EXPORTS) \
24903 (cd $(HOST_SUBDIR)/libiconv && \
24904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24905 $(TARGET-libiconv))
24906 @endif libiconv
24911 .PHONY: check-libiconv maybe-check-libiconv
24912 maybe-check-libiconv:
24913 @if libiconv
24914 maybe-check-libiconv: check-libiconv
24916 check-libiconv:
24917 @: $(MAKE); $(unstage)
24918 @r=`${PWD_COMMAND}`; export r; \
24919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24920 $(HOST_EXPORTS) \
24921 (cd $(HOST_SUBDIR)/libiconv && \
24922 $(MAKE) $(FLAGS_TO_PASS) check)
24924 @endif libiconv
24926 .PHONY: install-libiconv maybe-install-libiconv
24927 maybe-install-libiconv:
24928 @if libiconv
24929 maybe-install-libiconv: install-libiconv
24931 install-libiconv:
24933 @endif libiconv
24935 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24936 maybe-install-strip-libiconv:
24937 @if libiconv
24938 maybe-install-strip-libiconv: install-strip-libiconv
24940 install-strip-libiconv:
24942 @endif libiconv
24944 # Other targets (info, dvi, pdf, etc.)
24946 .PHONY: maybe-info-libiconv info-libiconv
24947 maybe-info-libiconv:
24948 @if libiconv
24949 maybe-info-libiconv: info-libiconv
24951 info-libiconv: \
24952 configure-libiconv
24953 @: $(MAKE); $(unstage)
24954 @[ -f ./libiconv/Makefile ] || exit 0; \
24955 r=`${PWD_COMMAND}`; export r; \
24956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24957 $(HOST_EXPORTS) \
24958 for flag in $(EXTRA_HOST_FLAGS) ; do \
24959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24960 done; \
24961 echo "Doing info in libiconv" ; \
24962 (cd $(HOST_SUBDIR)/libiconv && \
24963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24965 "RANLIB=$${RANLIB}" \
24966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24967 info) \
24968 || exit 1
24970 @endif libiconv
24972 .PHONY: maybe-dvi-libiconv dvi-libiconv
24973 maybe-dvi-libiconv:
24974 @if libiconv
24975 maybe-dvi-libiconv: dvi-libiconv
24977 dvi-libiconv: \
24978 configure-libiconv
24979 @: $(MAKE); $(unstage)
24980 @[ -f ./libiconv/Makefile ] || exit 0; \
24981 r=`${PWD_COMMAND}`; export r; \
24982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24983 $(HOST_EXPORTS) \
24984 for flag in $(EXTRA_HOST_FLAGS) ; do \
24985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24986 done; \
24987 echo "Doing dvi in libiconv" ; \
24988 (cd $(HOST_SUBDIR)/libiconv && \
24989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24991 "RANLIB=$${RANLIB}" \
24992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24993 dvi) \
24994 || exit 1
24996 @endif libiconv
24998 .PHONY: maybe-pdf-libiconv pdf-libiconv
24999 maybe-pdf-libiconv:
25000 @if libiconv
25001 maybe-pdf-libiconv: pdf-libiconv
25003 pdf-libiconv: \
25004 configure-libiconv
25005 @: $(MAKE); $(unstage)
25006 @[ -f ./libiconv/Makefile ] || exit 0; \
25007 r=`${PWD_COMMAND}`; export r; \
25008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25009 $(HOST_EXPORTS) \
25010 for flag in $(EXTRA_HOST_FLAGS) ; do \
25011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25012 done; \
25013 echo "Doing pdf in libiconv" ; \
25014 (cd $(HOST_SUBDIR)/libiconv && \
25015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25017 "RANLIB=$${RANLIB}" \
25018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25019 pdf) \
25020 || exit 1
25022 @endif libiconv
25024 .PHONY: maybe-html-libiconv html-libiconv
25025 maybe-html-libiconv:
25026 @if libiconv
25027 maybe-html-libiconv: html-libiconv
25029 html-libiconv: \
25030 configure-libiconv
25031 @: $(MAKE); $(unstage)
25032 @[ -f ./libiconv/Makefile ] || exit 0; \
25033 r=`${PWD_COMMAND}`; export r; \
25034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25035 $(HOST_EXPORTS) \
25036 for flag in $(EXTRA_HOST_FLAGS) ; do \
25037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25038 done; \
25039 echo "Doing html in libiconv" ; \
25040 (cd $(HOST_SUBDIR)/libiconv && \
25041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25043 "RANLIB=$${RANLIB}" \
25044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25045 html) \
25046 || exit 1
25048 @endif libiconv
25050 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
25051 maybe-TAGS-libiconv:
25052 @if libiconv
25053 maybe-TAGS-libiconv: TAGS-libiconv
25055 TAGS-libiconv: \
25056 configure-libiconv
25057 @: $(MAKE); $(unstage)
25058 @[ -f ./libiconv/Makefile ] || exit 0; \
25059 r=`${PWD_COMMAND}`; export r; \
25060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25061 $(HOST_EXPORTS) \
25062 for flag in $(EXTRA_HOST_FLAGS) ; do \
25063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25064 done; \
25065 echo "Doing TAGS in libiconv" ; \
25066 (cd $(HOST_SUBDIR)/libiconv && \
25067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25069 "RANLIB=$${RANLIB}" \
25070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25071 TAGS) \
25072 || exit 1
25074 @endif libiconv
25076 .PHONY: maybe-install-info-libiconv install-info-libiconv
25077 maybe-install-info-libiconv:
25078 @if libiconv
25079 maybe-install-info-libiconv: install-info-libiconv
25081 # libiconv doesn't support install-info.
25082 install-info-libiconv:
25084 @endif libiconv
25086 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
25087 maybe-install-pdf-libiconv:
25088 @if libiconv
25089 maybe-install-pdf-libiconv: install-pdf-libiconv
25091 # libiconv doesn't support install-pdf.
25092 install-pdf-libiconv:
25094 @endif libiconv
25096 .PHONY: maybe-install-html-libiconv install-html-libiconv
25097 maybe-install-html-libiconv:
25098 @if libiconv
25099 maybe-install-html-libiconv: install-html-libiconv
25101 # libiconv doesn't support install-html.
25102 install-html-libiconv:
25104 @endif libiconv
25106 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
25107 maybe-installcheck-libiconv:
25108 @if libiconv
25109 maybe-installcheck-libiconv: installcheck-libiconv
25111 installcheck-libiconv: \
25112 configure-libiconv
25113 @: $(MAKE); $(unstage)
25114 @[ -f ./libiconv/Makefile ] || exit 0; \
25115 r=`${PWD_COMMAND}`; export r; \
25116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25117 $(HOST_EXPORTS) \
25118 for flag in $(EXTRA_HOST_FLAGS) ; do \
25119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25120 done; \
25121 echo "Doing installcheck in libiconv" ; \
25122 (cd $(HOST_SUBDIR)/libiconv && \
25123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25125 "RANLIB=$${RANLIB}" \
25126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25127 installcheck) \
25128 || exit 1
25130 @endif libiconv
25132 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
25133 maybe-mostlyclean-libiconv:
25134 @if libiconv
25135 maybe-mostlyclean-libiconv: mostlyclean-libiconv
25137 mostlyclean-libiconv:
25138 @: $(MAKE); $(unstage)
25139 @[ -f ./libiconv/Makefile ] || exit 0; \
25140 r=`${PWD_COMMAND}`; export r; \
25141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25142 $(HOST_EXPORTS) \
25143 for flag in $(EXTRA_HOST_FLAGS) ; do \
25144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25145 done; \
25146 echo "Doing mostlyclean in libiconv" ; \
25147 (cd $(HOST_SUBDIR)/libiconv && \
25148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25150 "RANLIB=$${RANLIB}" \
25151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25152 mostlyclean) \
25153 || exit 1
25155 @endif libiconv
25157 .PHONY: maybe-clean-libiconv clean-libiconv
25158 maybe-clean-libiconv:
25159 @if libiconv
25160 maybe-clean-libiconv: clean-libiconv
25162 clean-libiconv:
25163 @: $(MAKE); $(unstage)
25164 @[ -f ./libiconv/Makefile ] || exit 0; \
25165 r=`${PWD_COMMAND}`; export r; \
25166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25167 $(HOST_EXPORTS) \
25168 for flag in $(EXTRA_HOST_FLAGS) ; do \
25169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25170 done; \
25171 echo "Doing clean in libiconv" ; \
25172 (cd $(HOST_SUBDIR)/libiconv && \
25173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25175 "RANLIB=$${RANLIB}" \
25176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25177 clean) \
25178 || exit 1
25180 @endif libiconv
25182 .PHONY: maybe-distclean-libiconv distclean-libiconv
25183 maybe-distclean-libiconv:
25184 @if libiconv
25185 maybe-distclean-libiconv: distclean-libiconv
25187 distclean-libiconv:
25188 @: $(MAKE); $(unstage)
25189 @[ -f ./libiconv/Makefile ] || exit 0; \
25190 r=`${PWD_COMMAND}`; export r; \
25191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25192 $(HOST_EXPORTS) \
25193 for flag in $(EXTRA_HOST_FLAGS) ; do \
25194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25195 done; \
25196 echo "Doing distclean in libiconv" ; \
25197 (cd $(HOST_SUBDIR)/libiconv && \
25198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25200 "RANLIB=$${RANLIB}" \
25201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25202 distclean) \
25203 || exit 1
25205 @endif libiconv
25207 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
25208 maybe-maintainer-clean-libiconv:
25209 @if libiconv
25210 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
25212 maintainer-clean-libiconv:
25213 @: $(MAKE); $(unstage)
25214 @[ -f ./libiconv/Makefile ] || exit 0; \
25215 r=`${PWD_COMMAND}`; export r; \
25216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25217 $(HOST_EXPORTS) \
25218 for flag in $(EXTRA_HOST_FLAGS) ; do \
25219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25220 done; \
25221 echo "Doing maintainer-clean in libiconv" ; \
25222 (cd $(HOST_SUBDIR)/libiconv && \
25223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25225 "RANLIB=$${RANLIB}" \
25226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25227 maintainer-clean) \
25228 || exit 1
25230 @endif libiconv
25234 .PHONY: configure-m4 maybe-configure-m4
25235 maybe-configure-m4:
25236 @if gcc-bootstrap
25237 configure-m4: stage_current
25238 @endif gcc-bootstrap
25239 @if m4
25240 maybe-configure-m4: configure-m4
25241 configure-m4:
25242 @: $(MAKE); $(unstage)
25243 @r=`${PWD_COMMAND}`; export r; \
25244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25245 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
25246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
25247 $(HOST_EXPORTS) \
25248 echo Configuring in $(HOST_SUBDIR)/m4; \
25249 cd "$(HOST_SUBDIR)/m4" || exit 1; \
25250 case $(srcdir) in \
25251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25252 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
25253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25254 esac; \
25255 module_srcdir=m4; \
25256 $(SHELL) \
25257 $$s/$$module_srcdir/configure \
25258 --srcdir=$${topdir}/$$module_srcdir \
25259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25260 --target=${target_alias} \
25261 || exit 1
25262 @endif m4
25268 .PHONY: all-m4 maybe-all-m4
25269 maybe-all-m4:
25270 @if gcc-bootstrap
25271 all-m4: stage_current
25272 @endif gcc-bootstrap
25273 @if m4
25274 TARGET-m4=all
25275 maybe-all-m4: all-m4
25276 all-m4: configure-m4
25277 @: $(MAKE); $(unstage)
25278 @r=`${PWD_COMMAND}`; export r; \
25279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25280 $(HOST_EXPORTS) \
25281 (cd $(HOST_SUBDIR)/m4 && \
25282 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25283 $(TARGET-m4))
25284 @endif m4
25289 .PHONY: check-m4 maybe-check-m4
25290 maybe-check-m4:
25291 @if m4
25292 maybe-check-m4: check-m4
25294 check-m4:
25295 @: $(MAKE); $(unstage)
25296 @r=`${PWD_COMMAND}`; export r; \
25297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25298 $(HOST_EXPORTS) \
25299 (cd $(HOST_SUBDIR)/m4 && \
25300 $(MAKE) $(FLAGS_TO_PASS) check)
25302 @endif m4
25304 .PHONY: install-m4 maybe-install-m4
25305 maybe-install-m4:
25306 @if m4
25307 maybe-install-m4: install-m4
25309 install-m4: installdirs
25310 @: $(MAKE); $(unstage)
25311 @r=`${PWD_COMMAND}`; export r; \
25312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25313 $(HOST_EXPORTS) \
25314 (cd $(HOST_SUBDIR)/m4 && \
25315 $(MAKE) $(FLAGS_TO_PASS) install)
25317 @endif m4
25319 .PHONY: install-strip-m4 maybe-install-strip-m4
25320 maybe-install-strip-m4:
25321 @if m4
25322 maybe-install-strip-m4: install-strip-m4
25324 install-strip-m4: installdirs
25325 @: $(MAKE); $(unstage)
25326 @r=`${PWD_COMMAND}`; export r; \
25327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25328 $(HOST_EXPORTS) \
25329 (cd $(HOST_SUBDIR)/m4 && \
25330 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25332 @endif m4
25334 # Other targets (info, dvi, pdf, etc.)
25336 .PHONY: maybe-info-m4 info-m4
25337 maybe-info-m4:
25338 @if m4
25339 maybe-info-m4: info-m4
25341 info-m4: \
25342 configure-m4
25343 @: $(MAKE); $(unstage)
25344 @[ -f ./m4/Makefile ] || exit 0; \
25345 r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25347 $(HOST_EXPORTS) \
25348 for flag in $(EXTRA_HOST_FLAGS) ; do \
25349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25350 done; \
25351 echo "Doing info in m4" ; \
25352 (cd $(HOST_SUBDIR)/m4 && \
25353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25355 "RANLIB=$${RANLIB}" \
25356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25357 info) \
25358 || exit 1
25360 @endif m4
25362 .PHONY: maybe-dvi-m4 dvi-m4
25363 maybe-dvi-m4:
25364 @if m4
25365 maybe-dvi-m4: dvi-m4
25367 dvi-m4: \
25368 configure-m4
25369 @: $(MAKE); $(unstage)
25370 @[ -f ./m4/Makefile ] || exit 0; \
25371 r=`${PWD_COMMAND}`; export r; \
25372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25373 $(HOST_EXPORTS) \
25374 for flag in $(EXTRA_HOST_FLAGS) ; do \
25375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25376 done; \
25377 echo "Doing dvi in m4" ; \
25378 (cd $(HOST_SUBDIR)/m4 && \
25379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25381 "RANLIB=$${RANLIB}" \
25382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25383 dvi) \
25384 || exit 1
25386 @endif m4
25388 .PHONY: maybe-pdf-m4 pdf-m4
25389 maybe-pdf-m4:
25390 @if m4
25391 maybe-pdf-m4: pdf-m4
25393 pdf-m4: \
25394 configure-m4
25395 @: $(MAKE); $(unstage)
25396 @[ -f ./m4/Makefile ] || exit 0; \
25397 r=`${PWD_COMMAND}`; export r; \
25398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25399 $(HOST_EXPORTS) \
25400 for flag in $(EXTRA_HOST_FLAGS) ; do \
25401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25402 done; \
25403 echo "Doing pdf in m4" ; \
25404 (cd $(HOST_SUBDIR)/m4 && \
25405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25407 "RANLIB=$${RANLIB}" \
25408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25409 pdf) \
25410 || exit 1
25412 @endif m4
25414 .PHONY: maybe-html-m4 html-m4
25415 maybe-html-m4:
25416 @if m4
25417 maybe-html-m4: html-m4
25419 html-m4: \
25420 configure-m4
25421 @: $(MAKE); $(unstage)
25422 @[ -f ./m4/Makefile ] || exit 0; \
25423 r=`${PWD_COMMAND}`; export r; \
25424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25425 $(HOST_EXPORTS) \
25426 for flag in $(EXTRA_HOST_FLAGS) ; do \
25427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25428 done; \
25429 echo "Doing html in m4" ; \
25430 (cd $(HOST_SUBDIR)/m4 && \
25431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25433 "RANLIB=$${RANLIB}" \
25434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25435 html) \
25436 || exit 1
25438 @endif m4
25440 .PHONY: maybe-TAGS-m4 TAGS-m4
25441 maybe-TAGS-m4:
25442 @if m4
25443 maybe-TAGS-m4: TAGS-m4
25445 TAGS-m4: \
25446 configure-m4
25447 @: $(MAKE); $(unstage)
25448 @[ -f ./m4/Makefile ] || exit 0; \
25449 r=`${PWD_COMMAND}`; export r; \
25450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25451 $(HOST_EXPORTS) \
25452 for flag in $(EXTRA_HOST_FLAGS) ; do \
25453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25454 done; \
25455 echo "Doing TAGS in m4" ; \
25456 (cd $(HOST_SUBDIR)/m4 && \
25457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25459 "RANLIB=$${RANLIB}" \
25460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25461 TAGS) \
25462 || exit 1
25464 @endif m4
25466 .PHONY: maybe-install-info-m4 install-info-m4
25467 maybe-install-info-m4:
25468 @if m4
25469 maybe-install-info-m4: install-info-m4
25471 install-info-m4: \
25472 configure-m4 \
25473 info-m4
25474 @: $(MAKE); $(unstage)
25475 @[ -f ./m4/Makefile ] || exit 0; \
25476 r=`${PWD_COMMAND}`; export r; \
25477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25478 $(HOST_EXPORTS) \
25479 for flag in $(EXTRA_HOST_FLAGS) ; do \
25480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25481 done; \
25482 echo "Doing install-info in m4" ; \
25483 (cd $(HOST_SUBDIR)/m4 && \
25484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25486 "RANLIB=$${RANLIB}" \
25487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25488 install-info) \
25489 || exit 1
25491 @endif m4
25493 .PHONY: maybe-install-pdf-m4 install-pdf-m4
25494 maybe-install-pdf-m4:
25495 @if m4
25496 maybe-install-pdf-m4: install-pdf-m4
25498 install-pdf-m4: \
25499 configure-m4 \
25500 pdf-m4
25501 @: $(MAKE); $(unstage)
25502 @[ -f ./m4/Makefile ] || exit 0; \
25503 r=`${PWD_COMMAND}`; export r; \
25504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25505 $(HOST_EXPORTS) \
25506 for flag in $(EXTRA_HOST_FLAGS) ; do \
25507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25508 done; \
25509 echo "Doing install-pdf in m4" ; \
25510 (cd $(HOST_SUBDIR)/m4 && \
25511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25513 "RANLIB=$${RANLIB}" \
25514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25515 install-pdf) \
25516 || exit 1
25518 @endif m4
25520 .PHONY: maybe-install-html-m4 install-html-m4
25521 maybe-install-html-m4:
25522 @if m4
25523 maybe-install-html-m4: install-html-m4
25525 install-html-m4: \
25526 configure-m4 \
25527 html-m4
25528 @: $(MAKE); $(unstage)
25529 @[ -f ./m4/Makefile ] || exit 0; \
25530 r=`${PWD_COMMAND}`; export r; \
25531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25532 $(HOST_EXPORTS) \
25533 for flag in $(EXTRA_HOST_FLAGS) ; do \
25534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25535 done; \
25536 echo "Doing install-html in m4" ; \
25537 (cd $(HOST_SUBDIR)/m4 && \
25538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25540 "RANLIB=$${RANLIB}" \
25541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25542 install-html) \
25543 || exit 1
25545 @endif m4
25547 .PHONY: maybe-installcheck-m4 installcheck-m4
25548 maybe-installcheck-m4:
25549 @if m4
25550 maybe-installcheck-m4: installcheck-m4
25552 installcheck-m4: \
25553 configure-m4
25554 @: $(MAKE); $(unstage)
25555 @[ -f ./m4/Makefile ] || exit 0; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25558 $(HOST_EXPORTS) \
25559 for flag in $(EXTRA_HOST_FLAGS) ; do \
25560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25561 done; \
25562 echo "Doing installcheck in m4" ; \
25563 (cd $(HOST_SUBDIR)/m4 && \
25564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25566 "RANLIB=$${RANLIB}" \
25567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25568 installcheck) \
25569 || exit 1
25571 @endif m4
25573 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
25574 maybe-mostlyclean-m4:
25575 @if m4
25576 maybe-mostlyclean-m4: mostlyclean-m4
25578 mostlyclean-m4:
25579 @: $(MAKE); $(unstage)
25580 @[ -f ./m4/Makefile ] || exit 0; \
25581 r=`${PWD_COMMAND}`; export r; \
25582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25583 $(HOST_EXPORTS) \
25584 for flag in $(EXTRA_HOST_FLAGS) ; do \
25585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25586 done; \
25587 echo "Doing mostlyclean in m4" ; \
25588 (cd $(HOST_SUBDIR)/m4 && \
25589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25591 "RANLIB=$${RANLIB}" \
25592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25593 mostlyclean) \
25594 || exit 1
25596 @endif m4
25598 .PHONY: maybe-clean-m4 clean-m4
25599 maybe-clean-m4:
25600 @if m4
25601 maybe-clean-m4: clean-m4
25603 clean-m4:
25604 @: $(MAKE); $(unstage)
25605 @[ -f ./m4/Makefile ] || exit 0; \
25606 r=`${PWD_COMMAND}`; export r; \
25607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25608 $(HOST_EXPORTS) \
25609 for flag in $(EXTRA_HOST_FLAGS) ; do \
25610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25611 done; \
25612 echo "Doing clean in m4" ; \
25613 (cd $(HOST_SUBDIR)/m4 && \
25614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25616 "RANLIB=$${RANLIB}" \
25617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25618 clean) \
25619 || exit 1
25621 @endif m4
25623 .PHONY: maybe-distclean-m4 distclean-m4
25624 maybe-distclean-m4:
25625 @if m4
25626 maybe-distclean-m4: distclean-m4
25628 distclean-m4:
25629 @: $(MAKE); $(unstage)
25630 @[ -f ./m4/Makefile ] || exit 0; \
25631 r=`${PWD_COMMAND}`; export r; \
25632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25633 $(HOST_EXPORTS) \
25634 for flag in $(EXTRA_HOST_FLAGS) ; do \
25635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25636 done; \
25637 echo "Doing distclean in m4" ; \
25638 (cd $(HOST_SUBDIR)/m4 && \
25639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25641 "RANLIB=$${RANLIB}" \
25642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25643 distclean) \
25644 || exit 1
25646 @endif m4
25648 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
25649 maybe-maintainer-clean-m4:
25650 @if m4
25651 maybe-maintainer-clean-m4: maintainer-clean-m4
25653 maintainer-clean-m4:
25654 @: $(MAKE); $(unstage)
25655 @[ -f ./m4/Makefile ] || exit 0; \
25656 r=`${PWD_COMMAND}`; export r; \
25657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25658 $(HOST_EXPORTS) \
25659 for flag in $(EXTRA_HOST_FLAGS) ; do \
25660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25661 done; \
25662 echo "Doing maintainer-clean in m4" ; \
25663 (cd $(HOST_SUBDIR)/m4 && \
25664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25666 "RANLIB=$${RANLIB}" \
25667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25668 maintainer-clean) \
25669 || exit 1
25671 @endif m4
25675 .PHONY: configure-readline maybe-configure-readline
25676 maybe-configure-readline:
25677 @if gcc-bootstrap
25678 configure-readline: stage_current
25679 @endif gcc-bootstrap
25680 @if readline
25681 maybe-configure-readline: configure-readline
25682 configure-readline:
25683 @: $(MAKE); $(unstage)
25684 @r=`${PWD_COMMAND}`; export r; \
25685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25686 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
25687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
25688 $(HOST_EXPORTS) \
25689 echo Configuring in $(HOST_SUBDIR)/readline; \
25690 cd "$(HOST_SUBDIR)/readline" || exit 1; \
25691 case $(srcdir) in \
25692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25693 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
25694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25695 esac; \
25696 module_srcdir=readline; \
25697 $(SHELL) \
25698 $$s/$$module_srcdir/configure \
25699 --srcdir=$${topdir}/$$module_srcdir \
25700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25701 --target=${target_alias} \
25702 || exit 1
25703 @endif readline
25709 .PHONY: all-readline maybe-all-readline
25710 maybe-all-readline:
25711 @if gcc-bootstrap
25712 all-readline: stage_current
25713 @endif gcc-bootstrap
25714 @if readline
25715 TARGET-readline=all
25716 maybe-all-readline: all-readline
25717 all-readline: configure-readline
25718 @: $(MAKE); $(unstage)
25719 @r=`${PWD_COMMAND}`; export r; \
25720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25721 $(HOST_EXPORTS) \
25722 (cd $(HOST_SUBDIR)/readline && \
25723 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25724 $(TARGET-readline))
25725 @endif readline
25730 .PHONY: check-readline maybe-check-readline
25731 maybe-check-readline:
25732 @if readline
25733 maybe-check-readline: check-readline
25735 check-readline:
25736 @: $(MAKE); $(unstage)
25737 @r=`${PWD_COMMAND}`; export r; \
25738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25739 $(HOST_EXPORTS) \
25740 (cd $(HOST_SUBDIR)/readline && \
25741 $(MAKE) $(FLAGS_TO_PASS) check)
25743 @endif readline
25745 .PHONY: install-readline maybe-install-readline
25746 maybe-install-readline:
25747 @if readline
25748 maybe-install-readline: install-readline
25750 install-readline: installdirs
25751 @: $(MAKE); $(unstage)
25752 @r=`${PWD_COMMAND}`; export r; \
25753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25754 $(HOST_EXPORTS) \
25755 (cd $(HOST_SUBDIR)/readline && \
25756 $(MAKE) $(FLAGS_TO_PASS) install)
25758 @endif readline
25760 .PHONY: install-strip-readline maybe-install-strip-readline
25761 maybe-install-strip-readline:
25762 @if readline
25763 maybe-install-strip-readline: install-strip-readline
25765 install-strip-readline: installdirs
25766 @: $(MAKE); $(unstage)
25767 @r=`${PWD_COMMAND}`; export r; \
25768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25769 $(HOST_EXPORTS) \
25770 (cd $(HOST_SUBDIR)/readline && \
25771 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25773 @endif readline
25775 # Other targets (info, dvi, pdf, etc.)
25777 .PHONY: maybe-info-readline info-readline
25778 maybe-info-readline:
25779 @if readline
25780 maybe-info-readline: info-readline
25782 info-readline: \
25783 configure-readline
25784 @: $(MAKE); $(unstage)
25785 @[ -f ./readline/Makefile ] || exit 0; \
25786 r=`${PWD_COMMAND}`; export r; \
25787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25788 $(HOST_EXPORTS) \
25789 for flag in $(EXTRA_HOST_FLAGS) ; do \
25790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25791 done; \
25792 echo "Doing info in readline" ; \
25793 (cd $(HOST_SUBDIR)/readline && \
25794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25796 "RANLIB=$${RANLIB}" \
25797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25798 info) \
25799 || exit 1
25801 @endif readline
25803 .PHONY: maybe-dvi-readline dvi-readline
25804 maybe-dvi-readline:
25805 @if readline
25806 maybe-dvi-readline: dvi-readline
25808 dvi-readline: \
25809 configure-readline
25810 @: $(MAKE); $(unstage)
25811 @[ -f ./readline/Makefile ] || exit 0; \
25812 r=`${PWD_COMMAND}`; export r; \
25813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25814 $(HOST_EXPORTS) \
25815 for flag in $(EXTRA_HOST_FLAGS) ; do \
25816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25817 done; \
25818 echo "Doing dvi in readline" ; \
25819 (cd $(HOST_SUBDIR)/readline && \
25820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25822 "RANLIB=$${RANLIB}" \
25823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25824 dvi) \
25825 || exit 1
25827 @endif readline
25829 .PHONY: maybe-pdf-readline pdf-readline
25830 maybe-pdf-readline:
25831 @if readline
25832 maybe-pdf-readline: pdf-readline
25834 pdf-readline: \
25835 configure-readline
25836 @: $(MAKE); $(unstage)
25837 @[ -f ./readline/Makefile ] || exit 0; \
25838 r=`${PWD_COMMAND}`; export r; \
25839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25840 $(HOST_EXPORTS) \
25841 for flag in $(EXTRA_HOST_FLAGS) ; do \
25842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25843 done; \
25844 echo "Doing pdf in readline" ; \
25845 (cd $(HOST_SUBDIR)/readline && \
25846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25848 "RANLIB=$${RANLIB}" \
25849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25850 pdf) \
25851 || exit 1
25853 @endif readline
25855 .PHONY: maybe-html-readline html-readline
25856 maybe-html-readline:
25857 @if readline
25858 maybe-html-readline: html-readline
25860 html-readline: \
25861 configure-readline
25862 @: $(MAKE); $(unstage)
25863 @[ -f ./readline/Makefile ] || exit 0; \
25864 r=`${PWD_COMMAND}`; export r; \
25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25866 $(HOST_EXPORTS) \
25867 for flag in $(EXTRA_HOST_FLAGS) ; do \
25868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25869 done; \
25870 echo "Doing html in readline" ; \
25871 (cd $(HOST_SUBDIR)/readline && \
25872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25874 "RANLIB=$${RANLIB}" \
25875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25876 html) \
25877 || exit 1
25879 @endif readline
25881 .PHONY: maybe-TAGS-readline TAGS-readline
25882 maybe-TAGS-readline:
25883 @if readline
25884 maybe-TAGS-readline: TAGS-readline
25886 TAGS-readline: \
25887 configure-readline
25888 @: $(MAKE); $(unstage)
25889 @[ -f ./readline/Makefile ] || exit 0; \
25890 r=`${PWD_COMMAND}`; export r; \
25891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25892 $(HOST_EXPORTS) \
25893 for flag in $(EXTRA_HOST_FLAGS) ; do \
25894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25895 done; \
25896 echo "Doing TAGS in readline" ; \
25897 (cd $(HOST_SUBDIR)/readline && \
25898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25900 "RANLIB=$${RANLIB}" \
25901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25902 TAGS) \
25903 || exit 1
25905 @endif readline
25907 .PHONY: maybe-install-info-readline install-info-readline
25908 maybe-install-info-readline:
25909 @if readline
25910 maybe-install-info-readline: install-info-readline
25912 install-info-readline: \
25913 configure-readline \
25914 info-readline
25915 @: $(MAKE); $(unstage)
25916 @[ -f ./readline/Makefile ] || exit 0; \
25917 r=`${PWD_COMMAND}`; export r; \
25918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25919 $(HOST_EXPORTS) \
25920 for flag in $(EXTRA_HOST_FLAGS) ; do \
25921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25922 done; \
25923 echo "Doing install-info in readline" ; \
25924 (cd $(HOST_SUBDIR)/readline && \
25925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25927 "RANLIB=$${RANLIB}" \
25928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25929 install-info) \
25930 || exit 1
25932 @endif readline
25934 .PHONY: maybe-install-pdf-readline install-pdf-readline
25935 maybe-install-pdf-readline:
25936 @if readline
25937 maybe-install-pdf-readline: install-pdf-readline
25939 install-pdf-readline: \
25940 configure-readline \
25941 pdf-readline
25942 @: $(MAKE); $(unstage)
25943 @[ -f ./readline/Makefile ] || exit 0; \
25944 r=`${PWD_COMMAND}`; export r; \
25945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25946 $(HOST_EXPORTS) \
25947 for flag in $(EXTRA_HOST_FLAGS) ; do \
25948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25949 done; \
25950 echo "Doing install-pdf in readline" ; \
25951 (cd $(HOST_SUBDIR)/readline && \
25952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25954 "RANLIB=$${RANLIB}" \
25955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25956 install-pdf) \
25957 || exit 1
25959 @endif readline
25961 .PHONY: maybe-install-html-readline install-html-readline
25962 maybe-install-html-readline:
25963 @if readline
25964 maybe-install-html-readline: install-html-readline
25966 install-html-readline: \
25967 configure-readline \
25968 html-readline
25969 @: $(MAKE); $(unstage)
25970 @[ -f ./readline/Makefile ] || exit 0; \
25971 r=`${PWD_COMMAND}`; export r; \
25972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25973 $(HOST_EXPORTS) \
25974 for flag in $(EXTRA_HOST_FLAGS) ; do \
25975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25976 done; \
25977 echo "Doing install-html in readline" ; \
25978 (cd $(HOST_SUBDIR)/readline && \
25979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25981 "RANLIB=$${RANLIB}" \
25982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25983 install-html) \
25984 || exit 1
25986 @endif readline
25988 .PHONY: maybe-installcheck-readline installcheck-readline
25989 maybe-installcheck-readline:
25990 @if readline
25991 maybe-installcheck-readline: installcheck-readline
25993 installcheck-readline: \
25994 configure-readline
25995 @: $(MAKE); $(unstage)
25996 @[ -f ./readline/Makefile ] || exit 0; \
25997 r=`${PWD_COMMAND}`; export r; \
25998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25999 $(HOST_EXPORTS) \
26000 for flag in $(EXTRA_HOST_FLAGS) ; do \
26001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26002 done; \
26003 echo "Doing installcheck in readline" ; \
26004 (cd $(HOST_SUBDIR)/readline && \
26005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26007 "RANLIB=$${RANLIB}" \
26008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26009 installcheck) \
26010 || exit 1
26012 @endif readline
26014 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
26015 maybe-mostlyclean-readline:
26016 @if readline
26017 maybe-mostlyclean-readline: mostlyclean-readline
26019 mostlyclean-readline:
26020 @: $(MAKE); $(unstage)
26021 @[ -f ./readline/Makefile ] || exit 0; \
26022 r=`${PWD_COMMAND}`; export r; \
26023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26024 $(HOST_EXPORTS) \
26025 for flag in $(EXTRA_HOST_FLAGS) ; do \
26026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26027 done; \
26028 echo "Doing mostlyclean in readline" ; \
26029 (cd $(HOST_SUBDIR)/readline && \
26030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26032 "RANLIB=$${RANLIB}" \
26033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26034 mostlyclean) \
26035 || exit 1
26037 @endif readline
26039 .PHONY: maybe-clean-readline clean-readline
26040 maybe-clean-readline:
26041 @if readline
26042 maybe-clean-readline: clean-readline
26044 clean-readline:
26045 @: $(MAKE); $(unstage)
26046 @[ -f ./readline/Makefile ] || exit 0; \
26047 r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049 $(HOST_EXPORTS) \
26050 for flag in $(EXTRA_HOST_FLAGS) ; do \
26051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26052 done; \
26053 echo "Doing clean in readline" ; \
26054 (cd $(HOST_SUBDIR)/readline && \
26055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26057 "RANLIB=$${RANLIB}" \
26058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26059 clean) \
26060 || exit 1
26062 @endif readline
26064 .PHONY: maybe-distclean-readline distclean-readline
26065 maybe-distclean-readline:
26066 @if readline
26067 maybe-distclean-readline: distclean-readline
26069 distclean-readline:
26070 @: $(MAKE); $(unstage)
26071 @[ -f ./readline/Makefile ] || exit 0; \
26072 r=`${PWD_COMMAND}`; export r; \
26073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26074 $(HOST_EXPORTS) \
26075 for flag in $(EXTRA_HOST_FLAGS) ; do \
26076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26077 done; \
26078 echo "Doing distclean in readline" ; \
26079 (cd $(HOST_SUBDIR)/readline && \
26080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26082 "RANLIB=$${RANLIB}" \
26083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26084 distclean) \
26085 || exit 1
26087 @endif readline
26089 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
26090 maybe-maintainer-clean-readline:
26091 @if readline
26092 maybe-maintainer-clean-readline: maintainer-clean-readline
26094 maintainer-clean-readline:
26095 @: $(MAKE); $(unstage)
26096 @[ -f ./readline/Makefile ] || exit 0; \
26097 r=`${PWD_COMMAND}`; export r; \
26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26099 $(HOST_EXPORTS) \
26100 for flag in $(EXTRA_HOST_FLAGS) ; do \
26101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26102 done; \
26103 echo "Doing maintainer-clean in readline" ; \
26104 (cd $(HOST_SUBDIR)/readline && \
26105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26107 "RANLIB=$${RANLIB}" \
26108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26109 maintainer-clean) \
26110 || exit 1
26112 @endif readline
26116 .PHONY: configure-sid maybe-configure-sid
26117 maybe-configure-sid:
26118 @if gcc-bootstrap
26119 configure-sid: stage_current
26120 @endif gcc-bootstrap
26121 @if sid
26122 maybe-configure-sid: configure-sid
26123 configure-sid:
26124 @: $(MAKE); $(unstage)
26125 @r=`${PWD_COMMAND}`; export r; \
26126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26127 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26129 $(HOST_EXPORTS) \
26130 echo Configuring in $(HOST_SUBDIR)/sid; \
26131 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26132 case $(srcdir) in \
26133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26134 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26136 esac; \
26137 module_srcdir=sid; \
26138 $(SHELL) \
26139 $$s/$$module_srcdir/configure \
26140 --srcdir=$${topdir}/$$module_srcdir \
26141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26142 --target=${target_alias} \
26143 || exit 1
26144 @endif sid
26150 .PHONY: all-sid maybe-all-sid
26151 maybe-all-sid:
26152 @if gcc-bootstrap
26153 all-sid: stage_current
26154 @endif gcc-bootstrap
26155 @if sid
26156 TARGET-sid=all
26157 maybe-all-sid: all-sid
26158 all-sid: configure-sid
26159 @: $(MAKE); $(unstage)
26160 @r=`${PWD_COMMAND}`; export r; \
26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26162 $(HOST_EXPORTS) \
26163 (cd $(HOST_SUBDIR)/sid && \
26164 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26165 $(TARGET-sid))
26166 @endif sid
26171 .PHONY: check-sid maybe-check-sid
26172 maybe-check-sid:
26173 @if sid
26174 maybe-check-sid: check-sid
26176 check-sid:
26177 @: $(MAKE); $(unstage)
26178 @r=`${PWD_COMMAND}`; export r; \
26179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26180 $(HOST_EXPORTS) \
26181 (cd $(HOST_SUBDIR)/sid && \
26182 $(MAKE) $(FLAGS_TO_PASS) check)
26184 @endif sid
26186 .PHONY: install-sid maybe-install-sid
26187 maybe-install-sid:
26188 @if sid
26189 maybe-install-sid: install-sid
26191 install-sid: installdirs
26192 @: $(MAKE); $(unstage)
26193 @r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(HOST_EXPORTS) \
26196 (cd $(HOST_SUBDIR)/sid && \
26197 $(MAKE) $(FLAGS_TO_PASS) install)
26199 @endif sid
26201 .PHONY: install-strip-sid maybe-install-strip-sid
26202 maybe-install-strip-sid:
26203 @if sid
26204 maybe-install-strip-sid: install-strip-sid
26206 install-strip-sid: installdirs
26207 @: $(MAKE); $(unstage)
26208 @r=`${PWD_COMMAND}`; export r; \
26209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26210 $(HOST_EXPORTS) \
26211 (cd $(HOST_SUBDIR)/sid && \
26212 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26214 @endif sid
26216 # Other targets (info, dvi, pdf, etc.)
26218 .PHONY: maybe-info-sid info-sid
26219 maybe-info-sid:
26220 @if sid
26221 maybe-info-sid: info-sid
26223 info-sid: \
26224 configure-sid
26225 @: $(MAKE); $(unstage)
26226 @[ -f ./sid/Makefile ] || exit 0; \
26227 r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 $(HOST_EXPORTS) \
26230 for flag in $(EXTRA_HOST_FLAGS) ; do \
26231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26232 done; \
26233 echo "Doing info in sid" ; \
26234 (cd $(HOST_SUBDIR)/sid && \
26235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26237 "RANLIB=$${RANLIB}" \
26238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26239 info) \
26240 || exit 1
26242 @endif sid
26244 .PHONY: maybe-dvi-sid dvi-sid
26245 maybe-dvi-sid:
26246 @if sid
26247 maybe-dvi-sid: dvi-sid
26249 dvi-sid: \
26250 configure-sid
26251 @: $(MAKE); $(unstage)
26252 @[ -f ./sid/Makefile ] || exit 0; \
26253 r=`${PWD_COMMAND}`; export r; \
26254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26255 $(HOST_EXPORTS) \
26256 for flag in $(EXTRA_HOST_FLAGS) ; do \
26257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26258 done; \
26259 echo "Doing dvi in sid" ; \
26260 (cd $(HOST_SUBDIR)/sid && \
26261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26263 "RANLIB=$${RANLIB}" \
26264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26265 dvi) \
26266 || exit 1
26268 @endif sid
26270 .PHONY: maybe-pdf-sid pdf-sid
26271 maybe-pdf-sid:
26272 @if sid
26273 maybe-pdf-sid: pdf-sid
26275 pdf-sid: \
26276 configure-sid
26277 @: $(MAKE); $(unstage)
26278 @[ -f ./sid/Makefile ] || exit 0; \
26279 r=`${PWD_COMMAND}`; export r; \
26280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26281 $(HOST_EXPORTS) \
26282 for flag in $(EXTRA_HOST_FLAGS) ; do \
26283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26284 done; \
26285 echo "Doing pdf in sid" ; \
26286 (cd $(HOST_SUBDIR)/sid && \
26287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26289 "RANLIB=$${RANLIB}" \
26290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26291 pdf) \
26292 || exit 1
26294 @endif sid
26296 .PHONY: maybe-html-sid html-sid
26297 maybe-html-sid:
26298 @if sid
26299 maybe-html-sid: html-sid
26301 html-sid: \
26302 configure-sid
26303 @: $(MAKE); $(unstage)
26304 @[ -f ./sid/Makefile ] || exit 0; \
26305 r=`${PWD_COMMAND}`; export r; \
26306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26307 $(HOST_EXPORTS) \
26308 for flag in $(EXTRA_HOST_FLAGS) ; do \
26309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26310 done; \
26311 echo "Doing html in sid" ; \
26312 (cd $(HOST_SUBDIR)/sid && \
26313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26315 "RANLIB=$${RANLIB}" \
26316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26317 html) \
26318 || exit 1
26320 @endif sid
26322 .PHONY: maybe-TAGS-sid TAGS-sid
26323 maybe-TAGS-sid:
26324 @if sid
26325 maybe-TAGS-sid: TAGS-sid
26327 TAGS-sid: \
26328 configure-sid
26329 @: $(MAKE); $(unstage)
26330 @[ -f ./sid/Makefile ] || exit 0; \
26331 r=`${PWD_COMMAND}`; export r; \
26332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26333 $(HOST_EXPORTS) \
26334 for flag in $(EXTRA_HOST_FLAGS) ; do \
26335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26336 done; \
26337 echo "Doing TAGS in sid" ; \
26338 (cd $(HOST_SUBDIR)/sid && \
26339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341 "RANLIB=$${RANLIB}" \
26342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26343 TAGS) \
26344 || exit 1
26346 @endif sid
26348 .PHONY: maybe-install-info-sid install-info-sid
26349 maybe-install-info-sid:
26350 @if sid
26351 maybe-install-info-sid: install-info-sid
26353 install-info-sid: \
26354 configure-sid \
26355 info-sid
26356 @: $(MAKE); $(unstage)
26357 @[ -f ./sid/Makefile ] || exit 0; \
26358 r=`${PWD_COMMAND}`; export r; \
26359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26360 $(HOST_EXPORTS) \
26361 for flag in $(EXTRA_HOST_FLAGS) ; do \
26362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26363 done; \
26364 echo "Doing install-info in sid" ; \
26365 (cd $(HOST_SUBDIR)/sid && \
26366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26368 "RANLIB=$${RANLIB}" \
26369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26370 install-info) \
26371 || exit 1
26373 @endif sid
26375 .PHONY: maybe-install-pdf-sid install-pdf-sid
26376 maybe-install-pdf-sid:
26377 @if sid
26378 maybe-install-pdf-sid: install-pdf-sid
26380 install-pdf-sid: \
26381 configure-sid \
26382 pdf-sid
26383 @: $(MAKE); $(unstage)
26384 @[ -f ./sid/Makefile ] || exit 0; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 $(HOST_EXPORTS) \
26388 for flag in $(EXTRA_HOST_FLAGS) ; do \
26389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26390 done; \
26391 echo "Doing install-pdf in sid" ; \
26392 (cd $(HOST_SUBDIR)/sid && \
26393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26395 "RANLIB=$${RANLIB}" \
26396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26397 install-pdf) \
26398 || exit 1
26400 @endif sid
26402 .PHONY: maybe-install-html-sid install-html-sid
26403 maybe-install-html-sid:
26404 @if sid
26405 maybe-install-html-sid: install-html-sid
26407 install-html-sid: \
26408 configure-sid \
26409 html-sid
26410 @: $(MAKE); $(unstage)
26411 @[ -f ./sid/Makefile ] || exit 0; \
26412 r=`${PWD_COMMAND}`; export r; \
26413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26414 $(HOST_EXPORTS) \
26415 for flag in $(EXTRA_HOST_FLAGS) ; do \
26416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26417 done; \
26418 echo "Doing install-html in sid" ; \
26419 (cd $(HOST_SUBDIR)/sid && \
26420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26422 "RANLIB=$${RANLIB}" \
26423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26424 install-html) \
26425 || exit 1
26427 @endif sid
26429 .PHONY: maybe-installcheck-sid installcheck-sid
26430 maybe-installcheck-sid:
26431 @if sid
26432 maybe-installcheck-sid: installcheck-sid
26434 installcheck-sid: \
26435 configure-sid
26436 @: $(MAKE); $(unstage)
26437 @[ -f ./sid/Makefile ] || exit 0; \
26438 r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440 $(HOST_EXPORTS) \
26441 for flag in $(EXTRA_HOST_FLAGS) ; do \
26442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26443 done; \
26444 echo "Doing installcheck in sid" ; \
26445 (cd $(HOST_SUBDIR)/sid && \
26446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26448 "RANLIB=$${RANLIB}" \
26449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26450 installcheck) \
26451 || exit 1
26453 @endif sid
26455 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26456 maybe-mostlyclean-sid:
26457 @if sid
26458 maybe-mostlyclean-sid: mostlyclean-sid
26460 mostlyclean-sid:
26461 @: $(MAKE); $(unstage)
26462 @[ -f ./sid/Makefile ] || exit 0; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(HOST_EXPORTS) \
26466 for flag in $(EXTRA_HOST_FLAGS) ; do \
26467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26468 done; \
26469 echo "Doing mostlyclean in sid" ; \
26470 (cd $(HOST_SUBDIR)/sid && \
26471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26473 "RANLIB=$${RANLIB}" \
26474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26475 mostlyclean) \
26476 || exit 1
26478 @endif sid
26480 .PHONY: maybe-clean-sid clean-sid
26481 maybe-clean-sid:
26482 @if sid
26483 maybe-clean-sid: clean-sid
26485 clean-sid:
26486 @: $(MAKE); $(unstage)
26487 @[ -f ./sid/Makefile ] || exit 0; \
26488 r=`${PWD_COMMAND}`; export r; \
26489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26490 $(HOST_EXPORTS) \
26491 for flag in $(EXTRA_HOST_FLAGS) ; do \
26492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26493 done; \
26494 echo "Doing clean in sid" ; \
26495 (cd $(HOST_SUBDIR)/sid && \
26496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26498 "RANLIB=$${RANLIB}" \
26499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26500 clean) \
26501 || exit 1
26503 @endif sid
26505 .PHONY: maybe-distclean-sid distclean-sid
26506 maybe-distclean-sid:
26507 @if sid
26508 maybe-distclean-sid: distclean-sid
26510 distclean-sid:
26511 @: $(MAKE); $(unstage)
26512 @[ -f ./sid/Makefile ] || exit 0; \
26513 r=`${PWD_COMMAND}`; export r; \
26514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26515 $(HOST_EXPORTS) \
26516 for flag in $(EXTRA_HOST_FLAGS) ; do \
26517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26518 done; \
26519 echo "Doing distclean in sid" ; \
26520 (cd $(HOST_SUBDIR)/sid && \
26521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26523 "RANLIB=$${RANLIB}" \
26524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26525 distclean) \
26526 || exit 1
26528 @endif sid
26530 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26531 maybe-maintainer-clean-sid:
26532 @if sid
26533 maybe-maintainer-clean-sid: maintainer-clean-sid
26535 maintainer-clean-sid:
26536 @: $(MAKE); $(unstage)
26537 @[ -f ./sid/Makefile ] || exit 0; \
26538 r=`${PWD_COMMAND}`; export r; \
26539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26540 $(HOST_EXPORTS) \
26541 for flag in $(EXTRA_HOST_FLAGS) ; do \
26542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26543 done; \
26544 echo "Doing maintainer-clean in sid" ; \
26545 (cd $(HOST_SUBDIR)/sid && \
26546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26548 "RANLIB=$${RANLIB}" \
26549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26550 maintainer-clean) \
26551 || exit 1
26553 @endif sid
26557 .PHONY: configure-sim maybe-configure-sim
26558 maybe-configure-sim:
26559 @if gcc-bootstrap
26560 configure-sim: stage_current
26561 @endif gcc-bootstrap
26562 @if sim
26563 maybe-configure-sim: configure-sim
26564 configure-sim:
26565 @: $(MAKE); $(unstage)
26566 @r=`${PWD_COMMAND}`; export r; \
26567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26568 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26570 $(HOST_EXPORTS) \
26571 echo Configuring in $(HOST_SUBDIR)/sim; \
26572 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26573 case $(srcdir) in \
26574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26575 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26577 esac; \
26578 module_srcdir=sim; \
26579 $(SHELL) \
26580 $$s/$$module_srcdir/configure \
26581 --srcdir=$${topdir}/$$module_srcdir \
26582 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26583 --target=${target_alias} \
26584 || exit 1
26585 @endif sim
26591 .PHONY: all-sim maybe-all-sim
26592 maybe-all-sim:
26593 @if gcc-bootstrap
26594 all-sim: stage_current
26595 @endif gcc-bootstrap
26596 @if sim
26597 TARGET-sim=all
26598 maybe-all-sim: all-sim
26599 all-sim: configure-sim
26600 @: $(MAKE); $(unstage)
26601 @r=`${PWD_COMMAND}`; export r; \
26602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26603 $(HOST_EXPORTS) \
26604 (cd $(HOST_SUBDIR)/sim && \
26605 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26606 $(TARGET-sim))
26607 @endif sim
26612 .PHONY: check-sim maybe-check-sim
26613 maybe-check-sim:
26614 @if sim
26615 maybe-check-sim: check-sim
26617 check-sim:
26618 @: $(MAKE); $(unstage)
26619 @r=`${PWD_COMMAND}`; export r; \
26620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26621 $(HOST_EXPORTS) \
26622 (cd $(HOST_SUBDIR)/sim && \
26623 $(MAKE) $(FLAGS_TO_PASS) check)
26625 @endif sim
26627 .PHONY: install-sim maybe-install-sim
26628 maybe-install-sim:
26629 @if sim
26630 maybe-install-sim: install-sim
26632 install-sim: installdirs
26633 @: $(MAKE); $(unstage)
26634 @r=`${PWD_COMMAND}`; export r; \
26635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26636 $(HOST_EXPORTS) \
26637 (cd $(HOST_SUBDIR)/sim && \
26638 $(MAKE) $(FLAGS_TO_PASS) install)
26640 @endif sim
26642 .PHONY: install-strip-sim maybe-install-strip-sim
26643 maybe-install-strip-sim:
26644 @if sim
26645 maybe-install-strip-sim: install-strip-sim
26647 install-strip-sim: installdirs
26648 @: $(MAKE); $(unstage)
26649 @r=`${PWD_COMMAND}`; export r; \
26650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26651 $(HOST_EXPORTS) \
26652 (cd $(HOST_SUBDIR)/sim && \
26653 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26655 @endif sim
26657 # Other targets (info, dvi, pdf, etc.)
26659 .PHONY: maybe-info-sim info-sim
26660 maybe-info-sim:
26661 @if sim
26662 maybe-info-sim: info-sim
26664 info-sim: \
26665 configure-sim
26666 @: $(MAKE); $(unstage)
26667 @[ -f ./sim/Makefile ] || exit 0; \
26668 r=`${PWD_COMMAND}`; export r; \
26669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26670 $(HOST_EXPORTS) \
26671 for flag in $(EXTRA_HOST_FLAGS) ; do \
26672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26673 done; \
26674 echo "Doing info in sim" ; \
26675 (cd $(HOST_SUBDIR)/sim && \
26676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26678 "RANLIB=$${RANLIB}" \
26679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26680 info) \
26681 || exit 1
26683 @endif sim
26685 .PHONY: maybe-dvi-sim dvi-sim
26686 maybe-dvi-sim:
26687 @if sim
26688 maybe-dvi-sim: dvi-sim
26690 dvi-sim: \
26691 configure-sim
26692 @: $(MAKE); $(unstage)
26693 @[ -f ./sim/Makefile ] || exit 0; \
26694 r=`${PWD_COMMAND}`; export r; \
26695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26696 $(HOST_EXPORTS) \
26697 for flag in $(EXTRA_HOST_FLAGS) ; do \
26698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26699 done; \
26700 echo "Doing dvi in sim" ; \
26701 (cd $(HOST_SUBDIR)/sim && \
26702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26704 "RANLIB=$${RANLIB}" \
26705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26706 dvi) \
26707 || exit 1
26709 @endif sim
26711 .PHONY: maybe-pdf-sim pdf-sim
26712 maybe-pdf-sim:
26713 @if sim
26714 maybe-pdf-sim: pdf-sim
26716 pdf-sim: \
26717 configure-sim
26718 @: $(MAKE); $(unstage)
26719 @[ -f ./sim/Makefile ] || exit 0; \
26720 r=`${PWD_COMMAND}`; export r; \
26721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26722 $(HOST_EXPORTS) \
26723 for flag in $(EXTRA_HOST_FLAGS) ; do \
26724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26725 done; \
26726 echo "Doing pdf in sim" ; \
26727 (cd $(HOST_SUBDIR)/sim && \
26728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26730 "RANLIB=$${RANLIB}" \
26731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26732 pdf) \
26733 || exit 1
26735 @endif sim
26737 .PHONY: maybe-html-sim html-sim
26738 maybe-html-sim:
26739 @if sim
26740 maybe-html-sim: html-sim
26742 html-sim: \
26743 configure-sim
26744 @: $(MAKE); $(unstage)
26745 @[ -f ./sim/Makefile ] || exit 0; \
26746 r=`${PWD_COMMAND}`; export r; \
26747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26748 $(HOST_EXPORTS) \
26749 for flag in $(EXTRA_HOST_FLAGS) ; do \
26750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26751 done; \
26752 echo "Doing html in sim" ; \
26753 (cd $(HOST_SUBDIR)/sim && \
26754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26756 "RANLIB=$${RANLIB}" \
26757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26758 html) \
26759 || exit 1
26761 @endif sim
26763 .PHONY: maybe-TAGS-sim TAGS-sim
26764 maybe-TAGS-sim:
26765 @if sim
26766 maybe-TAGS-sim: TAGS-sim
26768 TAGS-sim: \
26769 configure-sim
26770 @: $(MAKE); $(unstage)
26771 @[ -f ./sim/Makefile ] || exit 0; \
26772 r=`${PWD_COMMAND}`; export r; \
26773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26774 $(HOST_EXPORTS) \
26775 for flag in $(EXTRA_HOST_FLAGS) ; do \
26776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26777 done; \
26778 echo "Doing TAGS in sim" ; \
26779 (cd $(HOST_SUBDIR)/sim && \
26780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26782 "RANLIB=$${RANLIB}" \
26783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26784 TAGS) \
26785 || exit 1
26787 @endif sim
26789 .PHONY: maybe-install-info-sim install-info-sim
26790 maybe-install-info-sim:
26791 @if sim
26792 maybe-install-info-sim: install-info-sim
26794 install-info-sim: \
26795 configure-sim \
26796 info-sim
26797 @: $(MAKE); $(unstage)
26798 @[ -f ./sim/Makefile ] || exit 0; \
26799 r=`${PWD_COMMAND}`; export r; \
26800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26801 $(HOST_EXPORTS) \
26802 for flag in $(EXTRA_HOST_FLAGS) ; do \
26803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26804 done; \
26805 echo "Doing install-info in sim" ; \
26806 (cd $(HOST_SUBDIR)/sim && \
26807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26809 "RANLIB=$${RANLIB}" \
26810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26811 install-info) \
26812 || exit 1
26814 @endif sim
26816 .PHONY: maybe-install-pdf-sim install-pdf-sim
26817 maybe-install-pdf-sim:
26818 @if sim
26819 maybe-install-pdf-sim: install-pdf-sim
26821 install-pdf-sim: \
26822 configure-sim \
26823 pdf-sim
26824 @: $(MAKE); $(unstage)
26825 @[ -f ./sim/Makefile ] || exit 0; \
26826 r=`${PWD_COMMAND}`; export r; \
26827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26828 $(HOST_EXPORTS) \
26829 for flag in $(EXTRA_HOST_FLAGS) ; do \
26830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26831 done; \
26832 echo "Doing install-pdf in sim" ; \
26833 (cd $(HOST_SUBDIR)/sim && \
26834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26836 "RANLIB=$${RANLIB}" \
26837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26838 install-pdf) \
26839 || exit 1
26841 @endif sim
26843 .PHONY: maybe-install-html-sim install-html-sim
26844 maybe-install-html-sim:
26845 @if sim
26846 maybe-install-html-sim: install-html-sim
26848 install-html-sim: \
26849 configure-sim \
26850 html-sim
26851 @: $(MAKE); $(unstage)
26852 @[ -f ./sim/Makefile ] || exit 0; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(HOST_EXPORTS) \
26856 for flag in $(EXTRA_HOST_FLAGS) ; do \
26857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26858 done; \
26859 echo "Doing install-html in sim" ; \
26860 (cd $(HOST_SUBDIR)/sim && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26865 install-html) \
26866 || exit 1
26868 @endif sim
26870 .PHONY: maybe-installcheck-sim installcheck-sim
26871 maybe-installcheck-sim:
26872 @if sim
26873 maybe-installcheck-sim: installcheck-sim
26875 installcheck-sim: \
26876 configure-sim
26877 @: $(MAKE); $(unstage)
26878 @[ -f ./sim/Makefile ] || exit 0; \
26879 r=`${PWD_COMMAND}`; export r; \
26880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26881 $(HOST_EXPORTS) \
26882 for flag in $(EXTRA_HOST_FLAGS) ; do \
26883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26884 done; \
26885 echo "Doing installcheck in sim" ; \
26886 (cd $(HOST_SUBDIR)/sim && \
26887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26889 "RANLIB=$${RANLIB}" \
26890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26891 installcheck) \
26892 || exit 1
26894 @endif sim
26896 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26897 maybe-mostlyclean-sim:
26898 @if sim
26899 maybe-mostlyclean-sim: mostlyclean-sim
26901 mostlyclean-sim:
26902 @: $(MAKE); $(unstage)
26903 @[ -f ./sim/Makefile ] || exit 0; \
26904 r=`${PWD_COMMAND}`; export r; \
26905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26906 $(HOST_EXPORTS) \
26907 for flag in $(EXTRA_HOST_FLAGS) ; do \
26908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26909 done; \
26910 echo "Doing mostlyclean in sim" ; \
26911 (cd $(HOST_SUBDIR)/sim && \
26912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26914 "RANLIB=$${RANLIB}" \
26915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26916 mostlyclean) \
26917 || exit 1
26919 @endif sim
26921 .PHONY: maybe-clean-sim clean-sim
26922 maybe-clean-sim:
26923 @if sim
26924 maybe-clean-sim: clean-sim
26926 clean-sim:
26927 @: $(MAKE); $(unstage)
26928 @[ -f ./sim/Makefile ] || exit 0; \
26929 r=`${PWD_COMMAND}`; export r; \
26930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26931 $(HOST_EXPORTS) \
26932 for flag in $(EXTRA_HOST_FLAGS) ; do \
26933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26934 done; \
26935 echo "Doing clean in sim" ; \
26936 (cd $(HOST_SUBDIR)/sim && \
26937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26939 "RANLIB=$${RANLIB}" \
26940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26941 clean) \
26942 || exit 1
26944 @endif sim
26946 .PHONY: maybe-distclean-sim distclean-sim
26947 maybe-distclean-sim:
26948 @if sim
26949 maybe-distclean-sim: distclean-sim
26951 distclean-sim:
26952 @: $(MAKE); $(unstage)
26953 @[ -f ./sim/Makefile ] || exit 0; \
26954 r=`${PWD_COMMAND}`; export r; \
26955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26956 $(HOST_EXPORTS) \
26957 for flag in $(EXTRA_HOST_FLAGS) ; do \
26958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26959 done; \
26960 echo "Doing distclean in sim" ; \
26961 (cd $(HOST_SUBDIR)/sim && \
26962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26964 "RANLIB=$${RANLIB}" \
26965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26966 distclean) \
26967 || exit 1
26969 @endif sim
26971 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26972 maybe-maintainer-clean-sim:
26973 @if sim
26974 maybe-maintainer-clean-sim: maintainer-clean-sim
26976 maintainer-clean-sim:
26977 @: $(MAKE); $(unstage)
26978 @[ -f ./sim/Makefile ] || exit 0; \
26979 r=`${PWD_COMMAND}`; export r; \
26980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26981 $(HOST_EXPORTS) \
26982 for flag in $(EXTRA_HOST_FLAGS) ; do \
26983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26984 done; \
26985 echo "Doing maintainer-clean in sim" ; \
26986 (cd $(HOST_SUBDIR)/sim && \
26987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26989 "RANLIB=$${RANLIB}" \
26990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26991 maintainer-clean) \
26992 || exit 1
26994 @endif sim
26998 .PHONY: configure-texinfo maybe-configure-texinfo
26999 maybe-configure-texinfo:
27000 @if gcc-bootstrap
27001 configure-texinfo: stage_current
27002 @endif gcc-bootstrap
27003 @if texinfo
27004 maybe-configure-texinfo: configure-texinfo
27005 configure-texinfo:
27006 @: $(MAKE); $(unstage)
27007 @r=`${PWD_COMMAND}`; export r; \
27008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27009 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27011 $(HOST_EXPORTS) \
27012 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27013 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27014 case $(srcdir) in \
27015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27016 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27018 esac; \
27019 module_srcdir=texinfo; \
27020 $(SHELL) \
27021 $$s/$$module_srcdir/configure \
27022 --srcdir=$${topdir}/$$module_srcdir \
27023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27024 --target=${target_alias} \
27025 || exit 1
27026 @endif texinfo
27032 .PHONY: all-texinfo maybe-all-texinfo
27033 maybe-all-texinfo:
27034 @if gcc-bootstrap
27035 all-texinfo: stage_current
27036 @endif gcc-bootstrap
27037 @if texinfo
27038 TARGET-texinfo=all
27039 maybe-all-texinfo: all-texinfo
27040 all-texinfo: configure-texinfo
27041 @: $(MAKE); $(unstage)
27042 @r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27044 $(HOST_EXPORTS) \
27045 (cd $(HOST_SUBDIR)/texinfo && \
27046 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27047 $(TARGET-texinfo))
27048 @endif texinfo
27053 .PHONY: check-texinfo maybe-check-texinfo
27054 maybe-check-texinfo:
27055 @if texinfo
27056 maybe-check-texinfo: check-texinfo
27058 check-texinfo:
27059 @: $(MAKE); $(unstage)
27060 @r=`${PWD_COMMAND}`; export r; \
27061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27062 $(HOST_EXPORTS) \
27063 (cd $(HOST_SUBDIR)/texinfo && \
27064 $(MAKE) $(FLAGS_TO_PASS) check)
27066 @endif texinfo
27068 .PHONY: install-texinfo maybe-install-texinfo
27069 maybe-install-texinfo:
27070 @if texinfo
27071 maybe-install-texinfo: install-texinfo
27073 install-texinfo:
27075 @endif texinfo
27077 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
27078 maybe-install-strip-texinfo:
27079 @if texinfo
27080 maybe-install-strip-texinfo: install-strip-texinfo
27082 install-strip-texinfo:
27084 @endif texinfo
27086 # Other targets (info, dvi, pdf, etc.)
27088 .PHONY: maybe-info-texinfo info-texinfo
27089 maybe-info-texinfo:
27090 @if texinfo
27091 maybe-info-texinfo: info-texinfo
27093 info-texinfo: \
27094 configure-texinfo
27095 @: $(MAKE); $(unstage)
27096 @[ -f ./texinfo/Makefile ] || exit 0; \
27097 r=`${PWD_COMMAND}`; export r; \
27098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27099 $(HOST_EXPORTS) \
27100 for flag in $(EXTRA_HOST_FLAGS) ; do \
27101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27102 done; \
27103 echo "Doing info in texinfo" ; \
27104 (cd $(HOST_SUBDIR)/texinfo && \
27105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107 "RANLIB=$${RANLIB}" \
27108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27109 info) \
27110 || exit 1
27112 @endif texinfo
27114 .PHONY: maybe-dvi-texinfo dvi-texinfo
27115 maybe-dvi-texinfo:
27116 @if texinfo
27117 maybe-dvi-texinfo: dvi-texinfo
27119 dvi-texinfo: \
27120 configure-texinfo
27121 @: $(MAKE); $(unstage)
27122 @[ -f ./texinfo/Makefile ] || exit 0; \
27123 r=`${PWD_COMMAND}`; export r; \
27124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27125 $(HOST_EXPORTS) \
27126 for flag in $(EXTRA_HOST_FLAGS) ; do \
27127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27128 done; \
27129 echo "Doing dvi in texinfo" ; \
27130 (cd $(HOST_SUBDIR)/texinfo && \
27131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27133 "RANLIB=$${RANLIB}" \
27134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27135 dvi) \
27136 || exit 1
27138 @endif texinfo
27140 .PHONY: maybe-pdf-texinfo pdf-texinfo
27141 maybe-pdf-texinfo:
27142 @if texinfo
27143 maybe-pdf-texinfo: pdf-texinfo
27145 pdf-texinfo: \
27146 configure-texinfo
27147 @: $(MAKE); $(unstage)
27148 @[ -f ./texinfo/Makefile ] || exit 0; \
27149 r=`${PWD_COMMAND}`; export r; \
27150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27151 $(HOST_EXPORTS) \
27152 for flag in $(EXTRA_HOST_FLAGS) ; do \
27153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27154 done; \
27155 echo "Doing pdf in texinfo" ; \
27156 (cd $(HOST_SUBDIR)/texinfo && \
27157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27159 "RANLIB=$${RANLIB}" \
27160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27161 pdf) \
27162 || exit 1
27164 @endif texinfo
27166 .PHONY: maybe-html-texinfo html-texinfo
27167 maybe-html-texinfo:
27168 @if texinfo
27169 maybe-html-texinfo: html-texinfo
27171 html-texinfo: \
27172 configure-texinfo
27173 @: $(MAKE); $(unstage)
27174 @[ -f ./texinfo/Makefile ] || exit 0; \
27175 r=`${PWD_COMMAND}`; export r; \
27176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27177 $(HOST_EXPORTS) \
27178 for flag in $(EXTRA_HOST_FLAGS) ; do \
27179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27180 done; \
27181 echo "Doing html in texinfo" ; \
27182 (cd $(HOST_SUBDIR)/texinfo && \
27183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27185 "RANLIB=$${RANLIB}" \
27186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27187 html) \
27188 || exit 1
27190 @endif texinfo
27192 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27193 maybe-TAGS-texinfo:
27194 @if texinfo
27195 maybe-TAGS-texinfo: TAGS-texinfo
27197 TAGS-texinfo: \
27198 configure-texinfo
27199 @: $(MAKE); $(unstage)
27200 @[ -f ./texinfo/Makefile ] || exit 0; \
27201 r=`${PWD_COMMAND}`; export r; \
27202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27203 $(HOST_EXPORTS) \
27204 for flag in $(EXTRA_HOST_FLAGS) ; do \
27205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27206 done; \
27207 echo "Doing TAGS in texinfo" ; \
27208 (cd $(HOST_SUBDIR)/texinfo && \
27209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27211 "RANLIB=$${RANLIB}" \
27212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27213 TAGS) \
27214 || exit 1
27216 @endif texinfo
27218 .PHONY: maybe-install-info-texinfo install-info-texinfo
27219 maybe-install-info-texinfo:
27220 @if texinfo
27221 maybe-install-info-texinfo: install-info-texinfo
27223 install-info-texinfo: \
27224 configure-texinfo \
27225 info-texinfo
27226 @: $(MAKE); $(unstage)
27227 @[ -f ./texinfo/Makefile ] || exit 0; \
27228 r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27230 $(HOST_EXPORTS) \
27231 for flag in $(EXTRA_HOST_FLAGS) ; do \
27232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27233 done; \
27234 echo "Doing install-info in texinfo" ; \
27235 (cd $(HOST_SUBDIR)/texinfo && \
27236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27238 "RANLIB=$${RANLIB}" \
27239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27240 install-info) \
27241 || exit 1
27243 @endif texinfo
27245 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
27246 maybe-install-pdf-texinfo:
27247 @if texinfo
27248 maybe-install-pdf-texinfo: install-pdf-texinfo
27250 install-pdf-texinfo: \
27251 configure-texinfo \
27252 pdf-texinfo
27253 @: $(MAKE); $(unstage)
27254 @[ -f ./texinfo/Makefile ] || exit 0; \
27255 r=`${PWD_COMMAND}`; export r; \
27256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27257 $(HOST_EXPORTS) \
27258 for flag in $(EXTRA_HOST_FLAGS) ; do \
27259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27260 done; \
27261 echo "Doing install-pdf in texinfo" ; \
27262 (cd $(HOST_SUBDIR)/texinfo && \
27263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27265 "RANLIB=$${RANLIB}" \
27266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27267 install-pdf) \
27268 || exit 1
27270 @endif texinfo
27272 .PHONY: maybe-install-html-texinfo install-html-texinfo
27273 maybe-install-html-texinfo:
27274 @if texinfo
27275 maybe-install-html-texinfo: install-html-texinfo
27277 install-html-texinfo: \
27278 configure-texinfo \
27279 html-texinfo
27280 @: $(MAKE); $(unstage)
27281 @[ -f ./texinfo/Makefile ] || exit 0; \
27282 r=`${PWD_COMMAND}`; export r; \
27283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27284 $(HOST_EXPORTS) \
27285 for flag in $(EXTRA_HOST_FLAGS) ; do \
27286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27287 done; \
27288 echo "Doing install-html in texinfo" ; \
27289 (cd $(HOST_SUBDIR)/texinfo && \
27290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27292 "RANLIB=$${RANLIB}" \
27293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27294 install-html) \
27295 || exit 1
27297 @endif texinfo
27299 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27300 maybe-installcheck-texinfo:
27301 @if texinfo
27302 maybe-installcheck-texinfo: installcheck-texinfo
27304 installcheck-texinfo: \
27305 configure-texinfo
27306 @: $(MAKE); $(unstage)
27307 @[ -f ./texinfo/Makefile ] || exit 0; \
27308 r=`${PWD_COMMAND}`; export r; \
27309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27310 $(HOST_EXPORTS) \
27311 for flag in $(EXTRA_HOST_FLAGS) ; do \
27312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27313 done; \
27314 echo "Doing installcheck in texinfo" ; \
27315 (cd $(HOST_SUBDIR)/texinfo && \
27316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27318 "RANLIB=$${RANLIB}" \
27319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27320 installcheck) \
27321 || exit 1
27323 @endif texinfo
27325 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27326 maybe-mostlyclean-texinfo:
27327 @if texinfo
27328 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27330 mostlyclean-texinfo:
27331 @: $(MAKE); $(unstage)
27332 @[ -f ./texinfo/Makefile ] || exit 0; \
27333 r=`${PWD_COMMAND}`; export r; \
27334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27335 $(HOST_EXPORTS) \
27336 for flag in $(EXTRA_HOST_FLAGS) ; do \
27337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27338 done; \
27339 echo "Doing mostlyclean in texinfo" ; \
27340 (cd $(HOST_SUBDIR)/texinfo && \
27341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27343 "RANLIB=$${RANLIB}" \
27344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27345 mostlyclean) \
27346 || exit 1
27348 @endif texinfo
27350 .PHONY: maybe-clean-texinfo clean-texinfo
27351 maybe-clean-texinfo:
27352 @if texinfo
27353 maybe-clean-texinfo: clean-texinfo
27355 clean-texinfo:
27356 @: $(MAKE); $(unstage)
27357 @[ -f ./texinfo/Makefile ] || exit 0; \
27358 r=`${PWD_COMMAND}`; export r; \
27359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27360 $(HOST_EXPORTS) \
27361 for flag in $(EXTRA_HOST_FLAGS) ; do \
27362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27363 done; \
27364 echo "Doing clean in texinfo" ; \
27365 (cd $(HOST_SUBDIR)/texinfo && \
27366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27368 "RANLIB=$${RANLIB}" \
27369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27370 clean) \
27371 || exit 1
27373 @endif texinfo
27375 .PHONY: maybe-distclean-texinfo distclean-texinfo
27376 maybe-distclean-texinfo:
27377 @if texinfo
27378 maybe-distclean-texinfo: distclean-texinfo
27380 distclean-texinfo:
27381 @: $(MAKE); $(unstage)
27382 @[ -f ./texinfo/Makefile ] || exit 0; \
27383 r=`${PWD_COMMAND}`; export r; \
27384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27385 $(HOST_EXPORTS) \
27386 for flag in $(EXTRA_HOST_FLAGS) ; do \
27387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27388 done; \
27389 echo "Doing distclean in texinfo" ; \
27390 (cd $(HOST_SUBDIR)/texinfo && \
27391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27393 "RANLIB=$${RANLIB}" \
27394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27395 distclean) \
27396 || exit 1
27398 @endif texinfo
27400 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
27401 maybe-maintainer-clean-texinfo:
27402 @if texinfo
27403 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
27405 maintainer-clean-texinfo:
27406 @: $(MAKE); $(unstage)
27407 @[ -f ./texinfo/Makefile ] || exit 0; \
27408 r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(HOST_EXPORTS) \
27411 for flag in $(EXTRA_HOST_FLAGS) ; do \
27412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27413 done; \
27414 echo "Doing maintainer-clean in texinfo" ; \
27415 (cd $(HOST_SUBDIR)/texinfo && \
27416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27418 "RANLIB=$${RANLIB}" \
27419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27420 maintainer-clean) \
27421 || exit 1
27423 @endif texinfo
27427 .PHONY: configure-zlib maybe-configure-zlib
27428 maybe-configure-zlib:
27429 @if gcc-bootstrap
27430 configure-zlib: stage_current
27431 @endif gcc-bootstrap
27432 @if zlib
27433 maybe-configure-zlib: configure-zlib
27434 configure-zlib:
27435 @r=`${PWD_COMMAND}`; export r; \
27436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27437 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27438 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27439 $(HOST_EXPORTS) \
27440 echo Configuring in $(HOST_SUBDIR)/zlib; \
27441 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
27442 case $(srcdir) in \
27443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27444 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27446 esac; \
27447 module_srcdir=zlib; \
27448 $(SHELL) \
27449 $$s/$$module_srcdir/configure \
27450 --srcdir=$${topdir}/$$module_srcdir \
27451 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27452 --target=${target_alias} \
27453 || exit 1
27454 @endif zlib
27458 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
27459 maybe-configure-stage1-zlib:
27460 @if zlib-bootstrap
27461 maybe-configure-stage1-zlib: configure-stage1-zlib
27462 configure-stage1-zlib:
27463 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27464 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27465 @r=`${PWD_COMMAND}`; export r; \
27466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27467 TFLAGS="$(STAGE1_TFLAGS)"; \
27468 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27469 $(HOST_EXPORTS) \
27470 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27471 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27472 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27473 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
27474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27475 cd $(HOST_SUBDIR)/zlib || exit 1; \
27476 case $(srcdir) in \
27477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27478 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27480 esac; \
27481 module_srcdir=zlib; \
27482 $(SHELL) $$s/$$module_srcdir/configure \
27483 --srcdir=$${topdir}/$$module_srcdir \
27484 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27485 --target=${target_alias} \
27487 $(STAGE1_CONFIGURE_FLAGS)
27488 @endif zlib-bootstrap
27490 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
27491 maybe-configure-stage2-zlib:
27492 @if zlib-bootstrap
27493 maybe-configure-stage2-zlib: configure-stage2-zlib
27494 configure-stage2-zlib:
27495 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27496 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27497 @r=`${PWD_COMMAND}`; export r; \
27498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27499 TFLAGS="$(STAGE2_TFLAGS)"; \
27500 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27501 $(HOST_EXPORTS) \
27502 $(POSTSTAGE1_HOST_EXPORTS) \
27503 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27504 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27505 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27506 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
27507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27508 cd $(HOST_SUBDIR)/zlib || exit 1; \
27509 case $(srcdir) in \
27510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27511 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27513 esac; \
27514 module_srcdir=zlib; \
27515 $(SHELL) $$s/$$module_srcdir/configure \
27516 --srcdir=$${topdir}/$$module_srcdir \
27517 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27518 --target=${target_alias} \
27519 --with-build-libsubdir=$(HOST_SUBDIR) \
27520 $(STAGE2_CONFIGURE_FLAGS)
27521 @endif zlib-bootstrap
27523 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
27524 maybe-configure-stage3-zlib:
27525 @if zlib-bootstrap
27526 maybe-configure-stage3-zlib: configure-stage3-zlib
27527 configure-stage3-zlib:
27528 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27529 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27530 @r=`${PWD_COMMAND}`; export r; \
27531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27532 TFLAGS="$(STAGE3_TFLAGS)"; \
27533 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27534 $(HOST_EXPORTS) \
27535 $(POSTSTAGE1_HOST_EXPORTS) \
27536 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27537 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27538 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27539 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
27540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27541 cd $(HOST_SUBDIR)/zlib || exit 1; \
27542 case $(srcdir) in \
27543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27544 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27546 esac; \
27547 module_srcdir=zlib; \
27548 $(SHELL) $$s/$$module_srcdir/configure \
27549 --srcdir=$${topdir}/$$module_srcdir \
27550 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27551 --target=${target_alias} \
27552 --with-build-libsubdir=$(HOST_SUBDIR) \
27553 $(STAGE3_CONFIGURE_FLAGS)
27554 @endif zlib-bootstrap
27556 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
27557 maybe-configure-stage4-zlib:
27558 @if zlib-bootstrap
27559 maybe-configure-stage4-zlib: configure-stage4-zlib
27560 configure-stage4-zlib:
27561 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27562 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27563 @r=`${PWD_COMMAND}`; export r; \
27564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27565 TFLAGS="$(STAGE4_TFLAGS)"; \
27566 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27567 $(HOST_EXPORTS) \
27568 $(POSTSTAGE1_HOST_EXPORTS) \
27569 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27570 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27571 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27572 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
27573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27574 cd $(HOST_SUBDIR)/zlib || exit 1; \
27575 case $(srcdir) in \
27576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27577 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27579 esac; \
27580 module_srcdir=zlib; \
27581 $(SHELL) $$s/$$module_srcdir/configure \
27582 --srcdir=$${topdir}/$$module_srcdir \
27583 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27584 --target=${target_alias} \
27585 --with-build-libsubdir=$(HOST_SUBDIR) \
27586 $(STAGE4_CONFIGURE_FLAGS)
27587 @endif zlib-bootstrap
27589 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
27590 maybe-configure-stageprofile-zlib:
27591 @if zlib-bootstrap
27592 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
27593 configure-stageprofile-zlib:
27594 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27595 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27596 @r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27599 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27600 $(HOST_EXPORTS) \
27601 $(POSTSTAGE1_HOST_EXPORTS) \
27602 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27603 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27604 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27605 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
27606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27607 cd $(HOST_SUBDIR)/zlib || exit 1; \
27608 case $(srcdir) in \
27609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27610 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27612 esac; \
27613 module_srcdir=zlib; \
27614 $(SHELL) $$s/$$module_srcdir/configure \
27615 --srcdir=$${topdir}/$$module_srcdir \
27616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27617 --target=${target_alias} \
27618 --with-build-libsubdir=$(HOST_SUBDIR) \
27619 $(STAGEprofile_CONFIGURE_FLAGS)
27620 @endif zlib-bootstrap
27622 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
27623 maybe-configure-stagefeedback-zlib:
27624 @if zlib-bootstrap
27625 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
27626 configure-stagefeedback-zlib:
27627 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27629 @r=`${PWD_COMMAND}`; export r; \
27630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27631 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27632 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27633 $(HOST_EXPORTS) \
27634 $(POSTSTAGE1_HOST_EXPORTS) \
27635 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27636 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27637 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27638 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
27639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27640 cd $(HOST_SUBDIR)/zlib || exit 1; \
27641 case $(srcdir) in \
27642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27643 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27645 esac; \
27646 module_srcdir=zlib; \
27647 $(SHELL) $$s/$$module_srcdir/configure \
27648 --srcdir=$${topdir}/$$module_srcdir \
27649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27650 --target=${target_alias} \
27651 --with-build-libsubdir=$(HOST_SUBDIR) \
27652 $(STAGEfeedback_CONFIGURE_FLAGS)
27653 @endif zlib-bootstrap
27659 .PHONY: all-zlib maybe-all-zlib
27660 maybe-all-zlib:
27661 @if gcc-bootstrap
27662 all-zlib: stage_current
27663 @endif gcc-bootstrap
27664 @if zlib
27665 TARGET-zlib=all
27666 maybe-all-zlib: all-zlib
27667 all-zlib: configure-zlib
27668 @r=`${PWD_COMMAND}`; export r; \
27669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27670 $(HOST_EXPORTS) \
27671 (cd $(HOST_SUBDIR)/zlib && \
27672 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27673 $(TARGET-zlib))
27674 @endif zlib
27678 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
27679 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
27680 maybe-all-stage1-zlib:
27681 maybe-clean-stage1-zlib:
27682 @if zlib-bootstrap
27683 maybe-all-stage1-zlib: all-stage1-zlib
27684 all-stage1: all-stage1-zlib
27685 TARGET-stage1-zlib = $(TARGET-zlib)
27686 all-stage1-zlib: configure-stage1-zlib
27687 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27688 @r=`${PWD_COMMAND}`; export r; \
27689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27690 TFLAGS="$(STAGE1_TFLAGS)"; \
27691 $(HOST_EXPORTS) \
27692 cd $(HOST_SUBDIR)/zlib && \
27693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27694 CFLAGS="$(STAGE1_CFLAGS)" \
27695 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27696 LIBCFLAGS="$(LIBCFLAGS)" \
27697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27700 $(EXTRA_HOST_FLAGS) \
27701 $(STAGE1_FLAGS_TO_PASS) \
27702 TFLAGS="$(STAGE1_TFLAGS)" \
27703 $(TARGET-stage1-zlib)
27705 maybe-clean-stage1-zlib: clean-stage1-zlib
27706 clean-stage1: clean-stage1-zlib
27707 clean-stage1-zlib:
27708 @if [ $(current_stage) = stage1 ]; then \
27709 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27710 else \
27711 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
27712 $(MAKE) stage1-start; \
27713 fi; \
27714 cd $(HOST_SUBDIR)/zlib && \
27715 $(MAKE) $(EXTRA_HOST_FLAGS) \
27716 $(STAGE1_FLAGS_TO_PASS) clean
27717 @endif zlib-bootstrap
27720 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
27721 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
27722 maybe-all-stage2-zlib:
27723 maybe-clean-stage2-zlib:
27724 @if zlib-bootstrap
27725 maybe-all-stage2-zlib: all-stage2-zlib
27726 all-stage2: all-stage2-zlib
27727 TARGET-stage2-zlib = $(TARGET-zlib)
27728 all-stage2-zlib: configure-stage2-zlib
27729 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27730 @r=`${PWD_COMMAND}`; export r; \
27731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27732 TFLAGS="$(STAGE2_TFLAGS)"; \
27733 $(HOST_EXPORTS) \
27734 $(POSTSTAGE1_HOST_EXPORTS) \
27735 cd $(HOST_SUBDIR)/zlib && \
27736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27737 CFLAGS="$(STAGE2_CFLAGS)" \
27738 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27739 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27744 TFLAGS="$(STAGE2_TFLAGS)" \
27745 $(TARGET-stage2-zlib)
27747 maybe-clean-stage2-zlib: clean-stage2-zlib
27748 clean-stage2: clean-stage2-zlib
27749 clean-stage2-zlib:
27750 @if [ $(current_stage) = stage2 ]; then \
27751 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27752 else \
27753 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
27754 $(MAKE) stage2-start; \
27755 fi; \
27756 cd $(HOST_SUBDIR)/zlib && \
27757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27758 @endif zlib-bootstrap
27761 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
27762 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
27763 maybe-all-stage3-zlib:
27764 maybe-clean-stage3-zlib:
27765 @if zlib-bootstrap
27766 maybe-all-stage3-zlib: all-stage3-zlib
27767 all-stage3: all-stage3-zlib
27768 TARGET-stage3-zlib = $(TARGET-zlib)
27769 all-stage3-zlib: configure-stage3-zlib
27770 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27771 @r=`${PWD_COMMAND}`; export r; \
27772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27773 TFLAGS="$(STAGE3_TFLAGS)"; \
27774 $(HOST_EXPORTS) \
27775 $(POSTSTAGE1_HOST_EXPORTS) \
27776 cd $(HOST_SUBDIR)/zlib && \
27777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27778 CFLAGS="$(STAGE3_CFLAGS)" \
27779 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27780 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27785 TFLAGS="$(STAGE3_TFLAGS)" \
27786 $(TARGET-stage3-zlib)
27788 maybe-clean-stage3-zlib: clean-stage3-zlib
27789 clean-stage3: clean-stage3-zlib
27790 clean-stage3-zlib:
27791 @if [ $(current_stage) = stage3 ]; then \
27792 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27793 else \
27794 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27795 $(MAKE) stage3-start; \
27796 fi; \
27797 cd $(HOST_SUBDIR)/zlib && \
27798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27799 @endif zlib-bootstrap
27802 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27803 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27804 maybe-all-stage4-zlib:
27805 maybe-clean-stage4-zlib:
27806 @if zlib-bootstrap
27807 maybe-all-stage4-zlib: all-stage4-zlib
27808 all-stage4: all-stage4-zlib
27809 TARGET-stage4-zlib = $(TARGET-zlib)
27810 all-stage4-zlib: configure-stage4-zlib
27811 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27812 @r=`${PWD_COMMAND}`; export r; \
27813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27814 TFLAGS="$(STAGE4_TFLAGS)"; \
27815 $(HOST_EXPORTS) \
27816 $(POSTSTAGE1_HOST_EXPORTS) \
27817 cd $(HOST_SUBDIR)/zlib && \
27818 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27819 CFLAGS="$(STAGE4_CFLAGS)" \
27820 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27821 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27822 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27823 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27824 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27825 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27826 TFLAGS="$(STAGE4_TFLAGS)" \
27827 $(TARGET-stage4-zlib)
27829 maybe-clean-stage4-zlib: clean-stage4-zlib
27830 clean-stage4: clean-stage4-zlib
27831 clean-stage4-zlib:
27832 @if [ $(current_stage) = stage4 ]; then \
27833 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27834 else \
27835 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27836 $(MAKE) stage4-start; \
27837 fi; \
27838 cd $(HOST_SUBDIR)/zlib && \
27839 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27840 @endif zlib-bootstrap
27843 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27844 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27845 maybe-all-stageprofile-zlib:
27846 maybe-clean-stageprofile-zlib:
27847 @if zlib-bootstrap
27848 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27849 all-stageprofile: all-stageprofile-zlib
27850 TARGET-stageprofile-zlib = $(TARGET-zlib)
27851 all-stageprofile-zlib: configure-stageprofile-zlib
27852 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27853 @r=`${PWD_COMMAND}`; export r; \
27854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27855 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27856 $(HOST_EXPORTS) \
27857 $(POSTSTAGE1_HOST_EXPORTS) \
27858 cd $(HOST_SUBDIR)/zlib && \
27859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27860 CFLAGS="$(STAGEprofile_CFLAGS)" \
27861 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27862 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27863 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27864 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27865 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27866 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27867 TFLAGS="$(STAGEprofile_TFLAGS)" \
27868 $(TARGET-stageprofile-zlib)
27870 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27871 clean-stageprofile: clean-stageprofile-zlib
27872 clean-stageprofile-zlib:
27873 @if [ $(current_stage) = stageprofile ]; then \
27874 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27875 else \
27876 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27877 $(MAKE) stageprofile-start; \
27878 fi; \
27879 cd $(HOST_SUBDIR)/zlib && \
27880 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27881 @endif zlib-bootstrap
27884 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27885 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27886 maybe-all-stagefeedback-zlib:
27887 maybe-clean-stagefeedback-zlib:
27888 @if zlib-bootstrap
27889 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27890 all-stagefeedback: all-stagefeedback-zlib
27891 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27892 all-stagefeedback-zlib: configure-stagefeedback-zlib
27893 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27894 @r=`${PWD_COMMAND}`; export r; \
27895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27896 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27897 $(HOST_EXPORTS) \
27898 $(POSTSTAGE1_HOST_EXPORTS) \
27899 cd $(HOST_SUBDIR)/zlib && \
27900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27901 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27902 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27903 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27907 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27908 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27909 $(TARGET-stagefeedback-zlib)
27911 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27912 clean-stagefeedback: clean-stagefeedback-zlib
27913 clean-stagefeedback-zlib:
27914 @if [ $(current_stage) = stagefeedback ]; then \
27915 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27916 else \
27917 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27918 $(MAKE) stagefeedback-start; \
27919 fi; \
27920 cd $(HOST_SUBDIR)/zlib && \
27921 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27922 @endif zlib-bootstrap
27928 .PHONY: check-zlib maybe-check-zlib
27929 maybe-check-zlib:
27930 @if zlib
27931 maybe-check-zlib: check-zlib
27933 check-zlib:
27935 @endif zlib
27937 .PHONY: install-zlib maybe-install-zlib
27938 maybe-install-zlib:
27939 @if zlib
27940 maybe-install-zlib: install-zlib
27942 install-zlib:
27944 @endif zlib
27946 .PHONY: install-strip-zlib maybe-install-strip-zlib
27947 maybe-install-strip-zlib:
27948 @if zlib
27949 maybe-install-strip-zlib: install-strip-zlib
27951 install-strip-zlib:
27953 @endif zlib
27955 # Other targets (info, dvi, pdf, etc.)
27957 .PHONY: maybe-info-zlib info-zlib
27958 maybe-info-zlib:
27959 @if zlib
27960 maybe-info-zlib: info-zlib
27962 info-zlib: \
27963 configure-zlib
27964 @[ -f ./zlib/Makefile ] || exit 0; \
27965 r=`${PWD_COMMAND}`; export r; \
27966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27967 $(HOST_EXPORTS) \
27968 for flag in $(EXTRA_HOST_FLAGS) ; do \
27969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27970 done; \
27971 echo "Doing info in zlib" ; \
27972 (cd $(HOST_SUBDIR)/zlib && \
27973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27975 "RANLIB=$${RANLIB}" \
27976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27977 info) \
27978 || exit 1
27980 @endif zlib
27982 .PHONY: maybe-dvi-zlib dvi-zlib
27983 maybe-dvi-zlib:
27984 @if zlib
27985 maybe-dvi-zlib: dvi-zlib
27987 dvi-zlib: \
27988 configure-zlib
27989 @[ -f ./zlib/Makefile ] || exit 0; \
27990 r=`${PWD_COMMAND}`; export r; \
27991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27992 $(HOST_EXPORTS) \
27993 for flag in $(EXTRA_HOST_FLAGS) ; do \
27994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27995 done; \
27996 echo "Doing dvi in zlib" ; \
27997 (cd $(HOST_SUBDIR)/zlib && \
27998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28000 "RANLIB=$${RANLIB}" \
28001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28002 dvi) \
28003 || exit 1
28005 @endif zlib
28007 .PHONY: maybe-pdf-zlib pdf-zlib
28008 maybe-pdf-zlib:
28009 @if zlib
28010 maybe-pdf-zlib: pdf-zlib
28012 pdf-zlib: \
28013 configure-zlib
28014 @[ -f ./zlib/Makefile ] || exit 0; \
28015 r=`${PWD_COMMAND}`; export r; \
28016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28017 $(HOST_EXPORTS) \
28018 for flag in $(EXTRA_HOST_FLAGS) ; do \
28019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28020 done; \
28021 echo "Doing pdf in zlib" ; \
28022 (cd $(HOST_SUBDIR)/zlib && \
28023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28025 "RANLIB=$${RANLIB}" \
28026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28027 pdf) \
28028 || exit 1
28030 @endif zlib
28032 .PHONY: maybe-html-zlib html-zlib
28033 maybe-html-zlib:
28034 @if zlib
28035 maybe-html-zlib: html-zlib
28037 html-zlib: \
28038 configure-zlib
28039 @[ -f ./zlib/Makefile ] || exit 0; \
28040 r=`${PWD_COMMAND}`; export r; \
28041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28042 $(HOST_EXPORTS) \
28043 for flag in $(EXTRA_HOST_FLAGS) ; do \
28044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28045 done; \
28046 echo "Doing html in zlib" ; \
28047 (cd $(HOST_SUBDIR)/zlib && \
28048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28050 "RANLIB=$${RANLIB}" \
28051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28052 html) \
28053 || exit 1
28055 @endif zlib
28057 .PHONY: maybe-TAGS-zlib TAGS-zlib
28058 maybe-TAGS-zlib:
28059 @if zlib
28060 maybe-TAGS-zlib: TAGS-zlib
28062 TAGS-zlib: \
28063 configure-zlib
28064 @[ -f ./zlib/Makefile ] || exit 0; \
28065 r=`${PWD_COMMAND}`; export r; \
28066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28067 $(HOST_EXPORTS) \
28068 for flag in $(EXTRA_HOST_FLAGS) ; do \
28069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28070 done; \
28071 echo "Doing TAGS in zlib" ; \
28072 (cd $(HOST_SUBDIR)/zlib && \
28073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28075 "RANLIB=$${RANLIB}" \
28076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28077 TAGS) \
28078 || exit 1
28080 @endif zlib
28082 .PHONY: maybe-install-info-zlib install-info-zlib
28083 maybe-install-info-zlib:
28084 @if zlib
28085 maybe-install-info-zlib: install-info-zlib
28087 install-info-zlib: \
28088 configure-zlib \
28089 info-zlib
28090 @[ -f ./zlib/Makefile ] || exit 0; \
28091 r=`${PWD_COMMAND}`; export r; \
28092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28093 $(HOST_EXPORTS) \
28094 for flag in $(EXTRA_HOST_FLAGS) ; do \
28095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28096 done; \
28097 echo "Doing install-info in zlib" ; \
28098 (cd $(HOST_SUBDIR)/zlib && \
28099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28101 "RANLIB=$${RANLIB}" \
28102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28103 install-info) \
28104 || exit 1
28106 @endif zlib
28108 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
28109 maybe-install-pdf-zlib:
28110 @if zlib
28111 maybe-install-pdf-zlib: install-pdf-zlib
28113 install-pdf-zlib: \
28114 configure-zlib \
28115 pdf-zlib
28116 @[ -f ./zlib/Makefile ] || exit 0; \
28117 r=`${PWD_COMMAND}`; export r; \
28118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28119 $(HOST_EXPORTS) \
28120 for flag in $(EXTRA_HOST_FLAGS) ; do \
28121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28122 done; \
28123 echo "Doing install-pdf in zlib" ; \
28124 (cd $(HOST_SUBDIR)/zlib && \
28125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28127 "RANLIB=$${RANLIB}" \
28128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28129 install-pdf) \
28130 || exit 1
28132 @endif zlib
28134 .PHONY: maybe-install-html-zlib install-html-zlib
28135 maybe-install-html-zlib:
28136 @if zlib
28137 maybe-install-html-zlib: install-html-zlib
28139 install-html-zlib: \
28140 configure-zlib \
28141 html-zlib
28142 @[ -f ./zlib/Makefile ] || exit 0; \
28143 r=`${PWD_COMMAND}`; export r; \
28144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28145 $(HOST_EXPORTS) \
28146 for flag in $(EXTRA_HOST_FLAGS) ; do \
28147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28148 done; \
28149 echo "Doing install-html in zlib" ; \
28150 (cd $(HOST_SUBDIR)/zlib && \
28151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28153 "RANLIB=$${RANLIB}" \
28154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28155 install-html) \
28156 || exit 1
28158 @endif zlib
28160 .PHONY: maybe-installcheck-zlib installcheck-zlib
28161 maybe-installcheck-zlib:
28162 @if zlib
28163 maybe-installcheck-zlib: installcheck-zlib
28165 installcheck-zlib: \
28166 configure-zlib
28167 @[ -f ./zlib/Makefile ] || exit 0; \
28168 r=`${PWD_COMMAND}`; export r; \
28169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28170 $(HOST_EXPORTS) \
28171 for flag in $(EXTRA_HOST_FLAGS) ; do \
28172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28173 done; \
28174 echo "Doing installcheck in zlib" ; \
28175 (cd $(HOST_SUBDIR)/zlib && \
28176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28178 "RANLIB=$${RANLIB}" \
28179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28180 installcheck) \
28181 || exit 1
28183 @endif zlib
28185 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28186 maybe-mostlyclean-zlib:
28187 @if zlib
28188 maybe-mostlyclean-zlib: mostlyclean-zlib
28190 mostlyclean-zlib:
28191 @[ -f ./zlib/Makefile ] || exit 0; \
28192 r=`${PWD_COMMAND}`; export r; \
28193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28194 $(HOST_EXPORTS) \
28195 for flag in $(EXTRA_HOST_FLAGS) ; do \
28196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28197 done; \
28198 echo "Doing mostlyclean in zlib" ; \
28199 (cd $(HOST_SUBDIR)/zlib && \
28200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28202 "RANLIB=$${RANLIB}" \
28203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28204 mostlyclean) \
28205 || exit 1
28207 @endif zlib
28209 .PHONY: maybe-clean-zlib clean-zlib
28210 maybe-clean-zlib:
28211 @if zlib
28212 maybe-clean-zlib: clean-zlib
28214 clean-zlib:
28215 @[ -f ./zlib/Makefile ] || exit 0; \
28216 r=`${PWD_COMMAND}`; export r; \
28217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28218 $(HOST_EXPORTS) \
28219 for flag in $(EXTRA_HOST_FLAGS) ; do \
28220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28221 done; \
28222 echo "Doing clean in zlib" ; \
28223 (cd $(HOST_SUBDIR)/zlib && \
28224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28226 "RANLIB=$${RANLIB}" \
28227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28228 clean) \
28229 || exit 1
28231 @endif zlib
28233 .PHONY: maybe-distclean-zlib distclean-zlib
28234 maybe-distclean-zlib:
28235 @if zlib
28236 maybe-distclean-zlib: distclean-zlib
28238 distclean-zlib:
28239 @[ -f ./zlib/Makefile ] || exit 0; \
28240 r=`${PWD_COMMAND}`; export r; \
28241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28242 $(HOST_EXPORTS) \
28243 for flag in $(EXTRA_HOST_FLAGS) ; do \
28244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28245 done; \
28246 echo "Doing distclean in zlib" ; \
28247 (cd $(HOST_SUBDIR)/zlib && \
28248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28250 "RANLIB=$${RANLIB}" \
28251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28252 distclean) \
28253 || exit 1
28255 @endif zlib
28257 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28258 maybe-maintainer-clean-zlib:
28259 @if zlib
28260 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28262 maintainer-clean-zlib:
28263 @[ -f ./zlib/Makefile ] || exit 0; \
28264 r=`${PWD_COMMAND}`; export r; \
28265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28266 $(HOST_EXPORTS) \
28267 for flag in $(EXTRA_HOST_FLAGS) ; do \
28268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28269 done; \
28270 echo "Doing maintainer-clean in zlib" ; \
28271 (cd $(HOST_SUBDIR)/zlib && \
28272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28274 "RANLIB=$${RANLIB}" \
28275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28276 maintainer-clean) \
28277 || exit 1
28279 @endif zlib
28283 .PHONY: configure-gdb maybe-configure-gdb
28284 maybe-configure-gdb:
28285 @if gcc-bootstrap
28286 configure-gdb: stage_current
28287 @endif gcc-bootstrap
28288 @if gdb
28289 maybe-configure-gdb: configure-gdb
28290 configure-gdb:
28291 @: $(MAKE); $(unstage)
28292 @r=`${PWD_COMMAND}`; export r; \
28293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28294 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28296 $(HOST_EXPORTS) \
28297 echo Configuring in $(HOST_SUBDIR)/gdb; \
28298 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28299 case $(srcdir) in \
28300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28301 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28303 esac; \
28304 module_srcdir=gdb; \
28305 $(SHELL) \
28306 $$s/$$module_srcdir/configure \
28307 --srcdir=$${topdir}/$$module_srcdir \
28308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28309 --target=${target_alias} \
28310 || exit 1
28311 @endif gdb
28317 .PHONY: all-gdb maybe-all-gdb
28318 maybe-all-gdb:
28319 @if gcc-bootstrap
28320 all-gdb: stage_current
28321 @endif gcc-bootstrap
28322 @if gdb
28323 TARGET-gdb=all
28324 maybe-all-gdb: all-gdb
28325 all-gdb: configure-gdb
28326 @: $(MAKE); $(unstage)
28327 @r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 (cd $(HOST_SUBDIR)/gdb && \
28331 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28332 $(TARGET-gdb))
28333 @endif gdb
28338 .PHONY: check-gdb maybe-check-gdb
28339 maybe-check-gdb:
28340 @if gdb
28341 maybe-check-gdb: check-gdb
28343 check-gdb:
28344 @: $(MAKE); $(unstage)
28345 @r=`${PWD_COMMAND}`; export r; \
28346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28347 $(HOST_EXPORTS) \
28348 (cd $(HOST_SUBDIR)/gdb && \
28349 $(MAKE) $(FLAGS_TO_PASS) check)
28351 @endif gdb
28353 .PHONY: install-gdb maybe-install-gdb
28354 maybe-install-gdb:
28355 @if gdb
28356 maybe-install-gdb: install-gdb
28358 install-gdb: installdirs
28359 @: $(MAKE); $(unstage)
28360 @r=`${PWD_COMMAND}`; export r; \
28361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28362 $(HOST_EXPORTS) \
28363 (cd $(HOST_SUBDIR)/gdb && \
28364 $(MAKE) $(FLAGS_TO_PASS) install)
28366 @endif gdb
28368 .PHONY: install-strip-gdb maybe-install-strip-gdb
28369 maybe-install-strip-gdb:
28370 @if gdb
28371 maybe-install-strip-gdb: install-strip-gdb
28373 install-strip-gdb: installdirs
28374 @: $(MAKE); $(unstage)
28375 @r=`${PWD_COMMAND}`; export r; \
28376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28377 $(HOST_EXPORTS) \
28378 (cd $(HOST_SUBDIR)/gdb && \
28379 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28381 @endif gdb
28383 # Other targets (info, dvi, pdf, etc.)
28385 .PHONY: maybe-info-gdb info-gdb
28386 maybe-info-gdb:
28387 @if gdb
28388 maybe-info-gdb: info-gdb
28390 info-gdb: \
28391 configure-gdb
28392 @: $(MAKE); $(unstage)
28393 @[ -f ./gdb/Makefile ] || exit 0; \
28394 r=`${PWD_COMMAND}`; export r; \
28395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28396 $(HOST_EXPORTS) \
28397 for flag in $(EXTRA_HOST_FLAGS) ; do \
28398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28399 done; \
28400 echo "Doing info in gdb" ; \
28401 (cd $(HOST_SUBDIR)/gdb && \
28402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28404 "RANLIB=$${RANLIB}" \
28405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28406 info) \
28407 || exit 1
28409 @endif gdb
28411 .PHONY: maybe-dvi-gdb dvi-gdb
28412 maybe-dvi-gdb:
28413 @if gdb
28414 maybe-dvi-gdb: dvi-gdb
28416 dvi-gdb: \
28417 configure-gdb
28418 @: $(MAKE); $(unstage)
28419 @[ -f ./gdb/Makefile ] || exit 0; \
28420 r=`${PWD_COMMAND}`; export r; \
28421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28422 $(HOST_EXPORTS) \
28423 for flag in $(EXTRA_HOST_FLAGS) ; do \
28424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28425 done; \
28426 echo "Doing dvi in gdb" ; \
28427 (cd $(HOST_SUBDIR)/gdb && \
28428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28430 "RANLIB=$${RANLIB}" \
28431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28432 dvi) \
28433 || exit 1
28435 @endif gdb
28437 .PHONY: maybe-pdf-gdb pdf-gdb
28438 maybe-pdf-gdb:
28439 @if gdb
28440 maybe-pdf-gdb: pdf-gdb
28442 pdf-gdb: \
28443 configure-gdb
28444 @: $(MAKE); $(unstage)
28445 @[ -f ./gdb/Makefile ] || exit 0; \
28446 r=`${PWD_COMMAND}`; export r; \
28447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28448 $(HOST_EXPORTS) \
28449 for flag in $(EXTRA_HOST_FLAGS) ; do \
28450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28451 done; \
28452 echo "Doing pdf in gdb" ; \
28453 (cd $(HOST_SUBDIR)/gdb && \
28454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28456 "RANLIB=$${RANLIB}" \
28457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28458 pdf) \
28459 || exit 1
28461 @endif gdb
28463 .PHONY: maybe-html-gdb html-gdb
28464 maybe-html-gdb:
28465 @if gdb
28466 maybe-html-gdb: html-gdb
28468 html-gdb: \
28469 configure-gdb
28470 @: $(MAKE); $(unstage)
28471 @[ -f ./gdb/Makefile ] || exit 0; \
28472 r=`${PWD_COMMAND}`; export r; \
28473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28474 $(HOST_EXPORTS) \
28475 for flag in $(EXTRA_HOST_FLAGS) ; do \
28476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28477 done; \
28478 echo "Doing html in gdb" ; \
28479 (cd $(HOST_SUBDIR)/gdb && \
28480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28482 "RANLIB=$${RANLIB}" \
28483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28484 html) \
28485 || exit 1
28487 @endif gdb
28489 .PHONY: maybe-TAGS-gdb TAGS-gdb
28490 maybe-TAGS-gdb:
28491 @if gdb
28492 maybe-TAGS-gdb: TAGS-gdb
28494 TAGS-gdb: \
28495 configure-gdb
28496 @: $(MAKE); $(unstage)
28497 @[ -f ./gdb/Makefile ] || exit 0; \
28498 r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 for flag in $(EXTRA_HOST_FLAGS) ; do \
28502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28503 done; \
28504 echo "Doing TAGS in gdb" ; \
28505 (cd $(HOST_SUBDIR)/gdb && \
28506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28508 "RANLIB=$${RANLIB}" \
28509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28510 TAGS) \
28511 || exit 1
28513 @endif gdb
28515 .PHONY: maybe-install-info-gdb install-info-gdb
28516 maybe-install-info-gdb:
28517 @if gdb
28518 maybe-install-info-gdb: install-info-gdb
28520 install-info-gdb: \
28521 configure-gdb \
28522 info-gdb
28523 @: $(MAKE); $(unstage)
28524 @[ -f ./gdb/Makefile ] || exit 0; \
28525 r=`${PWD_COMMAND}`; export r; \
28526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28527 $(HOST_EXPORTS) \
28528 for flag in $(EXTRA_HOST_FLAGS) ; do \
28529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28530 done; \
28531 echo "Doing install-info in gdb" ; \
28532 (cd $(HOST_SUBDIR)/gdb && \
28533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28535 "RANLIB=$${RANLIB}" \
28536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28537 install-info) \
28538 || exit 1
28540 @endif gdb
28542 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
28543 maybe-install-pdf-gdb:
28544 @if gdb
28545 maybe-install-pdf-gdb: install-pdf-gdb
28547 install-pdf-gdb: \
28548 configure-gdb \
28549 pdf-gdb
28550 @: $(MAKE); $(unstage)
28551 @[ -f ./gdb/Makefile ] || exit 0; \
28552 r=`${PWD_COMMAND}`; export r; \
28553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28554 $(HOST_EXPORTS) \
28555 for flag in $(EXTRA_HOST_FLAGS) ; do \
28556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28557 done; \
28558 echo "Doing install-pdf in gdb" ; \
28559 (cd $(HOST_SUBDIR)/gdb && \
28560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28562 "RANLIB=$${RANLIB}" \
28563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28564 install-pdf) \
28565 || exit 1
28567 @endif gdb
28569 .PHONY: maybe-install-html-gdb install-html-gdb
28570 maybe-install-html-gdb:
28571 @if gdb
28572 maybe-install-html-gdb: install-html-gdb
28574 install-html-gdb: \
28575 configure-gdb \
28576 html-gdb
28577 @: $(MAKE); $(unstage)
28578 @[ -f ./gdb/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 install-html in gdb" ; \
28586 (cd $(HOST_SUBDIR)/gdb && \
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 install-html) \
28592 || exit 1
28594 @endif gdb
28596 .PHONY: maybe-installcheck-gdb installcheck-gdb
28597 maybe-installcheck-gdb:
28598 @if gdb
28599 maybe-installcheck-gdb: installcheck-gdb
28601 installcheck-gdb: \
28602 configure-gdb
28603 @: $(MAKE); $(unstage)
28604 @[ -f ./gdb/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 installcheck in gdb" ; \
28612 (cd $(HOST_SUBDIR)/gdb && \
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 installcheck) \
28618 || exit 1
28620 @endif gdb
28622 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
28623 maybe-mostlyclean-gdb:
28624 @if gdb
28625 maybe-mostlyclean-gdb: mostlyclean-gdb
28627 mostlyclean-gdb:
28628 @: $(MAKE); $(unstage)
28629 @[ -f ./gdb/Makefile ] || exit 0; \
28630 r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 $(HOST_EXPORTS) \
28633 for flag in $(EXTRA_HOST_FLAGS) ; do \
28634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28635 done; \
28636 echo "Doing mostlyclean in gdb" ; \
28637 (cd $(HOST_SUBDIR)/gdb && \
28638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28640 "RANLIB=$${RANLIB}" \
28641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28642 mostlyclean) \
28643 || exit 1
28645 @endif gdb
28647 .PHONY: maybe-clean-gdb clean-gdb
28648 maybe-clean-gdb:
28649 @if gdb
28650 maybe-clean-gdb: clean-gdb
28652 clean-gdb:
28653 @: $(MAKE); $(unstage)
28654 @[ -f ./gdb/Makefile ] || exit 0; \
28655 r=`${PWD_COMMAND}`; export r; \
28656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28657 $(HOST_EXPORTS) \
28658 for flag in $(EXTRA_HOST_FLAGS) ; do \
28659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28660 done; \
28661 echo "Doing clean in gdb" ; \
28662 (cd $(HOST_SUBDIR)/gdb && \
28663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28665 "RANLIB=$${RANLIB}" \
28666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28667 clean) \
28668 || exit 1
28670 @endif gdb
28672 .PHONY: maybe-distclean-gdb distclean-gdb
28673 maybe-distclean-gdb:
28674 @if gdb
28675 maybe-distclean-gdb: distclean-gdb
28677 distclean-gdb:
28678 @: $(MAKE); $(unstage)
28679 @[ -f ./gdb/Makefile ] || exit 0; \
28680 r=`${PWD_COMMAND}`; export r; \
28681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28682 $(HOST_EXPORTS) \
28683 for flag in $(EXTRA_HOST_FLAGS) ; do \
28684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28685 done; \
28686 echo "Doing distclean in gdb" ; \
28687 (cd $(HOST_SUBDIR)/gdb && \
28688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28690 "RANLIB=$${RANLIB}" \
28691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28692 distclean) \
28693 || exit 1
28695 @endif gdb
28697 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
28698 maybe-maintainer-clean-gdb:
28699 @if gdb
28700 maybe-maintainer-clean-gdb: maintainer-clean-gdb
28702 maintainer-clean-gdb:
28703 @: $(MAKE); $(unstage)
28704 @[ -f ./gdb/Makefile ] || exit 0; \
28705 r=`${PWD_COMMAND}`; export r; \
28706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28707 $(HOST_EXPORTS) \
28708 for flag in $(EXTRA_HOST_FLAGS) ; do \
28709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28710 done; \
28711 echo "Doing maintainer-clean in gdb" ; \
28712 (cd $(HOST_SUBDIR)/gdb && \
28713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28715 "RANLIB=$${RANLIB}" \
28716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28717 maintainer-clean) \
28718 || exit 1
28720 @endif gdb
28724 .PHONY: configure-expect maybe-configure-expect
28725 maybe-configure-expect:
28726 @if gcc-bootstrap
28727 configure-expect: stage_current
28728 @endif gcc-bootstrap
28729 @if expect
28730 maybe-configure-expect: configure-expect
28731 configure-expect:
28732 @: $(MAKE); $(unstage)
28733 @r=`${PWD_COMMAND}`; export r; \
28734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28735 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
28736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
28737 $(HOST_EXPORTS) \
28738 echo Configuring in $(HOST_SUBDIR)/expect; \
28739 cd "$(HOST_SUBDIR)/expect" || exit 1; \
28740 case $(srcdir) in \
28741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28742 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
28743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28744 esac; \
28745 module_srcdir=expect; \
28746 $(SHELL) \
28747 $$s/$$module_srcdir/configure \
28748 --srcdir=$${topdir}/$$module_srcdir \
28749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28750 --target=${target_alias} \
28751 || exit 1
28752 @endif expect
28758 .PHONY: all-expect maybe-all-expect
28759 maybe-all-expect:
28760 @if gcc-bootstrap
28761 all-expect: stage_current
28762 @endif gcc-bootstrap
28763 @if expect
28764 TARGET-expect=all
28765 maybe-all-expect: all-expect
28766 all-expect: configure-expect
28767 @: $(MAKE); $(unstage)
28768 @r=`${PWD_COMMAND}`; export r; \
28769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28770 $(HOST_EXPORTS) \
28771 (cd $(HOST_SUBDIR)/expect && \
28772 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28773 $(TARGET-expect))
28774 @endif expect
28779 .PHONY: check-expect maybe-check-expect
28780 maybe-check-expect:
28781 @if expect
28782 maybe-check-expect: check-expect
28784 check-expect:
28785 @: $(MAKE); $(unstage)
28786 @r=`${PWD_COMMAND}`; export r; \
28787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28788 $(HOST_EXPORTS) \
28789 (cd $(HOST_SUBDIR)/expect && \
28790 $(MAKE) $(FLAGS_TO_PASS) check)
28792 @endif expect
28794 .PHONY: install-expect maybe-install-expect
28795 maybe-install-expect:
28796 @if expect
28797 maybe-install-expect: install-expect
28799 install-expect: installdirs
28800 @: $(MAKE); $(unstage)
28801 @r=`${PWD_COMMAND}`; export r; \
28802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28803 $(HOST_EXPORTS) \
28804 (cd $(HOST_SUBDIR)/expect && \
28805 $(MAKE) $(FLAGS_TO_PASS) install)
28807 @endif expect
28809 .PHONY: install-strip-expect maybe-install-strip-expect
28810 maybe-install-strip-expect:
28811 @if expect
28812 maybe-install-strip-expect: install-strip-expect
28814 install-strip-expect: installdirs
28815 @: $(MAKE); $(unstage)
28816 @r=`${PWD_COMMAND}`; export r; \
28817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28818 $(HOST_EXPORTS) \
28819 (cd $(HOST_SUBDIR)/expect && \
28820 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28822 @endif expect
28824 # Other targets (info, dvi, pdf, etc.)
28826 .PHONY: maybe-info-expect info-expect
28827 maybe-info-expect:
28828 @if expect
28829 maybe-info-expect: info-expect
28831 info-expect: \
28832 configure-expect
28833 @: $(MAKE); $(unstage)
28834 @[ -f ./expect/Makefile ] || exit 0; \
28835 r=`${PWD_COMMAND}`; export r; \
28836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28837 $(HOST_EXPORTS) \
28838 for flag in $(EXTRA_HOST_FLAGS) ; do \
28839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28840 done; \
28841 echo "Doing info in expect" ; \
28842 (cd $(HOST_SUBDIR)/expect && \
28843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28845 "RANLIB=$${RANLIB}" \
28846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28847 info) \
28848 || exit 1
28850 @endif expect
28852 .PHONY: maybe-dvi-expect dvi-expect
28853 maybe-dvi-expect:
28854 @if expect
28855 maybe-dvi-expect: dvi-expect
28857 dvi-expect: \
28858 configure-expect
28859 @: $(MAKE); $(unstage)
28860 @[ -f ./expect/Makefile ] || exit 0; \
28861 r=`${PWD_COMMAND}`; export r; \
28862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28863 $(HOST_EXPORTS) \
28864 for flag in $(EXTRA_HOST_FLAGS) ; do \
28865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28866 done; \
28867 echo "Doing dvi in expect" ; \
28868 (cd $(HOST_SUBDIR)/expect && \
28869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28871 "RANLIB=$${RANLIB}" \
28872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28873 dvi) \
28874 || exit 1
28876 @endif expect
28878 .PHONY: maybe-pdf-expect pdf-expect
28879 maybe-pdf-expect:
28880 @if expect
28881 maybe-pdf-expect: pdf-expect
28883 pdf-expect: \
28884 configure-expect
28885 @: $(MAKE); $(unstage)
28886 @[ -f ./expect/Makefile ] || exit 0; \
28887 r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 $(HOST_EXPORTS) \
28890 for flag in $(EXTRA_HOST_FLAGS) ; do \
28891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28892 done; \
28893 echo "Doing pdf in expect" ; \
28894 (cd $(HOST_SUBDIR)/expect && \
28895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28897 "RANLIB=$${RANLIB}" \
28898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28899 pdf) \
28900 || exit 1
28902 @endif expect
28904 .PHONY: maybe-html-expect html-expect
28905 maybe-html-expect:
28906 @if expect
28907 maybe-html-expect: html-expect
28909 html-expect: \
28910 configure-expect
28911 @: $(MAKE); $(unstage)
28912 @[ -f ./expect/Makefile ] || exit 0; \
28913 r=`${PWD_COMMAND}`; export r; \
28914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28915 $(HOST_EXPORTS) \
28916 for flag in $(EXTRA_HOST_FLAGS) ; do \
28917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28918 done; \
28919 echo "Doing html in expect" ; \
28920 (cd $(HOST_SUBDIR)/expect && \
28921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28923 "RANLIB=$${RANLIB}" \
28924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28925 html) \
28926 || exit 1
28928 @endif expect
28930 .PHONY: maybe-TAGS-expect TAGS-expect
28931 maybe-TAGS-expect:
28932 @if expect
28933 maybe-TAGS-expect: TAGS-expect
28935 TAGS-expect: \
28936 configure-expect
28937 @: $(MAKE); $(unstage)
28938 @[ -f ./expect/Makefile ] || exit 0; \
28939 r=`${PWD_COMMAND}`; export r; \
28940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28941 $(HOST_EXPORTS) \
28942 for flag in $(EXTRA_HOST_FLAGS) ; do \
28943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28944 done; \
28945 echo "Doing TAGS in expect" ; \
28946 (cd $(HOST_SUBDIR)/expect && \
28947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28949 "RANLIB=$${RANLIB}" \
28950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28951 TAGS) \
28952 || exit 1
28954 @endif expect
28956 .PHONY: maybe-install-info-expect install-info-expect
28957 maybe-install-info-expect:
28958 @if expect
28959 maybe-install-info-expect: install-info-expect
28961 install-info-expect: \
28962 configure-expect \
28963 info-expect
28964 @: $(MAKE); $(unstage)
28965 @[ -f ./expect/Makefile ] || exit 0; \
28966 r=`${PWD_COMMAND}`; export r; \
28967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28968 $(HOST_EXPORTS) \
28969 for flag in $(EXTRA_HOST_FLAGS) ; do \
28970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28971 done; \
28972 echo "Doing install-info in expect" ; \
28973 (cd $(HOST_SUBDIR)/expect && \
28974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28976 "RANLIB=$${RANLIB}" \
28977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28978 install-info) \
28979 || exit 1
28981 @endif expect
28983 .PHONY: maybe-install-pdf-expect install-pdf-expect
28984 maybe-install-pdf-expect:
28985 @if expect
28986 maybe-install-pdf-expect: install-pdf-expect
28988 install-pdf-expect: \
28989 configure-expect \
28990 pdf-expect
28991 @: $(MAKE); $(unstage)
28992 @[ -f ./expect/Makefile ] || exit 0; \
28993 r=`${PWD_COMMAND}`; export r; \
28994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28995 $(HOST_EXPORTS) \
28996 for flag in $(EXTRA_HOST_FLAGS) ; do \
28997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28998 done; \
28999 echo "Doing install-pdf in expect" ; \
29000 (cd $(HOST_SUBDIR)/expect && \
29001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29003 "RANLIB=$${RANLIB}" \
29004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29005 install-pdf) \
29006 || exit 1
29008 @endif expect
29010 .PHONY: maybe-install-html-expect install-html-expect
29011 maybe-install-html-expect:
29012 @if expect
29013 maybe-install-html-expect: install-html-expect
29015 install-html-expect: \
29016 configure-expect \
29017 html-expect
29018 @: $(MAKE); $(unstage)
29019 @[ -f ./expect/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 install-html in expect" ; \
29027 (cd $(HOST_SUBDIR)/expect && \
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 install-html) \
29033 || exit 1
29035 @endif expect
29037 .PHONY: maybe-installcheck-expect installcheck-expect
29038 maybe-installcheck-expect:
29039 @if expect
29040 maybe-installcheck-expect: installcheck-expect
29042 installcheck-expect: \
29043 configure-expect
29044 @: $(MAKE); $(unstage)
29045 @[ -f ./expect/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 installcheck in expect" ; \
29053 (cd $(HOST_SUBDIR)/expect && \
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 installcheck) \
29059 || exit 1
29061 @endif expect
29063 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29064 maybe-mostlyclean-expect:
29065 @if expect
29066 maybe-mostlyclean-expect: mostlyclean-expect
29068 mostlyclean-expect:
29069 @: $(MAKE); $(unstage)
29070 @[ -f ./expect/Makefile ] || exit 0; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(HOST_EXPORTS) \
29074 for flag in $(EXTRA_HOST_FLAGS) ; do \
29075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29076 done; \
29077 echo "Doing mostlyclean in expect" ; \
29078 (cd $(HOST_SUBDIR)/expect && \
29079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29081 "RANLIB=$${RANLIB}" \
29082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29083 mostlyclean) \
29084 || exit 1
29086 @endif expect
29088 .PHONY: maybe-clean-expect clean-expect
29089 maybe-clean-expect:
29090 @if expect
29091 maybe-clean-expect: clean-expect
29093 clean-expect:
29094 @: $(MAKE); $(unstage)
29095 @[ -f ./expect/Makefile ] || exit 0; \
29096 r=`${PWD_COMMAND}`; export r; \
29097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29098 $(HOST_EXPORTS) \
29099 for flag in $(EXTRA_HOST_FLAGS) ; do \
29100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29101 done; \
29102 echo "Doing clean in expect" ; \
29103 (cd $(HOST_SUBDIR)/expect && \
29104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29106 "RANLIB=$${RANLIB}" \
29107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29108 clean) \
29109 || exit 1
29111 @endif expect
29113 .PHONY: maybe-distclean-expect distclean-expect
29114 maybe-distclean-expect:
29115 @if expect
29116 maybe-distclean-expect: distclean-expect
29118 distclean-expect:
29119 @: $(MAKE); $(unstage)
29120 @[ -f ./expect/Makefile ] || exit 0; \
29121 r=`${PWD_COMMAND}`; export r; \
29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29123 $(HOST_EXPORTS) \
29124 for flag in $(EXTRA_HOST_FLAGS) ; do \
29125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29126 done; \
29127 echo "Doing distclean in expect" ; \
29128 (cd $(HOST_SUBDIR)/expect && \
29129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29131 "RANLIB=$${RANLIB}" \
29132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29133 distclean) \
29134 || exit 1
29136 @endif expect
29138 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29139 maybe-maintainer-clean-expect:
29140 @if expect
29141 maybe-maintainer-clean-expect: maintainer-clean-expect
29143 maintainer-clean-expect:
29144 @: $(MAKE); $(unstage)
29145 @[ -f ./expect/Makefile ] || exit 0; \
29146 r=`${PWD_COMMAND}`; export r; \
29147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29148 $(HOST_EXPORTS) \
29149 for flag in $(EXTRA_HOST_FLAGS) ; do \
29150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29151 done; \
29152 echo "Doing maintainer-clean in expect" ; \
29153 (cd $(HOST_SUBDIR)/expect && \
29154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29156 "RANLIB=$${RANLIB}" \
29157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29158 maintainer-clean) \
29159 || exit 1
29161 @endif expect
29165 .PHONY: configure-guile maybe-configure-guile
29166 maybe-configure-guile:
29167 @if gcc-bootstrap
29168 configure-guile: stage_current
29169 @endif gcc-bootstrap
29170 @if guile
29171 maybe-configure-guile: configure-guile
29172 configure-guile:
29173 @: $(MAKE); $(unstage)
29174 @r=`${PWD_COMMAND}`; export r; \
29175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29176 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29178 $(HOST_EXPORTS) \
29179 echo Configuring in $(HOST_SUBDIR)/guile; \
29180 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29181 case $(srcdir) in \
29182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29183 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29185 esac; \
29186 module_srcdir=guile; \
29187 $(SHELL) \
29188 $$s/$$module_srcdir/configure \
29189 --srcdir=$${topdir}/$$module_srcdir \
29190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29191 --target=${target_alias} \
29192 || exit 1
29193 @endif guile
29199 .PHONY: all-guile maybe-all-guile
29200 maybe-all-guile:
29201 @if gcc-bootstrap
29202 all-guile: stage_current
29203 @endif gcc-bootstrap
29204 @if guile
29205 TARGET-guile=all
29206 maybe-all-guile: all-guile
29207 all-guile: configure-guile
29208 @: $(MAKE); $(unstage)
29209 @r=`${PWD_COMMAND}`; export r; \
29210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29211 $(HOST_EXPORTS) \
29212 (cd $(HOST_SUBDIR)/guile && \
29213 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29214 $(TARGET-guile))
29215 @endif guile
29220 .PHONY: check-guile maybe-check-guile
29221 maybe-check-guile:
29222 @if guile
29223 maybe-check-guile: check-guile
29225 check-guile:
29226 @: $(MAKE); $(unstage)
29227 @r=`${PWD_COMMAND}`; export r; \
29228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29229 $(HOST_EXPORTS) \
29230 (cd $(HOST_SUBDIR)/guile && \
29231 $(MAKE) $(FLAGS_TO_PASS) check)
29233 @endif guile
29235 .PHONY: install-guile maybe-install-guile
29236 maybe-install-guile:
29237 @if guile
29238 maybe-install-guile: install-guile
29240 install-guile: installdirs
29241 @: $(MAKE); $(unstage)
29242 @r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 $(HOST_EXPORTS) \
29245 (cd $(HOST_SUBDIR)/guile && \
29246 $(MAKE) $(FLAGS_TO_PASS) install)
29248 @endif guile
29250 .PHONY: install-strip-guile maybe-install-strip-guile
29251 maybe-install-strip-guile:
29252 @if guile
29253 maybe-install-strip-guile: install-strip-guile
29255 install-strip-guile: installdirs
29256 @: $(MAKE); $(unstage)
29257 @r=`${PWD_COMMAND}`; export r; \
29258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29259 $(HOST_EXPORTS) \
29260 (cd $(HOST_SUBDIR)/guile && \
29261 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29263 @endif guile
29265 # Other targets (info, dvi, pdf, etc.)
29267 .PHONY: maybe-info-guile info-guile
29268 maybe-info-guile:
29269 @if guile
29270 maybe-info-guile: info-guile
29272 info-guile: \
29273 configure-guile
29274 @: $(MAKE); $(unstage)
29275 @[ -f ./guile/Makefile ] || exit 0; \
29276 r=`${PWD_COMMAND}`; export r; \
29277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29278 $(HOST_EXPORTS) \
29279 for flag in $(EXTRA_HOST_FLAGS) ; do \
29280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29281 done; \
29282 echo "Doing info in guile" ; \
29283 (cd $(HOST_SUBDIR)/guile && \
29284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29286 "RANLIB=$${RANLIB}" \
29287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29288 info) \
29289 || exit 1
29291 @endif guile
29293 .PHONY: maybe-dvi-guile dvi-guile
29294 maybe-dvi-guile:
29295 @if guile
29296 maybe-dvi-guile: dvi-guile
29298 dvi-guile: \
29299 configure-guile
29300 @: $(MAKE); $(unstage)
29301 @[ -f ./guile/Makefile ] || exit 0; \
29302 r=`${PWD_COMMAND}`; export r; \
29303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29304 $(HOST_EXPORTS) \
29305 for flag in $(EXTRA_HOST_FLAGS) ; do \
29306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29307 done; \
29308 echo "Doing dvi in guile" ; \
29309 (cd $(HOST_SUBDIR)/guile && \
29310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29312 "RANLIB=$${RANLIB}" \
29313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29314 dvi) \
29315 || exit 1
29317 @endif guile
29319 .PHONY: maybe-pdf-guile pdf-guile
29320 maybe-pdf-guile:
29321 @if guile
29322 maybe-pdf-guile: pdf-guile
29324 pdf-guile: \
29325 configure-guile
29326 @: $(MAKE); $(unstage)
29327 @[ -f ./guile/Makefile ] || exit 0; \
29328 r=`${PWD_COMMAND}`; export r; \
29329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29330 $(HOST_EXPORTS) \
29331 for flag in $(EXTRA_HOST_FLAGS) ; do \
29332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29333 done; \
29334 echo "Doing pdf in guile" ; \
29335 (cd $(HOST_SUBDIR)/guile && \
29336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29338 "RANLIB=$${RANLIB}" \
29339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29340 pdf) \
29341 || exit 1
29343 @endif guile
29345 .PHONY: maybe-html-guile html-guile
29346 maybe-html-guile:
29347 @if guile
29348 maybe-html-guile: html-guile
29350 html-guile: \
29351 configure-guile
29352 @: $(MAKE); $(unstage)
29353 @[ -f ./guile/Makefile ] || exit 0; \
29354 r=`${PWD_COMMAND}`; export r; \
29355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29356 $(HOST_EXPORTS) \
29357 for flag in $(EXTRA_HOST_FLAGS) ; do \
29358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29359 done; \
29360 echo "Doing html in guile" ; \
29361 (cd $(HOST_SUBDIR)/guile && \
29362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29364 "RANLIB=$${RANLIB}" \
29365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29366 html) \
29367 || exit 1
29369 @endif guile
29371 .PHONY: maybe-TAGS-guile TAGS-guile
29372 maybe-TAGS-guile:
29373 @if guile
29374 maybe-TAGS-guile: TAGS-guile
29376 TAGS-guile: \
29377 configure-guile
29378 @: $(MAKE); $(unstage)
29379 @[ -f ./guile/Makefile ] || exit 0; \
29380 r=`${PWD_COMMAND}`; export r; \
29381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29382 $(HOST_EXPORTS) \
29383 for flag in $(EXTRA_HOST_FLAGS) ; do \
29384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29385 done; \
29386 echo "Doing TAGS in guile" ; \
29387 (cd $(HOST_SUBDIR)/guile && \
29388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29390 "RANLIB=$${RANLIB}" \
29391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29392 TAGS) \
29393 || exit 1
29395 @endif guile
29397 .PHONY: maybe-install-info-guile install-info-guile
29398 maybe-install-info-guile:
29399 @if guile
29400 maybe-install-info-guile: install-info-guile
29402 install-info-guile: \
29403 configure-guile \
29404 info-guile
29405 @: $(MAKE); $(unstage)
29406 @[ -f ./guile/Makefile ] || exit 0; \
29407 r=`${PWD_COMMAND}`; export r; \
29408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29409 $(HOST_EXPORTS) \
29410 for flag in $(EXTRA_HOST_FLAGS) ; do \
29411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29412 done; \
29413 echo "Doing install-info in guile" ; \
29414 (cd $(HOST_SUBDIR)/guile && \
29415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29417 "RANLIB=$${RANLIB}" \
29418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29419 install-info) \
29420 || exit 1
29422 @endif guile
29424 .PHONY: maybe-install-pdf-guile install-pdf-guile
29425 maybe-install-pdf-guile:
29426 @if guile
29427 maybe-install-pdf-guile: install-pdf-guile
29429 install-pdf-guile: \
29430 configure-guile \
29431 pdf-guile
29432 @: $(MAKE); $(unstage)
29433 @[ -f ./guile/Makefile ] || exit 0; \
29434 r=`${PWD_COMMAND}`; export r; \
29435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29436 $(HOST_EXPORTS) \
29437 for flag in $(EXTRA_HOST_FLAGS) ; do \
29438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29439 done; \
29440 echo "Doing install-pdf in guile" ; \
29441 (cd $(HOST_SUBDIR)/guile && \
29442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29444 "RANLIB=$${RANLIB}" \
29445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29446 install-pdf) \
29447 || exit 1
29449 @endif guile
29451 .PHONY: maybe-install-html-guile install-html-guile
29452 maybe-install-html-guile:
29453 @if guile
29454 maybe-install-html-guile: install-html-guile
29456 install-html-guile: \
29457 configure-guile \
29458 html-guile
29459 @: $(MAKE); $(unstage)
29460 @[ -f ./guile/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 install-html in guile" ; \
29468 (cd $(HOST_SUBDIR)/guile && \
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 install-html) \
29474 || exit 1
29476 @endif guile
29478 .PHONY: maybe-installcheck-guile installcheck-guile
29479 maybe-installcheck-guile:
29480 @if guile
29481 maybe-installcheck-guile: installcheck-guile
29483 installcheck-guile: \
29484 configure-guile
29485 @: $(MAKE); $(unstage)
29486 @[ -f ./guile/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 installcheck in guile" ; \
29494 (cd $(HOST_SUBDIR)/guile && \
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 installcheck) \
29500 || exit 1
29502 @endif guile
29504 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29505 maybe-mostlyclean-guile:
29506 @if guile
29507 maybe-mostlyclean-guile: mostlyclean-guile
29509 mostlyclean-guile:
29510 @: $(MAKE); $(unstage)
29511 @[ -f ./guile/Makefile ] || exit 0; \
29512 r=`${PWD_COMMAND}`; export r; \
29513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 $(HOST_EXPORTS) \
29515 for flag in $(EXTRA_HOST_FLAGS) ; do \
29516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29517 done; \
29518 echo "Doing mostlyclean in guile" ; \
29519 (cd $(HOST_SUBDIR)/guile && \
29520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29522 "RANLIB=$${RANLIB}" \
29523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29524 mostlyclean) \
29525 || exit 1
29527 @endif guile
29529 .PHONY: maybe-clean-guile clean-guile
29530 maybe-clean-guile:
29531 @if guile
29532 maybe-clean-guile: clean-guile
29534 clean-guile:
29535 @: $(MAKE); $(unstage)
29536 @[ -f ./guile/Makefile ] || exit 0; \
29537 r=`${PWD_COMMAND}`; export r; \
29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29539 $(HOST_EXPORTS) \
29540 for flag in $(EXTRA_HOST_FLAGS) ; do \
29541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29542 done; \
29543 echo "Doing clean in guile" ; \
29544 (cd $(HOST_SUBDIR)/guile && \
29545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29547 "RANLIB=$${RANLIB}" \
29548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29549 clean) \
29550 || exit 1
29552 @endif guile
29554 .PHONY: maybe-distclean-guile distclean-guile
29555 maybe-distclean-guile:
29556 @if guile
29557 maybe-distclean-guile: distclean-guile
29559 distclean-guile:
29560 @: $(MAKE); $(unstage)
29561 @[ -f ./guile/Makefile ] || exit 0; \
29562 r=`${PWD_COMMAND}`; export r; \
29563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29564 $(HOST_EXPORTS) \
29565 for flag in $(EXTRA_HOST_FLAGS) ; do \
29566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29567 done; \
29568 echo "Doing distclean in guile" ; \
29569 (cd $(HOST_SUBDIR)/guile && \
29570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29572 "RANLIB=$${RANLIB}" \
29573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29574 distclean) \
29575 || exit 1
29577 @endif guile
29579 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29580 maybe-maintainer-clean-guile:
29581 @if guile
29582 maybe-maintainer-clean-guile: maintainer-clean-guile
29584 maintainer-clean-guile:
29585 @: $(MAKE); $(unstage)
29586 @[ -f ./guile/Makefile ] || exit 0; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(HOST_EXPORTS) \
29590 for flag in $(EXTRA_HOST_FLAGS) ; do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 echo "Doing maintainer-clean in guile" ; \
29594 (cd $(HOST_SUBDIR)/guile && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29599 maintainer-clean) \
29600 || exit 1
29602 @endif guile
29606 .PHONY: configure-tk maybe-configure-tk
29607 maybe-configure-tk:
29608 @if gcc-bootstrap
29609 configure-tk: stage_current
29610 @endif gcc-bootstrap
29611 @if tk
29612 maybe-configure-tk: configure-tk
29613 configure-tk:
29614 @: $(MAKE); $(unstage)
29615 @r=`${PWD_COMMAND}`; export r; \
29616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29617 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
29619 $(HOST_EXPORTS) \
29620 echo Configuring in $(HOST_SUBDIR)/tk; \
29621 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29622 case $(srcdir) in \
29623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29624 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
29625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29626 esac; \
29627 module_srcdir=tk; \
29628 $(SHELL) \
29629 $$s/$$module_srcdir/configure \
29630 --srcdir=$${topdir}/$$module_srcdir \
29631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29632 --target=${target_alias} \
29633 || exit 1
29634 @endif tk
29640 .PHONY: all-tk maybe-all-tk
29641 maybe-all-tk:
29642 @if gcc-bootstrap
29643 all-tk: stage_current
29644 @endif gcc-bootstrap
29645 @if tk
29646 TARGET-tk=all
29647 maybe-all-tk: all-tk
29648 all-tk: configure-tk
29649 @: $(MAKE); $(unstage)
29650 @r=`${PWD_COMMAND}`; export r; \
29651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29652 $(HOST_EXPORTS) \
29653 (cd $(HOST_SUBDIR)/tk && \
29654 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29655 $(TARGET-tk))
29656 @endif tk
29661 .PHONY: check-tk maybe-check-tk
29662 maybe-check-tk:
29663 @if tk
29664 maybe-check-tk: check-tk
29666 check-tk:
29667 @: $(MAKE); $(unstage)
29668 @r=`${PWD_COMMAND}`; export r; \
29669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29670 $(HOST_EXPORTS) \
29671 (cd $(HOST_SUBDIR)/tk && \
29672 $(MAKE) $(FLAGS_TO_PASS) check)
29674 @endif tk
29676 .PHONY: install-tk maybe-install-tk
29677 maybe-install-tk:
29678 @if tk
29679 maybe-install-tk: install-tk
29681 install-tk: installdirs
29682 @: $(MAKE); $(unstage)
29683 @r=`${PWD_COMMAND}`; export r; \
29684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29685 $(HOST_EXPORTS) \
29686 (cd $(HOST_SUBDIR)/tk && \
29687 $(MAKE) $(FLAGS_TO_PASS) install)
29689 @endif tk
29691 .PHONY: install-strip-tk maybe-install-strip-tk
29692 maybe-install-strip-tk:
29693 @if tk
29694 maybe-install-strip-tk: install-strip-tk
29696 install-strip-tk: installdirs
29697 @: $(MAKE); $(unstage)
29698 @r=`${PWD_COMMAND}`; export r; \
29699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29700 $(HOST_EXPORTS) \
29701 (cd $(HOST_SUBDIR)/tk && \
29702 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29704 @endif tk
29706 # Other targets (info, dvi, pdf, etc.)
29708 .PHONY: maybe-info-tk info-tk
29709 maybe-info-tk:
29710 @if tk
29711 maybe-info-tk: info-tk
29713 info-tk: \
29714 configure-tk
29715 @: $(MAKE); $(unstage)
29716 @[ -f ./tk/Makefile ] || exit 0; \
29717 r=`${PWD_COMMAND}`; export r; \
29718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29719 $(HOST_EXPORTS) \
29720 for flag in $(EXTRA_HOST_FLAGS) ; do \
29721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29722 done; \
29723 echo "Doing info in tk" ; \
29724 (cd $(HOST_SUBDIR)/tk && \
29725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29727 "RANLIB=$${RANLIB}" \
29728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29729 info) \
29730 || exit 1
29732 @endif tk
29734 .PHONY: maybe-dvi-tk dvi-tk
29735 maybe-dvi-tk:
29736 @if tk
29737 maybe-dvi-tk: dvi-tk
29739 dvi-tk: \
29740 configure-tk
29741 @: $(MAKE); $(unstage)
29742 @[ -f ./tk/Makefile ] || exit 0; \
29743 r=`${PWD_COMMAND}`; export r; \
29744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29745 $(HOST_EXPORTS) \
29746 for flag in $(EXTRA_HOST_FLAGS) ; do \
29747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29748 done; \
29749 echo "Doing dvi in tk" ; \
29750 (cd $(HOST_SUBDIR)/tk && \
29751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29753 "RANLIB=$${RANLIB}" \
29754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29755 dvi) \
29756 || exit 1
29758 @endif tk
29760 .PHONY: maybe-pdf-tk pdf-tk
29761 maybe-pdf-tk:
29762 @if tk
29763 maybe-pdf-tk: pdf-tk
29765 pdf-tk: \
29766 configure-tk
29767 @: $(MAKE); $(unstage)
29768 @[ -f ./tk/Makefile ] || exit 0; \
29769 r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(HOST_EXPORTS) \
29772 for flag in $(EXTRA_HOST_FLAGS) ; do \
29773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29774 done; \
29775 echo "Doing pdf in tk" ; \
29776 (cd $(HOST_SUBDIR)/tk && \
29777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29779 "RANLIB=$${RANLIB}" \
29780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29781 pdf) \
29782 || exit 1
29784 @endif tk
29786 .PHONY: maybe-html-tk html-tk
29787 maybe-html-tk:
29788 @if tk
29789 maybe-html-tk: html-tk
29791 html-tk: \
29792 configure-tk
29793 @: $(MAKE); $(unstage)
29794 @[ -f ./tk/Makefile ] || exit 0; \
29795 r=`${PWD_COMMAND}`; export r; \
29796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29797 $(HOST_EXPORTS) \
29798 for flag in $(EXTRA_HOST_FLAGS) ; do \
29799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29800 done; \
29801 echo "Doing html in tk" ; \
29802 (cd $(HOST_SUBDIR)/tk && \
29803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29805 "RANLIB=$${RANLIB}" \
29806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29807 html) \
29808 || exit 1
29810 @endif tk
29812 .PHONY: maybe-TAGS-tk TAGS-tk
29813 maybe-TAGS-tk:
29814 @if tk
29815 maybe-TAGS-tk: TAGS-tk
29817 TAGS-tk: \
29818 configure-tk
29819 @: $(MAKE); $(unstage)
29820 @[ -f ./tk/Makefile ] || exit 0; \
29821 r=`${PWD_COMMAND}`; export r; \
29822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29823 $(HOST_EXPORTS) \
29824 for flag in $(EXTRA_HOST_FLAGS) ; do \
29825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29826 done; \
29827 echo "Doing TAGS in tk" ; \
29828 (cd $(HOST_SUBDIR)/tk && \
29829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29831 "RANLIB=$${RANLIB}" \
29832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29833 TAGS) \
29834 || exit 1
29836 @endif tk
29838 .PHONY: maybe-install-info-tk install-info-tk
29839 maybe-install-info-tk:
29840 @if tk
29841 maybe-install-info-tk: install-info-tk
29843 install-info-tk: \
29844 configure-tk \
29845 info-tk
29846 @: $(MAKE); $(unstage)
29847 @[ -f ./tk/Makefile ] || exit 0; \
29848 r=`${PWD_COMMAND}`; export r; \
29849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29850 $(HOST_EXPORTS) \
29851 for flag in $(EXTRA_HOST_FLAGS) ; do \
29852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29853 done; \
29854 echo "Doing install-info in tk" ; \
29855 (cd $(HOST_SUBDIR)/tk && \
29856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29858 "RANLIB=$${RANLIB}" \
29859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29860 install-info) \
29861 || exit 1
29863 @endif tk
29865 .PHONY: maybe-install-pdf-tk install-pdf-tk
29866 maybe-install-pdf-tk:
29867 @if tk
29868 maybe-install-pdf-tk: install-pdf-tk
29870 install-pdf-tk: \
29871 configure-tk \
29872 pdf-tk
29873 @: $(MAKE); $(unstage)
29874 @[ -f ./tk/Makefile ] || exit 0; \
29875 r=`${PWD_COMMAND}`; export r; \
29876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29877 $(HOST_EXPORTS) \
29878 for flag in $(EXTRA_HOST_FLAGS) ; do \
29879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29880 done; \
29881 echo "Doing install-pdf in tk" ; \
29882 (cd $(HOST_SUBDIR)/tk && \
29883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29885 "RANLIB=$${RANLIB}" \
29886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29887 install-pdf) \
29888 || exit 1
29890 @endif tk
29892 .PHONY: maybe-install-html-tk install-html-tk
29893 maybe-install-html-tk:
29894 @if tk
29895 maybe-install-html-tk: install-html-tk
29897 install-html-tk: \
29898 configure-tk \
29899 html-tk
29900 @: $(MAKE); $(unstage)
29901 @[ -f ./tk/Makefile ] || exit 0; \
29902 r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 $(HOST_EXPORTS) \
29905 for flag in $(EXTRA_HOST_FLAGS) ; do \
29906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29907 done; \
29908 echo "Doing install-html in tk" ; \
29909 (cd $(HOST_SUBDIR)/tk && \
29910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29912 "RANLIB=$${RANLIB}" \
29913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29914 install-html) \
29915 || exit 1
29917 @endif tk
29919 .PHONY: maybe-installcheck-tk installcheck-tk
29920 maybe-installcheck-tk:
29921 @if tk
29922 maybe-installcheck-tk: installcheck-tk
29924 installcheck-tk: \
29925 configure-tk
29926 @: $(MAKE); $(unstage)
29927 @[ -f ./tk/Makefile ] || exit 0; \
29928 r=`${PWD_COMMAND}`; export r; \
29929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29930 $(HOST_EXPORTS) \
29931 for flag in $(EXTRA_HOST_FLAGS) ; do \
29932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29933 done; \
29934 echo "Doing installcheck in tk" ; \
29935 (cd $(HOST_SUBDIR)/tk && \
29936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29938 "RANLIB=$${RANLIB}" \
29939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29940 installcheck) \
29941 || exit 1
29943 @endif tk
29945 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29946 maybe-mostlyclean-tk:
29947 @if tk
29948 maybe-mostlyclean-tk: mostlyclean-tk
29950 mostlyclean-tk:
29951 @: $(MAKE); $(unstage)
29952 @[ -f ./tk/Makefile ] || exit 0; \
29953 r=`${PWD_COMMAND}`; export r; \
29954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29955 $(HOST_EXPORTS) \
29956 for flag in $(EXTRA_HOST_FLAGS) ; do \
29957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29958 done; \
29959 echo "Doing mostlyclean in tk" ; \
29960 (cd $(HOST_SUBDIR)/tk && \
29961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29963 "RANLIB=$${RANLIB}" \
29964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29965 mostlyclean) \
29966 || exit 1
29968 @endif tk
29970 .PHONY: maybe-clean-tk clean-tk
29971 maybe-clean-tk:
29972 @if tk
29973 maybe-clean-tk: clean-tk
29975 clean-tk:
29976 @: $(MAKE); $(unstage)
29977 @[ -f ./tk/Makefile ] || exit 0; \
29978 r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(HOST_EXPORTS) \
29981 for flag in $(EXTRA_HOST_FLAGS) ; do \
29982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29983 done; \
29984 echo "Doing clean in tk" ; \
29985 (cd $(HOST_SUBDIR)/tk && \
29986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29988 "RANLIB=$${RANLIB}" \
29989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29990 clean) \
29991 || exit 1
29993 @endif tk
29995 .PHONY: maybe-distclean-tk distclean-tk
29996 maybe-distclean-tk:
29997 @if tk
29998 maybe-distclean-tk: distclean-tk
30000 distclean-tk:
30001 @: $(MAKE); $(unstage)
30002 @[ -f ./tk/Makefile ] || exit 0; \
30003 r=`${PWD_COMMAND}`; export r; \
30004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30005 $(HOST_EXPORTS) \
30006 for flag in $(EXTRA_HOST_FLAGS) ; do \
30007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30008 done; \
30009 echo "Doing distclean in tk" ; \
30010 (cd $(HOST_SUBDIR)/tk && \
30011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30013 "RANLIB=$${RANLIB}" \
30014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30015 distclean) \
30016 || exit 1
30018 @endif tk
30020 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30021 maybe-maintainer-clean-tk:
30022 @if tk
30023 maybe-maintainer-clean-tk: maintainer-clean-tk
30025 maintainer-clean-tk:
30026 @: $(MAKE); $(unstage)
30027 @[ -f ./tk/Makefile ] || exit 0; \
30028 r=`${PWD_COMMAND}`; export r; \
30029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30030 $(HOST_EXPORTS) \
30031 for flag in $(EXTRA_HOST_FLAGS) ; do \
30032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30033 done; \
30034 echo "Doing maintainer-clean in tk" ; \
30035 (cd $(HOST_SUBDIR)/tk && \
30036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30038 "RANLIB=$${RANLIB}" \
30039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30040 maintainer-clean) \
30041 || exit 1
30043 @endif tk
30047 .PHONY: configure-libtermcap maybe-configure-libtermcap
30048 maybe-configure-libtermcap:
30049 @if gcc-bootstrap
30050 configure-libtermcap: stage_current
30051 @endif gcc-bootstrap
30052 @if libtermcap
30053 maybe-configure-libtermcap: configure-libtermcap
30054 configure-libtermcap:
30055 @: $(MAKE); $(unstage)
30056 @r=`${PWD_COMMAND}`; export r; \
30057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30058 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30060 $(HOST_EXPORTS) \
30061 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30062 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30063 case $(srcdir) in \
30064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30065 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30067 esac; \
30068 module_srcdir=libtermcap; \
30069 $(SHELL) \
30070 $$s/$$module_srcdir/configure \
30071 --srcdir=$${topdir}/$$module_srcdir \
30072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30073 --target=${target_alias} \
30074 || exit 1
30075 @endif libtermcap
30081 .PHONY: all-libtermcap maybe-all-libtermcap
30082 maybe-all-libtermcap:
30083 @if gcc-bootstrap
30084 all-libtermcap: stage_current
30085 @endif gcc-bootstrap
30086 @if libtermcap
30087 TARGET-libtermcap=all
30088 maybe-all-libtermcap: all-libtermcap
30089 all-libtermcap: configure-libtermcap
30090 @: $(MAKE); $(unstage)
30091 @r=`${PWD_COMMAND}`; export r; \
30092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30093 $(HOST_EXPORTS) \
30094 (cd $(HOST_SUBDIR)/libtermcap && \
30095 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30096 $(TARGET-libtermcap))
30097 @endif libtermcap
30102 .PHONY: check-libtermcap maybe-check-libtermcap
30103 maybe-check-libtermcap:
30104 @if libtermcap
30105 maybe-check-libtermcap: check-libtermcap
30107 check-libtermcap:
30109 @endif libtermcap
30111 .PHONY: install-libtermcap maybe-install-libtermcap
30112 maybe-install-libtermcap:
30113 @if libtermcap
30114 maybe-install-libtermcap: install-libtermcap
30116 install-libtermcap: installdirs
30117 @: $(MAKE); $(unstage)
30118 @r=`${PWD_COMMAND}`; export r; \
30119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30120 $(HOST_EXPORTS) \
30121 (cd $(HOST_SUBDIR)/libtermcap && \
30122 $(MAKE) $(FLAGS_TO_PASS) install)
30124 @endif libtermcap
30126 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
30127 maybe-install-strip-libtermcap:
30128 @if libtermcap
30129 maybe-install-strip-libtermcap: install-strip-libtermcap
30131 install-strip-libtermcap: installdirs
30132 @: $(MAKE); $(unstage)
30133 @r=`${PWD_COMMAND}`; export r; \
30134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30135 $(HOST_EXPORTS) \
30136 (cd $(HOST_SUBDIR)/libtermcap && \
30137 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30139 @endif libtermcap
30141 # Other targets (info, dvi, pdf, etc.)
30143 .PHONY: maybe-info-libtermcap info-libtermcap
30144 maybe-info-libtermcap:
30145 @if libtermcap
30146 maybe-info-libtermcap: info-libtermcap
30148 info-libtermcap: \
30149 configure-libtermcap
30150 @: $(MAKE); $(unstage)
30151 @[ -f ./libtermcap/Makefile ] || exit 0; \
30152 r=`${PWD_COMMAND}`; export r; \
30153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30154 $(HOST_EXPORTS) \
30155 for flag in $(EXTRA_HOST_FLAGS) ; do \
30156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30157 done; \
30158 echo "Doing info in libtermcap" ; \
30159 (cd $(HOST_SUBDIR)/libtermcap && \
30160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30162 "RANLIB=$${RANLIB}" \
30163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30164 info) \
30165 || exit 1
30167 @endif libtermcap
30169 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30170 maybe-dvi-libtermcap:
30171 @if libtermcap
30172 maybe-dvi-libtermcap: dvi-libtermcap
30174 dvi-libtermcap: \
30175 configure-libtermcap
30176 @: $(MAKE); $(unstage)
30177 @[ -f ./libtermcap/Makefile ] || exit 0; \
30178 r=`${PWD_COMMAND}`; export r; \
30179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30180 $(HOST_EXPORTS) \
30181 for flag in $(EXTRA_HOST_FLAGS) ; do \
30182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30183 done; \
30184 echo "Doing dvi in libtermcap" ; \
30185 (cd $(HOST_SUBDIR)/libtermcap && \
30186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30188 "RANLIB=$${RANLIB}" \
30189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30190 dvi) \
30191 || exit 1
30193 @endif libtermcap
30195 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
30196 maybe-pdf-libtermcap:
30197 @if libtermcap
30198 maybe-pdf-libtermcap: pdf-libtermcap
30200 pdf-libtermcap: \
30201 configure-libtermcap
30202 @: $(MAKE); $(unstage)
30203 @[ -f ./libtermcap/Makefile ] || exit 0; \
30204 r=`${PWD_COMMAND}`; export r; \
30205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30206 $(HOST_EXPORTS) \
30207 for flag in $(EXTRA_HOST_FLAGS) ; do \
30208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30209 done; \
30210 echo "Doing pdf in libtermcap" ; \
30211 (cd $(HOST_SUBDIR)/libtermcap && \
30212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30214 "RANLIB=$${RANLIB}" \
30215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30216 pdf) \
30217 || exit 1
30219 @endif libtermcap
30221 .PHONY: maybe-html-libtermcap html-libtermcap
30222 maybe-html-libtermcap:
30223 @if libtermcap
30224 maybe-html-libtermcap: html-libtermcap
30226 html-libtermcap: \
30227 configure-libtermcap
30228 @: $(MAKE); $(unstage)
30229 @[ -f ./libtermcap/Makefile ] || exit 0; \
30230 r=`${PWD_COMMAND}`; export r; \
30231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30232 $(HOST_EXPORTS) \
30233 for flag in $(EXTRA_HOST_FLAGS) ; do \
30234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30235 done; \
30236 echo "Doing html in libtermcap" ; \
30237 (cd $(HOST_SUBDIR)/libtermcap && \
30238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30240 "RANLIB=$${RANLIB}" \
30241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30242 html) \
30243 || exit 1
30245 @endif libtermcap
30247 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30248 maybe-TAGS-libtermcap:
30249 @if libtermcap
30250 maybe-TAGS-libtermcap: TAGS-libtermcap
30252 TAGS-libtermcap: \
30253 configure-libtermcap
30254 @: $(MAKE); $(unstage)
30255 @[ -f ./libtermcap/Makefile ] || exit 0; \
30256 r=`${PWD_COMMAND}`; export r; \
30257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30258 $(HOST_EXPORTS) \
30259 for flag in $(EXTRA_HOST_FLAGS) ; do \
30260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30261 done; \
30262 echo "Doing TAGS in libtermcap" ; \
30263 (cd $(HOST_SUBDIR)/libtermcap && \
30264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30266 "RANLIB=$${RANLIB}" \
30267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30268 TAGS) \
30269 || exit 1
30271 @endif libtermcap
30273 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30274 maybe-install-info-libtermcap:
30275 @if libtermcap
30276 maybe-install-info-libtermcap: install-info-libtermcap
30278 install-info-libtermcap: \
30279 configure-libtermcap \
30280 info-libtermcap
30281 @: $(MAKE); $(unstage)
30282 @[ -f ./libtermcap/Makefile ] || exit 0; \
30283 r=`${PWD_COMMAND}`; export r; \
30284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30285 $(HOST_EXPORTS) \
30286 for flag in $(EXTRA_HOST_FLAGS) ; do \
30287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30288 done; \
30289 echo "Doing install-info in libtermcap" ; \
30290 (cd $(HOST_SUBDIR)/libtermcap && \
30291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30293 "RANLIB=$${RANLIB}" \
30294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30295 install-info) \
30296 || exit 1
30298 @endif libtermcap
30300 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
30301 maybe-install-pdf-libtermcap:
30302 @if libtermcap
30303 maybe-install-pdf-libtermcap: install-pdf-libtermcap
30305 install-pdf-libtermcap: \
30306 configure-libtermcap \
30307 pdf-libtermcap
30308 @: $(MAKE); $(unstage)
30309 @[ -f ./libtermcap/Makefile ] || exit 0; \
30310 r=`${PWD_COMMAND}`; export r; \
30311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30312 $(HOST_EXPORTS) \
30313 for flag in $(EXTRA_HOST_FLAGS) ; do \
30314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30315 done; \
30316 echo "Doing install-pdf in libtermcap" ; \
30317 (cd $(HOST_SUBDIR)/libtermcap && \
30318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30320 "RANLIB=$${RANLIB}" \
30321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30322 install-pdf) \
30323 || exit 1
30325 @endif libtermcap
30327 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30328 maybe-install-html-libtermcap:
30329 @if libtermcap
30330 maybe-install-html-libtermcap: install-html-libtermcap
30332 install-html-libtermcap: \
30333 configure-libtermcap \
30334 html-libtermcap
30335 @: $(MAKE); $(unstage)
30336 @[ -f ./libtermcap/Makefile ] || exit 0; \
30337 r=`${PWD_COMMAND}`; export r; \
30338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30339 $(HOST_EXPORTS) \
30340 for flag in $(EXTRA_HOST_FLAGS) ; do \
30341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30342 done; \
30343 echo "Doing install-html in libtermcap" ; \
30344 (cd $(HOST_SUBDIR)/libtermcap && \
30345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30347 "RANLIB=$${RANLIB}" \
30348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30349 install-html) \
30350 || exit 1
30352 @endif libtermcap
30354 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30355 maybe-installcheck-libtermcap:
30356 @if libtermcap
30357 maybe-installcheck-libtermcap: installcheck-libtermcap
30359 installcheck-libtermcap: \
30360 configure-libtermcap
30361 @: $(MAKE); $(unstage)
30362 @[ -f ./libtermcap/Makefile ] || exit 0; \
30363 r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(HOST_EXPORTS) \
30366 for flag in $(EXTRA_HOST_FLAGS) ; do \
30367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30368 done; \
30369 echo "Doing installcheck in libtermcap" ; \
30370 (cd $(HOST_SUBDIR)/libtermcap && \
30371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30373 "RANLIB=$${RANLIB}" \
30374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30375 installcheck) \
30376 || exit 1
30378 @endif libtermcap
30380 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30381 maybe-mostlyclean-libtermcap:
30382 @if libtermcap
30383 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30385 # libtermcap doesn't support mostlyclean.
30386 mostlyclean-libtermcap:
30388 @endif libtermcap
30390 .PHONY: maybe-clean-libtermcap clean-libtermcap
30391 maybe-clean-libtermcap:
30392 @if libtermcap
30393 maybe-clean-libtermcap: clean-libtermcap
30395 # libtermcap doesn't support clean.
30396 clean-libtermcap:
30398 @endif libtermcap
30400 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30401 maybe-distclean-libtermcap:
30402 @if libtermcap
30403 maybe-distclean-libtermcap: distclean-libtermcap
30405 # libtermcap doesn't support distclean.
30406 distclean-libtermcap:
30408 @endif libtermcap
30410 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30411 maybe-maintainer-clean-libtermcap:
30412 @if libtermcap
30413 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30415 # libtermcap doesn't support maintainer-clean.
30416 maintainer-clean-libtermcap:
30418 @endif libtermcap
30422 .PHONY: configure-utils maybe-configure-utils
30423 maybe-configure-utils:
30424 @if gcc-bootstrap
30425 configure-utils: stage_current
30426 @endif gcc-bootstrap
30427 @if utils
30428 maybe-configure-utils: configure-utils
30429 configure-utils:
30430 @: $(MAKE); $(unstage)
30431 @r=`${PWD_COMMAND}`; export r; \
30432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30433 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30435 $(HOST_EXPORTS) \
30436 echo Configuring in $(HOST_SUBDIR)/utils; \
30437 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30438 case $(srcdir) in \
30439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30440 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30442 esac; \
30443 module_srcdir=utils; \
30444 $(SHELL) \
30445 $$s/$$module_srcdir/configure \
30446 --srcdir=$${topdir}/$$module_srcdir \
30447 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30448 --target=${target_alias} \
30449 || exit 1
30450 @endif utils
30456 .PHONY: all-utils maybe-all-utils
30457 maybe-all-utils:
30458 @if gcc-bootstrap
30459 all-utils: stage_current
30460 @endif gcc-bootstrap
30461 @if utils
30462 TARGET-utils=all
30463 maybe-all-utils: all-utils
30464 all-utils: configure-utils
30465 @: $(MAKE); $(unstage)
30466 @r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 $(HOST_EXPORTS) \
30469 (cd $(HOST_SUBDIR)/utils && \
30470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30471 $(TARGET-utils))
30472 @endif utils
30477 .PHONY: check-utils maybe-check-utils
30478 maybe-check-utils:
30479 @if utils
30480 maybe-check-utils: check-utils
30482 check-utils:
30484 @endif utils
30486 .PHONY: install-utils maybe-install-utils
30487 maybe-install-utils:
30488 @if utils
30489 maybe-install-utils: install-utils
30491 install-utils: installdirs
30492 @: $(MAKE); $(unstage)
30493 @r=`${PWD_COMMAND}`; export r; \
30494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30495 $(HOST_EXPORTS) \
30496 (cd $(HOST_SUBDIR)/utils && \
30497 $(MAKE) $(FLAGS_TO_PASS) install)
30499 @endif utils
30501 .PHONY: install-strip-utils maybe-install-strip-utils
30502 maybe-install-strip-utils:
30503 @if utils
30504 maybe-install-strip-utils: install-strip-utils
30506 install-strip-utils: installdirs
30507 @: $(MAKE); $(unstage)
30508 @r=`${PWD_COMMAND}`; export r; \
30509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30510 $(HOST_EXPORTS) \
30511 (cd $(HOST_SUBDIR)/utils && \
30512 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30514 @endif utils
30516 # Other targets (info, dvi, pdf, etc.)
30518 .PHONY: maybe-info-utils info-utils
30519 maybe-info-utils:
30520 @if utils
30521 maybe-info-utils: info-utils
30523 info-utils: \
30524 configure-utils
30525 @: $(MAKE); $(unstage)
30526 @[ -f ./utils/Makefile ] || exit 0; \
30527 r=`${PWD_COMMAND}`; export r; \
30528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30529 $(HOST_EXPORTS) \
30530 for flag in $(EXTRA_HOST_FLAGS) ; do \
30531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30532 done; \
30533 echo "Doing info in utils" ; \
30534 (cd $(HOST_SUBDIR)/utils && \
30535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30537 "RANLIB=$${RANLIB}" \
30538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30539 info) \
30540 || exit 1
30542 @endif utils
30544 .PHONY: maybe-dvi-utils dvi-utils
30545 maybe-dvi-utils:
30546 @if utils
30547 maybe-dvi-utils: dvi-utils
30549 dvi-utils: \
30550 configure-utils
30551 @: $(MAKE); $(unstage)
30552 @[ -f ./utils/Makefile ] || exit 0; \
30553 r=`${PWD_COMMAND}`; export r; \
30554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30555 $(HOST_EXPORTS) \
30556 for flag in $(EXTRA_HOST_FLAGS) ; do \
30557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30558 done; \
30559 echo "Doing dvi in utils" ; \
30560 (cd $(HOST_SUBDIR)/utils && \
30561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30563 "RANLIB=$${RANLIB}" \
30564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30565 dvi) \
30566 || exit 1
30568 @endif utils
30570 .PHONY: maybe-pdf-utils pdf-utils
30571 maybe-pdf-utils:
30572 @if utils
30573 maybe-pdf-utils: pdf-utils
30575 pdf-utils: \
30576 configure-utils
30577 @: $(MAKE); $(unstage)
30578 @[ -f ./utils/Makefile ] || exit 0; \
30579 r=`${PWD_COMMAND}`; export r; \
30580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30581 $(HOST_EXPORTS) \
30582 for flag in $(EXTRA_HOST_FLAGS) ; do \
30583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30584 done; \
30585 echo "Doing pdf in utils" ; \
30586 (cd $(HOST_SUBDIR)/utils && \
30587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30589 "RANLIB=$${RANLIB}" \
30590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30591 pdf) \
30592 || exit 1
30594 @endif utils
30596 .PHONY: maybe-html-utils html-utils
30597 maybe-html-utils:
30598 @if utils
30599 maybe-html-utils: html-utils
30601 html-utils: \
30602 configure-utils
30603 @: $(MAKE); $(unstage)
30604 @[ -f ./utils/Makefile ] || exit 0; \
30605 r=`${PWD_COMMAND}`; export r; \
30606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30607 $(HOST_EXPORTS) \
30608 for flag in $(EXTRA_HOST_FLAGS) ; do \
30609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30610 done; \
30611 echo "Doing html in utils" ; \
30612 (cd $(HOST_SUBDIR)/utils && \
30613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30615 "RANLIB=$${RANLIB}" \
30616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30617 html) \
30618 || exit 1
30620 @endif utils
30622 .PHONY: maybe-TAGS-utils TAGS-utils
30623 maybe-TAGS-utils:
30624 @if utils
30625 maybe-TAGS-utils: TAGS-utils
30627 TAGS-utils: \
30628 configure-utils
30629 @: $(MAKE); $(unstage)
30630 @[ -f ./utils/Makefile ] || exit 0; \
30631 r=`${PWD_COMMAND}`; export r; \
30632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30633 $(HOST_EXPORTS) \
30634 for flag in $(EXTRA_HOST_FLAGS) ; do \
30635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30636 done; \
30637 echo "Doing TAGS in utils" ; \
30638 (cd $(HOST_SUBDIR)/utils && \
30639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30641 "RANLIB=$${RANLIB}" \
30642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30643 TAGS) \
30644 || exit 1
30646 @endif utils
30648 .PHONY: maybe-install-info-utils install-info-utils
30649 maybe-install-info-utils:
30650 @if utils
30651 maybe-install-info-utils: install-info-utils
30653 install-info-utils: \
30654 configure-utils \
30655 info-utils
30656 @: $(MAKE); $(unstage)
30657 @[ -f ./utils/Makefile ] || exit 0; \
30658 r=`${PWD_COMMAND}`; export r; \
30659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30660 $(HOST_EXPORTS) \
30661 for flag in $(EXTRA_HOST_FLAGS) ; do \
30662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30663 done; \
30664 echo "Doing install-info in utils" ; \
30665 (cd $(HOST_SUBDIR)/utils && \
30666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30668 "RANLIB=$${RANLIB}" \
30669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30670 install-info) \
30671 || exit 1
30673 @endif utils
30675 .PHONY: maybe-install-pdf-utils install-pdf-utils
30676 maybe-install-pdf-utils:
30677 @if utils
30678 maybe-install-pdf-utils: install-pdf-utils
30680 install-pdf-utils: \
30681 configure-utils \
30682 pdf-utils
30683 @: $(MAKE); $(unstage)
30684 @[ -f ./utils/Makefile ] || exit 0; \
30685 r=`${PWD_COMMAND}`; export r; \
30686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30687 $(HOST_EXPORTS) \
30688 for flag in $(EXTRA_HOST_FLAGS) ; do \
30689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30690 done; \
30691 echo "Doing install-pdf in utils" ; \
30692 (cd $(HOST_SUBDIR)/utils && \
30693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30695 "RANLIB=$${RANLIB}" \
30696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30697 install-pdf) \
30698 || exit 1
30700 @endif utils
30702 .PHONY: maybe-install-html-utils install-html-utils
30703 maybe-install-html-utils:
30704 @if utils
30705 maybe-install-html-utils: install-html-utils
30707 install-html-utils: \
30708 configure-utils \
30709 html-utils
30710 @: $(MAKE); $(unstage)
30711 @[ -f ./utils/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 install-html in utils" ; \
30719 (cd $(HOST_SUBDIR)/utils && \
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 install-html) \
30725 || exit 1
30727 @endif utils
30729 .PHONY: maybe-installcheck-utils installcheck-utils
30730 maybe-installcheck-utils:
30731 @if utils
30732 maybe-installcheck-utils: installcheck-utils
30734 installcheck-utils: \
30735 configure-utils
30736 @: $(MAKE); $(unstage)
30737 @[ -f ./utils/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 installcheck in utils" ; \
30745 (cd $(HOST_SUBDIR)/utils && \
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 installcheck) \
30751 || exit 1
30753 @endif utils
30755 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30756 maybe-mostlyclean-utils:
30757 @if utils
30758 maybe-mostlyclean-utils: mostlyclean-utils
30760 mostlyclean-utils:
30761 @: $(MAKE); $(unstage)
30762 @[ -f ./utils/Makefile ] || exit 0; \
30763 r=`${PWD_COMMAND}`; export r; \
30764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30765 $(HOST_EXPORTS) \
30766 for flag in $(EXTRA_HOST_FLAGS) ; do \
30767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30768 done; \
30769 echo "Doing mostlyclean in utils" ; \
30770 (cd $(HOST_SUBDIR)/utils && \
30771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30773 "RANLIB=$${RANLIB}" \
30774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30775 mostlyclean) \
30776 || exit 1
30778 @endif utils
30780 .PHONY: maybe-clean-utils clean-utils
30781 maybe-clean-utils:
30782 @if utils
30783 maybe-clean-utils: clean-utils
30785 clean-utils:
30786 @: $(MAKE); $(unstage)
30787 @[ -f ./utils/Makefile ] || exit 0; \
30788 r=`${PWD_COMMAND}`; export r; \
30789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30790 $(HOST_EXPORTS) \
30791 for flag in $(EXTRA_HOST_FLAGS) ; do \
30792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30793 done; \
30794 echo "Doing clean in utils" ; \
30795 (cd $(HOST_SUBDIR)/utils && \
30796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30798 "RANLIB=$${RANLIB}" \
30799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30800 clean) \
30801 || exit 1
30803 @endif utils
30805 .PHONY: maybe-distclean-utils distclean-utils
30806 maybe-distclean-utils:
30807 @if utils
30808 maybe-distclean-utils: distclean-utils
30810 distclean-utils:
30811 @: $(MAKE); $(unstage)
30812 @[ -f ./utils/Makefile ] || exit 0; \
30813 r=`${PWD_COMMAND}`; export r; \
30814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30815 $(HOST_EXPORTS) \
30816 for flag in $(EXTRA_HOST_FLAGS) ; do \
30817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30818 done; \
30819 echo "Doing distclean in utils" ; \
30820 (cd $(HOST_SUBDIR)/utils && \
30821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30823 "RANLIB=$${RANLIB}" \
30824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30825 distclean) \
30826 || exit 1
30828 @endif utils
30830 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30831 maybe-maintainer-clean-utils:
30832 @if utils
30833 maybe-maintainer-clean-utils: maintainer-clean-utils
30835 maintainer-clean-utils:
30836 @: $(MAKE); $(unstage)
30837 @[ -f ./utils/Makefile ] || exit 0; \
30838 r=`${PWD_COMMAND}`; export r; \
30839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30840 $(HOST_EXPORTS) \
30841 for flag in $(EXTRA_HOST_FLAGS) ; do \
30842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30843 done; \
30844 echo "Doing maintainer-clean in utils" ; \
30845 (cd $(HOST_SUBDIR)/utils && \
30846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30848 "RANLIB=$${RANLIB}" \
30849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30850 maintainer-clean) \
30851 || exit 1
30853 @endif utils
30857 .PHONY: configure-gnattools maybe-configure-gnattools
30858 maybe-configure-gnattools:
30859 @if gcc-bootstrap
30860 configure-gnattools: stage_current
30861 @endif gcc-bootstrap
30862 @if gnattools
30863 maybe-configure-gnattools: configure-gnattools
30864 configure-gnattools:
30865 @: $(MAKE); $(unstage)
30866 @r=`${PWD_COMMAND}`; export r; \
30867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30868 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30870 $(HOST_EXPORTS) \
30871 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30872 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30873 case $(srcdir) in \
30874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30875 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30877 esac; \
30878 module_srcdir=gnattools; \
30879 $(SHELL) \
30880 $$s/$$module_srcdir/configure \
30881 --srcdir=$${topdir}/$$module_srcdir \
30882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30883 --target=${target_alias} \
30884 || exit 1
30885 @endif gnattools
30891 .PHONY: all-gnattools maybe-all-gnattools
30892 maybe-all-gnattools:
30893 @if gcc-bootstrap
30894 all-gnattools: stage_current
30895 @endif gcc-bootstrap
30896 @if gnattools
30897 TARGET-gnattools=all
30898 maybe-all-gnattools: all-gnattools
30899 all-gnattools: configure-gnattools
30900 @: $(MAKE); $(unstage)
30901 @r=`${PWD_COMMAND}`; export r; \
30902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30903 $(HOST_EXPORTS) \
30904 (cd $(HOST_SUBDIR)/gnattools && \
30905 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30906 $(TARGET-gnattools))
30907 @endif gnattools
30912 .PHONY: check-gnattools maybe-check-gnattools
30913 maybe-check-gnattools:
30914 @if gnattools
30915 maybe-check-gnattools: check-gnattools
30917 check-gnattools:
30918 @: $(MAKE); $(unstage)
30919 @r=`${PWD_COMMAND}`; export r; \
30920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30921 $(HOST_EXPORTS) \
30922 (cd $(HOST_SUBDIR)/gnattools && \
30923 $(MAKE) $(FLAGS_TO_PASS) check)
30925 @endif gnattools
30927 .PHONY: install-gnattools maybe-install-gnattools
30928 maybe-install-gnattools:
30929 @if gnattools
30930 maybe-install-gnattools: install-gnattools
30932 install-gnattools: installdirs
30933 @: $(MAKE); $(unstage)
30934 @r=`${PWD_COMMAND}`; export r; \
30935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30936 $(HOST_EXPORTS) \
30937 (cd $(HOST_SUBDIR)/gnattools && \
30938 $(MAKE) $(FLAGS_TO_PASS) install)
30940 @endif gnattools
30942 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30943 maybe-install-strip-gnattools:
30944 @if gnattools
30945 maybe-install-strip-gnattools: install-strip-gnattools
30947 install-strip-gnattools: installdirs
30948 @: $(MAKE); $(unstage)
30949 @r=`${PWD_COMMAND}`; export r; \
30950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30951 $(HOST_EXPORTS) \
30952 (cd $(HOST_SUBDIR)/gnattools && \
30953 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30955 @endif gnattools
30957 # Other targets (info, dvi, pdf, etc.)
30959 .PHONY: maybe-info-gnattools info-gnattools
30960 maybe-info-gnattools:
30961 @if gnattools
30962 maybe-info-gnattools: info-gnattools
30964 info-gnattools: \
30965 configure-gnattools
30966 @: $(MAKE); $(unstage)
30967 @[ -f ./gnattools/Makefile ] || exit 0; \
30968 r=`${PWD_COMMAND}`; export r; \
30969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30970 $(HOST_EXPORTS) \
30971 for flag in $(EXTRA_HOST_FLAGS) ; do \
30972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30973 done; \
30974 echo "Doing info in gnattools" ; \
30975 (cd $(HOST_SUBDIR)/gnattools && \
30976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30978 "RANLIB=$${RANLIB}" \
30979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30980 info) \
30981 || exit 1
30983 @endif gnattools
30985 .PHONY: maybe-dvi-gnattools dvi-gnattools
30986 maybe-dvi-gnattools:
30987 @if gnattools
30988 maybe-dvi-gnattools: dvi-gnattools
30990 dvi-gnattools: \
30991 configure-gnattools
30992 @: $(MAKE); $(unstage)
30993 @[ -f ./gnattools/Makefile ] || exit 0; \
30994 r=`${PWD_COMMAND}`; export r; \
30995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30996 $(HOST_EXPORTS) \
30997 for flag in $(EXTRA_HOST_FLAGS) ; do \
30998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30999 done; \
31000 echo "Doing dvi in gnattools" ; \
31001 (cd $(HOST_SUBDIR)/gnattools && \
31002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31004 "RANLIB=$${RANLIB}" \
31005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31006 dvi) \
31007 || exit 1
31009 @endif gnattools
31011 .PHONY: maybe-pdf-gnattools pdf-gnattools
31012 maybe-pdf-gnattools:
31013 @if gnattools
31014 maybe-pdf-gnattools: pdf-gnattools
31016 pdf-gnattools: \
31017 configure-gnattools
31018 @: $(MAKE); $(unstage)
31019 @[ -f ./gnattools/Makefile ] || exit 0; \
31020 r=`${PWD_COMMAND}`; export r; \
31021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31022 $(HOST_EXPORTS) \
31023 for flag in $(EXTRA_HOST_FLAGS) ; do \
31024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31025 done; \
31026 echo "Doing pdf in gnattools" ; \
31027 (cd $(HOST_SUBDIR)/gnattools && \
31028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31030 "RANLIB=$${RANLIB}" \
31031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31032 pdf) \
31033 || exit 1
31035 @endif gnattools
31037 .PHONY: maybe-html-gnattools html-gnattools
31038 maybe-html-gnattools:
31039 @if gnattools
31040 maybe-html-gnattools: html-gnattools
31042 html-gnattools: \
31043 configure-gnattools
31044 @: $(MAKE); $(unstage)
31045 @[ -f ./gnattools/Makefile ] || exit 0; \
31046 r=`${PWD_COMMAND}`; export r; \
31047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31048 $(HOST_EXPORTS) \
31049 for flag in $(EXTRA_HOST_FLAGS) ; do \
31050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31051 done; \
31052 echo "Doing html in gnattools" ; \
31053 (cd $(HOST_SUBDIR)/gnattools && \
31054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31056 "RANLIB=$${RANLIB}" \
31057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31058 html) \
31059 || exit 1
31061 @endif gnattools
31063 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
31064 maybe-TAGS-gnattools:
31065 @if gnattools
31066 maybe-TAGS-gnattools: TAGS-gnattools
31068 TAGS-gnattools: \
31069 configure-gnattools
31070 @: $(MAKE); $(unstage)
31071 @[ -f ./gnattools/Makefile ] || exit 0; \
31072 r=`${PWD_COMMAND}`; export r; \
31073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31074 $(HOST_EXPORTS) \
31075 for flag in $(EXTRA_HOST_FLAGS) ; do \
31076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31077 done; \
31078 echo "Doing TAGS in gnattools" ; \
31079 (cd $(HOST_SUBDIR)/gnattools && \
31080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31082 "RANLIB=$${RANLIB}" \
31083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31084 TAGS) \
31085 || exit 1
31087 @endif gnattools
31089 .PHONY: maybe-install-info-gnattools install-info-gnattools
31090 maybe-install-info-gnattools:
31091 @if gnattools
31092 maybe-install-info-gnattools: install-info-gnattools
31094 install-info-gnattools: \
31095 configure-gnattools \
31096 info-gnattools
31097 @: $(MAKE); $(unstage)
31098 @[ -f ./gnattools/Makefile ] || exit 0; \
31099 r=`${PWD_COMMAND}`; export r; \
31100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31101 $(HOST_EXPORTS) \
31102 for flag in $(EXTRA_HOST_FLAGS) ; do \
31103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31104 done; \
31105 echo "Doing install-info in gnattools" ; \
31106 (cd $(HOST_SUBDIR)/gnattools && \
31107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31109 "RANLIB=$${RANLIB}" \
31110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31111 install-info) \
31112 || exit 1
31114 @endif gnattools
31116 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
31117 maybe-install-pdf-gnattools:
31118 @if gnattools
31119 maybe-install-pdf-gnattools: install-pdf-gnattools
31121 install-pdf-gnattools: \
31122 configure-gnattools \
31123 pdf-gnattools
31124 @: $(MAKE); $(unstage)
31125 @[ -f ./gnattools/Makefile ] || exit 0; \
31126 r=`${PWD_COMMAND}`; export r; \
31127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31128 $(HOST_EXPORTS) \
31129 for flag in $(EXTRA_HOST_FLAGS) ; do \
31130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31131 done; \
31132 echo "Doing install-pdf in gnattools" ; \
31133 (cd $(HOST_SUBDIR)/gnattools && \
31134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31136 "RANLIB=$${RANLIB}" \
31137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31138 install-pdf) \
31139 || exit 1
31141 @endif gnattools
31143 .PHONY: maybe-install-html-gnattools install-html-gnattools
31144 maybe-install-html-gnattools:
31145 @if gnattools
31146 maybe-install-html-gnattools: install-html-gnattools
31148 install-html-gnattools: \
31149 configure-gnattools \
31150 html-gnattools
31151 @: $(MAKE); $(unstage)
31152 @[ -f ./gnattools/Makefile ] || exit 0; \
31153 r=`${PWD_COMMAND}`; export r; \
31154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31155 $(HOST_EXPORTS) \
31156 for flag in $(EXTRA_HOST_FLAGS) ; do \
31157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31158 done; \
31159 echo "Doing install-html in gnattools" ; \
31160 (cd $(HOST_SUBDIR)/gnattools && \
31161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31163 "RANLIB=$${RANLIB}" \
31164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31165 install-html) \
31166 || exit 1
31168 @endif gnattools
31170 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
31171 maybe-installcheck-gnattools:
31172 @if gnattools
31173 maybe-installcheck-gnattools: installcheck-gnattools
31175 installcheck-gnattools: \
31176 configure-gnattools
31177 @: $(MAKE); $(unstage)
31178 @[ -f ./gnattools/Makefile ] || exit 0; \
31179 r=`${PWD_COMMAND}`; export r; \
31180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31181 $(HOST_EXPORTS) \
31182 for flag in $(EXTRA_HOST_FLAGS) ; do \
31183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31184 done; \
31185 echo "Doing installcheck in gnattools" ; \
31186 (cd $(HOST_SUBDIR)/gnattools && \
31187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31189 "RANLIB=$${RANLIB}" \
31190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31191 installcheck) \
31192 || exit 1
31194 @endif gnattools
31196 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
31197 maybe-mostlyclean-gnattools:
31198 @if gnattools
31199 maybe-mostlyclean-gnattools: mostlyclean-gnattools
31201 mostlyclean-gnattools:
31202 @: $(MAKE); $(unstage)
31203 @[ -f ./gnattools/Makefile ] || exit 0; \
31204 r=`${PWD_COMMAND}`; export r; \
31205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31206 $(HOST_EXPORTS) \
31207 for flag in $(EXTRA_HOST_FLAGS) ; do \
31208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31209 done; \
31210 echo "Doing mostlyclean in gnattools" ; \
31211 (cd $(HOST_SUBDIR)/gnattools && \
31212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31214 "RANLIB=$${RANLIB}" \
31215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31216 mostlyclean) \
31217 || exit 1
31219 @endif gnattools
31221 .PHONY: maybe-clean-gnattools clean-gnattools
31222 maybe-clean-gnattools:
31223 @if gnattools
31224 maybe-clean-gnattools: clean-gnattools
31226 clean-gnattools:
31227 @: $(MAKE); $(unstage)
31228 @[ -f ./gnattools/Makefile ] || exit 0; \
31229 r=`${PWD_COMMAND}`; export r; \
31230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31231 $(HOST_EXPORTS) \
31232 for flag in $(EXTRA_HOST_FLAGS) ; do \
31233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31234 done; \
31235 echo "Doing clean in gnattools" ; \
31236 (cd $(HOST_SUBDIR)/gnattools && \
31237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31239 "RANLIB=$${RANLIB}" \
31240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31241 clean) \
31242 || exit 1
31244 @endif gnattools
31246 .PHONY: maybe-distclean-gnattools distclean-gnattools
31247 maybe-distclean-gnattools:
31248 @if gnattools
31249 maybe-distclean-gnattools: distclean-gnattools
31251 distclean-gnattools:
31252 @: $(MAKE); $(unstage)
31253 @[ -f ./gnattools/Makefile ] || exit 0; \
31254 r=`${PWD_COMMAND}`; export r; \
31255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31256 $(HOST_EXPORTS) \
31257 for flag in $(EXTRA_HOST_FLAGS) ; do \
31258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31259 done; \
31260 echo "Doing distclean in gnattools" ; \
31261 (cd $(HOST_SUBDIR)/gnattools && \
31262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31264 "RANLIB=$${RANLIB}" \
31265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31266 distclean) \
31267 || exit 1
31269 @endif gnattools
31271 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31272 maybe-maintainer-clean-gnattools:
31273 @if gnattools
31274 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31276 maintainer-clean-gnattools:
31277 @: $(MAKE); $(unstage)
31278 @[ -f ./gnattools/Makefile ] || exit 0; \
31279 r=`${PWD_COMMAND}`; export r; \
31280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31281 $(HOST_EXPORTS) \
31282 for flag in $(EXTRA_HOST_FLAGS) ; do \
31283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31284 done; \
31285 echo "Doing maintainer-clean in gnattools" ; \
31286 (cd $(HOST_SUBDIR)/gnattools && \
31287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31289 "RANLIB=$${RANLIB}" \
31290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31291 maintainer-clean) \
31292 || exit 1
31294 @endif gnattools
31298 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
31299 maybe-configure-lto-plugin:
31300 @if gcc-bootstrap
31301 configure-lto-plugin: stage_current
31302 @endif gcc-bootstrap
31303 @if lto-plugin
31304 maybe-configure-lto-plugin: configure-lto-plugin
31305 configure-lto-plugin:
31306 @r=`${PWD_COMMAND}`; export r; \
31307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31308 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31310 $(HOST_EXPORTS) \
31311 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
31312 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
31313 case $(srcdir) in \
31314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31315 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31317 esac; \
31318 module_srcdir=lto-plugin; \
31319 $(SHELL) \
31320 $$s/$$module_srcdir/configure \
31321 --srcdir=$${topdir}/$$module_srcdir \
31322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31323 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
31324 || exit 1
31325 @endif lto-plugin
31329 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
31330 maybe-configure-stage1-lto-plugin:
31331 @if lto-plugin-bootstrap
31332 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
31333 configure-stage1-lto-plugin:
31334 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31335 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31336 @r=`${PWD_COMMAND}`; export r; \
31337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31338 TFLAGS="$(STAGE1_TFLAGS)"; \
31339 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31340 $(HOST_EXPORTS) \
31341 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31342 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31343 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31344 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
31345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31346 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31347 case $(srcdir) in \
31348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31349 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31351 esac; \
31352 module_srcdir=lto-plugin; \
31353 $(SHELL) $$s/$$module_srcdir/configure \
31354 --srcdir=$${topdir}/$$module_srcdir \
31355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31356 --target=${target_alias} \
31358 $(STAGE1_CONFIGURE_FLAGS) \
31359 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31360 @endif lto-plugin-bootstrap
31362 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
31363 maybe-configure-stage2-lto-plugin:
31364 @if lto-plugin-bootstrap
31365 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
31366 configure-stage2-lto-plugin:
31367 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31368 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31369 @r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 TFLAGS="$(STAGE2_TFLAGS)"; \
31372 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31373 $(HOST_EXPORTS) \
31374 $(POSTSTAGE1_HOST_EXPORTS) \
31375 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31376 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31377 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31378 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
31379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31380 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31381 case $(srcdir) in \
31382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31383 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31385 esac; \
31386 module_srcdir=lto-plugin; \
31387 $(SHELL) $$s/$$module_srcdir/configure \
31388 --srcdir=$${topdir}/$$module_srcdir \
31389 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31390 --target=${target_alias} \
31391 --with-build-libsubdir=$(HOST_SUBDIR) \
31392 $(STAGE2_CONFIGURE_FLAGS) \
31393 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31394 @endif lto-plugin-bootstrap
31396 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
31397 maybe-configure-stage3-lto-plugin:
31398 @if lto-plugin-bootstrap
31399 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
31400 configure-stage3-lto-plugin:
31401 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31403 @r=`${PWD_COMMAND}`; export r; \
31404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31405 TFLAGS="$(STAGE3_TFLAGS)"; \
31406 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31407 $(HOST_EXPORTS) \
31408 $(POSTSTAGE1_HOST_EXPORTS) \
31409 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31410 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31411 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31412 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
31413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31414 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31415 case $(srcdir) in \
31416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31417 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31419 esac; \
31420 module_srcdir=lto-plugin; \
31421 $(SHELL) $$s/$$module_srcdir/configure \
31422 --srcdir=$${topdir}/$$module_srcdir \
31423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31424 --target=${target_alias} \
31425 --with-build-libsubdir=$(HOST_SUBDIR) \
31426 $(STAGE3_CONFIGURE_FLAGS) \
31427 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31428 @endif lto-plugin-bootstrap
31430 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
31431 maybe-configure-stage4-lto-plugin:
31432 @if lto-plugin-bootstrap
31433 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
31434 configure-stage4-lto-plugin:
31435 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31437 @r=`${PWD_COMMAND}`; export r; \
31438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31439 TFLAGS="$(STAGE4_TFLAGS)"; \
31440 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31441 $(HOST_EXPORTS) \
31442 $(POSTSTAGE1_HOST_EXPORTS) \
31443 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31444 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31445 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31446 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
31447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31448 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31449 case $(srcdir) in \
31450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31451 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31453 esac; \
31454 module_srcdir=lto-plugin; \
31455 $(SHELL) $$s/$$module_srcdir/configure \
31456 --srcdir=$${topdir}/$$module_srcdir \
31457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31458 --target=${target_alias} \
31459 --with-build-libsubdir=$(HOST_SUBDIR) \
31460 $(STAGE4_CONFIGURE_FLAGS) \
31461 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31462 @endif lto-plugin-bootstrap
31464 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
31465 maybe-configure-stageprofile-lto-plugin:
31466 @if lto-plugin-bootstrap
31467 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31468 configure-stageprofile-lto-plugin:
31469 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31471 @r=`${PWD_COMMAND}`; export r; \
31472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31473 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31474 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31475 $(HOST_EXPORTS) \
31476 $(POSTSTAGE1_HOST_EXPORTS) \
31477 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31478 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31479 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31480 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
31481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31482 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31483 case $(srcdir) in \
31484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31485 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31487 esac; \
31488 module_srcdir=lto-plugin; \
31489 $(SHELL) $$s/$$module_srcdir/configure \
31490 --srcdir=$${topdir}/$$module_srcdir \
31491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31492 --target=${target_alias} \
31493 --with-build-libsubdir=$(HOST_SUBDIR) \
31494 $(STAGEprofile_CONFIGURE_FLAGS) \
31495 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31496 @endif lto-plugin-bootstrap
31498 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
31499 maybe-configure-stagefeedback-lto-plugin:
31500 @if lto-plugin-bootstrap
31501 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31502 configure-stagefeedback-lto-plugin:
31503 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31504 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31505 @r=`${PWD_COMMAND}`; export r; \
31506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31507 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31508 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31509 $(HOST_EXPORTS) \
31510 $(POSTSTAGE1_HOST_EXPORTS) \
31511 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31512 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31513 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31514 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
31515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31516 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31517 case $(srcdir) in \
31518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31519 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31521 esac; \
31522 module_srcdir=lto-plugin; \
31523 $(SHELL) $$s/$$module_srcdir/configure \
31524 --srcdir=$${topdir}/$$module_srcdir \
31525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31526 --target=${target_alias} \
31527 --with-build-libsubdir=$(HOST_SUBDIR) \
31528 $(STAGEfeedback_CONFIGURE_FLAGS) \
31529 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31530 @endif lto-plugin-bootstrap
31536 .PHONY: all-lto-plugin maybe-all-lto-plugin
31537 maybe-all-lto-plugin:
31538 @if gcc-bootstrap
31539 all-lto-plugin: stage_current
31540 @endif gcc-bootstrap
31541 @if lto-plugin
31542 TARGET-lto-plugin=all
31543 maybe-all-lto-plugin: all-lto-plugin
31544 all-lto-plugin: configure-lto-plugin
31545 @r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(HOST_EXPORTS) \
31548 (cd $(HOST_SUBDIR)/lto-plugin && \
31549 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31550 $(TARGET-lto-plugin))
31551 @endif lto-plugin
31555 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
31556 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
31557 maybe-all-stage1-lto-plugin:
31558 maybe-clean-stage1-lto-plugin:
31559 @if lto-plugin-bootstrap
31560 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
31561 all-stage1: all-stage1-lto-plugin
31562 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
31563 all-stage1-lto-plugin: configure-stage1-lto-plugin
31564 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31565 @r=`${PWD_COMMAND}`; export r; \
31566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31567 TFLAGS="$(STAGE1_TFLAGS)"; \
31568 $(HOST_EXPORTS) \
31569 cd $(HOST_SUBDIR)/lto-plugin && \
31570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31571 CFLAGS="$(STAGE1_CFLAGS)" \
31572 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31573 LIBCFLAGS="$(LIBCFLAGS)" \
31574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31577 $(EXTRA_HOST_FLAGS) \
31578 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31579 TFLAGS="$(STAGE1_TFLAGS)" \
31580 $(TARGET-stage1-lto-plugin)
31582 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
31583 clean-stage1: clean-stage1-lto-plugin
31584 clean-stage1-lto-plugin:
31585 @if [ $(current_stage) = stage1 ]; then \
31586 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31587 else \
31588 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
31589 $(MAKE) stage1-start; \
31590 fi; \
31591 cd $(HOST_SUBDIR)/lto-plugin && \
31592 $(MAKE) $(EXTRA_HOST_FLAGS) \
31593 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31594 @endif lto-plugin-bootstrap
31597 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
31598 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
31599 maybe-all-stage2-lto-plugin:
31600 maybe-clean-stage2-lto-plugin:
31601 @if lto-plugin-bootstrap
31602 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
31603 all-stage2: all-stage2-lto-plugin
31604 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
31605 all-stage2-lto-plugin: configure-stage2-lto-plugin
31606 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31607 @r=`${PWD_COMMAND}`; export r; \
31608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31609 TFLAGS="$(STAGE2_TFLAGS)"; \
31610 $(HOST_EXPORTS) \
31611 $(POSTSTAGE1_HOST_EXPORTS) \
31612 cd $(HOST_SUBDIR)/lto-plugin && \
31613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31614 CFLAGS="$(STAGE2_CFLAGS)" \
31615 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31616 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31620 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31621 TFLAGS="$(STAGE2_TFLAGS)" \
31622 $(TARGET-stage2-lto-plugin)
31624 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
31625 clean-stage2: clean-stage2-lto-plugin
31626 clean-stage2-lto-plugin:
31627 @if [ $(current_stage) = stage2 ]; then \
31628 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31629 else \
31630 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
31631 $(MAKE) stage2-start; \
31632 fi; \
31633 cd $(HOST_SUBDIR)/lto-plugin && \
31634 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31635 @endif lto-plugin-bootstrap
31638 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
31639 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
31640 maybe-all-stage3-lto-plugin:
31641 maybe-clean-stage3-lto-plugin:
31642 @if lto-plugin-bootstrap
31643 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
31644 all-stage3: all-stage3-lto-plugin
31645 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
31646 all-stage3-lto-plugin: configure-stage3-lto-plugin
31647 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31648 @r=`${PWD_COMMAND}`; export r; \
31649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31650 TFLAGS="$(STAGE3_TFLAGS)"; \
31651 $(HOST_EXPORTS) \
31652 $(POSTSTAGE1_HOST_EXPORTS) \
31653 cd $(HOST_SUBDIR)/lto-plugin && \
31654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31655 CFLAGS="$(STAGE3_CFLAGS)" \
31656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31657 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31662 TFLAGS="$(STAGE3_TFLAGS)" \
31663 $(TARGET-stage3-lto-plugin)
31665 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
31666 clean-stage3: clean-stage3-lto-plugin
31667 clean-stage3-lto-plugin:
31668 @if [ $(current_stage) = stage3 ]; then \
31669 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31670 else \
31671 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
31672 $(MAKE) stage3-start; \
31673 fi; \
31674 cd $(HOST_SUBDIR)/lto-plugin && \
31675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31676 @endif lto-plugin-bootstrap
31679 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
31680 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
31681 maybe-all-stage4-lto-plugin:
31682 maybe-clean-stage4-lto-plugin:
31683 @if lto-plugin-bootstrap
31684 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
31685 all-stage4: all-stage4-lto-plugin
31686 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
31687 all-stage4-lto-plugin: configure-stage4-lto-plugin
31688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31689 @r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 TFLAGS="$(STAGE4_TFLAGS)"; \
31692 $(HOST_EXPORTS) \
31693 $(POSTSTAGE1_HOST_EXPORTS) \
31694 cd $(HOST_SUBDIR)/lto-plugin && \
31695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31696 CFLAGS="$(STAGE4_CFLAGS)" \
31697 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31698 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31702 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31703 TFLAGS="$(STAGE4_TFLAGS)" \
31704 $(TARGET-stage4-lto-plugin)
31706 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
31707 clean-stage4: clean-stage4-lto-plugin
31708 clean-stage4-lto-plugin:
31709 @if [ $(current_stage) = stage4 ]; then \
31710 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31711 else \
31712 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
31713 $(MAKE) stage4-start; \
31714 fi; \
31715 cd $(HOST_SUBDIR)/lto-plugin && \
31716 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31717 @endif lto-plugin-bootstrap
31720 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
31721 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
31722 maybe-all-stageprofile-lto-plugin:
31723 maybe-clean-stageprofile-lto-plugin:
31724 @if lto-plugin-bootstrap
31725 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
31726 all-stageprofile: all-stageprofile-lto-plugin
31727 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
31728 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31729 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31730 @r=`${PWD_COMMAND}`; export r; \
31731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31732 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31733 $(HOST_EXPORTS) \
31734 $(POSTSTAGE1_HOST_EXPORTS) \
31735 cd $(HOST_SUBDIR)/lto-plugin && \
31736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31737 CFLAGS="$(STAGEprofile_CFLAGS)" \
31738 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31739 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31744 TFLAGS="$(STAGEprofile_TFLAGS)" \
31745 $(TARGET-stageprofile-lto-plugin)
31747 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
31748 clean-stageprofile: clean-stageprofile-lto-plugin
31749 clean-stageprofile-lto-plugin:
31750 @if [ $(current_stage) = stageprofile ]; then \
31751 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31752 else \
31753 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
31754 $(MAKE) stageprofile-start; \
31755 fi; \
31756 cd $(HOST_SUBDIR)/lto-plugin && \
31757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31758 @endif lto-plugin-bootstrap
31761 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
31762 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
31763 maybe-all-stagefeedback-lto-plugin:
31764 maybe-clean-stagefeedback-lto-plugin:
31765 @if lto-plugin-bootstrap
31766 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
31767 all-stagefeedback: all-stagefeedback-lto-plugin
31768 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
31769 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31770 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31771 @r=`${PWD_COMMAND}`; export r; \
31772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31773 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31774 $(HOST_EXPORTS) \
31775 $(POSTSTAGE1_HOST_EXPORTS) \
31776 cd $(HOST_SUBDIR)/lto-plugin && \
31777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31778 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31779 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31780 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31785 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31786 $(TARGET-stagefeedback-lto-plugin)
31788 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31789 clean-stagefeedback: clean-stagefeedback-lto-plugin
31790 clean-stagefeedback-lto-plugin:
31791 @if [ $(current_stage) = stagefeedback ]; then \
31792 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31793 else \
31794 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31795 $(MAKE) stagefeedback-start; \
31796 fi; \
31797 cd $(HOST_SUBDIR)/lto-plugin && \
31798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31799 @endif lto-plugin-bootstrap
31805 .PHONY: check-lto-plugin maybe-check-lto-plugin
31806 maybe-check-lto-plugin:
31807 @if lto-plugin
31808 maybe-check-lto-plugin: check-lto-plugin
31810 check-lto-plugin:
31811 @: $(MAKE); $(unstage)
31812 @r=`${PWD_COMMAND}`; export r; \
31813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31814 $(HOST_EXPORTS) \
31815 (cd $(HOST_SUBDIR)/lto-plugin && \
31816 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
31818 @endif lto-plugin
31820 .PHONY: install-lto-plugin maybe-install-lto-plugin
31821 maybe-install-lto-plugin:
31822 @if lto-plugin
31823 maybe-install-lto-plugin: install-lto-plugin
31825 install-lto-plugin: installdirs
31826 @: $(MAKE); $(unstage)
31827 @r=`${PWD_COMMAND}`; export r; \
31828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31829 $(HOST_EXPORTS) \
31830 (cd $(HOST_SUBDIR)/lto-plugin && \
31831 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31833 @endif lto-plugin
31835 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31836 maybe-install-strip-lto-plugin:
31837 @if lto-plugin
31838 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31840 install-strip-lto-plugin: installdirs
31841 @: $(MAKE); $(unstage)
31842 @r=`${PWD_COMMAND}`; export r; \
31843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31844 $(HOST_EXPORTS) \
31845 (cd $(HOST_SUBDIR)/lto-plugin && \
31846 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31848 @endif lto-plugin
31850 # Other targets (info, dvi, pdf, etc.)
31852 .PHONY: maybe-info-lto-plugin info-lto-plugin
31853 maybe-info-lto-plugin:
31854 @if lto-plugin
31855 maybe-info-lto-plugin: info-lto-plugin
31857 info-lto-plugin: \
31858 configure-lto-plugin
31859 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31860 r=`${PWD_COMMAND}`; export r; \
31861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31862 $(HOST_EXPORTS) \
31863 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31865 done; \
31866 echo "Doing info in lto-plugin" ; \
31867 (cd $(HOST_SUBDIR)/lto-plugin && \
31868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31870 "RANLIB=$${RANLIB}" \
31871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31872 info) \
31873 || exit 1
31875 @endif lto-plugin
31877 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31878 maybe-dvi-lto-plugin:
31879 @if lto-plugin
31880 maybe-dvi-lto-plugin: dvi-lto-plugin
31882 dvi-lto-plugin: \
31883 configure-lto-plugin
31884 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31885 r=`${PWD_COMMAND}`; export r; \
31886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31887 $(HOST_EXPORTS) \
31888 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31890 done; \
31891 echo "Doing dvi in lto-plugin" ; \
31892 (cd $(HOST_SUBDIR)/lto-plugin && \
31893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31895 "RANLIB=$${RANLIB}" \
31896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31897 dvi) \
31898 || exit 1
31900 @endif lto-plugin
31902 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31903 maybe-pdf-lto-plugin:
31904 @if lto-plugin
31905 maybe-pdf-lto-plugin: pdf-lto-plugin
31907 pdf-lto-plugin: \
31908 configure-lto-plugin
31909 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31910 r=`${PWD_COMMAND}`; export r; \
31911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31912 $(HOST_EXPORTS) \
31913 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31915 done; \
31916 echo "Doing pdf in lto-plugin" ; \
31917 (cd $(HOST_SUBDIR)/lto-plugin && \
31918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31920 "RANLIB=$${RANLIB}" \
31921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31922 pdf) \
31923 || exit 1
31925 @endif lto-plugin
31927 .PHONY: maybe-html-lto-plugin html-lto-plugin
31928 maybe-html-lto-plugin:
31929 @if lto-plugin
31930 maybe-html-lto-plugin: html-lto-plugin
31932 html-lto-plugin: \
31933 configure-lto-plugin
31934 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31935 r=`${PWD_COMMAND}`; export r; \
31936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31937 $(HOST_EXPORTS) \
31938 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31940 done; \
31941 echo "Doing html in lto-plugin" ; \
31942 (cd $(HOST_SUBDIR)/lto-plugin && \
31943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31945 "RANLIB=$${RANLIB}" \
31946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31947 html) \
31948 || exit 1
31950 @endif lto-plugin
31952 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31953 maybe-TAGS-lto-plugin:
31954 @if lto-plugin
31955 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31957 TAGS-lto-plugin: \
31958 configure-lto-plugin
31959 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31960 r=`${PWD_COMMAND}`; export r; \
31961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31962 $(HOST_EXPORTS) \
31963 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31965 done; \
31966 echo "Doing TAGS in lto-plugin" ; \
31967 (cd $(HOST_SUBDIR)/lto-plugin && \
31968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31970 "RANLIB=$${RANLIB}" \
31971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31972 TAGS) \
31973 || exit 1
31975 @endif lto-plugin
31977 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31978 maybe-install-info-lto-plugin:
31979 @if lto-plugin
31980 maybe-install-info-lto-plugin: install-info-lto-plugin
31982 install-info-lto-plugin: \
31983 configure-lto-plugin \
31984 info-lto-plugin
31985 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31986 r=`${PWD_COMMAND}`; export r; \
31987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31988 $(HOST_EXPORTS) \
31989 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31991 done; \
31992 echo "Doing install-info in lto-plugin" ; \
31993 (cd $(HOST_SUBDIR)/lto-plugin && \
31994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31996 "RANLIB=$${RANLIB}" \
31997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31998 install-info) \
31999 || exit 1
32001 @endif lto-plugin
32003 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
32004 maybe-install-pdf-lto-plugin:
32005 @if lto-plugin
32006 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
32008 install-pdf-lto-plugin: \
32009 configure-lto-plugin \
32010 pdf-lto-plugin
32011 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32012 r=`${PWD_COMMAND}`; export r; \
32013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32014 $(HOST_EXPORTS) \
32015 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32017 done; \
32018 echo "Doing install-pdf in lto-plugin" ; \
32019 (cd $(HOST_SUBDIR)/lto-plugin && \
32020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32022 "RANLIB=$${RANLIB}" \
32023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32024 install-pdf) \
32025 || exit 1
32027 @endif lto-plugin
32029 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
32030 maybe-install-html-lto-plugin:
32031 @if lto-plugin
32032 maybe-install-html-lto-plugin: install-html-lto-plugin
32034 install-html-lto-plugin: \
32035 configure-lto-plugin \
32036 html-lto-plugin
32037 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32038 r=`${PWD_COMMAND}`; export r; \
32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32040 $(HOST_EXPORTS) \
32041 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32043 done; \
32044 echo "Doing install-html in lto-plugin" ; \
32045 (cd $(HOST_SUBDIR)/lto-plugin && \
32046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32048 "RANLIB=$${RANLIB}" \
32049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32050 install-html) \
32051 || exit 1
32053 @endif lto-plugin
32055 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
32056 maybe-installcheck-lto-plugin:
32057 @if lto-plugin
32058 maybe-installcheck-lto-plugin: installcheck-lto-plugin
32060 installcheck-lto-plugin: \
32061 configure-lto-plugin
32062 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32063 r=`${PWD_COMMAND}`; export r; \
32064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32065 $(HOST_EXPORTS) \
32066 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32068 done; \
32069 echo "Doing installcheck in lto-plugin" ; \
32070 (cd $(HOST_SUBDIR)/lto-plugin && \
32071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32073 "RANLIB=$${RANLIB}" \
32074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32075 installcheck) \
32076 || exit 1
32078 @endif lto-plugin
32080 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
32081 maybe-mostlyclean-lto-plugin:
32082 @if lto-plugin
32083 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
32085 mostlyclean-lto-plugin:
32086 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32087 r=`${PWD_COMMAND}`; export r; \
32088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32089 $(HOST_EXPORTS) \
32090 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32092 done; \
32093 echo "Doing mostlyclean in lto-plugin" ; \
32094 (cd $(HOST_SUBDIR)/lto-plugin && \
32095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32097 "RANLIB=$${RANLIB}" \
32098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32099 mostlyclean) \
32100 || exit 1
32102 @endif lto-plugin
32104 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
32105 maybe-clean-lto-plugin:
32106 @if lto-plugin
32107 maybe-clean-lto-plugin: clean-lto-plugin
32109 clean-lto-plugin:
32110 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32111 r=`${PWD_COMMAND}`; export r; \
32112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32113 $(HOST_EXPORTS) \
32114 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32116 done; \
32117 echo "Doing clean in lto-plugin" ; \
32118 (cd $(HOST_SUBDIR)/lto-plugin && \
32119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32121 "RANLIB=$${RANLIB}" \
32122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32123 clean) \
32124 || exit 1
32126 @endif lto-plugin
32128 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
32129 maybe-distclean-lto-plugin:
32130 @if lto-plugin
32131 maybe-distclean-lto-plugin: distclean-lto-plugin
32133 distclean-lto-plugin:
32134 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32135 r=`${PWD_COMMAND}`; export r; \
32136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32137 $(HOST_EXPORTS) \
32138 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32140 done; \
32141 echo "Doing distclean in lto-plugin" ; \
32142 (cd $(HOST_SUBDIR)/lto-plugin && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32145 "RANLIB=$${RANLIB}" \
32146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32147 distclean) \
32148 || exit 1
32150 @endif lto-plugin
32152 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
32153 maybe-maintainer-clean-lto-plugin:
32154 @if lto-plugin
32155 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
32157 maintainer-clean-lto-plugin:
32158 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32159 r=`${PWD_COMMAND}`; export r; \
32160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32161 $(HOST_EXPORTS) \
32162 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32164 done; \
32165 echo "Doing maintainer-clean in lto-plugin" ; \
32166 (cd $(HOST_SUBDIR)/lto-plugin && \
32167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32169 "RANLIB=$${RANLIB}" \
32170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32171 maintainer-clean) \
32172 || exit 1
32174 @endif lto-plugin
32178 # ---------------------------------------
32179 # Modules which run on the target machine
32180 # ---------------------------------------
32185 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
32186 maybe-configure-target-libstdc++-v3:
32187 @if gcc-bootstrap
32188 configure-target-libstdc++-v3: stage_current
32189 @endif gcc-bootstrap
32190 @if target-libstdc++-v3
32191 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
32192 configure-target-libstdc++-v3:
32193 @r=`${PWD_COMMAND}`; export r; \
32194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32195 echo "Checking multilib configuration for libstdc++-v3..."; \
32196 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32197 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32198 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32199 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32200 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32201 else \
32202 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32203 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32204 fi; \
32205 else \
32206 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32207 fi; \
32208 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32209 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32210 $(RAW_CXX_TARGET_EXPORTS) \
32211 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
32212 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
32213 case $(srcdir) in \
32214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32215 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32217 esac; \
32218 module_srcdir=libstdc++-v3; \
32219 rm -f no-such-file || : ; \
32220 CONFIG_SITE=no-such-file $(SHELL) \
32221 $$s/$$module_srcdir/configure \
32222 --srcdir=$${topdir}/$$module_srcdir \
32223 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32224 --target=${target_alias} \
32225 || exit 1
32226 @endif target-libstdc++-v3
32230 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
32231 maybe-configure-stage1-target-libstdc++-v3:
32232 @if target-libstdc++-v3-bootstrap
32233 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32234 configure-stage1-target-libstdc++-v3:
32235 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32236 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32237 @r=`${PWD_COMMAND}`; export r; \
32238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32239 TFLAGS="$(STAGE1_TFLAGS)"; \
32240 echo "Checking multilib configuration for libstdc++-v3..."; \
32241 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32242 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32243 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32244 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32245 else \
32246 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32247 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32248 fi; \
32249 else \
32250 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32251 fi; \
32252 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32253 $(RAW_CXX_TARGET_EXPORTS) \
32254 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32255 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32256 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32257 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32259 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32260 case $(srcdir) in \
32261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32262 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32264 esac; \
32265 module_srcdir=libstdc++-v3; \
32266 $(SHELL) $$s/$$module_srcdir/configure \
32267 --srcdir=$${topdir}/$$module_srcdir \
32268 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32269 --target=${target_alias} \
32271 $(STAGE1_CONFIGURE_FLAGS)
32272 @endif target-libstdc++-v3-bootstrap
32274 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
32275 maybe-configure-stage2-target-libstdc++-v3:
32276 @if target-libstdc++-v3-bootstrap
32277 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32278 configure-stage2-target-libstdc++-v3:
32279 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32280 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32281 @r=`${PWD_COMMAND}`; export r; \
32282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32283 TFLAGS="$(STAGE2_TFLAGS)"; \
32284 echo "Checking multilib configuration for libstdc++-v3..."; \
32285 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32286 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32287 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32288 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32289 else \
32290 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32291 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32292 fi; \
32293 else \
32294 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32295 fi; \
32296 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32297 $(RAW_CXX_TARGET_EXPORTS) \
32299 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32300 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32301 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32302 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32304 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32305 case $(srcdir) in \
32306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32307 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32309 esac; \
32310 module_srcdir=libstdc++-v3; \
32311 $(SHELL) $$s/$$module_srcdir/configure \
32312 --srcdir=$${topdir}/$$module_srcdir \
32313 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32314 --target=${target_alias} \
32315 --with-build-libsubdir=$(HOST_SUBDIR) \
32316 $(STAGE2_CONFIGURE_FLAGS)
32317 @endif target-libstdc++-v3-bootstrap
32319 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
32320 maybe-configure-stage3-target-libstdc++-v3:
32321 @if target-libstdc++-v3-bootstrap
32322 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32323 configure-stage3-target-libstdc++-v3:
32324 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32325 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32326 @r=`${PWD_COMMAND}`; export r; \
32327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32328 TFLAGS="$(STAGE3_TFLAGS)"; \
32329 echo "Checking multilib configuration for libstdc++-v3..."; \
32330 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32331 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32332 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32333 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32334 else \
32335 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32336 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32337 fi; \
32338 else \
32339 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32340 fi; \
32341 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32342 $(RAW_CXX_TARGET_EXPORTS) \
32344 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32345 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32346 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32347 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32349 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32350 case $(srcdir) in \
32351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32352 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32354 esac; \
32355 module_srcdir=libstdc++-v3; \
32356 $(SHELL) $$s/$$module_srcdir/configure \
32357 --srcdir=$${topdir}/$$module_srcdir \
32358 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32359 --target=${target_alias} \
32360 --with-build-libsubdir=$(HOST_SUBDIR) \
32361 $(STAGE3_CONFIGURE_FLAGS)
32362 @endif target-libstdc++-v3-bootstrap
32364 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32365 maybe-configure-stage4-target-libstdc++-v3:
32366 @if target-libstdc++-v3-bootstrap
32367 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32368 configure-stage4-target-libstdc++-v3:
32369 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32370 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32371 @r=`${PWD_COMMAND}`; export r; \
32372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32373 TFLAGS="$(STAGE4_TFLAGS)"; \
32374 echo "Checking multilib configuration for libstdc++-v3..."; \
32375 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32376 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32377 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32378 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32379 else \
32380 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32381 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32382 fi; \
32383 else \
32384 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32385 fi; \
32386 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32387 $(RAW_CXX_TARGET_EXPORTS) \
32389 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32390 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32391 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32392 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32393 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32394 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32395 case $(srcdir) in \
32396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32397 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32399 esac; \
32400 module_srcdir=libstdc++-v3; \
32401 $(SHELL) $$s/$$module_srcdir/configure \
32402 --srcdir=$${topdir}/$$module_srcdir \
32403 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32404 --target=${target_alias} \
32405 --with-build-libsubdir=$(HOST_SUBDIR) \
32406 $(STAGE4_CONFIGURE_FLAGS)
32407 @endif target-libstdc++-v3-bootstrap
32409 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32410 maybe-configure-stageprofile-target-libstdc++-v3:
32411 @if target-libstdc++-v3-bootstrap
32412 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32413 configure-stageprofile-target-libstdc++-v3:
32414 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32415 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32416 @r=`${PWD_COMMAND}`; export r; \
32417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32418 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32419 echo "Checking multilib configuration for libstdc++-v3..."; \
32420 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32421 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32422 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32423 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32424 else \
32425 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32426 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32427 fi; \
32428 else \
32429 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32430 fi; \
32431 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32432 $(RAW_CXX_TARGET_EXPORTS) \
32434 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32435 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32436 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32437 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32438 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32439 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32440 case $(srcdir) in \
32441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32442 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32444 esac; \
32445 module_srcdir=libstdc++-v3; \
32446 $(SHELL) $$s/$$module_srcdir/configure \
32447 --srcdir=$${topdir}/$$module_srcdir \
32448 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32449 --target=${target_alias} \
32450 --with-build-libsubdir=$(HOST_SUBDIR) \
32451 $(STAGEprofile_CONFIGURE_FLAGS)
32452 @endif target-libstdc++-v3-bootstrap
32454 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32455 maybe-configure-stagefeedback-target-libstdc++-v3:
32456 @if target-libstdc++-v3-bootstrap
32457 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32458 configure-stagefeedback-target-libstdc++-v3:
32459 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32460 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32461 @r=`${PWD_COMMAND}`; export r; \
32462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32463 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32464 echo "Checking multilib configuration for libstdc++-v3..."; \
32465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32466 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32467 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32468 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32469 else \
32470 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32471 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32472 fi; \
32473 else \
32474 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32475 fi; \
32476 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32477 $(RAW_CXX_TARGET_EXPORTS) \
32479 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32480 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32481 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32482 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32483 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32484 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32485 case $(srcdir) in \
32486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32487 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32489 esac; \
32490 module_srcdir=libstdc++-v3; \
32491 $(SHELL) $$s/$$module_srcdir/configure \
32492 --srcdir=$${topdir}/$$module_srcdir \
32493 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32494 --target=${target_alias} \
32495 --with-build-libsubdir=$(HOST_SUBDIR) \
32496 $(STAGEfeedback_CONFIGURE_FLAGS)
32497 @endif target-libstdc++-v3-bootstrap
32503 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32504 maybe-all-target-libstdc++-v3:
32505 @if gcc-bootstrap
32506 all-target-libstdc++-v3: stage_current
32507 @endif gcc-bootstrap
32508 @if target-libstdc++-v3
32509 TARGET-target-libstdc++-v3=all
32510 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32511 all-target-libstdc++-v3: configure-target-libstdc++-v3
32512 @r=`${PWD_COMMAND}`; export r; \
32513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32514 $(RAW_CXX_TARGET_EXPORTS) \
32515 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32516 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32517 $(TARGET-target-libstdc++-v3))
32518 @endif target-libstdc++-v3
32522 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32523 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32524 maybe-all-stage1-target-libstdc++-v3:
32525 maybe-clean-stage1-target-libstdc++-v3:
32526 @if target-libstdc++-v3-bootstrap
32527 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32528 all-stage1: all-stage1-target-libstdc++-v3
32529 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32530 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32531 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32532 @r=`${PWD_COMMAND}`; export r; \
32533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32534 TFLAGS="$(STAGE1_TFLAGS)"; \
32535 $(RAW_CXX_TARGET_EXPORTS) \
32536 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32538 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32539 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32540 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32544 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32546 TFLAGS="$(STAGE1_TFLAGS)" \
32547 $(TARGET-stage1-target-libstdc++-v3)
32549 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32550 clean-stage1: clean-stage1-target-libstdc++-v3
32551 clean-stage1-target-libstdc++-v3:
32552 @if [ $(current_stage) = stage1 ]; then \
32553 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32554 else \
32555 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32556 $(MAKE) stage1-start; \
32557 fi; \
32558 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32559 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32560 clean
32561 @endif target-libstdc++-v3-bootstrap
32564 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32565 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32566 maybe-all-stage2-target-libstdc++-v3:
32567 maybe-clean-stage2-target-libstdc++-v3:
32568 @if target-libstdc++-v3-bootstrap
32569 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32570 all-stage2: all-stage2-target-libstdc++-v3
32571 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32572 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32573 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32574 @r=`${PWD_COMMAND}`; export r; \
32575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32576 TFLAGS="$(STAGE2_TFLAGS)"; \
32577 $(RAW_CXX_TARGET_EXPORTS) \
32579 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32580 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32581 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32582 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32583 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32584 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32585 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32586 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32587 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32588 TFLAGS="$(STAGE2_TFLAGS)" \
32589 $(TARGET-stage2-target-libstdc++-v3)
32591 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32592 clean-stage2: clean-stage2-target-libstdc++-v3
32593 clean-stage2-target-libstdc++-v3:
32594 @if [ $(current_stage) = stage2 ]; then \
32595 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32596 else \
32597 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32598 $(MAKE) stage2-start; \
32599 fi; \
32600 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32601 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32602 @endif target-libstdc++-v3-bootstrap
32605 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32606 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32607 maybe-all-stage3-target-libstdc++-v3:
32608 maybe-clean-stage3-target-libstdc++-v3:
32609 @if target-libstdc++-v3-bootstrap
32610 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32611 all-stage3: all-stage3-target-libstdc++-v3
32612 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32613 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32614 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32615 @r=`${PWD_COMMAND}`; export r; \
32616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32617 TFLAGS="$(STAGE3_TFLAGS)"; \
32618 $(RAW_CXX_TARGET_EXPORTS) \
32620 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32621 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32622 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32623 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32624 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32625 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32626 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32627 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32628 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32629 TFLAGS="$(STAGE3_TFLAGS)" \
32630 $(TARGET-stage3-target-libstdc++-v3)
32632 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32633 clean-stage3: clean-stage3-target-libstdc++-v3
32634 clean-stage3-target-libstdc++-v3:
32635 @if [ $(current_stage) = stage3 ]; then \
32636 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32637 else \
32638 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32639 $(MAKE) stage3-start; \
32640 fi; \
32641 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32642 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32643 @endif target-libstdc++-v3-bootstrap
32646 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32647 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32648 maybe-all-stage4-target-libstdc++-v3:
32649 maybe-clean-stage4-target-libstdc++-v3:
32650 @if target-libstdc++-v3-bootstrap
32651 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32652 all-stage4: all-stage4-target-libstdc++-v3
32653 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32654 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32655 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32656 @r=`${PWD_COMMAND}`; export r; \
32657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32658 TFLAGS="$(STAGE4_TFLAGS)"; \
32659 $(RAW_CXX_TARGET_EXPORTS) \
32661 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32663 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32664 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32665 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32669 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32670 TFLAGS="$(STAGE4_TFLAGS)" \
32671 $(TARGET-stage4-target-libstdc++-v3)
32673 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32674 clean-stage4: clean-stage4-target-libstdc++-v3
32675 clean-stage4-target-libstdc++-v3:
32676 @if [ $(current_stage) = stage4 ]; then \
32677 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32678 else \
32679 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32680 $(MAKE) stage4-start; \
32681 fi; \
32682 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32683 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32684 @endif target-libstdc++-v3-bootstrap
32687 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32688 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32689 maybe-all-stageprofile-target-libstdc++-v3:
32690 maybe-clean-stageprofile-target-libstdc++-v3:
32691 @if target-libstdc++-v3-bootstrap
32692 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32693 all-stageprofile: all-stageprofile-target-libstdc++-v3
32694 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32695 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32696 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32697 @r=`${PWD_COMMAND}`; export r; \
32698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32699 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32700 $(RAW_CXX_TARGET_EXPORTS) \
32702 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32704 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32705 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32706 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32710 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32711 TFLAGS="$(STAGEprofile_TFLAGS)" \
32712 $(TARGET-stageprofile-target-libstdc++-v3)
32714 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32715 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32716 clean-stageprofile-target-libstdc++-v3:
32717 @if [ $(current_stage) = stageprofile ]; then \
32718 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32719 else \
32720 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32721 $(MAKE) stageprofile-start; \
32722 fi; \
32723 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32724 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32725 @endif target-libstdc++-v3-bootstrap
32728 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32729 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32730 maybe-all-stagefeedback-target-libstdc++-v3:
32731 maybe-clean-stagefeedback-target-libstdc++-v3:
32732 @if target-libstdc++-v3-bootstrap
32733 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32734 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32735 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32736 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32737 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32738 @r=`${PWD_COMMAND}`; export r; \
32739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32740 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32741 $(RAW_CXX_TARGET_EXPORTS) \
32743 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32744 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32745 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32746 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32747 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32751 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32752 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32753 $(TARGET-stagefeedback-target-libstdc++-v3)
32755 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32756 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32757 clean-stagefeedback-target-libstdc++-v3:
32758 @if [ $(current_stage) = stagefeedback ]; then \
32759 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32760 else \
32761 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32762 $(MAKE) stagefeedback-start; \
32763 fi; \
32764 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32765 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32766 @endif target-libstdc++-v3-bootstrap
32773 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32774 maybe-check-target-libstdc++-v3:
32775 @if target-libstdc++-v3
32776 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32778 check-target-libstdc++-v3:
32779 @: $(MAKE); $(unstage)
32780 @r=`${PWD_COMMAND}`; export r; \
32781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32782 $(RAW_CXX_TARGET_EXPORTS) \
32783 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32784 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32786 @endif target-libstdc++-v3
32788 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32789 maybe-install-target-libstdc++-v3:
32790 @if target-libstdc++-v3
32791 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32793 install-target-libstdc++-v3: installdirs
32794 @: $(MAKE); $(unstage)
32795 @r=`${PWD_COMMAND}`; export r; \
32796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32797 $(RAW_CXX_TARGET_EXPORTS) \
32798 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32799 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32801 @endif target-libstdc++-v3
32803 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32804 maybe-install-strip-target-libstdc++-v3:
32805 @if target-libstdc++-v3
32806 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32808 install-strip-target-libstdc++-v3: installdirs
32809 @: $(MAKE); $(unstage)
32810 @r=`${PWD_COMMAND}`; export r; \
32811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32812 $(RAW_CXX_TARGET_EXPORTS) \
32813 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32814 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32816 @endif target-libstdc++-v3
32818 # Other targets (info, dvi, pdf, etc.)
32820 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32821 maybe-info-target-libstdc++-v3:
32822 @if target-libstdc++-v3
32823 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32825 info-target-libstdc++-v3: \
32826 configure-target-libstdc++-v3
32827 @: $(MAKE); $(unstage)
32828 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32829 r=`${PWD_COMMAND}`; export r; \
32830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32831 $(RAW_CXX_TARGET_EXPORTS) \
32832 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32833 for flag in $(EXTRA_TARGET_FLAGS); do \
32834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32835 done; \
32836 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32839 "RANLIB=$${RANLIB}" \
32840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32841 info) \
32842 || exit 1
32844 @endif target-libstdc++-v3
32846 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32847 maybe-dvi-target-libstdc++-v3:
32848 @if target-libstdc++-v3
32849 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32851 dvi-target-libstdc++-v3: \
32852 configure-target-libstdc++-v3
32853 @: $(MAKE); $(unstage)
32854 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32855 r=`${PWD_COMMAND}`; export r; \
32856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32857 $(RAW_CXX_TARGET_EXPORTS) \
32858 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32859 for flag in $(EXTRA_TARGET_FLAGS); do \
32860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32861 done; \
32862 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32865 "RANLIB=$${RANLIB}" \
32866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32867 dvi) \
32868 || exit 1
32870 @endif target-libstdc++-v3
32872 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32873 maybe-pdf-target-libstdc++-v3:
32874 @if target-libstdc++-v3
32875 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32877 pdf-target-libstdc++-v3: \
32878 configure-target-libstdc++-v3
32879 @: $(MAKE); $(unstage)
32880 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32881 r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 $(RAW_CXX_TARGET_EXPORTS) \
32884 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32885 for flag in $(EXTRA_TARGET_FLAGS); do \
32886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32887 done; \
32888 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32891 "RANLIB=$${RANLIB}" \
32892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32893 pdf) \
32894 || exit 1
32896 @endif target-libstdc++-v3
32898 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32899 maybe-html-target-libstdc++-v3:
32900 @if target-libstdc++-v3
32901 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32903 html-target-libstdc++-v3: \
32904 configure-target-libstdc++-v3
32905 @: $(MAKE); $(unstage)
32906 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32907 r=`${PWD_COMMAND}`; export r; \
32908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32909 $(RAW_CXX_TARGET_EXPORTS) \
32910 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32911 for flag in $(EXTRA_TARGET_FLAGS); do \
32912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32913 done; \
32914 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32917 "RANLIB=$${RANLIB}" \
32918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32919 html) \
32920 || exit 1
32922 @endif target-libstdc++-v3
32924 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32925 maybe-TAGS-target-libstdc++-v3:
32926 @if target-libstdc++-v3
32927 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32929 TAGS-target-libstdc++-v3: \
32930 configure-target-libstdc++-v3
32931 @: $(MAKE); $(unstage)
32932 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32933 r=`${PWD_COMMAND}`; export r; \
32934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32935 $(RAW_CXX_TARGET_EXPORTS) \
32936 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32937 for flag in $(EXTRA_TARGET_FLAGS); do \
32938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32939 done; \
32940 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32943 "RANLIB=$${RANLIB}" \
32944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32945 TAGS) \
32946 || exit 1
32948 @endif target-libstdc++-v3
32950 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32951 maybe-install-info-target-libstdc++-v3:
32952 @if target-libstdc++-v3
32953 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32955 install-info-target-libstdc++-v3: \
32956 configure-target-libstdc++-v3 \
32957 info-target-libstdc++-v3
32958 @: $(MAKE); $(unstage)
32959 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32960 r=`${PWD_COMMAND}`; export r; \
32961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32962 $(RAW_CXX_TARGET_EXPORTS) \
32963 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32964 for flag in $(EXTRA_TARGET_FLAGS); do \
32965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32966 done; \
32967 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32970 "RANLIB=$${RANLIB}" \
32971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32972 install-info) \
32973 || exit 1
32975 @endif target-libstdc++-v3
32977 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32978 maybe-install-pdf-target-libstdc++-v3:
32979 @if target-libstdc++-v3
32980 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32982 install-pdf-target-libstdc++-v3: \
32983 configure-target-libstdc++-v3 \
32984 pdf-target-libstdc++-v3
32985 @: $(MAKE); $(unstage)
32986 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32987 r=`${PWD_COMMAND}`; export r; \
32988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32989 $(RAW_CXX_TARGET_EXPORTS) \
32990 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32991 for flag in $(EXTRA_TARGET_FLAGS); do \
32992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32993 done; \
32994 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32997 "RANLIB=$${RANLIB}" \
32998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32999 install-pdf) \
33000 || exit 1
33002 @endif target-libstdc++-v3
33004 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33005 maybe-install-html-target-libstdc++-v3:
33006 @if target-libstdc++-v3
33007 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33009 install-html-target-libstdc++-v3: \
33010 configure-target-libstdc++-v3 \
33011 html-target-libstdc++-v3
33012 @: $(MAKE); $(unstage)
33013 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33014 r=`${PWD_COMMAND}`; export r; \
33015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33016 $(RAW_CXX_TARGET_EXPORTS) \
33017 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33018 for flag in $(EXTRA_TARGET_FLAGS); do \
33019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33020 done; \
33021 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33024 "RANLIB=$${RANLIB}" \
33025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33026 install-html) \
33027 || exit 1
33029 @endif target-libstdc++-v3
33031 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33032 maybe-installcheck-target-libstdc++-v3:
33033 @if target-libstdc++-v3
33034 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33036 installcheck-target-libstdc++-v3: \
33037 configure-target-libstdc++-v3
33038 @: $(MAKE); $(unstage)
33039 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33040 r=`${PWD_COMMAND}`; export r; \
33041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33042 $(RAW_CXX_TARGET_EXPORTS) \
33043 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33044 for flag in $(EXTRA_TARGET_FLAGS); do \
33045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33046 done; \
33047 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33050 "RANLIB=$${RANLIB}" \
33051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33052 installcheck) \
33053 || exit 1
33055 @endif target-libstdc++-v3
33057 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33058 maybe-mostlyclean-target-libstdc++-v3:
33059 @if target-libstdc++-v3
33060 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33062 mostlyclean-target-libstdc++-v3:
33063 @: $(MAKE); $(unstage)
33064 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33065 r=`${PWD_COMMAND}`; export r; \
33066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33067 $(RAW_CXX_TARGET_EXPORTS) \
33068 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33069 for flag in $(EXTRA_TARGET_FLAGS); do \
33070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33071 done; \
33072 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33075 "RANLIB=$${RANLIB}" \
33076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33077 mostlyclean) \
33078 || exit 1
33080 @endif target-libstdc++-v3
33082 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33083 maybe-clean-target-libstdc++-v3:
33084 @if target-libstdc++-v3
33085 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33087 clean-target-libstdc++-v3:
33088 @: $(MAKE); $(unstage)
33089 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33090 r=`${PWD_COMMAND}`; export r; \
33091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33092 $(RAW_CXX_TARGET_EXPORTS) \
33093 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33094 for flag in $(EXTRA_TARGET_FLAGS); do \
33095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33096 done; \
33097 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33100 "RANLIB=$${RANLIB}" \
33101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33102 clean) \
33103 || exit 1
33105 @endif target-libstdc++-v3
33107 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33108 maybe-distclean-target-libstdc++-v3:
33109 @if target-libstdc++-v3
33110 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33112 distclean-target-libstdc++-v3:
33113 @: $(MAKE); $(unstage)
33114 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33115 r=`${PWD_COMMAND}`; export r; \
33116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33117 $(RAW_CXX_TARGET_EXPORTS) \
33118 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33119 for flag in $(EXTRA_TARGET_FLAGS); do \
33120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33121 done; \
33122 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33125 "RANLIB=$${RANLIB}" \
33126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33127 distclean) \
33128 || exit 1
33130 @endif target-libstdc++-v3
33132 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33133 maybe-maintainer-clean-target-libstdc++-v3:
33134 @if target-libstdc++-v3
33135 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33137 maintainer-clean-target-libstdc++-v3:
33138 @: $(MAKE); $(unstage)
33139 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33140 r=`${PWD_COMMAND}`; export r; \
33141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33142 $(RAW_CXX_TARGET_EXPORTS) \
33143 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33144 for flag in $(EXTRA_TARGET_FLAGS); do \
33145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33146 done; \
33147 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33150 "RANLIB=$${RANLIB}" \
33151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33152 maintainer-clean) \
33153 || exit 1
33155 @endif target-libstdc++-v3
33161 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33162 maybe-configure-target-libsanitizer:
33163 @if gcc-bootstrap
33164 configure-target-libsanitizer: stage_current
33165 @endif gcc-bootstrap
33166 @if target-libsanitizer
33167 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33168 configure-target-libsanitizer:
33169 @r=`${PWD_COMMAND}`; export r; \
33170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33171 echo "Checking multilib configuration for libsanitizer..."; \
33172 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33173 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33174 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33175 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33176 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33177 else \
33178 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33179 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33180 fi; \
33181 else \
33182 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33183 fi; \
33184 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33185 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33186 $(RAW_CXX_TARGET_EXPORTS) \
33187 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33188 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33189 case $(srcdir) in \
33190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33191 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33193 esac; \
33194 module_srcdir=libsanitizer; \
33195 rm -f no-such-file || : ; \
33196 CONFIG_SITE=no-such-file $(SHELL) \
33197 $$s/$$module_srcdir/configure \
33198 --srcdir=$${topdir}/$$module_srcdir \
33199 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33200 --target=${target_alias} \
33201 || exit 1
33202 @endif target-libsanitizer
33206 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33207 maybe-configure-stage1-target-libsanitizer:
33208 @if target-libsanitizer-bootstrap
33209 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33210 configure-stage1-target-libsanitizer:
33211 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33212 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33213 @r=`${PWD_COMMAND}`; export r; \
33214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33215 TFLAGS="$(STAGE1_TFLAGS)"; \
33216 echo "Checking multilib configuration for libsanitizer..."; \
33217 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33218 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33219 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33220 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33221 else \
33222 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33223 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33224 fi; \
33225 else \
33226 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33227 fi; \
33228 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33229 $(RAW_CXX_TARGET_EXPORTS) \
33230 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33231 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33232 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33233 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
33234 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33235 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33236 case $(srcdir) in \
33237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33238 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33240 esac; \
33241 module_srcdir=libsanitizer; \
33242 $(SHELL) $$s/$$module_srcdir/configure \
33243 --srcdir=$${topdir}/$$module_srcdir \
33244 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33245 --target=${target_alias} \
33247 $(STAGE1_CONFIGURE_FLAGS)
33248 @endif target-libsanitizer-bootstrap
33250 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33251 maybe-configure-stage2-target-libsanitizer:
33252 @if target-libsanitizer-bootstrap
33253 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33254 configure-stage2-target-libsanitizer:
33255 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33256 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33257 @r=`${PWD_COMMAND}`; export r; \
33258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33259 TFLAGS="$(STAGE2_TFLAGS)"; \
33260 echo "Checking multilib configuration for libsanitizer..."; \
33261 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33262 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33263 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33264 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33265 else \
33266 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33267 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33268 fi; \
33269 else \
33270 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33271 fi; \
33272 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33273 $(RAW_CXX_TARGET_EXPORTS) \
33275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33276 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33277 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33278 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
33279 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33280 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33281 case $(srcdir) in \
33282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33283 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33285 esac; \
33286 module_srcdir=libsanitizer; \
33287 $(SHELL) $$s/$$module_srcdir/configure \
33288 --srcdir=$${topdir}/$$module_srcdir \
33289 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33290 --target=${target_alias} \
33291 --with-build-libsubdir=$(HOST_SUBDIR) \
33292 $(STAGE2_CONFIGURE_FLAGS)
33293 @endif target-libsanitizer-bootstrap
33295 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33296 maybe-configure-stage3-target-libsanitizer:
33297 @if target-libsanitizer-bootstrap
33298 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33299 configure-stage3-target-libsanitizer:
33300 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33301 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33302 @r=`${PWD_COMMAND}`; export r; \
33303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33304 TFLAGS="$(STAGE3_TFLAGS)"; \
33305 echo "Checking multilib configuration for libsanitizer..."; \
33306 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33307 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33308 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33309 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33310 else \
33311 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33312 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33313 fi; \
33314 else \
33315 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33316 fi; \
33317 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33318 $(RAW_CXX_TARGET_EXPORTS) \
33320 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33321 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33322 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33323 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
33324 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33325 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33326 case $(srcdir) in \
33327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33328 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33330 esac; \
33331 module_srcdir=libsanitizer; \
33332 $(SHELL) $$s/$$module_srcdir/configure \
33333 --srcdir=$${topdir}/$$module_srcdir \
33334 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33335 --target=${target_alias} \
33336 --with-build-libsubdir=$(HOST_SUBDIR) \
33337 $(STAGE3_CONFIGURE_FLAGS)
33338 @endif target-libsanitizer-bootstrap
33340 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33341 maybe-configure-stage4-target-libsanitizer:
33342 @if target-libsanitizer-bootstrap
33343 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33344 configure-stage4-target-libsanitizer:
33345 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33346 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33347 @r=`${PWD_COMMAND}`; export r; \
33348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33349 TFLAGS="$(STAGE4_TFLAGS)"; \
33350 echo "Checking multilib configuration for libsanitizer..."; \
33351 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33352 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33353 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33354 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33355 else \
33356 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33357 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33358 fi; \
33359 else \
33360 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33361 fi; \
33362 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33363 $(RAW_CXX_TARGET_EXPORTS) \
33365 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33366 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33367 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33368 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33370 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33371 case $(srcdir) in \
33372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33373 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33375 esac; \
33376 module_srcdir=libsanitizer; \
33377 $(SHELL) $$s/$$module_srcdir/configure \
33378 --srcdir=$${topdir}/$$module_srcdir \
33379 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33380 --target=${target_alias} \
33381 --with-build-libsubdir=$(HOST_SUBDIR) \
33382 $(STAGE4_CONFIGURE_FLAGS)
33383 @endif target-libsanitizer-bootstrap
33385 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33386 maybe-configure-stageprofile-target-libsanitizer:
33387 @if target-libsanitizer-bootstrap
33388 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33389 configure-stageprofile-target-libsanitizer:
33390 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33391 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33392 @r=`${PWD_COMMAND}`; export r; \
33393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33394 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33395 echo "Checking multilib configuration for libsanitizer..."; \
33396 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33397 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33398 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33399 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33400 else \
33401 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33402 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33403 fi; \
33404 else \
33405 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33406 fi; \
33407 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33408 $(RAW_CXX_TARGET_EXPORTS) \
33410 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33411 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33412 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33413 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33415 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33416 case $(srcdir) in \
33417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33418 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33420 esac; \
33421 module_srcdir=libsanitizer; \
33422 $(SHELL) $$s/$$module_srcdir/configure \
33423 --srcdir=$${topdir}/$$module_srcdir \
33424 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33425 --target=${target_alias} \
33426 --with-build-libsubdir=$(HOST_SUBDIR) \
33427 $(STAGEprofile_CONFIGURE_FLAGS)
33428 @endif target-libsanitizer-bootstrap
33430 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33431 maybe-configure-stagefeedback-target-libsanitizer:
33432 @if target-libsanitizer-bootstrap
33433 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33434 configure-stagefeedback-target-libsanitizer:
33435 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33436 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33437 @r=`${PWD_COMMAND}`; export r; \
33438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33439 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33440 echo "Checking multilib configuration for libsanitizer..."; \
33441 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33442 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33443 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33444 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33445 else \
33446 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33447 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33448 fi; \
33449 else \
33450 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33451 fi; \
33452 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33453 $(RAW_CXX_TARGET_EXPORTS) \
33455 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33456 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33457 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33458 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33459 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33460 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33461 case $(srcdir) in \
33462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33463 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33465 esac; \
33466 module_srcdir=libsanitizer; \
33467 $(SHELL) $$s/$$module_srcdir/configure \
33468 --srcdir=$${topdir}/$$module_srcdir \
33469 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33470 --target=${target_alias} \
33471 --with-build-libsubdir=$(HOST_SUBDIR) \
33472 $(STAGEfeedback_CONFIGURE_FLAGS)
33473 @endif target-libsanitizer-bootstrap
33479 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33480 maybe-all-target-libsanitizer:
33481 @if gcc-bootstrap
33482 all-target-libsanitizer: stage_current
33483 @endif gcc-bootstrap
33484 @if target-libsanitizer
33485 TARGET-target-libsanitizer=all
33486 maybe-all-target-libsanitizer: all-target-libsanitizer
33487 all-target-libsanitizer: configure-target-libsanitizer
33488 @r=`${PWD_COMMAND}`; export r; \
33489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33490 $(RAW_CXX_TARGET_EXPORTS) \
33491 (cd $(TARGET_SUBDIR)/libsanitizer && \
33492 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33493 $(TARGET-target-libsanitizer))
33494 @endif target-libsanitizer
33498 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33499 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33500 maybe-all-stage1-target-libsanitizer:
33501 maybe-clean-stage1-target-libsanitizer:
33502 @if target-libsanitizer-bootstrap
33503 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33504 all-stage1: all-stage1-target-libsanitizer
33505 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33506 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33507 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33508 @r=`${PWD_COMMAND}`; export r; \
33509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33510 TFLAGS="$(STAGE1_TFLAGS)"; \
33511 $(RAW_CXX_TARGET_EXPORTS) \
33512 cd $(TARGET_SUBDIR)/libsanitizer && \
33513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33514 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33515 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33516 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33520 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33522 TFLAGS="$(STAGE1_TFLAGS)" \
33523 $(TARGET-stage1-target-libsanitizer)
33525 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33526 clean-stage1: clean-stage1-target-libsanitizer
33527 clean-stage1-target-libsanitizer:
33528 @if [ $(current_stage) = stage1 ]; then \
33529 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33530 else \
33531 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33532 $(MAKE) stage1-start; \
33533 fi; \
33534 cd $(TARGET_SUBDIR)/libsanitizer && \
33535 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33536 clean
33537 @endif target-libsanitizer-bootstrap
33540 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33541 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33542 maybe-all-stage2-target-libsanitizer:
33543 maybe-clean-stage2-target-libsanitizer:
33544 @if target-libsanitizer-bootstrap
33545 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33546 all-stage2: all-stage2-target-libsanitizer
33547 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33548 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33549 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33550 @r=`${PWD_COMMAND}`; export r; \
33551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33552 TFLAGS="$(STAGE2_TFLAGS)"; \
33553 $(RAW_CXX_TARGET_EXPORTS) \
33555 cd $(TARGET_SUBDIR)/libsanitizer && \
33556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33557 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33558 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33559 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33563 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33564 TFLAGS="$(STAGE2_TFLAGS)" \
33565 $(TARGET-stage2-target-libsanitizer)
33567 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33568 clean-stage2: clean-stage2-target-libsanitizer
33569 clean-stage2-target-libsanitizer:
33570 @if [ $(current_stage) = stage2 ]; then \
33571 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33572 else \
33573 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33574 $(MAKE) stage2-start; \
33575 fi; \
33576 cd $(TARGET_SUBDIR)/libsanitizer && \
33577 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33578 @endif target-libsanitizer-bootstrap
33581 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33582 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33583 maybe-all-stage3-target-libsanitizer:
33584 maybe-clean-stage3-target-libsanitizer:
33585 @if target-libsanitizer-bootstrap
33586 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33587 all-stage3: all-stage3-target-libsanitizer
33588 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33589 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33590 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33591 @r=`${PWD_COMMAND}`; export r; \
33592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33593 TFLAGS="$(STAGE3_TFLAGS)"; \
33594 $(RAW_CXX_TARGET_EXPORTS) \
33596 cd $(TARGET_SUBDIR)/libsanitizer && \
33597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33598 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33599 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33600 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33604 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33605 TFLAGS="$(STAGE3_TFLAGS)" \
33606 $(TARGET-stage3-target-libsanitizer)
33608 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33609 clean-stage3: clean-stage3-target-libsanitizer
33610 clean-stage3-target-libsanitizer:
33611 @if [ $(current_stage) = stage3 ]; then \
33612 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33613 else \
33614 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33615 $(MAKE) stage3-start; \
33616 fi; \
33617 cd $(TARGET_SUBDIR)/libsanitizer && \
33618 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33619 @endif target-libsanitizer-bootstrap
33622 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33623 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33624 maybe-all-stage4-target-libsanitizer:
33625 maybe-clean-stage4-target-libsanitizer:
33626 @if target-libsanitizer-bootstrap
33627 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33628 all-stage4: all-stage4-target-libsanitizer
33629 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33630 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33631 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33632 @r=`${PWD_COMMAND}`; export r; \
33633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33634 TFLAGS="$(STAGE4_TFLAGS)"; \
33635 $(RAW_CXX_TARGET_EXPORTS) \
33637 cd $(TARGET_SUBDIR)/libsanitizer && \
33638 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33639 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33640 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33641 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33642 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33643 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33644 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33645 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33646 TFLAGS="$(STAGE4_TFLAGS)" \
33647 $(TARGET-stage4-target-libsanitizer)
33649 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33650 clean-stage4: clean-stage4-target-libsanitizer
33651 clean-stage4-target-libsanitizer:
33652 @if [ $(current_stage) = stage4 ]; then \
33653 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33654 else \
33655 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33656 $(MAKE) stage4-start; \
33657 fi; \
33658 cd $(TARGET_SUBDIR)/libsanitizer && \
33659 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33660 @endif target-libsanitizer-bootstrap
33663 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33664 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33665 maybe-all-stageprofile-target-libsanitizer:
33666 maybe-clean-stageprofile-target-libsanitizer:
33667 @if target-libsanitizer-bootstrap
33668 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33669 all-stageprofile: all-stageprofile-target-libsanitizer
33670 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33671 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33672 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33673 @r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33676 $(RAW_CXX_TARGET_EXPORTS) \
33678 cd $(TARGET_SUBDIR)/libsanitizer && \
33679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33680 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33681 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33682 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33683 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33684 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33685 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33686 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33687 TFLAGS="$(STAGEprofile_TFLAGS)" \
33688 $(TARGET-stageprofile-target-libsanitizer)
33690 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33691 clean-stageprofile: clean-stageprofile-target-libsanitizer
33692 clean-stageprofile-target-libsanitizer:
33693 @if [ $(current_stage) = stageprofile ]; then \
33694 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33695 else \
33696 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33697 $(MAKE) stageprofile-start; \
33698 fi; \
33699 cd $(TARGET_SUBDIR)/libsanitizer && \
33700 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33701 @endif target-libsanitizer-bootstrap
33704 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33705 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33706 maybe-all-stagefeedback-target-libsanitizer:
33707 maybe-clean-stagefeedback-target-libsanitizer:
33708 @if target-libsanitizer-bootstrap
33709 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33710 all-stagefeedback: all-stagefeedback-target-libsanitizer
33711 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33712 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33713 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33714 @r=`${PWD_COMMAND}`; export r; \
33715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33716 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33717 $(RAW_CXX_TARGET_EXPORTS) \
33719 cd $(TARGET_SUBDIR)/libsanitizer && \
33720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33721 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33722 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33723 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33727 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33728 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33729 $(TARGET-stagefeedback-target-libsanitizer)
33731 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33732 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33733 clean-stagefeedback-target-libsanitizer:
33734 @if [ $(current_stage) = stagefeedback ]; then \
33735 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33736 else \
33737 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33738 $(MAKE) stagefeedback-start; \
33739 fi; \
33740 cd $(TARGET_SUBDIR)/libsanitizer && \
33741 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33742 @endif target-libsanitizer-bootstrap
33749 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33750 maybe-check-target-libsanitizer:
33751 @if target-libsanitizer
33752 maybe-check-target-libsanitizer: check-target-libsanitizer
33754 check-target-libsanitizer:
33755 @: $(MAKE); $(unstage)
33756 @r=`${PWD_COMMAND}`; export r; \
33757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33758 $(RAW_CXX_TARGET_EXPORTS) \
33759 (cd $(TARGET_SUBDIR)/libsanitizer && \
33760 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33762 @endif target-libsanitizer
33764 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33765 maybe-install-target-libsanitizer:
33766 @if target-libsanitizer
33767 maybe-install-target-libsanitizer: install-target-libsanitizer
33769 install-target-libsanitizer: installdirs
33770 @: $(MAKE); $(unstage)
33771 @r=`${PWD_COMMAND}`; export r; \
33772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33773 $(RAW_CXX_TARGET_EXPORTS) \
33774 (cd $(TARGET_SUBDIR)/libsanitizer && \
33775 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33777 @endif target-libsanitizer
33779 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33780 maybe-install-strip-target-libsanitizer:
33781 @if target-libsanitizer
33782 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33784 install-strip-target-libsanitizer: installdirs
33785 @: $(MAKE); $(unstage)
33786 @r=`${PWD_COMMAND}`; export r; \
33787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33788 $(RAW_CXX_TARGET_EXPORTS) \
33789 (cd $(TARGET_SUBDIR)/libsanitizer && \
33790 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33792 @endif target-libsanitizer
33794 # Other targets (info, dvi, pdf, etc.)
33796 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33797 maybe-info-target-libsanitizer:
33798 @if target-libsanitizer
33799 maybe-info-target-libsanitizer: info-target-libsanitizer
33801 info-target-libsanitizer: \
33802 configure-target-libsanitizer
33803 @: $(MAKE); $(unstage)
33804 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33805 r=`${PWD_COMMAND}`; export r; \
33806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33807 $(RAW_CXX_TARGET_EXPORTS) \
33808 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33809 for flag in $(EXTRA_TARGET_FLAGS); do \
33810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33811 done; \
33812 (cd $(TARGET_SUBDIR)/libsanitizer && \
33813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33815 "RANLIB=$${RANLIB}" \
33816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33817 info) \
33818 || exit 1
33820 @endif target-libsanitizer
33822 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33823 maybe-dvi-target-libsanitizer:
33824 @if target-libsanitizer
33825 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33827 dvi-target-libsanitizer: \
33828 configure-target-libsanitizer
33829 @: $(MAKE); $(unstage)
33830 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33831 r=`${PWD_COMMAND}`; export r; \
33832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33833 $(RAW_CXX_TARGET_EXPORTS) \
33834 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33835 for flag in $(EXTRA_TARGET_FLAGS); do \
33836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33837 done; \
33838 (cd $(TARGET_SUBDIR)/libsanitizer && \
33839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33841 "RANLIB=$${RANLIB}" \
33842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33843 dvi) \
33844 || exit 1
33846 @endif target-libsanitizer
33848 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33849 maybe-pdf-target-libsanitizer:
33850 @if target-libsanitizer
33851 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33853 pdf-target-libsanitizer: \
33854 configure-target-libsanitizer
33855 @: $(MAKE); $(unstage)
33856 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33857 r=`${PWD_COMMAND}`; export r; \
33858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33859 $(RAW_CXX_TARGET_EXPORTS) \
33860 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33861 for flag in $(EXTRA_TARGET_FLAGS); do \
33862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33863 done; \
33864 (cd $(TARGET_SUBDIR)/libsanitizer && \
33865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33867 "RANLIB=$${RANLIB}" \
33868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33869 pdf) \
33870 || exit 1
33872 @endif target-libsanitizer
33874 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33875 maybe-html-target-libsanitizer:
33876 @if target-libsanitizer
33877 maybe-html-target-libsanitizer: html-target-libsanitizer
33879 html-target-libsanitizer: \
33880 configure-target-libsanitizer
33881 @: $(MAKE); $(unstage)
33882 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33883 r=`${PWD_COMMAND}`; export r; \
33884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33885 $(RAW_CXX_TARGET_EXPORTS) \
33886 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
33887 for flag in $(EXTRA_TARGET_FLAGS); do \
33888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33889 done; \
33890 (cd $(TARGET_SUBDIR)/libsanitizer && \
33891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33893 "RANLIB=$${RANLIB}" \
33894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33895 html) \
33896 || exit 1
33898 @endif target-libsanitizer
33900 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33901 maybe-TAGS-target-libsanitizer:
33902 @if target-libsanitizer
33903 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33905 TAGS-target-libsanitizer: \
33906 configure-target-libsanitizer
33907 @: $(MAKE); $(unstage)
33908 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33909 r=`${PWD_COMMAND}`; export r; \
33910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33911 $(RAW_CXX_TARGET_EXPORTS) \
33912 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
33913 for flag in $(EXTRA_TARGET_FLAGS); do \
33914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33915 done; \
33916 (cd $(TARGET_SUBDIR)/libsanitizer && \
33917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33919 "RANLIB=$${RANLIB}" \
33920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33921 TAGS) \
33922 || exit 1
33924 @endif target-libsanitizer
33926 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33927 maybe-install-info-target-libsanitizer:
33928 @if target-libsanitizer
33929 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33931 install-info-target-libsanitizer: \
33932 configure-target-libsanitizer \
33933 info-target-libsanitizer
33934 @: $(MAKE); $(unstage)
33935 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33936 r=`${PWD_COMMAND}`; export r; \
33937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33938 $(RAW_CXX_TARGET_EXPORTS) \
33939 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33940 for flag in $(EXTRA_TARGET_FLAGS); do \
33941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33942 done; \
33943 (cd $(TARGET_SUBDIR)/libsanitizer && \
33944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33946 "RANLIB=$${RANLIB}" \
33947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33948 install-info) \
33949 || exit 1
33951 @endif target-libsanitizer
33953 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33954 maybe-install-pdf-target-libsanitizer:
33955 @if target-libsanitizer
33956 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33958 install-pdf-target-libsanitizer: \
33959 configure-target-libsanitizer \
33960 pdf-target-libsanitizer
33961 @: $(MAKE); $(unstage)
33962 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33963 r=`${PWD_COMMAND}`; export r; \
33964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33965 $(RAW_CXX_TARGET_EXPORTS) \
33966 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33967 for flag in $(EXTRA_TARGET_FLAGS); do \
33968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33969 done; \
33970 (cd $(TARGET_SUBDIR)/libsanitizer && \
33971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33973 "RANLIB=$${RANLIB}" \
33974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33975 install-pdf) \
33976 || exit 1
33978 @endif target-libsanitizer
33980 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33981 maybe-install-html-target-libsanitizer:
33982 @if target-libsanitizer
33983 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33985 install-html-target-libsanitizer: \
33986 configure-target-libsanitizer \
33987 html-target-libsanitizer
33988 @: $(MAKE); $(unstage)
33989 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33990 r=`${PWD_COMMAND}`; export r; \
33991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33992 $(RAW_CXX_TARGET_EXPORTS) \
33993 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33994 for flag in $(EXTRA_TARGET_FLAGS); do \
33995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33996 done; \
33997 (cd $(TARGET_SUBDIR)/libsanitizer && \
33998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34000 "RANLIB=$${RANLIB}" \
34001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34002 install-html) \
34003 || exit 1
34005 @endif target-libsanitizer
34007 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
34008 maybe-installcheck-target-libsanitizer:
34009 @if target-libsanitizer
34010 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
34012 installcheck-target-libsanitizer: \
34013 configure-target-libsanitizer
34014 @: $(MAKE); $(unstage)
34015 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34016 r=`${PWD_COMMAND}`; export r; \
34017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34018 $(RAW_CXX_TARGET_EXPORTS) \
34019 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
34020 for flag in $(EXTRA_TARGET_FLAGS); do \
34021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34022 done; \
34023 (cd $(TARGET_SUBDIR)/libsanitizer && \
34024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34026 "RANLIB=$${RANLIB}" \
34027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34028 installcheck) \
34029 || exit 1
34031 @endif target-libsanitizer
34033 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
34034 maybe-mostlyclean-target-libsanitizer:
34035 @if target-libsanitizer
34036 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
34038 mostlyclean-target-libsanitizer:
34039 @: $(MAKE); $(unstage)
34040 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34041 r=`${PWD_COMMAND}`; export r; \
34042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34043 $(RAW_CXX_TARGET_EXPORTS) \
34044 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34045 for flag in $(EXTRA_TARGET_FLAGS); do \
34046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34047 done; \
34048 (cd $(TARGET_SUBDIR)/libsanitizer && \
34049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34051 "RANLIB=$${RANLIB}" \
34052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34053 mostlyclean) \
34054 || exit 1
34056 @endif target-libsanitizer
34058 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
34059 maybe-clean-target-libsanitizer:
34060 @if target-libsanitizer
34061 maybe-clean-target-libsanitizer: clean-target-libsanitizer
34063 clean-target-libsanitizer:
34064 @: $(MAKE); $(unstage)
34065 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34066 r=`${PWD_COMMAND}`; export r; \
34067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34068 $(RAW_CXX_TARGET_EXPORTS) \
34069 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34070 for flag in $(EXTRA_TARGET_FLAGS); do \
34071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34072 done; \
34073 (cd $(TARGET_SUBDIR)/libsanitizer && \
34074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34076 "RANLIB=$${RANLIB}" \
34077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34078 clean) \
34079 || exit 1
34081 @endif target-libsanitizer
34083 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
34084 maybe-distclean-target-libsanitizer:
34085 @if target-libsanitizer
34086 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34088 distclean-target-libsanitizer:
34089 @: $(MAKE); $(unstage)
34090 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34091 r=`${PWD_COMMAND}`; export r; \
34092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34093 $(RAW_CXX_TARGET_EXPORTS) \
34094 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34095 for flag in $(EXTRA_TARGET_FLAGS); do \
34096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34097 done; \
34098 (cd $(TARGET_SUBDIR)/libsanitizer && \
34099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34101 "RANLIB=$${RANLIB}" \
34102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34103 distclean) \
34104 || exit 1
34106 @endif target-libsanitizer
34108 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34109 maybe-maintainer-clean-target-libsanitizer:
34110 @if target-libsanitizer
34111 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34113 maintainer-clean-target-libsanitizer:
34114 @: $(MAKE); $(unstage)
34115 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34116 r=`${PWD_COMMAND}`; export r; \
34117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34118 $(RAW_CXX_TARGET_EXPORTS) \
34119 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34120 for flag in $(EXTRA_TARGET_FLAGS); do \
34121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34122 done; \
34123 (cd $(TARGET_SUBDIR)/libsanitizer && \
34124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34126 "RANLIB=$${RANLIB}" \
34127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34128 maintainer-clean) \
34129 || exit 1
34131 @endif target-libsanitizer
34137 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
34138 maybe-configure-target-libvtv:
34139 @if gcc-bootstrap
34140 configure-target-libvtv: stage_current
34141 @endif gcc-bootstrap
34142 @if target-libvtv
34143 maybe-configure-target-libvtv: configure-target-libvtv
34144 configure-target-libvtv:
34145 @r=`${PWD_COMMAND}`; export r; \
34146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34147 echo "Checking multilib configuration for libvtv..."; \
34148 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34149 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34150 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34151 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34152 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34153 else \
34154 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34155 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34156 fi; \
34157 else \
34158 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34159 fi; \
34160 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34162 $(RAW_CXX_TARGET_EXPORTS) \
34163 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
34164 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
34165 case $(srcdir) in \
34166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34167 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34169 esac; \
34170 module_srcdir=libvtv; \
34171 rm -f no-such-file || : ; \
34172 CONFIG_SITE=no-such-file $(SHELL) \
34173 $$s/$$module_srcdir/configure \
34174 --srcdir=$${topdir}/$$module_srcdir \
34175 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34176 --target=${target_alias} \
34177 || exit 1
34178 @endif target-libvtv
34182 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
34183 maybe-configure-stage1-target-libvtv:
34184 @if target-libvtv-bootstrap
34185 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
34186 configure-stage1-target-libvtv:
34187 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34188 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34189 @r=`${PWD_COMMAND}`; export r; \
34190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34191 TFLAGS="$(STAGE1_TFLAGS)"; \
34192 echo "Checking multilib configuration for libvtv..."; \
34193 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34194 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34195 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34196 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34197 else \
34198 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34199 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34200 fi; \
34201 else \
34202 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34203 fi; \
34204 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34205 $(RAW_CXX_TARGET_EXPORTS) \
34206 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34207 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34208 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34209 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
34210 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34211 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34212 case $(srcdir) in \
34213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34214 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34216 esac; \
34217 module_srcdir=libvtv; \
34218 $(SHELL) $$s/$$module_srcdir/configure \
34219 --srcdir=$${topdir}/$$module_srcdir \
34220 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34221 --target=${target_alias} \
34223 $(STAGE1_CONFIGURE_FLAGS)
34224 @endif target-libvtv-bootstrap
34226 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
34227 maybe-configure-stage2-target-libvtv:
34228 @if target-libvtv-bootstrap
34229 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
34230 configure-stage2-target-libvtv:
34231 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34232 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34233 @r=`${PWD_COMMAND}`; export r; \
34234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34235 TFLAGS="$(STAGE2_TFLAGS)"; \
34236 echo "Checking multilib configuration for libvtv..."; \
34237 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34238 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34239 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34240 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34241 else \
34242 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34243 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34244 fi; \
34245 else \
34246 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34247 fi; \
34248 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34249 $(RAW_CXX_TARGET_EXPORTS) \
34251 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34252 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34253 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34254 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
34255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34256 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34257 case $(srcdir) in \
34258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34259 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34261 esac; \
34262 module_srcdir=libvtv; \
34263 $(SHELL) $$s/$$module_srcdir/configure \
34264 --srcdir=$${topdir}/$$module_srcdir \
34265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34266 --target=${target_alias} \
34267 --with-build-libsubdir=$(HOST_SUBDIR) \
34268 $(STAGE2_CONFIGURE_FLAGS)
34269 @endif target-libvtv-bootstrap
34271 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
34272 maybe-configure-stage3-target-libvtv:
34273 @if target-libvtv-bootstrap
34274 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
34275 configure-stage3-target-libvtv:
34276 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34277 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34278 @r=`${PWD_COMMAND}`; export r; \
34279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34280 TFLAGS="$(STAGE3_TFLAGS)"; \
34281 echo "Checking multilib configuration for libvtv..."; \
34282 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34283 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34284 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34285 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34286 else \
34287 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34288 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34289 fi; \
34290 else \
34291 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34292 fi; \
34293 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34294 $(RAW_CXX_TARGET_EXPORTS) \
34296 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34297 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34298 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34299 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
34300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34301 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34302 case $(srcdir) in \
34303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34304 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34306 esac; \
34307 module_srcdir=libvtv; \
34308 $(SHELL) $$s/$$module_srcdir/configure \
34309 --srcdir=$${topdir}/$$module_srcdir \
34310 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34311 --target=${target_alias} \
34312 --with-build-libsubdir=$(HOST_SUBDIR) \
34313 $(STAGE3_CONFIGURE_FLAGS)
34314 @endif target-libvtv-bootstrap
34316 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
34317 maybe-configure-stage4-target-libvtv:
34318 @if target-libvtv-bootstrap
34319 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
34320 configure-stage4-target-libvtv:
34321 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34322 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34323 @r=`${PWD_COMMAND}`; export r; \
34324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34325 TFLAGS="$(STAGE4_TFLAGS)"; \
34326 echo "Checking multilib configuration for libvtv..."; \
34327 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34328 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34329 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34330 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34331 else \
34332 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34333 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34334 fi; \
34335 else \
34336 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34337 fi; \
34338 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34339 $(RAW_CXX_TARGET_EXPORTS) \
34341 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34342 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34343 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34344 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
34345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34346 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34347 case $(srcdir) in \
34348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34349 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34351 esac; \
34352 module_srcdir=libvtv; \
34353 $(SHELL) $$s/$$module_srcdir/configure \
34354 --srcdir=$${topdir}/$$module_srcdir \
34355 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34356 --target=${target_alias} \
34357 --with-build-libsubdir=$(HOST_SUBDIR) \
34358 $(STAGE4_CONFIGURE_FLAGS)
34359 @endif target-libvtv-bootstrap
34361 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34362 maybe-configure-stageprofile-target-libvtv:
34363 @if target-libvtv-bootstrap
34364 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34365 configure-stageprofile-target-libvtv:
34366 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34367 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34368 @r=`${PWD_COMMAND}`; export r; \
34369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34370 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34371 echo "Checking multilib configuration for libvtv..."; \
34372 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34373 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34374 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34375 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34376 else \
34377 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34378 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34379 fi; \
34380 else \
34381 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34382 fi; \
34383 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34384 $(RAW_CXX_TARGET_EXPORTS) \
34386 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34387 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34388 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34389 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34391 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34392 case $(srcdir) in \
34393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34394 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34396 esac; \
34397 module_srcdir=libvtv; \
34398 $(SHELL) $$s/$$module_srcdir/configure \
34399 --srcdir=$${topdir}/$$module_srcdir \
34400 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34401 --target=${target_alias} \
34402 --with-build-libsubdir=$(HOST_SUBDIR) \
34403 $(STAGEprofile_CONFIGURE_FLAGS)
34404 @endif target-libvtv-bootstrap
34406 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34407 maybe-configure-stagefeedback-target-libvtv:
34408 @if target-libvtv-bootstrap
34409 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34410 configure-stagefeedback-target-libvtv:
34411 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34412 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34413 @r=`${PWD_COMMAND}`; export r; \
34414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34415 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34416 echo "Checking multilib configuration for libvtv..."; \
34417 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34418 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34419 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34420 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34421 else \
34422 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34423 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34424 fi; \
34425 else \
34426 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34427 fi; \
34428 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34429 $(RAW_CXX_TARGET_EXPORTS) \
34431 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34432 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34433 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34434 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34435 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34436 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34437 case $(srcdir) in \
34438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34439 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34441 esac; \
34442 module_srcdir=libvtv; \
34443 $(SHELL) $$s/$$module_srcdir/configure \
34444 --srcdir=$${topdir}/$$module_srcdir \
34445 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34446 --target=${target_alias} \
34447 --with-build-libsubdir=$(HOST_SUBDIR) \
34448 $(STAGEfeedback_CONFIGURE_FLAGS)
34449 @endif target-libvtv-bootstrap
34455 .PHONY: all-target-libvtv maybe-all-target-libvtv
34456 maybe-all-target-libvtv:
34457 @if gcc-bootstrap
34458 all-target-libvtv: stage_current
34459 @endif gcc-bootstrap
34460 @if target-libvtv
34461 TARGET-target-libvtv=all
34462 maybe-all-target-libvtv: all-target-libvtv
34463 all-target-libvtv: configure-target-libvtv
34464 @r=`${PWD_COMMAND}`; export r; \
34465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34466 $(RAW_CXX_TARGET_EXPORTS) \
34467 (cd $(TARGET_SUBDIR)/libvtv && \
34468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34469 $(TARGET-target-libvtv))
34470 @endif target-libvtv
34474 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34475 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34476 maybe-all-stage1-target-libvtv:
34477 maybe-clean-stage1-target-libvtv:
34478 @if target-libvtv-bootstrap
34479 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34480 all-stage1: all-stage1-target-libvtv
34481 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34482 all-stage1-target-libvtv: configure-stage1-target-libvtv
34483 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34484 @r=`${PWD_COMMAND}`; export r; \
34485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34486 TFLAGS="$(STAGE1_TFLAGS)"; \
34487 $(RAW_CXX_TARGET_EXPORTS) \
34488 cd $(TARGET_SUBDIR)/libvtv && \
34489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34490 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34491 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34492 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34496 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34498 TFLAGS="$(STAGE1_TFLAGS)" \
34499 $(TARGET-stage1-target-libvtv)
34501 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34502 clean-stage1: clean-stage1-target-libvtv
34503 clean-stage1-target-libvtv:
34504 @if [ $(current_stage) = stage1 ]; then \
34505 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34506 else \
34507 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34508 $(MAKE) stage1-start; \
34509 fi; \
34510 cd $(TARGET_SUBDIR)/libvtv && \
34511 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34512 clean
34513 @endif target-libvtv-bootstrap
34516 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34517 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34518 maybe-all-stage2-target-libvtv:
34519 maybe-clean-stage2-target-libvtv:
34520 @if target-libvtv-bootstrap
34521 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34522 all-stage2: all-stage2-target-libvtv
34523 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34524 all-stage2-target-libvtv: configure-stage2-target-libvtv
34525 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34526 @r=`${PWD_COMMAND}`; export r; \
34527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34528 TFLAGS="$(STAGE2_TFLAGS)"; \
34529 $(RAW_CXX_TARGET_EXPORTS) \
34531 cd $(TARGET_SUBDIR)/libvtv && \
34532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34533 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34535 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34539 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34540 TFLAGS="$(STAGE2_TFLAGS)" \
34541 $(TARGET-stage2-target-libvtv)
34543 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34544 clean-stage2: clean-stage2-target-libvtv
34545 clean-stage2-target-libvtv:
34546 @if [ $(current_stage) = stage2 ]; then \
34547 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34548 else \
34549 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34550 $(MAKE) stage2-start; \
34551 fi; \
34552 cd $(TARGET_SUBDIR)/libvtv && \
34553 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34554 @endif target-libvtv-bootstrap
34557 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34558 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34559 maybe-all-stage3-target-libvtv:
34560 maybe-clean-stage3-target-libvtv:
34561 @if target-libvtv-bootstrap
34562 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34563 all-stage3: all-stage3-target-libvtv
34564 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34565 all-stage3-target-libvtv: configure-stage3-target-libvtv
34566 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34567 @r=`${PWD_COMMAND}`; export r; \
34568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34569 TFLAGS="$(STAGE3_TFLAGS)"; \
34570 $(RAW_CXX_TARGET_EXPORTS) \
34572 cd $(TARGET_SUBDIR)/libvtv && \
34573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34574 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34575 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34576 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34577 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34578 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34579 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34580 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34581 TFLAGS="$(STAGE3_TFLAGS)" \
34582 $(TARGET-stage3-target-libvtv)
34584 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34585 clean-stage3: clean-stage3-target-libvtv
34586 clean-stage3-target-libvtv:
34587 @if [ $(current_stage) = stage3 ]; then \
34588 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34589 else \
34590 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34591 $(MAKE) stage3-start; \
34592 fi; \
34593 cd $(TARGET_SUBDIR)/libvtv && \
34594 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34595 @endif target-libvtv-bootstrap
34598 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34599 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34600 maybe-all-stage4-target-libvtv:
34601 maybe-clean-stage4-target-libvtv:
34602 @if target-libvtv-bootstrap
34603 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34604 all-stage4: all-stage4-target-libvtv
34605 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34606 all-stage4-target-libvtv: configure-stage4-target-libvtv
34607 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34608 @r=`${PWD_COMMAND}`; export r; \
34609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34610 TFLAGS="$(STAGE4_TFLAGS)"; \
34611 $(RAW_CXX_TARGET_EXPORTS) \
34613 cd $(TARGET_SUBDIR)/libvtv && \
34614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34615 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34616 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34617 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34621 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34622 TFLAGS="$(STAGE4_TFLAGS)" \
34623 $(TARGET-stage4-target-libvtv)
34625 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34626 clean-stage4: clean-stage4-target-libvtv
34627 clean-stage4-target-libvtv:
34628 @if [ $(current_stage) = stage4 ]; then \
34629 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34630 else \
34631 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34632 $(MAKE) stage4-start; \
34633 fi; \
34634 cd $(TARGET_SUBDIR)/libvtv && \
34635 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34636 @endif target-libvtv-bootstrap
34639 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34640 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34641 maybe-all-stageprofile-target-libvtv:
34642 maybe-clean-stageprofile-target-libvtv:
34643 @if target-libvtv-bootstrap
34644 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34645 all-stageprofile: all-stageprofile-target-libvtv
34646 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34647 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34648 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34649 @r=`${PWD_COMMAND}`; export r; \
34650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34651 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34652 $(RAW_CXX_TARGET_EXPORTS) \
34654 cd $(TARGET_SUBDIR)/libvtv && \
34655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34656 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34657 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34658 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34662 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34663 TFLAGS="$(STAGEprofile_TFLAGS)" \
34664 $(TARGET-stageprofile-target-libvtv)
34666 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34667 clean-stageprofile: clean-stageprofile-target-libvtv
34668 clean-stageprofile-target-libvtv:
34669 @if [ $(current_stage) = stageprofile ]; then \
34670 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34671 else \
34672 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34673 $(MAKE) stageprofile-start; \
34674 fi; \
34675 cd $(TARGET_SUBDIR)/libvtv && \
34676 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34677 @endif target-libvtv-bootstrap
34680 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34681 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34682 maybe-all-stagefeedback-target-libvtv:
34683 maybe-clean-stagefeedback-target-libvtv:
34684 @if target-libvtv-bootstrap
34685 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34686 all-stagefeedback: all-stagefeedback-target-libvtv
34687 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34688 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34689 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34690 @r=`${PWD_COMMAND}`; export r; \
34691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34692 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34693 $(RAW_CXX_TARGET_EXPORTS) \
34695 cd $(TARGET_SUBDIR)/libvtv && \
34696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34697 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34698 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34699 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34703 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34704 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34705 $(TARGET-stagefeedback-target-libvtv)
34707 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34708 clean-stagefeedback: clean-stagefeedback-target-libvtv
34709 clean-stagefeedback-target-libvtv:
34710 @if [ $(current_stage) = stagefeedback ]; then \
34711 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34712 else \
34713 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34714 $(MAKE) stagefeedback-start; \
34715 fi; \
34716 cd $(TARGET_SUBDIR)/libvtv && \
34717 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34718 @endif target-libvtv-bootstrap
34725 .PHONY: check-target-libvtv maybe-check-target-libvtv
34726 maybe-check-target-libvtv:
34727 @if target-libvtv
34728 maybe-check-target-libvtv: check-target-libvtv
34730 check-target-libvtv:
34731 @: $(MAKE); $(unstage)
34732 @r=`${PWD_COMMAND}`; export r; \
34733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34734 $(RAW_CXX_TARGET_EXPORTS) \
34735 (cd $(TARGET_SUBDIR)/libvtv && \
34736 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34738 @endif target-libvtv
34740 .PHONY: install-target-libvtv maybe-install-target-libvtv
34741 maybe-install-target-libvtv:
34742 @if target-libvtv
34743 maybe-install-target-libvtv: install-target-libvtv
34745 install-target-libvtv: installdirs
34746 @: $(MAKE); $(unstage)
34747 @r=`${PWD_COMMAND}`; export r; \
34748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34749 $(RAW_CXX_TARGET_EXPORTS) \
34750 (cd $(TARGET_SUBDIR)/libvtv && \
34751 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34753 @endif target-libvtv
34755 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34756 maybe-install-strip-target-libvtv:
34757 @if target-libvtv
34758 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34760 install-strip-target-libvtv: installdirs
34761 @: $(MAKE); $(unstage)
34762 @r=`${PWD_COMMAND}`; export r; \
34763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34764 $(RAW_CXX_TARGET_EXPORTS) \
34765 (cd $(TARGET_SUBDIR)/libvtv && \
34766 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34768 @endif target-libvtv
34770 # Other targets (info, dvi, pdf, etc.)
34772 .PHONY: maybe-info-target-libvtv info-target-libvtv
34773 maybe-info-target-libvtv:
34774 @if target-libvtv
34775 maybe-info-target-libvtv: info-target-libvtv
34777 info-target-libvtv: \
34778 configure-target-libvtv
34779 @: $(MAKE); $(unstage)
34780 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34781 r=`${PWD_COMMAND}`; export r; \
34782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34783 $(RAW_CXX_TARGET_EXPORTS) \
34784 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34785 for flag in $(EXTRA_TARGET_FLAGS); do \
34786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34787 done; \
34788 (cd $(TARGET_SUBDIR)/libvtv && \
34789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34791 "RANLIB=$${RANLIB}" \
34792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34793 info) \
34794 || exit 1
34796 @endif target-libvtv
34798 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34799 maybe-dvi-target-libvtv:
34800 @if target-libvtv
34801 maybe-dvi-target-libvtv: dvi-target-libvtv
34803 dvi-target-libvtv: \
34804 configure-target-libvtv
34805 @: $(MAKE); $(unstage)
34806 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34807 r=`${PWD_COMMAND}`; export r; \
34808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34809 $(RAW_CXX_TARGET_EXPORTS) \
34810 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34811 for flag in $(EXTRA_TARGET_FLAGS); do \
34812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34813 done; \
34814 (cd $(TARGET_SUBDIR)/libvtv && \
34815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34817 "RANLIB=$${RANLIB}" \
34818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34819 dvi) \
34820 || exit 1
34822 @endif target-libvtv
34824 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34825 maybe-pdf-target-libvtv:
34826 @if target-libvtv
34827 maybe-pdf-target-libvtv: pdf-target-libvtv
34829 pdf-target-libvtv: \
34830 configure-target-libvtv
34831 @: $(MAKE); $(unstage)
34832 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34833 r=`${PWD_COMMAND}`; export r; \
34834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34835 $(RAW_CXX_TARGET_EXPORTS) \
34836 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34837 for flag in $(EXTRA_TARGET_FLAGS); do \
34838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34839 done; \
34840 (cd $(TARGET_SUBDIR)/libvtv && \
34841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34843 "RANLIB=$${RANLIB}" \
34844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34845 pdf) \
34846 || exit 1
34848 @endif target-libvtv
34850 .PHONY: maybe-html-target-libvtv html-target-libvtv
34851 maybe-html-target-libvtv:
34852 @if target-libvtv
34853 maybe-html-target-libvtv: html-target-libvtv
34855 html-target-libvtv: \
34856 configure-target-libvtv
34857 @: $(MAKE); $(unstage)
34858 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34859 r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34861 $(RAW_CXX_TARGET_EXPORTS) \
34862 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34863 for flag in $(EXTRA_TARGET_FLAGS); do \
34864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34865 done; \
34866 (cd $(TARGET_SUBDIR)/libvtv && \
34867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34869 "RANLIB=$${RANLIB}" \
34870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34871 html) \
34872 || exit 1
34874 @endif target-libvtv
34876 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
34877 maybe-TAGS-target-libvtv:
34878 @if target-libvtv
34879 maybe-TAGS-target-libvtv: TAGS-target-libvtv
34881 TAGS-target-libvtv: \
34882 configure-target-libvtv
34883 @: $(MAKE); $(unstage)
34884 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34885 r=`${PWD_COMMAND}`; export r; \
34886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34887 $(RAW_CXX_TARGET_EXPORTS) \
34888 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
34889 for flag in $(EXTRA_TARGET_FLAGS); do \
34890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34891 done; \
34892 (cd $(TARGET_SUBDIR)/libvtv && \
34893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34895 "RANLIB=$${RANLIB}" \
34896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34897 TAGS) \
34898 || exit 1
34900 @endif target-libvtv
34902 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
34903 maybe-install-info-target-libvtv:
34904 @if target-libvtv
34905 maybe-install-info-target-libvtv: install-info-target-libvtv
34907 install-info-target-libvtv: \
34908 configure-target-libvtv \
34909 info-target-libvtv
34910 @: $(MAKE); $(unstage)
34911 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34912 r=`${PWD_COMMAND}`; export r; \
34913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34914 $(RAW_CXX_TARGET_EXPORTS) \
34915 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
34916 for flag in $(EXTRA_TARGET_FLAGS); do \
34917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34918 done; \
34919 (cd $(TARGET_SUBDIR)/libvtv && \
34920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34922 "RANLIB=$${RANLIB}" \
34923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34924 install-info) \
34925 || exit 1
34927 @endif target-libvtv
34929 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
34930 maybe-install-pdf-target-libvtv:
34931 @if target-libvtv
34932 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
34934 install-pdf-target-libvtv: \
34935 configure-target-libvtv \
34936 pdf-target-libvtv
34937 @: $(MAKE); $(unstage)
34938 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34939 r=`${PWD_COMMAND}`; export r; \
34940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34941 $(RAW_CXX_TARGET_EXPORTS) \
34942 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
34943 for flag in $(EXTRA_TARGET_FLAGS); do \
34944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34945 done; \
34946 (cd $(TARGET_SUBDIR)/libvtv && \
34947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34949 "RANLIB=$${RANLIB}" \
34950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34951 install-pdf) \
34952 || exit 1
34954 @endif target-libvtv
34956 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
34957 maybe-install-html-target-libvtv:
34958 @if target-libvtv
34959 maybe-install-html-target-libvtv: install-html-target-libvtv
34961 install-html-target-libvtv: \
34962 configure-target-libvtv \
34963 html-target-libvtv
34964 @: $(MAKE); $(unstage)
34965 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34966 r=`${PWD_COMMAND}`; export r; \
34967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34968 $(RAW_CXX_TARGET_EXPORTS) \
34969 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34970 for flag in $(EXTRA_TARGET_FLAGS); do \
34971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34972 done; \
34973 (cd $(TARGET_SUBDIR)/libvtv && \
34974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34976 "RANLIB=$${RANLIB}" \
34977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34978 install-html) \
34979 || exit 1
34981 @endif target-libvtv
34983 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34984 maybe-installcheck-target-libvtv:
34985 @if target-libvtv
34986 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34988 installcheck-target-libvtv: \
34989 configure-target-libvtv
34990 @: $(MAKE); $(unstage)
34991 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34992 r=`${PWD_COMMAND}`; export r; \
34993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34994 $(RAW_CXX_TARGET_EXPORTS) \
34995 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34996 for flag in $(EXTRA_TARGET_FLAGS); do \
34997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34998 done; \
34999 (cd $(TARGET_SUBDIR)/libvtv && \
35000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35002 "RANLIB=$${RANLIB}" \
35003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35004 installcheck) \
35005 || exit 1
35007 @endif target-libvtv
35009 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
35010 maybe-mostlyclean-target-libvtv:
35011 @if target-libvtv
35012 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
35014 mostlyclean-target-libvtv:
35015 @: $(MAKE); $(unstage)
35016 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35017 r=`${PWD_COMMAND}`; export r; \
35018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35019 $(RAW_CXX_TARGET_EXPORTS) \
35020 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
35021 for flag in $(EXTRA_TARGET_FLAGS); do \
35022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35023 done; \
35024 (cd $(TARGET_SUBDIR)/libvtv && \
35025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35027 "RANLIB=$${RANLIB}" \
35028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35029 mostlyclean) \
35030 || exit 1
35032 @endif target-libvtv
35034 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
35035 maybe-clean-target-libvtv:
35036 @if target-libvtv
35037 maybe-clean-target-libvtv: clean-target-libvtv
35039 clean-target-libvtv:
35040 @: $(MAKE); $(unstage)
35041 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35042 r=`${PWD_COMMAND}`; export r; \
35043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35044 $(RAW_CXX_TARGET_EXPORTS) \
35045 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
35046 for flag in $(EXTRA_TARGET_FLAGS); do \
35047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35048 done; \
35049 (cd $(TARGET_SUBDIR)/libvtv && \
35050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35052 "RANLIB=$${RANLIB}" \
35053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35054 clean) \
35055 || exit 1
35057 @endif target-libvtv
35059 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
35060 maybe-distclean-target-libvtv:
35061 @if target-libvtv
35062 maybe-distclean-target-libvtv: distclean-target-libvtv
35064 distclean-target-libvtv:
35065 @: $(MAKE); $(unstage)
35066 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35067 r=`${PWD_COMMAND}`; export r; \
35068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35069 $(RAW_CXX_TARGET_EXPORTS) \
35070 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
35071 for flag in $(EXTRA_TARGET_FLAGS); do \
35072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35073 done; \
35074 (cd $(TARGET_SUBDIR)/libvtv && \
35075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35077 "RANLIB=$${RANLIB}" \
35078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35079 distclean) \
35080 || exit 1
35082 @endif target-libvtv
35084 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
35085 maybe-maintainer-clean-target-libvtv:
35086 @if target-libvtv
35087 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
35089 maintainer-clean-target-libvtv:
35090 @: $(MAKE); $(unstage)
35091 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35092 r=`${PWD_COMMAND}`; export r; \
35093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35094 $(RAW_CXX_TARGET_EXPORTS) \
35095 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
35096 for flag in $(EXTRA_TARGET_FLAGS); do \
35097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35098 done; \
35099 (cd $(TARGET_SUBDIR)/libvtv && \
35100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35102 "RANLIB=$${RANLIB}" \
35103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35104 maintainer-clean) \
35105 || exit 1
35107 @endif target-libvtv
35113 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
35114 maybe-configure-target-libcilkrts:
35115 @if gcc-bootstrap
35116 configure-target-libcilkrts: stage_current
35117 @endif gcc-bootstrap
35118 @if target-libcilkrts
35119 maybe-configure-target-libcilkrts: configure-target-libcilkrts
35120 configure-target-libcilkrts:
35121 @: $(MAKE); $(unstage)
35122 @r=`${PWD_COMMAND}`; export r; \
35123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35124 echo "Checking multilib configuration for libcilkrts..."; \
35125 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35126 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
35127 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35128 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35129 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
35130 else \
35131 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
35132 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35133 fi; \
35134 else \
35135 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35136 fi; \
35137 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
35138 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35139 $(NORMAL_TARGET_EXPORTS) \
35140 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
35141 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
35142 case $(srcdir) in \
35143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35144 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
35145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35146 esac; \
35147 module_srcdir=libcilkrts; \
35148 rm -f no-such-file || : ; \
35149 CONFIG_SITE=no-such-file $(SHELL) \
35150 $$s/$$module_srcdir/configure \
35151 --srcdir=$${topdir}/$$module_srcdir \
35152 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35153 --target=${target_alias} \
35154 || exit 1
35155 @endif target-libcilkrts
35161 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
35162 maybe-all-target-libcilkrts:
35163 @if gcc-bootstrap
35164 all-target-libcilkrts: stage_current
35165 @endif gcc-bootstrap
35166 @if target-libcilkrts
35167 TARGET-target-libcilkrts=all
35168 maybe-all-target-libcilkrts: all-target-libcilkrts
35169 all-target-libcilkrts: configure-target-libcilkrts
35170 @: $(MAKE); $(unstage)
35171 @r=`${PWD_COMMAND}`; export r; \
35172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35173 $(NORMAL_TARGET_EXPORTS) \
35174 (cd $(TARGET_SUBDIR)/libcilkrts && \
35175 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35176 $(TARGET-target-libcilkrts))
35177 @endif target-libcilkrts
35183 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
35184 maybe-check-target-libcilkrts:
35185 @if target-libcilkrts
35186 maybe-check-target-libcilkrts: check-target-libcilkrts
35188 check-target-libcilkrts:
35189 @: $(MAKE); $(unstage)
35190 @r=`${PWD_COMMAND}`; export r; \
35191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35192 $(NORMAL_TARGET_EXPORTS) \
35193 (cd $(TARGET_SUBDIR)/libcilkrts && \
35194 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35196 @endif target-libcilkrts
35198 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
35199 maybe-install-target-libcilkrts:
35200 @if target-libcilkrts
35201 maybe-install-target-libcilkrts: install-target-libcilkrts
35203 install-target-libcilkrts: installdirs
35204 @: $(MAKE); $(unstage)
35205 @r=`${PWD_COMMAND}`; export r; \
35206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35207 $(NORMAL_TARGET_EXPORTS) \
35208 (cd $(TARGET_SUBDIR)/libcilkrts && \
35209 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35211 @endif target-libcilkrts
35213 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
35214 maybe-install-strip-target-libcilkrts:
35215 @if target-libcilkrts
35216 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
35218 install-strip-target-libcilkrts: installdirs
35219 @: $(MAKE); $(unstage)
35220 @r=`${PWD_COMMAND}`; export r; \
35221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35222 $(NORMAL_TARGET_EXPORTS) \
35223 (cd $(TARGET_SUBDIR)/libcilkrts && \
35224 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35226 @endif target-libcilkrts
35228 # Other targets (info, dvi, pdf, etc.)
35230 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
35231 maybe-info-target-libcilkrts:
35232 @if target-libcilkrts
35233 maybe-info-target-libcilkrts: info-target-libcilkrts
35235 info-target-libcilkrts: \
35236 configure-target-libcilkrts
35237 @: $(MAKE); $(unstage)
35238 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35239 r=`${PWD_COMMAND}`; export r; \
35240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35241 $(NORMAL_TARGET_EXPORTS) \
35242 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
35243 for flag in $(EXTRA_TARGET_FLAGS); do \
35244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35245 done; \
35246 (cd $(TARGET_SUBDIR)/libcilkrts && \
35247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35249 "RANLIB=$${RANLIB}" \
35250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35251 info) \
35252 || exit 1
35254 @endif target-libcilkrts
35256 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
35257 maybe-dvi-target-libcilkrts:
35258 @if target-libcilkrts
35259 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
35261 dvi-target-libcilkrts: \
35262 configure-target-libcilkrts
35263 @: $(MAKE); $(unstage)
35264 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35265 r=`${PWD_COMMAND}`; export r; \
35266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35267 $(NORMAL_TARGET_EXPORTS) \
35268 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
35269 for flag in $(EXTRA_TARGET_FLAGS); do \
35270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35271 done; \
35272 (cd $(TARGET_SUBDIR)/libcilkrts && \
35273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35275 "RANLIB=$${RANLIB}" \
35276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35277 dvi) \
35278 || exit 1
35280 @endif target-libcilkrts
35282 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
35283 maybe-pdf-target-libcilkrts:
35284 @if target-libcilkrts
35285 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
35287 pdf-target-libcilkrts: \
35288 configure-target-libcilkrts
35289 @: $(MAKE); $(unstage)
35290 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35291 r=`${PWD_COMMAND}`; export r; \
35292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35293 $(NORMAL_TARGET_EXPORTS) \
35294 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35295 for flag in $(EXTRA_TARGET_FLAGS); do \
35296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35297 done; \
35298 (cd $(TARGET_SUBDIR)/libcilkrts && \
35299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35301 "RANLIB=$${RANLIB}" \
35302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35303 pdf) \
35304 || exit 1
35306 @endif target-libcilkrts
35308 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
35309 maybe-html-target-libcilkrts:
35310 @if target-libcilkrts
35311 maybe-html-target-libcilkrts: html-target-libcilkrts
35313 html-target-libcilkrts: \
35314 configure-target-libcilkrts
35315 @: $(MAKE); $(unstage)
35316 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35317 r=`${PWD_COMMAND}`; export r; \
35318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35319 $(NORMAL_TARGET_EXPORTS) \
35320 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
35321 for flag in $(EXTRA_TARGET_FLAGS); do \
35322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35323 done; \
35324 (cd $(TARGET_SUBDIR)/libcilkrts && \
35325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35327 "RANLIB=$${RANLIB}" \
35328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35329 html) \
35330 || exit 1
35332 @endif target-libcilkrts
35334 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
35335 maybe-TAGS-target-libcilkrts:
35336 @if target-libcilkrts
35337 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
35339 TAGS-target-libcilkrts: \
35340 configure-target-libcilkrts
35341 @: $(MAKE); $(unstage)
35342 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35343 r=`${PWD_COMMAND}`; export r; \
35344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35345 $(NORMAL_TARGET_EXPORTS) \
35346 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
35347 for flag in $(EXTRA_TARGET_FLAGS); do \
35348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35349 done; \
35350 (cd $(TARGET_SUBDIR)/libcilkrts && \
35351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35353 "RANLIB=$${RANLIB}" \
35354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35355 TAGS) \
35356 || exit 1
35358 @endif target-libcilkrts
35360 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35361 maybe-install-info-target-libcilkrts:
35362 @if target-libcilkrts
35363 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35365 install-info-target-libcilkrts: \
35366 configure-target-libcilkrts \
35367 info-target-libcilkrts
35368 @: $(MAKE); $(unstage)
35369 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35370 r=`${PWD_COMMAND}`; export r; \
35371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35372 $(NORMAL_TARGET_EXPORTS) \
35373 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35374 for flag in $(EXTRA_TARGET_FLAGS); do \
35375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35376 done; \
35377 (cd $(TARGET_SUBDIR)/libcilkrts && \
35378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35380 "RANLIB=$${RANLIB}" \
35381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35382 install-info) \
35383 || exit 1
35385 @endif target-libcilkrts
35387 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35388 maybe-install-pdf-target-libcilkrts:
35389 @if target-libcilkrts
35390 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35392 install-pdf-target-libcilkrts: \
35393 configure-target-libcilkrts \
35394 pdf-target-libcilkrts
35395 @: $(MAKE); $(unstage)
35396 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35397 r=`${PWD_COMMAND}`; export r; \
35398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35399 $(NORMAL_TARGET_EXPORTS) \
35400 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35401 for flag in $(EXTRA_TARGET_FLAGS); do \
35402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35403 done; \
35404 (cd $(TARGET_SUBDIR)/libcilkrts && \
35405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35407 "RANLIB=$${RANLIB}" \
35408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35409 install-pdf) \
35410 || exit 1
35412 @endif target-libcilkrts
35414 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35415 maybe-install-html-target-libcilkrts:
35416 @if target-libcilkrts
35417 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35419 install-html-target-libcilkrts: \
35420 configure-target-libcilkrts \
35421 html-target-libcilkrts
35422 @: $(MAKE); $(unstage)
35423 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35424 r=`${PWD_COMMAND}`; export r; \
35425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35426 $(NORMAL_TARGET_EXPORTS) \
35427 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35428 for flag in $(EXTRA_TARGET_FLAGS); do \
35429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35430 done; \
35431 (cd $(TARGET_SUBDIR)/libcilkrts && \
35432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35434 "RANLIB=$${RANLIB}" \
35435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35436 install-html) \
35437 || exit 1
35439 @endif target-libcilkrts
35441 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35442 maybe-installcheck-target-libcilkrts:
35443 @if target-libcilkrts
35444 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35446 installcheck-target-libcilkrts: \
35447 configure-target-libcilkrts
35448 @: $(MAKE); $(unstage)
35449 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35450 r=`${PWD_COMMAND}`; export r; \
35451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35452 $(NORMAL_TARGET_EXPORTS) \
35453 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35454 for flag in $(EXTRA_TARGET_FLAGS); do \
35455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35456 done; \
35457 (cd $(TARGET_SUBDIR)/libcilkrts && \
35458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35460 "RANLIB=$${RANLIB}" \
35461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35462 installcheck) \
35463 || exit 1
35465 @endif target-libcilkrts
35467 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35468 maybe-mostlyclean-target-libcilkrts:
35469 @if target-libcilkrts
35470 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35472 mostlyclean-target-libcilkrts:
35473 @: $(MAKE); $(unstage)
35474 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35475 r=`${PWD_COMMAND}`; export r; \
35476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35477 $(NORMAL_TARGET_EXPORTS) \
35478 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35479 for flag in $(EXTRA_TARGET_FLAGS); do \
35480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 done; \
35482 (cd $(TARGET_SUBDIR)/libcilkrts && \
35483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35485 "RANLIB=$${RANLIB}" \
35486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35487 mostlyclean) \
35488 || exit 1
35490 @endif target-libcilkrts
35492 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35493 maybe-clean-target-libcilkrts:
35494 @if target-libcilkrts
35495 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35497 clean-target-libcilkrts:
35498 @: $(MAKE); $(unstage)
35499 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35500 r=`${PWD_COMMAND}`; export r; \
35501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35502 $(NORMAL_TARGET_EXPORTS) \
35503 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35504 for flag in $(EXTRA_TARGET_FLAGS); do \
35505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35506 done; \
35507 (cd $(TARGET_SUBDIR)/libcilkrts && \
35508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35510 "RANLIB=$${RANLIB}" \
35511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35512 clean) \
35513 || exit 1
35515 @endif target-libcilkrts
35517 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35518 maybe-distclean-target-libcilkrts:
35519 @if target-libcilkrts
35520 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35522 distclean-target-libcilkrts:
35523 @: $(MAKE); $(unstage)
35524 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35525 r=`${PWD_COMMAND}`; export r; \
35526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35527 $(NORMAL_TARGET_EXPORTS) \
35528 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35529 for flag in $(EXTRA_TARGET_FLAGS); do \
35530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35531 done; \
35532 (cd $(TARGET_SUBDIR)/libcilkrts && \
35533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35535 "RANLIB=$${RANLIB}" \
35536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35537 distclean) \
35538 || exit 1
35540 @endif target-libcilkrts
35542 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35543 maybe-maintainer-clean-target-libcilkrts:
35544 @if target-libcilkrts
35545 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35547 maintainer-clean-target-libcilkrts:
35548 @: $(MAKE); $(unstage)
35549 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35550 r=`${PWD_COMMAND}`; export r; \
35551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35552 $(NORMAL_TARGET_EXPORTS) \
35553 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35554 for flag in $(EXTRA_TARGET_FLAGS); do \
35555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35556 done; \
35557 (cd $(TARGET_SUBDIR)/libcilkrts && \
35558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35560 "RANLIB=$${RANLIB}" \
35561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35562 maintainer-clean) \
35563 || exit 1
35565 @endif target-libcilkrts
35571 .PHONY: configure-target-libssp maybe-configure-target-libssp
35572 maybe-configure-target-libssp:
35573 @if gcc-bootstrap
35574 configure-target-libssp: stage_current
35575 @endif gcc-bootstrap
35576 @if target-libssp
35577 maybe-configure-target-libssp: configure-target-libssp
35578 configure-target-libssp:
35579 @: $(MAKE); $(unstage)
35580 @r=`${PWD_COMMAND}`; export r; \
35581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35582 echo "Checking multilib configuration for libssp..."; \
35583 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35584 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
35585 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
35586 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
35587 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
35588 else \
35589 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
35590 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35591 fi; \
35592 else \
35593 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35594 fi; \
35595 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
35596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35597 $(NORMAL_TARGET_EXPORTS) \
35598 echo Configuring in $(TARGET_SUBDIR)/libssp; \
35599 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
35600 case $(srcdir) in \
35601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35602 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
35603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35604 esac; \
35605 module_srcdir=libssp; \
35606 rm -f no-such-file || : ; \
35607 CONFIG_SITE=no-such-file $(SHELL) \
35608 $$s/$$module_srcdir/configure \
35609 --srcdir=$${topdir}/$$module_srcdir \
35610 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35611 --target=${target_alias} \
35612 || exit 1
35613 @endif target-libssp
35619 .PHONY: all-target-libssp maybe-all-target-libssp
35620 maybe-all-target-libssp:
35621 @if gcc-bootstrap
35622 all-target-libssp: stage_current
35623 @endif gcc-bootstrap
35624 @if target-libssp
35625 TARGET-target-libssp=all
35626 maybe-all-target-libssp: all-target-libssp
35627 all-target-libssp: configure-target-libssp
35628 @: $(MAKE); $(unstage)
35629 @r=`${PWD_COMMAND}`; export r; \
35630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35631 $(NORMAL_TARGET_EXPORTS) \
35632 (cd $(TARGET_SUBDIR)/libssp && \
35633 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35634 $(TARGET-target-libssp))
35635 @endif target-libssp
35641 .PHONY: check-target-libssp maybe-check-target-libssp
35642 maybe-check-target-libssp:
35643 @if target-libssp
35644 maybe-check-target-libssp: check-target-libssp
35646 check-target-libssp:
35647 @: $(MAKE); $(unstage)
35648 @r=`${PWD_COMMAND}`; export r; \
35649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35650 $(NORMAL_TARGET_EXPORTS) \
35651 (cd $(TARGET_SUBDIR)/libssp && \
35652 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35654 @endif target-libssp
35656 .PHONY: install-target-libssp maybe-install-target-libssp
35657 maybe-install-target-libssp:
35658 @if target-libssp
35659 maybe-install-target-libssp: install-target-libssp
35661 install-target-libssp: installdirs
35662 @: $(MAKE); $(unstage)
35663 @r=`${PWD_COMMAND}`; export r; \
35664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35665 $(NORMAL_TARGET_EXPORTS) \
35666 (cd $(TARGET_SUBDIR)/libssp && \
35667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35669 @endif target-libssp
35671 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
35672 maybe-install-strip-target-libssp:
35673 @if target-libssp
35674 maybe-install-strip-target-libssp: install-strip-target-libssp
35676 install-strip-target-libssp: installdirs
35677 @: $(MAKE); $(unstage)
35678 @r=`${PWD_COMMAND}`; export r; \
35679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35680 $(NORMAL_TARGET_EXPORTS) \
35681 (cd $(TARGET_SUBDIR)/libssp && \
35682 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35684 @endif target-libssp
35686 # Other targets (info, dvi, pdf, etc.)
35688 .PHONY: maybe-info-target-libssp info-target-libssp
35689 maybe-info-target-libssp:
35690 @if target-libssp
35691 maybe-info-target-libssp: info-target-libssp
35693 info-target-libssp: \
35694 configure-target-libssp
35695 @: $(MAKE); $(unstage)
35696 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35697 r=`${PWD_COMMAND}`; export r; \
35698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35699 $(NORMAL_TARGET_EXPORTS) \
35700 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
35701 for flag in $(EXTRA_TARGET_FLAGS); do \
35702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35703 done; \
35704 (cd $(TARGET_SUBDIR)/libssp && \
35705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35707 "RANLIB=$${RANLIB}" \
35708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35709 info) \
35710 || exit 1
35712 @endif target-libssp
35714 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
35715 maybe-dvi-target-libssp:
35716 @if target-libssp
35717 maybe-dvi-target-libssp: dvi-target-libssp
35719 dvi-target-libssp: \
35720 configure-target-libssp
35721 @: $(MAKE); $(unstage)
35722 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35723 r=`${PWD_COMMAND}`; export r; \
35724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35725 $(NORMAL_TARGET_EXPORTS) \
35726 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
35727 for flag in $(EXTRA_TARGET_FLAGS); do \
35728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35729 done; \
35730 (cd $(TARGET_SUBDIR)/libssp && \
35731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35733 "RANLIB=$${RANLIB}" \
35734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35735 dvi) \
35736 || exit 1
35738 @endif target-libssp
35740 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
35741 maybe-pdf-target-libssp:
35742 @if target-libssp
35743 maybe-pdf-target-libssp: pdf-target-libssp
35745 pdf-target-libssp: \
35746 configure-target-libssp
35747 @: $(MAKE); $(unstage)
35748 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35749 r=`${PWD_COMMAND}`; export r; \
35750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35751 $(NORMAL_TARGET_EXPORTS) \
35752 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
35753 for flag in $(EXTRA_TARGET_FLAGS); do \
35754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35755 done; \
35756 (cd $(TARGET_SUBDIR)/libssp && \
35757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35759 "RANLIB=$${RANLIB}" \
35760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35761 pdf) \
35762 || exit 1
35764 @endif target-libssp
35766 .PHONY: maybe-html-target-libssp html-target-libssp
35767 maybe-html-target-libssp:
35768 @if target-libssp
35769 maybe-html-target-libssp: html-target-libssp
35771 html-target-libssp: \
35772 configure-target-libssp
35773 @: $(MAKE); $(unstage)
35774 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35775 r=`${PWD_COMMAND}`; export r; \
35776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35777 $(NORMAL_TARGET_EXPORTS) \
35778 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
35779 for flag in $(EXTRA_TARGET_FLAGS); do \
35780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35781 done; \
35782 (cd $(TARGET_SUBDIR)/libssp && \
35783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35785 "RANLIB=$${RANLIB}" \
35786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35787 html) \
35788 || exit 1
35790 @endif target-libssp
35792 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
35793 maybe-TAGS-target-libssp:
35794 @if target-libssp
35795 maybe-TAGS-target-libssp: TAGS-target-libssp
35797 TAGS-target-libssp: \
35798 configure-target-libssp
35799 @: $(MAKE); $(unstage)
35800 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35801 r=`${PWD_COMMAND}`; export r; \
35802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35803 $(NORMAL_TARGET_EXPORTS) \
35804 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
35805 for flag in $(EXTRA_TARGET_FLAGS); do \
35806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35807 done; \
35808 (cd $(TARGET_SUBDIR)/libssp && \
35809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35811 "RANLIB=$${RANLIB}" \
35812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35813 TAGS) \
35814 || exit 1
35816 @endif target-libssp
35818 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
35819 maybe-install-info-target-libssp:
35820 @if target-libssp
35821 maybe-install-info-target-libssp: install-info-target-libssp
35823 install-info-target-libssp: \
35824 configure-target-libssp \
35825 info-target-libssp
35826 @: $(MAKE); $(unstage)
35827 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35828 r=`${PWD_COMMAND}`; export r; \
35829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35830 $(NORMAL_TARGET_EXPORTS) \
35831 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
35832 for flag in $(EXTRA_TARGET_FLAGS); do \
35833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35834 done; \
35835 (cd $(TARGET_SUBDIR)/libssp && \
35836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35838 "RANLIB=$${RANLIB}" \
35839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35840 install-info) \
35841 || exit 1
35843 @endif target-libssp
35845 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
35846 maybe-install-pdf-target-libssp:
35847 @if target-libssp
35848 maybe-install-pdf-target-libssp: install-pdf-target-libssp
35850 install-pdf-target-libssp: \
35851 configure-target-libssp \
35852 pdf-target-libssp
35853 @: $(MAKE); $(unstage)
35854 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35855 r=`${PWD_COMMAND}`; export r; \
35856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35857 $(NORMAL_TARGET_EXPORTS) \
35858 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
35859 for flag in $(EXTRA_TARGET_FLAGS); do \
35860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35861 done; \
35862 (cd $(TARGET_SUBDIR)/libssp && \
35863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35865 "RANLIB=$${RANLIB}" \
35866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35867 install-pdf) \
35868 || exit 1
35870 @endif target-libssp
35872 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
35873 maybe-install-html-target-libssp:
35874 @if target-libssp
35875 maybe-install-html-target-libssp: install-html-target-libssp
35877 install-html-target-libssp: \
35878 configure-target-libssp \
35879 html-target-libssp
35880 @: $(MAKE); $(unstage)
35881 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35882 r=`${PWD_COMMAND}`; export r; \
35883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35884 $(NORMAL_TARGET_EXPORTS) \
35885 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
35886 for flag in $(EXTRA_TARGET_FLAGS); do \
35887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35888 done; \
35889 (cd $(TARGET_SUBDIR)/libssp && \
35890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35892 "RANLIB=$${RANLIB}" \
35893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35894 install-html) \
35895 || exit 1
35897 @endif target-libssp
35899 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
35900 maybe-installcheck-target-libssp:
35901 @if target-libssp
35902 maybe-installcheck-target-libssp: installcheck-target-libssp
35904 installcheck-target-libssp: \
35905 configure-target-libssp
35906 @: $(MAKE); $(unstage)
35907 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35908 r=`${PWD_COMMAND}`; export r; \
35909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35910 $(NORMAL_TARGET_EXPORTS) \
35911 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
35912 for flag in $(EXTRA_TARGET_FLAGS); do \
35913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35914 done; \
35915 (cd $(TARGET_SUBDIR)/libssp && \
35916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35918 "RANLIB=$${RANLIB}" \
35919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35920 installcheck) \
35921 || exit 1
35923 @endif target-libssp
35925 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
35926 maybe-mostlyclean-target-libssp:
35927 @if target-libssp
35928 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
35930 mostlyclean-target-libssp:
35931 @: $(MAKE); $(unstage)
35932 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35933 r=`${PWD_COMMAND}`; export r; \
35934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35935 $(NORMAL_TARGET_EXPORTS) \
35936 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
35937 for flag in $(EXTRA_TARGET_FLAGS); do \
35938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35939 done; \
35940 (cd $(TARGET_SUBDIR)/libssp && \
35941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35943 "RANLIB=$${RANLIB}" \
35944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35945 mostlyclean) \
35946 || exit 1
35948 @endif target-libssp
35950 .PHONY: maybe-clean-target-libssp clean-target-libssp
35951 maybe-clean-target-libssp:
35952 @if target-libssp
35953 maybe-clean-target-libssp: clean-target-libssp
35955 clean-target-libssp:
35956 @: $(MAKE); $(unstage)
35957 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35958 r=`${PWD_COMMAND}`; export r; \
35959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35960 $(NORMAL_TARGET_EXPORTS) \
35961 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
35962 for flag in $(EXTRA_TARGET_FLAGS); do \
35963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35964 done; \
35965 (cd $(TARGET_SUBDIR)/libssp && \
35966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35968 "RANLIB=$${RANLIB}" \
35969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35970 clean) \
35971 || exit 1
35973 @endif target-libssp
35975 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
35976 maybe-distclean-target-libssp:
35977 @if target-libssp
35978 maybe-distclean-target-libssp: distclean-target-libssp
35980 distclean-target-libssp:
35981 @: $(MAKE); $(unstage)
35982 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35983 r=`${PWD_COMMAND}`; export r; \
35984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35985 $(NORMAL_TARGET_EXPORTS) \
35986 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
35987 for flag in $(EXTRA_TARGET_FLAGS); do \
35988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35989 done; \
35990 (cd $(TARGET_SUBDIR)/libssp && \
35991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35993 "RANLIB=$${RANLIB}" \
35994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35995 distclean) \
35996 || exit 1
35998 @endif target-libssp
36000 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36001 maybe-maintainer-clean-target-libssp:
36002 @if target-libssp
36003 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36005 maintainer-clean-target-libssp:
36006 @: $(MAKE); $(unstage)
36007 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36008 r=`${PWD_COMMAND}`; export r; \
36009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36010 $(NORMAL_TARGET_EXPORTS) \
36011 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36012 for flag in $(EXTRA_TARGET_FLAGS); do \
36013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36014 done; \
36015 (cd $(TARGET_SUBDIR)/libssp && \
36016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36018 "RANLIB=$${RANLIB}" \
36019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36020 maintainer-clean) \
36021 || exit 1
36023 @endif target-libssp
36029 .PHONY: configure-target-newlib maybe-configure-target-newlib
36030 maybe-configure-target-newlib:
36031 @if gcc-bootstrap
36032 configure-target-newlib: stage_current
36033 @endif gcc-bootstrap
36034 @if target-newlib
36035 maybe-configure-target-newlib: configure-target-newlib
36036 configure-target-newlib:
36037 @: $(MAKE); $(unstage)
36038 @r=`${PWD_COMMAND}`; export r; \
36039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36040 echo "Checking multilib configuration for newlib..."; \
36041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36042 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36043 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36044 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36045 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36046 else \
36047 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36048 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36049 fi; \
36050 else \
36051 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36052 fi; \
36053 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36054 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36055 $(NORMAL_TARGET_EXPORTS) \
36056 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36057 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36058 case $(srcdir) in \
36059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36060 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36062 esac; \
36063 module_srcdir=newlib; \
36064 rm -f no-such-file || : ; \
36065 CONFIG_SITE=no-such-file $(SHELL) \
36066 $$s/$$module_srcdir/configure \
36067 --srcdir=$${topdir}/$$module_srcdir \
36068 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36069 --target=${target_alias} \
36070 || exit 1
36071 @endif target-newlib
36077 .PHONY: all-target-newlib maybe-all-target-newlib
36078 maybe-all-target-newlib:
36079 @if gcc-bootstrap
36080 all-target-newlib: stage_current
36081 @endif gcc-bootstrap
36082 @if target-newlib
36083 TARGET-target-newlib=all
36084 maybe-all-target-newlib: all-target-newlib
36085 all-target-newlib: configure-target-newlib
36086 @: $(MAKE); $(unstage)
36087 @r=`${PWD_COMMAND}`; export r; \
36088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36089 $(NORMAL_TARGET_EXPORTS) \
36090 (cd $(TARGET_SUBDIR)/newlib && \
36091 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36092 $(TARGET-target-newlib))
36093 @endif target-newlib
36099 .PHONY: check-target-newlib maybe-check-target-newlib
36100 maybe-check-target-newlib:
36101 @if target-newlib
36102 maybe-check-target-newlib: check-target-newlib
36104 check-target-newlib:
36105 @: $(MAKE); $(unstage)
36106 @r=`${PWD_COMMAND}`; export r; \
36107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36108 $(NORMAL_TARGET_EXPORTS) \
36109 (cd $(TARGET_SUBDIR)/newlib && \
36110 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36112 @endif target-newlib
36114 .PHONY: install-target-newlib maybe-install-target-newlib
36115 maybe-install-target-newlib:
36116 @if target-newlib
36117 maybe-install-target-newlib: install-target-newlib
36119 install-target-newlib: installdirs
36120 @: $(MAKE); $(unstage)
36121 @r=`${PWD_COMMAND}`; export r; \
36122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36123 $(NORMAL_TARGET_EXPORTS) \
36124 (cd $(TARGET_SUBDIR)/newlib && \
36125 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36127 @endif target-newlib
36129 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36130 maybe-install-strip-target-newlib:
36131 @if target-newlib
36132 maybe-install-strip-target-newlib: install-strip-target-newlib
36134 install-strip-target-newlib: installdirs
36135 @: $(MAKE); $(unstage)
36136 @r=`${PWD_COMMAND}`; export r; \
36137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36138 $(NORMAL_TARGET_EXPORTS) \
36139 (cd $(TARGET_SUBDIR)/newlib && \
36140 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36142 @endif target-newlib
36144 # Other targets (info, dvi, pdf, etc.)
36146 .PHONY: maybe-info-target-newlib info-target-newlib
36147 maybe-info-target-newlib:
36148 @if target-newlib
36149 maybe-info-target-newlib: info-target-newlib
36151 info-target-newlib: \
36152 configure-target-newlib
36153 @: $(MAKE); $(unstage)
36154 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36155 r=`${PWD_COMMAND}`; export r; \
36156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36157 $(NORMAL_TARGET_EXPORTS) \
36158 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36159 for flag in $(EXTRA_TARGET_FLAGS); do \
36160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36161 done; \
36162 (cd $(TARGET_SUBDIR)/newlib && \
36163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36165 "RANLIB=$${RANLIB}" \
36166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36167 info) \
36168 || exit 1
36170 @endif target-newlib
36172 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36173 maybe-dvi-target-newlib:
36174 @if target-newlib
36175 maybe-dvi-target-newlib: dvi-target-newlib
36177 dvi-target-newlib: \
36178 configure-target-newlib
36179 @: $(MAKE); $(unstage)
36180 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36181 r=`${PWD_COMMAND}`; export r; \
36182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36183 $(NORMAL_TARGET_EXPORTS) \
36184 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36185 for flag in $(EXTRA_TARGET_FLAGS); do \
36186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36187 done; \
36188 (cd $(TARGET_SUBDIR)/newlib && \
36189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36191 "RANLIB=$${RANLIB}" \
36192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36193 dvi) \
36194 || exit 1
36196 @endif target-newlib
36198 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36199 maybe-pdf-target-newlib:
36200 @if target-newlib
36201 maybe-pdf-target-newlib: pdf-target-newlib
36203 pdf-target-newlib: \
36204 configure-target-newlib
36205 @: $(MAKE); $(unstage)
36206 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36207 r=`${PWD_COMMAND}`; export r; \
36208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36209 $(NORMAL_TARGET_EXPORTS) \
36210 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36211 for flag in $(EXTRA_TARGET_FLAGS); do \
36212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36213 done; \
36214 (cd $(TARGET_SUBDIR)/newlib && \
36215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36217 "RANLIB=$${RANLIB}" \
36218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36219 pdf) \
36220 || exit 1
36222 @endif target-newlib
36224 .PHONY: maybe-html-target-newlib html-target-newlib
36225 maybe-html-target-newlib:
36226 @if target-newlib
36227 maybe-html-target-newlib: html-target-newlib
36229 html-target-newlib: \
36230 configure-target-newlib
36231 @: $(MAKE); $(unstage)
36232 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36233 r=`${PWD_COMMAND}`; export r; \
36234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36235 $(NORMAL_TARGET_EXPORTS) \
36236 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36237 for flag in $(EXTRA_TARGET_FLAGS); do \
36238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36239 done; \
36240 (cd $(TARGET_SUBDIR)/newlib && \
36241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36243 "RANLIB=$${RANLIB}" \
36244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36245 html) \
36246 || exit 1
36248 @endif target-newlib
36250 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36251 maybe-TAGS-target-newlib:
36252 @if target-newlib
36253 maybe-TAGS-target-newlib: TAGS-target-newlib
36255 TAGS-target-newlib: \
36256 configure-target-newlib
36257 @: $(MAKE); $(unstage)
36258 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36259 r=`${PWD_COMMAND}`; export r; \
36260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36261 $(NORMAL_TARGET_EXPORTS) \
36262 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36263 for flag in $(EXTRA_TARGET_FLAGS); do \
36264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36265 done; \
36266 (cd $(TARGET_SUBDIR)/newlib && \
36267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36269 "RANLIB=$${RANLIB}" \
36270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36271 TAGS) \
36272 || exit 1
36274 @endif target-newlib
36276 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36277 maybe-install-info-target-newlib:
36278 @if target-newlib
36279 maybe-install-info-target-newlib: install-info-target-newlib
36281 install-info-target-newlib: \
36282 configure-target-newlib \
36283 info-target-newlib
36284 @: $(MAKE); $(unstage)
36285 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36286 r=`${PWD_COMMAND}`; export r; \
36287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36288 $(NORMAL_TARGET_EXPORTS) \
36289 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36290 for flag in $(EXTRA_TARGET_FLAGS); do \
36291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36292 done; \
36293 (cd $(TARGET_SUBDIR)/newlib && \
36294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36296 "RANLIB=$${RANLIB}" \
36297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36298 install-info) \
36299 || exit 1
36301 @endif target-newlib
36303 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36304 maybe-install-pdf-target-newlib:
36305 @if target-newlib
36306 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36308 install-pdf-target-newlib: \
36309 configure-target-newlib \
36310 pdf-target-newlib
36311 @: $(MAKE); $(unstage)
36312 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36313 r=`${PWD_COMMAND}`; export r; \
36314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36315 $(NORMAL_TARGET_EXPORTS) \
36316 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
36317 for flag in $(EXTRA_TARGET_FLAGS); do \
36318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36319 done; \
36320 (cd $(TARGET_SUBDIR)/newlib && \
36321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36323 "RANLIB=$${RANLIB}" \
36324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36325 install-pdf) \
36326 || exit 1
36328 @endif target-newlib
36330 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36331 maybe-install-html-target-newlib:
36332 @if target-newlib
36333 maybe-install-html-target-newlib: install-html-target-newlib
36335 install-html-target-newlib: \
36336 configure-target-newlib \
36337 html-target-newlib
36338 @: $(MAKE); $(unstage)
36339 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36340 r=`${PWD_COMMAND}`; export r; \
36341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36342 $(NORMAL_TARGET_EXPORTS) \
36343 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36344 for flag in $(EXTRA_TARGET_FLAGS); do \
36345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36346 done; \
36347 (cd $(TARGET_SUBDIR)/newlib && \
36348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36350 "RANLIB=$${RANLIB}" \
36351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36352 install-html) \
36353 || exit 1
36355 @endif target-newlib
36357 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36358 maybe-installcheck-target-newlib:
36359 @if target-newlib
36360 maybe-installcheck-target-newlib: installcheck-target-newlib
36362 installcheck-target-newlib: \
36363 configure-target-newlib
36364 @: $(MAKE); $(unstage)
36365 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36366 r=`${PWD_COMMAND}`; export r; \
36367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36368 $(NORMAL_TARGET_EXPORTS) \
36369 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36370 for flag in $(EXTRA_TARGET_FLAGS); do \
36371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36372 done; \
36373 (cd $(TARGET_SUBDIR)/newlib && \
36374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36376 "RANLIB=$${RANLIB}" \
36377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36378 installcheck) \
36379 || exit 1
36381 @endif target-newlib
36383 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36384 maybe-mostlyclean-target-newlib:
36385 @if target-newlib
36386 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36388 mostlyclean-target-newlib:
36389 @: $(MAKE); $(unstage)
36390 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36391 r=`${PWD_COMMAND}`; export r; \
36392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36393 $(NORMAL_TARGET_EXPORTS) \
36394 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36395 for flag in $(EXTRA_TARGET_FLAGS); do \
36396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36397 done; \
36398 (cd $(TARGET_SUBDIR)/newlib && \
36399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36401 "RANLIB=$${RANLIB}" \
36402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36403 mostlyclean) \
36404 || exit 1
36406 @endif target-newlib
36408 .PHONY: maybe-clean-target-newlib clean-target-newlib
36409 maybe-clean-target-newlib:
36410 @if target-newlib
36411 maybe-clean-target-newlib: clean-target-newlib
36413 clean-target-newlib:
36414 @: $(MAKE); $(unstage)
36415 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36416 r=`${PWD_COMMAND}`; export r; \
36417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36418 $(NORMAL_TARGET_EXPORTS) \
36419 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36420 for flag in $(EXTRA_TARGET_FLAGS); do \
36421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36422 done; \
36423 (cd $(TARGET_SUBDIR)/newlib && \
36424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36426 "RANLIB=$${RANLIB}" \
36427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36428 clean) \
36429 || exit 1
36431 @endif target-newlib
36433 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36434 maybe-distclean-target-newlib:
36435 @if target-newlib
36436 maybe-distclean-target-newlib: distclean-target-newlib
36438 distclean-target-newlib:
36439 @: $(MAKE); $(unstage)
36440 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36441 r=`${PWD_COMMAND}`; export r; \
36442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36443 $(NORMAL_TARGET_EXPORTS) \
36444 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36445 for flag in $(EXTRA_TARGET_FLAGS); do \
36446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36447 done; \
36448 (cd $(TARGET_SUBDIR)/newlib && \
36449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36451 "RANLIB=$${RANLIB}" \
36452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36453 distclean) \
36454 || exit 1
36456 @endif target-newlib
36458 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36459 maybe-maintainer-clean-target-newlib:
36460 @if target-newlib
36461 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36463 maintainer-clean-target-newlib:
36464 @: $(MAKE); $(unstage)
36465 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36466 r=`${PWD_COMMAND}`; export r; \
36467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36468 $(NORMAL_TARGET_EXPORTS) \
36469 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36470 for flag in $(EXTRA_TARGET_FLAGS); do \
36471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36472 done; \
36473 (cd $(TARGET_SUBDIR)/newlib && \
36474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36476 "RANLIB=$${RANLIB}" \
36477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36478 maintainer-clean) \
36479 || exit 1
36481 @endif target-newlib
36487 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36488 maybe-configure-target-libgcc:
36489 @if gcc-bootstrap
36490 configure-target-libgcc: stage_current
36491 @endif gcc-bootstrap
36492 @if target-libgcc
36493 maybe-configure-target-libgcc: configure-target-libgcc
36494 configure-target-libgcc:
36495 @r=`${PWD_COMMAND}`; export r; \
36496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36497 echo "Checking multilib configuration for libgcc..."; \
36498 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36499 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36500 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36501 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36502 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36503 else \
36504 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36505 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36506 fi; \
36507 else \
36508 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36509 fi; \
36510 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36511 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36512 $(NORMAL_TARGET_EXPORTS) \
36513 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36514 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36515 case $(srcdir) in \
36516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36517 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36519 esac; \
36520 module_srcdir=libgcc; \
36521 rm -f no-such-file || : ; \
36522 CONFIG_SITE=no-such-file $(SHELL) \
36523 $$s/$$module_srcdir/configure \
36524 --srcdir=$${topdir}/$$module_srcdir \
36525 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36526 --target=${target_alias} \
36527 || exit 1
36528 @endif target-libgcc
36532 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36533 maybe-configure-stage1-target-libgcc:
36534 @if target-libgcc-bootstrap
36535 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36536 configure-stage1-target-libgcc:
36537 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36538 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36539 @r=`${PWD_COMMAND}`; export r; \
36540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36541 TFLAGS="$(STAGE1_TFLAGS)"; \
36542 echo "Checking multilib configuration for libgcc..."; \
36543 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36544 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36545 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36546 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36547 else \
36548 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36549 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36550 fi; \
36551 else \
36552 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36553 fi; \
36554 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36555 $(NORMAL_TARGET_EXPORTS) \
36556 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36559 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36560 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36561 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36562 case $(srcdir) in \
36563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36564 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36566 esac; \
36567 module_srcdir=libgcc; \
36568 $(SHELL) $$s/$$module_srcdir/configure \
36569 --srcdir=$${topdir}/$$module_srcdir \
36570 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36571 --target=${target_alias} \
36573 $(STAGE1_CONFIGURE_FLAGS)
36574 @endif target-libgcc-bootstrap
36576 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36577 maybe-configure-stage2-target-libgcc:
36578 @if target-libgcc-bootstrap
36579 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36580 configure-stage2-target-libgcc:
36581 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36582 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36583 @r=`${PWD_COMMAND}`; export r; \
36584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36585 TFLAGS="$(STAGE2_TFLAGS)"; \
36586 echo "Checking multilib configuration for libgcc..."; \
36587 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36588 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36589 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36590 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36591 else \
36592 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36593 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36594 fi; \
36595 else \
36596 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36597 fi; \
36598 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36599 $(NORMAL_TARGET_EXPORTS) \
36601 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36602 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36603 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36604 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
36605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36606 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36607 case $(srcdir) in \
36608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36609 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36611 esac; \
36612 module_srcdir=libgcc; \
36613 $(SHELL) $$s/$$module_srcdir/configure \
36614 --srcdir=$${topdir}/$$module_srcdir \
36615 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36616 --target=${target_alias} \
36617 --with-build-libsubdir=$(HOST_SUBDIR) \
36618 $(STAGE2_CONFIGURE_FLAGS)
36619 @endif target-libgcc-bootstrap
36621 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
36622 maybe-configure-stage3-target-libgcc:
36623 @if target-libgcc-bootstrap
36624 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
36625 configure-stage3-target-libgcc:
36626 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36627 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36628 @r=`${PWD_COMMAND}`; export r; \
36629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36630 TFLAGS="$(STAGE3_TFLAGS)"; \
36631 echo "Checking multilib configuration for libgcc..."; \
36632 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36633 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36634 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36635 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36636 else \
36637 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36638 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36639 fi; \
36640 else \
36641 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36642 fi; \
36643 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36644 $(NORMAL_TARGET_EXPORTS) \
36646 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36647 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36648 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36649 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
36650 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36651 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36652 case $(srcdir) in \
36653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36654 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36656 esac; \
36657 module_srcdir=libgcc; \
36658 $(SHELL) $$s/$$module_srcdir/configure \
36659 --srcdir=$${topdir}/$$module_srcdir \
36660 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36661 --target=${target_alias} \
36662 --with-build-libsubdir=$(HOST_SUBDIR) \
36663 $(STAGE3_CONFIGURE_FLAGS)
36664 @endif target-libgcc-bootstrap
36666 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
36667 maybe-configure-stage4-target-libgcc:
36668 @if target-libgcc-bootstrap
36669 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
36670 configure-stage4-target-libgcc:
36671 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36672 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36673 @r=`${PWD_COMMAND}`; export r; \
36674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36675 TFLAGS="$(STAGE4_TFLAGS)"; \
36676 echo "Checking multilib configuration for libgcc..."; \
36677 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36678 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36679 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36680 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36681 else \
36682 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36683 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36684 fi; \
36685 else \
36686 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36687 fi; \
36688 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36689 $(NORMAL_TARGET_EXPORTS) \
36691 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36692 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36693 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36694 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
36695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36696 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36697 case $(srcdir) in \
36698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36699 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36701 esac; \
36702 module_srcdir=libgcc; \
36703 $(SHELL) $$s/$$module_srcdir/configure \
36704 --srcdir=$${topdir}/$$module_srcdir \
36705 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36706 --target=${target_alias} \
36707 --with-build-libsubdir=$(HOST_SUBDIR) \
36708 $(STAGE4_CONFIGURE_FLAGS)
36709 @endif target-libgcc-bootstrap
36711 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
36712 maybe-configure-stageprofile-target-libgcc:
36713 @if target-libgcc-bootstrap
36714 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36715 configure-stageprofile-target-libgcc:
36716 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36717 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36718 @r=`${PWD_COMMAND}`; export r; \
36719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36720 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36721 echo "Checking multilib configuration for libgcc..."; \
36722 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36723 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36724 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36725 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36726 else \
36727 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36728 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36729 fi; \
36730 else \
36731 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36732 fi; \
36733 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36734 $(NORMAL_TARGET_EXPORTS) \
36736 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36737 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36738 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36739 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
36740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36741 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36742 case $(srcdir) in \
36743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36744 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36746 esac; \
36747 module_srcdir=libgcc; \
36748 $(SHELL) $$s/$$module_srcdir/configure \
36749 --srcdir=$${topdir}/$$module_srcdir \
36750 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36751 --target=${target_alias} \
36752 --with-build-libsubdir=$(HOST_SUBDIR) \
36753 $(STAGEprofile_CONFIGURE_FLAGS)
36754 @endif target-libgcc-bootstrap
36756 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
36757 maybe-configure-stagefeedback-target-libgcc:
36758 @if target-libgcc-bootstrap
36759 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36760 configure-stagefeedback-target-libgcc:
36761 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36762 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36763 @r=`${PWD_COMMAND}`; export r; \
36764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36765 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36766 echo "Checking multilib configuration for libgcc..."; \
36767 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36768 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36769 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36770 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36771 else \
36772 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36773 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36774 fi; \
36775 else \
36776 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36777 fi; \
36778 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36779 $(NORMAL_TARGET_EXPORTS) \
36781 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36782 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36783 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36784 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
36785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36786 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36787 case $(srcdir) in \
36788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36789 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36791 esac; \
36792 module_srcdir=libgcc; \
36793 $(SHELL) $$s/$$module_srcdir/configure \
36794 --srcdir=$${topdir}/$$module_srcdir \
36795 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36796 --target=${target_alias} \
36797 --with-build-libsubdir=$(HOST_SUBDIR) \
36798 $(STAGEfeedback_CONFIGURE_FLAGS)
36799 @endif target-libgcc-bootstrap
36805 .PHONY: all-target-libgcc maybe-all-target-libgcc
36806 maybe-all-target-libgcc:
36807 @if gcc-bootstrap
36808 all-target-libgcc: stage_current
36809 @endif gcc-bootstrap
36810 @if target-libgcc
36811 TARGET-target-libgcc=all
36812 maybe-all-target-libgcc: all-target-libgcc
36813 all-target-libgcc: configure-target-libgcc
36814 @r=`${PWD_COMMAND}`; export r; \
36815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36816 $(NORMAL_TARGET_EXPORTS) \
36817 (cd $(TARGET_SUBDIR)/libgcc && \
36818 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36819 $(TARGET-target-libgcc))
36820 @endif target-libgcc
36824 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
36825 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
36826 maybe-all-stage1-target-libgcc:
36827 maybe-clean-stage1-target-libgcc:
36828 @if target-libgcc-bootstrap
36829 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
36830 all-stage1: all-stage1-target-libgcc
36831 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
36832 all-stage1-target-libgcc: configure-stage1-target-libgcc
36833 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36834 @r=`${PWD_COMMAND}`; export r; \
36835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36836 TFLAGS="$(STAGE1_TFLAGS)"; \
36837 $(NORMAL_TARGET_EXPORTS) \
36838 cd $(TARGET_SUBDIR)/libgcc && \
36839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36840 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36841 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36842 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36846 $(EXTRA_TARGET_FLAGS) \
36848 TFLAGS="$(STAGE1_TFLAGS)" \
36849 $(TARGET-stage1-target-libgcc)
36851 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
36852 clean-stage1: clean-stage1-target-libgcc
36853 clean-stage1-target-libgcc:
36854 @if [ $(current_stage) = stage1 ]; then \
36855 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36856 else \
36857 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
36858 $(MAKE) stage1-start; \
36859 fi; \
36860 cd $(TARGET_SUBDIR)/libgcc && \
36861 $(MAKE) $(EXTRA_TARGET_FLAGS) \
36862 clean
36863 @endif target-libgcc-bootstrap
36866 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
36867 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
36868 maybe-all-stage2-target-libgcc:
36869 maybe-clean-stage2-target-libgcc:
36870 @if target-libgcc-bootstrap
36871 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
36872 all-stage2: all-stage2-target-libgcc
36873 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
36874 all-stage2-target-libgcc: configure-stage2-target-libgcc
36875 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36876 @r=`${PWD_COMMAND}`; export r; \
36877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36878 TFLAGS="$(STAGE2_TFLAGS)"; \
36879 $(NORMAL_TARGET_EXPORTS) \
36881 cd $(TARGET_SUBDIR)/libgcc && \
36882 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36883 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36884 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36885 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36886 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36887 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36888 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36889 $(EXTRA_TARGET_FLAGS) \
36890 TFLAGS="$(STAGE2_TFLAGS)" \
36891 $(TARGET-stage2-target-libgcc)
36893 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
36894 clean-stage2: clean-stage2-target-libgcc
36895 clean-stage2-target-libgcc:
36896 @if [ $(current_stage) = stage2 ]; then \
36897 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36898 else \
36899 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
36900 $(MAKE) stage2-start; \
36901 fi; \
36902 cd $(TARGET_SUBDIR)/libgcc && \
36903 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36904 @endif target-libgcc-bootstrap
36907 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
36908 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
36909 maybe-all-stage3-target-libgcc:
36910 maybe-clean-stage3-target-libgcc:
36911 @if target-libgcc-bootstrap
36912 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
36913 all-stage3: all-stage3-target-libgcc
36914 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
36915 all-stage3-target-libgcc: configure-stage3-target-libgcc
36916 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36917 @r=`${PWD_COMMAND}`; export r; \
36918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36919 TFLAGS="$(STAGE3_TFLAGS)"; \
36920 $(NORMAL_TARGET_EXPORTS) \
36922 cd $(TARGET_SUBDIR)/libgcc && \
36923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36924 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36925 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36926 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36930 $(EXTRA_TARGET_FLAGS) \
36931 TFLAGS="$(STAGE3_TFLAGS)" \
36932 $(TARGET-stage3-target-libgcc)
36934 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
36935 clean-stage3: clean-stage3-target-libgcc
36936 clean-stage3-target-libgcc:
36937 @if [ $(current_stage) = stage3 ]; then \
36938 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36939 else \
36940 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
36941 $(MAKE) stage3-start; \
36942 fi; \
36943 cd $(TARGET_SUBDIR)/libgcc && \
36944 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36945 @endif target-libgcc-bootstrap
36948 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
36949 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
36950 maybe-all-stage4-target-libgcc:
36951 maybe-clean-stage4-target-libgcc:
36952 @if target-libgcc-bootstrap
36953 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
36954 all-stage4: all-stage4-target-libgcc
36955 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
36956 all-stage4-target-libgcc: configure-stage4-target-libgcc
36957 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36958 @r=`${PWD_COMMAND}`; export r; \
36959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36960 TFLAGS="$(STAGE4_TFLAGS)"; \
36961 $(NORMAL_TARGET_EXPORTS) \
36963 cd $(TARGET_SUBDIR)/libgcc && \
36964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36965 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36966 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36967 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36971 $(EXTRA_TARGET_FLAGS) \
36972 TFLAGS="$(STAGE4_TFLAGS)" \
36973 $(TARGET-stage4-target-libgcc)
36975 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
36976 clean-stage4: clean-stage4-target-libgcc
36977 clean-stage4-target-libgcc:
36978 @if [ $(current_stage) = stage4 ]; then \
36979 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36980 else \
36981 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
36982 $(MAKE) stage4-start; \
36983 fi; \
36984 cd $(TARGET_SUBDIR)/libgcc && \
36985 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36986 @endif target-libgcc-bootstrap
36989 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
36990 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
36991 maybe-all-stageprofile-target-libgcc:
36992 maybe-clean-stageprofile-target-libgcc:
36993 @if target-libgcc-bootstrap
36994 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
36995 all-stageprofile: all-stageprofile-target-libgcc
36996 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
36997 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36998 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36999 @r=`${PWD_COMMAND}`; export r; \
37000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37001 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37002 $(NORMAL_TARGET_EXPORTS) \
37004 cd $(TARGET_SUBDIR)/libgcc && \
37005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37006 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37007 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37008 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37012 $(EXTRA_TARGET_FLAGS) \
37013 TFLAGS="$(STAGEprofile_TFLAGS)" \
37014 $(TARGET-stageprofile-target-libgcc)
37016 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37017 clean-stageprofile: clean-stageprofile-target-libgcc
37018 clean-stageprofile-target-libgcc:
37019 @if [ $(current_stage) = stageprofile ]; then \
37020 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37021 else \
37022 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37023 $(MAKE) stageprofile-start; \
37024 fi; \
37025 cd $(TARGET_SUBDIR)/libgcc && \
37026 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37027 @endif target-libgcc-bootstrap
37030 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37031 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37032 maybe-all-stagefeedback-target-libgcc:
37033 maybe-clean-stagefeedback-target-libgcc:
37034 @if target-libgcc-bootstrap
37035 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37036 all-stagefeedback: all-stagefeedback-target-libgcc
37037 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37038 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37039 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37040 @r=`${PWD_COMMAND}`; export r; \
37041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37042 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37043 $(NORMAL_TARGET_EXPORTS) \
37045 cd $(TARGET_SUBDIR)/libgcc && \
37046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37047 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37048 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37049 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37053 $(EXTRA_TARGET_FLAGS) \
37054 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37055 $(TARGET-stagefeedback-target-libgcc)
37057 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37058 clean-stagefeedback: clean-stagefeedback-target-libgcc
37059 clean-stagefeedback-target-libgcc:
37060 @if [ $(current_stage) = stagefeedback ]; then \
37061 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37062 else \
37063 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37064 $(MAKE) stagefeedback-start; \
37065 fi; \
37066 cd $(TARGET_SUBDIR)/libgcc && \
37067 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37068 @endif target-libgcc-bootstrap
37075 .PHONY: check-target-libgcc maybe-check-target-libgcc
37076 maybe-check-target-libgcc:
37077 @if target-libgcc
37078 maybe-check-target-libgcc: check-target-libgcc
37080 # Dummy target for uncheckable module.
37081 check-target-libgcc:
37083 @endif target-libgcc
37085 .PHONY: install-target-libgcc maybe-install-target-libgcc
37086 maybe-install-target-libgcc:
37087 @if target-libgcc
37088 maybe-install-target-libgcc: install-target-libgcc
37090 install-target-libgcc: installdirs
37091 @: $(MAKE); $(unstage)
37092 @r=`${PWD_COMMAND}`; export r; \
37093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37094 $(NORMAL_TARGET_EXPORTS) \
37095 (cd $(TARGET_SUBDIR)/libgcc && \
37096 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37098 @endif target-libgcc
37100 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37101 maybe-install-strip-target-libgcc:
37102 @if target-libgcc
37103 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37105 install-strip-target-libgcc: installdirs
37106 @: $(MAKE); $(unstage)
37107 @r=`${PWD_COMMAND}`; export r; \
37108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37109 $(NORMAL_TARGET_EXPORTS) \
37110 (cd $(TARGET_SUBDIR)/libgcc && \
37111 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37113 @endif target-libgcc
37115 # Other targets (info, dvi, pdf, etc.)
37117 .PHONY: maybe-info-target-libgcc info-target-libgcc
37118 maybe-info-target-libgcc:
37119 @if target-libgcc
37120 maybe-info-target-libgcc: info-target-libgcc
37122 info-target-libgcc: \
37123 configure-target-libgcc
37124 @: $(MAKE); $(unstage)
37125 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37126 r=`${PWD_COMMAND}`; export r; \
37127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37128 $(NORMAL_TARGET_EXPORTS) \
37129 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37130 for flag in $(EXTRA_TARGET_FLAGS); do \
37131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37132 done; \
37133 (cd $(TARGET_SUBDIR)/libgcc && \
37134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37136 "RANLIB=$${RANLIB}" \
37137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37138 info) \
37139 || exit 1
37141 @endif target-libgcc
37143 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37144 maybe-dvi-target-libgcc:
37145 @if target-libgcc
37146 maybe-dvi-target-libgcc: dvi-target-libgcc
37148 dvi-target-libgcc: \
37149 configure-target-libgcc
37150 @: $(MAKE); $(unstage)
37151 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37152 r=`${PWD_COMMAND}`; export r; \
37153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37154 $(NORMAL_TARGET_EXPORTS) \
37155 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37156 for flag in $(EXTRA_TARGET_FLAGS); do \
37157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37158 done; \
37159 (cd $(TARGET_SUBDIR)/libgcc && \
37160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37162 "RANLIB=$${RANLIB}" \
37163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37164 dvi) \
37165 || exit 1
37167 @endif target-libgcc
37169 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37170 maybe-pdf-target-libgcc:
37171 @if target-libgcc
37172 maybe-pdf-target-libgcc: pdf-target-libgcc
37174 pdf-target-libgcc: \
37175 configure-target-libgcc
37176 @: $(MAKE); $(unstage)
37177 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37178 r=`${PWD_COMMAND}`; export r; \
37179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37180 $(NORMAL_TARGET_EXPORTS) \
37181 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37182 for flag in $(EXTRA_TARGET_FLAGS); do \
37183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37184 done; \
37185 (cd $(TARGET_SUBDIR)/libgcc && \
37186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37188 "RANLIB=$${RANLIB}" \
37189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37190 pdf) \
37191 || exit 1
37193 @endif target-libgcc
37195 .PHONY: maybe-html-target-libgcc html-target-libgcc
37196 maybe-html-target-libgcc:
37197 @if target-libgcc
37198 maybe-html-target-libgcc: html-target-libgcc
37200 html-target-libgcc: \
37201 configure-target-libgcc
37202 @: $(MAKE); $(unstage)
37203 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37204 r=`${PWD_COMMAND}`; export r; \
37205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37206 $(NORMAL_TARGET_EXPORTS) \
37207 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37208 for flag in $(EXTRA_TARGET_FLAGS); do \
37209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37210 done; \
37211 (cd $(TARGET_SUBDIR)/libgcc && \
37212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37214 "RANLIB=$${RANLIB}" \
37215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37216 html) \
37217 || exit 1
37219 @endif target-libgcc
37221 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37222 maybe-TAGS-target-libgcc:
37223 @if target-libgcc
37224 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37226 TAGS-target-libgcc: \
37227 configure-target-libgcc
37228 @: $(MAKE); $(unstage)
37229 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37230 r=`${PWD_COMMAND}`; export r; \
37231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37232 $(NORMAL_TARGET_EXPORTS) \
37233 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37234 for flag in $(EXTRA_TARGET_FLAGS); do \
37235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37236 done; \
37237 (cd $(TARGET_SUBDIR)/libgcc && \
37238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37240 "RANLIB=$${RANLIB}" \
37241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37242 TAGS) \
37243 || exit 1
37245 @endif target-libgcc
37247 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37248 maybe-install-info-target-libgcc:
37249 @if target-libgcc
37250 maybe-install-info-target-libgcc: install-info-target-libgcc
37252 install-info-target-libgcc: \
37253 configure-target-libgcc \
37254 info-target-libgcc
37255 @: $(MAKE); $(unstage)
37256 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37257 r=`${PWD_COMMAND}`; export r; \
37258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37259 $(NORMAL_TARGET_EXPORTS) \
37260 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37261 for flag in $(EXTRA_TARGET_FLAGS); do \
37262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37263 done; \
37264 (cd $(TARGET_SUBDIR)/libgcc && \
37265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37267 "RANLIB=$${RANLIB}" \
37268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37269 install-info) \
37270 || exit 1
37272 @endif target-libgcc
37274 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37275 maybe-install-pdf-target-libgcc:
37276 @if target-libgcc
37277 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37279 install-pdf-target-libgcc: \
37280 configure-target-libgcc \
37281 pdf-target-libgcc
37282 @: $(MAKE); $(unstage)
37283 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37284 r=`${PWD_COMMAND}`; export r; \
37285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37286 $(NORMAL_TARGET_EXPORTS) \
37287 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37288 for flag in $(EXTRA_TARGET_FLAGS); do \
37289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37290 done; \
37291 (cd $(TARGET_SUBDIR)/libgcc && \
37292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37294 "RANLIB=$${RANLIB}" \
37295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37296 install-pdf) \
37297 || exit 1
37299 @endif target-libgcc
37301 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37302 maybe-install-html-target-libgcc:
37303 @if target-libgcc
37304 maybe-install-html-target-libgcc: install-html-target-libgcc
37306 install-html-target-libgcc: \
37307 configure-target-libgcc \
37308 html-target-libgcc
37309 @: $(MAKE); $(unstage)
37310 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37311 r=`${PWD_COMMAND}`; export r; \
37312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37313 $(NORMAL_TARGET_EXPORTS) \
37314 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37315 for flag in $(EXTRA_TARGET_FLAGS); do \
37316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37317 done; \
37318 (cd $(TARGET_SUBDIR)/libgcc && \
37319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37321 "RANLIB=$${RANLIB}" \
37322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37323 install-html) \
37324 || exit 1
37326 @endif target-libgcc
37328 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37329 maybe-installcheck-target-libgcc:
37330 @if target-libgcc
37331 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37333 installcheck-target-libgcc: \
37334 configure-target-libgcc
37335 @: $(MAKE); $(unstage)
37336 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37337 r=`${PWD_COMMAND}`; export r; \
37338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37339 $(NORMAL_TARGET_EXPORTS) \
37340 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37341 for flag in $(EXTRA_TARGET_FLAGS); do \
37342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37343 done; \
37344 (cd $(TARGET_SUBDIR)/libgcc && \
37345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37347 "RANLIB=$${RANLIB}" \
37348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37349 installcheck) \
37350 || exit 1
37352 @endif target-libgcc
37354 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37355 maybe-mostlyclean-target-libgcc:
37356 @if target-libgcc
37357 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37359 mostlyclean-target-libgcc:
37360 @: $(MAKE); $(unstage)
37361 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37362 r=`${PWD_COMMAND}`; export r; \
37363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37364 $(NORMAL_TARGET_EXPORTS) \
37365 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37366 for flag in $(EXTRA_TARGET_FLAGS); do \
37367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37368 done; \
37369 (cd $(TARGET_SUBDIR)/libgcc && \
37370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37372 "RANLIB=$${RANLIB}" \
37373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37374 mostlyclean) \
37375 || exit 1
37377 @endif target-libgcc
37379 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37380 maybe-clean-target-libgcc:
37381 @if target-libgcc
37382 maybe-clean-target-libgcc: clean-target-libgcc
37384 clean-target-libgcc:
37385 @: $(MAKE); $(unstage)
37386 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37387 r=`${PWD_COMMAND}`; export r; \
37388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37389 $(NORMAL_TARGET_EXPORTS) \
37390 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37391 for flag in $(EXTRA_TARGET_FLAGS); do \
37392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37393 done; \
37394 (cd $(TARGET_SUBDIR)/libgcc && \
37395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37397 "RANLIB=$${RANLIB}" \
37398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37399 clean) \
37400 || exit 1
37402 @endif target-libgcc
37404 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37405 maybe-distclean-target-libgcc:
37406 @if target-libgcc
37407 maybe-distclean-target-libgcc: distclean-target-libgcc
37409 distclean-target-libgcc:
37410 @: $(MAKE); $(unstage)
37411 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37412 r=`${PWD_COMMAND}`; export r; \
37413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37414 $(NORMAL_TARGET_EXPORTS) \
37415 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37416 for flag in $(EXTRA_TARGET_FLAGS); do \
37417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37418 done; \
37419 (cd $(TARGET_SUBDIR)/libgcc && \
37420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37422 "RANLIB=$${RANLIB}" \
37423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37424 distclean) \
37425 || exit 1
37427 @endif target-libgcc
37429 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37430 maybe-maintainer-clean-target-libgcc:
37431 @if target-libgcc
37432 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37434 maintainer-clean-target-libgcc:
37435 @: $(MAKE); $(unstage)
37436 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37437 r=`${PWD_COMMAND}`; export r; \
37438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37439 $(NORMAL_TARGET_EXPORTS) \
37440 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37441 for flag in $(EXTRA_TARGET_FLAGS); do \
37442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37443 done; \
37444 (cd $(TARGET_SUBDIR)/libgcc && \
37445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37447 "RANLIB=$${RANLIB}" \
37448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37449 maintainer-clean) \
37450 || exit 1
37452 @endif target-libgcc
37458 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
37459 maybe-configure-target-libbacktrace:
37460 @if gcc-bootstrap
37461 configure-target-libbacktrace: stage_current
37462 @endif gcc-bootstrap
37463 @if target-libbacktrace
37464 maybe-configure-target-libbacktrace: configure-target-libbacktrace
37465 configure-target-libbacktrace:
37466 @: $(MAKE); $(unstage)
37467 @r=`${PWD_COMMAND}`; export r; \
37468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37469 echo "Checking multilib configuration for libbacktrace..."; \
37470 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37471 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
37472 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37473 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37474 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
37475 else \
37476 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
37477 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37478 fi; \
37479 else \
37480 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37481 fi; \
37482 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
37483 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37484 $(NORMAL_TARGET_EXPORTS) \
37485 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
37486 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
37487 case $(srcdir) in \
37488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37489 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
37490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37491 esac; \
37492 module_srcdir=libbacktrace; \
37493 rm -f no-such-file || : ; \
37494 CONFIG_SITE=no-such-file $(SHELL) \
37495 $$s/$$module_srcdir/configure \
37496 --srcdir=$${topdir}/$$module_srcdir \
37497 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37498 --target=${target_alias} \
37499 || exit 1
37500 @endif target-libbacktrace
37506 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
37507 maybe-all-target-libbacktrace:
37508 @if gcc-bootstrap
37509 all-target-libbacktrace: stage_current
37510 @endif gcc-bootstrap
37511 @if target-libbacktrace
37512 TARGET-target-libbacktrace=all
37513 maybe-all-target-libbacktrace: all-target-libbacktrace
37514 all-target-libbacktrace: configure-target-libbacktrace
37515 @: $(MAKE); $(unstage)
37516 @r=`${PWD_COMMAND}`; export r; \
37517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37518 $(NORMAL_TARGET_EXPORTS) \
37519 (cd $(TARGET_SUBDIR)/libbacktrace && \
37520 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37521 $(TARGET-target-libbacktrace))
37522 @endif target-libbacktrace
37528 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
37529 maybe-check-target-libbacktrace:
37530 @if target-libbacktrace
37531 maybe-check-target-libbacktrace: check-target-libbacktrace
37533 check-target-libbacktrace:
37534 @: $(MAKE); $(unstage)
37535 @r=`${PWD_COMMAND}`; export r; \
37536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37537 $(NORMAL_TARGET_EXPORTS) \
37538 (cd $(TARGET_SUBDIR)/libbacktrace && \
37539 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37541 @endif target-libbacktrace
37543 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
37544 maybe-install-target-libbacktrace:
37545 @if target-libbacktrace
37546 maybe-install-target-libbacktrace: install-target-libbacktrace
37548 install-target-libbacktrace: installdirs
37549 @: $(MAKE); $(unstage)
37550 @r=`${PWD_COMMAND}`; export r; \
37551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37552 $(NORMAL_TARGET_EXPORTS) \
37553 (cd $(TARGET_SUBDIR)/libbacktrace && \
37554 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37556 @endif target-libbacktrace
37558 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
37559 maybe-install-strip-target-libbacktrace:
37560 @if target-libbacktrace
37561 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
37563 install-strip-target-libbacktrace: installdirs
37564 @: $(MAKE); $(unstage)
37565 @r=`${PWD_COMMAND}`; export r; \
37566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37567 $(NORMAL_TARGET_EXPORTS) \
37568 (cd $(TARGET_SUBDIR)/libbacktrace && \
37569 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37571 @endif target-libbacktrace
37573 # Other targets (info, dvi, pdf, etc.)
37575 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
37576 maybe-info-target-libbacktrace:
37577 @if target-libbacktrace
37578 maybe-info-target-libbacktrace: info-target-libbacktrace
37580 info-target-libbacktrace: \
37581 configure-target-libbacktrace
37582 @: $(MAKE); $(unstage)
37583 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37584 r=`${PWD_COMMAND}`; export r; \
37585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37586 $(NORMAL_TARGET_EXPORTS) \
37587 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
37588 for flag in $(EXTRA_TARGET_FLAGS); do \
37589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37590 done; \
37591 (cd $(TARGET_SUBDIR)/libbacktrace && \
37592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37594 "RANLIB=$${RANLIB}" \
37595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37596 info) \
37597 || exit 1
37599 @endif target-libbacktrace
37601 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
37602 maybe-dvi-target-libbacktrace:
37603 @if target-libbacktrace
37604 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
37606 dvi-target-libbacktrace: \
37607 configure-target-libbacktrace
37608 @: $(MAKE); $(unstage)
37609 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37610 r=`${PWD_COMMAND}`; export r; \
37611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37612 $(NORMAL_TARGET_EXPORTS) \
37613 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
37614 for flag in $(EXTRA_TARGET_FLAGS); do \
37615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37616 done; \
37617 (cd $(TARGET_SUBDIR)/libbacktrace && \
37618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37620 "RANLIB=$${RANLIB}" \
37621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37622 dvi) \
37623 || exit 1
37625 @endif target-libbacktrace
37627 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
37628 maybe-pdf-target-libbacktrace:
37629 @if target-libbacktrace
37630 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
37632 pdf-target-libbacktrace: \
37633 configure-target-libbacktrace
37634 @: $(MAKE); $(unstage)
37635 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37636 r=`${PWD_COMMAND}`; export r; \
37637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37638 $(NORMAL_TARGET_EXPORTS) \
37639 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37640 for flag in $(EXTRA_TARGET_FLAGS); do \
37641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37642 done; \
37643 (cd $(TARGET_SUBDIR)/libbacktrace && \
37644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37646 "RANLIB=$${RANLIB}" \
37647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37648 pdf) \
37649 || exit 1
37651 @endif target-libbacktrace
37653 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
37654 maybe-html-target-libbacktrace:
37655 @if target-libbacktrace
37656 maybe-html-target-libbacktrace: html-target-libbacktrace
37658 html-target-libbacktrace: \
37659 configure-target-libbacktrace
37660 @: $(MAKE); $(unstage)
37661 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37662 r=`${PWD_COMMAND}`; export r; \
37663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37664 $(NORMAL_TARGET_EXPORTS) \
37665 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
37666 for flag in $(EXTRA_TARGET_FLAGS); do \
37667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37668 done; \
37669 (cd $(TARGET_SUBDIR)/libbacktrace && \
37670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37672 "RANLIB=$${RANLIB}" \
37673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37674 html) \
37675 || exit 1
37677 @endif target-libbacktrace
37679 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
37680 maybe-TAGS-target-libbacktrace:
37681 @if target-libbacktrace
37682 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
37684 TAGS-target-libbacktrace: \
37685 configure-target-libbacktrace
37686 @: $(MAKE); $(unstage)
37687 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37688 r=`${PWD_COMMAND}`; export r; \
37689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37690 $(NORMAL_TARGET_EXPORTS) \
37691 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
37692 for flag in $(EXTRA_TARGET_FLAGS); do \
37693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37694 done; \
37695 (cd $(TARGET_SUBDIR)/libbacktrace && \
37696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37698 "RANLIB=$${RANLIB}" \
37699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37700 TAGS) \
37701 || exit 1
37703 @endif target-libbacktrace
37705 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
37706 maybe-install-info-target-libbacktrace:
37707 @if target-libbacktrace
37708 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
37710 install-info-target-libbacktrace: \
37711 configure-target-libbacktrace \
37712 info-target-libbacktrace
37713 @: $(MAKE); $(unstage)
37714 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37715 r=`${PWD_COMMAND}`; export r; \
37716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37717 $(NORMAL_TARGET_EXPORTS) \
37718 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
37719 for flag in $(EXTRA_TARGET_FLAGS); do \
37720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37721 done; \
37722 (cd $(TARGET_SUBDIR)/libbacktrace && \
37723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37725 "RANLIB=$${RANLIB}" \
37726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37727 install-info) \
37728 || exit 1
37730 @endif target-libbacktrace
37732 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
37733 maybe-install-pdf-target-libbacktrace:
37734 @if target-libbacktrace
37735 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
37737 install-pdf-target-libbacktrace: \
37738 configure-target-libbacktrace \
37739 pdf-target-libbacktrace
37740 @: $(MAKE); $(unstage)
37741 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37742 r=`${PWD_COMMAND}`; export r; \
37743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37744 $(NORMAL_TARGET_EXPORTS) \
37745 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37746 for flag in $(EXTRA_TARGET_FLAGS); do \
37747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37748 done; \
37749 (cd $(TARGET_SUBDIR)/libbacktrace && \
37750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37752 "RANLIB=$${RANLIB}" \
37753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37754 install-pdf) \
37755 || exit 1
37757 @endif target-libbacktrace
37759 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
37760 maybe-install-html-target-libbacktrace:
37761 @if target-libbacktrace
37762 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
37764 install-html-target-libbacktrace: \
37765 configure-target-libbacktrace \
37766 html-target-libbacktrace
37767 @: $(MAKE); $(unstage)
37768 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37769 r=`${PWD_COMMAND}`; export r; \
37770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37771 $(NORMAL_TARGET_EXPORTS) \
37772 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
37773 for flag in $(EXTRA_TARGET_FLAGS); do \
37774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37775 done; \
37776 (cd $(TARGET_SUBDIR)/libbacktrace && \
37777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37779 "RANLIB=$${RANLIB}" \
37780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37781 install-html) \
37782 || exit 1
37784 @endif target-libbacktrace
37786 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
37787 maybe-installcheck-target-libbacktrace:
37788 @if target-libbacktrace
37789 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
37791 installcheck-target-libbacktrace: \
37792 configure-target-libbacktrace
37793 @: $(MAKE); $(unstage)
37794 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37795 r=`${PWD_COMMAND}`; export r; \
37796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37797 $(NORMAL_TARGET_EXPORTS) \
37798 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
37799 for flag in $(EXTRA_TARGET_FLAGS); do \
37800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37801 done; \
37802 (cd $(TARGET_SUBDIR)/libbacktrace && \
37803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37805 "RANLIB=$${RANLIB}" \
37806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37807 installcheck) \
37808 || exit 1
37810 @endif target-libbacktrace
37812 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
37813 maybe-mostlyclean-target-libbacktrace:
37814 @if target-libbacktrace
37815 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
37817 mostlyclean-target-libbacktrace:
37818 @: $(MAKE); $(unstage)
37819 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37820 r=`${PWD_COMMAND}`; export r; \
37821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37822 $(NORMAL_TARGET_EXPORTS) \
37823 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37824 for flag in $(EXTRA_TARGET_FLAGS); do \
37825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37826 done; \
37827 (cd $(TARGET_SUBDIR)/libbacktrace && \
37828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37830 "RANLIB=$${RANLIB}" \
37831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37832 mostlyclean) \
37833 || exit 1
37835 @endif target-libbacktrace
37837 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
37838 maybe-clean-target-libbacktrace:
37839 @if target-libbacktrace
37840 maybe-clean-target-libbacktrace: clean-target-libbacktrace
37842 clean-target-libbacktrace:
37843 @: $(MAKE); $(unstage)
37844 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37845 r=`${PWD_COMMAND}`; export r; \
37846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37847 $(NORMAL_TARGET_EXPORTS) \
37848 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37849 for flag in $(EXTRA_TARGET_FLAGS); do \
37850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37851 done; \
37852 (cd $(TARGET_SUBDIR)/libbacktrace && \
37853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37855 "RANLIB=$${RANLIB}" \
37856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37857 clean) \
37858 || exit 1
37860 @endif target-libbacktrace
37862 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
37863 maybe-distclean-target-libbacktrace:
37864 @if target-libbacktrace
37865 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
37867 distclean-target-libbacktrace:
37868 @: $(MAKE); $(unstage)
37869 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37870 r=`${PWD_COMMAND}`; export r; \
37871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37872 $(NORMAL_TARGET_EXPORTS) \
37873 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37874 for flag in $(EXTRA_TARGET_FLAGS); do \
37875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37876 done; \
37877 (cd $(TARGET_SUBDIR)/libbacktrace && \
37878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37880 "RANLIB=$${RANLIB}" \
37881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37882 distclean) \
37883 || exit 1
37885 @endif target-libbacktrace
37887 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
37888 maybe-maintainer-clean-target-libbacktrace:
37889 @if target-libbacktrace
37890 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
37892 maintainer-clean-target-libbacktrace:
37893 @: $(MAKE); $(unstage)
37894 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37895 r=`${PWD_COMMAND}`; export r; \
37896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37897 $(NORMAL_TARGET_EXPORTS) \
37898 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37899 for flag in $(EXTRA_TARGET_FLAGS); do \
37900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37901 done; \
37902 (cd $(TARGET_SUBDIR)/libbacktrace && \
37903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37905 "RANLIB=$${RANLIB}" \
37906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37907 maintainer-clean) \
37908 || exit 1
37910 @endif target-libbacktrace
37916 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
37917 maybe-configure-target-libquadmath:
37918 @if gcc-bootstrap
37919 configure-target-libquadmath: stage_current
37920 @endif gcc-bootstrap
37921 @if target-libquadmath
37922 maybe-configure-target-libquadmath: configure-target-libquadmath
37923 configure-target-libquadmath:
37924 @: $(MAKE); $(unstage)
37925 @r=`${PWD_COMMAND}`; export r; \
37926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37927 echo "Checking multilib configuration for libquadmath..."; \
37928 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37929 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
37930 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37931 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37932 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
37933 else \
37934 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
37935 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37936 fi; \
37937 else \
37938 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37939 fi; \
37940 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
37941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37942 $(NORMAL_TARGET_EXPORTS) \
37943 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
37944 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
37945 case $(srcdir) in \
37946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37947 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
37948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37949 esac; \
37950 module_srcdir=libquadmath; \
37951 rm -f no-such-file || : ; \
37952 CONFIG_SITE=no-such-file $(SHELL) \
37953 $$s/$$module_srcdir/configure \
37954 --srcdir=$${topdir}/$$module_srcdir \
37955 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37956 --target=${target_alias} \
37957 || exit 1
37958 @endif target-libquadmath
37964 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
37965 maybe-all-target-libquadmath:
37966 @if gcc-bootstrap
37967 all-target-libquadmath: stage_current
37968 @endif gcc-bootstrap
37969 @if target-libquadmath
37970 TARGET-target-libquadmath=all
37971 maybe-all-target-libquadmath: all-target-libquadmath
37972 all-target-libquadmath: configure-target-libquadmath
37973 @: $(MAKE); $(unstage)
37974 @r=`${PWD_COMMAND}`; export r; \
37975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37976 $(NORMAL_TARGET_EXPORTS) \
37977 (cd $(TARGET_SUBDIR)/libquadmath && \
37978 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37979 $(TARGET-target-libquadmath))
37980 @endif target-libquadmath
37986 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
37987 maybe-check-target-libquadmath:
37988 @if target-libquadmath
37989 maybe-check-target-libquadmath: check-target-libquadmath
37991 check-target-libquadmath:
37992 @: $(MAKE); $(unstage)
37993 @r=`${PWD_COMMAND}`; export r; \
37994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37995 $(NORMAL_TARGET_EXPORTS) \
37996 (cd $(TARGET_SUBDIR)/libquadmath && \
37997 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37999 @endif target-libquadmath
38001 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
38002 maybe-install-target-libquadmath:
38003 @if target-libquadmath
38004 maybe-install-target-libquadmath: install-target-libquadmath
38006 install-target-libquadmath: installdirs
38007 @: $(MAKE); $(unstage)
38008 @r=`${PWD_COMMAND}`; export r; \
38009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38010 $(NORMAL_TARGET_EXPORTS) \
38011 (cd $(TARGET_SUBDIR)/libquadmath && \
38012 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38014 @endif target-libquadmath
38016 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
38017 maybe-install-strip-target-libquadmath:
38018 @if target-libquadmath
38019 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
38021 install-strip-target-libquadmath: installdirs
38022 @: $(MAKE); $(unstage)
38023 @r=`${PWD_COMMAND}`; export r; \
38024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38025 $(NORMAL_TARGET_EXPORTS) \
38026 (cd $(TARGET_SUBDIR)/libquadmath && \
38027 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38029 @endif target-libquadmath
38031 # Other targets (info, dvi, pdf, etc.)
38033 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
38034 maybe-info-target-libquadmath:
38035 @if target-libquadmath
38036 maybe-info-target-libquadmath: info-target-libquadmath
38038 info-target-libquadmath: \
38039 configure-target-libquadmath
38040 @: $(MAKE); $(unstage)
38041 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38042 r=`${PWD_COMMAND}`; export r; \
38043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38044 $(NORMAL_TARGET_EXPORTS) \
38045 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
38046 for flag in $(EXTRA_TARGET_FLAGS); do \
38047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38048 done; \
38049 (cd $(TARGET_SUBDIR)/libquadmath && \
38050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38052 "RANLIB=$${RANLIB}" \
38053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38054 info) \
38055 || exit 1
38057 @endif target-libquadmath
38059 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
38060 maybe-dvi-target-libquadmath:
38061 @if target-libquadmath
38062 maybe-dvi-target-libquadmath: dvi-target-libquadmath
38064 dvi-target-libquadmath: \
38065 configure-target-libquadmath
38066 @: $(MAKE); $(unstage)
38067 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38068 r=`${PWD_COMMAND}`; export r; \
38069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38070 $(NORMAL_TARGET_EXPORTS) \
38071 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
38072 for flag in $(EXTRA_TARGET_FLAGS); do \
38073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38074 done; \
38075 (cd $(TARGET_SUBDIR)/libquadmath && \
38076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38078 "RANLIB=$${RANLIB}" \
38079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38080 dvi) \
38081 || exit 1
38083 @endif target-libquadmath
38085 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
38086 maybe-pdf-target-libquadmath:
38087 @if target-libquadmath
38088 maybe-pdf-target-libquadmath: pdf-target-libquadmath
38090 pdf-target-libquadmath: \
38091 configure-target-libquadmath
38092 @: $(MAKE); $(unstage)
38093 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38094 r=`${PWD_COMMAND}`; export r; \
38095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38096 $(NORMAL_TARGET_EXPORTS) \
38097 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38098 for flag in $(EXTRA_TARGET_FLAGS); do \
38099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38100 done; \
38101 (cd $(TARGET_SUBDIR)/libquadmath && \
38102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38104 "RANLIB=$${RANLIB}" \
38105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38106 pdf) \
38107 || exit 1
38109 @endif target-libquadmath
38111 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38112 maybe-html-target-libquadmath:
38113 @if target-libquadmath
38114 maybe-html-target-libquadmath: html-target-libquadmath
38116 html-target-libquadmath: \
38117 configure-target-libquadmath
38118 @: $(MAKE); $(unstage)
38119 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38120 r=`${PWD_COMMAND}`; export r; \
38121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38122 $(NORMAL_TARGET_EXPORTS) \
38123 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38124 for flag in $(EXTRA_TARGET_FLAGS); do \
38125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38126 done; \
38127 (cd $(TARGET_SUBDIR)/libquadmath && \
38128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38130 "RANLIB=$${RANLIB}" \
38131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38132 html) \
38133 || exit 1
38135 @endif target-libquadmath
38137 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38138 maybe-TAGS-target-libquadmath:
38139 @if target-libquadmath
38140 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38142 TAGS-target-libquadmath: \
38143 configure-target-libquadmath
38144 @: $(MAKE); $(unstage)
38145 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38146 r=`${PWD_COMMAND}`; export r; \
38147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38148 $(NORMAL_TARGET_EXPORTS) \
38149 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38150 for flag in $(EXTRA_TARGET_FLAGS); do \
38151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38152 done; \
38153 (cd $(TARGET_SUBDIR)/libquadmath && \
38154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38156 "RANLIB=$${RANLIB}" \
38157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38158 TAGS) \
38159 || exit 1
38161 @endif target-libquadmath
38163 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38164 maybe-install-info-target-libquadmath:
38165 @if target-libquadmath
38166 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38168 install-info-target-libquadmath: \
38169 configure-target-libquadmath \
38170 info-target-libquadmath
38171 @: $(MAKE); $(unstage)
38172 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38173 r=`${PWD_COMMAND}`; export r; \
38174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38175 $(NORMAL_TARGET_EXPORTS) \
38176 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38177 for flag in $(EXTRA_TARGET_FLAGS); do \
38178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38179 done; \
38180 (cd $(TARGET_SUBDIR)/libquadmath && \
38181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38183 "RANLIB=$${RANLIB}" \
38184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38185 install-info) \
38186 || exit 1
38188 @endif target-libquadmath
38190 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38191 maybe-install-pdf-target-libquadmath:
38192 @if target-libquadmath
38193 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38195 install-pdf-target-libquadmath: \
38196 configure-target-libquadmath \
38197 pdf-target-libquadmath
38198 @: $(MAKE); $(unstage)
38199 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38200 r=`${PWD_COMMAND}`; export r; \
38201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38202 $(NORMAL_TARGET_EXPORTS) \
38203 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38204 for flag in $(EXTRA_TARGET_FLAGS); do \
38205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38206 done; \
38207 (cd $(TARGET_SUBDIR)/libquadmath && \
38208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38210 "RANLIB=$${RANLIB}" \
38211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38212 install-pdf) \
38213 || exit 1
38215 @endif target-libquadmath
38217 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38218 maybe-install-html-target-libquadmath:
38219 @if target-libquadmath
38220 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38222 install-html-target-libquadmath: \
38223 configure-target-libquadmath \
38224 html-target-libquadmath
38225 @: $(MAKE); $(unstage)
38226 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38227 r=`${PWD_COMMAND}`; export r; \
38228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38229 $(NORMAL_TARGET_EXPORTS) \
38230 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38231 for flag in $(EXTRA_TARGET_FLAGS); do \
38232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38233 done; \
38234 (cd $(TARGET_SUBDIR)/libquadmath && \
38235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38237 "RANLIB=$${RANLIB}" \
38238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38239 install-html) \
38240 || exit 1
38242 @endif target-libquadmath
38244 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38245 maybe-installcheck-target-libquadmath:
38246 @if target-libquadmath
38247 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38249 installcheck-target-libquadmath: \
38250 configure-target-libquadmath
38251 @: $(MAKE); $(unstage)
38252 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38253 r=`${PWD_COMMAND}`; export r; \
38254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38255 $(NORMAL_TARGET_EXPORTS) \
38256 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38257 for flag in $(EXTRA_TARGET_FLAGS); do \
38258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38259 done; \
38260 (cd $(TARGET_SUBDIR)/libquadmath && \
38261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38263 "RANLIB=$${RANLIB}" \
38264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38265 installcheck) \
38266 || exit 1
38268 @endif target-libquadmath
38270 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38271 maybe-mostlyclean-target-libquadmath:
38272 @if target-libquadmath
38273 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38275 mostlyclean-target-libquadmath:
38276 @: $(MAKE); $(unstage)
38277 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38278 r=`${PWD_COMMAND}`; export r; \
38279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38280 $(NORMAL_TARGET_EXPORTS) \
38281 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38282 for flag in $(EXTRA_TARGET_FLAGS); do \
38283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38284 done; \
38285 (cd $(TARGET_SUBDIR)/libquadmath && \
38286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38288 "RANLIB=$${RANLIB}" \
38289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38290 mostlyclean) \
38291 || exit 1
38293 @endif target-libquadmath
38295 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38296 maybe-clean-target-libquadmath:
38297 @if target-libquadmath
38298 maybe-clean-target-libquadmath: clean-target-libquadmath
38300 clean-target-libquadmath:
38301 @: $(MAKE); $(unstage)
38302 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38303 r=`${PWD_COMMAND}`; export r; \
38304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38305 $(NORMAL_TARGET_EXPORTS) \
38306 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38307 for flag in $(EXTRA_TARGET_FLAGS); do \
38308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38309 done; \
38310 (cd $(TARGET_SUBDIR)/libquadmath && \
38311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38313 "RANLIB=$${RANLIB}" \
38314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38315 clean) \
38316 || exit 1
38318 @endif target-libquadmath
38320 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38321 maybe-distclean-target-libquadmath:
38322 @if target-libquadmath
38323 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38325 distclean-target-libquadmath:
38326 @: $(MAKE); $(unstage)
38327 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38328 r=`${PWD_COMMAND}`; export r; \
38329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38330 $(NORMAL_TARGET_EXPORTS) \
38331 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38332 for flag in $(EXTRA_TARGET_FLAGS); do \
38333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38334 done; \
38335 (cd $(TARGET_SUBDIR)/libquadmath && \
38336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38338 "RANLIB=$${RANLIB}" \
38339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38340 distclean) \
38341 || exit 1
38343 @endif target-libquadmath
38345 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38346 maybe-maintainer-clean-target-libquadmath:
38347 @if target-libquadmath
38348 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38350 maintainer-clean-target-libquadmath:
38351 @: $(MAKE); $(unstage)
38352 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38353 r=`${PWD_COMMAND}`; export r; \
38354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38355 $(NORMAL_TARGET_EXPORTS) \
38356 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38357 for flag in $(EXTRA_TARGET_FLAGS); do \
38358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38359 done; \
38360 (cd $(TARGET_SUBDIR)/libquadmath && \
38361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38363 "RANLIB=$${RANLIB}" \
38364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38365 maintainer-clean) \
38366 || exit 1
38368 @endif target-libquadmath
38374 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38375 maybe-configure-target-libgfortran:
38376 @if gcc-bootstrap
38377 configure-target-libgfortran: stage_current
38378 @endif gcc-bootstrap
38379 @if target-libgfortran
38380 maybe-configure-target-libgfortran: configure-target-libgfortran
38381 configure-target-libgfortran:
38382 @: $(MAKE); $(unstage)
38383 @r=`${PWD_COMMAND}`; export r; \
38384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38385 echo "Checking multilib configuration for libgfortran..."; \
38386 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38387 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38388 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38389 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38390 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38391 else \
38392 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38393 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38394 fi; \
38395 else \
38396 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38397 fi; \
38398 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38399 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38400 $(NORMAL_TARGET_EXPORTS) \
38401 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38402 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38403 case $(srcdir) in \
38404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38405 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38407 esac; \
38408 module_srcdir=libgfortran; \
38409 rm -f no-such-file || : ; \
38410 CONFIG_SITE=no-such-file $(SHELL) \
38411 $$s/$$module_srcdir/configure \
38412 --srcdir=$${topdir}/$$module_srcdir \
38413 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38414 --target=${target_alias} \
38415 || exit 1
38416 @endif target-libgfortran
38422 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
38423 maybe-all-target-libgfortran:
38424 @if gcc-bootstrap
38425 all-target-libgfortran: stage_current
38426 @endif gcc-bootstrap
38427 @if target-libgfortran
38428 TARGET-target-libgfortran=all
38429 maybe-all-target-libgfortran: all-target-libgfortran
38430 all-target-libgfortran: configure-target-libgfortran
38431 @: $(MAKE); $(unstage)
38432 @r=`${PWD_COMMAND}`; export r; \
38433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38434 $(NORMAL_TARGET_EXPORTS) \
38435 (cd $(TARGET_SUBDIR)/libgfortran && \
38436 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38437 $(TARGET-target-libgfortran))
38438 @endif target-libgfortran
38444 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
38445 maybe-check-target-libgfortran:
38446 @if target-libgfortran
38447 maybe-check-target-libgfortran: check-target-libgfortran
38449 check-target-libgfortran:
38450 @: $(MAKE); $(unstage)
38451 @r=`${PWD_COMMAND}`; export r; \
38452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38453 $(NORMAL_TARGET_EXPORTS) \
38454 (cd $(TARGET_SUBDIR)/libgfortran && \
38455 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38457 @endif target-libgfortran
38459 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
38460 maybe-install-target-libgfortran:
38461 @if target-libgfortran
38462 maybe-install-target-libgfortran: install-target-libgfortran
38464 install-target-libgfortran: installdirs
38465 @: $(MAKE); $(unstage)
38466 @r=`${PWD_COMMAND}`; export r; \
38467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38468 $(NORMAL_TARGET_EXPORTS) \
38469 (cd $(TARGET_SUBDIR)/libgfortran && \
38470 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38472 @endif target-libgfortran
38474 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
38475 maybe-install-strip-target-libgfortran:
38476 @if target-libgfortran
38477 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
38479 install-strip-target-libgfortran: installdirs
38480 @: $(MAKE); $(unstage)
38481 @r=`${PWD_COMMAND}`; export r; \
38482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38483 $(NORMAL_TARGET_EXPORTS) \
38484 (cd $(TARGET_SUBDIR)/libgfortran && \
38485 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38487 @endif target-libgfortran
38489 # Other targets (info, dvi, pdf, etc.)
38491 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
38492 maybe-info-target-libgfortran:
38493 @if target-libgfortran
38494 maybe-info-target-libgfortran: info-target-libgfortran
38496 info-target-libgfortran: \
38497 configure-target-libgfortran
38498 @: $(MAKE); $(unstage)
38499 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38500 r=`${PWD_COMMAND}`; export r; \
38501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38502 $(NORMAL_TARGET_EXPORTS) \
38503 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
38504 for flag in $(EXTRA_TARGET_FLAGS); do \
38505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38506 done; \
38507 (cd $(TARGET_SUBDIR)/libgfortran && \
38508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38510 "RANLIB=$${RANLIB}" \
38511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38512 info) \
38513 || exit 1
38515 @endif target-libgfortran
38517 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
38518 maybe-dvi-target-libgfortran:
38519 @if target-libgfortran
38520 maybe-dvi-target-libgfortran: dvi-target-libgfortran
38522 dvi-target-libgfortran: \
38523 configure-target-libgfortran
38524 @: $(MAKE); $(unstage)
38525 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38526 r=`${PWD_COMMAND}`; export r; \
38527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38528 $(NORMAL_TARGET_EXPORTS) \
38529 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
38530 for flag in $(EXTRA_TARGET_FLAGS); do \
38531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38532 done; \
38533 (cd $(TARGET_SUBDIR)/libgfortran && \
38534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38536 "RANLIB=$${RANLIB}" \
38537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38538 dvi) \
38539 || exit 1
38541 @endif target-libgfortran
38543 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
38544 maybe-pdf-target-libgfortran:
38545 @if target-libgfortran
38546 maybe-pdf-target-libgfortran: pdf-target-libgfortran
38548 pdf-target-libgfortran: \
38549 configure-target-libgfortran
38550 @: $(MAKE); $(unstage)
38551 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38552 r=`${PWD_COMMAND}`; export r; \
38553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38554 $(NORMAL_TARGET_EXPORTS) \
38555 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38556 for flag in $(EXTRA_TARGET_FLAGS); do \
38557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38558 done; \
38559 (cd $(TARGET_SUBDIR)/libgfortran && \
38560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38562 "RANLIB=$${RANLIB}" \
38563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38564 pdf) \
38565 || exit 1
38567 @endif target-libgfortran
38569 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
38570 maybe-html-target-libgfortran:
38571 @if target-libgfortran
38572 maybe-html-target-libgfortran: html-target-libgfortran
38574 html-target-libgfortran: \
38575 configure-target-libgfortran
38576 @: $(MAKE); $(unstage)
38577 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38578 r=`${PWD_COMMAND}`; export r; \
38579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38580 $(NORMAL_TARGET_EXPORTS) \
38581 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
38582 for flag in $(EXTRA_TARGET_FLAGS); do \
38583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38584 done; \
38585 (cd $(TARGET_SUBDIR)/libgfortran && \
38586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38588 "RANLIB=$${RANLIB}" \
38589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38590 html) \
38591 || exit 1
38593 @endif target-libgfortran
38595 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
38596 maybe-TAGS-target-libgfortran:
38597 @if target-libgfortran
38598 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
38600 TAGS-target-libgfortran: \
38601 configure-target-libgfortran
38602 @: $(MAKE); $(unstage)
38603 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38604 r=`${PWD_COMMAND}`; export r; \
38605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38606 $(NORMAL_TARGET_EXPORTS) \
38607 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
38608 for flag in $(EXTRA_TARGET_FLAGS); do \
38609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38610 done; \
38611 (cd $(TARGET_SUBDIR)/libgfortran && \
38612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38614 "RANLIB=$${RANLIB}" \
38615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38616 TAGS) \
38617 || exit 1
38619 @endif target-libgfortran
38621 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38622 maybe-install-info-target-libgfortran:
38623 @if target-libgfortran
38624 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38626 install-info-target-libgfortran: \
38627 configure-target-libgfortran \
38628 info-target-libgfortran
38629 @: $(MAKE); $(unstage)
38630 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38631 r=`${PWD_COMMAND}`; export r; \
38632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38633 $(NORMAL_TARGET_EXPORTS) \
38634 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38635 for flag in $(EXTRA_TARGET_FLAGS); do \
38636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38637 done; \
38638 (cd $(TARGET_SUBDIR)/libgfortran && \
38639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38641 "RANLIB=$${RANLIB}" \
38642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38643 install-info) \
38644 || exit 1
38646 @endif target-libgfortran
38648 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
38649 maybe-install-pdf-target-libgfortran:
38650 @if target-libgfortran
38651 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
38653 install-pdf-target-libgfortran: \
38654 configure-target-libgfortran \
38655 pdf-target-libgfortran
38656 @: $(MAKE); $(unstage)
38657 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38658 r=`${PWD_COMMAND}`; export r; \
38659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38660 $(NORMAL_TARGET_EXPORTS) \
38661 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38662 for flag in $(EXTRA_TARGET_FLAGS); do \
38663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38664 done; \
38665 (cd $(TARGET_SUBDIR)/libgfortran && \
38666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38668 "RANLIB=$${RANLIB}" \
38669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38670 install-pdf) \
38671 || exit 1
38673 @endif target-libgfortran
38675 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38676 maybe-install-html-target-libgfortran:
38677 @if target-libgfortran
38678 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38680 install-html-target-libgfortran: \
38681 configure-target-libgfortran \
38682 html-target-libgfortran
38683 @: $(MAKE); $(unstage)
38684 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38685 r=`${PWD_COMMAND}`; export r; \
38686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38687 $(NORMAL_TARGET_EXPORTS) \
38688 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38689 for flag in $(EXTRA_TARGET_FLAGS); do \
38690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38691 done; \
38692 (cd $(TARGET_SUBDIR)/libgfortran && \
38693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38695 "RANLIB=$${RANLIB}" \
38696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38697 install-html) \
38698 || exit 1
38700 @endif target-libgfortran
38702 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38703 maybe-installcheck-target-libgfortran:
38704 @if target-libgfortran
38705 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38707 installcheck-target-libgfortran: \
38708 configure-target-libgfortran
38709 @: $(MAKE); $(unstage)
38710 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38711 r=`${PWD_COMMAND}`; export r; \
38712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38713 $(NORMAL_TARGET_EXPORTS) \
38714 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38715 for flag in $(EXTRA_TARGET_FLAGS); do \
38716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38717 done; \
38718 (cd $(TARGET_SUBDIR)/libgfortran && \
38719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38721 "RANLIB=$${RANLIB}" \
38722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38723 installcheck) \
38724 || exit 1
38726 @endif target-libgfortran
38728 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38729 maybe-mostlyclean-target-libgfortran:
38730 @if target-libgfortran
38731 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38733 mostlyclean-target-libgfortran:
38734 @: $(MAKE); $(unstage)
38735 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38736 r=`${PWD_COMMAND}`; export r; \
38737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38738 $(NORMAL_TARGET_EXPORTS) \
38739 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38740 for flag in $(EXTRA_TARGET_FLAGS); do \
38741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38742 done; \
38743 (cd $(TARGET_SUBDIR)/libgfortran && \
38744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38746 "RANLIB=$${RANLIB}" \
38747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38748 mostlyclean) \
38749 || exit 1
38751 @endif target-libgfortran
38753 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38754 maybe-clean-target-libgfortran:
38755 @if target-libgfortran
38756 maybe-clean-target-libgfortran: clean-target-libgfortran
38758 clean-target-libgfortran:
38759 @: $(MAKE); $(unstage)
38760 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38761 r=`${PWD_COMMAND}`; export r; \
38762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38763 $(NORMAL_TARGET_EXPORTS) \
38764 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38765 for flag in $(EXTRA_TARGET_FLAGS); do \
38766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38767 done; \
38768 (cd $(TARGET_SUBDIR)/libgfortran && \
38769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38771 "RANLIB=$${RANLIB}" \
38772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38773 clean) \
38774 || exit 1
38776 @endif target-libgfortran
38778 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38779 maybe-distclean-target-libgfortran:
38780 @if target-libgfortran
38781 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38783 distclean-target-libgfortran:
38784 @: $(MAKE); $(unstage)
38785 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38786 r=`${PWD_COMMAND}`; export r; \
38787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38788 $(NORMAL_TARGET_EXPORTS) \
38789 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38790 for flag in $(EXTRA_TARGET_FLAGS); do \
38791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38792 done; \
38793 (cd $(TARGET_SUBDIR)/libgfortran && \
38794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38796 "RANLIB=$${RANLIB}" \
38797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38798 distclean) \
38799 || exit 1
38801 @endif target-libgfortran
38803 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38804 maybe-maintainer-clean-target-libgfortran:
38805 @if target-libgfortran
38806 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38808 maintainer-clean-target-libgfortran:
38809 @: $(MAKE); $(unstage)
38810 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38811 r=`${PWD_COMMAND}`; export r; \
38812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38813 $(NORMAL_TARGET_EXPORTS) \
38814 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38815 for flag in $(EXTRA_TARGET_FLAGS); do \
38816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38817 done; \
38818 (cd $(TARGET_SUBDIR)/libgfortran && \
38819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38821 "RANLIB=$${RANLIB}" \
38822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38823 maintainer-clean) \
38824 || exit 1
38826 @endif target-libgfortran
38832 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38833 maybe-configure-target-libobjc:
38834 @if gcc-bootstrap
38835 configure-target-libobjc: stage_current
38836 @endif gcc-bootstrap
38837 @if target-libobjc
38838 maybe-configure-target-libobjc: configure-target-libobjc
38839 configure-target-libobjc:
38840 @: $(MAKE); $(unstage)
38841 @r=`${PWD_COMMAND}`; export r; \
38842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38843 echo "Checking multilib configuration for libobjc..."; \
38844 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38845 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38846 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38847 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38848 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38849 else \
38850 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38851 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38852 fi; \
38853 else \
38854 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38855 fi; \
38856 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38857 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38858 $(NORMAL_TARGET_EXPORTS) \
38859 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38860 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38861 case $(srcdir) in \
38862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38863 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38865 esac; \
38866 module_srcdir=libobjc; \
38867 rm -f no-such-file || : ; \
38868 CONFIG_SITE=no-such-file $(SHELL) \
38869 $$s/$$module_srcdir/configure \
38870 --srcdir=$${topdir}/$$module_srcdir \
38871 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38872 --target=${target_alias} \
38873 || exit 1
38874 @endif target-libobjc
38880 .PHONY: all-target-libobjc maybe-all-target-libobjc
38881 maybe-all-target-libobjc:
38882 @if gcc-bootstrap
38883 all-target-libobjc: stage_current
38884 @endif gcc-bootstrap
38885 @if target-libobjc
38886 TARGET-target-libobjc=all
38887 maybe-all-target-libobjc: all-target-libobjc
38888 all-target-libobjc: configure-target-libobjc
38889 @: $(MAKE); $(unstage)
38890 @r=`${PWD_COMMAND}`; export r; \
38891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38892 $(NORMAL_TARGET_EXPORTS) \
38893 (cd $(TARGET_SUBDIR)/libobjc && \
38894 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38895 $(TARGET-target-libobjc))
38896 @endif target-libobjc
38902 .PHONY: check-target-libobjc maybe-check-target-libobjc
38903 maybe-check-target-libobjc:
38904 @if target-libobjc
38905 maybe-check-target-libobjc: check-target-libobjc
38907 check-target-libobjc:
38908 @: $(MAKE); $(unstage)
38909 @r=`${PWD_COMMAND}`; export r; \
38910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38911 $(NORMAL_TARGET_EXPORTS) \
38912 (cd $(TARGET_SUBDIR)/libobjc && \
38913 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38915 @endif target-libobjc
38917 .PHONY: install-target-libobjc maybe-install-target-libobjc
38918 maybe-install-target-libobjc:
38919 @if target-libobjc
38920 maybe-install-target-libobjc: install-target-libobjc
38922 install-target-libobjc: installdirs
38923 @: $(MAKE); $(unstage)
38924 @r=`${PWD_COMMAND}`; export r; \
38925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38926 $(NORMAL_TARGET_EXPORTS) \
38927 (cd $(TARGET_SUBDIR)/libobjc && \
38928 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38930 @endif target-libobjc
38932 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
38933 maybe-install-strip-target-libobjc:
38934 @if target-libobjc
38935 maybe-install-strip-target-libobjc: install-strip-target-libobjc
38937 install-strip-target-libobjc: installdirs
38938 @: $(MAKE); $(unstage)
38939 @r=`${PWD_COMMAND}`; export r; \
38940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38941 $(NORMAL_TARGET_EXPORTS) \
38942 (cd $(TARGET_SUBDIR)/libobjc && \
38943 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38945 @endif target-libobjc
38947 # Other targets (info, dvi, pdf, etc.)
38949 .PHONY: maybe-info-target-libobjc info-target-libobjc
38950 maybe-info-target-libobjc:
38951 @if target-libobjc
38952 maybe-info-target-libobjc: info-target-libobjc
38954 info-target-libobjc: \
38955 configure-target-libobjc
38956 @: $(MAKE); $(unstage)
38957 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38958 r=`${PWD_COMMAND}`; export r; \
38959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38960 $(NORMAL_TARGET_EXPORTS) \
38961 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
38962 for flag in $(EXTRA_TARGET_FLAGS); do \
38963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38964 done; \
38965 (cd $(TARGET_SUBDIR)/libobjc && \
38966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38968 "RANLIB=$${RANLIB}" \
38969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38970 info) \
38971 || exit 1
38973 @endif target-libobjc
38975 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
38976 maybe-dvi-target-libobjc:
38977 @if target-libobjc
38978 maybe-dvi-target-libobjc: dvi-target-libobjc
38980 dvi-target-libobjc: \
38981 configure-target-libobjc
38982 @: $(MAKE); $(unstage)
38983 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38984 r=`${PWD_COMMAND}`; export r; \
38985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38986 $(NORMAL_TARGET_EXPORTS) \
38987 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
38988 for flag in $(EXTRA_TARGET_FLAGS); do \
38989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38990 done; \
38991 (cd $(TARGET_SUBDIR)/libobjc && \
38992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38994 "RANLIB=$${RANLIB}" \
38995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38996 dvi) \
38997 || exit 1
38999 @endif target-libobjc
39001 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
39002 maybe-pdf-target-libobjc:
39003 @if target-libobjc
39004 maybe-pdf-target-libobjc: pdf-target-libobjc
39006 pdf-target-libobjc: \
39007 configure-target-libobjc
39008 @: $(MAKE); $(unstage)
39009 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39010 r=`${PWD_COMMAND}`; export r; \
39011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39012 $(NORMAL_TARGET_EXPORTS) \
39013 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
39014 for flag in $(EXTRA_TARGET_FLAGS); do \
39015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39016 done; \
39017 (cd $(TARGET_SUBDIR)/libobjc && \
39018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39020 "RANLIB=$${RANLIB}" \
39021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39022 pdf) \
39023 || exit 1
39025 @endif target-libobjc
39027 .PHONY: maybe-html-target-libobjc html-target-libobjc
39028 maybe-html-target-libobjc:
39029 @if target-libobjc
39030 maybe-html-target-libobjc: html-target-libobjc
39032 html-target-libobjc: \
39033 configure-target-libobjc
39034 @: $(MAKE); $(unstage)
39035 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39036 r=`${PWD_COMMAND}`; export r; \
39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39038 $(NORMAL_TARGET_EXPORTS) \
39039 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
39040 for flag in $(EXTRA_TARGET_FLAGS); do \
39041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39042 done; \
39043 (cd $(TARGET_SUBDIR)/libobjc && \
39044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39046 "RANLIB=$${RANLIB}" \
39047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39048 html) \
39049 || exit 1
39051 @endif target-libobjc
39053 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
39054 maybe-TAGS-target-libobjc:
39055 @if target-libobjc
39056 maybe-TAGS-target-libobjc: TAGS-target-libobjc
39058 TAGS-target-libobjc: \
39059 configure-target-libobjc
39060 @: $(MAKE); $(unstage)
39061 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39062 r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39064 $(NORMAL_TARGET_EXPORTS) \
39065 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
39066 for flag in $(EXTRA_TARGET_FLAGS); do \
39067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39068 done; \
39069 (cd $(TARGET_SUBDIR)/libobjc && \
39070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39072 "RANLIB=$${RANLIB}" \
39073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39074 TAGS) \
39075 || exit 1
39077 @endif target-libobjc
39079 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
39080 maybe-install-info-target-libobjc:
39081 @if target-libobjc
39082 maybe-install-info-target-libobjc: install-info-target-libobjc
39084 install-info-target-libobjc: \
39085 configure-target-libobjc \
39086 info-target-libobjc
39087 @: $(MAKE); $(unstage)
39088 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39089 r=`${PWD_COMMAND}`; export r; \
39090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39091 $(NORMAL_TARGET_EXPORTS) \
39092 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
39093 for flag in $(EXTRA_TARGET_FLAGS); do \
39094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39095 done; \
39096 (cd $(TARGET_SUBDIR)/libobjc && \
39097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39099 "RANLIB=$${RANLIB}" \
39100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39101 install-info) \
39102 || exit 1
39104 @endif target-libobjc
39106 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39107 maybe-install-pdf-target-libobjc:
39108 @if target-libobjc
39109 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39111 install-pdf-target-libobjc: \
39112 configure-target-libobjc \
39113 pdf-target-libobjc
39114 @: $(MAKE); $(unstage)
39115 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39116 r=`${PWD_COMMAND}`; export r; \
39117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39118 $(NORMAL_TARGET_EXPORTS) \
39119 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39120 for flag in $(EXTRA_TARGET_FLAGS); do \
39121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39122 done; \
39123 (cd $(TARGET_SUBDIR)/libobjc && \
39124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39126 "RANLIB=$${RANLIB}" \
39127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39128 install-pdf) \
39129 || exit 1
39131 @endif target-libobjc
39133 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39134 maybe-install-html-target-libobjc:
39135 @if target-libobjc
39136 maybe-install-html-target-libobjc: install-html-target-libobjc
39138 install-html-target-libobjc: \
39139 configure-target-libobjc \
39140 html-target-libobjc
39141 @: $(MAKE); $(unstage)
39142 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39143 r=`${PWD_COMMAND}`; export r; \
39144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39145 $(NORMAL_TARGET_EXPORTS) \
39146 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39147 for flag in $(EXTRA_TARGET_FLAGS); do \
39148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39149 done; \
39150 (cd $(TARGET_SUBDIR)/libobjc && \
39151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39153 "RANLIB=$${RANLIB}" \
39154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39155 install-html) \
39156 || exit 1
39158 @endif target-libobjc
39160 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39161 maybe-installcheck-target-libobjc:
39162 @if target-libobjc
39163 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39165 installcheck-target-libobjc: \
39166 configure-target-libobjc
39167 @: $(MAKE); $(unstage)
39168 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39169 r=`${PWD_COMMAND}`; export r; \
39170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39171 $(NORMAL_TARGET_EXPORTS) \
39172 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39173 for flag in $(EXTRA_TARGET_FLAGS); do \
39174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39175 done; \
39176 (cd $(TARGET_SUBDIR)/libobjc && \
39177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39179 "RANLIB=$${RANLIB}" \
39180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39181 installcheck) \
39182 || exit 1
39184 @endif target-libobjc
39186 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39187 maybe-mostlyclean-target-libobjc:
39188 @if target-libobjc
39189 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39191 mostlyclean-target-libobjc:
39192 @: $(MAKE); $(unstage)
39193 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39194 r=`${PWD_COMMAND}`; export r; \
39195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39196 $(NORMAL_TARGET_EXPORTS) \
39197 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39198 for flag in $(EXTRA_TARGET_FLAGS); do \
39199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39200 done; \
39201 (cd $(TARGET_SUBDIR)/libobjc && \
39202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39204 "RANLIB=$${RANLIB}" \
39205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39206 mostlyclean) \
39207 || exit 1
39209 @endif target-libobjc
39211 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39212 maybe-clean-target-libobjc:
39213 @if target-libobjc
39214 maybe-clean-target-libobjc: clean-target-libobjc
39216 clean-target-libobjc:
39217 @: $(MAKE); $(unstage)
39218 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39219 r=`${PWD_COMMAND}`; export r; \
39220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39221 $(NORMAL_TARGET_EXPORTS) \
39222 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39223 for flag in $(EXTRA_TARGET_FLAGS); do \
39224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39225 done; \
39226 (cd $(TARGET_SUBDIR)/libobjc && \
39227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39229 "RANLIB=$${RANLIB}" \
39230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39231 clean) \
39232 || exit 1
39234 @endif target-libobjc
39236 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39237 maybe-distclean-target-libobjc:
39238 @if target-libobjc
39239 maybe-distclean-target-libobjc: distclean-target-libobjc
39241 distclean-target-libobjc:
39242 @: $(MAKE); $(unstage)
39243 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39244 r=`${PWD_COMMAND}`; export r; \
39245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39246 $(NORMAL_TARGET_EXPORTS) \
39247 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39248 for flag in $(EXTRA_TARGET_FLAGS); do \
39249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39250 done; \
39251 (cd $(TARGET_SUBDIR)/libobjc && \
39252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39254 "RANLIB=$${RANLIB}" \
39255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39256 distclean) \
39257 || exit 1
39259 @endif target-libobjc
39261 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39262 maybe-maintainer-clean-target-libobjc:
39263 @if target-libobjc
39264 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39266 maintainer-clean-target-libobjc:
39267 @: $(MAKE); $(unstage)
39268 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39269 r=`${PWD_COMMAND}`; export r; \
39270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39271 $(NORMAL_TARGET_EXPORTS) \
39272 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39273 for flag in $(EXTRA_TARGET_FLAGS); do \
39274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39275 done; \
39276 (cd $(TARGET_SUBDIR)/libobjc && \
39277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39279 "RANLIB=$${RANLIB}" \
39280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39281 maintainer-clean) \
39282 || exit 1
39284 @endif target-libobjc
39290 .PHONY: configure-target-libgo maybe-configure-target-libgo
39291 maybe-configure-target-libgo:
39292 @if gcc-bootstrap
39293 configure-target-libgo: stage_current
39294 @endif gcc-bootstrap
39295 @if target-libgo
39296 maybe-configure-target-libgo: configure-target-libgo
39297 configure-target-libgo:
39298 @: $(MAKE); $(unstage)
39299 @r=`${PWD_COMMAND}`; export r; \
39300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39301 echo "Checking multilib configuration for libgo..."; \
39302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39303 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39304 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39305 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39306 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39307 else \
39308 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39309 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39310 fi; \
39311 else \
39312 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39313 fi; \
39314 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39316 $(NORMAL_TARGET_EXPORTS) \
39317 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39318 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39319 case $(srcdir) in \
39320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39321 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39323 esac; \
39324 module_srcdir=libgo; \
39325 rm -f no-such-file || : ; \
39326 CONFIG_SITE=no-such-file $(SHELL) \
39327 $$s/$$module_srcdir/configure \
39328 --srcdir=$${topdir}/$$module_srcdir \
39329 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39330 --target=${target_alias} \
39331 || exit 1
39332 @endif target-libgo
39338 .PHONY: all-target-libgo maybe-all-target-libgo
39339 maybe-all-target-libgo:
39340 @if gcc-bootstrap
39341 all-target-libgo: stage_current
39342 @endif gcc-bootstrap
39343 @if target-libgo
39344 TARGET-target-libgo=all
39345 maybe-all-target-libgo: all-target-libgo
39346 all-target-libgo: configure-target-libgo
39347 @: $(MAKE); $(unstage)
39348 @r=`${PWD_COMMAND}`; export r; \
39349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39350 $(NORMAL_TARGET_EXPORTS) \
39351 (cd $(TARGET_SUBDIR)/libgo && \
39352 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39353 $(TARGET-target-libgo))
39354 @endif target-libgo
39360 .PHONY: check-target-libgo maybe-check-target-libgo
39361 maybe-check-target-libgo:
39362 @if target-libgo
39363 maybe-check-target-libgo: check-target-libgo
39365 check-target-libgo:
39366 @: $(MAKE); $(unstage)
39367 @r=`${PWD_COMMAND}`; export r; \
39368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39369 $(NORMAL_TARGET_EXPORTS) \
39370 (cd $(TARGET_SUBDIR)/libgo && \
39371 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39373 @endif target-libgo
39375 .PHONY: install-target-libgo maybe-install-target-libgo
39376 maybe-install-target-libgo:
39377 @if target-libgo
39378 maybe-install-target-libgo: install-target-libgo
39380 install-target-libgo: installdirs
39381 @: $(MAKE); $(unstage)
39382 @r=`${PWD_COMMAND}`; export r; \
39383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39384 $(NORMAL_TARGET_EXPORTS) \
39385 (cd $(TARGET_SUBDIR)/libgo && \
39386 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39388 @endif target-libgo
39390 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39391 maybe-install-strip-target-libgo:
39392 @if target-libgo
39393 maybe-install-strip-target-libgo: install-strip-target-libgo
39395 install-strip-target-libgo: installdirs
39396 @: $(MAKE); $(unstage)
39397 @r=`${PWD_COMMAND}`; export r; \
39398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39399 $(NORMAL_TARGET_EXPORTS) \
39400 (cd $(TARGET_SUBDIR)/libgo && \
39401 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39403 @endif target-libgo
39405 # Other targets (info, dvi, pdf, etc.)
39407 .PHONY: maybe-info-target-libgo info-target-libgo
39408 maybe-info-target-libgo:
39409 @if target-libgo
39410 maybe-info-target-libgo: info-target-libgo
39412 info-target-libgo: \
39413 configure-target-libgo
39414 @: $(MAKE); $(unstage)
39415 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39416 r=`${PWD_COMMAND}`; export r; \
39417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39418 $(NORMAL_TARGET_EXPORTS) \
39419 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
39420 for flag in $(EXTRA_TARGET_FLAGS); do \
39421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39422 done; \
39423 (cd $(TARGET_SUBDIR)/libgo && \
39424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39426 "RANLIB=$${RANLIB}" \
39427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39428 info) \
39429 || exit 1
39431 @endif target-libgo
39433 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
39434 maybe-dvi-target-libgo:
39435 @if target-libgo
39436 maybe-dvi-target-libgo: dvi-target-libgo
39438 dvi-target-libgo: \
39439 configure-target-libgo
39440 @: $(MAKE); $(unstage)
39441 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39442 r=`${PWD_COMMAND}`; export r; \
39443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39444 $(NORMAL_TARGET_EXPORTS) \
39445 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
39446 for flag in $(EXTRA_TARGET_FLAGS); do \
39447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39448 done; \
39449 (cd $(TARGET_SUBDIR)/libgo && \
39450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39452 "RANLIB=$${RANLIB}" \
39453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39454 dvi) \
39455 || exit 1
39457 @endif target-libgo
39459 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
39460 maybe-pdf-target-libgo:
39461 @if target-libgo
39462 maybe-pdf-target-libgo: pdf-target-libgo
39464 pdf-target-libgo: \
39465 configure-target-libgo
39466 @: $(MAKE); $(unstage)
39467 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39468 r=`${PWD_COMMAND}`; export r; \
39469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39470 $(NORMAL_TARGET_EXPORTS) \
39471 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
39472 for flag in $(EXTRA_TARGET_FLAGS); do \
39473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39474 done; \
39475 (cd $(TARGET_SUBDIR)/libgo && \
39476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39478 "RANLIB=$${RANLIB}" \
39479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39480 pdf) \
39481 || exit 1
39483 @endif target-libgo
39485 .PHONY: maybe-html-target-libgo html-target-libgo
39486 maybe-html-target-libgo:
39487 @if target-libgo
39488 maybe-html-target-libgo: html-target-libgo
39490 html-target-libgo: \
39491 configure-target-libgo
39492 @: $(MAKE); $(unstage)
39493 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39494 r=`${PWD_COMMAND}`; export r; \
39495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39496 $(NORMAL_TARGET_EXPORTS) \
39497 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
39498 for flag in $(EXTRA_TARGET_FLAGS); do \
39499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39500 done; \
39501 (cd $(TARGET_SUBDIR)/libgo && \
39502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39504 "RANLIB=$${RANLIB}" \
39505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39506 html) \
39507 || exit 1
39509 @endif target-libgo
39511 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
39512 maybe-TAGS-target-libgo:
39513 @if target-libgo
39514 maybe-TAGS-target-libgo: TAGS-target-libgo
39516 TAGS-target-libgo: \
39517 configure-target-libgo
39518 @: $(MAKE); $(unstage)
39519 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39520 r=`${PWD_COMMAND}`; export r; \
39521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39522 $(NORMAL_TARGET_EXPORTS) \
39523 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
39524 for flag in $(EXTRA_TARGET_FLAGS); do \
39525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39526 done; \
39527 (cd $(TARGET_SUBDIR)/libgo && \
39528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39530 "RANLIB=$${RANLIB}" \
39531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39532 TAGS) \
39533 || exit 1
39535 @endif target-libgo
39537 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
39538 maybe-install-info-target-libgo:
39539 @if target-libgo
39540 maybe-install-info-target-libgo: install-info-target-libgo
39542 install-info-target-libgo: \
39543 configure-target-libgo \
39544 info-target-libgo
39545 @: $(MAKE); $(unstage)
39546 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39547 r=`${PWD_COMMAND}`; export r; \
39548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39549 $(NORMAL_TARGET_EXPORTS) \
39550 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
39551 for flag in $(EXTRA_TARGET_FLAGS); do \
39552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39553 done; \
39554 (cd $(TARGET_SUBDIR)/libgo && \
39555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39557 "RANLIB=$${RANLIB}" \
39558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39559 install-info) \
39560 || exit 1
39562 @endif target-libgo
39564 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
39565 maybe-install-pdf-target-libgo:
39566 @if target-libgo
39567 maybe-install-pdf-target-libgo: install-pdf-target-libgo
39569 install-pdf-target-libgo: \
39570 configure-target-libgo \
39571 pdf-target-libgo
39572 @: $(MAKE); $(unstage)
39573 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39574 r=`${PWD_COMMAND}`; export r; \
39575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39576 $(NORMAL_TARGET_EXPORTS) \
39577 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
39578 for flag in $(EXTRA_TARGET_FLAGS); do \
39579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39580 done; \
39581 (cd $(TARGET_SUBDIR)/libgo && \
39582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39584 "RANLIB=$${RANLIB}" \
39585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39586 install-pdf) \
39587 || exit 1
39589 @endif target-libgo
39591 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
39592 maybe-install-html-target-libgo:
39593 @if target-libgo
39594 maybe-install-html-target-libgo: install-html-target-libgo
39596 install-html-target-libgo: \
39597 configure-target-libgo \
39598 html-target-libgo
39599 @: $(MAKE); $(unstage)
39600 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39601 r=`${PWD_COMMAND}`; export r; \
39602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39603 $(NORMAL_TARGET_EXPORTS) \
39604 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
39605 for flag in $(EXTRA_TARGET_FLAGS); do \
39606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39607 done; \
39608 (cd $(TARGET_SUBDIR)/libgo && \
39609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39611 "RANLIB=$${RANLIB}" \
39612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39613 install-html) \
39614 || exit 1
39616 @endif target-libgo
39618 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
39619 maybe-installcheck-target-libgo:
39620 @if target-libgo
39621 maybe-installcheck-target-libgo: installcheck-target-libgo
39623 installcheck-target-libgo: \
39624 configure-target-libgo
39625 @: $(MAKE); $(unstage)
39626 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39627 r=`${PWD_COMMAND}`; export r; \
39628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39629 $(NORMAL_TARGET_EXPORTS) \
39630 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
39631 for flag in $(EXTRA_TARGET_FLAGS); do \
39632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39633 done; \
39634 (cd $(TARGET_SUBDIR)/libgo && \
39635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39637 "RANLIB=$${RANLIB}" \
39638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39639 installcheck) \
39640 || exit 1
39642 @endif target-libgo
39644 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
39645 maybe-mostlyclean-target-libgo:
39646 @if target-libgo
39647 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
39649 mostlyclean-target-libgo:
39650 @: $(MAKE); $(unstage)
39651 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39652 r=`${PWD_COMMAND}`; export r; \
39653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39654 $(NORMAL_TARGET_EXPORTS) \
39655 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
39656 for flag in $(EXTRA_TARGET_FLAGS); do \
39657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39658 done; \
39659 (cd $(TARGET_SUBDIR)/libgo && \
39660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39662 "RANLIB=$${RANLIB}" \
39663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39664 mostlyclean) \
39665 || exit 1
39667 @endif target-libgo
39669 .PHONY: maybe-clean-target-libgo clean-target-libgo
39670 maybe-clean-target-libgo:
39671 @if target-libgo
39672 maybe-clean-target-libgo: clean-target-libgo
39674 clean-target-libgo:
39675 @: $(MAKE); $(unstage)
39676 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39677 r=`${PWD_COMMAND}`; export r; \
39678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39679 $(NORMAL_TARGET_EXPORTS) \
39680 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
39681 for flag in $(EXTRA_TARGET_FLAGS); do \
39682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39683 done; \
39684 (cd $(TARGET_SUBDIR)/libgo && \
39685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39687 "RANLIB=$${RANLIB}" \
39688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39689 clean) \
39690 || exit 1
39692 @endif target-libgo
39694 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
39695 maybe-distclean-target-libgo:
39696 @if target-libgo
39697 maybe-distclean-target-libgo: distclean-target-libgo
39699 distclean-target-libgo:
39700 @: $(MAKE); $(unstage)
39701 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39702 r=`${PWD_COMMAND}`; export r; \
39703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39704 $(NORMAL_TARGET_EXPORTS) \
39705 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
39706 for flag in $(EXTRA_TARGET_FLAGS); do \
39707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39708 done; \
39709 (cd $(TARGET_SUBDIR)/libgo && \
39710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39712 "RANLIB=$${RANLIB}" \
39713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39714 distclean) \
39715 || exit 1
39717 @endif target-libgo
39719 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
39720 maybe-maintainer-clean-target-libgo:
39721 @if target-libgo
39722 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
39724 maintainer-clean-target-libgo:
39725 @: $(MAKE); $(unstage)
39726 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39727 r=`${PWD_COMMAND}`; export r; \
39728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39729 $(NORMAL_TARGET_EXPORTS) \
39730 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
39731 for flag in $(EXTRA_TARGET_FLAGS); do \
39732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39733 done; \
39734 (cd $(TARGET_SUBDIR)/libgo && \
39735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39737 "RANLIB=$${RANLIB}" \
39738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39739 maintainer-clean) \
39740 || exit 1
39742 @endif target-libgo
39748 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
39749 maybe-configure-target-libtermcap:
39750 @if gcc-bootstrap
39751 configure-target-libtermcap: stage_current
39752 @endif gcc-bootstrap
39753 @if target-libtermcap
39754 maybe-configure-target-libtermcap: configure-target-libtermcap
39755 configure-target-libtermcap:
39756 @: $(MAKE); $(unstage)
39757 @r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 echo "Checking multilib configuration for libtermcap..."; \
39760 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39761 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
39762 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39763 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39764 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
39765 else \
39766 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
39767 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39768 fi; \
39769 else \
39770 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39771 fi; \
39772 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
39773 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39774 $(NORMAL_TARGET_EXPORTS) \
39775 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
39776 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
39777 case $(srcdir) in \
39778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39779 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
39780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39781 esac; \
39782 module_srcdir=libtermcap; \
39783 rm -f no-such-file || : ; \
39784 CONFIG_SITE=no-such-file $(SHELL) \
39785 $$s/$$module_srcdir/configure \
39786 --srcdir=$${topdir}/$$module_srcdir \
39787 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39788 --target=${target_alias} \
39789 || exit 1
39790 @endif target-libtermcap
39796 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
39797 maybe-all-target-libtermcap:
39798 @if gcc-bootstrap
39799 all-target-libtermcap: stage_current
39800 @endif gcc-bootstrap
39801 @if target-libtermcap
39802 TARGET-target-libtermcap=all
39803 maybe-all-target-libtermcap: all-target-libtermcap
39804 all-target-libtermcap: configure-target-libtermcap
39805 @: $(MAKE); $(unstage)
39806 @r=`${PWD_COMMAND}`; export r; \
39807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39808 $(NORMAL_TARGET_EXPORTS) \
39809 (cd $(TARGET_SUBDIR)/libtermcap && \
39810 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39811 $(TARGET-target-libtermcap))
39812 @endif target-libtermcap
39818 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
39819 maybe-check-target-libtermcap:
39820 @if target-libtermcap
39821 maybe-check-target-libtermcap: check-target-libtermcap
39823 # Dummy target for uncheckable module.
39824 check-target-libtermcap:
39826 @endif target-libtermcap
39828 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
39829 maybe-install-target-libtermcap:
39830 @if target-libtermcap
39831 maybe-install-target-libtermcap: install-target-libtermcap
39833 install-target-libtermcap: installdirs
39834 @: $(MAKE); $(unstage)
39835 @r=`${PWD_COMMAND}`; export r; \
39836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39837 $(NORMAL_TARGET_EXPORTS) \
39838 (cd $(TARGET_SUBDIR)/libtermcap && \
39839 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39841 @endif target-libtermcap
39843 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
39844 maybe-install-strip-target-libtermcap:
39845 @if target-libtermcap
39846 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
39848 install-strip-target-libtermcap: installdirs
39849 @: $(MAKE); $(unstage)
39850 @r=`${PWD_COMMAND}`; export r; \
39851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39852 $(NORMAL_TARGET_EXPORTS) \
39853 (cd $(TARGET_SUBDIR)/libtermcap && \
39854 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39856 @endif target-libtermcap
39858 # Other targets (info, dvi, pdf, etc.)
39860 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
39861 maybe-info-target-libtermcap:
39862 @if target-libtermcap
39863 maybe-info-target-libtermcap: info-target-libtermcap
39865 info-target-libtermcap: \
39866 configure-target-libtermcap
39867 @: $(MAKE); $(unstage)
39868 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39869 r=`${PWD_COMMAND}`; export r; \
39870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39871 $(NORMAL_TARGET_EXPORTS) \
39872 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
39873 for flag in $(EXTRA_TARGET_FLAGS); do \
39874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39875 done; \
39876 (cd $(TARGET_SUBDIR)/libtermcap && \
39877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39879 "RANLIB=$${RANLIB}" \
39880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39881 info) \
39882 || exit 1
39884 @endif target-libtermcap
39886 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
39887 maybe-dvi-target-libtermcap:
39888 @if target-libtermcap
39889 maybe-dvi-target-libtermcap: dvi-target-libtermcap
39891 dvi-target-libtermcap: \
39892 configure-target-libtermcap
39893 @: $(MAKE); $(unstage)
39894 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39895 r=`${PWD_COMMAND}`; export r; \
39896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39897 $(NORMAL_TARGET_EXPORTS) \
39898 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
39899 for flag in $(EXTRA_TARGET_FLAGS); do \
39900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39901 done; \
39902 (cd $(TARGET_SUBDIR)/libtermcap && \
39903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39905 "RANLIB=$${RANLIB}" \
39906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39907 dvi) \
39908 || exit 1
39910 @endif target-libtermcap
39912 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
39913 maybe-pdf-target-libtermcap:
39914 @if target-libtermcap
39915 maybe-pdf-target-libtermcap: pdf-target-libtermcap
39917 pdf-target-libtermcap: \
39918 configure-target-libtermcap
39919 @: $(MAKE); $(unstage)
39920 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39921 r=`${PWD_COMMAND}`; export r; \
39922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39923 $(NORMAL_TARGET_EXPORTS) \
39924 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
39925 for flag in $(EXTRA_TARGET_FLAGS); do \
39926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39927 done; \
39928 (cd $(TARGET_SUBDIR)/libtermcap && \
39929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39931 "RANLIB=$${RANLIB}" \
39932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39933 pdf) \
39934 || exit 1
39936 @endif target-libtermcap
39938 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
39939 maybe-html-target-libtermcap:
39940 @if target-libtermcap
39941 maybe-html-target-libtermcap: html-target-libtermcap
39943 html-target-libtermcap: \
39944 configure-target-libtermcap
39945 @: $(MAKE); $(unstage)
39946 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39947 r=`${PWD_COMMAND}`; export r; \
39948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39949 $(NORMAL_TARGET_EXPORTS) \
39950 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
39951 for flag in $(EXTRA_TARGET_FLAGS); do \
39952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39953 done; \
39954 (cd $(TARGET_SUBDIR)/libtermcap && \
39955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39957 "RANLIB=$${RANLIB}" \
39958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39959 html) \
39960 || exit 1
39962 @endif target-libtermcap
39964 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
39965 maybe-TAGS-target-libtermcap:
39966 @if target-libtermcap
39967 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
39969 TAGS-target-libtermcap: \
39970 configure-target-libtermcap
39971 @: $(MAKE); $(unstage)
39972 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39973 r=`${PWD_COMMAND}`; export r; \
39974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39975 $(NORMAL_TARGET_EXPORTS) \
39976 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
39977 for flag in $(EXTRA_TARGET_FLAGS); do \
39978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39979 done; \
39980 (cd $(TARGET_SUBDIR)/libtermcap && \
39981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39983 "RANLIB=$${RANLIB}" \
39984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39985 TAGS) \
39986 || exit 1
39988 @endif target-libtermcap
39990 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
39991 maybe-install-info-target-libtermcap:
39992 @if target-libtermcap
39993 maybe-install-info-target-libtermcap: install-info-target-libtermcap
39995 install-info-target-libtermcap: \
39996 configure-target-libtermcap \
39997 info-target-libtermcap
39998 @: $(MAKE); $(unstage)
39999 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40000 r=`${PWD_COMMAND}`; export r; \
40001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40002 $(NORMAL_TARGET_EXPORTS) \
40003 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40004 for flag in $(EXTRA_TARGET_FLAGS); do \
40005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40006 done; \
40007 (cd $(TARGET_SUBDIR)/libtermcap && \
40008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40010 "RANLIB=$${RANLIB}" \
40011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40012 install-info) \
40013 || exit 1
40015 @endif target-libtermcap
40017 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
40018 maybe-install-pdf-target-libtermcap:
40019 @if target-libtermcap
40020 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
40022 install-pdf-target-libtermcap: \
40023 configure-target-libtermcap \
40024 pdf-target-libtermcap
40025 @: $(MAKE); $(unstage)
40026 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40027 r=`${PWD_COMMAND}`; export r; \
40028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40029 $(NORMAL_TARGET_EXPORTS) \
40030 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40031 for flag in $(EXTRA_TARGET_FLAGS); do \
40032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40033 done; \
40034 (cd $(TARGET_SUBDIR)/libtermcap && \
40035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40037 "RANLIB=$${RANLIB}" \
40038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40039 install-pdf) \
40040 || exit 1
40042 @endif target-libtermcap
40044 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
40045 maybe-install-html-target-libtermcap:
40046 @if target-libtermcap
40047 maybe-install-html-target-libtermcap: install-html-target-libtermcap
40049 install-html-target-libtermcap: \
40050 configure-target-libtermcap \
40051 html-target-libtermcap
40052 @: $(MAKE); $(unstage)
40053 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40054 r=`${PWD_COMMAND}`; export r; \
40055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40056 $(NORMAL_TARGET_EXPORTS) \
40057 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
40058 for flag in $(EXTRA_TARGET_FLAGS); do \
40059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40060 done; \
40061 (cd $(TARGET_SUBDIR)/libtermcap && \
40062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40064 "RANLIB=$${RANLIB}" \
40065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40066 install-html) \
40067 || exit 1
40069 @endif target-libtermcap
40071 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
40072 maybe-installcheck-target-libtermcap:
40073 @if target-libtermcap
40074 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
40076 installcheck-target-libtermcap: \
40077 configure-target-libtermcap
40078 @: $(MAKE); $(unstage)
40079 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40080 r=`${PWD_COMMAND}`; export r; \
40081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40082 $(NORMAL_TARGET_EXPORTS) \
40083 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
40084 for flag in $(EXTRA_TARGET_FLAGS); do \
40085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40086 done; \
40087 (cd $(TARGET_SUBDIR)/libtermcap && \
40088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40090 "RANLIB=$${RANLIB}" \
40091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40092 installcheck) \
40093 || exit 1
40095 @endif target-libtermcap
40097 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40098 maybe-mostlyclean-target-libtermcap:
40099 @if target-libtermcap
40100 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40102 # libtermcap doesn't support mostlyclean.
40103 mostlyclean-target-libtermcap:
40105 @endif target-libtermcap
40107 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40108 maybe-clean-target-libtermcap:
40109 @if target-libtermcap
40110 maybe-clean-target-libtermcap: clean-target-libtermcap
40112 # libtermcap doesn't support clean.
40113 clean-target-libtermcap:
40115 @endif target-libtermcap
40117 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40118 maybe-distclean-target-libtermcap:
40119 @if target-libtermcap
40120 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40122 # libtermcap doesn't support distclean.
40123 distclean-target-libtermcap:
40125 @endif target-libtermcap
40127 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40128 maybe-maintainer-clean-target-libtermcap:
40129 @if target-libtermcap
40130 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40132 # libtermcap doesn't support maintainer-clean.
40133 maintainer-clean-target-libtermcap:
40135 @endif target-libtermcap
40141 .PHONY: configure-target-winsup maybe-configure-target-winsup
40142 maybe-configure-target-winsup:
40143 @if gcc-bootstrap
40144 configure-target-winsup: stage_current
40145 @endif gcc-bootstrap
40146 @if target-winsup
40147 maybe-configure-target-winsup: configure-target-winsup
40148 configure-target-winsup:
40149 @: $(MAKE); $(unstage)
40150 @r=`${PWD_COMMAND}`; export r; \
40151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40152 echo "Checking multilib configuration for winsup..."; \
40153 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40154 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40155 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40156 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40157 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40158 else \
40159 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40160 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40161 fi; \
40162 else \
40163 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40164 fi; \
40165 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40166 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40167 $(NORMAL_TARGET_EXPORTS) \
40168 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40169 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40170 case $(srcdir) in \
40171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40172 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40174 esac; \
40175 module_srcdir=winsup; \
40176 rm -f no-such-file || : ; \
40177 CONFIG_SITE=no-such-file $(SHELL) \
40178 $$s/$$module_srcdir/configure \
40179 --srcdir=$${topdir}/$$module_srcdir \
40180 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40181 --target=${target_alias} \
40182 || exit 1
40183 @endif target-winsup
40189 .PHONY: all-target-winsup maybe-all-target-winsup
40190 maybe-all-target-winsup:
40191 @if gcc-bootstrap
40192 all-target-winsup: stage_current
40193 @endif gcc-bootstrap
40194 @if target-winsup
40195 TARGET-target-winsup=all
40196 maybe-all-target-winsup: all-target-winsup
40197 all-target-winsup: configure-target-winsup
40198 @: $(MAKE); $(unstage)
40199 @r=`${PWD_COMMAND}`; export r; \
40200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40201 $(NORMAL_TARGET_EXPORTS) \
40202 (cd $(TARGET_SUBDIR)/winsup && \
40203 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40204 $(TARGET-target-winsup))
40205 @endif target-winsup
40211 .PHONY: check-target-winsup maybe-check-target-winsup
40212 maybe-check-target-winsup:
40213 @if target-winsup
40214 maybe-check-target-winsup: check-target-winsup
40216 check-target-winsup:
40217 @: $(MAKE); $(unstage)
40218 @r=`${PWD_COMMAND}`; export r; \
40219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40220 $(NORMAL_TARGET_EXPORTS) \
40221 (cd $(TARGET_SUBDIR)/winsup && \
40222 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40224 @endif target-winsup
40226 .PHONY: install-target-winsup maybe-install-target-winsup
40227 maybe-install-target-winsup:
40228 @if target-winsup
40229 maybe-install-target-winsup: install-target-winsup
40231 install-target-winsup: installdirs
40232 @: $(MAKE); $(unstage)
40233 @r=`${PWD_COMMAND}`; export r; \
40234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40235 $(NORMAL_TARGET_EXPORTS) \
40236 (cd $(TARGET_SUBDIR)/winsup && \
40237 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40239 @endif target-winsup
40241 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40242 maybe-install-strip-target-winsup:
40243 @if target-winsup
40244 maybe-install-strip-target-winsup: install-strip-target-winsup
40246 install-strip-target-winsup: installdirs
40247 @: $(MAKE); $(unstage)
40248 @r=`${PWD_COMMAND}`; export r; \
40249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40250 $(NORMAL_TARGET_EXPORTS) \
40251 (cd $(TARGET_SUBDIR)/winsup && \
40252 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40254 @endif target-winsup
40256 # Other targets (info, dvi, pdf, etc.)
40258 .PHONY: maybe-info-target-winsup info-target-winsup
40259 maybe-info-target-winsup:
40260 @if target-winsup
40261 maybe-info-target-winsup: info-target-winsup
40263 info-target-winsup: \
40264 configure-target-winsup
40265 @: $(MAKE); $(unstage)
40266 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40267 r=`${PWD_COMMAND}`; export r; \
40268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40269 $(NORMAL_TARGET_EXPORTS) \
40270 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40271 for flag in $(EXTRA_TARGET_FLAGS); do \
40272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40273 done; \
40274 (cd $(TARGET_SUBDIR)/winsup && \
40275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40277 "RANLIB=$${RANLIB}" \
40278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40279 info) \
40280 || exit 1
40282 @endif target-winsup
40284 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40285 maybe-dvi-target-winsup:
40286 @if target-winsup
40287 maybe-dvi-target-winsup: dvi-target-winsup
40289 dvi-target-winsup: \
40290 configure-target-winsup
40291 @: $(MAKE); $(unstage)
40292 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40293 r=`${PWD_COMMAND}`; export r; \
40294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40295 $(NORMAL_TARGET_EXPORTS) \
40296 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40297 for flag in $(EXTRA_TARGET_FLAGS); do \
40298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40299 done; \
40300 (cd $(TARGET_SUBDIR)/winsup && \
40301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40303 "RANLIB=$${RANLIB}" \
40304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40305 dvi) \
40306 || exit 1
40308 @endif target-winsup
40310 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40311 maybe-pdf-target-winsup:
40312 @if target-winsup
40313 maybe-pdf-target-winsup: pdf-target-winsup
40315 pdf-target-winsup: \
40316 configure-target-winsup
40317 @: $(MAKE); $(unstage)
40318 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40319 r=`${PWD_COMMAND}`; export r; \
40320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40321 $(NORMAL_TARGET_EXPORTS) \
40322 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40323 for flag in $(EXTRA_TARGET_FLAGS); do \
40324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40325 done; \
40326 (cd $(TARGET_SUBDIR)/winsup && \
40327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40329 "RANLIB=$${RANLIB}" \
40330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40331 pdf) \
40332 || exit 1
40334 @endif target-winsup
40336 .PHONY: maybe-html-target-winsup html-target-winsup
40337 maybe-html-target-winsup:
40338 @if target-winsup
40339 maybe-html-target-winsup: html-target-winsup
40341 html-target-winsup: \
40342 configure-target-winsup
40343 @: $(MAKE); $(unstage)
40344 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40345 r=`${PWD_COMMAND}`; export r; \
40346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40347 $(NORMAL_TARGET_EXPORTS) \
40348 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40349 for flag in $(EXTRA_TARGET_FLAGS); do \
40350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40351 done; \
40352 (cd $(TARGET_SUBDIR)/winsup && \
40353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40355 "RANLIB=$${RANLIB}" \
40356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40357 html) \
40358 || exit 1
40360 @endif target-winsup
40362 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40363 maybe-TAGS-target-winsup:
40364 @if target-winsup
40365 maybe-TAGS-target-winsup: TAGS-target-winsup
40367 TAGS-target-winsup: \
40368 configure-target-winsup
40369 @: $(MAKE); $(unstage)
40370 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40371 r=`${PWD_COMMAND}`; export r; \
40372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40373 $(NORMAL_TARGET_EXPORTS) \
40374 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40375 for flag in $(EXTRA_TARGET_FLAGS); do \
40376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40377 done; \
40378 (cd $(TARGET_SUBDIR)/winsup && \
40379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40381 "RANLIB=$${RANLIB}" \
40382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40383 TAGS) \
40384 || exit 1
40386 @endif target-winsup
40388 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40389 maybe-install-info-target-winsup:
40390 @if target-winsup
40391 maybe-install-info-target-winsup: install-info-target-winsup
40393 install-info-target-winsup: \
40394 configure-target-winsup \
40395 info-target-winsup
40396 @: $(MAKE); $(unstage)
40397 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40398 r=`${PWD_COMMAND}`; export r; \
40399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40400 $(NORMAL_TARGET_EXPORTS) \
40401 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40402 for flag in $(EXTRA_TARGET_FLAGS); do \
40403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40404 done; \
40405 (cd $(TARGET_SUBDIR)/winsup && \
40406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40408 "RANLIB=$${RANLIB}" \
40409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40410 install-info) \
40411 || exit 1
40413 @endif target-winsup
40415 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40416 maybe-install-pdf-target-winsup:
40417 @if target-winsup
40418 maybe-install-pdf-target-winsup: install-pdf-target-winsup
40420 install-pdf-target-winsup: \
40421 configure-target-winsup \
40422 pdf-target-winsup
40423 @: $(MAKE); $(unstage)
40424 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40425 r=`${PWD_COMMAND}`; export r; \
40426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40427 $(NORMAL_TARGET_EXPORTS) \
40428 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
40429 for flag in $(EXTRA_TARGET_FLAGS); do \
40430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40431 done; \
40432 (cd $(TARGET_SUBDIR)/winsup && \
40433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40435 "RANLIB=$${RANLIB}" \
40436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40437 install-pdf) \
40438 || exit 1
40440 @endif target-winsup
40442 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
40443 maybe-install-html-target-winsup:
40444 @if target-winsup
40445 maybe-install-html-target-winsup: install-html-target-winsup
40447 install-html-target-winsup: \
40448 configure-target-winsup \
40449 html-target-winsup
40450 @: $(MAKE); $(unstage)
40451 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40452 r=`${PWD_COMMAND}`; export r; \
40453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40454 $(NORMAL_TARGET_EXPORTS) \
40455 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
40456 for flag in $(EXTRA_TARGET_FLAGS); do \
40457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40458 done; \
40459 (cd $(TARGET_SUBDIR)/winsup && \
40460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40462 "RANLIB=$${RANLIB}" \
40463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40464 install-html) \
40465 || exit 1
40467 @endif target-winsup
40469 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
40470 maybe-installcheck-target-winsup:
40471 @if target-winsup
40472 maybe-installcheck-target-winsup: installcheck-target-winsup
40474 installcheck-target-winsup: \
40475 configure-target-winsup
40476 @: $(MAKE); $(unstage)
40477 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40478 r=`${PWD_COMMAND}`; export r; \
40479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40480 $(NORMAL_TARGET_EXPORTS) \
40481 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
40482 for flag in $(EXTRA_TARGET_FLAGS); do \
40483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40484 done; \
40485 (cd $(TARGET_SUBDIR)/winsup && \
40486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40488 "RANLIB=$${RANLIB}" \
40489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40490 installcheck) \
40491 || exit 1
40493 @endif target-winsup
40495 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
40496 maybe-mostlyclean-target-winsup:
40497 @if target-winsup
40498 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
40500 mostlyclean-target-winsup:
40501 @: $(MAKE); $(unstage)
40502 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40503 r=`${PWD_COMMAND}`; export r; \
40504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40505 $(NORMAL_TARGET_EXPORTS) \
40506 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
40507 for flag in $(EXTRA_TARGET_FLAGS); do \
40508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40509 done; \
40510 (cd $(TARGET_SUBDIR)/winsup && \
40511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40513 "RANLIB=$${RANLIB}" \
40514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40515 mostlyclean) \
40516 || exit 1
40518 @endif target-winsup
40520 .PHONY: maybe-clean-target-winsup clean-target-winsup
40521 maybe-clean-target-winsup:
40522 @if target-winsup
40523 maybe-clean-target-winsup: clean-target-winsup
40525 clean-target-winsup:
40526 @: $(MAKE); $(unstage)
40527 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40528 r=`${PWD_COMMAND}`; export r; \
40529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40530 $(NORMAL_TARGET_EXPORTS) \
40531 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
40532 for flag in $(EXTRA_TARGET_FLAGS); do \
40533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40534 done; \
40535 (cd $(TARGET_SUBDIR)/winsup && \
40536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40538 "RANLIB=$${RANLIB}" \
40539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40540 clean) \
40541 || exit 1
40543 @endif target-winsup
40545 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
40546 maybe-distclean-target-winsup:
40547 @if target-winsup
40548 maybe-distclean-target-winsup: distclean-target-winsup
40550 distclean-target-winsup:
40551 @: $(MAKE); $(unstage)
40552 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40553 r=`${PWD_COMMAND}`; export r; \
40554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40555 $(NORMAL_TARGET_EXPORTS) \
40556 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
40557 for flag in $(EXTRA_TARGET_FLAGS); do \
40558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40559 done; \
40560 (cd $(TARGET_SUBDIR)/winsup && \
40561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40563 "RANLIB=$${RANLIB}" \
40564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40565 distclean) \
40566 || exit 1
40568 @endif target-winsup
40570 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
40571 maybe-maintainer-clean-target-winsup:
40572 @if target-winsup
40573 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
40575 maintainer-clean-target-winsup:
40576 @: $(MAKE); $(unstage)
40577 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40578 r=`${PWD_COMMAND}`; export r; \
40579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40580 $(NORMAL_TARGET_EXPORTS) \
40581 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
40582 for flag in $(EXTRA_TARGET_FLAGS); do \
40583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40584 done; \
40585 (cd $(TARGET_SUBDIR)/winsup && \
40586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40588 "RANLIB=$${RANLIB}" \
40589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40590 maintainer-clean) \
40591 || exit 1
40593 @endif target-winsup
40599 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
40600 maybe-configure-target-libgloss:
40601 @if gcc-bootstrap
40602 configure-target-libgloss: stage_current
40603 @endif gcc-bootstrap
40604 @if target-libgloss
40605 maybe-configure-target-libgloss: configure-target-libgloss
40606 configure-target-libgloss:
40607 @: $(MAKE); $(unstage)
40608 @r=`${PWD_COMMAND}`; export r; \
40609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40610 echo "Checking multilib configuration for libgloss..."; \
40611 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40612 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
40613 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40614 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40615 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
40616 else \
40617 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
40618 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40619 fi; \
40620 else \
40621 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40622 fi; \
40623 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
40624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40625 $(NORMAL_TARGET_EXPORTS) \
40626 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
40627 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
40628 case $(srcdir) in \
40629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40630 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
40631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40632 esac; \
40633 module_srcdir=libgloss; \
40634 rm -f no-such-file || : ; \
40635 CONFIG_SITE=no-such-file $(SHELL) \
40636 $$s/$$module_srcdir/configure \
40637 --srcdir=$${topdir}/$$module_srcdir \
40638 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40639 --target=${target_alias} \
40640 || exit 1
40641 @endif target-libgloss
40647 .PHONY: all-target-libgloss maybe-all-target-libgloss
40648 maybe-all-target-libgloss:
40649 @if gcc-bootstrap
40650 all-target-libgloss: stage_current
40651 @endif gcc-bootstrap
40652 @if target-libgloss
40653 TARGET-target-libgloss=all
40654 maybe-all-target-libgloss: all-target-libgloss
40655 all-target-libgloss: configure-target-libgloss
40656 @: $(MAKE); $(unstage)
40657 @r=`${PWD_COMMAND}`; export r; \
40658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40659 $(NORMAL_TARGET_EXPORTS) \
40660 (cd $(TARGET_SUBDIR)/libgloss && \
40661 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40662 $(TARGET-target-libgloss))
40663 @endif target-libgloss
40669 .PHONY: check-target-libgloss maybe-check-target-libgloss
40670 maybe-check-target-libgloss:
40671 @if target-libgloss
40672 maybe-check-target-libgloss: check-target-libgloss
40674 # Dummy target for uncheckable module.
40675 check-target-libgloss:
40677 @endif target-libgloss
40679 .PHONY: install-target-libgloss maybe-install-target-libgloss
40680 maybe-install-target-libgloss:
40681 @if target-libgloss
40682 maybe-install-target-libgloss: install-target-libgloss
40684 install-target-libgloss: installdirs
40685 @: $(MAKE); $(unstage)
40686 @r=`${PWD_COMMAND}`; export r; \
40687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40688 $(NORMAL_TARGET_EXPORTS) \
40689 (cd $(TARGET_SUBDIR)/libgloss && \
40690 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40692 @endif target-libgloss
40694 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
40695 maybe-install-strip-target-libgloss:
40696 @if target-libgloss
40697 maybe-install-strip-target-libgloss: install-strip-target-libgloss
40699 install-strip-target-libgloss: installdirs
40700 @: $(MAKE); $(unstage)
40701 @r=`${PWD_COMMAND}`; export r; \
40702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40703 $(NORMAL_TARGET_EXPORTS) \
40704 (cd $(TARGET_SUBDIR)/libgloss && \
40705 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40707 @endif target-libgloss
40709 # Other targets (info, dvi, pdf, etc.)
40711 .PHONY: maybe-info-target-libgloss info-target-libgloss
40712 maybe-info-target-libgloss:
40713 @if target-libgloss
40714 maybe-info-target-libgloss: info-target-libgloss
40716 info-target-libgloss: \
40717 configure-target-libgloss
40718 @: $(MAKE); $(unstage)
40719 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40720 r=`${PWD_COMMAND}`; export r; \
40721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40722 $(NORMAL_TARGET_EXPORTS) \
40723 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
40724 for flag in $(EXTRA_TARGET_FLAGS); do \
40725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40726 done; \
40727 (cd $(TARGET_SUBDIR)/libgloss && \
40728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40730 "RANLIB=$${RANLIB}" \
40731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40732 info) \
40733 || exit 1
40735 @endif target-libgloss
40737 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
40738 maybe-dvi-target-libgloss:
40739 @if target-libgloss
40740 maybe-dvi-target-libgloss: dvi-target-libgloss
40742 dvi-target-libgloss: \
40743 configure-target-libgloss
40744 @: $(MAKE); $(unstage)
40745 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40746 r=`${PWD_COMMAND}`; export r; \
40747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40748 $(NORMAL_TARGET_EXPORTS) \
40749 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
40750 for flag in $(EXTRA_TARGET_FLAGS); do \
40751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40752 done; \
40753 (cd $(TARGET_SUBDIR)/libgloss && \
40754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40756 "RANLIB=$${RANLIB}" \
40757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40758 dvi) \
40759 || exit 1
40761 @endif target-libgloss
40763 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
40764 maybe-pdf-target-libgloss:
40765 @if target-libgloss
40766 maybe-pdf-target-libgloss: pdf-target-libgloss
40768 pdf-target-libgloss: \
40769 configure-target-libgloss
40770 @: $(MAKE); $(unstage)
40771 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40772 r=`${PWD_COMMAND}`; export r; \
40773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40774 $(NORMAL_TARGET_EXPORTS) \
40775 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
40776 for flag in $(EXTRA_TARGET_FLAGS); do \
40777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40778 done; \
40779 (cd $(TARGET_SUBDIR)/libgloss && \
40780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40782 "RANLIB=$${RANLIB}" \
40783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40784 pdf) \
40785 || exit 1
40787 @endif target-libgloss
40789 .PHONY: maybe-html-target-libgloss html-target-libgloss
40790 maybe-html-target-libgloss:
40791 @if target-libgloss
40792 maybe-html-target-libgloss: html-target-libgloss
40794 html-target-libgloss: \
40795 configure-target-libgloss
40796 @: $(MAKE); $(unstage)
40797 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40798 r=`${PWD_COMMAND}`; export r; \
40799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40800 $(NORMAL_TARGET_EXPORTS) \
40801 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
40802 for flag in $(EXTRA_TARGET_FLAGS); do \
40803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40804 done; \
40805 (cd $(TARGET_SUBDIR)/libgloss && \
40806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40808 "RANLIB=$${RANLIB}" \
40809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40810 html) \
40811 || exit 1
40813 @endif target-libgloss
40815 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
40816 maybe-TAGS-target-libgloss:
40817 @if target-libgloss
40818 maybe-TAGS-target-libgloss: TAGS-target-libgloss
40820 TAGS-target-libgloss: \
40821 configure-target-libgloss
40822 @: $(MAKE); $(unstage)
40823 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40824 r=`${PWD_COMMAND}`; export r; \
40825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40826 $(NORMAL_TARGET_EXPORTS) \
40827 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
40828 for flag in $(EXTRA_TARGET_FLAGS); do \
40829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40830 done; \
40831 (cd $(TARGET_SUBDIR)/libgloss && \
40832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40834 "RANLIB=$${RANLIB}" \
40835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40836 TAGS) \
40837 || exit 1
40839 @endif target-libgloss
40841 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
40842 maybe-install-info-target-libgloss:
40843 @if target-libgloss
40844 maybe-install-info-target-libgloss: install-info-target-libgloss
40846 install-info-target-libgloss: \
40847 configure-target-libgloss \
40848 info-target-libgloss
40849 @: $(MAKE); $(unstage)
40850 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40851 r=`${PWD_COMMAND}`; export r; \
40852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40853 $(NORMAL_TARGET_EXPORTS) \
40854 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
40855 for flag in $(EXTRA_TARGET_FLAGS); do \
40856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40857 done; \
40858 (cd $(TARGET_SUBDIR)/libgloss && \
40859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40861 "RANLIB=$${RANLIB}" \
40862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40863 install-info) \
40864 || exit 1
40866 @endif target-libgloss
40868 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
40869 maybe-install-pdf-target-libgloss:
40870 @if target-libgloss
40871 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
40873 install-pdf-target-libgloss: \
40874 configure-target-libgloss \
40875 pdf-target-libgloss
40876 @: $(MAKE); $(unstage)
40877 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40878 r=`${PWD_COMMAND}`; export r; \
40879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40880 $(NORMAL_TARGET_EXPORTS) \
40881 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
40882 for flag in $(EXTRA_TARGET_FLAGS); do \
40883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40884 done; \
40885 (cd $(TARGET_SUBDIR)/libgloss && \
40886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40888 "RANLIB=$${RANLIB}" \
40889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40890 install-pdf) \
40891 || exit 1
40893 @endif target-libgloss
40895 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
40896 maybe-install-html-target-libgloss:
40897 @if target-libgloss
40898 maybe-install-html-target-libgloss: install-html-target-libgloss
40900 install-html-target-libgloss: \
40901 configure-target-libgloss \
40902 html-target-libgloss
40903 @: $(MAKE); $(unstage)
40904 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40905 r=`${PWD_COMMAND}`; export r; \
40906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40907 $(NORMAL_TARGET_EXPORTS) \
40908 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
40909 for flag in $(EXTRA_TARGET_FLAGS); do \
40910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40911 done; \
40912 (cd $(TARGET_SUBDIR)/libgloss && \
40913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40915 "RANLIB=$${RANLIB}" \
40916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40917 install-html) \
40918 || exit 1
40920 @endif target-libgloss
40922 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
40923 maybe-installcheck-target-libgloss:
40924 @if target-libgloss
40925 maybe-installcheck-target-libgloss: installcheck-target-libgloss
40927 installcheck-target-libgloss: \
40928 configure-target-libgloss
40929 @: $(MAKE); $(unstage)
40930 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40931 r=`${PWD_COMMAND}`; export r; \
40932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40933 $(NORMAL_TARGET_EXPORTS) \
40934 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
40935 for flag in $(EXTRA_TARGET_FLAGS); do \
40936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40937 done; \
40938 (cd $(TARGET_SUBDIR)/libgloss && \
40939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40941 "RANLIB=$${RANLIB}" \
40942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40943 installcheck) \
40944 || exit 1
40946 @endif target-libgloss
40948 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
40949 maybe-mostlyclean-target-libgloss:
40950 @if target-libgloss
40951 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
40953 mostlyclean-target-libgloss:
40954 @: $(MAKE); $(unstage)
40955 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40956 r=`${PWD_COMMAND}`; export r; \
40957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40958 $(NORMAL_TARGET_EXPORTS) \
40959 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
40960 for flag in $(EXTRA_TARGET_FLAGS); do \
40961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40962 done; \
40963 (cd $(TARGET_SUBDIR)/libgloss && \
40964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40966 "RANLIB=$${RANLIB}" \
40967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40968 mostlyclean) \
40969 || exit 1
40971 @endif target-libgloss
40973 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
40974 maybe-clean-target-libgloss:
40975 @if target-libgloss
40976 maybe-clean-target-libgloss: clean-target-libgloss
40978 clean-target-libgloss:
40979 @: $(MAKE); $(unstage)
40980 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40981 r=`${PWD_COMMAND}`; export r; \
40982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40983 $(NORMAL_TARGET_EXPORTS) \
40984 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
40985 for flag in $(EXTRA_TARGET_FLAGS); do \
40986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40987 done; \
40988 (cd $(TARGET_SUBDIR)/libgloss && \
40989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40991 "RANLIB=$${RANLIB}" \
40992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40993 clean) \
40994 || exit 1
40996 @endif target-libgloss
40998 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
40999 maybe-distclean-target-libgloss:
41000 @if target-libgloss
41001 maybe-distclean-target-libgloss: distclean-target-libgloss
41003 distclean-target-libgloss:
41004 @: $(MAKE); $(unstage)
41005 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41006 r=`${PWD_COMMAND}`; export r; \
41007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41008 $(NORMAL_TARGET_EXPORTS) \
41009 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
41010 for flag in $(EXTRA_TARGET_FLAGS); do \
41011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41012 done; \
41013 (cd $(TARGET_SUBDIR)/libgloss && \
41014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41016 "RANLIB=$${RANLIB}" \
41017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41018 distclean) \
41019 || exit 1
41021 @endif target-libgloss
41023 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41024 maybe-maintainer-clean-target-libgloss:
41025 @if target-libgloss
41026 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41028 maintainer-clean-target-libgloss:
41029 @: $(MAKE); $(unstage)
41030 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41031 r=`${PWD_COMMAND}`; export r; \
41032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41033 $(NORMAL_TARGET_EXPORTS) \
41034 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41035 for flag in $(EXTRA_TARGET_FLAGS); do \
41036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41037 done; \
41038 (cd $(TARGET_SUBDIR)/libgloss && \
41039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41041 "RANLIB=$${RANLIB}" \
41042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41043 maintainer-clean) \
41044 || exit 1
41046 @endif target-libgloss
41052 .PHONY: configure-target-libffi maybe-configure-target-libffi
41053 maybe-configure-target-libffi:
41054 @if gcc-bootstrap
41055 configure-target-libffi: stage_current
41056 @endif gcc-bootstrap
41057 @if target-libffi
41058 maybe-configure-target-libffi: configure-target-libffi
41059 configure-target-libffi:
41060 @: $(MAKE); $(unstage)
41061 @r=`${PWD_COMMAND}`; export r; \
41062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41063 echo "Checking multilib configuration for libffi..."; \
41064 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41065 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41066 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41067 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41068 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41069 else \
41070 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41071 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41072 fi; \
41073 else \
41074 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41075 fi; \
41076 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41077 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41078 $(NORMAL_TARGET_EXPORTS) \
41079 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41080 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41081 case $(srcdir) in \
41082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41083 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41085 esac; \
41086 module_srcdir=libffi; \
41087 rm -f no-such-file || : ; \
41088 CONFIG_SITE=no-such-file $(SHELL) \
41089 $$s/$$module_srcdir/configure \
41090 --srcdir=$${topdir}/$$module_srcdir \
41091 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41092 --target=${target_alias} \
41093 || exit 1
41094 @endif target-libffi
41100 .PHONY: all-target-libffi maybe-all-target-libffi
41101 maybe-all-target-libffi:
41102 @if gcc-bootstrap
41103 all-target-libffi: stage_current
41104 @endif gcc-bootstrap
41105 @if target-libffi
41106 TARGET-target-libffi=all
41107 maybe-all-target-libffi: all-target-libffi
41108 all-target-libffi: configure-target-libffi
41109 @: $(MAKE); $(unstage)
41110 @r=`${PWD_COMMAND}`; export r; \
41111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41112 $(NORMAL_TARGET_EXPORTS) \
41113 (cd $(TARGET_SUBDIR)/libffi && \
41114 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41115 $(TARGET-target-libffi))
41116 @endif target-libffi
41122 .PHONY: check-target-libffi maybe-check-target-libffi
41123 maybe-check-target-libffi:
41124 @if target-libffi
41125 maybe-check-target-libffi: check-target-libffi
41127 check-target-libffi:
41128 @: $(MAKE); $(unstage)
41129 @r=`${PWD_COMMAND}`; export r; \
41130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41131 $(NORMAL_TARGET_EXPORTS) \
41132 (cd $(TARGET_SUBDIR)/libffi && \
41133 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41135 @endif target-libffi
41137 .PHONY: install-target-libffi maybe-install-target-libffi
41138 maybe-install-target-libffi:
41139 @if target-libffi
41140 maybe-install-target-libffi: install-target-libffi
41142 # Dummy target for uninstallable.
41143 install-target-libffi:
41145 @endif target-libffi
41147 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41148 maybe-install-strip-target-libffi:
41149 @if target-libffi
41150 maybe-install-strip-target-libffi: install-strip-target-libffi
41152 # Dummy target for uninstallable.
41153 install-strip-target-libffi:
41155 @endif target-libffi
41157 # Other targets (info, dvi, pdf, etc.)
41159 .PHONY: maybe-info-target-libffi info-target-libffi
41160 maybe-info-target-libffi:
41161 @if target-libffi
41162 maybe-info-target-libffi: info-target-libffi
41164 info-target-libffi: \
41165 configure-target-libffi
41166 @: $(MAKE); $(unstage)
41167 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41168 r=`${PWD_COMMAND}`; export r; \
41169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41170 $(NORMAL_TARGET_EXPORTS) \
41171 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41172 for flag in $(EXTRA_TARGET_FLAGS); do \
41173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41174 done; \
41175 (cd $(TARGET_SUBDIR)/libffi && \
41176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41178 "RANLIB=$${RANLIB}" \
41179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41180 info) \
41181 || exit 1
41183 @endif target-libffi
41185 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41186 maybe-dvi-target-libffi:
41187 @if target-libffi
41188 maybe-dvi-target-libffi: dvi-target-libffi
41190 dvi-target-libffi: \
41191 configure-target-libffi
41192 @: $(MAKE); $(unstage)
41193 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41194 r=`${PWD_COMMAND}`; export r; \
41195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41196 $(NORMAL_TARGET_EXPORTS) \
41197 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41198 for flag in $(EXTRA_TARGET_FLAGS); do \
41199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41200 done; \
41201 (cd $(TARGET_SUBDIR)/libffi && \
41202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41204 "RANLIB=$${RANLIB}" \
41205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41206 dvi) \
41207 || exit 1
41209 @endif target-libffi
41211 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41212 maybe-pdf-target-libffi:
41213 @if target-libffi
41214 maybe-pdf-target-libffi: pdf-target-libffi
41216 pdf-target-libffi: \
41217 configure-target-libffi
41218 @: $(MAKE); $(unstage)
41219 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41220 r=`${PWD_COMMAND}`; export r; \
41221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41222 $(NORMAL_TARGET_EXPORTS) \
41223 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41224 for flag in $(EXTRA_TARGET_FLAGS); do \
41225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41226 done; \
41227 (cd $(TARGET_SUBDIR)/libffi && \
41228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41230 "RANLIB=$${RANLIB}" \
41231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41232 pdf) \
41233 || exit 1
41235 @endif target-libffi
41237 .PHONY: maybe-html-target-libffi html-target-libffi
41238 maybe-html-target-libffi:
41239 @if target-libffi
41240 maybe-html-target-libffi: html-target-libffi
41242 html-target-libffi: \
41243 configure-target-libffi
41244 @: $(MAKE); $(unstage)
41245 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41246 r=`${PWD_COMMAND}`; export r; \
41247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41248 $(NORMAL_TARGET_EXPORTS) \
41249 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41250 for flag in $(EXTRA_TARGET_FLAGS); do \
41251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41252 done; \
41253 (cd $(TARGET_SUBDIR)/libffi && \
41254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41256 "RANLIB=$${RANLIB}" \
41257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41258 html) \
41259 || exit 1
41261 @endif target-libffi
41263 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41264 maybe-TAGS-target-libffi:
41265 @if target-libffi
41266 maybe-TAGS-target-libffi: TAGS-target-libffi
41268 TAGS-target-libffi: \
41269 configure-target-libffi
41270 @: $(MAKE); $(unstage)
41271 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41272 r=`${PWD_COMMAND}`; export r; \
41273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41274 $(NORMAL_TARGET_EXPORTS) \
41275 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41276 for flag in $(EXTRA_TARGET_FLAGS); do \
41277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41278 done; \
41279 (cd $(TARGET_SUBDIR)/libffi && \
41280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41282 "RANLIB=$${RANLIB}" \
41283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41284 TAGS) \
41285 || exit 1
41287 @endif target-libffi
41289 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41290 maybe-install-info-target-libffi:
41291 @if target-libffi
41292 maybe-install-info-target-libffi: install-info-target-libffi
41294 install-info-target-libffi: \
41295 configure-target-libffi \
41296 info-target-libffi
41297 @: $(MAKE); $(unstage)
41298 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41299 r=`${PWD_COMMAND}`; export r; \
41300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41301 $(NORMAL_TARGET_EXPORTS) \
41302 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41303 for flag in $(EXTRA_TARGET_FLAGS); do \
41304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41305 done; \
41306 (cd $(TARGET_SUBDIR)/libffi && \
41307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41309 "RANLIB=$${RANLIB}" \
41310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41311 install-info) \
41312 || exit 1
41314 @endif target-libffi
41316 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41317 maybe-install-pdf-target-libffi:
41318 @if target-libffi
41319 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41321 install-pdf-target-libffi: \
41322 configure-target-libffi \
41323 pdf-target-libffi
41324 @: $(MAKE); $(unstage)
41325 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41326 r=`${PWD_COMMAND}`; export r; \
41327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41328 $(NORMAL_TARGET_EXPORTS) \
41329 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41330 for flag in $(EXTRA_TARGET_FLAGS); do \
41331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41332 done; \
41333 (cd $(TARGET_SUBDIR)/libffi && \
41334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41336 "RANLIB=$${RANLIB}" \
41337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41338 install-pdf) \
41339 || exit 1
41341 @endif target-libffi
41343 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41344 maybe-install-html-target-libffi:
41345 @if target-libffi
41346 maybe-install-html-target-libffi: install-html-target-libffi
41348 install-html-target-libffi: \
41349 configure-target-libffi \
41350 html-target-libffi
41351 @: $(MAKE); $(unstage)
41352 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41353 r=`${PWD_COMMAND}`; export r; \
41354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41355 $(NORMAL_TARGET_EXPORTS) \
41356 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41357 for flag in $(EXTRA_TARGET_FLAGS); do \
41358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41359 done; \
41360 (cd $(TARGET_SUBDIR)/libffi && \
41361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41363 "RANLIB=$${RANLIB}" \
41364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41365 install-html) \
41366 || exit 1
41368 @endif target-libffi
41370 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41371 maybe-installcheck-target-libffi:
41372 @if target-libffi
41373 maybe-installcheck-target-libffi: installcheck-target-libffi
41375 installcheck-target-libffi: \
41376 configure-target-libffi
41377 @: $(MAKE); $(unstage)
41378 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41379 r=`${PWD_COMMAND}`; export r; \
41380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41381 $(NORMAL_TARGET_EXPORTS) \
41382 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41383 for flag in $(EXTRA_TARGET_FLAGS); do \
41384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41385 done; \
41386 (cd $(TARGET_SUBDIR)/libffi && \
41387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41389 "RANLIB=$${RANLIB}" \
41390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41391 installcheck) \
41392 || exit 1
41394 @endif target-libffi
41396 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41397 maybe-mostlyclean-target-libffi:
41398 @if target-libffi
41399 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41401 mostlyclean-target-libffi:
41402 @: $(MAKE); $(unstage)
41403 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41404 r=`${PWD_COMMAND}`; export r; \
41405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41406 $(NORMAL_TARGET_EXPORTS) \
41407 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41408 for flag in $(EXTRA_TARGET_FLAGS); do \
41409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41410 done; \
41411 (cd $(TARGET_SUBDIR)/libffi && \
41412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41414 "RANLIB=$${RANLIB}" \
41415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41416 mostlyclean) \
41417 || exit 1
41419 @endif target-libffi
41421 .PHONY: maybe-clean-target-libffi clean-target-libffi
41422 maybe-clean-target-libffi:
41423 @if target-libffi
41424 maybe-clean-target-libffi: clean-target-libffi
41426 clean-target-libffi:
41427 @: $(MAKE); $(unstage)
41428 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41429 r=`${PWD_COMMAND}`; export r; \
41430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41431 $(NORMAL_TARGET_EXPORTS) \
41432 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41433 for flag in $(EXTRA_TARGET_FLAGS); do \
41434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41435 done; \
41436 (cd $(TARGET_SUBDIR)/libffi && \
41437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41439 "RANLIB=$${RANLIB}" \
41440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41441 clean) \
41442 || exit 1
41444 @endif target-libffi
41446 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41447 maybe-distclean-target-libffi:
41448 @if target-libffi
41449 maybe-distclean-target-libffi: distclean-target-libffi
41451 distclean-target-libffi:
41452 @: $(MAKE); $(unstage)
41453 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41454 r=`${PWD_COMMAND}`; export r; \
41455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41456 $(NORMAL_TARGET_EXPORTS) \
41457 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41458 for flag in $(EXTRA_TARGET_FLAGS); do \
41459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41460 done; \
41461 (cd $(TARGET_SUBDIR)/libffi && \
41462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41464 "RANLIB=$${RANLIB}" \
41465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41466 distclean) \
41467 || exit 1
41469 @endif target-libffi
41471 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41472 maybe-maintainer-clean-target-libffi:
41473 @if target-libffi
41474 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41476 maintainer-clean-target-libffi:
41477 @: $(MAKE); $(unstage)
41478 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41479 r=`${PWD_COMMAND}`; export r; \
41480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41481 $(NORMAL_TARGET_EXPORTS) \
41482 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41483 for flag in $(EXTRA_TARGET_FLAGS); do \
41484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41485 done; \
41486 (cd $(TARGET_SUBDIR)/libffi && \
41487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41489 "RANLIB=$${RANLIB}" \
41490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41491 maintainer-clean) \
41492 || exit 1
41494 @endif target-libffi
41500 .PHONY: configure-target-libjava maybe-configure-target-libjava
41501 maybe-configure-target-libjava:
41502 @if gcc-bootstrap
41503 configure-target-libjava: stage_current
41504 @endif gcc-bootstrap
41505 @if target-libjava
41506 maybe-configure-target-libjava: configure-target-libjava
41507 configure-target-libjava:
41508 @: $(MAKE); $(unstage)
41509 @r=`${PWD_COMMAND}`; export r; \
41510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41511 echo "Checking multilib configuration for libjava..."; \
41512 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41513 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41514 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41515 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41516 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41517 else \
41518 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41519 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41520 fi; \
41521 else \
41522 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41523 fi; \
41524 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41525 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41526 $(RAW_CXX_TARGET_EXPORTS) \
41527 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41528 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41529 case $(srcdir) in \
41530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41531 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41533 esac; \
41534 module_srcdir=libjava; \
41535 rm -f no-such-file || : ; \
41536 CONFIG_SITE=no-such-file $(SHELL) \
41537 $$s/$$module_srcdir/configure \
41538 --srcdir=$${topdir}/$$module_srcdir \
41539 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41540 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
41541 || exit 1
41542 @endif target-libjava
41548 .PHONY: all-target-libjava maybe-all-target-libjava
41549 maybe-all-target-libjava:
41550 @if gcc-bootstrap
41551 all-target-libjava: stage_current
41552 @endif gcc-bootstrap
41553 @if target-libjava
41554 TARGET-target-libjava=all
41555 maybe-all-target-libjava: all-target-libjava
41556 all-target-libjava: configure-target-libjava
41557 @: $(MAKE); $(unstage)
41558 @r=`${PWD_COMMAND}`; export r; \
41559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41560 $(RAW_CXX_TARGET_EXPORTS) \
41561 (cd $(TARGET_SUBDIR)/libjava && \
41562 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41563 $(TARGET-target-libjava))
41564 @endif target-libjava
41570 .PHONY: check-target-libjava maybe-check-target-libjava
41571 maybe-check-target-libjava:
41572 @if target-libjava
41573 maybe-check-target-libjava: check-target-libjava
41575 check-target-libjava:
41576 @: $(MAKE); $(unstage)
41577 @r=`${PWD_COMMAND}`; export r; \
41578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41579 $(RAW_CXX_TARGET_EXPORTS) \
41580 (cd $(TARGET_SUBDIR)/libjava && \
41581 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41583 @endif target-libjava
41585 .PHONY: install-target-libjava maybe-install-target-libjava
41586 maybe-install-target-libjava:
41587 @if target-libjava
41588 maybe-install-target-libjava: install-target-libjava
41590 install-target-libjava: installdirs
41591 @: $(MAKE); $(unstage)
41592 @r=`${PWD_COMMAND}`; export r; \
41593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41594 $(RAW_CXX_TARGET_EXPORTS) \
41595 (cd $(TARGET_SUBDIR)/libjava && \
41596 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41598 @endif target-libjava
41600 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
41601 maybe-install-strip-target-libjava:
41602 @if target-libjava
41603 maybe-install-strip-target-libjava: install-strip-target-libjava
41605 install-strip-target-libjava: installdirs
41606 @: $(MAKE); $(unstage)
41607 @r=`${PWD_COMMAND}`; export r; \
41608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41609 $(RAW_CXX_TARGET_EXPORTS) \
41610 (cd $(TARGET_SUBDIR)/libjava && \
41611 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41613 @endif target-libjava
41615 # Other targets (info, dvi, pdf, etc.)
41617 .PHONY: maybe-info-target-libjava info-target-libjava
41618 maybe-info-target-libjava:
41619 @if target-libjava
41620 maybe-info-target-libjava: info-target-libjava
41622 info-target-libjava: \
41623 configure-target-libjava
41624 @: $(MAKE); $(unstage)
41625 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41626 r=`${PWD_COMMAND}`; export r; \
41627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41628 $(RAW_CXX_TARGET_EXPORTS) \
41629 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41630 for flag in $(EXTRA_TARGET_FLAGS); do \
41631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41632 done; \
41633 (cd $(TARGET_SUBDIR)/libjava && \
41634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41636 "RANLIB=$${RANLIB}" \
41637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41638 info) \
41639 || exit 1
41641 @endif target-libjava
41643 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41644 maybe-dvi-target-libjava:
41645 @if target-libjava
41646 maybe-dvi-target-libjava: dvi-target-libjava
41648 dvi-target-libjava: \
41649 configure-target-libjava
41650 @: $(MAKE); $(unstage)
41651 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41652 r=`${PWD_COMMAND}`; export r; \
41653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41654 $(RAW_CXX_TARGET_EXPORTS) \
41655 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41656 for flag in $(EXTRA_TARGET_FLAGS); do \
41657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41658 done; \
41659 (cd $(TARGET_SUBDIR)/libjava && \
41660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41662 "RANLIB=$${RANLIB}" \
41663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41664 dvi) \
41665 || exit 1
41667 @endif target-libjava
41669 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41670 maybe-pdf-target-libjava:
41671 @if target-libjava
41672 maybe-pdf-target-libjava: pdf-target-libjava
41674 pdf-target-libjava: \
41675 configure-target-libjava
41676 @: $(MAKE); $(unstage)
41677 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41678 r=`${PWD_COMMAND}`; export r; \
41679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41680 $(RAW_CXX_TARGET_EXPORTS) \
41681 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41682 for flag in $(EXTRA_TARGET_FLAGS); do \
41683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41684 done; \
41685 (cd $(TARGET_SUBDIR)/libjava && \
41686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41688 "RANLIB=$${RANLIB}" \
41689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41690 pdf) \
41691 || exit 1
41693 @endif target-libjava
41695 .PHONY: maybe-html-target-libjava html-target-libjava
41696 maybe-html-target-libjava:
41697 @if target-libjava
41698 maybe-html-target-libjava: html-target-libjava
41700 html-target-libjava: \
41701 configure-target-libjava
41702 @: $(MAKE); $(unstage)
41703 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41704 r=`${PWD_COMMAND}`; export r; \
41705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41706 $(RAW_CXX_TARGET_EXPORTS) \
41707 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41708 for flag in $(EXTRA_TARGET_FLAGS); do \
41709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41710 done; \
41711 (cd $(TARGET_SUBDIR)/libjava && \
41712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41714 "RANLIB=$${RANLIB}" \
41715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41716 html) \
41717 || exit 1
41719 @endif target-libjava
41721 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41722 maybe-TAGS-target-libjava:
41723 @if target-libjava
41724 maybe-TAGS-target-libjava: TAGS-target-libjava
41726 TAGS-target-libjava: \
41727 configure-target-libjava
41728 @: $(MAKE); $(unstage)
41729 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41730 r=`${PWD_COMMAND}`; export r; \
41731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41732 $(RAW_CXX_TARGET_EXPORTS) \
41733 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41734 for flag in $(EXTRA_TARGET_FLAGS); do \
41735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41736 done; \
41737 (cd $(TARGET_SUBDIR)/libjava && \
41738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41740 "RANLIB=$${RANLIB}" \
41741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41742 TAGS) \
41743 || exit 1
41745 @endif target-libjava
41747 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41748 maybe-install-info-target-libjava:
41749 @if target-libjava
41750 maybe-install-info-target-libjava: install-info-target-libjava
41752 install-info-target-libjava: \
41753 configure-target-libjava \
41754 info-target-libjava
41755 @: $(MAKE); $(unstage)
41756 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41757 r=`${PWD_COMMAND}`; export r; \
41758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41759 $(RAW_CXX_TARGET_EXPORTS) \
41760 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41761 for flag in $(EXTRA_TARGET_FLAGS); do \
41762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41763 done; \
41764 (cd $(TARGET_SUBDIR)/libjava && \
41765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41767 "RANLIB=$${RANLIB}" \
41768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41769 install-info) \
41770 || exit 1
41772 @endif target-libjava
41774 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
41775 maybe-install-pdf-target-libjava:
41776 @if target-libjava
41777 maybe-install-pdf-target-libjava: install-pdf-target-libjava
41779 install-pdf-target-libjava: \
41780 configure-target-libjava \
41781 pdf-target-libjava
41782 @: $(MAKE); $(unstage)
41783 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41784 r=`${PWD_COMMAND}`; export r; \
41785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41786 $(RAW_CXX_TARGET_EXPORTS) \
41787 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
41788 for flag in $(EXTRA_TARGET_FLAGS); do \
41789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41790 done; \
41791 (cd $(TARGET_SUBDIR)/libjava && \
41792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41794 "RANLIB=$${RANLIB}" \
41795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41796 install-pdf) \
41797 || exit 1
41799 @endif target-libjava
41801 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41802 maybe-install-html-target-libjava:
41803 @if target-libjava
41804 maybe-install-html-target-libjava: install-html-target-libjava
41806 install-html-target-libjava: \
41807 configure-target-libjava \
41808 html-target-libjava
41809 @: $(MAKE); $(unstage)
41810 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41811 r=`${PWD_COMMAND}`; export r; \
41812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41813 $(RAW_CXX_TARGET_EXPORTS) \
41814 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41815 for flag in $(EXTRA_TARGET_FLAGS); do \
41816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41817 done; \
41818 (cd $(TARGET_SUBDIR)/libjava && \
41819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41821 "RANLIB=$${RANLIB}" \
41822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41823 install-html) \
41824 || exit 1
41826 @endif target-libjava
41828 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41829 maybe-installcheck-target-libjava:
41830 @if target-libjava
41831 maybe-installcheck-target-libjava: installcheck-target-libjava
41833 installcheck-target-libjava: \
41834 configure-target-libjava
41835 @: $(MAKE); $(unstage)
41836 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41837 r=`${PWD_COMMAND}`; export r; \
41838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41839 $(RAW_CXX_TARGET_EXPORTS) \
41840 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41841 for flag in $(EXTRA_TARGET_FLAGS); do \
41842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41843 done; \
41844 (cd $(TARGET_SUBDIR)/libjava && \
41845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41847 "RANLIB=$${RANLIB}" \
41848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41849 installcheck) \
41850 || exit 1
41852 @endif target-libjava
41854 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41855 maybe-mostlyclean-target-libjava:
41856 @if target-libjava
41857 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41859 mostlyclean-target-libjava:
41860 @: $(MAKE); $(unstage)
41861 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41862 r=`${PWD_COMMAND}`; export r; \
41863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41864 $(RAW_CXX_TARGET_EXPORTS) \
41865 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41866 for flag in $(EXTRA_TARGET_FLAGS); do \
41867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41868 done; \
41869 (cd $(TARGET_SUBDIR)/libjava && \
41870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41872 "RANLIB=$${RANLIB}" \
41873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41874 mostlyclean) \
41875 || exit 1
41877 @endif target-libjava
41879 .PHONY: maybe-clean-target-libjava clean-target-libjava
41880 maybe-clean-target-libjava:
41881 @if target-libjava
41882 maybe-clean-target-libjava: clean-target-libjava
41884 clean-target-libjava:
41885 @: $(MAKE); $(unstage)
41886 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41887 r=`${PWD_COMMAND}`; export r; \
41888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41889 $(RAW_CXX_TARGET_EXPORTS) \
41890 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
41891 for flag in $(EXTRA_TARGET_FLAGS); do \
41892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41893 done; \
41894 (cd $(TARGET_SUBDIR)/libjava && \
41895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41897 "RANLIB=$${RANLIB}" \
41898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41899 clean) \
41900 || exit 1
41902 @endif target-libjava
41904 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
41905 maybe-distclean-target-libjava:
41906 @if target-libjava
41907 maybe-distclean-target-libjava: distclean-target-libjava
41909 distclean-target-libjava:
41910 @: $(MAKE); $(unstage)
41911 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41912 r=`${PWD_COMMAND}`; export r; \
41913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41914 $(RAW_CXX_TARGET_EXPORTS) \
41915 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
41916 for flag in $(EXTRA_TARGET_FLAGS); do \
41917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41918 done; \
41919 (cd $(TARGET_SUBDIR)/libjava && \
41920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41922 "RANLIB=$${RANLIB}" \
41923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41924 distclean) \
41925 || exit 1
41927 @endif target-libjava
41929 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
41930 maybe-maintainer-clean-target-libjava:
41931 @if target-libjava
41932 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
41934 maintainer-clean-target-libjava:
41935 @: $(MAKE); $(unstage)
41936 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41937 r=`${PWD_COMMAND}`; export r; \
41938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41939 $(RAW_CXX_TARGET_EXPORTS) \
41940 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
41941 for flag in $(EXTRA_TARGET_FLAGS); do \
41942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41943 done; \
41944 (cd $(TARGET_SUBDIR)/libjava && \
41945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41947 "RANLIB=$${RANLIB}" \
41948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41949 maintainer-clean) \
41950 || exit 1
41952 @endif target-libjava
41958 .PHONY: configure-target-zlib maybe-configure-target-zlib
41959 maybe-configure-target-zlib:
41960 @if gcc-bootstrap
41961 configure-target-zlib: stage_current
41962 @endif gcc-bootstrap
41963 @if target-zlib
41964 maybe-configure-target-zlib: configure-target-zlib
41965 configure-target-zlib:
41966 @: $(MAKE); $(unstage)
41967 @r=`${PWD_COMMAND}`; export r; \
41968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41969 echo "Checking multilib configuration for zlib..."; \
41970 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41971 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
41972 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
41973 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
41974 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
41975 else \
41976 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
41977 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41978 fi; \
41979 else \
41980 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41981 fi; \
41982 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
41983 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41984 $(NORMAL_TARGET_EXPORTS) \
41985 echo Configuring in $(TARGET_SUBDIR)/zlib; \
41986 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
41987 case $(srcdir) in \
41988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41989 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
41990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41991 esac; \
41992 module_srcdir=zlib; \
41993 rm -f no-such-file || : ; \
41994 CONFIG_SITE=no-such-file $(SHELL) \
41995 $$s/$$module_srcdir/configure \
41996 --srcdir=$${topdir}/$$module_srcdir \
41997 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41998 --target=${target_alias} \
41999 || exit 1
42000 @endif target-zlib
42006 .PHONY: all-target-zlib maybe-all-target-zlib
42007 maybe-all-target-zlib:
42008 @if gcc-bootstrap
42009 all-target-zlib: stage_current
42010 @endif gcc-bootstrap
42011 @if target-zlib
42012 TARGET-target-zlib=all
42013 maybe-all-target-zlib: all-target-zlib
42014 all-target-zlib: configure-target-zlib
42015 @: $(MAKE); $(unstage)
42016 @r=`${PWD_COMMAND}`; export r; \
42017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42018 $(NORMAL_TARGET_EXPORTS) \
42019 (cd $(TARGET_SUBDIR)/zlib && \
42020 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42021 $(TARGET-target-zlib))
42022 @endif target-zlib
42028 .PHONY: check-target-zlib maybe-check-target-zlib
42029 maybe-check-target-zlib:
42030 @if target-zlib
42031 maybe-check-target-zlib: check-target-zlib
42033 check-target-zlib:
42034 @: $(MAKE); $(unstage)
42035 @r=`${PWD_COMMAND}`; export r; \
42036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42037 $(NORMAL_TARGET_EXPORTS) \
42038 (cd $(TARGET_SUBDIR)/zlib && \
42039 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42041 @endif target-zlib
42043 .PHONY: install-target-zlib maybe-install-target-zlib
42044 maybe-install-target-zlib:
42045 @if target-zlib
42046 maybe-install-target-zlib: install-target-zlib
42048 install-target-zlib: installdirs
42049 @: $(MAKE); $(unstage)
42050 @r=`${PWD_COMMAND}`; export r; \
42051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42052 $(NORMAL_TARGET_EXPORTS) \
42053 (cd $(TARGET_SUBDIR)/zlib && \
42054 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42056 @endif target-zlib
42058 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
42059 maybe-install-strip-target-zlib:
42060 @if target-zlib
42061 maybe-install-strip-target-zlib: install-strip-target-zlib
42063 install-strip-target-zlib: installdirs
42064 @: $(MAKE); $(unstage)
42065 @r=`${PWD_COMMAND}`; export r; \
42066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42067 $(NORMAL_TARGET_EXPORTS) \
42068 (cd $(TARGET_SUBDIR)/zlib && \
42069 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42071 @endif target-zlib
42073 # Other targets (info, dvi, pdf, etc.)
42075 .PHONY: maybe-info-target-zlib info-target-zlib
42076 maybe-info-target-zlib:
42077 @if target-zlib
42078 maybe-info-target-zlib: info-target-zlib
42080 info-target-zlib: \
42081 configure-target-zlib
42082 @: $(MAKE); $(unstage)
42083 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42084 r=`${PWD_COMMAND}`; export r; \
42085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42086 $(NORMAL_TARGET_EXPORTS) \
42087 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
42088 for flag in $(EXTRA_TARGET_FLAGS); do \
42089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42090 done; \
42091 (cd $(TARGET_SUBDIR)/zlib && \
42092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42094 "RANLIB=$${RANLIB}" \
42095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42096 info) \
42097 || exit 1
42099 @endif target-zlib
42101 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
42102 maybe-dvi-target-zlib:
42103 @if target-zlib
42104 maybe-dvi-target-zlib: dvi-target-zlib
42106 dvi-target-zlib: \
42107 configure-target-zlib
42108 @: $(MAKE); $(unstage)
42109 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42110 r=`${PWD_COMMAND}`; export r; \
42111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42112 $(NORMAL_TARGET_EXPORTS) \
42113 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42114 for flag in $(EXTRA_TARGET_FLAGS); do \
42115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42116 done; \
42117 (cd $(TARGET_SUBDIR)/zlib && \
42118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42120 "RANLIB=$${RANLIB}" \
42121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42122 dvi) \
42123 || exit 1
42125 @endif target-zlib
42127 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42128 maybe-pdf-target-zlib:
42129 @if target-zlib
42130 maybe-pdf-target-zlib: pdf-target-zlib
42132 pdf-target-zlib: \
42133 configure-target-zlib
42134 @: $(MAKE); $(unstage)
42135 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42136 r=`${PWD_COMMAND}`; export r; \
42137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42138 $(NORMAL_TARGET_EXPORTS) \
42139 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42140 for flag in $(EXTRA_TARGET_FLAGS); do \
42141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42142 done; \
42143 (cd $(TARGET_SUBDIR)/zlib && \
42144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42146 "RANLIB=$${RANLIB}" \
42147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42148 pdf) \
42149 || exit 1
42151 @endif target-zlib
42153 .PHONY: maybe-html-target-zlib html-target-zlib
42154 maybe-html-target-zlib:
42155 @if target-zlib
42156 maybe-html-target-zlib: html-target-zlib
42158 html-target-zlib: \
42159 configure-target-zlib
42160 @: $(MAKE); $(unstage)
42161 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42162 r=`${PWD_COMMAND}`; export r; \
42163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42164 $(NORMAL_TARGET_EXPORTS) \
42165 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42166 for flag in $(EXTRA_TARGET_FLAGS); do \
42167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42168 done; \
42169 (cd $(TARGET_SUBDIR)/zlib && \
42170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42172 "RANLIB=$${RANLIB}" \
42173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42174 html) \
42175 || exit 1
42177 @endif target-zlib
42179 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42180 maybe-TAGS-target-zlib:
42181 @if target-zlib
42182 maybe-TAGS-target-zlib: TAGS-target-zlib
42184 TAGS-target-zlib: \
42185 configure-target-zlib
42186 @: $(MAKE); $(unstage)
42187 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42188 r=`${PWD_COMMAND}`; export r; \
42189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42190 $(NORMAL_TARGET_EXPORTS) \
42191 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42192 for flag in $(EXTRA_TARGET_FLAGS); do \
42193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42194 done; \
42195 (cd $(TARGET_SUBDIR)/zlib && \
42196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42198 "RANLIB=$${RANLIB}" \
42199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42200 TAGS) \
42201 || exit 1
42203 @endif target-zlib
42205 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42206 maybe-install-info-target-zlib:
42207 @if target-zlib
42208 maybe-install-info-target-zlib: install-info-target-zlib
42210 install-info-target-zlib: \
42211 configure-target-zlib \
42212 info-target-zlib
42213 @: $(MAKE); $(unstage)
42214 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42215 r=`${PWD_COMMAND}`; export r; \
42216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42217 $(NORMAL_TARGET_EXPORTS) \
42218 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42219 for flag in $(EXTRA_TARGET_FLAGS); do \
42220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42221 done; \
42222 (cd $(TARGET_SUBDIR)/zlib && \
42223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42225 "RANLIB=$${RANLIB}" \
42226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42227 install-info) \
42228 || exit 1
42230 @endif target-zlib
42232 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42233 maybe-install-pdf-target-zlib:
42234 @if target-zlib
42235 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42237 install-pdf-target-zlib: \
42238 configure-target-zlib \
42239 pdf-target-zlib
42240 @: $(MAKE); $(unstage)
42241 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42242 r=`${PWD_COMMAND}`; export r; \
42243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42244 $(NORMAL_TARGET_EXPORTS) \
42245 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42246 for flag in $(EXTRA_TARGET_FLAGS); do \
42247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42248 done; \
42249 (cd $(TARGET_SUBDIR)/zlib && \
42250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42252 "RANLIB=$${RANLIB}" \
42253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42254 install-pdf) \
42255 || exit 1
42257 @endif target-zlib
42259 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42260 maybe-install-html-target-zlib:
42261 @if target-zlib
42262 maybe-install-html-target-zlib: install-html-target-zlib
42264 install-html-target-zlib: \
42265 configure-target-zlib \
42266 html-target-zlib
42267 @: $(MAKE); $(unstage)
42268 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42269 r=`${PWD_COMMAND}`; export r; \
42270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42271 $(NORMAL_TARGET_EXPORTS) \
42272 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42273 for flag in $(EXTRA_TARGET_FLAGS); do \
42274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42275 done; \
42276 (cd $(TARGET_SUBDIR)/zlib && \
42277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42279 "RANLIB=$${RANLIB}" \
42280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42281 install-html) \
42282 || exit 1
42284 @endif target-zlib
42286 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42287 maybe-installcheck-target-zlib:
42288 @if target-zlib
42289 maybe-installcheck-target-zlib: installcheck-target-zlib
42291 installcheck-target-zlib: \
42292 configure-target-zlib
42293 @: $(MAKE); $(unstage)
42294 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42295 r=`${PWD_COMMAND}`; export r; \
42296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42297 $(NORMAL_TARGET_EXPORTS) \
42298 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42299 for flag in $(EXTRA_TARGET_FLAGS); do \
42300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42301 done; \
42302 (cd $(TARGET_SUBDIR)/zlib && \
42303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42305 "RANLIB=$${RANLIB}" \
42306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42307 installcheck) \
42308 || exit 1
42310 @endif target-zlib
42312 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42313 maybe-mostlyclean-target-zlib:
42314 @if target-zlib
42315 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42317 mostlyclean-target-zlib:
42318 @: $(MAKE); $(unstage)
42319 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42320 r=`${PWD_COMMAND}`; export r; \
42321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42322 $(NORMAL_TARGET_EXPORTS) \
42323 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42324 for flag in $(EXTRA_TARGET_FLAGS); do \
42325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42326 done; \
42327 (cd $(TARGET_SUBDIR)/zlib && \
42328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42330 "RANLIB=$${RANLIB}" \
42331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42332 mostlyclean) \
42333 || exit 1
42335 @endif target-zlib
42337 .PHONY: maybe-clean-target-zlib clean-target-zlib
42338 maybe-clean-target-zlib:
42339 @if target-zlib
42340 maybe-clean-target-zlib: clean-target-zlib
42342 clean-target-zlib:
42343 @: $(MAKE); $(unstage)
42344 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42345 r=`${PWD_COMMAND}`; export r; \
42346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42347 $(NORMAL_TARGET_EXPORTS) \
42348 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42349 for flag in $(EXTRA_TARGET_FLAGS); do \
42350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42351 done; \
42352 (cd $(TARGET_SUBDIR)/zlib && \
42353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42355 "RANLIB=$${RANLIB}" \
42356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42357 clean) \
42358 || exit 1
42360 @endif target-zlib
42362 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42363 maybe-distclean-target-zlib:
42364 @if target-zlib
42365 maybe-distclean-target-zlib: distclean-target-zlib
42367 distclean-target-zlib:
42368 @: $(MAKE); $(unstage)
42369 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42370 r=`${PWD_COMMAND}`; export r; \
42371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42372 $(NORMAL_TARGET_EXPORTS) \
42373 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42374 for flag in $(EXTRA_TARGET_FLAGS); do \
42375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42376 done; \
42377 (cd $(TARGET_SUBDIR)/zlib && \
42378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42380 "RANLIB=$${RANLIB}" \
42381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42382 distclean) \
42383 || exit 1
42385 @endif target-zlib
42387 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42388 maybe-maintainer-clean-target-zlib:
42389 @if target-zlib
42390 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42392 maintainer-clean-target-zlib:
42393 @: $(MAKE); $(unstage)
42394 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42395 r=`${PWD_COMMAND}`; export r; \
42396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42397 $(NORMAL_TARGET_EXPORTS) \
42398 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42399 for flag in $(EXTRA_TARGET_FLAGS); do \
42400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42401 done; \
42402 (cd $(TARGET_SUBDIR)/zlib && \
42403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42405 "RANLIB=$${RANLIB}" \
42406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42407 maintainer-clean) \
42408 || exit 1
42410 @endif target-zlib
42416 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42417 maybe-configure-target-boehm-gc:
42418 @if gcc-bootstrap
42419 configure-target-boehm-gc: stage_current
42420 @endif gcc-bootstrap
42421 @if target-boehm-gc
42422 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42423 configure-target-boehm-gc:
42424 @: $(MAKE); $(unstage)
42425 @r=`${PWD_COMMAND}`; export r; \
42426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42427 echo "Checking multilib configuration for boehm-gc..."; \
42428 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42429 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42430 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42431 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42432 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42433 else \
42434 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42435 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42436 fi; \
42437 else \
42438 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42439 fi; \
42440 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42442 $(NORMAL_TARGET_EXPORTS) \
42443 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42444 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42445 case $(srcdir) in \
42446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42447 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42449 esac; \
42450 module_srcdir=boehm-gc; \
42451 rm -f no-such-file || : ; \
42452 CONFIG_SITE=no-such-file $(SHELL) \
42453 $$s/$$module_srcdir/configure \
42454 --srcdir=$${topdir}/$$module_srcdir \
42455 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42456 --target=${target_alias} \
42457 || exit 1
42458 @endif target-boehm-gc
42464 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42465 maybe-all-target-boehm-gc:
42466 @if gcc-bootstrap
42467 all-target-boehm-gc: stage_current
42468 @endif gcc-bootstrap
42469 @if target-boehm-gc
42470 TARGET-target-boehm-gc=all
42471 maybe-all-target-boehm-gc: all-target-boehm-gc
42472 all-target-boehm-gc: configure-target-boehm-gc
42473 @: $(MAKE); $(unstage)
42474 @r=`${PWD_COMMAND}`; export r; \
42475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42476 $(NORMAL_TARGET_EXPORTS) \
42477 (cd $(TARGET_SUBDIR)/boehm-gc && \
42478 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42479 $(TARGET-target-boehm-gc))
42480 @endif target-boehm-gc
42486 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42487 maybe-check-target-boehm-gc:
42488 @if target-boehm-gc
42489 maybe-check-target-boehm-gc: check-target-boehm-gc
42491 check-target-boehm-gc:
42492 @: $(MAKE); $(unstage)
42493 @r=`${PWD_COMMAND}`; export r; \
42494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42495 $(NORMAL_TARGET_EXPORTS) \
42496 (cd $(TARGET_SUBDIR)/boehm-gc && \
42497 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42499 @endif target-boehm-gc
42501 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42502 maybe-install-target-boehm-gc:
42503 @if target-boehm-gc
42504 maybe-install-target-boehm-gc: install-target-boehm-gc
42506 install-target-boehm-gc: installdirs
42507 @: $(MAKE); $(unstage)
42508 @r=`${PWD_COMMAND}`; export r; \
42509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42510 $(NORMAL_TARGET_EXPORTS) \
42511 (cd $(TARGET_SUBDIR)/boehm-gc && \
42512 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42514 @endif target-boehm-gc
42516 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
42517 maybe-install-strip-target-boehm-gc:
42518 @if target-boehm-gc
42519 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
42521 install-strip-target-boehm-gc: installdirs
42522 @: $(MAKE); $(unstage)
42523 @r=`${PWD_COMMAND}`; export r; \
42524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42525 $(NORMAL_TARGET_EXPORTS) \
42526 (cd $(TARGET_SUBDIR)/boehm-gc && \
42527 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42529 @endif target-boehm-gc
42531 # Other targets (info, dvi, pdf, etc.)
42533 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42534 maybe-info-target-boehm-gc:
42535 @if target-boehm-gc
42536 maybe-info-target-boehm-gc: info-target-boehm-gc
42538 info-target-boehm-gc: \
42539 configure-target-boehm-gc
42540 @: $(MAKE); $(unstage)
42541 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42542 r=`${PWD_COMMAND}`; export r; \
42543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42544 $(NORMAL_TARGET_EXPORTS) \
42545 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42546 for flag in $(EXTRA_TARGET_FLAGS); do \
42547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42548 done; \
42549 (cd $(TARGET_SUBDIR)/boehm-gc && \
42550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42552 "RANLIB=$${RANLIB}" \
42553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42554 info) \
42555 || exit 1
42557 @endif target-boehm-gc
42559 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42560 maybe-dvi-target-boehm-gc:
42561 @if target-boehm-gc
42562 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42564 dvi-target-boehm-gc: \
42565 configure-target-boehm-gc
42566 @: $(MAKE); $(unstage)
42567 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42568 r=`${PWD_COMMAND}`; export r; \
42569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42570 $(NORMAL_TARGET_EXPORTS) \
42571 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42572 for flag in $(EXTRA_TARGET_FLAGS); do \
42573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42574 done; \
42575 (cd $(TARGET_SUBDIR)/boehm-gc && \
42576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42578 "RANLIB=$${RANLIB}" \
42579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42580 dvi) \
42581 || exit 1
42583 @endif target-boehm-gc
42585 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42586 maybe-pdf-target-boehm-gc:
42587 @if target-boehm-gc
42588 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42590 pdf-target-boehm-gc: \
42591 configure-target-boehm-gc
42592 @: $(MAKE); $(unstage)
42593 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42594 r=`${PWD_COMMAND}`; export r; \
42595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42596 $(NORMAL_TARGET_EXPORTS) \
42597 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42598 for flag in $(EXTRA_TARGET_FLAGS); do \
42599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42600 done; \
42601 (cd $(TARGET_SUBDIR)/boehm-gc && \
42602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42604 "RANLIB=$${RANLIB}" \
42605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42606 pdf) \
42607 || exit 1
42609 @endif target-boehm-gc
42611 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42612 maybe-html-target-boehm-gc:
42613 @if target-boehm-gc
42614 maybe-html-target-boehm-gc: html-target-boehm-gc
42616 html-target-boehm-gc: \
42617 configure-target-boehm-gc
42618 @: $(MAKE); $(unstage)
42619 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42620 r=`${PWD_COMMAND}`; export r; \
42621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42622 $(NORMAL_TARGET_EXPORTS) \
42623 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42624 for flag in $(EXTRA_TARGET_FLAGS); do \
42625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42626 done; \
42627 (cd $(TARGET_SUBDIR)/boehm-gc && \
42628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42630 "RANLIB=$${RANLIB}" \
42631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42632 html) \
42633 || exit 1
42635 @endif target-boehm-gc
42637 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42638 maybe-TAGS-target-boehm-gc:
42639 @if target-boehm-gc
42640 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42642 TAGS-target-boehm-gc: \
42643 configure-target-boehm-gc
42644 @: $(MAKE); $(unstage)
42645 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42646 r=`${PWD_COMMAND}`; export r; \
42647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42648 $(NORMAL_TARGET_EXPORTS) \
42649 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42650 for flag in $(EXTRA_TARGET_FLAGS); do \
42651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42652 done; \
42653 (cd $(TARGET_SUBDIR)/boehm-gc && \
42654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42656 "RANLIB=$${RANLIB}" \
42657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42658 TAGS) \
42659 || exit 1
42661 @endif target-boehm-gc
42663 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42664 maybe-install-info-target-boehm-gc:
42665 @if target-boehm-gc
42666 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42668 install-info-target-boehm-gc: \
42669 configure-target-boehm-gc \
42670 info-target-boehm-gc
42671 @: $(MAKE); $(unstage)
42672 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42673 r=`${PWD_COMMAND}`; export r; \
42674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42675 $(NORMAL_TARGET_EXPORTS) \
42676 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42677 for flag in $(EXTRA_TARGET_FLAGS); do \
42678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42679 done; \
42680 (cd $(TARGET_SUBDIR)/boehm-gc && \
42681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42683 "RANLIB=$${RANLIB}" \
42684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42685 install-info) \
42686 || exit 1
42688 @endif target-boehm-gc
42690 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
42691 maybe-install-pdf-target-boehm-gc:
42692 @if target-boehm-gc
42693 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
42695 install-pdf-target-boehm-gc: \
42696 configure-target-boehm-gc \
42697 pdf-target-boehm-gc
42698 @: $(MAKE); $(unstage)
42699 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42700 r=`${PWD_COMMAND}`; export r; \
42701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42702 $(NORMAL_TARGET_EXPORTS) \
42703 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42704 for flag in $(EXTRA_TARGET_FLAGS); do \
42705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42706 done; \
42707 (cd $(TARGET_SUBDIR)/boehm-gc && \
42708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42710 "RANLIB=$${RANLIB}" \
42711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42712 install-pdf) \
42713 || exit 1
42715 @endif target-boehm-gc
42717 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42718 maybe-install-html-target-boehm-gc:
42719 @if target-boehm-gc
42720 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42722 install-html-target-boehm-gc: \
42723 configure-target-boehm-gc \
42724 html-target-boehm-gc
42725 @: $(MAKE); $(unstage)
42726 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42727 r=`${PWD_COMMAND}`; export r; \
42728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42729 $(NORMAL_TARGET_EXPORTS) \
42730 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42731 for flag in $(EXTRA_TARGET_FLAGS); do \
42732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42733 done; \
42734 (cd $(TARGET_SUBDIR)/boehm-gc && \
42735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42737 "RANLIB=$${RANLIB}" \
42738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42739 install-html) \
42740 || exit 1
42742 @endif target-boehm-gc
42744 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42745 maybe-installcheck-target-boehm-gc:
42746 @if target-boehm-gc
42747 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42749 installcheck-target-boehm-gc: \
42750 configure-target-boehm-gc
42751 @: $(MAKE); $(unstage)
42752 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42753 r=`${PWD_COMMAND}`; export r; \
42754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42755 $(NORMAL_TARGET_EXPORTS) \
42756 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42757 for flag in $(EXTRA_TARGET_FLAGS); do \
42758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42759 done; \
42760 (cd $(TARGET_SUBDIR)/boehm-gc && \
42761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42763 "RANLIB=$${RANLIB}" \
42764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42765 installcheck) \
42766 || exit 1
42768 @endif target-boehm-gc
42770 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42771 maybe-mostlyclean-target-boehm-gc:
42772 @if target-boehm-gc
42773 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42775 mostlyclean-target-boehm-gc:
42776 @: $(MAKE); $(unstage)
42777 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42778 r=`${PWD_COMMAND}`; export r; \
42779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42780 $(NORMAL_TARGET_EXPORTS) \
42781 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42782 for flag in $(EXTRA_TARGET_FLAGS); do \
42783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42784 done; \
42785 (cd $(TARGET_SUBDIR)/boehm-gc && \
42786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42788 "RANLIB=$${RANLIB}" \
42789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42790 mostlyclean) \
42791 || exit 1
42793 @endif target-boehm-gc
42795 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42796 maybe-clean-target-boehm-gc:
42797 @if target-boehm-gc
42798 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42800 clean-target-boehm-gc:
42801 @: $(MAKE); $(unstage)
42802 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42803 r=`${PWD_COMMAND}`; export r; \
42804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42805 $(NORMAL_TARGET_EXPORTS) \
42806 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42807 for flag in $(EXTRA_TARGET_FLAGS); do \
42808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42809 done; \
42810 (cd $(TARGET_SUBDIR)/boehm-gc && \
42811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42813 "RANLIB=$${RANLIB}" \
42814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42815 clean) \
42816 || exit 1
42818 @endif target-boehm-gc
42820 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42821 maybe-distclean-target-boehm-gc:
42822 @if target-boehm-gc
42823 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42825 distclean-target-boehm-gc:
42826 @: $(MAKE); $(unstage)
42827 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42828 r=`${PWD_COMMAND}`; export r; \
42829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42830 $(NORMAL_TARGET_EXPORTS) \
42831 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42832 for flag in $(EXTRA_TARGET_FLAGS); do \
42833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42834 done; \
42835 (cd $(TARGET_SUBDIR)/boehm-gc && \
42836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42838 "RANLIB=$${RANLIB}" \
42839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42840 distclean) \
42841 || exit 1
42843 @endif target-boehm-gc
42845 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42846 maybe-maintainer-clean-target-boehm-gc:
42847 @if target-boehm-gc
42848 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42850 maintainer-clean-target-boehm-gc:
42851 @: $(MAKE); $(unstage)
42852 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42853 r=`${PWD_COMMAND}`; export r; \
42854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42855 $(NORMAL_TARGET_EXPORTS) \
42856 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42857 for flag in $(EXTRA_TARGET_FLAGS); do \
42858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42859 done; \
42860 (cd $(TARGET_SUBDIR)/boehm-gc && \
42861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42863 "RANLIB=$${RANLIB}" \
42864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42865 maintainer-clean) \
42866 || exit 1
42868 @endif target-boehm-gc
42874 .PHONY: configure-target-rda maybe-configure-target-rda
42875 maybe-configure-target-rda:
42876 @if gcc-bootstrap
42877 configure-target-rda: stage_current
42878 @endif gcc-bootstrap
42879 @if target-rda
42880 maybe-configure-target-rda: configure-target-rda
42881 configure-target-rda:
42882 @: $(MAKE); $(unstage)
42883 @r=`${PWD_COMMAND}`; export r; \
42884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42885 echo "Checking multilib configuration for rda..."; \
42886 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42887 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
42888 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
42889 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
42890 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
42891 else \
42892 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
42893 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42894 fi; \
42895 else \
42896 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42897 fi; \
42898 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
42899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42900 $(NORMAL_TARGET_EXPORTS) \
42901 echo Configuring in $(TARGET_SUBDIR)/rda; \
42902 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
42903 case $(srcdir) in \
42904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42905 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
42906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42907 esac; \
42908 module_srcdir=rda; \
42909 rm -f no-such-file || : ; \
42910 CONFIG_SITE=no-such-file $(SHELL) \
42911 $$s/$$module_srcdir/configure \
42912 --srcdir=$${topdir}/$$module_srcdir \
42913 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42914 --target=${target_alias} \
42915 || exit 1
42916 @endif target-rda
42922 .PHONY: all-target-rda maybe-all-target-rda
42923 maybe-all-target-rda:
42924 @if gcc-bootstrap
42925 all-target-rda: stage_current
42926 @endif gcc-bootstrap
42927 @if target-rda
42928 TARGET-target-rda=all
42929 maybe-all-target-rda: all-target-rda
42930 all-target-rda: configure-target-rda
42931 @: $(MAKE); $(unstage)
42932 @r=`${PWD_COMMAND}`; export r; \
42933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42934 $(NORMAL_TARGET_EXPORTS) \
42935 (cd $(TARGET_SUBDIR)/rda && \
42936 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42937 $(TARGET-target-rda))
42938 @endif target-rda
42944 .PHONY: check-target-rda maybe-check-target-rda
42945 maybe-check-target-rda:
42946 @if target-rda
42947 maybe-check-target-rda: check-target-rda
42949 check-target-rda:
42950 @: $(MAKE); $(unstage)
42951 @r=`${PWD_COMMAND}`; export r; \
42952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42953 $(NORMAL_TARGET_EXPORTS) \
42954 (cd $(TARGET_SUBDIR)/rda && \
42955 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42957 @endif target-rda
42959 .PHONY: install-target-rda maybe-install-target-rda
42960 maybe-install-target-rda:
42961 @if target-rda
42962 maybe-install-target-rda: install-target-rda
42964 install-target-rda: installdirs
42965 @: $(MAKE); $(unstage)
42966 @r=`${PWD_COMMAND}`; export r; \
42967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42968 $(NORMAL_TARGET_EXPORTS) \
42969 (cd $(TARGET_SUBDIR)/rda && \
42970 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42972 @endif target-rda
42974 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
42975 maybe-install-strip-target-rda:
42976 @if target-rda
42977 maybe-install-strip-target-rda: install-strip-target-rda
42979 install-strip-target-rda: installdirs
42980 @: $(MAKE); $(unstage)
42981 @r=`${PWD_COMMAND}`; export r; \
42982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42983 $(NORMAL_TARGET_EXPORTS) \
42984 (cd $(TARGET_SUBDIR)/rda && \
42985 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42987 @endif target-rda
42989 # Other targets (info, dvi, pdf, etc.)
42991 .PHONY: maybe-info-target-rda info-target-rda
42992 maybe-info-target-rda:
42993 @if target-rda
42994 maybe-info-target-rda: info-target-rda
42996 info-target-rda: \
42997 configure-target-rda
42998 @: $(MAKE); $(unstage)
42999 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43000 r=`${PWD_COMMAND}`; export r; \
43001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43002 $(NORMAL_TARGET_EXPORTS) \
43003 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43004 for flag in $(EXTRA_TARGET_FLAGS); do \
43005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43006 done; \
43007 (cd $(TARGET_SUBDIR)/rda && \
43008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43010 "RANLIB=$${RANLIB}" \
43011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43012 info) \
43013 || exit 1
43015 @endif target-rda
43017 .PHONY: maybe-dvi-target-rda dvi-target-rda
43018 maybe-dvi-target-rda:
43019 @if target-rda
43020 maybe-dvi-target-rda: dvi-target-rda
43022 dvi-target-rda: \
43023 configure-target-rda
43024 @: $(MAKE); $(unstage)
43025 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43026 r=`${PWD_COMMAND}`; export r; \
43027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43028 $(NORMAL_TARGET_EXPORTS) \
43029 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43030 for flag in $(EXTRA_TARGET_FLAGS); do \
43031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43032 done; \
43033 (cd $(TARGET_SUBDIR)/rda && \
43034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43036 "RANLIB=$${RANLIB}" \
43037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43038 dvi) \
43039 || exit 1
43041 @endif target-rda
43043 .PHONY: maybe-pdf-target-rda pdf-target-rda
43044 maybe-pdf-target-rda:
43045 @if target-rda
43046 maybe-pdf-target-rda: pdf-target-rda
43048 pdf-target-rda: \
43049 configure-target-rda
43050 @: $(MAKE); $(unstage)
43051 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43052 r=`${PWD_COMMAND}`; export r; \
43053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43054 $(NORMAL_TARGET_EXPORTS) \
43055 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43056 for flag in $(EXTRA_TARGET_FLAGS); do \
43057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43058 done; \
43059 (cd $(TARGET_SUBDIR)/rda && \
43060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43062 "RANLIB=$${RANLIB}" \
43063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43064 pdf) \
43065 || exit 1
43067 @endif target-rda
43069 .PHONY: maybe-html-target-rda html-target-rda
43070 maybe-html-target-rda:
43071 @if target-rda
43072 maybe-html-target-rda: html-target-rda
43074 html-target-rda: \
43075 configure-target-rda
43076 @: $(MAKE); $(unstage)
43077 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43078 r=`${PWD_COMMAND}`; export r; \
43079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43080 $(NORMAL_TARGET_EXPORTS) \
43081 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43082 for flag in $(EXTRA_TARGET_FLAGS); do \
43083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43084 done; \
43085 (cd $(TARGET_SUBDIR)/rda && \
43086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43088 "RANLIB=$${RANLIB}" \
43089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43090 html) \
43091 || exit 1
43093 @endif target-rda
43095 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43096 maybe-TAGS-target-rda:
43097 @if target-rda
43098 maybe-TAGS-target-rda: TAGS-target-rda
43100 TAGS-target-rda: \
43101 configure-target-rda
43102 @: $(MAKE); $(unstage)
43103 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43104 r=`${PWD_COMMAND}`; export r; \
43105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43106 $(NORMAL_TARGET_EXPORTS) \
43107 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43108 for flag in $(EXTRA_TARGET_FLAGS); do \
43109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43110 done; \
43111 (cd $(TARGET_SUBDIR)/rda && \
43112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43114 "RANLIB=$${RANLIB}" \
43115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43116 TAGS) \
43117 || exit 1
43119 @endif target-rda
43121 .PHONY: maybe-install-info-target-rda install-info-target-rda
43122 maybe-install-info-target-rda:
43123 @if target-rda
43124 maybe-install-info-target-rda: install-info-target-rda
43126 install-info-target-rda: \
43127 configure-target-rda \
43128 info-target-rda
43129 @: $(MAKE); $(unstage)
43130 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43131 r=`${PWD_COMMAND}`; export r; \
43132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43133 $(NORMAL_TARGET_EXPORTS) \
43134 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43135 for flag in $(EXTRA_TARGET_FLAGS); do \
43136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43137 done; \
43138 (cd $(TARGET_SUBDIR)/rda && \
43139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43141 "RANLIB=$${RANLIB}" \
43142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43143 install-info) \
43144 || exit 1
43146 @endif target-rda
43148 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43149 maybe-install-pdf-target-rda:
43150 @if target-rda
43151 maybe-install-pdf-target-rda: install-pdf-target-rda
43153 install-pdf-target-rda: \
43154 configure-target-rda \
43155 pdf-target-rda
43156 @: $(MAKE); $(unstage)
43157 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43158 r=`${PWD_COMMAND}`; export r; \
43159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43160 $(NORMAL_TARGET_EXPORTS) \
43161 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43162 for flag in $(EXTRA_TARGET_FLAGS); do \
43163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43164 done; \
43165 (cd $(TARGET_SUBDIR)/rda && \
43166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43168 "RANLIB=$${RANLIB}" \
43169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43170 install-pdf) \
43171 || exit 1
43173 @endif target-rda
43175 .PHONY: maybe-install-html-target-rda install-html-target-rda
43176 maybe-install-html-target-rda:
43177 @if target-rda
43178 maybe-install-html-target-rda: install-html-target-rda
43180 install-html-target-rda: \
43181 configure-target-rda \
43182 html-target-rda
43183 @: $(MAKE); $(unstage)
43184 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43185 r=`${PWD_COMMAND}`; export r; \
43186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43187 $(NORMAL_TARGET_EXPORTS) \
43188 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43189 for flag in $(EXTRA_TARGET_FLAGS); do \
43190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43191 done; \
43192 (cd $(TARGET_SUBDIR)/rda && \
43193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43195 "RANLIB=$${RANLIB}" \
43196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43197 install-html) \
43198 || exit 1
43200 @endif target-rda
43202 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43203 maybe-installcheck-target-rda:
43204 @if target-rda
43205 maybe-installcheck-target-rda: installcheck-target-rda
43207 installcheck-target-rda: \
43208 configure-target-rda
43209 @: $(MAKE); $(unstage)
43210 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43211 r=`${PWD_COMMAND}`; export r; \
43212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43213 $(NORMAL_TARGET_EXPORTS) \
43214 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43215 for flag in $(EXTRA_TARGET_FLAGS); do \
43216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43217 done; \
43218 (cd $(TARGET_SUBDIR)/rda && \
43219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43221 "RANLIB=$${RANLIB}" \
43222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43223 installcheck) \
43224 || exit 1
43226 @endif target-rda
43228 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43229 maybe-mostlyclean-target-rda:
43230 @if target-rda
43231 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43233 mostlyclean-target-rda:
43234 @: $(MAKE); $(unstage)
43235 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43236 r=`${PWD_COMMAND}`; export r; \
43237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43238 $(NORMAL_TARGET_EXPORTS) \
43239 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43240 for flag in $(EXTRA_TARGET_FLAGS); do \
43241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43242 done; \
43243 (cd $(TARGET_SUBDIR)/rda && \
43244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43246 "RANLIB=$${RANLIB}" \
43247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43248 mostlyclean) \
43249 || exit 1
43251 @endif target-rda
43253 .PHONY: maybe-clean-target-rda clean-target-rda
43254 maybe-clean-target-rda:
43255 @if target-rda
43256 maybe-clean-target-rda: clean-target-rda
43258 clean-target-rda:
43259 @: $(MAKE); $(unstage)
43260 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43261 r=`${PWD_COMMAND}`; export r; \
43262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43263 $(NORMAL_TARGET_EXPORTS) \
43264 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43265 for flag in $(EXTRA_TARGET_FLAGS); do \
43266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43267 done; \
43268 (cd $(TARGET_SUBDIR)/rda && \
43269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43271 "RANLIB=$${RANLIB}" \
43272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43273 clean) \
43274 || exit 1
43276 @endif target-rda
43278 .PHONY: maybe-distclean-target-rda distclean-target-rda
43279 maybe-distclean-target-rda:
43280 @if target-rda
43281 maybe-distclean-target-rda: distclean-target-rda
43283 distclean-target-rda:
43284 @: $(MAKE); $(unstage)
43285 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43286 r=`${PWD_COMMAND}`; export r; \
43287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43288 $(NORMAL_TARGET_EXPORTS) \
43289 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43290 for flag in $(EXTRA_TARGET_FLAGS); do \
43291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43292 done; \
43293 (cd $(TARGET_SUBDIR)/rda && \
43294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43296 "RANLIB=$${RANLIB}" \
43297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43298 distclean) \
43299 || exit 1
43301 @endif target-rda
43303 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43304 maybe-maintainer-clean-target-rda:
43305 @if target-rda
43306 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43308 maintainer-clean-target-rda:
43309 @: $(MAKE); $(unstage)
43310 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43311 r=`${PWD_COMMAND}`; export r; \
43312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43313 $(NORMAL_TARGET_EXPORTS) \
43314 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43315 for flag in $(EXTRA_TARGET_FLAGS); do \
43316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43317 done; \
43318 (cd $(TARGET_SUBDIR)/rda && \
43319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43321 "RANLIB=$${RANLIB}" \
43322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43323 maintainer-clean) \
43324 || exit 1
43326 @endif target-rda
43332 .PHONY: configure-target-libada maybe-configure-target-libada
43333 maybe-configure-target-libada:
43334 @if gcc-bootstrap
43335 configure-target-libada: stage_current
43336 @endif gcc-bootstrap
43337 @if target-libada
43338 maybe-configure-target-libada: configure-target-libada
43339 configure-target-libada:
43340 @: $(MAKE); $(unstage)
43341 @r=`${PWD_COMMAND}`; export r; \
43342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43343 echo "Checking multilib configuration for libada..."; \
43344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43345 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43346 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43347 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43348 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43349 else \
43350 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43351 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43352 fi; \
43353 else \
43354 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43355 fi; \
43356 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43357 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43358 $(NORMAL_TARGET_EXPORTS) \
43359 echo Configuring in $(TARGET_SUBDIR)/libada; \
43360 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43361 case $(srcdir) in \
43362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43363 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43365 esac; \
43366 module_srcdir=libada; \
43367 rm -f no-such-file || : ; \
43368 CONFIG_SITE=no-such-file $(SHELL) \
43369 $$s/$$module_srcdir/configure \
43370 --srcdir=$${topdir}/$$module_srcdir \
43371 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43372 --target=${target_alias} \
43373 || exit 1
43374 @endif target-libada
43380 .PHONY: all-target-libada maybe-all-target-libada
43381 maybe-all-target-libada:
43382 @if gcc-bootstrap
43383 all-target-libada: stage_current
43384 @endif gcc-bootstrap
43385 @if target-libada
43386 TARGET-target-libada=all
43387 maybe-all-target-libada: all-target-libada
43388 all-target-libada: configure-target-libada
43389 @: $(MAKE); $(unstage)
43390 @r=`${PWD_COMMAND}`; export r; \
43391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43392 $(NORMAL_TARGET_EXPORTS) \
43393 (cd $(TARGET_SUBDIR)/libada && \
43394 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43395 $(TARGET-target-libada))
43396 @endif target-libada
43402 .PHONY: check-target-libada maybe-check-target-libada
43403 maybe-check-target-libada:
43404 @if target-libada
43405 maybe-check-target-libada: check-target-libada
43407 check-target-libada:
43408 @: $(MAKE); $(unstage)
43409 @r=`${PWD_COMMAND}`; export r; \
43410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43411 $(NORMAL_TARGET_EXPORTS) \
43412 (cd $(TARGET_SUBDIR)/libada && \
43413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43415 @endif target-libada
43417 .PHONY: install-target-libada maybe-install-target-libada
43418 maybe-install-target-libada:
43419 @if target-libada
43420 maybe-install-target-libada: install-target-libada
43422 install-target-libada: installdirs
43423 @: $(MAKE); $(unstage)
43424 @r=`${PWD_COMMAND}`; export r; \
43425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43426 $(NORMAL_TARGET_EXPORTS) \
43427 (cd $(TARGET_SUBDIR)/libada && \
43428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43430 @endif target-libada
43432 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
43433 maybe-install-strip-target-libada:
43434 @if target-libada
43435 maybe-install-strip-target-libada: install-strip-target-libada
43437 install-strip-target-libada: installdirs
43438 @: $(MAKE); $(unstage)
43439 @r=`${PWD_COMMAND}`; export r; \
43440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43441 $(NORMAL_TARGET_EXPORTS) \
43442 (cd $(TARGET_SUBDIR)/libada && \
43443 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43445 @endif target-libada
43447 # Other targets (info, dvi, pdf, etc.)
43449 .PHONY: maybe-info-target-libada info-target-libada
43450 maybe-info-target-libada:
43451 @if target-libada
43452 maybe-info-target-libada: info-target-libada
43454 info-target-libada: \
43455 configure-target-libada
43456 @: $(MAKE); $(unstage)
43457 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43458 r=`${PWD_COMMAND}`; export r; \
43459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43460 $(NORMAL_TARGET_EXPORTS) \
43461 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43462 for flag in $(EXTRA_TARGET_FLAGS); do \
43463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43464 done; \
43465 (cd $(TARGET_SUBDIR)/libada && \
43466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43468 "RANLIB=$${RANLIB}" \
43469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43470 info) \
43471 || exit 1
43473 @endif target-libada
43475 .PHONY: maybe-dvi-target-libada dvi-target-libada
43476 maybe-dvi-target-libada:
43477 @if target-libada
43478 maybe-dvi-target-libada: dvi-target-libada
43480 dvi-target-libada: \
43481 configure-target-libada
43482 @: $(MAKE); $(unstage)
43483 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43484 r=`${PWD_COMMAND}`; export r; \
43485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43486 $(NORMAL_TARGET_EXPORTS) \
43487 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43488 for flag in $(EXTRA_TARGET_FLAGS); do \
43489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43490 done; \
43491 (cd $(TARGET_SUBDIR)/libada && \
43492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43494 "RANLIB=$${RANLIB}" \
43495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43496 dvi) \
43497 || exit 1
43499 @endif target-libada
43501 .PHONY: maybe-pdf-target-libada pdf-target-libada
43502 maybe-pdf-target-libada:
43503 @if target-libada
43504 maybe-pdf-target-libada: pdf-target-libada
43506 pdf-target-libada: \
43507 configure-target-libada
43508 @: $(MAKE); $(unstage)
43509 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43510 r=`${PWD_COMMAND}`; export r; \
43511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43512 $(NORMAL_TARGET_EXPORTS) \
43513 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43514 for flag in $(EXTRA_TARGET_FLAGS); do \
43515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43516 done; \
43517 (cd $(TARGET_SUBDIR)/libada && \
43518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43520 "RANLIB=$${RANLIB}" \
43521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43522 pdf) \
43523 || exit 1
43525 @endif target-libada
43527 .PHONY: maybe-html-target-libada html-target-libada
43528 maybe-html-target-libada:
43529 @if target-libada
43530 maybe-html-target-libada: html-target-libada
43532 html-target-libada: \
43533 configure-target-libada
43534 @: $(MAKE); $(unstage)
43535 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43536 r=`${PWD_COMMAND}`; export r; \
43537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43538 $(NORMAL_TARGET_EXPORTS) \
43539 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43540 for flag in $(EXTRA_TARGET_FLAGS); do \
43541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43542 done; \
43543 (cd $(TARGET_SUBDIR)/libada && \
43544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43546 "RANLIB=$${RANLIB}" \
43547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43548 html) \
43549 || exit 1
43551 @endif target-libada
43553 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43554 maybe-TAGS-target-libada:
43555 @if target-libada
43556 maybe-TAGS-target-libada: TAGS-target-libada
43558 TAGS-target-libada: \
43559 configure-target-libada
43560 @: $(MAKE); $(unstage)
43561 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43562 r=`${PWD_COMMAND}`; export r; \
43563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43564 $(NORMAL_TARGET_EXPORTS) \
43565 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43566 for flag in $(EXTRA_TARGET_FLAGS); do \
43567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43568 done; \
43569 (cd $(TARGET_SUBDIR)/libada && \
43570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43572 "RANLIB=$${RANLIB}" \
43573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43574 TAGS) \
43575 || exit 1
43577 @endif target-libada
43579 .PHONY: maybe-install-info-target-libada install-info-target-libada
43580 maybe-install-info-target-libada:
43581 @if target-libada
43582 maybe-install-info-target-libada: install-info-target-libada
43584 install-info-target-libada: \
43585 configure-target-libada \
43586 info-target-libada
43587 @: $(MAKE); $(unstage)
43588 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43589 r=`${PWD_COMMAND}`; export r; \
43590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43591 $(NORMAL_TARGET_EXPORTS) \
43592 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43593 for flag in $(EXTRA_TARGET_FLAGS); do \
43594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43595 done; \
43596 (cd $(TARGET_SUBDIR)/libada && \
43597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43599 "RANLIB=$${RANLIB}" \
43600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43601 install-info) \
43602 || exit 1
43604 @endif target-libada
43606 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
43607 maybe-install-pdf-target-libada:
43608 @if target-libada
43609 maybe-install-pdf-target-libada: install-pdf-target-libada
43611 install-pdf-target-libada: \
43612 configure-target-libada \
43613 pdf-target-libada
43614 @: $(MAKE); $(unstage)
43615 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43616 r=`${PWD_COMMAND}`; export r; \
43617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43618 $(NORMAL_TARGET_EXPORTS) \
43619 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
43620 for flag in $(EXTRA_TARGET_FLAGS); do \
43621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43622 done; \
43623 (cd $(TARGET_SUBDIR)/libada && \
43624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43626 "RANLIB=$${RANLIB}" \
43627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43628 install-pdf) \
43629 || exit 1
43631 @endif target-libada
43633 .PHONY: maybe-install-html-target-libada install-html-target-libada
43634 maybe-install-html-target-libada:
43635 @if target-libada
43636 maybe-install-html-target-libada: install-html-target-libada
43638 install-html-target-libada: \
43639 configure-target-libada \
43640 html-target-libada
43641 @: $(MAKE); $(unstage)
43642 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43643 r=`${PWD_COMMAND}`; export r; \
43644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43645 $(NORMAL_TARGET_EXPORTS) \
43646 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43647 for flag in $(EXTRA_TARGET_FLAGS); do \
43648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43649 done; \
43650 (cd $(TARGET_SUBDIR)/libada && \
43651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43653 "RANLIB=$${RANLIB}" \
43654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43655 install-html) \
43656 || exit 1
43658 @endif target-libada
43660 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43661 maybe-installcheck-target-libada:
43662 @if target-libada
43663 maybe-installcheck-target-libada: installcheck-target-libada
43665 installcheck-target-libada: \
43666 configure-target-libada
43667 @: $(MAKE); $(unstage)
43668 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43669 r=`${PWD_COMMAND}`; export r; \
43670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43671 $(NORMAL_TARGET_EXPORTS) \
43672 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43673 for flag in $(EXTRA_TARGET_FLAGS); do \
43674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43675 done; \
43676 (cd $(TARGET_SUBDIR)/libada && \
43677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43679 "RANLIB=$${RANLIB}" \
43680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43681 installcheck) \
43682 || exit 1
43684 @endif target-libada
43686 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43687 maybe-mostlyclean-target-libada:
43688 @if target-libada
43689 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43691 mostlyclean-target-libada:
43692 @: $(MAKE); $(unstage)
43693 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43694 r=`${PWD_COMMAND}`; export r; \
43695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43696 $(NORMAL_TARGET_EXPORTS) \
43697 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43698 for flag in $(EXTRA_TARGET_FLAGS); do \
43699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43700 done; \
43701 (cd $(TARGET_SUBDIR)/libada && \
43702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43704 "RANLIB=$${RANLIB}" \
43705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43706 mostlyclean) \
43707 || exit 1
43709 @endif target-libada
43711 .PHONY: maybe-clean-target-libada clean-target-libada
43712 maybe-clean-target-libada:
43713 @if target-libada
43714 maybe-clean-target-libada: clean-target-libada
43716 clean-target-libada:
43717 @: $(MAKE); $(unstage)
43718 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43719 r=`${PWD_COMMAND}`; export r; \
43720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43721 $(NORMAL_TARGET_EXPORTS) \
43722 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43723 for flag in $(EXTRA_TARGET_FLAGS); do \
43724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43725 done; \
43726 (cd $(TARGET_SUBDIR)/libada && \
43727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43729 "RANLIB=$${RANLIB}" \
43730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43731 clean) \
43732 || exit 1
43734 @endif target-libada
43736 .PHONY: maybe-distclean-target-libada distclean-target-libada
43737 maybe-distclean-target-libada:
43738 @if target-libada
43739 maybe-distclean-target-libada: distclean-target-libada
43741 distclean-target-libada:
43742 @: $(MAKE); $(unstage)
43743 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43744 r=`${PWD_COMMAND}`; export r; \
43745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43746 $(NORMAL_TARGET_EXPORTS) \
43747 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43748 for flag in $(EXTRA_TARGET_FLAGS); do \
43749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43750 done; \
43751 (cd $(TARGET_SUBDIR)/libada && \
43752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43754 "RANLIB=$${RANLIB}" \
43755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43756 distclean) \
43757 || exit 1
43759 @endif target-libada
43761 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43762 maybe-maintainer-clean-target-libada:
43763 @if target-libada
43764 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43766 maintainer-clean-target-libada:
43767 @: $(MAKE); $(unstage)
43768 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43769 r=`${PWD_COMMAND}`; export r; \
43770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43771 $(NORMAL_TARGET_EXPORTS) \
43772 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43773 for flag in $(EXTRA_TARGET_FLAGS); do \
43774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43775 done; \
43776 (cd $(TARGET_SUBDIR)/libada && \
43777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43779 "RANLIB=$${RANLIB}" \
43780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43781 maintainer-clean) \
43782 || exit 1
43784 @endif target-libada
43790 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43791 maybe-configure-target-libgomp:
43792 @if gcc-bootstrap
43793 configure-target-libgomp: stage_current
43794 @endif gcc-bootstrap
43795 @if target-libgomp
43796 maybe-configure-target-libgomp: configure-target-libgomp
43797 configure-target-libgomp:
43798 @r=`${PWD_COMMAND}`; export r; \
43799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43800 echo "Checking multilib configuration for libgomp..."; \
43801 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43802 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43803 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43804 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43805 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43806 else \
43807 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43808 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43809 fi; \
43810 else \
43811 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43812 fi; \
43813 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43814 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43815 $(NORMAL_TARGET_EXPORTS) \
43816 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43817 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43818 case $(srcdir) in \
43819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43820 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43822 esac; \
43823 module_srcdir=libgomp; \
43824 rm -f no-such-file || : ; \
43825 CONFIG_SITE=no-such-file $(SHELL) \
43826 $$s/$$module_srcdir/configure \
43827 --srcdir=$${topdir}/$$module_srcdir \
43828 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43829 --target=${target_alias} \
43830 || exit 1
43831 @endif target-libgomp
43835 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
43836 maybe-configure-stage1-target-libgomp:
43837 @if target-libgomp-bootstrap
43838 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
43839 configure-stage1-target-libgomp:
43840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43841 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43842 @r=`${PWD_COMMAND}`; export r; \
43843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43844 TFLAGS="$(STAGE1_TFLAGS)"; \
43845 echo "Checking multilib configuration for libgomp..."; \
43846 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43847 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43848 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43849 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43850 else \
43851 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43852 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43853 fi; \
43854 else \
43855 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43856 fi; \
43857 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43858 $(NORMAL_TARGET_EXPORTS) \
43859 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43860 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43861 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43862 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
43863 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43864 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43865 case $(srcdir) in \
43866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43867 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43869 esac; \
43870 module_srcdir=libgomp; \
43871 $(SHELL) $$s/$$module_srcdir/configure \
43872 --srcdir=$${topdir}/$$module_srcdir \
43873 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43874 --target=${target_alias} \
43876 $(STAGE1_CONFIGURE_FLAGS)
43877 @endif target-libgomp-bootstrap
43879 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
43880 maybe-configure-stage2-target-libgomp:
43881 @if target-libgomp-bootstrap
43882 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
43883 configure-stage2-target-libgomp:
43884 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43885 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43886 @r=`${PWD_COMMAND}`; export r; \
43887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43888 TFLAGS="$(STAGE2_TFLAGS)"; \
43889 echo "Checking multilib configuration for libgomp..."; \
43890 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43891 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43892 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43893 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43894 else \
43895 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43896 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43897 fi; \
43898 else \
43899 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43900 fi; \
43901 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43902 $(NORMAL_TARGET_EXPORTS) \
43904 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43905 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43906 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43907 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
43908 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43909 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43910 case $(srcdir) in \
43911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43912 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43914 esac; \
43915 module_srcdir=libgomp; \
43916 $(SHELL) $$s/$$module_srcdir/configure \
43917 --srcdir=$${topdir}/$$module_srcdir \
43918 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43919 --target=${target_alias} \
43920 --with-build-libsubdir=$(HOST_SUBDIR) \
43921 $(STAGE2_CONFIGURE_FLAGS)
43922 @endif target-libgomp-bootstrap
43924 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
43925 maybe-configure-stage3-target-libgomp:
43926 @if target-libgomp-bootstrap
43927 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
43928 configure-stage3-target-libgomp:
43929 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43930 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43931 @r=`${PWD_COMMAND}`; export r; \
43932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43933 TFLAGS="$(STAGE3_TFLAGS)"; \
43934 echo "Checking multilib configuration for libgomp..."; \
43935 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43936 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43937 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43938 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43939 else \
43940 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43941 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43942 fi; \
43943 else \
43944 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43945 fi; \
43946 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43947 $(NORMAL_TARGET_EXPORTS) \
43949 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43950 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43951 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43952 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
43953 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43954 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43955 case $(srcdir) in \
43956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43957 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43959 esac; \
43960 module_srcdir=libgomp; \
43961 $(SHELL) $$s/$$module_srcdir/configure \
43962 --srcdir=$${topdir}/$$module_srcdir \
43963 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43964 --target=${target_alias} \
43965 --with-build-libsubdir=$(HOST_SUBDIR) \
43966 $(STAGE3_CONFIGURE_FLAGS)
43967 @endif target-libgomp-bootstrap
43969 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
43970 maybe-configure-stage4-target-libgomp:
43971 @if target-libgomp-bootstrap
43972 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
43973 configure-stage4-target-libgomp:
43974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43975 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43976 @r=`${PWD_COMMAND}`; export r; \
43977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43978 TFLAGS="$(STAGE4_TFLAGS)"; \
43979 echo "Checking multilib configuration for libgomp..."; \
43980 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43981 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43982 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43983 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43984 else \
43985 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43986 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43987 fi; \
43988 else \
43989 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43990 fi; \
43991 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43992 $(NORMAL_TARGET_EXPORTS) \
43994 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43995 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43996 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43997 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
43998 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43999 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44000 case $(srcdir) in \
44001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44002 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44004 esac; \
44005 module_srcdir=libgomp; \
44006 $(SHELL) $$s/$$module_srcdir/configure \
44007 --srcdir=$${topdir}/$$module_srcdir \
44008 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44009 --target=${target_alias} \
44010 --with-build-libsubdir=$(HOST_SUBDIR) \
44011 $(STAGE4_CONFIGURE_FLAGS)
44012 @endif target-libgomp-bootstrap
44014 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
44015 maybe-configure-stageprofile-target-libgomp:
44016 @if target-libgomp-bootstrap
44017 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44018 configure-stageprofile-target-libgomp:
44019 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44020 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44021 @r=`${PWD_COMMAND}`; export r; \
44022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44023 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44024 echo "Checking multilib configuration for libgomp..."; \
44025 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44026 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44027 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44028 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44029 else \
44030 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44031 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44032 fi; \
44033 else \
44034 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44035 fi; \
44036 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44037 $(NORMAL_TARGET_EXPORTS) \
44039 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44040 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44041 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44042 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
44043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44044 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44045 case $(srcdir) in \
44046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44047 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44049 esac; \
44050 module_srcdir=libgomp; \
44051 $(SHELL) $$s/$$module_srcdir/configure \
44052 --srcdir=$${topdir}/$$module_srcdir \
44053 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44054 --target=${target_alias} \
44055 --with-build-libsubdir=$(HOST_SUBDIR) \
44056 $(STAGEprofile_CONFIGURE_FLAGS)
44057 @endif target-libgomp-bootstrap
44059 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
44060 maybe-configure-stagefeedback-target-libgomp:
44061 @if target-libgomp-bootstrap
44062 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44063 configure-stagefeedback-target-libgomp:
44064 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44065 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44066 @r=`${PWD_COMMAND}`; export r; \
44067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44068 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44069 echo "Checking multilib configuration for libgomp..."; \
44070 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44071 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44072 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44073 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44074 else \
44075 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44076 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44077 fi; \
44078 else \
44079 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44080 fi; \
44081 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44082 $(NORMAL_TARGET_EXPORTS) \
44084 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44085 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44086 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44087 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
44088 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44089 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44090 case $(srcdir) in \
44091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44092 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44094 esac; \
44095 module_srcdir=libgomp; \
44096 $(SHELL) $$s/$$module_srcdir/configure \
44097 --srcdir=$${topdir}/$$module_srcdir \
44098 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44099 --target=${target_alias} \
44100 --with-build-libsubdir=$(HOST_SUBDIR) \
44101 $(STAGEfeedback_CONFIGURE_FLAGS)
44102 @endif target-libgomp-bootstrap
44108 .PHONY: all-target-libgomp maybe-all-target-libgomp
44109 maybe-all-target-libgomp:
44110 @if gcc-bootstrap
44111 all-target-libgomp: stage_current
44112 @endif gcc-bootstrap
44113 @if target-libgomp
44114 TARGET-target-libgomp=all
44115 maybe-all-target-libgomp: all-target-libgomp
44116 all-target-libgomp: configure-target-libgomp
44117 @r=`${PWD_COMMAND}`; export r; \
44118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44119 $(NORMAL_TARGET_EXPORTS) \
44120 (cd $(TARGET_SUBDIR)/libgomp && \
44121 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44122 $(TARGET-target-libgomp))
44123 @endif target-libgomp
44127 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44128 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44129 maybe-all-stage1-target-libgomp:
44130 maybe-clean-stage1-target-libgomp:
44131 @if target-libgomp-bootstrap
44132 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44133 all-stage1: all-stage1-target-libgomp
44134 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44135 all-stage1-target-libgomp: configure-stage1-target-libgomp
44136 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44137 @r=`${PWD_COMMAND}`; export r; \
44138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44139 TFLAGS="$(STAGE1_TFLAGS)"; \
44140 $(NORMAL_TARGET_EXPORTS) \
44141 cd $(TARGET_SUBDIR)/libgomp && \
44142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44143 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44144 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44145 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44149 $(EXTRA_TARGET_FLAGS) \
44151 TFLAGS="$(STAGE1_TFLAGS)" \
44152 $(TARGET-stage1-target-libgomp)
44154 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44155 clean-stage1: clean-stage1-target-libgomp
44156 clean-stage1-target-libgomp:
44157 @if [ $(current_stage) = stage1 ]; then \
44158 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44159 else \
44160 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44161 $(MAKE) stage1-start; \
44162 fi; \
44163 cd $(TARGET_SUBDIR)/libgomp && \
44164 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44165 clean
44166 @endif target-libgomp-bootstrap
44169 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44170 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44171 maybe-all-stage2-target-libgomp:
44172 maybe-clean-stage2-target-libgomp:
44173 @if target-libgomp-bootstrap
44174 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44175 all-stage2: all-stage2-target-libgomp
44176 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44177 all-stage2-target-libgomp: configure-stage2-target-libgomp
44178 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44179 @r=`${PWD_COMMAND}`; export r; \
44180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44181 TFLAGS="$(STAGE2_TFLAGS)"; \
44182 $(NORMAL_TARGET_EXPORTS) \
44184 cd $(TARGET_SUBDIR)/libgomp && \
44185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44186 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44187 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44188 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44192 $(EXTRA_TARGET_FLAGS) \
44193 TFLAGS="$(STAGE2_TFLAGS)" \
44194 $(TARGET-stage2-target-libgomp)
44196 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44197 clean-stage2: clean-stage2-target-libgomp
44198 clean-stage2-target-libgomp:
44199 @if [ $(current_stage) = stage2 ]; then \
44200 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44201 else \
44202 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44203 $(MAKE) stage2-start; \
44204 fi; \
44205 cd $(TARGET_SUBDIR)/libgomp && \
44206 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44207 @endif target-libgomp-bootstrap
44210 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44211 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44212 maybe-all-stage3-target-libgomp:
44213 maybe-clean-stage3-target-libgomp:
44214 @if target-libgomp-bootstrap
44215 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44216 all-stage3: all-stage3-target-libgomp
44217 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44218 all-stage3-target-libgomp: configure-stage3-target-libgomp
44219 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44220 @r=`${PWD_COMMAND}`; export r; \
44221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44222 TFLAGS="$(STAGE3_TFLAGS)"; \
44223 $(NORMAL_TARGET_EXPORTS) \
44225 cd $(TARGET_SUBDIR)/libgomp && \
44226 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44227 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44228 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44229 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44230 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44231 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44232 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44233 $(EXTRA_TARGET_FLAGS) \
44234 TFLAGS="$(STAGE3_TFLAGS)" \
44235 $(TARGET-stage3-target-libgomp)
44237 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44238 clean-stage3: clean-stage3-target-libgomp
44239 clean-stage3-target-libgomp:
44240 @if [ $(current_stage) = stage3 ]; then \
44241 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44242 else \
44243 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44244 $(MAKE) stage3-start; \
44245 fi; \
44246 cd $(TARGET_SUBDIR)/libgomp && \
44247 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44248 @endif target-libgomp-bootstrap
44251 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44252 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44253 maybe-all-stage4-target-libgomp:
44254 maybe-clean-stage4-target-libgomp:
44255 @if target-libgomp-bootstrap
44256 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44257 all-stage4: all-stage4-target-libgomp
44258 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44259 all-stage4-target-libgomp: configure-stage4-target-libgomp
44260 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44261 @r=`${PWD_COMMAND}`; export r; \
44262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44263 TFLAGS="$(STAGE4_TFLAGS)"; \
44264 $(NORMAL_TARGET_EXPORTS) \
44266 cd $(TARGET_SUBDIR)/libgomp && \
44267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44268 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44269 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44270 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44274 $(EXTRA_TARGET_FLAGS) \
44275 TFLAGS="$(STAGE4_TFLAGS)" \
44276 $(TARGET-stage4-target-libgomp)
44278 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44279 clean-stage4: clean-stage4-target-libgomp
44280 clean-stage4-target-libgomp:
44281 @if [ $(current_stage) = stage4 ]; then \
44282 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44283 else \
44284 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44285 $(MAKE) stage4-start; \
44286 fi; \
44287 cd $(TARGET_SUBDIR)/libgomp && \
44288 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44289 @endif target-libgomp-bootstrap
44292 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44293 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44294 maybe-all-stageprofile-target-libgomp:
44295 maybe-clean-stageprofile-target-libgomp:
44296 @if target-libgomp-bootstrap
44297 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44298 all-stageprofile: all-stageprofile-target-libgomp
44299 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44300 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44301 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44302 @r=`${PWD_COMMAND}`; export r; \
44303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44304 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44305 $(NORMAL_TARGET_EXPORTS) \
44307 cd $(TARGET_SUBDIR)/libgomp && \
44308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44309 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44310 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44311 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44315 $(EXTRA_TARGET_FLAGS) \
44316 TFLAGS="$(STAGEprofile_TFLAGS)" \
44317 $(TARGET-stageprofile-target-libgomp)
44319 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44320 clean-stageprofile: clean-stageprofile-target-libgomp
44321 clean-stageprofile-target-libgomp:
44322 @if [ $(current_stage) = stageprofile ]; then \
44323 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44324 else \
44325 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44326 $(MAKE) stageprofile-start; \
44327 fi; \
44328 cd $(TARGET_SUBDIR)/libgomp && \
44329 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44330 @endif target-libgomp-bootstrap
44333 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44334 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44335 maybe-all-stagefeedback-target-libgomp:
44336 maybe-clean-stagefeedback-target-libgomp:
44337 @if target-libgomp-bootstrap
44338 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44339 all-stagefeedback: all-stagefeedback-target-libgomp
44340 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44341 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44342 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44343 @r=`${PWD_COMMAND}`; export r; \
44344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44345 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44346 $(NORMAL_TARGET_EXPORTS) \
44348 cd $(TARGET_SUBDIR)/libgomp && \
44349 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44350 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44351 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44352 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44353 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44354 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44355 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44356 $(EXTRA_TARGET_FLAGS) \
44357 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44358 $(TARGET-stagefeedback-target-libgomp)
44360 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44361 clean-stagefeedback: clean-stagefeedback-target-libgomp
44362 clean-stagefeedback-target-libgomp:
44363 @if [ $(current_stage) = stagefeedback ]; then \
44364 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44365 else \
44366 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44367 $(MAKE) stagefeedback-start; \
44368 fi; \
44369 cd $(TARGET_SUBDIR)/libgomp && \
44370 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44371 @endif target-libgomp-bootstrap
44378 .PHONY: check-target-libgomp maybe-check-target-libgomp
44379 maybe-check-target-libgomp:
44380 @if target-libgomp
44381 maybe-check-target-libgomp: check-target-libgomp
44383 check-target-libgomp:
44384 @: $(MAKE); $(unstage)
44385 @r=`${PWD_COMMAND}`; export r; \
44386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44387 $(NORMAL_TARGET_EXPORTS) \
44388 (cd $(TARGET_SUBDIR)/libgomp && \
44389 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44391 @endif target-libgomp
44393 .PHONY: install-target-libgomp maybe-install-target-libgomp
44394 maybe-install-target-libgomp:
44395 @if target-libgomp
44396 maybe-install-target-libgomp: install-target-libgomp
44398 install-target-libgomp: installdirs
44399 @: $(MAKE); $(unstage)
44400 @r=`${PWD_COMMAND}`; export r; \
44401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44402 $(NORMAL_TARGET_EXPORTS) \
44403 (cd $(TARGET_SUBDIR)/libgomp && \
44404 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44406 @endif target-libgomp
44408 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44409 maybe-install-strip-target-libgomp:
44410 @if target-libgomp
44411 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44413 install-strip-target-libgomp: installdirs
44414 @: $(MAKE); $(unstage)
44415 @r=`${PWD_COMMAND}`; export r; \
44416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44417 $(NORMAL_TARGET_EXPORTS) \
44418 (cd $(TARGET_SUBDIR)/libgomp && \
44419 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44421 @endif target-libgomp
44423 # Other targets (info, dvi, pdf, etc.)
44425 .PHONY: maybe-info-target-libgomp info-target-libgomp
44426 maybe-info-target-libgomp:
44427 @if target-libgomp
44428 maybe-info-target-libgomp: info-target-libgomp
44430 info-target-libgomp: \
44431 configure-target-libgomp
44432 @: $(MAKE); $(unstage)
44433 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44434 r=`${PWD_COMMAND}`; export r; \
44435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44436 $(NORMAL_TARGET_EXPORTS) \
44437 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44438 for flag in $(EXTRA_TARGET_FLAGS); do \
44439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44440 done; \
44441 (cd $(TARGET_SUBDIR)/libgomp && \
44442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44444 "RANLIB=$${RANLIB}" \
44445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44446 info) \
44447 || exit 1
44449 @endif target-libgomp
44451 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44452 maybe-dvi-target-libgomp:
44453 @if target-libgomp
44454 maybe-dvi-target-libgomp: dvi-target-libgomp
44456 dvi-target-libgomp: \
44457 configure-target-libgomp
44458 @: $(MAKE); $(unstage)
44459 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44460 r=`${PWD_COMMAND}`; export r; \
44461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44462 $(NORMAL_TARGET_EXPORTS) \
44463 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44464 for flag in $(EXTRA_TARGET_FLAGS); do \
44465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44466 done; \
44467 (cd $(TARGET_SUBDIR)/libgomp && \
44468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44470 "RANLIB=$${RANLIB}" \
44471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44472 dvi) \
44473 || exit 1
44475 @endif target-libgomp
44477 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44478 maybe-pdf-target-libgomp:
44479 @if target-libgomp
44480 maybe-pdf-target-libgomp: pdf-target-libgomp
44482 pdf-target-libgomp: \
44483 configure-target-libgomp
44484 @: $(MAKE); $(unstage)
44485 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44486 r=`${PWD_COMMAND}`; export r; \
44487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44488 $(NORMAL_TARGET_EXPORTS) \
44489 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44490 for flag in $(EXTRA_TARGET_FLAGS); do \
44491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44492 done; \
44493 (cd $(TARGET_SUBDIR)/libgomp && \
44494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44496 "RANLIB=$${RANLIB}" \
44497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44498 pdf) \
44499 || exit 1
44501 @endif target-libgomp
44503 .PHONY: maybe-html-target-libgomp html-target-libgomp
44504 maybe-html-target-libgomp:
44505 @if target-libgomp
44506 maybe-html-target-libgomp: html-target-libgomp
44508 html-target-libgomp: \
44509 configure-target-libgomp
44510 @: $(MAKE); $(unstage)
44511 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44512 r=`${PWD_COMMAND}`; export r; \
44513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44514 $(NORMAL_TARGET_EXPORTS) \
44515 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44516 for flag in $(EXTRA_TARGET_FLAGS); do \
44517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44518 done; \
44519 (cd $(TARGET_SUBDIR)/libgomp && \
44520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44522 "RANLIB=$${RANLIB}" \
44523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44524 html) \
44525 || exit 1
44527 @endif target-libgomp
44529 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44530 maybe-TAGS-target-libgomp:
44531 @if target-libgomp
44532 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44534 TAGS-target-libgomp: \
44535 configure-target-libgomp
44536 @: $(MAKE); $(unstage)
44537 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44538 r=`${PWD_COMMAND}`; export r; \
44539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44540 $(NORMAL_TARGET_EXPORTS) \
44541 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44542 for flag in $(EXTRA_TARGET_FLAGS); do \
44543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44544 done; \
44545 (cd $(TARGET_SUBDIR)/libgomp && \
44546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44548 "RANLIB=$${RANLIB}" \
44549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44550 TAGS) \
44551 || exit 1
44553 @endif target-libgomp
44555 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44556 maybe-install-info-target-libgomp:
44557 @if target-libgomp
44558 maybe-install-info-target-libgomp: install-info-target-libgomp
44560 install-info-target-libgomp: \
44561 configure-target-libgomp \
44562 info-target-libgomp
44563 @: $(MAKE); $(unstage)
44564 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44565 r=`${PWD_COMMAND}`; export r; \
44566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44567 $(NORMAL_TARGET_EXPORTS) \
44568 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44569 for flag in $(EXTRA_TARGET_FLAGS); do \
44570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44571 done; \
44572 (cd $(TARGET_SUBDIR)/libgomp && \
44573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44575 "RANLIB=$${RANLIB}" \
44576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44577 install-info) \
44578 || exit 1
44580 @endif target-libgomp
44582 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
44583 maybe-install-pdf-target-libgomp:
44584 @if target-libgomp
44585 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
44587 install-pdf-target-libgomp: \
44588 configure-target-libgomp \
44589 pdf-target-libgomp
44590 @: $(MAKE); $(unstage)
44591 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44592 r=`${PWD_COMMAND}`; export r; \
44593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44594 $(NORMAL_TARGET_EXPORTS) \
44595 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
44596 for flag in $(EXTRA_TARGET_FLAGS); do \
44597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44598 done; \
44599 (cd $(TARGET_SUBDIR)/libgomp && \
44600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44602 "RANLIB=$${RANLIB}" \
44603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44604 install-pdf) \
44605 || exit 1
44607 @endif target-libgomp
44609 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44610 maybe-install-html-target-libgomp:
44611 @if target-libgomp
44612 maybe-install-html-target-libgomp: install-html-target-libgomp
44614 install-html-target-libgomp: \
44615 configure-target-libgomp \
44616 html-target-libgomp
44617 @: $(MAKE); $(unstage)
44618 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44619 r=`${PWD_COMMAND}`; export r; \
44620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44621 $(NORMAL_TARGET_EXPORTS) \
44622 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44623 for flag in $(EXTRA_TARGET_FLAGS); do \
44624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44625 done; \
44626 (cd $(TARGET_SUBDIR)/libgomp && \
44627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44629 "RANLIB=$${RANLIB}" \
44630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44631 install-html) \
44632 || exit 1
44634 @endif target-libgomp
44636 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44637 maybe-installcheck-target-libgomp:
44638 @if target-libgomp
44639 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44641 installcheck-target-libgomp: \
44642 configure-target-libgomp
44643 @: $(MAKE); $(unstage)
44644 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44645 r=`${PWD_COMMAND}`; export r; \
44646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44647 $(NORMAL_TARGET_EXPORTS) \
44648 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44649 for flag in $(EXTRA_TARGET_FLAGS); do \
44650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44651 done; \
44652 (cd $(TARGET_SUBDIR)/libgomp && \
44653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44655 "RANLIB=$${RANLIB}" \
44656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44657 installcheck) \
44658 || exit 1
44660 @endif target-libgomp
44662 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44663 maybe-mostlyclean-target-libgomp:
44664 @if target-libgomp
44665 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44667 mostlyclean-target-libgomp:
44668 @: $(MAKE); $(unstage)
44669 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44670 r=`${PWD_COMMAND}`; export r; \
44671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44672 $(NORMAL_TARGET_EXPORTS) \
44673 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44674 for flag in $(EXTRA_TARGET_FLAGS); do \
44675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44676 done; \
44677 (cd $(TARGET_SUBDIR)/libgomp && \
44678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44680 "RANLIB=$${RANLIB}" \
44681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44682 mostlyclean) \
44683 || exit 1
44685 @endif target-libgomp
44687 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44688 maybe-clean-target-libgomp:
44689 @if target-libgomp
44690 maybe-clean-target-libgomp: clean-target-libgomp
44692 clean-target-libgomp:
44693 @: $(MAKE); $(unstage)
44694 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44695 r=`${PWD_COMMAND}`; export r; \
44696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44697 $(NORMAL_TARGET_EXPORTS) \
44698 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44699 for flag in $(EXTRA_TARGET_FLAGS); do \
44700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44701 done; \
44702 (cd $(TARGET_SUBDIR)/libgomp && \
44703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44705 "RANLIB=$${RANLIB}" \
44706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44707 clean) \
44708 || exit 1
44710 @endif target-libgomp
44712 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44713 maybe-distclean-target-libgomp:
44714 @if target-libgomp
44715 maybe-distclean-target-libgomp: distclean-target-libgomp
44717 distclean-target-libgomp:
44718 @: $(MAKE); $(unstage)
44719 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44720 r=`${PWD_COMMAND}`; export r; \
44721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44722 $(NORMAL_TARGET_EXPORTS) \
44723 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44724 for flag in $(EXTRA_TARGET_FLAGS); do \
44725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44726 done; \
44727 (cd $(TARGET_SUBDIR)/libgomp && \
44728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44730 "RANLIB=$${RANLIB}" \
44731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44732 distclean) \
44733 || exit 1
44735 @endif target-libgomp
44737 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44738 maybe-maintainer-clean-target-libgomp:
44739 @if target-libgomp
44740 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44742 maintainer-clean-target-libgomp:
44743 @: $(MAKE); $(unstage)
44744 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44745 r=`${PWD_COMMAND}`; export r; \
44746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44747 $(NORMAL_TARGET_EXPORTS) \
44748 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44749 for flag in $(EXTRA_TARGET_FLAGS); do \
44750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44751 done; \
44752 (cd $(TARGET_SUBDIR)/libgomp && \
44753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44755 "RANLIB=$${RANLIB}" \
44756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44757 maintainer-clean) \
44758 || exit 1
44760 @endif target-libgomp
44766 .PHONY: configure-target-libitm maybe-configure-target-libitm
44767 maybe-configure-target-libitm:
44768 @if gcc-bootstrap
44769 configure-target-libitm: stage_current
44770 @endif gcc-bootstrap
44771 @if target-libitm
44772 maybe-configure-target-libitm: configure-target-libitm
44773 configure-target-libitm:
44774 @: $(MAKE); $(unstage)
44775 @r=`${PWD_COMMAND}`; export r; \
44776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44777 echo "Checking multilib configuration for libitm..."; \
44778 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44779 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
44780 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
44781 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
44782 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
44783 else \
44784 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
44785 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44786 fi; \
44787 else \
44788 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44789 fi; \
44790 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
44791 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44792 $(NORMAL_TARGET_EXPORTS) \
44793 echo Configuring in $(TARGET_SUBDIR)/libitm; \
44794 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
44795 case $(srcdir) in \
44796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44797 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
44798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44799 esac; \
44800 module_srcdir=libitm; \
44801 rm -f no-such-file || : ; \
44802 CONFIG_SITE=no-such-file $(SHELL) \
44803 $$s/$$module_srcdir/configure \
44804 --srcdir=$${topdir}/$$module_srcdir \
44805 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44806 --target=${target_alias} \
44807 || exit 1
44808 @endif target-libitm
44814 .PHONY: all-target-libitm maybe-all-target-libitm
44815 maybe-all-target-libitm:
44816 @if gcc-bootstrap
44817 all-target-libitm: stage_current
44818 @endif gcc-bootstrap
44819 @if target-libitm
44820 TARGET-target-libitm=all
44821 maybe-all-target-libitm: all-target-libitm
44822 all-target-libitm: configure-target-libitm
44823 @: $(MAKE); $(unstage)
44824 @r=`${PWD_COMMAND}`; export r; \
44825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44826 $(NORMAL_TARGET_EXPORTS) \
44827 (cd $(TARGET_SUBDIR)/libitm && \
44828 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44829 $(TARGET-target-libitm))
44830 @endif target-libitm
44836 .PHONY: check-target-libitm maybe-check-target-libitm
44837 maybe-check-target-libitm:
44838 @if target-libitm
44839 maybe-check-target-libitm: check-target-libitm
44841 check-target-libitm:
44842 @: $(MAKE); $(unstage)
44843 @r=`${PWD_COMMAND}`; export r; \
44844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44845 $(NORMAL_TARGET_EXPORTS) \
44846 (cd $(TARGET_SUBDIR)/libitm && \
44847 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44849 @endif target-libitm
44851 .PHONY: install-target-libitm maybe-install-target-libitm
44852 maybe-install-target-libitm:
44853 @if target-libitm
44854 maybe-install-target-libitm: install-target-libitm
44856 install-target-libitm: installdirs
44857 @: $(MAKE); $(unstage)
44858 @r=`${PWD_COMMAND}`; export r; \
44859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44860 $(NORMAL_TARGET_EXPORTS) \
44861 (cd $(TARGET_SUBDIR)/libitm && \
44862 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44864 @endif target-libitm
44866 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
44867 maybe-install-strip-target-libitm:
44868 @if target-libitm
44869 maybe-install-strip-target-libitm: install-strip-target-libitm
44871 install-strip-target-libitm: installdirs
44872 @: $(MAKE); $(unstage)
44873 @r=`${PWD_COMMAND}`; export r; \
44874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44875 $(NORMAL_TARGET_EXPORTS) \
44876 (cd $(TARGET_SUBDIR)/libitm && \
44877 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44879 @endif target-libitm
44881 # Other targets (info, dvi, pdf, etc.)
44883 .PHONY: maybe-info-target-libitm info-target-libitm
44884 maybe-info-target-libitm:
44885 @if target-libitm
44886 maybe-info-target-libitm: info-target-libitm
44888 info-target-libitm: \
44889 configure-target-libitm
44890 @: $(MAKE); $(unstage)
44891 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44892 r=`${PWD_COMMAND}`; export r; \
44893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44894 $(NORMAL_TARGET_EXPORTS) \
44895 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
44896 for flag in $(EXTRA_TARGET_FLAGS); do \
44897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44898 done; \
44899 (cd $(TARGET_SUBDIR)/libitm && \
44900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44902 "RANLIB=$${RANLIB}" \
44903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44904 info) \
44905 || exit 1
44907 @endif target-libitm
44909 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
44910 maybe-dvi-target-libitm:
44911 @if target-libitm
44912 maybe-dvi-target-libitm: dvi-target-libitm
44914 dvi-target-libitm: \
44915 configure-target-libitm
44916 @: $(MAKE); $(unstage)
44917 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44918 r=`${PWD_COMMAND}`; export r; \
44919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44920 $(NORMAL_TARGET_EXPORTS) \
44921 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
44922 for flag in $(EXTRA_TARGET_FLAGS); do \
44923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44924 done; \
44925 (cd $(TARGET_SUBDIR)/libitm && \
44926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44928 "RANLIB=$${RANLIB}" \
44929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44930 dvi) \
44931 || exit 1
44933 @endif target-libitm
44935 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
44936 maybe-pdf-target-libitm:
44937 @if target-libitm
44938 maybe-pdf-target-libitm: pdf-target-libitm
44940 pdf-target-libitm: \
44941 configure-target-libitm
44942 @: $(MAKE); $(unstage)
44943 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44944 r=`${PWD_COMMAND}`; export r; \
44945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44946 $(NORMAL_TARGET_EXPORTS) \
44947 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
44948 for flag in $(EXTRA_TARGET_FLAGS); do \
44949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44950 done; \
44951 (cd $(TARGET_SUBDIR)/libitm && \
44952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44954 "RANLIB=$${RANLIB}" \
44955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44956 pdf) \
44957 || exit 1
44959 @endif target-libitm
44961 .PHONY: maybe-html-target-libitm html-target-libitm
44962 maybe-html-target-libitm:
44963 @if target-libitm
44964 maybe-html-target-libitm: html-target-libitm
44966 html-target-libitm: \
44967 configure-target-libitm
44968 @: $(MAKE); $(unstage)
44969 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44970 r=`${PWD_COMMAND}`; export r; \
44971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44972 $(NORMAL_TARGET_EXPORTS) \
44973 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
44974 for flag in $(EXTRA_TARGET_FLAGS); do \
44975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44976 done; \
44977 (cd $(TARGET_SUBDIR)/libitm && \
44978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44980 "RANLIB=$${RANLIB}" \
44981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44982 html) \
44983 || exit 1
44985 @endif target-libitm
44987 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
44988 maybe-TAGS-target-libitm:
44989 @if target-libitm
44990 maybe-TAGS-target-libitm: TAGS-target-libitm
44992 TAGS-target-libitm: \
44993 configure-target-libitm
44994 @: $(MAKE); $(unstage)
44995 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44996 r=`${PWD_COMMAND}`; export r; \
44997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44998 $(NORMAL_TARGET_EXPORTS) \
44999 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
45000 for flag in $(EXTRA_TARGET_FLAGS); do \
45001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45002 done; \
45003 (cd $(TARGET_SUBDIR)/libitm && \
45004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45006 "RANLIB=$${RANLIB}" \
45007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45008 TAGS) \
45009 || exit 1
45011 @endif target-libitm
45013 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
45014 maybe-install-info-target-libitm:
45015 @if target-libitm
45016 maybe-install-info-target-libitm: install-info-target-libitm
45018 install-info-target-libitm: \
45019 configure-target-libitm \
45020 info-target-libitm
45021 @: $(MAKE); $(unstage)
45022 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45023 r=`${PWD_COMMAND}`; export r; \
45024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45025 $(NORMAL_TARGET_EXPORTS) \
45026 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
45027 for flag in $(EXTRA_TARGET_FLAGS); do \
45028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45029 done; \
45030 (cd $(TARGET_SUBDIR)/libitm && \
45031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45033 "RANLIB=$${RANLIB}" \
45034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45035 install-info) \
45036 || exit 1
45038 @endif target-libitm
45040 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
45041 maybe-install-pdf-target-libitm:
45042 @if target-libitm
45043 maybe-install-pdf-target-libitm: install-pdf-target-libitm
45045 install-pdf-target-libitm: \
45046 configure-target-libitm \
45047 pdf-target-libitm
45048 @: $(MAKE); $(unstage)
45049 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45050 r=`${PWD_COMMAND}`; export r; \
45051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45052 $(NORMAL_TARGET_EXPORTS) \
45053 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
45054 for flag in $(EXTRA_TARGET_FLAGS); do \
45055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45056 done; \
45057 (cd $(TARGET_SUBDIR)/libitm && \
45058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45060 "RANLIB=$${RANLIB}" \
45061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45062 install-pdf) \
45063 || exit 1
45065 @endif target-libitm
45067 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
45068 maybe-install-html-target-libitm:
45069 @if target-libitm
45070 maybe-install-html-target-libitm: install-html-target-libitm
45072 install-html-target-libitm: \
45073 configure-target-libitm \
45074 html-target-libitm
45075 @: $(MAKE); $(unstage)
45076 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45077 r=`${PWD_COMMAND}`; export r; \
45078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45079 $(NORMAL_TARGET_EXPORTS) \
45080 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
45081 for flag in $(EXTRA_TARGET_FLAGS); do \
45082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45083 done; \
45084 (cd $(TARGET_SUBDIR)/libitm && \
45085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45087 "RANLIB=$${RANLIB}" \
45088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45089 install-html) \
45090 || exit 1
45092 @endif target-libitm
45094 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
45095 maybe-installcheck-target-libitm:
45096 @if target-libitm
45097 maybe-installcheck-target-libitm: installcheck-target-libitm
45099 installcheck-target-libitm: \
45100 configure-target-libitm
45101 @: $(MAKE); $(unstage)
45102 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45103 r=`${PWD_COMMAND}`; export r; \
45104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45105 $(NORMAL_TARGET_EXPORTS) \
45106 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
45107 for flag in $(EXTRA_TARGET_FLAGS); do \
45108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45109 done; \
45110 (cd $(TARGET_SUBDIR)/libitm && \
45111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45113 "RANLIB=$${RANLIB}" \
45114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45115 installcheck) \
45116 || exit 1
45118 @endif target-libitm
45120 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45121 maybe-mostlyclean-target-libitm:
45122 @if target-libitm
45123 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45125 mostlyclean-target-libitm:
45126 @: $(MAKE); $(unstage)
45127 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45128 r=`${PWD_COMMAND}`; export r; \
45129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45130 $(NORMAL_TARGET_EXPORTS) \
45131 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45132 for flag in $(EXTRA_TARGET_FLAGS); do \
45133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45134 done; \
45135 (cd $(TARGET_SUBDIR)/libitm && \
45136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45138 "RANLIB=$${RANLIB}" \
45139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45140 mostlyclean) \
45141 || exit 1
45143 @endif target-libitm
45145 .PHONY: maybe-clean-target-libitm clean-target-libitm
45146 maybe-clean-target-libitm:
45147 @if target-libitm
45148 maybe-clean-target-libitm: clean-target-libitm
45150 clean-target-libitm:
45151 @: $(MAKE); $(unstage)
45152 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45153 r=`${PWD_COMMAND}`; export r; \
45154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45155 $(NORMAL_TARGET_EXPORTS) \
45156 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45157 for flag in $(EXTRA_TARGET_FLAGS); do \
45158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45159 done; \
45160 (cd $(TARGET_SUBDIR)/libitm && \
45161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45163 "RANLIB=$${RANLIB}" \
45164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45165 clean) \
45166 || exit 1
45168 @endif target-libitm
45170 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45171 maybe-distclean-target-libitm:
45172 @if target-libitm
45173 maybe-distclean-target-libitm: distclean-target-libitm
45175 distclean-target-libitm:
45176 @: $(MAKE); $(unstage)
45177 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45178 r=`${PWD_COMMAND}`; export r; \
45179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45180 $(NORMAL_TARGET_EXPORTS) \
45181 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45182 for flag in $(EXTRA_TARGET_FLAGS); do \
45183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45184 done; \
45185 (cd $(TARGET_SUBDIR)/libitm && \
45186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45188 "RANLIB=$${RANLIB}" \
45189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45190 distclean) \
45191 || exit 1
45193 @endif target-libitm
45195 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45196 maybe-maintainer-clean-target-libitm:
45197 @if target-libitm
45198 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45200 maintainer-clean-target-libitm:
45201 @: $(MAKE); $(unstage)
45202 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45203 r=`${PWD_COMMAND}`; export r; \
45204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45205 $(NORMAL_TARGET_EXPORTS) \
45206 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45207 for flag in $(EXTRA_TARGET_FLAGS); do \
45208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45209 done; \
45210 (cd $(TARGET_SUBDIR)/libitm && \
45211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45213 "RANLIB=$${RANLIB}" \
45214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45215 maintainer-clean) \
45216 || exit 1
45218 @endif target-libitm
45224 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45225 maybe-configure-target-libatomic:
45226 @if gcc-bootstrap
45227 configure-target-libatomic: stage_current
45228 @endif gcc-bootstrap
45229 @if target-libatomic
45230 maybe-configure-target-libatomic: configure-target-libatomic
45231 configure-target-libatomic:
45232 @: $(MAKE); $(unstage)
45233 @r=`${PWD_COMMAND}`; export r; \
45234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45235 echo "Checking multilib configuration for libatomic..."; \
45236 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45237 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45238 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45239 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45240 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45241 else \
45242 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45243 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45244 fi; \
45245 else \
45246 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45247 fi; \
45248 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45249 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45250 $(NORMAL_TARGET_EXPORTS) \
45251 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45252 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45253 case $(srcdir) in \
45254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45255 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45257 esac; \
45258 module_srcdir=libatomic; \
45259 rm -f no-such-file || : ; \
45260 CONFIG_SITE=no-such-file $(SHELL) \
45261 $$s/$$module_srcdir/configure \
45262 --srcdir=$${topdir}/$$module_srcdir \
45263 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45264 --target=${target_alias} \
45265 || exit 1
45266 @endif target-libatomic
45272 .PHONY: all-target-libatomic maybe-all-target-libatomic
45273 maybe-all-target-libatomic:
45274 @if gcc-bootstrap
45275 all-target-libatomic: stage_current
45276 @endif gcc-bootstrap
45277 @if target-libatomic
45278 TARGET-target-libatomic=all
45279 maybe-all-target-libatomic: all-target-libatomic
45280 all-target-libatomic: configure-target-libatomic
45281 @: $(MAKE); $(unstage)
45282 @r=`${PWD_COMMAND}`; export r; \
45283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45284 $(NORMAL_TARGET_EXPORTS) \
45285 (cd $(TARGET_SUBDIR)/libatomic && \
45286 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45287 $(TARGET-target-libatomic))
45288 @endif target-libatomic
45294 .PHONY: check-target-libatomic maybe-check-target-libatomic
45295 maybe-check-target-libatomic:
45296 @if target-libatomic
45297 maybe-check-target-libatomic: check-target-libatomic
45299 check-target-libatomic:
45300 @: $(MAKE); $(unstage)
45301 @r=`${PWD_COMMAND}`; export r; \
45302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45303 $(NORMAL_TARGET_EXPORTS) \
45304 (cd $(TARGET_SUBDIR)/libatomic && \
45305 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45307 @endif target-libatomic
45309 .PHONY: install-target-libatomic maybe-install-target-libatomic
45310 maybe-install-target-libatomic:
45311 @if target-libatomic
45312 maybe-install-target-libatomic: install-target-libatomic
45314 install-target-libatomic: installdirs
45315 @: $(MAKE); $(unstage)
45316 @r=`${PWD_COMMAND}`; export r; \
45317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45318 $(NORMAL_TARGET_EXPORTS) \
45319 (cd $(TARGET_SUBDIR)/libatomic && \
45320 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45322 @endif target-libatomic
45324 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45325 maybe-install-strip-target-libatomic:
45326 @if target-libatomic
45327 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45329 install-strip-target-libatomic: installdirs
45330 @: $(MAKE); $(unstage)
45331 @r=`${PWD_COMMAND}`; export r; \
45332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45333 $(NORMAL_TARGET_EXPORTS) \
45334 (cd $(TARGET_SUBDIR)/libatomic && \
45335 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45337 @endif target-libatomic
45339 # Other targets (info, dvi, pdf, etc.)
45341 .PHONY: maybe-info-target-libatomic info-target-libatomic
45342 maybe-info-target-libatomic:
45343 @if target-libatomic
45344 maybe-info-target-libatomic: info-target-libatomic
45346 info-target-libatomic: \
45347 configure-target-libatomic
45348 @: $(MAKE); $(unstage)
45349 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45350 r=`${PWD_COMMAND}`; export r; \
45351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45352 $(NORMAL_TARGET_EXPORTS) \
45353 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45354 for flag in $(EXTRA_TARGET_FLAGS); do \
45355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45356 done; \
45357 (cd $(TARGET_SUBDIR)/libatomic && \
45358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45360 "RANLIB=$${RANLIB}" \
45361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45362 info) \
45363 || exit 1
45365 @endif target-libatomic
45367 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45368 maybe-dvi-target-libatomic:
45369 @if target-libatomic
45370 maybe-dvi-target-libatomic: dvi-target-libatomic
45372 dvi-target-libatomic: \
45373 configure-target-libatomic
45374 @: $(MAKE); $(unstage)
45375 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45376 r=`${PWD_COMMAND}`; export r; \
45377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45378 $(NORMAL_TARGET_EXPORTS) \
45379 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45380 for flag in $(EXTRA_TARGET_FLAGS); do \
45381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45382 done; \
45383 (cd $(TARGET_SUBDIR)/libatomic && \
45384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45386 "RANLIB=$${RANLIB}" \
45387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45388 dvi) \
45389 || exit 1
45391 @endif target-libatomic
45393 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45394 maybe-pdf-target-libatomic:
45395 @if target-libatomic
45396 maybe-pdf-target-libatomic: pdf-target-libatomic
45398 pdf-target-libatomic: \
45399 configure-target-libatomic
45400 @: $(MAKE); $(unstage)
45401 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45402 r=`${PWD_COMMAND}`; export r; \
45403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45404 $(NORMAL_TARGET_EXPORTS) \
45405 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45406 for flag in $(EXTRA_TARGET_FLAGS); do \
45407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45408 done; \
45409 (cd $(TARGET_SUBDIR)/libatomic && \
45410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45412 "RANLIB=$${RANLIB}" \
45413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45414 pdf) \
45415 || exit 1
45417 @endif target-libatomic
45419 .PHONY: maybe-html-target-libatomic html-target-libatomic
45420 maybe-html-target-libatomic:
45421 @if target-libatomic
45422 maybe-html-target-libatomic: html-target-libatomic
45424 html-target-libatomic: \
45425 configure-target-libatomic
45426 @: $(MAKE); $(unstage)
45427 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45428 r=`${PWD_COMMAND}`; export r; \
45429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45430 $(NORMAL_TARGET_EXPORTS) \
45431 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
45432 for flag in $(EXTRA_TARGET_FLAGS); do \
45433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45434 done; \
45435 (cd $(TARGET_SUBDIR)/libatomic && \
45436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45438 "RANLIB=$${RANLIB}" \
45439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45440 html) \
45441 || exit 1
45443 @endif target-libatomic
45445 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
45446 maybe-TAGS-target-libatomic:
45447 @if target-libatomic
45448 maybe-TAGS-target-libatomic: TAGS-target-libatomic
45450 TAGS-target-libatomic: \
45451 configure-target-libatomic
45452 @: $(MAKE); $(unstage)
45453 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45454 r=`${PWD_COMMAND}`; export r; \
45455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45456 $(NORMAL_TARGET_EXPORTS) \
45457 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
45458 for flag in $(EXTRA_TARGET_FLAGS); do \
45459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45460 done; \
45461 (cd $(TARGET_SUBDIR)/libatomic && \
45462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45464 "RANLIB=$${RANLIB}" \
45465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45466 TAGS) \
45467 || exit 1
45469 @endif target-libatomic
45471 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
45472 maybe-install-info-target-libatomic:
45473 @if target-libatomic
45474 maybe-install-info-target-libatomic: install-info-target-libatomic
45476 install-info-target-libatomic: \
45477 configure-target-libatomic \
45478 info-target-libatomic
45479 @: $(MAKE); $(unstage)
45480 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45481 r=`${PWD_COMMAND}`; export r; \
45482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45483 $(NORMAL_TARGET_EXPORTS) \
45484 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
45485 for flag in $(EXTRA_TARGET_FLAGS); do \
45486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45487 done; \
45488 (cd $(TARGET_SUBDIR)/libatomic && \
45489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45491 "RANLIB=$${RANLIB}" \
45492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45493 install-info) \
45494 || exit 1
45496 @endif target-libatomic
45498 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
45499 maybe-install-pdf-target-libatomic:
45500 @if target-libatomic
45501 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
45503 install-pdf-target-libatomic: \
45504 configure-target-libatomic \
45505 pdf-target-libatomic
45506 @: $(MAKE); $(unstage)
45507 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45508 r=`${PWD_COMMAND}`; export r; \
45509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45510 $(NORMAL_TARGET_EXPORTS) \
45511 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
45512 for flag in $(EXTRA_TARGET_FLAGS); do \
45513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45514 done; \
45515 (cd $(TARGET_SUBDIR)/libatomic && \
45516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45518 "RANLIB=$${RANLIB}" \
45519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45520 install-pdf) \
45521 || exit 1
45523 @endif target-libatomic
45525 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
45526 maybe-install-html-target-libatomic:
45527 @if target-libatomic
45528 maybe-install-html-target-libatomic: install-html-target-libatomic
45530 install-html-target-libatomic: \
45531 configure-target-libatomic \
45532 html-target-libatomic
45533 @: $(MAKE); $(unstage)
45534 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45535 r=`${PWD_COMMAND}`; export r; \
45536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45537 $(NORMAL_TARGET_EXPORTS) \
45538 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
45539 for flag in $(EXTRA_TARGET_FLAGS); do \
45540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45541 done; \
45542 (cd $(TARGET_SUBDIR)/libatomic && \
45543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45545 "RANLIB=$${RANLIB}" \
45546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45547 install-html) \
45548 || exit 1
45550 @endif target-libatomic
45552 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
45553 maybe-installcheck-target-libatomic:
45554 @if target-libatomic
45555 maybe-installcheck-target-libatomic: installcheck-target-libatomic
45557 installcheck-target-libatomic: \
45558 configure-target-libatomic
45559 @: $(MAKE); $(unstage)
45560 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45561 r=`${PWD_COMMAND}`; export r; \
45562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45563 $(NORMAL_TARGET_EXPORTS) \
45564 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
45565 for flag in $(EXTRA_TARGET_FLAGS); do \
45566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45567 done; \
45568 (cd $(TARGET_SUBDIR)/libatomic && \
45569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45571 "RANLIB=$${RANLIB}" \
45572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45573 installcheck) \
45574 || exit 1
45576 @endif target-libatomic
45578 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
45579 maybe-mostlyclean-target-libatomic:
45580 @if target-libatomic
45581 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
45583 mostlyclean-target-libatomic:
45584 @: $(MAKE); $(unstage)
45585 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45586 r=`${PWD_COMMAND}`; export r; \
45587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45588 $(NORMAL_TARGET_EXPORTS) \
45589 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
45590 for flag in $(EXTRA_TARGET_FLAGS); do \
45591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45592 done; \
45593 (cd $(TARGET_SUBDIR)/libatomic && \
45594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45596 "RANLIB=$${RANLIB}" \
45597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45598 mostlyclean) \
45599 || exit 1
45601 @endif target-libatomic
45603 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
45604 maybe-clean-target-libatomic:
45605 @if target-libatomic
45606 maybe-clean-target-libatomic: clean-target-libatomic
45608 clean-target-libatomic:
45609 @: $(MAKE); $(unstage)
45610 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45611 r=`${PWD_COMMAND}`; export r; \
45612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45613 $(NORMAL_TARGET_EXPORTS) \
45614 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
45615 for flag in $(EXTRA_TARGET_FLAGS); do \
45616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45617 done; \
45618 (cd $(TARGET_SUBDIR)/libatomic && \
45619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45621 "RANLIB=$${RANLIB}" \
45622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45623 clean) \
45624 || exit 1
45626 @endif target-libatomic
45628 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
45629 maybe-distclean-target-libatomic:
45630 @if target-libatomic
45631 maybe-distclean-target-libatomic: distclean-target-libatomic
45633 distclean-target-libatomic:
45634 @: $(MAKE); $(unstage)
45635 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45636 r=`${PWD_COMMAND}`; export r; \
45637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45638 $(NORMAL_TARGET_EXPORTS) \
45639 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
45640 for flag in $(EXTRA_TARGET_FLAGS); do \
45641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45642 done; \
45643 (cd $(TARGET_SUBDIR)/libatomic && \
45644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45646 "RANLIB=$${RANLIB}" \
45647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45648 distclean) \
45649 || exit 1
45651 @endif target-libatomic
45653 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
45654 maybe-maintainer-clean-target-libatomic:
45655 @if target-libatomic
45656 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
45658 maintainer-clean-target-libatomic:
45659 @: $(MAKE); $(unstage)
45660 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45661 r=`${PWD_COMMAND}`; export r; \
45662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45663 $(NORMAL_TARGET_EXPORTS) \
45664 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
45665 for flag in $(EXTRA_TARGET_FLAGS); do \
45666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45667 done; \
45668 (cd $(TARGET_SUBDIR)/libatomic && \
45669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45671 "RANLIB=$${RANLIB}" \
45672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45673 maintainer-clean) \
45674 || exit 1
45676 @endif target-libatomic
45680 @if target-libgomp
45681 .PHONY: check-target-libgomp-c++
45682 check-target-libgomp-c++:
45683 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
45685 @endif target-libgomp
45687 @if target-libitm
45688 .PHONY: check-target-libitm-c++
45689 check-target-libitm-c++:
45690 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
45692 @endif target-libitm
45694 # ----------
45695 # GCC module
45696 # ----------
45698 @if gcc-no-bootstrap
45699 .PHONY: cross
45700 cross: all-build all-gas all-ld
45701 @r=`${PWD_COMMAND}`; export r; \
45702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45703 $(HOST_EXPORTS) \
45704 echo "Building the C and C++ compiler"; \
45705 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
45706 @r=`${PWD_COMMAND}`; export r; \
45707 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
45708 echo "Building runtime libraries"; \
45709 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
45710 @endif gcc-no-bootstrap
45712 @if gcc
45714 .PHONY: check-gcc-c check-c
45715 check-gcc-c:
45716 r=`${PWD_COMMAND}`; export r; \
45717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45718 $(HOST_EXPORTS) \
45719 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
45720 check-c: check-gcc-c
45722 .PHONY: check-gcc-c++ check-c++
45723 check-gcc-c++:
45724 r=`${PWD_COMMAND}`; export r; \
45725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45726 $(HOST_EXPORTS) \
45727 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
45728 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
45730 .PHONY: check-gcc-fortran check-fortran
45731 check-gcc-fortran:
45732 r=`${PWD_COMMAND}`; export r; \
45733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45734 $(HOST_EXPORTS) \
45735 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
45736 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
45738 .PHONY: check-gcc-java check-java
45739 check-gcc-java:
45740 r=`${PWD_COMMAND}`; export r; \
45741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45742 $(HOST_EXPORTS) \
45743 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
45744 check-java: check-gcc-java check-target-libjava
45746 .PHONY: check-gcc-ada check-ada
45747 check-gcc-ada:
45748 r=`${PWD_COMMAND}`; export r; \
45749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45750 $(HOST_EXPORTS) \
45751 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
45752 check-ada: check-gcc-ada check-target-libada
45754 .PHONY: check-gcc-objc check-objc
45755 check-gcc-objc:
45756 r=`${PWD_COMMAND}`; export r; \
45757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45758 $(HOST_EXPORTS) \
45759 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
45760 check-objc: check-gcc-objc check-target-libobjc
45762 .PHONY: check-gcc-obj-c++ check-obj-c++
45763 check-gcc-obj-c++:
45764 r=`${PWD_COMMAND}`; export r; \
45765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45766 $(HOST_EXPORTS) \
45767 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
45768 check-obj-c++: check-gcc-obj-c++
45770 .PHONY: check-gcc-go check-go
45771 check-gcc-go:
45772 r=`${PWD_COMMAND}`; export r; \
45773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45774 $(HOST_EXPORTS) \
45775 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
45776 check-go: check-gcc-go check-target-libgo
45779 # The gcc part of install-no-fixedincludes, which relies on an intimate
45780 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
45781 .PHONY: gcc-install-no-fixedincludes
45782 gcc-install-no-fixedincludes:
45783 @if [ -f ./gcc/Makefile ]; then \
45784 r=`${PWD_COMMAND}`; export r; \
45785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45786 $(HOST_EXPORTS) \
45787 (cd ./gcc \
45788 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
45789 else true; fi
45790 @endif gcc
45792 # ---------------------
45793 # GCC bootstrap support
45794 # ---------------------
45796 # We track the current stage (the one in 'gcc') in the stage_current file.
45797 # stage_last instead tracks the stage that was built last. These targets
45798 # are dummy when toplevel bootstrap is not active.
45800 # While making host and target tools, symlinks to the final stage must be
45801 # there, so $(unstage) should be run at various points. To avoid excessive
45802 # recursive invocations of make, we "inline" them using a variable. These
45803 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
45804 # to avoid warnings from the GNU Make job server.
45806 unstage = :
45807 stage = :
45808 current_stage = ""
45810 @if gcc-bootstrap
45811 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
45812 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
45813 current_stage = "`cat stage_current 2> /dev/null`"
45814 @endif gcc-bootstrap
45816 .PHONY: unstage stage
45817 unstage:
45818 @: $(MAKE); $(unstage)
45819 stage:
45820 @: $(MAKE); $(stage)
45822 # Disable commands for lean bootstrap.
45823 LEAN = false
45825 # We name the build directories for the various stages "stage1-gcc",
45826 # "stage2-gcc","stage3-gcc", etc.
45828 # Since the 'compare' process will fail (on debugging information) if any
45829 # directory names are different, we need to link the gcc directory for
45830 # the previous stage to a constant name ('prev-gcc'), and to make the name of
45831 # the build directories constant as well. For the latter, we use naked names
45832 # like 'gcc', because the scripts in that directory assume it. We use
45833 # mv on platforms where symlinks to directories do not work or are not
45834 # reliable.
45836 # 'touch' doesn't work right on some platforms.
45837 STAMP = echo timestamp >
45839 # We only want to compare .o files, so set this!
45840 objext = .o
45843 .PHONY: stage1-start stage1-end
45845 stage1-start::
45846 @: $(MAKE); $(stage); \
45847 echo stage1 > stage_current ; \
45848 echo stage1 > stage_last; \
45849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45850 @if bfd
45851 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
45852 mkdir stage1-bfd; \
45853 mv stage1-bfd bfd
45854 @endif bfd
45855 @if opcodes
45856 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
45857 mkdir stage1-opcodes; \
45858 mv stage1-opcodes opcodes
45859 @endif opcodes
45860 @if binutils
45861 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
45862 mkdir stage1-binutils; \
45863 mv stage1-binutils binutils
45864 @endif binutils
45865 @if fixincludes
45866 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
45867 mkdir stage1-fixincludes; \
45868 mv stage1-fixincludes fixincludes
45869 @endif fixincludes
45870 @if gas
45871 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
45872 mkdir stage1-gas; \
45873 mv stage1-gas gas
45874 @endif gas
45875 @if gcc
45876 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
45877 mkdir stage1-gcc; \
45878 mv stage1-gcc gcc
45879 @endif gcc
45880 @if gmp
45881 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
45882 mkdir stage1-gmp; \
45883 mv stage1-gmp gmp
45884 @endif gmp
45885 @if mpfr
45886 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
45887 mkdir stage1-mpfr; \
45888 mv stage1-mpfr mpfr
45889 @endif mpfr
45890 @if mpc
45891 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
45892 mkdir stage1-mpc; \
45893 mv stage1-mpc mpc
45894 @endif mpc
45895 @if isl
45896 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
45897 mkdir stage1-isl; \
45898 mv stage1-isl isl
45899 @endif isl
45900 @if cloog
45901 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
45902 mkdir stage1-cloog; \
45903 mv stage1-cloog cloog
45904 @endif cloog
45905 @if libelf
45906 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
45907 mkdir stage1-libelf; \
45908 mv stage1-libelf libelf
45909 @endif libelf
45910 @if gold
45911 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
45912 mkdir stage1-gold; \
45913 mv stage1-gold gold
45914 @endif gold
45915 @if intl
45916 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
45917 mkdir stage1-intl; \
45918 mv stage1-intl intl
45919 @endif intl
45920 @if ld
45921 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
45922 mkdir stage1-ld; \
45923 mv stage1-ld ld
45924 @endif ld
45925 @if libbacktrace
45926 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
45927 mkdir stage1-libbacktrace; \
45928 mv stage1-libbacktrace libbacktrace
45929 @endif libbacktrace
45930 @if libcpp
45931 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
45932 mkdir stage1-libcpp; \
45933 mv stage1-libcpp libcpp
45934 @endif libcpp
45935 @if libdecnumber
45936 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
45937 mkdir stage1-libdecnumber; \
45938 mv stage1-libdecnumber libdecnumber
45939 @endif libdecnumber
45940 @if libiberty
45941 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
45942 mkdir stage1-libiberty; \
45943 mv stage1-libiberty libiberty
45944 @endif libiberty
45945 @if libiberty-linker-plugin
45946 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
45947 mkdir stage1-libiberty-linker-plugin; \
45948 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
45949 @endif libiberty-linker-plugin
45950 @if zlib
45951 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
45952 mkdir stage1-zlib; \
45953 mv stage1-zlib zlib
45954 @endif zlib
45955 @if lto-plugin
45956 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
45957 mkdir stage1-lto-plugin; \
45958 mv stage1-lto-plugin lto-plugin
45959 @endif lto-plugin
45960 @[ -d stage1-$(TARGET_SUBDIR) ] || \
45961 mkdir stage1-$(TARGET_SUBDIR); \
45962 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
45964 stage1-end::
45965 @if bfd
45966 @if test -d $(HOST_SUBDIR)/bfd ; then \
45967 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
45969 @endif bfd
45970 @if opcodes
45971 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45972 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
45974 @endif opcodes
45975 @if binutils
45976 @if test -d $(HOST_SUBDIR)/binutils ; then \
45977 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
45979 @endif binutils
45980 @if fixincludes
45981 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
45982 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
45984 @endif fixincludes
45985 @if gas
45986 @if test -d $(HOST_SUBDIR)/gas ; then \
45987 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
45989 @endif gas
45990 @if gcc
45991 @if test -d $(HOST_SUBDIR)/gcc ; then \
45992 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
45994 @endif gcc
45995 @if gmp
45996 @if test -d $(HOST_SUBDIR)/gmp ; then \
45997 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
45999 @endif gmp
46000 @if mpfr
46001 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46002 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
46004 @endif mpfr
46005 @if mpc
46006 @if test -d $(HOST_SUBDIR)/mpc ; then \
46007 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
46009 @endif mpc
46010 @if isl
46011 @if test -d $(HOST_SUBDIR)/isl ; then \
46012 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
46014 @endif isl
46015 @if cloog
46016 @if test -d $(HOST_SUBDIR)/cloog ; then \
46017 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
46019 @endif cloog
46020 @if libelf
46021 @if test -d $(HOST_SUBDIR)/libelf ; then \
46022 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
46024 @endif libelf
46025 @if gold
46026 @if test -d $(HOST_SUBDIR)/gold ; then \
46027 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
46029 @endif gold
46030 @if intl
46031 @if test -d $(HOST_SUBDIR)/intl ; then \
46032 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
46034 @endif intl
46035 @if ld
46036 @if test -d $(HOST_SUBDIR)/ld ; then \
46037 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
46039 @endif ld
46040 @if libbacktrace
46041 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46042 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
46044 @endif libbacktrace
46045 @if libcpp
46046 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46047 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
46049 @endif libcpp
46050 @if libdecnumber
46051 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46052 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
46054 @endif libdecnumber
46055 @if libiberty
46056 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46057 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
46059 @endif libiberty
46060 @if libiberty-linker-plugin
46061 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46062 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
46064 @endif libiberty-linker-plugin
46065 @if zlib
46066 @if test -d $(HOST_SUBDIR)/zlib ; then \
46067 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
46069 @endif zlib
46070 @if lto-plugin
46071 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46072 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
46074 @endif lto-plugin
46075 @if test -d $(TARGET_SUBDIR) ; then \
46076 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
46078 rm -f stage_current
46080 # Bubble a bug fix through all the stages up to stage 1. They are
46081 # remade, but not reconfigured. The next stage (if any) will not be
46082 # reconfigured either.
46083 .PHONY: stage1-bubble
46084 stage1-bubble::
46085 @r=`${PWD_COMMAND}`; export r; \
46086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46087 if test -f stage1-lean ; then \
46088 echo Skipping rebuild of stage1 ; \
46089 else \
46090 $(MAKE) stage1-start; \
46091 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
46094 .PHONY: all-stage1 clean-stage1
46095 do-clean: clean-stage1
46097 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46098 # only possibility, but now it conflicts with no-bootstrap rules
46099 @if gcc-bootstrap
46104 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46106 .PHONY: distclean-stage1
46107 distclean-stage1::
46108 @: $(MAKE); $(stage)
46109 @test "`cat stage_last`" != stage1 || rm -f stage_last
46110 rm -rf stage1-*
46113 @endif gcc-bootstrap
46116 .PHONY: stage2-start stage2-end
46118 stage2-start::
46119 @: $(MAKE); $(stage); \
46120 echo stage2 > stage_current ; \
46121 echo stage2 > stage_last; \
46122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46123 @if bfd
46124 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46125 mkdir stage2-bfd; \
46126 mv stage2-bfd bfd ; \
46127 mv stage1-bfd prev-bfd || test -f stage1-lean
46128 @endif bfd
46129 @if opcodes
46130 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46131 mkdir stage2-opcodes; \
46132 mv stage2-opcodes opcodes ; \
46133 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46134 @endif opcodes
46135 @if binutils
46136 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46137 mkdir stage2-binutils; \
46138 mv stage2-binutils binutils ; \
46139 mv stage1-binutils prev-binutils || test -f stage1-lean
46140 @endif binutils
46141 @if fixincludes
46142 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46143 mkdir stage2-fixincludes; \
46144 mv stage2-fixincludes fixincludes ; \
46145 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46146 @endif fixincludes
46147 @if gas
46148 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46149 mkdir stage2-gas; \
46150 mv stage2-gas gas ; \
46151 mv stage1-gas prev-gas || test -f stage1-lean
46152 @endif gas
46153 @if gcc
46154 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46155 mkdir stage2-gcc; \
46156 mv stage2-gcc gcc ; \
46157 mv stage1-gcc prev-gcc || test -f stage1-lean
46158 @endif gcc
46159 @if gmp
46160 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46161 mkdir stage2-gmp; \
46162 mv stage2-gmp gmp ; \
46163 mv stage1-gmp prev-gmp || test -f stage1-lean
46164 @endif gmp
46165 @if mpfr
46166 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46167 mkdir stage2-mpfr; \
46168 mv stage2-mpfr mpfr ; \
46169 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46170 @endif mpfr
46171 @if mpc
46172 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46173 mkdir stage2-mpc; \
46174 mv stage2-mpc mpc ; \
46175 mv stage1-mpc prev-mpc || test -f stage1-lean
46176 @endif mpc
46177 @if isl
46178 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46179 mkdir stage2-isl; \
46180 mv stage2-isl isl ; \
46181 mv stage1-isl prev-isl || test -f stage1-lean
46182 @endif isl
46183 @if cloog
46184 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
46185 mkdir stage2-cloog; \
46186 mv stage2-cloog cloog ; \
46187 mv stage1-cloog prev-cloog || test -f stage1-lean
46188 @endif cloog
46189 @if libelf
46190 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46191 mkdir stage2-libelf; \
46192 mv stage2-libelf libelf ; \
46193 mv stage1-libelf prev-libelf || test -f stage1-lean
46194 @endif libelf
46195 @if gold
46196 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46197 mkdir stage2-gold; \
46198 mv stage2-gold gold ; \
46199 mv stage1-gold prev-gold || test -f stage1-lean
46200 @endif gold
46201 @if intl
46202 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46203 mkdir stage2-intl; \
46204 mv stage2-intl intl ; \
46205 mv stage1-intl prev-intl || test -f stage1-lean
46206 @endif intl
46207 @if ld
46208 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46209 mkdir stage2-ld; \
46210 mv stage2-ld ld ; \
46211 mv stage1-ld prev-ld || test -f stage1-lean
46212 @endif ld
46213 @if libbacktrace
46214 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46215 mkdir stage2-libbacktrace; \
46216 mv stage2-libbacktrace libbacktrace ; \
46217 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46218 @endif libbacktrace
46219 @if libcpp
46220 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46221 mkdir stage2-libcpp; \
46222 mv stage2-libcpp libcpp ; \
46223 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46224 @endif libcpp
46225 @if libdecnumber
46226 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46227 mkdir stage2-libdecnumber; \
46228 mv stage2-libdecnumber libdecnumber ; \
46229 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46230 @endif libdecnumber
46231 @if libiberty
46232 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46233 mkdir stage2-libiberty; \
46234 mv stage2-libiberty libiberty ; \
46235 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46236 @endif libiberty
46237 @if libiberty-linker-plugin
46238 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
46239 mkdir stage2-libiberty-linker-plugin; \
46240 mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
46241 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
46242 @endif libiberty-linker-plugin
46243 @if zlib
46244 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46245 mkdir stage2-zlib; \
46246 mv stage2-zlib zlib ; \
46247 mv stage1-zlib prev-zlib || test -f stage1-lean
46248 @endif zlib
46249 @if lto-plugin
46250 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46251 mkdir stage2-lto-plugin; \
46252 mv stage2-lto-plugin lto-plugin ; \
46253 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46254 @endif lto-plugin
46255 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46256 mkdir stage2-$(TARGET_SUBDIR); \
46257 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46258 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46260 stage2-end::
46261 @if bfd
46262 @if test -d $(HOST_SUBDIR)/bfd ; then \
46263 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46264 mv prev-bfd stage1-bfd ; : ; \
46266 @endif bfd
46267 @if opcodes
46268 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46269 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46270 mv prev-opcodes stage1-opcodes ; : ; \
46272 @endif opcodes
46273 @if binutils
46274 @if test -d $(HOST_SUBDIR)/binutils ; then \
46275 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46276 mv prev-binutils stage1-binutils ; : ; \
46278 @endif binutils
46279 @if fixincludes
46280 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46281 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46282 mv prev-fixincludes stage1-fixincludes ; : ; \
46284 @endif fixincludes
46285 @if gas
46286 @if test -d $(HOST_SUBDIR)/gas ; then \
46287 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46288 mv prev-gas stage1-gas ; : ; \
46290 @endif gas
46291 @if gcc
46292 @if test -d $(HOST_SUBDIR)/gcc ; then \
46293 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46294 mv prev-gcc stage1-gcc ; : ; \
46296 @endif gcc
46297 @if gmp
46298 @if test -d $(HOST_SUBDIR)/gmp ; then \
46299 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46300 mv prev-gmp stage1-gmp ; : ; \
46302 @endif gmp
46303 @if mpfr
46304 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46305 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46306 mv prev-mpfr stage1-mpfr ; : ; \
46308 @endif mpfr
46309 @if mpc
46310 @if test -d $(HOST_SUBDIR)/mpc ; then \
46311 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46312 mv prev-mpc stage1-mpc ; : ; \
46314 @endif mpc
46315 @if isl
46316 @if test -d $(HOST_SUBDIR)/isl ; then \
46317 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46318 mv prev-isl stage1-isl ; : ; \
46320 @endif isl
46321 @if cloog
46322 @if test -d $(HOST_SUBDIR)/cloog ; then \
46323 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
46324 mv prev-cloog stage1-cloog ; : ; \
46326 @endif cloog
46327 @if libelf
46328 @if test -d $(HOST_SUBDIR)/libelf ; then \
46329 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46330 mv prev-libelf stage1-libelf ; : ; \
46332 @endif libelf
46333 @if gold
46334 @if test -d $(HOST_SUBDIR)/gold ; then \
46335 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46336 mv prev-gold stage1-gold ; : ; \
46338 @endif gold
46339 @if intl
46340 @if test -d $(HOST_SUBDIR)/intl ; then \
46341 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46342 mv prev-intl stage1-intl ; : ; \
46344 @endif intl
46345 @if ld
46346 @if test -d $(HOST_SUBDIR)/ld ; then \
46347 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46348 mv prev-ld stage1-ld ; : ; \
46350 @endif ld
46351 @if libbacktrace
46352 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46353 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46354 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46356 @endif libbacktrace
46357 @if libcpp
46358 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46359 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46360 mv prev-libcpp stage1-libcpp ; : ; \
46362 @endif libcpp
46363 @if libdecnumber
46364 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46365 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46366 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46368 @endif libdecnumber
46369 @if libiberty
46370 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46371 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46372 mv prev-libiberty stage1-libiberty ; : ; \
46374 @endif libiberty
46375 @if libiberty-linker-plugin
46376 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46377 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
46378 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
46380 @endif libiberty-linker-plugin
46381 @if zlib
46382 @if test -d $(HOST_SUBDIR)/zlib ; then \
46383 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46384 mv prev-zlib stage1-zlib ; : ; \
46386 @endif zlib
46387 @if lto-plugin
46388 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46389 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46390 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46392 @endif lto-plugin
46393 @if test -d $(TARGET_SUBDIR) ; then \
46394 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46395 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46397 rm -f stage_current
46399 # Bubble a bug fix through all the stages up to stage 2. They are
46400 # remade, but not reconfigured. The next stage (if any) will not be
46401 # reconfigured either.
46402 .PHONY: stage2-bubble
46403 stage2-bubble:: stage1-bubble
46404 @r=`${PWD_COMMAND}`; export r; \
46405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46406 if test -f stage2-lean || test -f stage1-lean ; then \
46407 echo Skipping rebuild of stage2 ; \
46408 else \
46409 $(MAKE) stage2-start; \
46410 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46413 .PHONY: all-stage2 clean-stage2
46414 do-clean: clean-stage2
46416 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46417 # only possibility, but now it conflicts with no-bootstrap rules
46418 @if gcc-bootstrap
46422 .PHONY: bootstrap2 bootstrap2-lean
46423 bootstrap2:
46424 echo stage2 > stage_final
46425 @r=`${PWD_COMMAND}`; export r; \
46426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46427 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46428 @: $(MAKE); $(unstage)
46429 @r=`${PWD_COMMAND}`; export r; \
46430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46431 TFLAGS="$(STAGE2_TFLAGS)"; \
46432 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46434 bootstrap2-lean:
46435 echo stage2 > stage_final
46436 @r=`${PWD_COMMAND}`; export r; \
46437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46438 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46439 @: $(MAKE); $(unstage)
46440 @r=`${PWD_COMMAND}`; export r; \
46441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46442 TFLAGS="$(STAGE2_TFLAGS)"; \
46443 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46446 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46447 distclean-stage1:: distclean-stage2
46448 .PHONY: distclean-stage2
46449 distclean-stage2::
46450 @: $(MAKE); $(stage)
46451 @test "`cat stage_last`" != stage2 || rm -f stage_last
46452 rm -rf stage2-*
46455 @endif gcc-bootstrap
46458 .PHONY: stage3-start stage3-end
46460 stage3-start::
46461 @: $(MAKE); $(stage); \
46462 echo stage3 > stage_current ; \
46463 echo stage3 > stage_last; \
46464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46465 @if bfd
46466 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
46467 mkdir stage3-bfd; \
46468 mv stage3-bfd bfd ; \
46469 mv stage2-bfd prev-bfd || test -f stage2-lean
46470 @endif bfd
46471 @if opcodes
46472 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
46473 mkdir stage3-opcodes; \
46474 mv stage3-opcodes opcodes ; \
46475 mv stage2-opcodes prev-opcodes || test -f stage2-lean
46476 @endif opcodes
46477 @if binutils
46478 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
46479 mkdir stage3-binutils; \
46480 mv stage3-binutils binutils ; \
46481 mv stage2-binutils prev-binutils || test -f stage2-lean
46482 @endif binutils
46483 @if fixincludes
46484 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
46485 mkdir stage3-fixincludes; \
46486 mv stage3-fixincludes fixincludes ; \
46487 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
46488 @endif fixincludes
46489 @if gas
46490 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
46491 mkdir stage3-gas; \
46492 mv stage3-gas gas ; \
46493 mv stage2-gas prev-gas || test -f stage2-lean
46494 @endif gas
46495 @if gcc
46496 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
46497 mkdir stage3-gcc; \
46498 mv stage3-gcc gcc ; \
46499 mv stage2-gcc prev-gcc || test -f stage2-lean
46500 @endif gcc
46501 @if gmp
46502 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
46503 mkdir stage3-gmp; \
46504 mv stage3-gmp gmp ; \
46505 mv stage2-gmp prev-gmp || test -f stage2-lean
46506 @endif gmp
46507 @if mpfr
46508 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
46509 mkdir stage3-mpfr; \
46510 mv stage3-mpfr mpfr ; \
46511 mv stage2-mpfr prev-mpfr || test -f stage2-lean
46512 @endif mpfr
46513 @if mpc
46514 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
46515 mkdir stage3-mpc; \
46516 mv stage3-mpc mpc ; \
46517 mv stage2-mpc prev-mpc || test -f stage2-lean
46518 @endif mpc
46519 @if isl
46520 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
46521 mkdir stage3-isl; \
46522 mv stage3-isl isl ; \
46523 mv stage2-isl prev-isl || test -f stage2-lean
46524 @endif isl
46525 @if cloog
46526 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
46527 mkdir stage3-cloog; \
46528 mv stage3-cloog cloog ; \
46529 mv stage2-cloog prev-cloog || test -f stage2-lean
46530 @endif cloog
46531 @if libelf
46532 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
46533 mkdir stage3-libelf; \
46534 mv stage3-libelf libelf ; \
46535 mv stage2-libelf prev-libelf || test -f stage2-lean
46536 @endif libelf
46537 @if gold
46538 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
46539 mkdir stage3-gold; \
46540 mv stage3-gold gold ; \
46541 mv stage2-gold prev-gold || test -f stage2-lean
46542 @endif gold
46543 @if intl
46544 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
46545 mkdir stage3-intl; \
46546 mv stage3-intl intl ; \
46547 mv stage2-intl prev-intl || test -f stage2-lean
46548 @endif intl
46549 @if ld
46550 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
46551 mkdir stage3-ld; \
46552 mv stage3-ld ld ; \
46553 mv stage2-ld prev-ld || test -f stage2-lean
46554 @endif ld
46555 @if libbacktrace
46556 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
46557 mkdir stage3-libbacktrace; \
46558 mv stage3-libbacktrace libbacktrace ; \
46559 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
46560 @endif libbacktrace
46561 @if libcpp
46562 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
46563 mkdir stage3-libcpp; \
46564 mv stage3-libcpp libcpp ; \
46565 mv stage2-libcpp prev-libcpp || test -f stage2-lean
46566 @endif libcpp
46567 @if libdecnumber
46568 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
46569 mkdir stage3-libdecnumber; \
46570 mv stage3-libdecnumber libdecnumber ; \
46571 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
46572 @endif libdecnumber
46573 @if libiberty
46574 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
46575 mkdir stage3-libiberty; \
46576 mv stage3-libiberty libiberty ; \
46577 mv stage2-libiberty prev-libiberty || test -f stage2-lean
46578 @endif libiberty
46579 @if libiberty-linker-plugin
46580 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
46581 mkdir stage3-libiberty-linker-plugin; \
46582 mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
46583 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
46584 @endif libiberty-linker-plugin
46585 @if zlib
46586 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
46587 mkdir stage3-zlib; \
46588 mv stage3-zlib zlib ; \
46589 mv stage2-zlib prev-zlib || test -f stage2-lean
46590 @endif zlib
46591 @if lto-plugin
46592 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
46593 mkdir stage3-lto-plugin; \
46594 mv stage3-lto-plugin lto-plugin ; \
46595 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
46596 @endif lto-plugin
46597 @[ -d stage3-$(TARGET_SUBDIR) ] || \
46598 mkdir stage3-$(TARGET_SUBDIR); \
46599 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46600 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
46602 stage3-end::
46603 @if bfd
46604 @if test -d $(HOST_SUBDIR)/bfd ; then \
46605 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
46606 mv prev-bfd stage2-bfd ; : ; \
46608 @endif bfd
46609 @if opcodes
46610 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46611 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
46612 mv prev-opcodes stage2-opcodes ; : ; \
46614 @endif opcodes
46615 @if binutils
46616 @if test -d $(HOST_SUBDIR)/binutils ; then \
46617 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
46618 mv prev-binutils stage2-binutils ; : ; \
46620 @endif binutils
46621 @if fixincludes
46622 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46623 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
46624 mv prev-fixincludes stage2-fixincludes ; : ; \
46626 @endif fixincludes
46627 @if gas
46628 @if test -d $(HOST_SUBDIR)/gas ; then \
46629 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
46630 mv prev-gas stage2-gas ; : ; \
46632 @endif gas
46633 @if gcc
46634 @if test -d $(HOST_SUBDIR)/gcc ; then \
46635 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
46636 mv prev-gcc stage2-gcc ; : ; \
46638 @endif gcc
46639 @if gmp
46640 @if test -d $(HOST_SUBDIR)/gmp ; then \
46641 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
46642 mv prev-gmp stage2-gmp ; : ; \
46644 @endif gmp
46645 @if mpfr
46646 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46647 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
46648 mv prev-mpfr stage2-mpfr ; : ; \
46650 @endif mpfr
46651 @if mpc
46652 @if test -d $(HOST_SUBDIR)/mpc ; then \
46653 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
46654 mv prev-mpc stage2-mpc ; : ; \
46656 @endif mpc
46657 @if isl
46658 @if test -d $(HOST_SUBDIR)/isl ; then \
46659 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
46660 mv prev-isl stage2-isl ; : ; \
46662 @endif isl
46663 @if cloog
46664 @if test -d $(HOST_SUBDIR)/cloog ; then \
46665 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
46666 mv prev-cloog stage2-cloog ; : ; \
46668 @endif cloog
46669 @if libelf
46670 @if test -d $(HOST_SUBDIR)/libelf ; then \
46671 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
46672 mv prev-libelf stage2-libelf ; : ; \
46674 @endif libelf
46675 @if gold
46676 @if test -d $(HOST_SUBDIR)/gold ; then \
46677 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
46678 mv prev-gold stage2-gold ; : ; \
46680 @endif gold
46681 @if intl
46682 @if test -d $(HOST_SUBDIR)/intl ; then \
46683 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
46684 mv prev-intl stage2-intl ; : ; \
46686 @endif intl
46687 @if ld
46688 @if test -d $(HOST_SUBDIR)/ld ; then \
46689 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
46690 mv prev-ld stage2-ld ; : ; \
46692 @endif ld
46693 @if libbacktrace
46694 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46695 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
46696 mv prev-libbacktrace stage2-libbacktrace ; : ; \
46698 @endif libbacktrace
46699 @if libcpp
46700 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46701 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
46702 mv prev-libcpp stage2-libcpp ; : ; \
46704 @endif libcpp
46705 @if libdecnumber
46706 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46707 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
46708 mv prev-libdecnumber stage2-libdecnumber ; : ; \
46710 @endif libdecnumber
46711 @if libiberty
46712 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46713 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
46714 mv prev-libiberty stage2-libiberty ; : ; \
46716 @endif libiberty
46717 @if libiberty-linker-plugin
46718 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46719 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
46720 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
46722 @endif libiberty-linker-plugin
46723 @if zlib
46724 @if test -d $(HOST_SUBDIR)/zlib ; then \
46725 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
46726 mv prev-zlib stage2-zlib ; : ; \
46728 @endif zlib
46729 @if lto-plugin
46730 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46731 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
46732 mv prev-lto-plugin stage2-lto-plugin ; : ; \
46734 @endif lto-plugin
46735 @if test -d $(TARGET_SUBDIR) ; then \
46736 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
46737 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
46739 rm -f stage_current
46741 # Bubble a bug fix through all the stages up to stage 3. They are
46742 # remade, but not reconfigured. The next stage (if any) will not be
46743 # reconfigured either.
46744 .PHONY: stage3-bubble
46745 stage3-bubble:: stage2-bubble
46746 @r=`${PWD_COMMAND}`; export r; \
46747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46748 if test -f stage3-lean || test -f stage2-lean ; then \
46749 echo Skipping rebuild of stage3 ; \
46750 else \
46751 $(MAKE) stage3-start; \
46752 if $(LEAN); then \
46753 rm -rf stage1-* ; \
46754 $(STAMP) stage1-lean ; \
46755 fi; \
46756 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
46758 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
46760 .PHONY: all-stage3 clean-stage3
46761 do-clean: clean-stage3
46763 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46764 # only possibility, but now it conflicts with no-bootstrap rules
46765 @if gcc-bootstrap
46767 compare:
46768 @r=`${PWD_COMMAND}`; export r; \
46769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46770 if test -f stage2-lean; then \
46771 echo Cannot compare object files as stage 2 was deleted. ; \
46772 exit 0 ; \
46773 fi; \
46774 : $(MAKE); $(stage); \
46775 rm -f .bad_compare ; \
46776 echo Comparing stages 2 and 3 ; \
46777 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
46778 files=`find stage3-* -name "*$(objext)" -print | \
46779 sed -n s,^stage$$sed-,,p` ; \
46780 for file in $${files} ; do \
46781 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
46782 if test ! -f $$f1; then continue; fi; \
46783 $(do-compare) > /dev/null 2>&1; \
46784 if test $$? -eq 1; then \
46785 case $$file in \
46786 @compare_exclusions@) \
46787 echo warning: $$file differs ;; \
46788 *) \
46789 echo $$file differs >> .bad_compare ;; \
46790 esac ; \
46791 fi ; \
46792 done ; \
46793 if [ -f .bad_compare ]; then \
46794 echo "Bootstrap comparison failure!"; \
46795 cat .bad_compare; \
46796 exit 1; \
46797 else \
46798 echo Comparison successful.; \
46799 fi ; \
46800 $(STAMP) compare
46801 if $(LEAN); then \
46802 rm -rf stage2-*; \
46803 $(STAMP) stage2-lean; \
46808 .PHONY: bootstrap bootstrap-lean
46809 bootstrap:
46810 echo stage3 > stage_final
46811 @r=`${PWD_COMMAND}`; export r; \
46812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46813 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46814 @: $(MAKE); $(unstage)
46815 @r=`${PWD_COMMAND}`; export r; \
46816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46817 TFLAGS="$(STAGE3_TFLAGS)"; \
46818 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46820 bootstrap-lean:
46821 echo stage3 > stage_final
46822 @r=`${PWD_COMMAND}`; export r; \
46823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46824 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
46825 @: $(MAKE); $(unstage)
46826 @r=`${PWD_COMMAND}`; export r; \
46827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46828 TFLAGS="$(STAGE3_TFLAGS)"; \
46829 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46832 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46833 distclean-stage2:: distclean-stage3
46834 .PHONY: distclean-stage3
46835 distclean-stage3::
46836 @: $(MAKE); $(stage)
46837 @test "`cat stage_last`" != stage3 || rm -f stage_last
46838 rm -rf stage3-* compare
46841 .PHONY: cleanstrap
46842 cleanstrap: do-distclean local-clean
46843 echo stage3 > stage_final
46844 @r=`${PWD_COMMAND}`; export r; \
46845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46846 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46847 @: $(MAKE); $(unstage)
46848 @r=`${PWD_COMMAND}`; export r; \
46849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46850 TFLAGS="$(STAGE3_TFLAGS)"; \
46851 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46853 @endif gcc-bootstrap
46856 .PHONY: stage4-start stage4-end
46858 stage4-start::
46859 @: $(MAKE); $(stage); \
46860 echo stage4 > stage_current ; \
46861 echo stage4 > stage_last; \
46862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46863 @if bfd
46864 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
46865 mkdir stage4-bfd; \
46866 mv stage4-bfd bfd ; \
46867 mv stage3-bfd prev-bfd || test -f stage3-lean
46868 @endif bfd
46869 @if opcodes
46870 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
46871 mkdir stage4-opcodes; \
46872 mv stage4-opcodes opcodes ; \
46873 mv stage3-opcodes prev-opcodes || test -f stage3-lean
46874 @endif opcodes
46875 @if binutils
46876 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
46877 mkdir stage4-binutils; \
46878 mv stage4-binutils binutils ; \
46879 mv stage3-binutils prev-binutils || test -f stage3-lean
46880 @endif binutils
46881 @if fixincludes
46882 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
46883 mkdir stage4-fixincludes; \
46884 mv stage4-fixincludes fixincludes ; \
46885 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
46886 @endif fixincludes
46887 @if gas
46888 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
46889 mkdir stage4-gas; \
46890 mv stage4-gas gas ; \
46891 mv stage3-gas prev-gas || test -f stage3-lean
46892 @endif gas
46893 @if gcc
46894 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
46895 mkdir stage4-gcc; \
46896 mv stage4-gcc gcc ; \
46897 mv stage3-gcc prev-gcc || test -f stage3-lean
46898 @endif gcc
46899 @if gmp
46900 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
46901 mkdir stage4-gmp; \
46902 mv stage4-gmp gmp ; \
46903 mv stage3-gmp prev-gmp || test -f stage3-lean
46904 @endif gmp
46905 @if mpfr
46906 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
46907 mkdir stage4-mpfr; \
46908 mv stage4-mpfr mpfr ; \
46909 mv stage3-mpfr prev-mpfr || test -f stage3-lean
46910 @endif mpfr
46911 @if mpc
46912 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
46913 mkdir stage4-mpc; \
46914 mv stage4-mpc mpc ; \
46915 mv stage3-mpc prev-mpc || test -f stage3-lean
46916 @endif mpc
46917 @if isl
46918 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
46919 mkdir stage4-isl; \
46920 mv stage4-isl isl ; \
46921 mv stage3-isl prev-isl || test -f stage3-lean
46922 @endif isl
46923 @if cloog
46924 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
46925 mkdir stage4-cloog; \
46926 mv stage4-cloog cloog ; \
46927 mv stage3-cloog prev-cloog || test -f stage3-lean
46928 @endif cloog
46929 @if libelf
46930 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
46931 mkdir stage4-libelf; \
46932 mv stage4-libelf libelf ; \
46933 mv stage3-libelf prev-libelf || test -f stage3-lean
46934 @endif libelf
46935 @if gold
46936 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
46937 mkdir stage4-gold; \
46938 mv stage4-gold gold ; \
46939 mv stage3-gold prev-gold || test -f stage3-lean
46940 @endif gold
46941 @if intl
46942 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
46943 mkdir stage4-intl; \
46944 mv stage4-intl intl ; \
46945 mv stage3-intl prev-intl || test -f stage3-lean
46946 @endif intl
46947 @if ld
46948 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
46949 mkdir stage4-ld; \
46950 mv stage4-ld ld ; \
46951 mv stage3-ld prev-ld || test -f stage3-lean
46952 @endif ld
46953 @if libbacktrace
46954 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
46955 mkdir stage4-libbacktrace; \
46956 mv stage4-libbacktrace libbacktrace ; \
46957 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
46958 @endif libbacktrace
46959 @if libcpp
46960 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
46961 mkdir stage4-libcpp; \
46962 mv stage4-libcpp libcpp ; \
46963 mv stage3-libcpp prev-libcpp || test -f stage3-lean
46964 @endif libcpp
46965 @if libdecnumber
46966 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
46967 mkdir stage4-libdecnumber; \
46968 mv stage4-libdecnumber libdecnumber ; \
46969 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
46970 @endif libdecnumber
46971 @if libiberty
46972 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
46973 mkdir stage4-libiberty; \
46974 mv stage4-libiberty libiberty ; \
46975 mv stage3-libiberty prev-libiberty || test -f stage3-lean
46976 @endif libiberty
46977 @if libiberty-linker-plugin
46978 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
46979 mkdir stage4-libiberty-linker-plugin; \
46980 mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
46981 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
46982 @endif libiberty-linker-plugin
46983 @if zlib
46984 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
46985 mkdir stage4-zlib; \
46986 mv stage4-zlib zlib ; \
46987 mv stage3-zlib prev-zlib || test -f stage3-lean
46988 @endif zlib
46989 @if lto-plugin
46990 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
46991 mkdir stage4-lto-plugin; \
46992 mv stage4-lto-plugin lto-plugin ; \
46993 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
46994 @endif lto-plugin
46995 @[ -d stage4-$(TARGET_SUBDIR) ] || \
46996 mkdir stage4-$(TARGET_SUBDIR); \
46997 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46998 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
47000 stage4-end::
47001 @if bfd
47002 @if test -d $(HOST_SUBDIR)/bfd ; then \
47003 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47004 mv prev-bfd stage3-bfd ; : ; \
47006 @endif bfd
47007 @if opcodes
47008 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47009 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47010 mv prev-opcodes stage3-opcodes ; : ; \
47012 @endif opcodes
47013 @if binutils
47014 @if test -d $(HOST_SUBDIR)/binutils ; then \
47015 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47016 mv prev-binutils stage3-binutils ; : ; \
47018 @endif binutils
47019 @if fixincludes
47020 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47021 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
47022 mv prev-fixincludes stage3-fixincludes ; : ; \
47024 @endif fixincludes
47025 @if gas
47026 @if test -d $(HOST_SUBDIR)/gas ; then \
47027 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47028 mv prev-gas stage3-gas ; : ; \
47030 @endif gas
47031 @if gcc
47032 @if test -d $(HOST_SUBDIR)/gcc ; then \
47033 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47034 mv prev-gcc stage3-gcc ; : ; \
47036 @endif gcc
47037 @if gmp
47038 @if test -d $(HOST_SUBDIR)/gmp ; then \
47039 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47040 mv prev-gmp stage3-gmp ; : ; \
47042 @endif gmp
47043 @if mpfr
47044 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47045 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47046 mv prev-mpfr stage3-mpfr ; : ; \
47048 @endif mpfr
47049 @if mpc
47050 @if test -d $(HOST_SUBDIR)/mpc ; then \
47051 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
47052 mv prev-mpc stage3-mpc ; : ; \
47054 @endif mpc
47055 @if isl
47056 @if test -d $(HOST_SUBDIR)/isl ; then \
47057 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
47058 mv prev-isl stage3-isl ; : ; \
47060 @endif isl
47061 @if cloog
47062 @if test -d $(HOST_SUBDIR)/cloog ; then \
47063 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
47064 mv prev-cloog stage3-cloog ; : ; \
47066 @endif cloog
47067 @if libelf
47068 @if test -d $(HOST_SUBDIR)/libelf ; then \
47069 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
47070 mv prev-libelf stage3-libelf ; : ; \
47072 @endif libelf
47073 @if gold
47074 @if test -d $(HOST_SUBDIR)/gold ; then \
47075 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
47076 mv prev-gold stage3-gold ; : ; \
47078 @endif gold
47079 @if intl
47080 @if test -d $(HOST_SUBDIR)/intl ; then \
47081 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47082 mv prev-intl stage3-intl ; : ; \
47084 @endif intl
47085 @if ld
47086 @if test -d $(HOST_SUBDIR)/ld ; then \
47087 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47088 mv prev-ld stage3-ld ; : ; \
47090 @endif ld
47091 @if libbacktrace
47092 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47093 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
47094 mv prev-libbacktrace stage3-libbacktrace ; : ; \
47096 @endif libbacktrace
47097 @if libcpp
47098 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47099 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47100 mv prev-libcpp stage3-libcpp ; : ; \
47102 @endif libcpp
47103 @if libdecnumber
47104 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47105 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47106 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47108 @endif libdecnumber
47109 @if libiberty
47110 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47111 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47112 mv prev-libiberty stage3-libiberty ; : ; \
47114 @endif libiberty
47115 @if libiberty-linker-plugin
47116 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47117 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
47118 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
47120 @endif libiberty-linker-plugin
47121 @if zlib
47122 @if test -d $(HOST_SUBDIR)/zlib ; then \
47123 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47124 mv prev-zlib stage3-zlib ; : ; \
47126 @endif zlib
47127 @if lto-plugin
47128 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47129 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47130 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47132 @endif lto-plugin
47133 @if test -d $(TARGET_SUBDIR) ; then \
47134 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47135 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47137 rm -f stage_current
47139 # Bubble a bug fix through all the stages up to stage 4. They are
47140 # remade, but not reconfigured. The next stage (if any) will not be
47141 # reconfigured either.
47142 .PHONY: stage4-bubble
47143 stage4-bubble:: stage3-bubble
47144 @r=`${PWD_COMMAND}`; export r; \
47145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47146 if test -f stage4-lean || test -f stage3-lean ; then \
47147 echo Skipping rebuild of stage4 ; \
47148 else \
47149 $(MAKE) stage4-start; \
47150 if $(LEAN); then \
47151 rm -rf stage2-* ; \
47152 $(STAMP) stage2-lean ; \
47153 fi; \
47154 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47156 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47158 .PHONY: all-stage4 clean-stage4
47159 do-clean: clean-stage4
47161 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47162 # only possibility, but now it conflicts with no-bootstrap rules
47163 @if gcc-bootstrap
47165 compare3:
47166 @r=`${PWD_COMMAND}`; export r; \
47167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47168 if test -f stage3-lean; then \
47169 echo Cannot compare object files as stage 3 was deleted. ; \
47170 exit 0 ; \
47171 fi; \
47172 : $(MAKE); $(stage); \
47173 rm -f .bad_compare ; \
47174 echo Comparing stages 3 and 4 ; \
47175 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47176 files=`find stage4-* -name "*$(objext)" -print | \
47177 sed -n s,^stage$$sed-,,p` ; \
47178 for file in $${files} ; do \
47179 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47180 if test ! -f $$f1; then continue; fi; \
47181 $(do-compare3) > /dev/null 2>&1; \
47182 if test $$? -eq 1; then \
47183 case $$file in \
47184 @compare_exclusions@) \
47185 echo warning: $$file differs ;; \
47186 *) \
47187 echo $$file differs >> .bad_compare ;; \
47188 esac ; \
47189 fi ; \
47190 done ; \
47191 if [ -f .bad_compare ]; then \
47192 echo "Bootstrap comparison failure!"; \
47193 cat .bad_compare; \
47194 exit 1; \
47195 else \
47196 echo Comparison successful.; \
47197 fi ; \
47198 $(STAMP) compare3
47199 if $(LEAN); then \
47200 rm -rf stage3-*; \
47201 $(STAMP) stage3-lean; \
47206 .PHONY: bootstrap4 bootstrap4-lean
47207 bootstrap4:
47208 echo stage4 > stage_final
47209 @r=`${PWD_COMMAND}`; export r; \
47210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47211 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47212 @: $(MAKE); $(unstage)
47213 @r=`${PWD_COMMAND}`; export r; \
47214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47215 TFLAGS="$(STAGE4_TFLAGS)"; \
47216 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47218 bootstrap4-lean:
47219 echo stage4 > stage_final
47220 @r=`${PWD_COMMAND}`; export r; \
47221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47222 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47223 @: $(MAKE); $(unstage)
47224 @r=`${PWD_COMMAND}`; export r; \
47225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47226 TFLAGS="$(STAGE4_TFLAGS)"; \
47227 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47230 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47231 distclean-stage3:: distclean-stage4
47232 .PHONY: distclean-stage4
47233 distclean-stage4::
47234 @: $(MAKE); $(stage)
47235 @test "`cat stage_last`" != stage4 || rm -f stage_last
47236 rm -rf stage4-* compare3
47239 @endif gcc-bootstrap
47242 .PHONY: stageprofile-start stageprofile-end
47244 stageprofile-start::
47245 @: $(MAKE); $(stage); \
47246 echo stageprofile > stage_current ; \
47247 echo stageprofile > stage_last; \
47248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47249 @if bfd
47250 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47251 mkdir stageprofile-bfd; \
47252 mv stageprofile-bfd bfd ; \
47253 mv stage1-bfd prev-bfd || test -f stage1-lean
47254 @endif bfd
47255 @if opcodes
47256 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47257 mkdir stageprofile-opcodes; \
47258 mv stageprofile-opcodes opcodes ; \
47259 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47260 @endif opcodes
47261 @if binutils
47262 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47263 mkdir stageprofile-binutils; \
47264 mv stageprofile-binutils binutils ; \
47265 mv stage1-binutils prev-binutils || test -f stage1-lean
47266 @endif binutils
47267 @if fixincludes
47268 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47269 mkdir stageprofile-fixincludes; \
47270 mv stageprofile-fixincludes fixincludes ; \
47271 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47272 @endif fixincludes
47273 @if gas
47274 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47275 mkdir stageprofile-gas; \
47276 mv stageprofile-gas gas ; \
47277 mv stage1-gas prev-gas || test -f stage1-lean
47278 @endif gas
47279 @if gcc
47280 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47281 mkdir stageprofile-gcc; \
47282 mv stageprofile-gcc gcc ; \
47283 mv stage1-gcc prev-gcc || test -f stage1-lean
47284 @endif gcc
47285 @if gmp
47286 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47287 mkdir stageprofile-gmp; \
47288 mv stageprofile-gmp gmp ; \
47289 mv stage1-gmp prev-gmp || test -f stage1-lean
47290 @endif gmp
47291 @if mpfr
47292 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47293 mkdir stageprofile-mpfr; \
47294 mv stageprofile-mpfr mpfr ; \
47295 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47296 @endif mpfr
47297 @if mpc
47298 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47299 mkdir stageprofile-mpc; \
47300 mv stageprofile-mpc mpc ; \
47301 mv stage1-mpc prev-mpc || test -f stage1-lean
47302 @endif mpc
47303 @if isl
47304 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47305 mkdir stageprofile-isl; \
47306 mv stageprofile-isl isl ; \
47307 mv stage1-isl prev-isl || test -f stage1-lean
47308 @endif isl
47309 @if cloog
47310 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
47311 mkdir stageprofile-cloog; \
47312 mv stageprofile-cloog cloog ; \
47313 mv stage1-cloog prev-cloog || test -f stage1-lean
47314 @endif cloog
47315 @if libelf
47316 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47317 mkdir stageprofile-libelf; \
47318 mv stageprofile-libelf libelf ; \
47319 mv stage1-libelf prev-libelf || test -f stage1-lean
47320 @endif libelf
47321 @if gold
47322 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47323 mkdir stageprofile-gold; \
47324 mv stageprofile-gold gold ; \
47325 mv stage1-gold prev-gold || test -f stage1-lean
47326 @endif gold
47327 @if intl
47328 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47329 mkdir stageprofile-intl; \
47330 mv stageprofile-intl intl ; \
47331 mv stage1-intl prev-intl || test -f stage1-lean
47332 @endif intl
47333 @if ld
47334 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47335 mkdir stageprofile-ld; \
47336 mv stageprofile-ld ld ; \
47337 mv stage1-ld prev-ld || test -f stage1-lean
47338 @endif ld
47339 @if libbacktrace
47340 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47341 mkdir stageprofile-libbacktrace; \
47342 mv stageprofile-libbacktrace libbacktrace ; \
47343 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47344 @endif libbacktrace
47345 @if libcpp
47346 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47347 mkdir stageprofile-libcpp; \
47348 mv stageprofile-libcpp libcpp ; \
47349 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47350 @endif libcpp
47351 @if libdecnumber
47352 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47353 mkdir stageprofile-libdecnumber; \
47354 mv stageprofile-libdecnumber libdecnumber ; \
47355 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47356 @endif libdecnumber
47357 @if libiberty
47358 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47359 mkdir stageprofile-libiberty; \
47360 mv stageprofile-libiberty libiberty ; \
47361 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47362 @endif libiberty
47363 @if libiberty-linker-plugin
47364 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
47365 mkdir stageprofile-libiberty-linker-plugin; \
47366 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
47367 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
47368 @endif libiberty-linker-plugin
47369 @if zlib
47370 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47371 mkdir stageprofile-zlib; \
47372 mv stageprofile-zlib zlib ; \
47373 mv stage1-zlib prev-zlib || test -f stage1-lean
47374 @endif zlib
47375 @if lto-plugin
47376 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47377 mkdir stageprofile-lto-plugin; \
47378 mv stageprofile-lto-plugin lto-plugin ; \
47379 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47380 @endif lto-plugin
47381 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47382 mkdir stageprofile-$(TARGET_SUBDIR); \
47383 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47384 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47386 stageprofile-end::
47387 @if bfd
47388 @if test -d $(HOST_SUBDIR)/bfd ; then \
47389 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47390 mv prev-bfd stage1-bfd ; : ; \
47392 @endif bfd
47393 @if opcodes
47394 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47395 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47396 mv prev-opcodes stage1-opcodes ; : ; \
47398 @endif opcodes
47399 @if binutils
47400 @if test -d $(HOST_SUBDIR)/binutils ; then \
47401 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47402 mv prev-binutils stage1-binutils ; : ; \
47404 @endif binutils
47405 @if fixincludes
47406 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47407 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47408 mv prev-fixincludes stage1-fixincludes ; : ; \
47410 @endif fixincludes
47411 @if gas
47412 @if test -d $(HOST_SUBDIR)/gas ; then \
47413 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47414 mv prev-gas stage1-gas ; : ; \
47416 @endif gas
47417 @if gcc
47418 @if test -d $(HOST_SUBDIR)/gcc ; then \
47419 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47420 mv prev-gcc stage1-gcc ; : ; \
47422 @endif gcc
47423 @if gmp
47424 @if test -d $(HOST_SUBDIR)/gmp ; then \
47425 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47426 mv prev-gmp stage1-gmp ; : ; \
47428 @endif gmp
47429 @if mpfr
47430 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47431 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47432 mv prev-mpfr stage1-mpfr ; : ; \
47434 @endif mpfr
47435 @if mpc
47436 @if test -d $(HOST_SUBDIR)/mpc ; then \
47437 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47438 mv prev-mpc stage1-mpc ; : ; \
47440 @endif mpc
47441 @if isl
47442 @if test -d $(HOST_SUBDIR)/isl ; then \
47443 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47444 mv prev-isl stage1-isl ; : ; \
47446 @endif isl
47447 @if cloog
47448 @if test -d $(HOST_SUBDIR)/cloog ; then \
47449 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
47450 mv prev-cloog stage1-cloog ; : ; \
47452 @endif cloog
47453 @if libelf
47454 @if test -d $(HOST_SUBDIR)/libelf ; then \
47455 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47456 mv prev-libelf stage1-libelf ; : ; \
47458 @endif libelf
47459 @if gold
47460 @if test -d $(HOST_SUBDIR)/gold ; then \
47461 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47462 mv prev-gold stage1-gold ; : ; \
47464 @endif gold
47465 @if intl
47466 @if test -d $(HOST_SUBDIR)/intl ; then \
47467 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47468 mv prev-intl stage1-intl ; : ; \
47470 @endif intl
47471 @if ld
47472 @if test -d $(HOST_SUBDIR)/ld ; then \
47473 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47474 mv prev-ld stage1-ld ; : ; \
47476 @endif ld
47477 @if libbacktrace
47478 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47479 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
47480 mv prev-libbacktrace stage1-libbacktrace ; : ; \
47482 @endif libbacktrace
47483 @if libcpp
47484 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47485 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
47486 mv prev-libcpp stage1-libcpp ; : ; \
47488 @endif libcpp
47489 @if libdecnumber
47490 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47491 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
47492 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47494 @endif libdecnumber
47495 @if libiberty
47496 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47497 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
47498 mv prev-libiberty stage1-libiberty ; : ; \
47500 @endif libiberty
47501 @if libiberty-linker-plugin
47502 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47503 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
47504 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
47506 @endif libiberty-linker-plugin
47507 @if zlib
47508 @if test -d $(HOST_SUBDIR)/zlib ; then \
47509 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
47510 mv prev-zlib stage1-zlib ; : ; \
47512 @endif zlib
47513 @if lto-plugin
47514 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47515 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
47516 mv prev-lto-plugin stage1-lto-plugin ; : ; \
47518 @endif lto-plugin
47519 @if test -d $(TARGET_SUBDIR) ; then \
47520 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
47521 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47523 rm -f stage_current
47525 # Bubble a bug fix through all the stages up to stage profile. They are
47526 # remade, but not reconfigured. The next stage (if any) will not be
47527 # reconfigured either.
47528 .PHONY: stageprofile-bubble
47529 stageprofile-bubble:: stage1-bubble
47530 @r=`${PWD_COMMAND}`; export r; \
47531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47532 if test -f stageprofile-lean || test -f stage1-lean ; then \
47533 echo Skipping rebuild of stageprofile ; \
47534 else \
47535 $(MAKE) stageprofile-start; \
47536 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
47539 .PHONY: all-stageprofile clean-stageprofile
47540 do-clean: clean-stageprofile
47542 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47543 # only possibility, but now it conflicts with no-bootstrap rules
47544 @if gcc-bootstrap
47549 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47550 distclean-stage1:: distclean-stageprofile
47551 .PHONY: distclean-stageprofile
47552 distclean-stageprofile::
47553 @: $(MAKE); $(stage)
47554 @test "`cat stage_last`" != stageprofile || rm -f stage_last
47555 rm -rf stageprofile-*
47558 @endif gcc-bootstrap
47561 .PHONY: stagefeedback-start stagefeedback-end
47563 stagefeedback-start::
47564 @: $(MAKE); $(stage); \
47565 echo stagefeedback > stage_current ; \
47566 echo stagefeedback > stage_last; \
47567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47568 @if bfd
47569 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
47570 mkdir stagefeedback-bfd; \
47571 mv stagefeedback-bfd bfd ; \
47572 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
47573 @endif bfd
47574 @if opcodes
47575 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
47576 mkdir stagefeedback-opcodes; \
47577 mv stagefeedback-opcodes opcodes ; \
47578 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
47579 @endif opcodes
47580 @if binutils
47581 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
47582 mkdir stagefeedback-binutils; \
47583 mv stagefeedback-binutils binutils ; \
47584 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
47585 @endif binutils
47586 @if fixincludes
47587 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
47588 mkdir stagefeedback-fixincludes; \
47589 mv stagefeedback-fixincludes fixincludes ; \
47590 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
47591 @endif fixincludes
47592 @if gas
47593 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
47594 mkdir stagefeedback-gas; \
47595 mv stagefeedback-gas gas ; \
47596 mv stageprofile-gas prev-gas || test -f stageprofile-lean
47597 @endif gas
47598 @if gcc
47599 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
47600 mkdir stagefeedback-gcc; \
47601 mv stagefeedback-gcc gcc ; \
47602 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
47603 @endif gcc
47604 @if gmp
47605 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
47606 mkdir stagefeedback-gmp; \
47607 mv stagefeedback-gmp gmp ; \
47608 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
47609 @endif gmp
47610 @if mpfr
47611 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
47612 mkdir stagefeedback-mpfr; \
47613 mv stagefeedback-mpfr mpfr ; \
47614 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
47615 @endif mpfr
47616 @if mpc
47617 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
47618 mkdir stagefeedback-mpc; \
47619 mv stagefeedback-mpc mpc ; \
47620 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
47621 @endif mpc
47622 @if isl
47623 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
47624 mkdir stagefeedback-isl; \
47625 mv stagefeedback-isl isl ; \
47626 mv stageprofile-isl prev-isl || test -f stageprofile-lean
47627 @endif isl
47628 @if cloog
47629 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
47630 mkdir stagefeedback-cloog; \
47631 mv stagefeedback-cloog cloog ; \
47632 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
47633 @endif cloog
47634 @if libelf
47635 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
47636 mkdir stagefeedback-libelf; \
47637 mv stagefeedback-libelf libelf ; \
47638 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
47639 @endif libelf
47640 @if gold
47641 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
47642 mkdir stagefeedback-gold; \
47643 mv stagefeedback-gold gold ; \
47644 mv stageprofile-gold prev-gold || test -f stageprofile-lean
47645 @endif gold
47646 @if intl
47647 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
47648 mkdir stagefeedback-intl; \
47649 mv stagefeedback-intl intl ; \
47650 mv stageprofile-intl prev-intl || test -f stageprofile-lean
47651 @endif intl
47652 @if ld
47653 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
47654 mkdir stagefeedback-ld; \
47655 mv stagefeedback-ld ld ; \
47656 mv stageprofile-ld prev-ld || test -f stageprofile-lean
47657 @endif ld
47658 @if libbacktrace
47659 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
47660 mkdir stagefeedback-libbacktrace; \
47661 mv stagefeedback-libbacktrace libbacktrace ; \
47662 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
47663 @endif libbacktrace
47664 @if libcpp
47665 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
47666 mkdir stagefeedback-libcpp; \
47667 mv stagefeedback-libcpp libcpp ; \
47668 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
47669 @endif libcpp
47670 @if libdecnumber
47671 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
47672 mkdir stagefeedback-libdecnumber; \
47673 mv stagefeedback-libdecnumber libdecnumber ; \
47674 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
47675 @endif libdecnumber
47676 @if libiberty
47677 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
47678 mkdir stagefeedback-libiberty; \
47679 mv stagefeedback-libiberty libiberty ; \
47680 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
47681 @endif libiberty
47682 @if libiberty-linker-plugin
47683 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
47684 mkdir stagefeedback-libiberty-linker-plugin; \
47685 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
47686 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
47687 @endif libiberty-linker-plugin
47688 @if zlib
47689 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
47690 mkdir stagefeedback-zlib; \
47691 mv stagefeedback-zlib zlib ; \
47692 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
47693 @endif zlib
47694 @if lto-plugin
47695 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
47696 mkdir stagefeedback-lto-plugin; \
47697 mv stagefeedback-lto-plugin lto-plugin ; \
47698 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
47699 @endif lto-plugin
47700 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
47701 mkdir stagefeedback-$(TARGET_SUBDIR); \
47702 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47703 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
47705 stagefeedback-end::
47706 @if bfd
47707 @if test -d $(HOST_SUBDIR)/bfd ; then \
47708 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
47709 mv prev-bfd stageprofile-bfd ; : ; \
47711 @endif bfd
47712 @if opcodes
47713 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47714 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
47715 mv prev-opcodes stageprofile-opcodes ; : ; \
47717 @endif opcodes
47718 @if binutils
47719 @if test -d $(HOST_SUBDIR)/binutils ; then \
47720 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
47721 mv prev-binutils stageprofile-binutils ; : ; \
47723 @endif binutils
47724 @if fixincludes
47725 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47726 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
47727 mv prev-fixincludes stageprofile-fixincludes ; : ; \
47729 @endif fixincludes
47730 @if gas
47731 @if test -d $(HOST_SUBDIR)/gas ; then \
47732 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
47733 mv prev-gas stageprofile-gas ; : ; \
47735 @endif gas
47736 @if gcc
47737 @if test -d $(HOST_SUBDIR)/gcc ; then \
47738 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
47739 mv prev-gcc stageprofile-gcc ; : ; \
47741 @endif gcc
47742 @if gmp
47743 @if test -d $(HOST_SUBDIR)/gmp ; then \
47744 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
47745 mv prev-gmp stageprofile-gmp ; : ; \
47747 @endif gmp
47748 @if mpfr
47749 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47750 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
47751 mv prev-mpfr stageprofile-mpfr ; : ; \
47753 @endif mpfr
47754 @if mpc
47755 @if test -d $(HOST_SUBDIR)/mpc ; then \
47756 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
47757 mv prev-mpc stageprofile-mpc ; : ; \
47759 @endif mpc
47760 @if isl
47761 @if test -d $(HOST_SUBDIR)/isl ; then \
47762 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
47763 mv prev-isl stageprofile-isl ; : ; \
47765 @endif isl
47766 @if cloog
47767 @if test -d $(HOST_SUBDIR)/cloog ; then \
47768 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
47769 mv prev-cloog stageprofile-cloog ; : ; \
47771 @endif cloog
47772 @if libelf
47773 @if test -d $(HOST_SUBDIR)/libelf ; then \
47774 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
47775 mv prev-libelf stageprofile-libelf ; : ; \
47777 @endif libelf
47778 @if gold
47779 @if test -d $(HOST_SUBDIR)/gold ; then \
47780 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
47781 mv prev-gold stageprofile-gold ; : ; \
47783 @endif gold
47784 @if intl
47785 @if test -d $(HOST_SUBDIR)/intl ; then \
47786 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
47787 mv prev-intl stageprofile-intl ; : ; \
47789 @endif intl
47790 @if ld
47791 @if test -d $(HOST_SUBDIR)/ld ; then \
47792 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
47793 mv prev-ld stageprofile-ld ; : ; \
47795 @endif ld
47796 @if libbacktrace
47797 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47798 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
47799 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
47801 @endif libbacktrace
47802 @if libcpp
47803 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47804 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
47805 mv prev-libcpp stageprofile-libcpp ; : ; \
47807 @endif libcpp
47808 @if libdecnumber
47809 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47810 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
47811 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
47813 @endif libdecnumber
47814 @if libiberty
47815 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47816 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
47817 mv prev-libiberty stageprofile-libiberty ; : ; \
47819 @endif libiberty
47820 @if libiberty-linker-plugin
47821 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47822 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
47823 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
47825 @endif libiberty-linker-plugin
47826 @if zlib
47827 @if test -d $(HOST_SUBDIR)/zlib ; then \
47828 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
47829 mv prev-zlib stageprofile-zlib ; : ; \
47831 @endif zlib
47832 @if lto-plugin
47833 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47834 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
47835 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
47837 @endif lto-plugin
47838 @if test -d $(TARGET_SUBDIR) ; then \
47839 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
47840 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
47842 rm -f stage_current
47844 # Bubble a bug fix through all the stages up to stage feedback. They are
47845 # remade, but not reconfigured. The next stage (if any) will not be
47846 # reconfigured either.
47847 .PHONY: stagefeedback-bubble
47848 stagefeedback-bubble:: stageprofile-bubble
47849 @r=`${PWD_COMMAND}`; export r; \
47850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47851 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
47852 echo Skipping rebuild of stagefeedback ; \
47853 else \
47854 $(MAKE) stagefeedback-start; \
47855 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
47858 .PHONY: all-stagefeedback clean-stagefeedback
47859 do-clean: clean-stagefeedback
47861 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47862 # only possibility, but now it conflicts with no-bootstrap rules
47863 @if gcc-bootstrap
47867 .PHONY: profiledbootstrap profiledbootstrap-lean
47868 profiledbootstrap:
47869 echo stagefeedback > stage_final
47870 @r=`${PWD_COMMAND}`; export r; \
47871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47872 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
47873 @: $(MAKE); $(unstage)
47874 @r=`${PWD_COMMAND}`; export r; \
47875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47876 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47877 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47879 profiledbootstrap-lean:
47880 echo stagefeedback > stage_final
47881 @r=`${PWD_COMMAND}`; export r; \
47882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47883 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
47884 @: $(MAKE); $(unstage)
47885 @r=`${PWD_COMMAND}`; export r; \
47886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47887 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47888 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47891 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47892 distclean-stageprofile:: distclean-stagefeedback
47893 .PHONY: distclean-stagefeedback
47894 distclean-stagefeedback::
47895 @: $(MAKE); $(stage)
47896 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
47897 rm -rf stagefeedback-*
47900 @endif gcc-bootstrap
47904 stageprofile-end::
47905 $(MAKE) distclean-stagefeedback
47907 stagefeedback-start::
47908 @r=`${PWD_COMMAND}`; export r; \
47909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47910 for i in prev-*; do \
47911 j=`echo $$i | sed s/^prev-//` ; \
47912 cd $$r/$$i && \
47913 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
47914 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
47915 done
47917 @if gcc-bootstrap
47918 do-distclean: distclean-stage1
47920 # Provide a GCC build when we're building target libraries. This does
47921 # not work as a dependency, just as the minimum necessary to avoid errors.
47922 stage_last:
47923 @r=`${PWD_COMMAND}`; export r; \
47924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47925 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
47927 # Same as unstage, but not phony and defaulting to stage1-start. We place
47928 # it in the dependency so that for example `make -j3 all-gcc' works.
47929 stage_current:
47930 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
47932 .PHONY: restrap
47933 restrap::
47934 @: $(MAKE); $(stage)
47935 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
47936 restrap:: all
47937 @endif gcc-bootstrap
47939 # --------------------------------------
47940 # Dependencies between different modules
47941 # --------------------------------------
47943 # Generic dependencies for target modules on host stuff, especially gcc
47944 @if gcc-bootstrap
47945 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
47946 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
47947 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
47948 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
47949 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
47950 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
47951 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
47952 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
47953 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
47954 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
47955 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
47956 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
47957 configure-stage1-target-libvtv: maybe-all-stage1-gcc
47958 configure-stage2-target-libvtv: maybe-all-stage2-gcc
47959 configure-stage3-target-libvtv: maybe-all-stage3-gcc
47960 configure-stage4-target-libvtv: maybe-all-stage4-gcc
47961 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
47962 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
47963 configure-target-libcilkrts: stage_last
47964 configure-target-libssp: stage_last
47965 configure-target-newlib: stage_last
47966 configure-stage1-target-libgcc: maybe-all-stage1-gcc
47967 configure-stage2-target-libgcc: maybe-all-stage2-gcc
47968 configure-stage3-target-libgcc: maybe-all-stage3-gcc
47969 configure-stage4-target-libgcc: maybe-all-stage4-gcc
47970 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
47971 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
47972 configure-target-libbacktrace: stage_last
47973 configure-target-libquadmath: stage_last
47974 configure-target-libgfortran: stage_last
47975 configure-target-libobjc: stage_last
47976 configure-target-libgo: stage_last
47977 configure-target-libtermcap: stage_last
47978 configure-target-winsup: stage_last
47979 configure-target-libgloss: stage_last
47980 configure-target-libffi: stage_last
47981 configure-target-libjava: stage_last
47982 configure-target-zlib: stage_last
47983 configure-target-boehm-gc: stage_last
47984 configure-target-rda: stage_last
47985 configure-target-libada: stage_last
47986 configure-stage1-target-libgomp: maybe-all-stage1-gcc
47987 configure-stage2-target-libgomp: maybe-all-stage2-gcc
47988 configure-stage3-target-libgomp: maybe-all-stage3-gcc
47989 configure-stage4-target-libgomp: maybe-all-stage4-gcc
47990 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
47991 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
47992 configure-target-libitm: stage_last
47993 configure-target-libatomic: stage_last
47994 @endif gcc-bootstrap
47996 @if gcc-no-bootstrap
47997 configure-target-libstdc++-v3: maybe-all-gcc
47998 configure-target-libsanitizer: maybe-all-gcc
47999 configure-target-libvtv: maybe-all-gcc
48000 configure-target-libcilkrts: maybe-all-gcc
48001 configure-target-libssp: maybe-all-gcc
48002 configure-target-newlib: maybe-all-gcc
48003 configure-target-libgcc: maybe-all-gcc
48004 configure-target-libbacktrace: maybe-all-gcc
48005 configure-target-libquadmath: maybe-all-gcc
48006 configure-target-libgfortran: maybe-all-gcc
48007 configure-target-libobjc: maybe-all-gcc
48008 configure-target-libgo: maybe-all-gcc
48009 configure-target-libtermcap: maybe-all-gcc
48010 configure-target-winsup: maybe-all-gcc
48011 configure-target-libgloss: maybe-all-gcc
48012 configure-target-libffi: maybe-all-gcc
48013 configure-target-libjava: maybe-all-gcc
48014 configure-target-zlib: maybe-all-gcc
48015 configure-target-boehm-gc: maybe-all-gcc
48016 configure-target-rda: maybe-all-gcc
48017 configure-target-libada: maybe-all-gcc
48018 configure-target-libgomp: maybe-all-gcc
48019 configure-target-libitm: maybe-all-gcc
48020 configure-target-libatomic: maybe-all-gcc
48021 @endif gcc-no-bootstrap
48024 # There are two types of dependencies here: 'hard' dependencies, where one
48025 # module simply won't build without the other; and 'soft' dependencies, where
48026 # if the depended-on module is missing, the depending module will do without
48027 # or find a substitute somewhere (perhaps installed). Soft dependencies
48028 # are made here to depend on a 'maybe-' target. If you're not sure,
48029 # it's safer to use a soft dependency.
48036 # With all the machinery above in place, it is pretty easy to generate
48037 # dependencies. Host dependencies are a bit more complex because we have
48038 # to check for bootstrap/prebootstrap dependencies. To resolve
48039 # prebootstrap dependencies, prebootstrap modules are gathered in
48040 # a hash table.
48041 all-build-bison: maybe-all-build-texinfo
48042 all-build-flex: maybe-all-build-texinfo
48043 all-build-flex: maybe-all-build-bison
48044 all-build-flex: maybe-all-build-m4
48045 all-build-libiberty: maybe-all-build-texinfo
48046 all-build-m4: maybe-all-build-texinfo
48047 all-build-fixincludes: maybe-all-build-libiberty
48048 configure-gcc: maybe-configure-intl
48050 configure-stage1-gcc: maybe-configure-stage1-intl
48051 configure-stage2-gcc: maybe-configure-stage2-intl
48052 configure-stage3-gcc: maybe-configure-stage3-intl
48053 configure-stage4-gcc: maybe-configure-stage4-intl
48054 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48055 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48056 configure-gcc: maybe-all-gmp
48058 configure-stage1-gcc: maybe-all-stage1-gmp
48059 configure-stage2-gcc: maybe-all-stage2-gmp
48060 configure-stage3-gcc: maybe-all-stage3-gmp
48061 configure-stage4-gcc: maybe-all-stage4-gmp
48062 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
48063 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48064 configure-gcc: maybe-all-lto-plugin
48066 configure-stage1-gcc: maybe-all-stage1-lto-plugin
48067 configure-stage2-gcc: maybe-all-stage2-lto-plugin
48068 configure-stage3-gcc: maybe-all-stage3-lto-plugin
48069 configure-stage4-gcc: maybe-all-stage4-lto-plugin
48070 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48071 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48072 configure-gcc: maybe-all-binutils
48074 configure-stage1-gcc: maybe-all-stage1-binutils
48075 configure-stage2-gcc: maybe-all-stage2-binutils
48076 configure-stage3-gcc: maybe-all-stage3-binutils
48077 configure-stage4-gcc: maybe-all-stage4-binutils
48078 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48079 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48080 configure-gcc: maybe-all-gas
48082 configure-stage1-gcc: maybe-all-stage1-gas
48083 configure-stage2-gcc: maybe-all-stage2-gas
48084 configure-stage3-gcc: maybe-all-stage3-gas
48085 configure-stage4-gcc: maybe-all-stage4-gas
48086 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48087 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48088 configure-gcc: maybe-all-ld
48090 configure-stage1-gcc: maybe-all-stage1-ld
48091 configure-stage2-gcc: maybe-all-stage2-ld
48092 configure-stage3-gcc: maybe-all-stage3-ld
48093 configure-stage4-gcc: maybe-all-stage4-ld
48094 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48095 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48096 configure-gcc: maybe-all-gold
48098 configure-stage1-gcc: maybe-all-stage1-gold
48099 configure-stage2-gcc: maybe-all-stage2-gold
48100 configure-stage3-gcc: maybe-all-stage3-gold
48101 configure-stage4-gcc: maybe-all-stage4-gold
48102 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48103 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48104 configure-gcc: maybe-all-libelf
48106 configure-stage1-gcc: maybe-all-stage1-libelf
48107 configure-stage2-gcc: maybe-all-stage2-libelf
48108 configure-stage3-gcc: maybe-all-stage3-libelf
48109 configure-stage4-gcc: maybe-all-stage4-libelf
48110 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48111 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48112 all-gcc: all-libiberty
48114 all-stage1-gcc: all-stage1-libiberty
48115 all-stage2-gcc: all-stage2-libiberty
48116 all-stage3-gcc: all-stage3-libiberty
48117 all-stage4-gcc: all-stage4-libiberty
48118 all-stageprofile-gcc: all-stageprofile-libiberty
48119 all-stagefeedback-gcc: all-stagefeedback-libiberty
48120 all-gcc: maybe-all-intl
48122 all-stage1-gcc: maybe-all-stage1-intl
48123 all-stage2-gcc: maybe-all-stage2-intl
48124 all-stage3-gcc: maybe-all-stage3-intl
48125 all-stage4-gcc: maybe-all-stage4-intl
48126 all-stageprofile-gcc: maybe-all-stageprofile-intl
48127 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48128 all-gcc: maybe-all-mpfr
48130 all-stage1-gcc: maybe-all-stage1-mpfr
48131 all-stage2-gcc: maybe-all-stage2-mpfr
48132 all-stage3-gcc: maybe-all-stage3-mpfr
48133 all-stage4-gcc: maybe-all-stage4-mpfr
48134 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48135 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48136 all-gcc: maybe-all-mpc
48138 all-stage1-gcc: maybe-all-stage1-mpc
48139 all-stage2-gcc: maybe-all-stage2-mpc
48140 all-stage3-gcc: maybe-all-stage3-mpc
48141 all-stage4-gcc: maybe-all-stage4-mpc
48142 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48143 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48144 all-gcc: maybe-all-cloog
48146 all-stage1-gcc: maybe-all-stage1-cloog
48147 all-stage2-gcc: maybe-all-stage2-cloog
48148 all-stage3-gcc: maybe-all-stage3-cloog
48149 all-stage4-gcc: maybe-all-stage4-cloog
48150 all-stageprofile-gcc: maybe-all-stageprofile-cloog
48151 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
48152 all-gcc: maybe-all-build-texinfo
48154 all-stage1-gcc: maybe-all-build-texinfo
48155 all-stage2-gcc: maybe-all-build-texinfo
48156 all-stage3-gcc: maybe-all-build-texinfo
48157 all-stage4-gcc: maybe-all-build-texinfo
48158 all-stageprofile-gcc: maybe-all-build-texinfo
48159 all-stagefeedback-gcc: maybe-all-build-texinfo
48160 all-gcc: maybe-all-build-bison
48162 all-stage1-gcc: maybe-all-build-bison
48163 all-stage2-gcc: maybe-all-build-bison
48164 all-stage3-gcc: maybe-all-build-bison
48165 all-stage4-gcc: maybe-all-build-bison
48166 all-stageprofile-gcc: maybe-all-build-bison
48167 all-stagefeedback-gcc: maybe-all-build-bison
48168 all-gcc: maybe-all-build-flex
48170 all-stage1-gcc: maybe-all-build-flex
48171 all-stage2-gcc: maybe-all-build-flex
48172 all-stage3-gcc: maybe-all-build-flex
48173 all-stage4-gcc: maybe-all-build-flex
48174 all-stageprofile-gcc: maybe-all-build-flex
48175 all-stagefeedback-gcc: maybe-all-build-flex
48176 all-gcc: maybe-all-build-libiberty
48178 all-stage1-gcc: maybe-all-build-libiberty
48179 all-stage2-gcc: maybe-all-build-libiberty
48180 all-stage3-gcc: maybe-all-build-libiberty
48181 all-stage4-gcc: maybe-all-build-libiberty
48182 all-stageprofile-gcc: maybe-all-build-libiberty
48183 all-stagefeedback-gcc: maybe-all-build-libiberty
48184 all-gcc: maybe-all-build-fixincludes
48186 all-stage1-gcc: maybe-all-build-fixincludes
48187 all-stage2-gcc: maybe-all-build-fixincludes
48188 all-stage3-gcc: maybe-all-build-fixincludes
48189 all-stage4-gcc: maybe-all-build-fixincludes
48190 all-stageprofile-gcc: maybe-all-build-fixincludes
48191 all-stagefeedback-gcc: maybe-all-build-fixincludes
48192 all-gcc: maybe-all-zlib
48194 all-stage1-gcc: maybe-all-stage1-zlib
48195 all-stage2-gcc: maybe-all-stage2-zlib
48196 all-stage3-gcc: maybe-all-stage3-zlib
48197 all-stage4-gcc: maybe-all-stage4-zlib
48198 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48199 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48200 all-gcc: all-libbacktrace
48202 all-stage1-gcc: all-stage1-libbacktrace
48203 all-stage2-gcc: all-stage2-libbacktrace
48204 all-stage3-gcc: all-stage3-libbacktrace
48205 all-stage4-gcc: all-stage4-libbacktrace
48206 all-stageprofile-gcc: all-stageprofile-libbacktrace
48207 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48208 all-gcc: all-libcpp
48210 all-stage1-gcc: all-stage1-libcpp
48211 all-stage2-gcc: all-stage2-libcpp
48212 all-stage3-gcc: all-stage3-libcpp
48213 all-stage4-gcc: all-stage4-libcpp
48214 all-stageprofile-gcc: all-stageprofile-libcpp
48215 all-stagefeedback-gcc: all-stagefeedback-libcpp
48216 all-gcc: all-libdecnumber
48218 all-stage1-gcc: all-stage1-libdecnumber
48219 all-stage2-gcc: all-stage2-libdecnumber
48220 all-stage3-gcc: all-stage3-libdecnumber
48221 all-stage4-gcc: all-stage4-libdecnumber
48222 all-stageprofile-gcc: all-stageprofile-libdecnumber
48223 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48224 all-gcc: maybe-all-libiberty
48226 all-stage1-gcc: maybe-all-stage1-libiberty
48227 all-stage2-gcc: maybe-all-stage2-libiberty
48228 all-stage3-gcc: maybe-all-stage3-libiberty
48229 all-stage4-gcc: maybe-all-stage4-libiberty
48230 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48231 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48232 all-gcc: maybe-all-fixincludes
48234 all-stage1-gcc: maybe-all-stage1-fixincludes
48235 all-stage2-gcc: maybe-all-stage2-fixincludes
48236 all-stage3-gcc: maybe-all-stage3-fixincludes
48237 all-stage4-gcc: maybe-all-stage4-fixincludes
48238 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48239 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48240 all-gcc: maybe-all-lto-plugin
48242 all-stage1-gcc: maybe-all-stage1-lto-plugin
48243 all-stage2-gcc: maybe-all-stage2-lto-plugin
48244 all-stage3-gcc: maybe-all-stage3-lto-plugin
48245 all-stage4-gcc: maybe-all-stage4-lto-plugin
48246 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48247 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48248 info-gcc: maybe-all-build-libiberty
48250 info-stage1-gcc: maybe-all-build-libiberty
48251 info-stage2-gcc: maybe-all-build-libiberty
48252 info-stage3-gcc: maybe-all-build-libiberty
48253 info-stage4-gcc: maybe-all-build-libiberty
48254 info-stageprofile-gcc: maybe-all-build-libiberty
48255 info-stagefeedback-gcc: maybe-all-build-libiberty
48256 dvi-gcc: maybe-all-build-libiberty
48258 dvi-stage1-gcc: maybe-all-build-libiberty
48259 dvi-stage2-gcc: maybe-all-build-libiberty
48260 dvi-stage3-gcc: maybe-all-build-libiberty
48261 dvi-stage4-gcc: maybe-all-build-libiberty
48262 dvi-stageprofile-gcc: maybe-all-build-libiberty
48263 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48264 pdf-gcc: maybe-all-build-libiberty
48266 pdf-stage1-gcc: maybe-all-build-libiberty
48267 pdf-stage2-gcc: maybe-all-build-libiberty
48268 pdf-stage3-gcc: maybe-all-build-libiberty
48269 pdf-stage4-gcc: maybe-all-build-libiberty
48270 pdf-stageprofile-gcc: maybe-all-build-libiberty
48271 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48272 html-gcc: maybe-all-build-libiberty
48274 html-stage1-gcc: maybe-all-build-libiberty
48275 html-stage2-gcc: maybe-all-build-libiberty
48276 html-stage3-gcc: maybe-all-build-libiberty
48277 html-stage4-gcc: maybe-all-build-libiberty
48278 html-stageprofile-gcc: maybe-all-build-libiberty
48279 html-stagefeedback-gcc: maybe-all-build-libiberty
48280 install-gcc: maybe-install-fixincludes
48281 install-gcc: maybe-install-lto-plugin
48282 install-strip-gcc: maybe-install-strip-fixincludes
48283 install-strip-gcc: maybe-install-strip-lto-plugin
48284 configure-libcpp: configure-libiberty
48286 configure-stage1-libcpp: configure-stage1-libiberty
48287 configure-stage2-libcpp: configure-stage2-libiberty
48288 configure-stage3-libcpp: configure-stage3-libiberty
48289 configure-stage4-libcpp: configure-stage4-libiberty
48290 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48291 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48292 configure-libcpp: maybe-configure-intl
48294 configure-stage1-libcpp: maybe-configure-stage1-intl
48295 configure-stage2-libcpp: maybe-configure-stage2-intl
48296 configure-stage3-libcpp: maybe-configure-stage3-intl
48297 configure-stage4-libcpp: maybe-configure-stage4-intl
48298 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48299 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48300 all-libcpp: all-libiberty
48302 all-stage1-libcpp: all-stage1-libiberty
48303 all-stage2-libcpp: all-stage2-libiberty
48304 all-stage3-libcpp: all-stage3-libiberty
48305 all-stage4-libcpp: all-stage4-libiberty
48306 all-stageprofile-libcpp: all-stageprofile-libiberty
48307 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48308 all-libcpp: maybe-all-intl
48310 all-stage1-libcpp: maybe-all-stage1-intl
48311 all-stage2-libcpp: maybe-all-stage2-intl
48312 all-stage3-libcpp: maybe-all-stage3-intl
48313 all-stage4-libcpp: maybe-all-stage4-intl
48314 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48315 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48316 all-fixincludes: maybe-all-libiberty
48318 all-stage1-fixincludes: maybe-all-stage1-libiberty
48319 all-stage2-fixincludes: maybe-all-stage2-libiberty
48320 all-stage3-fixincludes: maybe-all-stage3-libiberty
48321 all-stage4-fixincludes: maybe-all-stage4-libiberty
48322 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48323 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48324 all-gnattools: maybe-all-target-libada
48325 all-gnattools: maybe-all-target-libstdc++-v3
48326 all-lto-plugin: maybe-all-libiberty
48328 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48329 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48330 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48331 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48332 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48333 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48334 all-lto-plugin: maybe-all-libiberty-linker-plugin
48336 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
48337 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
48338 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
48339 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
48340 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
48341 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
48342 all-utils: maybe-all-libiberty
48343 configure-mpfr: maybe-all-gmp
48345 configure-stage1-mpfr: maybe-all-stage1-gmp
48346 configure-stage2-mpfr: maybe-all-stage2-gmp
48347 configure-stage3-mpfr: maybe-all-stage3-gmp
48348 configure-stage4-mpfr: maybe-all-stage4-gmp
48349 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48350 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48351 configure-mpc: maybe-all-mpfr
48353 configure-stage1-mpc: maybe-all-stage1-mpfr
48354 configure-stage2-mpc: maybe-all-stage2-mpfr
48355 configure-stage3-mpc: maybe-all-stage3-mpfr
48356 configure-stage4-mpc: maybe-all-stage4-mpfr
48357 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48358 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48359 configure-isl: maybe-all-gmp
48361 configure-stage1-isl: maybe-all-stage1-gmp
48362 configure-stage2-isl: maybe-all-stage2-gmp
48363 configure-stage3-isl: maybe-all-stage3-gmp
48364 configure-stage4-isl: maybe-all-stage4-gmp
48365 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48366 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48367 configure-cloog: maybe-all-isl
48369 configure-stage1-cloog: maybe-all-stage1-isl
48370 configure-stage2-cloog: maybe-all-stage2-isl
48371 configure-stage3-cloog: maybe-all-stage3-isl
48372 configure-stage4-cloog: maybe-all-stage4-isl
48373 configure-stageprofile-cloog: maybe-all-stageprofile-isl
48374 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
48375 configure-cloog: maybe-all-gmp
48377 configure-stage1-cloog: maybe-all-stage1-gmp
48378 configure-stage2-cloog: maybe-all-stage2-gmp
48379 configure-stage3-cloog: maybe-all-stage3-gmp
48380 configure-stage4-cloog: maybe-all-stage4-gmp
48381 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
48382 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
48383 configure-gdb: maybe-all-intl
48384 configure-gdb: maybe-configure-sim
48385 configure-gdb: maybe-all-bfd
48386 configure-gdb: maybe-all-libiconv
48387 all-gdb: maybe-all-libiberty
48388 all-gdb: maybe-all-libiconv
48389 all-gdb: maybe-all-opcodes
48390 all-gdb: maybe-all-readline
48391 all-gdb: maybe-all-build-bison
48392 all-gdb: maybe-all-sim
48393 all-gdb: maybe-all-libdecnumber
48394 all-gdb: maybe-all-libtermcap
48395 configure-libgui: maybe-configure-tcl
48396 configure-libgui: maybe-configure-tk
48397 all-libgui: maybe-all-tcl
48398 all-libgui: maybe-all-tk
48399 all-libgui: maybe-all-itcl
48400 configure-bfd: configure-libiberty
48402 configure-stage1-bfd: configure-stage1-libiberty
48403 configure-stage2-bfd: configure-stage2-libiberty
48404 configure-stage3-bfd: configure-stage3-libiberty
48405 configure-stage4-bfd: configure-stage4-libiberty
48406 configure-stageprofile-bfd: configure-stageprofile-libiberty
48407 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48408 configure-bfd: maybe-configure-intl
48410 configure-stage1-bfd: maybe-configure-stage1-intl
48411 configure-stage2-bfd: maybe-configure-stage2-intl
48412 configure-stage3-bfd: maybe-configure-stage3-intl
48413 configure-stage4-bfd: maybe-configure-stage4-intl
48414 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48415 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48416 all-bfd: maybe-all-libiberty
48418 all-stage1-bfd: maybe-all-stage1-libiberty
48419 all-stage2-bfd: maybe-all-stage2-libiberty
48420 all-stage3-bfd: maybe-all-stage3-libiberty
48421 all-stage4-bfd: maybe-all-stage4-libiberty
48422 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48423 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48424 all-bfd: maybe-all-intl
48426 all-stage1-bfd: maybe-all-stage1-intl
48427 all-stage2-bfd: maybe-all-stage2-intl
48428 all-stage3-bfd: maybe-all-stage3-intl
48429 all-stage4-bfd: maybe-all-stage4-intl
48430 all-stageprofile-bfd: maybe-all-stageprofile-intl
48431 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48432 configure-opcodes: configure-libiberty
48434 configure-stage1-opcodes: configure-stage1-libiberty
48435 configure-stage2-opcodes: configure-stage2-libiberty
48436 configure-stage3-opcodes: configure-stage3-libiberty
48437 configure-stage4-opcodes: configure-stage4-libiberty
48438 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48439 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48440 all-opcodes: maybe-all-libiberty
48442 all-stage1-opcodes: maybe-all-stage1-libiberty
48443 all-stage2-opcodes: maybe-all-stage2-libiberty
48444 all-stage3-opcodes: maybe-all-stage3-libiberty
48445 all-stage4-opcodes: maybe-all-stage4-libiberty
48446 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48447 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48448 configure-binutils: maybe-configure-intl
48450 configure-stage1-binutils: maybe-configure-stage1-intl
48451 configure-stage2-binutils: maybe-configure-stage2-intl
48452 configure-stage3-binutils: maybe-configure-stage3-intl
48453 configure-stage4-binutils: maybe-configure-stage4-intl
48454 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48455 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48456 all-binutils: maybe-all-libiberty
48458 all-stage1-binutils: maybe-all-stage1-libiberty
48459 all-stage2-binutils: maybe-all-stage2-libiberty
48460 all-stage3-binutils: maybe-all-stage3-libiberty
48461 all-stage4-binutils: maybe-all-stage4-libiberty
48462 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48463 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48464 all-binutils: maybe-all-opcodes
48466 all-stage1-binutils: maybe-all-stage1-opcodes
48467 all-stage2-binutils: maybe-all-stage2-opcodes
48468 all-stage3-binutils: maybe-all-stage3-opcodes
48469 all-stage4-binutils: maybe-all-stage4-opcodes
48470 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48471 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48472 all-binutils: maybe-all-bfd
48474 all-stage1-binutils: maybe-all-stage1-bfd
48475 all-stage2-binutils: maybe-all-stage2-bfd
48476 all-stage3-binutils: maybe-all-stage3-bfd
48477 all-stage4-binutils: maybe-all-stage4-bfd
48478 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48479 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48480 all-binutils: maybe-all-build-flex
48482 all-stage1-binutils: maybe-all-build-flex
48483 all-stage2-binutils: maybe-all-build-flex
48484 all-stage3-binutils: maybe-all-build-flex
48485 all-stage4-binutils: maybe-all-build-flex
48486 all-stageprofile-binutils: maybe-all-build-flex
48487 all-stagefeedback-binutils: maybe-all-build-flex
48488 all-binutils: maybe-all-build-bison
48490 all-stage1-binutils: maybe-all-build-bison
48491 all-stage2-binutils: maybe-all-build-bison
48492 all-stage3-binutils: maybe-all-build-bison
48493 all-stage4-binutils: maybe-all-build-bison
48494 all-stageprofile-binutils: maybe-all-build-bison
48495 all-stagefeedback-binutils: maybe-all-build-bison
48496 all-binutils: maybe-all-intl
48498 all-stage1-binutils: maybe-all-stage1-intl
48499 all-stage2-binutils: maybe-all-stage2-intl
48500 all-stage3-binutils: maybe-all-stage3-intl
48501 all-stage4-binutils: maybe-all-stage4-intl
48502 all-stageprofile-binutils: maybe-all-stageprofile-intl
48503 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48504 all-binutils: maybe-all-gas
48506 all-stage1-binutils: maybe-all-stage1-gas
48507 all-stage2-binutils: maybe-all-stage2-gas
48508 all-stage3-binutils: maybe-all-stage3-gas
48509 all-stage4-binutils: maybe-all-stage4-gas
48510 all-stageprofile-binutils: maybe-all-stageprofile-gas
48511 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
48512 install-binutils: maybe-install-opcodes
48513 install-strip-binutils: maybe-install-strip-opcodes
48514 install-opcodes: maybe-install-bfd
48515 install-strip-opcodes: maybe-install-strip-bfd
48516 configure-gas: maybe-configure-intl
48518 configure-stage1-gas: maybe-configure-stage1-intl
48519 configure-stage2-gas: maybe-configure-stage2-intl
48520 configure-stage3-gas: maybe-configure-stage3-intl
48521 configure-stage4-gas: maybe-configure-stage4-intl
48522 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48523 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48524 all-gas: maybe-all-libiberty
48526 all-stage1-gas: maybe-all-stage1-libiberty
48527 all-stage2-gas: maybe-all-stage2-libiberty
48528 all-stage3-gas: maybe-all-stage3-libiberty
48529 all-stage4-gas: maybe-all-stage4-libiberty
48530 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48531 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48532 all-gas: maybe-all-opcodes
48534 all-stage1-gas: maybe-all-stage1-opcodes
48535 all-stage2-gas: maybe-all-stage2-opcodes
48536 all-stage3-gas: maybe-all-stage3-opcodes
48537 all-stage4-gas: maybe-all-stage4-opcodes
48538 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48539 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48540 all-gas: maybe-all-bfd
48542 all-stage1-gas: maybe-all-stage1-bfd
48543 all-stage2-gas: maybe-all-stage2-bfd
48544 all-stage3-gas: maybe-all-stage3-bfd
48545 all-stage4-gas: maybe-all-stage4-bfd
48546 all-stageprofile-gas: maybe-all-stageprofile-bfd
48547 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48548 all-gas: maybe-all-intl
48550 all-stage1-gas: maybe-all-stage1-intl
48551 all-stage2-gas: maybe-all-stage2-intl
48552 all-stage3-gas: maybe-all-stage3-intl
48553 all-stage4-gas: maybe-all-stage4-intl
48554 all-stageprofile-gas: maybe-all-stageprofile-intl
48555 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48556 configure-gprof: maybe-configure-intl
48557 all-gprof: maybe-all-libiberty
48558 all-gprof: maybe-all-bfd
48559 all-gprof: maybe-all-opcodes
48560 all-gprof: maybe-all-intl
48561 all-gprof: maybe-all-gas
48562 configure-ld: maybe-configure-intl
48564 configure-stage1-ld: maybe-configure-stage1-intl
48565 configure-stage2-ld: maybe-configure-stage2-intl
48566 configure-stage3-ld: maybe-configure-stage3-intl
48567 configure-stage4-ld: maybe-configure-stage4-intl
48568 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48569 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48570 all-ld: maybe-all-libiberty
48572 all-stage1-ld: maybe-all-stage1-libiberty
48573 all-stage2-ld: maybe-all-stage2-libiberty
48574 all-stage3-ld: maybe-all-stage3-libiberty
48575 all-stage4-ld: maybe-all-stage4-libiberty
48576 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48577 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48578 all-ld: maybe-all-bfd
48580 all-stage1-ld: maybe-all-stage1-bfd
48581 all-stage2-ld: maybe-all-stage2-bfd
48582 all-stage3-ld: maybe-all-stage3-bfd
48583 all-stage4-ld: maybe-all-stage4-bfd
48584 all-stageprofile-ld: maybe-all-stageprofile-bfd
48585 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48586 all-ld: maybe-all-opcodes
48588 all-stage1-ld: maybe-all-stage1-opcodes
48589 all-stage2-ld: maybe-all-stage2-opcodes
48590 all-stage3-ld: maybe-all-stage3-opcodes
48591 all-stage4-ld: maybe-all-stage4-opcodes
48592 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48593 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48594 all-ld: maybe-all-build-bison
48596 all-stage1-ld: maybe-all-build-bison
48597 all-stage2-ld: maybe-all-build-bison
48598 all-stage3-ld: maybe-all-build-bison
48599 all-stage4-ld: maybe-all-build-bison
48600 all-stageprofile-ld: maybe-all-build-bison
48601 all-stagefeedback-ld: maybe-all-build-bison
48602 all-ld: maybe-all-build-flex
48604 all-stage1-ld: maybe-all-build-flex
48605 all-stage2-ld: maybe-all-build-flex
48606 all-stage3-ld: maybe-all-build-flex
48607 all-stage4-ld: maybe-all-build-flex
48608 all-stageprofile-ld: maybe-all-build-flex
48609 all-stagefeedback-ld: maybe-all-build-flex
48610 all-ld: maybe-all-intl
48612 all-stage1-ld: maybe-all-stage1-intl
48613 all-stage2-ld: maybe-all-stage2-intl
48614 all-stage3-ld: maybe-all-stage3-intl
48615 all-stage4-ld: maybe-all-stage4-intl
48616 all-stageprofile-ld: maybe-all-stageprofile-intl
48617 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48618 all-ld: maybe-all-gas
48620 all-stage1-ld: maybe-all-stage1-gas
48621 all-stage2-ld: maybe-all-stage2-gas
48622 all-stage3-ld: maybe-all-stage3-gas
48623 all-stage4-ld: maybe-all-stage4-gas
48624 all-stageprofile-ld: maybe-all-stageprofile-gas
48625 all-stagefeedback-ld: maybe-all-stagefeedback-gas
48626 all-ld: maybe-all-binutils
48628 all-stage1-ld: maybe-all-stage1-binutils
48629 all-stage2-ld: maybe-all-stage2-binutils
48630 all-stage3-ld: maybe-all-stage3-binutils
48631 all-stage4-ld: maybe-all-stage4-binutils
48632 all-stageprofile-ld: maybe-all-stageprofile-binutils
48633 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
48634 install-ld: maybe-install-gold
48635 install-strip-ld: maybe-install-strip-gold
48636 configure-gold: maybe-configure-intl
48638 configure-stage1-gold: maybe-configure-stage1-intl
48639 configure-stage2-gold: maybe-configure-stage2-intl
48640 configure-stage3-gold: maybe-configure-stage3-intl
48641 configure-stage4-gold: maybe-configure-stage4-intl
48642 configure-stageprofile-gold: maybe-configure-stageprofile-intl
48643 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
48644 all-gold: maybe-all-libiberty
48646 all-stage1-gold: maybe-all-stage1-libiberty
48647 all-stage2-gold: maybe-all-stage2-libiberty
48648 all-stage3-gold: maybe-all-stage3-libiberty
48649 all-stage4-gold: maybe-all-stage4-libiberty
48650 all-stageprofile-gold: maybe-all-stageprofile-libiberty
48651 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
48652 all-gold: maybe-all-intl
48654 all-stage1-gold: maybe-all-stage1-intl
48655 all-stage2-gold: maybe-all-stage2-intl
48656 all-stage3-gold: maybe-all-stage3-intl
48657 all-stage4-gold: maybe-all-stage4-intl
48658 all-stageprofile-gold: maybe-all-stageprofile-intl
48659 all-stagefeedback-gold: maybe-all-stagefeedback-intl
48660 all-gold: maybe-all-bfd
48662 all-stage1-gold: maybe-all-stage1-bfd
48663 all-stage2-gold: maybe-all-stage2-bfd
48664 all-stage3-gold: maybe-all-stage3-bfd
48665 all-stage4-gold: maybe-all-stage4-bfd
48666 all-stageprofile-gold: maybe-all-stageprofile-bfd
48667 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
48668 all-gold: maybe-all-build-bison
48670 all-stage1-gold: maybe-all-build-bison
48671 all-stage2-gold: maybe-all-build-bison
48672 all-stage3-gold: maybe-all-build-bison
48673 all-stage4-gold: maybe-all-build-bison
48674 all-stageprofile-gold: maybe-all-build-bison
48675 all-stagefeedback-gold: maybe-all-build-bison
48676 all-gold: maybe-all-gas
48678 all-stage1-gold: maybe-all-stage1-gas
48679 all-stage2-gold: maybe-all-stage2-gas
48680 all-stage3-gold: maybe-all-stage3-gas
48681 all-stage4-gold: maybe-all-stage4-gas
48682 all-stageprofile-gold: maybe-all-stageprofile-gas
48683 all-stagefeedback-gold: maybe-all-stagefeedback-gas
48684 check-gold: maybe-all-binutils
48686 check-stage1-gold: maybe-all-stage1-binutils
48687 check-stage2-gold: maybe-all-stage2-binutils
48688 check-stage3-gold: maybe-all-stage3-binutils
48689 check-stage4-gold: maybe-all-stage4-binutils
48690 check-stageprofile-gold: maybe-all-stageprofile-binutils
48691 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
48692 check-gold: maybe-all-gas
48694 check-stage1-gold: maybe-all-stage1-gas
48695 check-stage2-gold: maybe-all-stage2-gas
48696 check-stage3-gold: maybe-all-stage3-gas
48697 check-stage4-gold: maybe-all-stage4-gas
48698 check-stageprofile-gold: maybe-all-stageprofile-gas
48699 check-stagefeedback-gold: maybe-all-stagefeedback-gas
48700 configure-opcodes: maybe-configure-intl
48702 configure-stage1-opcodes: maybe-configure-stage1-intl
48703 configure-stage2-opcodes: maybe-configure-stage2-intl
48704 configure-stage3-opcodes: maybe-configure-stage3-intl
48705 configure-stage4-opcodes: maybe-configure-stage4-intl
48706 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48707 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48708 all-opcodes: maybe-all-bfd
48710 all-stage1-opcodes: maybe-all-stage1-bfd
48711 all-stage2-opcodes: maybe-all-stage2-bfd
48712 all-stage3-opcodes: maybe-all-stage3-bfd
48713 all-stage4-opcodes: maybe-all-stage4-bfd
48714 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48715 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48716 all-opcodes: maybe-all-libiberty
48718 all-stage1-opcodes: maybe-all-stage1-libiberty
48719 all-stage2-opcodes: maybe-all-stage2-libiberty
48720 all-stage3-opcodes: maybe-all-stage3-libiberty
48721 all-stage4-opcodes: maybe-all-stage4-libiberty
48722 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48723 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48724 all-opcodes: maybe-all-intl
48726 all-stage1-opcodes: maybe-all-stage1-intl
48727 all-stage2-opcodes: maybe-all-stage2-intl
48728 all-stage3-opcodes: maybe-all-stage3-intl
48729 all-stage4-opcodes: maybe-all-stage4-intl
48730 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48731 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48732 all-dejagnu: maybe-all-tcl
48733 all-dejagnu: maybe-all-expect
48734 all-dejagnu: maybe-all-tk
48735 configure-expect: maybe-configure-tcl
48736 configure-expect: maybe-configure-tk
48737 all-expect: maybe-all-tcl
48738 all-expect: maybe-all-tk
48739 configure-itcl: maybe-configure-tcl
48740 configure-itcl: maybe-configure-tk
48741 all-itcl: maybe-all-tcl
48742 all-itcl: maybe-all-tk
48743 install-itcl: maybe-install-tcl
48744 install-strip-itcl: maybe-install-strip-tcl
48745 configure-tk: maybe-configure-tcl
48746 all-tk: maybe-all-tcl
48747 all-sid: maybe-all-libiberty
48748 all-sid: maybe-all-bfd
48749 all-sid: maybe-all-opcodes
48750 all-sid: maybe-all-tcl
48751 all-sid: maybe-all-tk
48752 install-sid: maybe-install-tcl
48753 install-strip-sid: maybe-install-strip-tcl
48754 install-sid: maybe-install-tk
48755 install-strip-sid: maybe-install-strip-tk
48756 configure-sim: maybe-configure-intl
48757 all-sim: maybe-all-intl
48758 all-sim: maybe-all-libiberty
48759 all-sim: maybe-all-bfd
48760 all-sim: maybe-all-opcodes
48761 all-sim: maybe-all-readline
48762 all-sim: maybe-configure-gdb
48763 all-fastjar: maybe-all-zlib
48764 all-fastjar: maybe-all-build-texinfo
48765 all-fastjar: maybe-all-libiberty
48766 all-bison: maybe-all-intl
48767 all-bison: maybe-all-build-texinfo
48768 all-flex: maybe-all-build-bison
48769 all-flex: maybe-all-intl
48770 all-flex: maybe-all-m4
48771 all-flex: maybe-all-build-texinfo
48772 all-m4: maybe-all-intl
48773 all-m4: maybe-all-build-texinfo
48774 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
48775 configure-target-fastjar: maybe-configure-target-zlib
48776 all-target-fastjar: maybe-all-target-zlib
48777 configure-target-libgo: maybe-configure-target-libffi
48778 configure-target-libgo: maybe-all-target-libstdc++-v3
48779 all-target-libgo: maybe-all-target-libbacktrace
48780 all-target-libgo: maybe-all-target-libffi
48781 all-target-libgo: maybe-all-target-libatomic
48782 configure-target-libjava: maybe-configure-target-zlib
48783 configure-target-libjava: maybe-configure-target-boehm-gc
48784 configure-target-libjava: maybe-configure-target-libffi
48785 all-target-libjava: maybe-all-fastjar
48786 all-target-libjava: maybe-all-target-zlib
48787 all-target-libjava: maybe-all-target-boehm-gc
48788 all-target-libjava: maybe-all-target-libffi
48789 configure-target-libobjc: maybe-configure-target-boehm-gc
48790 all-target-libobjc: maybe-all-target-boehm-gc
48791 configure-target-libstdc++-v3: maybe-configure-target-libgomp
48793 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48794 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48795 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48796 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48797 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48798 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48799 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
48801 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
48802 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
48803 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
48804 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
48805 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
48806 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
48807 configure-target-libvtv: maybe-all-target-libstdc++-v3
48809 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
48810 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
48811 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
48812 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
48813 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
48814 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
48815 all-target-libstdc++-v3: maybe-configure-target-libgomp
48817 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48818 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48819 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48820 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48821 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48822 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48823 install-target-libgo: maybe-install-target-libatomic
48824 install-target-libgfortran: maybe-install-target-libquadmath
48825 install-target-libgfortran: maybe-install-target-libgcc
48826 install-target-libsanitizer: maybe-install-target-libstdc++-v3
48827 install-target-libsanitizer: maybe-install-target-libgcc
48828 install-target-libvtv: maybe-install-target-libstdc++-v3
48829 install-target-libvtv: maybe-install-target-libgcc
48830 install-target-libcilkrts: maybe-install-target-libstdc++-v3
48831 install-target-libcilkrts: maybe-install-target-libgcc
48832 install-target-libjava: maybe-install-target-libgcc
48833 install-target-libitm: maybe-install-target-libgcc
48834 install-target-libobjc: maybe-install-target-libgcc
48835 install-target-libstdc++-v3: maybe-install-target-libgcc
48836 all-target-libgloss: maybe-all-target-newlib
48837 all-target-winsup: maybe-all-target-libtermcap
48838 configure-target-newlib: maybe-all-binutils
48839 configure-target-newlib: maybe-all-ld
48840 configure-target-libgfortran: maybe-all-target-libquadmath
48843 # Dependencies for target modules on other target modules are
48844 # described by lang_env_dependencies; the defaults apply to anything
48845 # not mentioned there.
48848 @if gcc-bootstrap
48849 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
48850 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
48851 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
48852 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
48853 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
48854 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
48855 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
48856 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
48857 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
48858 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
48859 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
48860 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
48861 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
48862 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
48863 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
48864 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
48865 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
48866 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
48867 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
48868 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
48869 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
48870 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
48871 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
48872 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
48873 @endif gcc-bootstrap
48875 @if gcc-no-bootstrap
48876 configure-target-libstdc++-v3: maybe-all-target-libgcc
48877 configure-target-libsanitizer: maybe-all-target-libgcc
48878 configure-target-libvtv: maybe-all-target-libgcc
48879 configure-target-libcilkrts: maybe-all-target-libgcc
48880 configure-target-libssp: maybe-all-target-libgcc
48881 configure-target-newlib: maybe-all-target-libgcc
48882 configure-target-libbacktrace: maybe-all-target-libgcc
48883 configure-target-libquadmath: maybe-all-target-libgcc
48884 configure-target-libgfortran: maybe-all-target-libgcc
48885 configure-target-libobjc: maybe-all-target-libgcc
48886 configure-target-libgo: maybe-all-target-libgcc
48887 configure-target-libtermcap: maybe-all-target-libgcc
48888 configure-target-winsup: maybe-all-target-libgcc
48889 configure-target-libgloss: maybe-all-target-libgcc
48890 configure-target-libffi: maybe-all-target-libgcc
48891 configure-target-libjava: maybe-all-target-libgcc
48892 configure-target-zlib: maybe-all-target-libgcc
48893 configure-target-boehm-gc: maybe-all-target-libgcc
48894 configure-target-rda: maybe-all-target-libgcc
48895 configure-target-libada: maybe-all-target-libgcc
48896 configure-target-libgomp: maybe-all-target-libgcc
48897 configure-target-libitm: maybe-all-target-libgcc
48898 configure-target-libatomic: maybe-all-target-libgcc
48899 @endif gcc-no-bootstrap
48902 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
48904 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
48906 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
48908 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
48909 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
48911 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
48915 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
48917 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
48919 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
48921 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
48923 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
48925 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
48927 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
48930 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
48932 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
48933 configure-target-libjava: maybe-all-target-libstdc++-v3
48935 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
48937 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
48939 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
48941 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
48943 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
48945 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
48946 configure-target-libitm: maybe-all-target-libstdc++-v3
48948 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
48951 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
48952 GDB_TK = @GDB_TK@
48953 INSTALL_GDB_TK = @INSTALL_GDB_TK@
48954 configure-gdb: $(CONFIGURE_GDB_TK)
48955 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
48956 install-gdb: $(INSTALL_GDB_TK)
48958 # Serialization dependencies. Host configures don't work well in parallel to
48959 # each other, due to contention over config.cache. Target configures and
48960 # build configures are similar.
48961 @serialization_dependencies@
48963 # --------------------------------
48964 # Regenerating top level configury
48965 # --------------------------------
48967 # Rebuilding Makefile.in, using autogen.
48968 AUTOGEN = autogen
48969 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
48970 cd $(srcdir) && $(AUTOGEN) Makefile.def
48972 # Rebuilding Makefile.
48973 Makefile: $(srcdir)/Makefile.in config.status
48974 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
48976 config.status: configure
48977 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
48979 # Rebuilding configure.
48980 AUTOCONF = autoconf
48981 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
48982 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
48983 cd $(srcdir) && $(AUTOCONF)
48985 # ------------------------------
48986 # Special directives to GNU Make
48987 # ------------------------------
48989 # Don't pass command-line variables to submakes.
48990 .NOEXPORT:
48991 MAKEOVERRIDES=
48993 # end of Makefile.in